|
|
(function(){var __webpack_modules__={93398:function(d,g,e){"use strict";e.r(g),e.d(g,{blue:function(){return ce},blueDark:function(){return Fe},cyan:function(){return ae},cyanDark:function(){return je},geekblue:function(){return q},geekblueDark:function(){return Ft},generate:function(){return P},gold:function(){return K},goldDark:function(){return Q},gray:function(){return ne},green:function(){return oe},greenDark:function(){return Ie},grey:function(){return le},greyDark:function(){return Qt},lime:function(){return W},limeDark:function(){return Se},magenta:function(){return Y},magentaDark:function(){return Pt},orange:function(){return j},orangeDark:function(){return M},presetDarkPalettes:function(){return Jt},presetPalettes:function(){return ee},presetPrimaryColors:function(){return D},purple:function(){return J},purpleDark:function(){return _t},red:function(){return B},redDark:function(){return ie},volcano:function(){return $},volcanoDark:function(){return F},yellow:function(){return V},yellowDark:function(){return de}});var r=e(49618);const i=Math.round;function l(qt,Xe){const It=qt.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],Ut=It.map(ot=>parseFloat(ot));for(let ot=0;ot<3;ot+=1)Ut[ot]=Xe(Ut[ot]||0,It[ot]||"",ot);return It[3]?Ut[3]=It[3].includes("%")?Ut[3]/100:Ut[3]:Ut[3]=1,Ut}const c=(qt,Xe,It)=>It===0?qt:qt/100;function f(qt,Xe){const It=Xe||255;return qt>It?It:qt<0?0:qt}class o{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 It(Ut){return Ut[0]in Xe&&Ut[1]in Xe&&Ut[2]in Xe}if(Xe)if(typeof Xe=="string"){let ot=function(bt){return Ut.startsWith(bt)};const Ut=Xe.trim();/^#?[A-F\d]{3,8}$/i.test(Ut)?this.fromHexString(Ut):ot("rgb")?this.fromRgbString(Ut):ot("hsl")?this.fromHslString(Ut):(ot("hsv")||ot("hsb"))&&this.fromHsvString(Ut)}else if(Xe instanceof o)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(It("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(It("hsl"))this.fromHsl(Xe);else if(It("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 It=this.toHsv();return It.h=Xe,this._c(It)}getLuminance(){function Xe(bt){const ht=bt/255;return ht<=.03928?ht/12.92:Math.pow((ht+.055)/1.055,2.4)}const It=Xe(this.r),Ut=Xe(this.g),ot=Xe(this.b);return .2126*It+.7152*Ut+.0722*ot}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 It=this.getHue(),Ut=this.getSaturation();let ot=this.getLightness()-Xe/100;return ot<0&&(ot=0),this._c({h:It,s:Ut,l:ot,a:this.a})}lighten(Xe=10){const It=this.getHue(),Ut=this.getSaturation();let ot=this.getLightness()+Xe/100;return ot>1&&(ot=1),this._c({h:It,s:Ut,l:ot,a:this.a})}mix(Xe,It=50){const Ut=this._c(Xe),ot=It/100,bt=et=>(Ut[et]-this[et])*ot+this[et],ht={r:i(bt("r")),g:i(bt("g")),b:i(bt("b")),a:i(bt("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 It=this._c(Xe),Ut=this.a+It.a*(1-this.a),ot=bt=>i((this[bt]*this.a+It[bt]*It.a*(1-this.a))/Ut);return this._c({r:ot("r"),g:ot("g"),b:ot("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 It=(this.r||0).toString(16);Xe+=It.length===2?It:"0"+It;const Ut=(this.g||0).toString(16);Xe+=Ut.length===2?Ut:"0"+Ut;const ot=(this.b||0).toString(16);if(Xe+=ot.length===2?ot:"0"+ot,typeof this.a=="number"&&this.a>=0&&this.a<1){const bt=i(this.a*255).toString(16);Xe+=bt.length===2?bt:"0"+bt}return Xe}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const Xe=this.getHue(),It=i(this.getSaturation()*100),Ut=i(this.getLightness()*100);return this.a!==1?`hsla(${Xe},${It}%,${Ut}%,${this.a})`:`hsl(${Xe},${It}%,${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,It,Ut){const ot=this.clone();return ot[Xe]=f(It,Ut),ot}_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 It=Xe.replace("#","");function Ut(ot,bt){return parseInt(It[ot]+It[bt||ot],16)}It.length<6?(this.r=Ut(0),this.g=Ut(1),this.b=Ut(2),this.a=It[3]?Ut(3)/255:1):(this.r=Ut(0,1),this.g=Ut(2,3),this.b=Ut(4,5),this.a=It[6]?Ut(6,7)/255:1)}fromHsl({h:Xe,s:It,l:Ut,a:ot}){if(this._h=Xe%360,this._s=It,this._l=Ut,this.a=typeof ot=="number"?ot:1,It<=0){const $e=i(Ut*255);this.r=$e,this.g=$e,this.b=$e}let bt=0,ht=0,et=0;const Ue=Xe/60,ye=(1-Math.abs(2*Ut-1))*It,Pe=ye*(1-Math.abs(Ue%2-1));Ue>=0&&Ue<1?(bt=ye,ht=Pe):Ue>=1&&Ue<2?(bt=Pe,ht=ye):Ue>=2&&Ue<3?(ht=ye,et=Pe):Ue>=3&&Ue<4?(ht=Pe,et=ye):Ue>=4&&Ue<5?(bt=Pe,et=ye):Ue>=5&&Ue<6&&(bt=ye,et=Pe);const Me=Ut-ye/2;this.r=i((bt+Me)*255),this.g=i((ht+Me)*255),this.b=i((et+Me)*255)}fromHsv({h:Xe,s:It,v:Ut,a:ot}){this._h=Xe%360,this._s=It,this._v=Ut,this.a=typeof ot=="number"?ot:1;const bt=i(Ut*255);if(this.r=bt,this.g=bt,this.b=bt,It<=0)return;const ht=Xe/60,et=Math.floor(ht),Ue=ht-et,ye=i(Ut*(1-It)*255),Pe=i(Ut*(1-It*Ue)*255),Me=i(Ut*(1-It*(1-Ue))*255);switch(et){case 0:this.g=Me,this.b=ye;break;case 1:this.r=Pe,this.b=ye;break;case 2:this.r=ye,this.b=Me;break;case 3:this.r=ye,this.g=Pe;break;case 4:this.r=Me,this.g=ye;break;case 5:default:this.g=ye,this.b=Pe;break}}fromHsvString(Xe){const It=l(Xe,c);this.fromHsv({h:It[0],s:It[1],v:It[2],a:It[3]})}fromHslString(Xe){const It=l(Xe,c);this.fromHsl({h:It[0],s:It[1],l:It[2],a:It[3]})}fromRgbString(Xe){const It=l(Xe,(Ut,ot)=>ot.includes("%")?i(Ut/100*255):Ut);this.r=It[0],this.g=It[1],this.b=It[2],this.a=It[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 A(qt,Xe,It){var Ut;return Math.round(qt.h)>=60&&Math.round(qt.h)<=240?Ut=It?Math.round(qt.h)-h*Xe:Math.round(qt.h)+h*Xe:Ut=It?Math.round(qt.h)+h*Xe:Math.round(qt.h)-h*Xe,Ut<0?Ut+=360:Ut>=360&&(Ut-=360),Ut}function R(qt,Xe,It){if(qt.h===0&&qt.s===0)return qt.s;var Ut;return It?Ut=qt.s-u*Xe:Xe===_?Ut=qt.s+u:Ut=qt.s+a*Xe,Ut>1&&(Ut=1),It&&Xe===y&&Ut>.1&&(Ut=.1),Ut<.06&&(Ut=.06),Math.round(Ut*100)/100}function L(qt,Xe,It){var Ut;return It?Ut=qt.v+x*Xe:Ut=qt.v-p*Xe,Ut=Math.max(0,Math.min(1,Ut)),Math.round(Ut*100)/100}function P(qt){for(var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},It=[],Ut=new o(qt),ot=Ut.toHsv(),bt=y;bt>0;bt-=1){var ht=new o({h:A(ot,bt,!0),s:R(ot,bt,!0),v:L(ot,bt,!0)});It.push(ht)}It.push(Ut);for(var et=1;et<=_;et+=1){var Ue=new o({h:A(ot,et),s:R(ot,et),v:L(ot,et)});It.push(Ue)}return Xe.theme==="dark"?b.map(function(ye){var Pe=ye.index,Me=ye.amount;return new o(Xe.backgroundColor||"#141414").mix(It[Pe],Me).toHexString()}):It.map(function(ye){return ye.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"},B=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];B.primary=B[5];var $=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];$.primary=$[5];var j=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];j.primary=j[5];var K=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];K.primary=K[5];var V=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];V.primary=V[5];var W=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];W.primary=W[5];var oe=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];oe.primary=oe[5];var ae=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ae.primary=ae[5];var ce=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];ce.primary=ce[5];var q=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];q.primary=q[5];var J=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];J.primary=J[5];var Y=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];Y.primary=Y[5];var le=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];le.primary=le[5];var ne=le,ee={red:B,volcano:$,orange:j,gold:K,yellow:V,lime:W,green:oe,cyan:ae,blue:ce,geekblue:q,purple:J,magenta:Y,grey:le},ie=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];ie.primary=ie[5];var F=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];F.primary=F[5];var M=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];M.primary=M[5];var Q=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];Q.primary=Q[5];var de=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];de.primary=de[5];var Se=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Se.primary=Se[5];var Ie=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Ie.primary=Ie[5];var je=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];je.primary=je[5];var Fe=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Fe.primary=Fe[5];var Ft=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Ft.primary=Ft[5];var _t=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];_t.primary=_t[5];var Pt=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Pt.primary=Pt[5];var Qt=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];Qt.primary=Qt[5];var Jt={red:ie,volcano:F,orange:M,gold:Q,yellow:de,lime:Se,green:Ie,cyan:je,blue:Fe,geekblue:Ft,purple:_t,magenta:Pt,grey:Qt}},93083:function(d,g,e){"use strict";e.r(g),e.d(g,{Keyframes:function(){return Ks},NaNLinter:function(){return Ra},StyleContext:function(){return ae},StyleProvider:function(){return oe},Theme:function(){return Pt},_experimental:function(){return Cu},createCache:function(){return V},createTheme:function(){return Jt},extractStyle:function(){return Eo},genCalc:function(){return Ie},getComputedToken:function(){return pr},legacyLogicalPropertiesTransformer:function(){return Mo},legacyNotSelectorLinter:function(){return ta},logicalPropertiesLinter:function(){return Hs},parentSelectorLinter:function(){return as},px2remTransformer:function(){return hu},token2CSSVar:function(){return Oe},unit:function(){return Gt},useCSSVarRegister:function(){return Io},useCacheToken:function(){return nn},useStyleRegister:function(){return Ga}});var r=e(52487),i=e(49618),l=e(80702),c=e(77321);function f(Xt){for(var fr=0,ar,mr=0,xr=Xt.length;xr>=4;++mr,xr-=4)ar=Xt.charCodeAt(mr)&255|(Xt.charCodeAt(++mr)&255)<<8|(Xt.charCodeAt(++mr)&255)<<16|(Xt.charCodeAt(++mr)&255)<<24,ar=(ar&65535)*1540483477+((ar>>>16)*59797<<16),ar^=ar>>>24,fr=(ar&65535)*1540483477+((ar>>>16)*59797<<16)^(fr&65535)*1540483477+((fr>>>16)*59797<<16);switch(xr){case 3:fr^=(Xt.charCodeAt(mr+2)&255)<<16;case 2:fr^=(Xt.charCodeAt(mr+1)&255)<<8;case 1:fr^=Xt.charCodeAt(mr)&255,fr=(fr&65535)*1540483477+((fr>>>16)*59797<<16)}return fr^=fr>>>13,fr=(fr&65535)*1540483477+((fr>>>16)*59797<<16),((fr^fr>>>15)>>>0).toString(36)}var o=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(74416),p=e(80547),y=e(13697),_=e(96949),b=e(55090),A="%";function R(Xt){return Xt.join(A)}var L=function(){function Xt(fr){(0,_.Z)(this,Xt),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),this.instanceId=fr}return(0,b.Z)(Xt,[{key:"get",value:function(ar){return this.opGet(R(ar))}},{key:"opGet",value:function(ar){return this.cache.get(ar)||null}},{key:"update",value:function(ar,mr){return this.opUpdate(R(ar),mr)}},{key:"opUpdate",value:function(ar,mr){var xr=this.cache.get(ar),vn=mr(xr);vn===null?this.cache.delete(ar):this.cache.set(ar,vn)}}]),Xt}(),P=L,D=["children"],B="data-token-hash",$="data-css-hash",j="data-cache-path",K="__cssinjs_instance__";function V(){var Xt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var fr=document.body.querySelectorAll("style[".concat($,"]"))||[],ar=document.head.firstChild;Array.from(fr).forEach(function(xr){xr[K]=xr[K]||Xt,xr[K]===Xt&&document.head.insertBefore(xr,ar)});var mr={};Array.from(document.querySelectorAll("style[".concat($,"]"))).forEach(function(xr){var vn=xr.getAttribute($);if(mr[vn]){if(xr[K]===Xt){var xn;(xn=xr.parentNode)===null||xn===void 0||xn.removeChild(xr)}}else mr[vn]=!0})}return new P(Xt)}var W=u.createContext({hashPriority:"low",cache:V(),defaultCache:!0}),oe=function(fr){var ar=fr.children,mr=(0,x.Z)(fr,D),xr=u.useContext(W),vn=(0,p.Z)(function(){var xn=(0,c.Z)({},xr);Object.keys(mr).forEach(function(kn){var Yn=mr[kn];mr[kn]!==void 0&&(xn[kn]=Yn)});var $n=mr.cache;return xn.cache=xn.cache||V(),xn.defaultCache=!$n&&xr.defaultCache,xn},[xr,mr],function(xn,$n){return!(0,y.Z)(xn[0],$n[0],!0)||!(0,y.Z)(xn[1],$n[1],!0)});return u.createElement(W.Provider,{value:vn},ar)},ae=W,ce=e(62853),q=e(47273),J=e(80237),Y=e(77205),le=e(38793),ne=(0,b.Z)(function Xt(){(0,_.Z)(this,Xt)}),ee=ne,ie="CALC_UNIT",F=new RegExp(ie,"g");function M(Xt){return typeof Xt=="number"?"".concat(Xt).concat(ie):Xt}var Q=function(Xt){(0,Y.Z)(ar,Xt);var fr=(0,le.Z)(ar);function ar(mr,xr){var vn;(0,_.Z)(this,ar),vn=fr.call(this),(0,i.Z)((0,J.Z)(vn),"result",""),(0,i.Z)((0,J.Z)(vn),"unitlessCssVar",void 0),(0,i.Z)((0,J.Z)(vn),"lowPriority",void 0);var xn=(0,ce.Z)(mr);return vn.unitlessCssVar=xr,mr instanceof ar?vn.result="(".concat(mr.result,")"):xn==="number"?vn.result=M(mr):xn==="string"&&(vn.result=mr),vn}return(0,b.Z)(ar,[{key:"add",value:function(xr){return xr instanceof ar?this.result="".concat(this.result," + ").concat(xr.getResult()):(typeof xr=="number"||typeof xr=="string")&&(this.result="".concat(this.result," + ").concat(M(xr))),this.lowPriority=!0,this}},{key:"sub",value:function(xr){return xr instanceof ar?this.result="".concat(this.result," - ").concat(xr.getResult()):(typeof xr=="number"||typeof xr=="string")&&(this.result="".concat(this.result," - ").concat(M(xr))),this.lowPriority=!0,this}},{key:"mul",value:function(xr){return this.lowPriority&&(this.result="(".concat(this.result,")")),xr instanceof ar?this.result="".concat(this.result," * ").concat(xr.getResult(!0)):(typeof xr=="number"||typeof xr=="string")&&(this.result="".concat(this.result," * ").concat(xr)),this.lowPriority=!1,this}},{key:"div",value:function(xr){return this.lowPriority&&(this.result="(".concat(this.result,")")),xr instanceof ar?this.result="".concat(this.result," / ").concat(xr.getResult(!0)):(typeof xr=="number"||typeof xr=="string")&&(this.result="".concat(this.result," / ").concat(xr)),this.lowPriority=!1,this}},{key:"getResult",value:function(xr){return this.lowPriority||xr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(xr){var vn=this,xn=xr||{},$n=xn.unit,kn=!0;return typeof $n=="boolean"?kn=$n:Array.from(this.unitlessCssVar).some(function(Yn){return vn.result.includes(Yn)})&&(kn=!1),this.result=this.result.replace(F,kn?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),ar}(ee),de=function(Xt){(0,Y.Z)(ar,Xt);var fr=(0,le.Z)(ar);function ar(mr){var xr;return(0,_.Z)(this,ar),xr=fr.call(this),(0,i.Z)((0,J.Z)(xr),"result",0),mr instanceof ar?xr.result=mr.result:typeof mr=="number"&&(xr.result=mr),xr}return(0,b.Z)(ar,[{key:"add",value:function(xr){return xr instanceof ar?this.result+=xr.result:typeof xr=="number"&&(this.result+=xr),this}},{key:"sub",value:function(xr){return xr instanceof ar?this.result-=xr.result:typeof xr=="number"&&(this.result-=xr),this}},{key:"mul",value:function(xr){return xr instanceof ar?this.result*=xr.result:typeof xr=="number"&&(this.result*=xr),this}},{key:"div",value:function(xr){return xr instanceof ar?this.result/=xr.result:typeof xr=="number"&&(this.result/=xr),this}},{key:"equal",value:function(){return this.result}}]),ar}(ee),Se=function(fr,ar){var mr=fr==="css"?Q:de;return function(xr){return new mr(xr,ar)}},Ie=Se;function je(Xt,fr){if(Xt.length!==fr.length)return!1;for(var ar=0;ar<Xt.length;ar++)if(Xt[ar]!==fr[ar])return!1;return!0}var Fe=function(){function Xt(){(0,_.Z)(this,Xt),(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)(Xt,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(ar){var mr,xr,vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xn={map:this.cache};return ar.forEach(function($n){if(!xn)xn=void 0;else{var kn;xn=(kn=xn)===null||kn===void 0||(kn=kn.map)===null||kn===void 0?void 0:kn.get($n)}}),(mr=xn)!==null&&mr!==void 0&&mr.value&&vn&&(xn.value[1]=this.cacheCallTimes++),(xr=xn)===null||xr===void 0?void 0:xr.value}},{key:"get",value:function(ar){var mr;return(mr=this.internalGet(ar,!0))===null||mr===void 0?void 0:mr[0]}},{key:"has",value:function(ar){return!!this.internalGet(ar)}},{key:"set",value:function(ar,mr){var xr=this;if(!this.has(ar)){if(this.size()+1>Xt.MAX_CACHE_SIZE+Xt.MAX_CACHE_OFFSET){var vn=this.keys.reduce(function(Yn,or){var Lr=(0,r.Z)(Yn,2),yr=Lr[1];return xr.internalGet(or)[1]<yr?[or,xr.internalGet(or)[1]]:Yn},[this.keys[0],this.cacheCallTimes]),xn=(0,r.Z)(vn,1),$n=xn[0];this.delete($n)}this.keys.push(ar)}var kn=this.cache;ar.forEach(function(Yn,or){if(or===ar.length-1)kn.set(Yn,{value:[mr,xr.cacheCallTimes++]});else{var Lr=kn.get(Yn);Lr?Lr.map||(Lr.map=new Map):kn.set(Yn,{map:new Map}),kn=kn.get(Yn).map}})}},{key:"deleteByPath",value:function(ar,mr){var xr=ar.get(mr[0]);if(mr.length===1){var vn;return xr.map?ar.set(mr[0],{map:xr.map}):ar.delete(mr[0]),(vn=xr.value)===null||vn===void 0?void 0:vn[0]}var xn=this.deleteByPath(xr.map,mr.slice(1));return(!xr.map||xr.map.size===0)&&!xr.value&&ar.delete(mr[0]),xn}},{key:"delete",value:function(ar){if(this.has(ar))return this.keys=this.keys.filter(function(mr){return!je(mr,ar)}),this.deleteByPath(this.cache,ar)}}]),Xt}();(0,i.Z)(Fe,"MAX_CACHE_SIZE",20),(0,i.Z)(Fe,"MAX_CACHE_OFFSET",5);var Ft=e(48736),_t=0,Pt=function(){function Xt(fr){(0,_.Z)(this,Xt),(0,i.Z)(this,"derivatives",void 0),(0,i.Z)(this,"id",void 0),this.derivatives=Array.isArray(fr)?fr:[fr],this.id=_t,fr.length===0&&(0,Ft.Kp)(fr.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),_t+=1}return(0,b.Z)(Xt,[{key:"getDerivativeToken",value:function(ar){return this.derivatives.reduce(function(mr,xr){return xr(ar,mr)},void 0)}}]),Xt}(),Qt=new Fe;function Jt(Xt){var fr=Array.isArray(Xt)?Xt:[Xt];return Qt.has(fr)||Qt.set(fr,new Pt(fr)),Qt.get(fr)}var qt=new WeakMap,Xe={};function It(Xt,fr){for(var ar=qt,mr=0;mr<fr.length;mr+=1){var xr=fr[mr];ar.has(xr)||ar.set(xr,new WeakMap),ar=ar.get(xr)}return ar.has(Xe)||ar.set(Xe,Xt()),ar.get(Xe)}var Ut=new WeakMap;function ot(Xt){var fr=Ut.get(Xt)||"";return fr||(Object.keys(Xt).forEach(function(ar){var mr=Xt[ar];fr+=ar,mr instanceof Pt?fr+=mr.id:mr&&(0,ce.Z)(mr)==="object"?fr+=ot(mr):fr+=mr}),fr=o(fr),Ut.set(Xt,fr)),fr}function bt(Xt,fr){return o("".concat(fr,"_").concat(ot(Xt)))}var ht="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),et="_bAmBoO_";function Ue(Xt,fr,ar){if((0,q.Z)()){var mr,xr;(0,h.hq)(Xt,ht);var vn=document.createElement("div");vn.style.position="fixed",vn.style.left="0",vn.style.top="0",fr==null||fr(vn),document.body.appendChild(vn);var xn=ar?ar(vn):(mr=getComputedStyle(vn).content)===null||mr===void 0?void 0:mr.includes(et);return(xr=vn.parentNode)===null||xr===void 0||xr.removeChild(vn),(0,h.jL)(ht),xn}return!1}var ye=null;function Pe(){return ye===void 0&&(ye=Ue("@layer ".concat(ht," { .").concat(ht,' { content: "').concat(et,'"!important; } }'),function(Xt){Xt.className=ht})),ye}var Me=void 0;function $e(){return Me===void 0&&(Me=Ue(":where(.".concat(ht,') { content: "').concat(et,'"!important; }'),function(Xt){Xt.className=ht})),Me}var He=void 0;function nt(){return He===void 0&&(He=Ue(".".concat(ht," { inset-block: 93px !important; }"),function(Xt){Xt.className=ht},function(Xt){return getComputedStyle(Xt).bottom==="93px"})),He}var ct=(0,q.Z)();function Gt(Xt){return typeof Xt=="number"?"".concat(Xt,"px"):Xt}function Ht(Xt,fr,ar){var mr,xr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},vn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(vn)return Xt;var xn=(0,c.Z)((0,c.Z)({},xr),{},(mr={},(0,i.Z)(mr,B,fr),(0,i.Z)(mr,$,ar),mr)),$n=Object.keys(xn).map(function(kn){var Yn=xn[kn];return Yn?"".concat(kn,'="').concat(Yn,'"'):null}).filter(function(kn){return kn}).join(" ");return"<style ".concat($n,">").concat(Xt,"</style>")}var Oe=function(fr){var ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(ar?"".concat(ar,"-"):"").concat(fr).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()},Je=function(fr,ar,mr){return Object.keys(fr).length?".".concat(ar).concat(mr!=null&&mr.scope?".".concat(mr.scope):"","{").concat(Object.entries(fr).map(function(xr){var vn=(0,r.Z)(xr,2),xn=vn[0],$n=vn[1];return"".concat(xn,":").concat($n,";")}).join(""),"}"):""},Wt=function(fr,ar,mr){var xr={},vn={};return Object.entries(fr).forEach(function(xn){var $n,kn,Yn=(0,r.Z)(xn,2),or=Yn[0],Lr=Yn[1];if(mr!=null&&($n=mr.preserve)!==null&&$n!==void 0&&$n[or])vn[or]=Lr;else if((typeof Lr=="string"||typeof Lr=="number")&&!(mr!=null&&(kn=mr.ignore)!==null&&kn!==void 0&&kn[or])){var yr,fn=Oe(or,mr==null?void 0:mr.prefix);xr[fn]=typeof Lr=="number"&&!(mr!=null&&(yr=mr.unitless)!==null&&yr!==void 0&&yr[or])?"".concat(Lr,"px"):String(Lr),vn[or]="var(".concat(fn,")")}}),[vn,Je(xr,ar,{scope:mr==null?void 0:mr.scope})]},kt=e(34280),Zt=(0,c.Z)({},a),Bt=Zt.useInsertionEffect,At=function(fr,ar,mr){u.useMemo(fr,mr),(0,kt.Z)(function(){return ar(!0)},mr)},Kt=Bt?function(Xt,fr,ar){return Bt(function(){return Xt(),fr()},ar)}:At,We=Kt,fe=(0,c.Z)({},a),_e=fe.useInsertionEffect,Ot=function(fr){var ar=[],mr=!1;function xr(vn){mr||ar.push(vn)}return u.useEffect(function(){return mr=!1,function(){mr=!0,ar.length&&ar.forEach(function(vn){return vn()})}},fr),xr},De=function(){return function(fr){fr()}},dt=typeof _e!="undefined"?Ot:De,zt=dt;function Ct(){return!1}var ke=!1;function wt(){return ke}var xe=Ct;if(0)var Ke,gt;function Lt(Xt,fr,ar,mr,xr){var vn=u.useContext(ae),xn=vn.cache,$n=[Xt].concat((0,l.Z)(fr)),kn=R($n),Yn=zt([kn]),or=xe(),Lr=function(ft){xn.opUpdate(kn,function(Cn){var Hn=Cn||[void 0,void 0],oi=(0,r.Z)(Hn,2),zi=oi[0],Nr=zi===void 0?0:zi,Hr=oi[1],da=Hr,Ti=da||ar(),ra=[Nr,Ti];return ft?ft(ra):ra})};u.useMemo(function(){Lr()},[kn]);var yr=xn.opGet(kn),fn=yr[1];return We(function(){xr==null||xr(fn)},function(zn){return Lr(function(ft){var Cn=(0,r.Z)(ft,2),Hn=Cn[0],oi=Cn[1];return zn&&Hn===0&&(xr==null||xr(fn)),[Hn+1,oi]}),function(){xn.opUpdate(kn,function(ft){var Cn=ft||[],Hn=(0,r.Z)(Cn,2),oi=Hn[0],zi=oi===void 0?0:oi,Nr=Hn[1],Hr=zi-1;return Hr===0?(Yn(function(){(zn||!xn.opGet(kn))&&(mr==null||mr(Nr,!1))}),null):[zi-1,Nr]})}},[kn]),fn}var Be={},Dr="css",St=new Map;function Gr(Xt){St.set(Xt,(St.get(Xt)||0)+1)}function Xr(Xt,fr){if(typeof document!="undefined"){var ar=document.querySelectorAll("style[".concat(B,'="').concat(Xt,'"]'));ar.forEach(function(mr){if(mr[K]===fr){var xr;(xr=mr.parentNode)===null||xr===void 0||xr.removeChild(mr)}})}}var Sr=0;function Mr(Xt,fr){St.set(Xt,(St.get(Xt)||0)-1);var ar=Array.from(St.keys()),mr=ar.filter(function(xr){var vn=St.get(xr)||0;return vn<=0});ar.length-mr.length>Sr&&mr.forEach(function(xr){Xr(xr,fr),St.delete(xr)})}var pr=function(fr,ar,mr,xr){var vn=mr.getDerivativeToken(fr),xn=(0,c.Z)((0,c.Z)({},vn),ar);return xr&&(xn=xr(xn)),xn},$r="token";function nn(Xt,fr){var ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},mr=(0,u.useContext)(ae),xr=mr.cache.instanceId,vn=mr.container,xn=ar.salt,$n=xn===void 0?"":xn,kn=ar.override,Yn=kn===void 0?Be:kn,or=ar.formatToken,Lr=ar.getComputedToken,yr=ar.cssVar,fn=It(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(fr)))},fr),zn=ot(fn),ft=ot(Yn),Cn=yr?ot(yr):"",Hn=Lt($r,[$n,Xt.id,zn,ft,Cn],function(){var oi,zi=Lr?Lr(fn,Yn,Xt):pr(fn,Yn,Xt,or),Nr=(0,c.Z)({},zi),Hr="";if(yr){var da=Wt(zi,yr.key,{prefix:yr.prefix,ignore:yr.ignore,unitless:yr.unitless,preserve:yr.preserve}),Ti=(0,r.Z)(da,2);zi=Ti[0],Hr=Ti[1]}var ra=bt(zi,$n);zi._tokenKey=ra,Nr._tokenKey=bt(Nr,$n);var Ts=(oi=yr==null?void 0:yr.key)!==null&&oi!==void 0?oi:ra;zi._themeKey=Ts,Gr(Ts);var ui="".concat(Dr,"-").concat(o(ra));return zi._hashId=ui,[zi,ui,Nr,Hr,(yr==null?void 0:yr.key)||""]},function(oi){Mr(oi[0]._themeKey,xr)},function(oi){var zi=(0,r.Z)(oi,4),Nr=zi[0],Hr=zi[3];if(yr&&Hr){var da=(0,h.hq)(Hr,o("css-variables-".concat(Nr._themeKey)),{mark:$,prepend:"queue",attachTo:vn,priority:-999});da[K]=xr,da.setAttribute(B,Nr._themeKey)}});return Hn}var on=function(fr,ar,mr){var xr=(0,r.Z)(fr,5),vn=xr[2],xn=xr[3],$n=xr[4],kn=mr||{},Yn=kn.plain;if(!xn)return null;var or=vn._tokenKey,Lr=-999,yr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Lr)},fn=Ht(xn,$n,or,yr,Yn);return[Lr,or,fn]},sr=e(72308),Mt={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},vt=Mt,yt="-ms-",Nt="-moz-",Cr="-webkit-",vr="comm",ut="rule",Rr="decl",_n="@page",Un="@media",_r="@import",Jr="@charset",dn="@viewport",Mn="@supports",Jn="@document",Nn="@namespace",Ui="@keyframes",mi="@font-face",bi="@counter-style",vi="@font-feature-values",di="@layer",Yi="@scope",Xn=Math.abs,Vi=String.fromCharCode,Et=Object.assign;function lt(Xt,fr){return hi(Xt,0)^45?(((fr<<2^hi(Xt,0))<<2^hi(Xt,1))<<2^hi(Xt,2))<<2^hi(Xt,3):0}function Qn(Xt){return Xt.trim()}function xi(Xt,fr){return(Xt=fr.exec(Xt))?Xt[0]:Xt}function qn(Xt,fr,ar){return Xt.replace(fr,ar)}function Wi(Xt,fr,ar){return Xt.indexOf(fr,ar)}function hi(Xt,fr){return Xt.charCodeAt(fr)|0}function ni(Xt,fr,ar){return Xt.slice(fr,ar)}function bn(Xt){return Xt.length}function tr(Xt){return Xt.length}function mt(Xt,fr){return fr.push(Xt),Xt}function rt(Xt,fr){return Xt.map(fr).join("")}function Dt(Xt,fr){return Xt.filter(function(ar){return!xi(ar,fr)})}function pt(Xt,fr){for(var ar="",mr=0;mr<Xt.length;mr++)ar+=fr(Xt[mr],mr,Xt,fr)||"";return ar}function ur(Xt,fr,ar,mr){switch(Xt.type){case di:if(Xt.children.length)break;case _r:case Nn:case Rr:return Xt.return=Xt.return||Xt.value;case vr:return"";case Ui:return Xt.return=Xt.value+"{"+pt(Xt.children,mr)+"}";case ut:if(!bn(Xt.value=Xt.props.join(",")))return""}return bn(ar=pt(Xt.children,mr))?Xt.return=Xt.value+"{"+ar+"}":""}var cr=1,Tr=1,Ur=0,Ze=0,tt=0,Ee="";function at(Xt,fr,ar,mr,xr,vn,xn,$n){return{value:Xt,root:fr,parent:ar,type:mr,props:xr,children:vn,line:cr,column:Tr,length:xn,return:"",siblings:$n}}function nr(Xt,fr){return assign(at("",null,null,"",null,null,0,Xt.siblings),Xt,{length:-Xt.length},fr)}function Pr(Xt){for(;Xt.root;)Xt=nr(Xt.root,{children:[Xt]});append(Xt,Xt.siblings)}function br(){return tt}function Ir(){return tt=Ze>0?hi(Ee,--Ze):0,Tr--,tt===10&&(Tr=1,cr--),tt}function Br(){return tt=Ze<Ur?hi(Ee,Ze++):0,Tr++,tt===10&&(Tr=1,cr++),tt}function mn(){return hi(Ee,Ze)}function Er(){return Ze}function un(Xt,fr){return ni(Ee,Xt,fr)}function tn(Xt){switch(Xt){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 sn(Xt){return cr=Tr=1,Ur=bn(Ee=Xt),Ze=0,[]}function wn(Xt){return Ee="",Xt}function fa(Xt){return Qn(un(Ze-1,Mi(Xt===91?Xt+2:Xt===40?Xt+1:Xt)))}function Ci(Xt){return wn(hn(sn(Xt)))}function fi(Xt){for(;(tt=mn())&&tt<33;)Br();return tn(Xt)>2||tn(tt)>3?"":" "}function hn(Xt){for(;Br();)switch(tn(tt)){case 0:append(Es(Ze-1),Xt);break;case 2:append(fa(tt),Xt);break;default:append(from(tt),Xt)}return Xt}function ai(Xt,fr){for(;--fr&&Br()&&!(tt<48||tt>102||tt>57&&tt<65||tt>70&&tt<97););return un(Xt,Er()+(fr<6&&mn()==32&&Br()==32))}function Mi(Xt){for(;Br();)switch(tt){case Xt:return Ze;case 34:case 39:Xt!==34&&Xt!==39&&Mi(tt);break;case 40:Xt===41&&Mi(Xt);break;case 92:Br();break}return Ze}function sa(Xt,fr){for(;Br()&&Xt+tt!==57;)if(Xt+tt===84&&mn()===47)break;return"/*"+un(fr,Ze-1)+"*"+Vi(Xt===47?Xt:Br())}function Es(Xt){for(;!tn(mn());)Br();return un(Xt,Ze)}function oa(Xt){return wn(ds("",null,null,null,[""],Xt=sn(Xt),0,[0],Xt))}function ds(Xt,fr,ar,mr,xr,vn,xn,$n,kn){for(var Yn=0,or=0,Lr=xn,yr=0,fn=0,zn=0,ft=1,Cn=1,Hn=1,oi=0,zi="",Nr=xr,Hr=vn,da=mr,Ti=zi;Cn;)switch(zn=oi,oi=Br()){case 40:if(zn!=108&&hi(Ti,Lr-1)==58){Wi(Ti+=qn(fa(oi),"&","&\f"),"&\f",Xn(Yn?$n[Yn-1]:0))!=-1&&(Hn=-1);break}case 34:case 39:case 91:Ti+=fa(oi);break;case 9:case 10:case 13:case 32:Ti+=fi(zn);break;case 92:Ti+=ai(Er()-1,7);continue;case 47:switch(mn()){case 42:case 47:mt(ka(sa(Br(),Er()),fr,ar,kn),kn),(tn(zn||1)==5||tn(mn()||1)==5)&&bn(Ti)&&ni(Ti,-1,void 0)!==" "&&(Ti+=" ");break;default:Ti+="/"}break;case 123*ft:$n[Yn++]=bn(Ti)*Hn;case 125*ft:case 59:case 0:switch(oi){case 0:case 125:Cn=0;case 59+or:Hn==-1&&(Ti=qn(Ti,/\f/g,"")),fn>0&&(bn(Ti)-Lr||ft===0&&zn===47)&&mt(fn>32?gs(Ti+";",mr,ar,Lr-1,kn):gs(qn(Ti," ","")+";",mr,ar,Lr-2,kn),kn);break;case 59:Ti+=";";default:if(mt(da=ws(Ti,fr,ar,Yn,or,xr,$n,zi,Nr=[],Hr=[],Lr,vn),vn),oi===123)if(or===0)ds(Ti,fr,da,da,Nr,vn,Lr,$n,Hr);else{switch(yr){case 99:if(hi(Ti,3)===110)break;case 108:if(hi(Ti,2)===97)break;default:or=0;case 100:case 109:case 115:}or?ds(Xt,da,da,mr&&mt(ws(Xt,da,da,0,0,xr,$n,zi,xr,Nr=[],Lr,Hr),Hr),xr,Hr,Lr,$n,mr?Nr:Hr):ds(Ti,da,da,da,[""],Hr,0,$n,Hr)}}Yn=or=fn=0,ft=Hn=1,zi=Ti="",Lr=xn;break;case 58:Lr=1+bn(Ti),fn=zn;default:if(ft<1){if(oi==123)--ft;else if(oi==125&&ft++==0&&Ir()==125)continue}switch(Ti+=Vi(oi),oi*ft){case 38:Hn=or>0?1:(Ti+="\f",-1);break;case 44:$n[Yn++]=(bn(Ti)-1)*Hn,Hn=1;break;case 64:mn()===45&&(Ti+=fa(Br())),yr=mn(),or=Lr=bn(zi=Ti+=Es(Er())),oi++;break;case 45:zn===45&&bn(Ti)==2&&(ft=0)}}return vn}function ws(Xt,fr,ar,mr,xr,vn,xn,$n,kn,Yn,or,Lr){for(var yr=xr-1,fn=xr===0?vn:[""],zn=tr(fn),ft=0,Cn=0,Hn=0;ft<mr;++ft)for(var oi=0,zi=ni(Xt,yr+1,yr=Xn(Cn=xn[ft])),Nr=Xt;oi<zn;++oi)(Nr=Qn(Cn>0?fn[oi]+" "+zi:qn(zi,/&\f/g,fn[oi])))&&(kn[Hn++]=Nr);return at(Xt,fr,ar,xr===0?ut:$n,kn,Yn,or,Lr)}function ka(Xt,fr,ar,mr){return at(Xt,fr,ar,vr,Vi(br()),ni(Xt,2,-2),0,mr)}function gs(Xt,fr,ar,mr,xr){return at(Xt,fr,ar,Rr,ni(Xt,0,mr),ni(Xt,mr+1,-1),mr,xr)}function Zn(Xt,fr){var ar=fr.path,mr=fr.parentSelectors;(0,Ft.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(ar?"Error in ".concat(ar,": "):"").concat(Xt).concat(mr.length?" Selector: ".concat(mr.join(" | ")):""))}var qa=function(fr,ar,mr){if(fr==="content"){var xr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,vn=["normal","none","initial","inherit","unset"];(typeof ar!="string"||vn.indexOf(ar)===-1&&!xr.test(ar)&&(ar.charAt(0)!==ar.charAt(ar.length-1)||ar.charAt(0)!=='"'&&ar.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(ar,"\"'`."),mr)}},Ha=null,Ss=function(fr,ar,mr){fr==="animation"&&mr.hashId&&ar!=="none"&&lintWarning("You seem to be using hashed animation '".concat(ar,"', in which case 'animationName' with Keyframe as value is recommended."),mr)},Bi=null;function hs(Xt){var fr,ar=((fr=Xt.match(/:not\(([^)]*)\)/))===null||fr===void 0?void 0:fr[1])||"",mr=ar.split(/(\[[^[]*])|(?=[.#])/).filter(function(xr){return xr});return mr.length>1}function Ao(Xt){return Xt.parentSelectors.reduce(function(fr,ar){return fr?ar.includes("&")?ar.replace(/&/g,fr):"".concat(fr," ").concat(ar):ar},"")}var Pa=function(fr,ar,mr){var xr=Ao(mr),vn=xr.match(/:not\([^)]*\)/g)||[];vn.length>0&&vn.some(hs)&&Zn("Concat ':not' selector not support in legacy browsers.",mr)},ta=Pa,Ma=function(fr,ar,mr){switch(fr){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":Zn("You seem to be using non-logical property '".concat(fr,"' 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."),mr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof ar=="string"){var xr=ar.split(" ").map(function($n){return $n.trim()});xr.length===4&&xr[1]!==xr[3]&&Zn("You seem to be using '".concat(fr,"' property with different left ").concat(fr," and right ").concat(fr,", 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."),mr)}return;case"clear":case"textAlign":(ar==="left"||ar==="right")&&Zn("You seem to be using non-logical value '".concat(ar,"' of ").concat(fr,", 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."),mr);return;case"borderRadius":if(typeof ar=="string"){var vn=ar.split("/").map(function($n){return $n.trim()}),xn=vn.reduce(function($n,kn){if($n)return $n;var Yn=kn.split(" ").map(function(or){return or.trim()});return Yn.length>=2&&Yn[0]!==Yn[1]||Yn.length===3&&Yn[1]!==Yn[2]||Yn.length===4&&Yn[2]!==Yn[3]?!0:$n},!1);xn&&Zn("You seem to be using non-logical value '".concat(ar,"' of ").concat(fr,", 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."),mr)}return;default:}},Hs=Ma,On=function(fr,ar,mr){(typeof ar=="string"&&/NaN/g.test(ar)||Number.isNaN(ar))&&Zn("Unexpected 'NaN' in property '".concat(fr,": ").concat(ar,"'."),mr)},Ra=On,is=function(fr,ar,mr){mr.parentSelectors.some(function(xr){var vn=xr.split(",");return vn.some(function(xn){return xn.split("&").length>2})})&&Zn("Should not use more than one `&` in a selector.",mr)},as=is,Li="data-ant-cssinjs-cache-path",Da="_FILE_STYLE__";function Ca(Xt){return Object.keys(Xt).map(function(fr){var ar=Xt[fr];return"".concat(fr,":").concat(ar)}).join(";")}var ls,Ws=!0;function bo(Xt){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;ls=Xt,Ws=fr}function Co(){if(!ls&&(ls={},(0,q.Z)())){var Xt=document.createElement("div");Xt.className=Li,Xt.style.position="fixed",Xt.style.visibility="hidden",Xt.style.top="-9999px",document.body.appendChild(Xt);var fr=getComputedStyle(Xt).content||"";fr=fr.replace(/^"/,"").replace(/"$/,""),fr.split(";").forEach(function(xr){var vn=xr.split(":"),xn=(0,r.Z)(vn,2),$n=xn[0],kn=xn[1];ls[$n]=kn});var ar=document.querySelector("style[".concat(Li,"]"));if(ar){var mr;Ws=!1,(mr=ar.parentNode)===null||mr===void 0||mr.removeChild(ar)}document.body.removeChild(Xt)}}function To(Xt){return Co(),!!ls[Xt]}function ga(Xt){var fr=ls[Xt],ar=null;if(fr&&(0,q.Z)())if(Ws)ar=Da;else{var mr=document.querySelector("style[".concat($,'="').concat(ls[Xt],'"]'));mr?ar=mr.innerHTML:delete ls[Xt]}return[ar,fr]}var Ka="_skip_check_",uo="_multi_value_";function ho(Xt){var fr=pt(oa(Xt),ur);return fr.replace(/\{%%%\:[^;];}/g,";")}function Po(Xt){return(0,ce.Z)(Xt)==="object"&&Xt&&(Ka in Xt||uo in Xt)}function xo(Xt,fr,ar){if(!fr)return Xt;var mr=".".concat(fr),xr=ar==="low"?":where(".concat(mr,")"):mr,vn=Xt.split(",").map(function(xn){var $n,kn=xn.trim().split(/\s+/),Yn=kn[0]||"",or=(($n=Yn.match(/^\w+/))===null||$n===void 0?void 0:$n[0])||"";return Yn="".concat(or).concat(xr).concat(Yn.slice(or.length)),[Yn].concat((0,l.Z)(kn.slice(1))).join(" ")});return vn.join(",")}var li=function Xt(fr){var ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},xr=mr.root,vn=mr.injectHash,xn=mr.parentSelectors,$n=ar.hashId,kn=ar.layer,Yn=ar.path,or=ar.hashPriority,Lr=ar.transformers,yr=Lr===void 0?[]:Lr,fn=ar.linters,zn=fn===void 0?[]:fn,ft="",Cn={};function Hn(Nr){var Hr=Nr.getName($n);if(!Cn[Hr]){var da=Xt(Nr.style,ar,{root:!1,parentSelectors:xn}),Ti=(0,r.Z)(da,1),ra=Ti[0];Cn[Hr]="@keyframes ".concat(Nr.getName($n)).concat(ra)}}function oi(Nr){var Hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Nr.forEach(function(da){Array.isArray(da)?oi(da,Hr):da&&Hr.push(da)}),Hr}var zi=oi(Array.isArray(fr)?fr:[fr]);return zi.forEach(function(Nr){var Hr=typeof Nr=="string"&&!xr?{}:Nr;if(typeof Hr=="string")ft+="".concat(Hr,`
|
|
|
`);else if(Hr._keyframe)Hn(Hr);else{var da=yr.reduce(function(Ti,ra){var Ts;return(ra==null||(Ts=ra.visit)===null||Ts===void 0?void 0:Ts.call(ra,Ti))||Ti},Hr);Object.keys(da).forEach(function(Ti){var ra=da[Ti];if((0,ce.Z)(ra)==="object"&&ra&&(Ti!=="animationName"||!ra._keyframe)&&!Po(ra)){var Ts=!1,ui=Ti.trim(),$s=!1;(xr||vn)&&$n?ui.startsWith("@")?Ts=!0:ui==="&"?ui=xo("",$n,or):ui=xo(Ti,$n,or):xr&&!$n&&(ui==="&"||ui==="")&&(ui="",$s=!0);var Fo=Xt(ra,ar,{root:$s,injectHash:Ts,parentSelectors:[].concat((0,l.Z)(xn),[ui])}),Os=(0,r.Z)(Fo,2),ha=Os[0],Na=Os[1];Cn=(0,c.Z)((0,c.Z)({},Cn),Na),ft+="".concat(ui).concat(ha)}else{let Ls=function(Ms,Ye){var Qe=Ms.replace(/[A-Z]/g,function(Vt){return"-".concat(Vt.toLowerCase())}),Rt=Ye;!vt[Ms]&&typeof Rt=="number"&&Rt!==0&&(Rt="".concat(Rt,"px")),Ms==="animationName"&&Ye!==null&&Ye!==void 0&&Ye._keyframe&&(Hn(Ye),Rt=Ye.getName($n)),ft+="".concat(Qe,":").concat(Rt,";")};var ps,Ln=(ps=ra==null?void 0:ra.value)!==null&&ps!==void 0?ps:ra;(0,ce.Z)(ra)==="object"&&ra!==null&&ra!==void 0&&ra[uo]&&Array.isArray(Ln)?Ln.forEach(function(Ms){Ls(Ti,Ms)}):Ls(Ti,Ln)}})}}),xr?kn&&(ft&&(ft="@layer ".concat(kn.name," {").concat(ft,"}")),kn.dependencies&&(Cn["@layer ".concat(kn.name)]=kn.dependencies.map(function(Nr){return"@layer ".concat(Nr,", ").concat(kn.name,";")}).join(`
|
|
|
`))):ft="{".concat(ft,"}"),[ft,Cn]};function si(Xt,fr){return o("".concat(Xt.join("%")).concat(fr))}function Fa(){return null}var Wa="style";function Ga(Xt,fr){var ar=Xt.token,mr=Xt.path,xr=Xt.hashId,vn=Xt.layer,xn=Xt.nonce,$n=Xt.clientOnly,kn=Xt.order,Yn=kn===void 0?0:kn,or=u.useContext(ae),Lr=or.autoClear,yr=or.mock,fn=or.defaultCache,zn=or.hashPriority,ft=or.container,Cn=or.ssrInline,Hn=or.transformers,oi=or.linters,zi=or.cache,Nr=or.layer,Hr=ar._tokenKey,da=[Hr];Nr&&da.push("layer"),da.push.apply(da,(0,l.Z)(mr));var Ti=ct,ra=Lt(Wa,da,function(){var Os=da.join("|");if(To(Os)){var ha=ga(Os),Na=(0,r.Z)(ha,2),ps=Na[0],Ln=Na[1];if(ps)return[ps,Hr,Ln,{},$n,Yn]}var Ls=fr(),Ms=li(Ls,{hashId:xr,hashPriority:zn,layer:Nr?vn:void 0,path:mr.join("-"),transformers:Hn,linters:oi}),Ye=(0,r.Z)(Ms,2),Qe=Ye[0],Rt=Ye[1],Vt=ho(Qe),dr=si(da,Vt);return[Vt,Hr,dr,Rt,$n,Yn]},function(Os,ha){var Na=(0,r.Z)(Os,3),ps=Na[2];(ha||Lr)&&ct&&(0,h.jL)(ps,{mark:$})},function(Os){var ha=(0,r.Z)(Os,4),Na=ha[0],ps=ha[1],Ln=ha[2],Ls=ha[3];if(Ti&&Na!==Da){var Ms={mark:$,prepend:Nr?!1:"queue",attachTo:ft,priority:Yn},Ye=typeof xn=="function"?xn():xn;Ye&&(Ms.csp={nonce:Ye});var Qe=[],Rt=[];Object.keys(Ls).forEach(function(dr){dr.startsWith("@layer")?Qe.push(dr):Rt.push(dr)}),Qe.forEach(function(dr){(0,h.hq)(ho(Ls[dr]),"_layer-".concat(dr),(0,c.Z)((0,c.Z)({},Ms),{},{prepend:!0}))});var Vt=(0,h.hq)(Na,Ln,Ms);Vt[K]=zi.instanceId,Vt.setAttribute(B,Hr),Rt.forEach(function(dr){(0,h.hq)(ho(Ls[dr]),"_effect-".concat(dr),Ms)})}}),Ts=(0,r.Z)(ra,3),ui=Ts[0],$s=Ts[1],Fo=Ts[2];return function(Os){var ha;if(!Cn||Ti||!fn)ha=u.createElement(Fa,null);else{var Na;ha=u.createElement("style",(0,sr.Z)({},(Na={},(0,i.Z)(Na,B,$s),(0,i.Z)(Na,$,Fo),Na),{dangerouslySetInnerHTML:{__html:ui}}))}return u.createElement(u.Fragment,null,ha,Os)}}var Gs=function(fr,ar,mr){var xr=(0,r.Z)(fr,6),vn=xr[0],xn=xr[1],$n=xr[2],kn=xr[3],Yn=xr[4],or=xr[5],Lr=mr||{},yr=Lr.plain;if(Yn)return null;var fn=vn,zn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(or)};return fn=Ht(vn,xn,$n,zn,yr),kn&&Object.keys(kn).forEach(function(ft){if(!ar[ft]){ar[ft]=!0;var Cn=ho(kn[ft]),Hn=Ht(Cn,xn,"_effect-".concat(ft),zn,yr);ft.startsWith("@layer")?fn=Hn+fn:fn+=Hn}}),[or,$n,fn]},Vs="cssVar",Yo=function(fr,ar){var mr=fr.key,xr=fr.prefix,vn=fr.unitless,xn=fr.ignore,$n=fr.token,kn=fr.scope,Yn=kn===void 0?"":kn,or=(0,u.useContext)(ae),Lr=or.cache.instanceId,yr=or.container,fn=$n._tokenKey,zn=[].concat((0,l.Z)(fr.path),[mr,Yn,fn]),ft=Lt(Vs,zn,function(){var Cn=ar(),Hn=Wt(Cn,mr,{prefix:xr,unitless:vn,ignore:xn,scope:Yn}),oi=(0,r.Z)(Hn,2),zi=oi[0],Nr=oi[1],Hr=si(zn,Nr);return[zi,Nr,Hr,mr]},function(Cn){var Hn=(0,r.Z)(Cn,3),oi=Hn[2];ct&&(0,h.jL)(oi,{mark:$})},function(Cn){var Hn=(0,r.Z)(Cn,3),oi=Hn[1],zi=Hn[2];if(oi){var Nr=(0,h.hq)(oi,zi,{mark:$,prepend:"queue",attachTo:yr,priority:-999});Nr[K]=Lr,Nr.setAttribute(B,mr)}});return ft},cs=function(fr,ar,mr){var xr=(0,r.Z)(fr,4),vn=xr[1],xn=xr[2],$n=xr[3],kn=mr||{},Yn=kn.plain;if(!vn)return null;var or=-999,Lr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(or)},yr=Ht(vn,$n,xn,Lr,Yn);return[or,xn,yr]},Io=Yo,Do,jo=(Do={},(0,i.Z)(Do,Wa,Gs),(0,i.Z)(Do,$r,on),(0,i.Z)(Do,Vs,cs),Do);function Au(Xt){return Xt!==null}function Eo(Xt,fr){var ar=typeof fr=="boolean"?{plain:fr}:fr||{},mr=ar.plain,xr=mr===void 0?!1:mr,vn=ar.types,xn=vn===void 0?["style","token","cssVar"]:vn,$n=new RegExp("^(".concat((typeof xn=="string"?[xn]:xn).join("|"),")%")),kn=Array.from(Xt.cache.keys()).filter(function(yr){return $n.test(yr)}),Yn={},or={},Lr="";return kn.map(function(yr){var fn=yr.replace($n,"").replace(/%/g,"|"),zn=yr.split("%"),ft=(0,r.Z)(zn,1),Cn=ft[0],Hn=jo[Cn],oi=Hn(Xt.cache.get(yr)[1],Yn,{plain:xr});if(!oi)return null;var zi=(0,r.Z)(oi,3),Nr=zi[0],Hr=zi[1],da=zi[2];return yr.startsWith("style")&&(or[fn]=Hr),[Nr,da]}).filter(Au).sort(function(yr,fn){var zn=(0,r.Z)(yr,1),ft=zn[0],Cn=(0,r.Z)(fn,1),Hn=Cn[0];return ft-Hn}).forEach(function(yr){var fn=(0,r.Z)(yr,2),zn=fn[1];Lr+=zn}),Lr+=Ht(".".concat(Li,'{content:"').concat(Ca(or),'";}'),void 0,void 0,(0,i.Z)({},Li,Li),xr),Lr}var lo=function(){function Xt(fr,ar){(0,_.Z)(this,Xt),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=fr,this.style=ar}return(0,b.Z)(Xt,[{key:"getName",value:function(){var ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ar?"".concat(ar,"-").concat(this.name):this.name}}]),Xt}(),Ks=lo;function Mu(Xt){if(typeof Xt=="number")return[[Xt],!1];var fr=String(Xt).trim(),ar=fr.match(/(.*)(!important)/),mr=(ar?ar[1]:fr).trim().split(/\s+/),xr=[],vn=0;return[mr.reduce(function(xn,$n){if($n.includes("(")||$n.includes(")")){var kn=$n.split("(").length-1,Yn=$n.split(")").length-1;vn+=kn-Yn}return vn>=0&&xr.push($n),vn===0&&(xn.push(xr.join(" ")),xr=[]),xn},[]),!!ar]}function Oo(Xt){return Xt.notSplit=!0,Xt}var ko={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:Oo(["borderTop","borderBottom"]),borderBlockStart:Oo(["borderTop"]),borderBlockEnd:Oo(["borderBottom"]),borderInline:Oo(["borderLeft","borderRight"]),borderInlineStart:Oo(["borderLeft"]),borderInlineEnd:Oo(["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 Ns(Xt,fr){var ar=Xt;return fr&&(ar="".concat(ar," !important")),{_skip_check_:!0,value:ar}}var du={visit:function(fr){var ar={};return Object.keys(fr).forEach(function(mr){var xr=fr[mr],vn=ko[mr];if(vn&&(typeof xr=="number"||typeof xr=="string")){var xn=Mu(xr),$n=(0,r.Z)(xn,2),kn=$n[0],Yn=$n[1];vn.length&&vn.notSplit?vn.forEach(function(or){ar[or]=Ns(xr,Yn)}):vn.length===1?ar[vn[0]]=Ns(kn[0],Yn):vn.length===2?vn.forEach(function(or,Lr){var yr;ar[or]=Ns((yr=kn[Lr])!==null&&yr!==void 0?yr:kn[0],Yn)}):vn.length===4?vn.forEach(function(or,Lr){var yr,fn;ar[or]=Ns((yr=(fn=kn[Lr])!==null&&fn!==void 0?fn:kn[Lr-2])!==null&&yr!==void 0?yr:kn[0],Yn)}):ar[mr]=xr}else ar[mr]=xr}),ar}},Mo=du,wo=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Rs(Xt,fr){var ar=Math.pow(10,fr+1),mr=Math.floor(Xt*ar);return Math.round(mr/10)*10/ar}var Ds=function(){var fr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ar=fr.rootValue,mr=ar===void 0?16:ar,xr=fr.precision,vn=xr===void 0?5:xr,xn=fr.mediaQuery,$n=xn===void 0?!1:xn,kn=function(Lr,yr){if(!yr)return Lr;var fn=parseFloat(yr);if(fn<=1)return Lr;var zn=Rs(fn/mr,vn);return"".concat(zn,"rem")},Yn=function(Lr){var yr=(0,c.Z)({},Lr);return Object.entries(Lr).forEach(function(fn){var zn=(0,r.Z)(fn,2),ft=zn[0],Cn=zn[1];if(typeof Cn=="string"&&Cn.includes("px")){var Hn=Cn.replace(wo,kn);yr[ft]=Hn}!vt[ft]&&typeof Cn=="number"&&Cn!==0&&(yr[ft]="".concat(Cn,"px").replace(wo,kn));var oi=ft.trim();if(oi.startsWith("@")&&oi.includes("px")&&$n){var zi=ft.replace(wo,kn);yr[zi]=yr[ft],delete yr[ft]}}),yr};return{visit:Yn}},hu=Ds,Cu={supportModernCSS:function(){return $e()&&nt()}}},7657:function(d,g,e){"use strict";e.d(g,{Z:function(){return ie}});var r=e(72308),i=e(52487),l=e(49618),c=e(74416),f=e(59301),o=e(92310),h=e.n(o),u=e(93398),a=e(18418),x=e(77321),p=e(62853),y=e(810),_=e(96452),b=e(48736);function A(F){return F.replace(/-(.)/g,function(M,Q){return Q.toUpperCase()})}function R(F,M){(0,b.ZP)(F,"[@ant-design/icons] ".concat(M))}function L(F){return(0,p.Z)(F)==="object"&&typeof F.name=="string"&&typeof F.theme=="string"&&((0,p.Z)(F.icon)==="object"||typeof F.icon=="function")}function P(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(F).reduce(function(M,Q){var de=F[Q];switch(Q){case"class":M.className=de,delete M.class;break;default:delete M[Q],M[A(Q)]=de}return M},{})}function D(F,M,Q){return Q?f.createElement(F.tag,(0,x.Z)((0,x.Z)({key:M},P(F.attrs)),Q),(F.children||[]).map(function(de,Se){return D(de,"".concat(M,"-").concat(F.tag,"-").concat(Se))})):f.createElement(F.tag,(0,x.Z)({key:M},P(F.attrs)),(F.children||[]).map(function(de,Se){return D(de,"".concat(M,"-").concat(F.tag,"-").concat(Se))}))}function B(F){return(0,u.generate)(F)[0]}function $(F){return F?Array.isArray(F)?F:[F]:[]}var j={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},K=`
|
|
|
.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);
|
|
|
}
|
|
|
}
|
|
|
`,V=function(M){var Q=(0,f.useContext)(a.Z),de=Q.csp,Se=Q.prefixCls,Ie=Q.layer,je=K;Se&&(je=je.replace(/anticon/g,Se)),Ie&&(je="@layer ".concat(Ie,` {
|
|
|
`).concat(je,`
|
|
|
}`)),(0,f.useEffect)(function(){var Fe=M.current,Ft=(0,_.A)(Fe);(0,y.hq)(je,"@ant-design-icons",{prepend:!Ie,csp:de,attachTo:Ft})},[])},W=["icon","className","onClick","style","primaryColor","secondaryColor"],oe={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ae(F){var M=F.primaryColor,Q=F.secondaryColor;oe.primaryColor=M,oe.secondaryColor=Q||B(M),oe.calculated=!!Q}function ce(){return(0,x.Z)({},oe)}var q=function(M){var Q=M.icon,de=M.className,Se=M.onClick,Ie=M.style,je=M.primaryColor,Fe=M.secondaryColor,Ft=(0,c.Z)(M,W),_t=f.useRef(),Pt=oe;if(je&&(Pt={primaryColor:je,secondaryColor:Fe||B(je)}),V(_t),R(L(Q),"icon should be icon definiton, but got ".concat(Q)),!L(Q))return null;var Qt=Q;return Qt&&typeof Qt.icon=="function"&&(Qt=(0,x.Z)((0,x.Z)({},Qt),{},{icon:Qt.icon(Pt.primaryColor,Pt.secondaryColor)})),D(Qt.icon,"svg-".concat(Qt.name),(0,x.Z)((0,x.Z)({className:de,onClick:Se,style:Ie,"data-icon":Qt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Ft),{},{ref:_t}))};q.displayName="IconReact",q.getTwoToneColors=ce,q.setTwoToneColors=ae;var J=q;function Y(F){var M=$(F),Q=(0,i.Z)(M,2),de=Q[0],Se=Q[1];return J.setTwoToneColors({primaryColor:de,secondaryColor:Se})}function le(){var F=J.getTwoToneColors();return F.calculated?[F.primaryColor,F.secondaryColor]:F.primaryColor}var ne=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Y(u.blue.primary);var ee=f.forwardRef(function(F,M){var Q=F.className,de=F.icon,Se=F.spin,Ie=F.rotate,je=F.tabIndex,Fe=F.onClick,Ft=F.twoToneColor,_t=(0,c.Z)(F,ne),Pt=f.useContext(a.Z),Qt=Pt.prefixCls,Jt=Qt===void 0?"anticon":Qt,qt=Pt.rootClassName,Xe=h()(qt,Jt,(0,l.Z)((0,l.Z)({},"".concat(Jt,"-").concat(de.name),!!de.name),"".concat(Jt,"-spin"),!!Se||de.name==="loading"),Q),It=je;It===void 0&&Fe&&(It=-1);var Ut=Ie?{msTransform:"rotate(".concat(Ie,"deg)"),transform:"rotate(".concat(Ie,"deg)")}:void 0,ot=$(Ft),bt=(0,i.Z)(ot,2),ht=bt[0],et=bt[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":de.name},_t,{ref:M,tabIndex:It,onClick:Fe,className:Xe}),f.createElement(J,{icon:de,primaryColor:ht,secondaryColor:et,style:Ut}))});ee.displayName="AntdIcon",ee.getTwoToneColor=le,ee.setTwoToneColor=Y;var ie=ee},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(72308),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),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},19248:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),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),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},99267:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),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),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},96512:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),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),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},78987:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),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),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},58617:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),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),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),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 o},rW:function(){return i},s:function(){return a},ve:function(){return f},vq:function(){return u}});var r=e(12187);function i(A,R,L){return{r:(0,r.sh)(A,255)*255,g:(0,r.sh)(R,255)*255,b:(0,r.sh)(L,255)*255}}function l(A,R,L){A=(0,r.sh)(A,255),R=(0,r.sh)(R,255),L=(0,r.sh)(L,255);var P=Math.max(A,R,L),D=Math.min(A,R,L),B=0,$=0,j=(P+D)/2;if(P===D)$=0,B=0;else{var K=P-D;switch($=j>.5?K/(2-P-D):K/(P+D),P){case A:B=(R-L)/K+(R<L?6:0);break;case R:B=(L-A)/K+2;break;case L:B=(A-R)/K+4;break;default:break}B/=6}return{h:B,s:$,l:j}}function c(A,R,L){return L<0&&(L+=1),L>1&&(L-=1),L<.16666666666666666?A+(R-A)*(6*L):L<.5?R:L<.6666666666666666?A+(R-A)*(.6666666666666666-L)*6:A}function f(A,R,L){var P,D,B;if(A=(0,r.sh)(A,360),R=(0,r.sh)(R,100),L=(0,r.sh)(L,100),R===0)D=L,B=L,P=L;else{var $=L<.5?L*(1+R):L+R-L*R,j=2*L-$;P=c(j,$,A+.3333333333333333),D=c(j,$,A),B=c(j,$,A-.3333333333333333)}return{r:P*255,g:D*255,b:B*255}}function o(A,R,L){A=(0,r.sh)(A,255),R=(0,r.sh)(R,255),L=(0,r.sh)(L,255);var P=Math.max(A,R,L),D=Math.min(A,R,L),B=0,$=P,j=P-D,K=P===0?0:j/P;if(P===D)B=0;else{switch(P){case A:B=(R-L)/j+(R<L?6:0);break;case R:B=(L-A)/j+2;break;case L:B=(A-R)/j+4;break;default:break}B/=6}return{h:B,s:K,v:$}}function h(A,R,L){A=(0,r.sh)(A,360)*6,R=(0,r.sh)(R,100),L=(0,r.sh)(L,100);var P=Math.floor(A),D=A-P,B=L*(1-R),$=L*(1-D*R),j=L*(1-(1-D)*R),K=P%6,V=[L,$,B,B,j,L][K],W=[j,L,L,$,B,B][K],oe=[B,B,j,L,L,$][K];return{r:V*255,g:W*255,b:oe*255}}function u(A,R,L,P){var D=[(0,r.FZ)(Math.round(A).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(Math.round(L).toString(16))];return P&&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(A,R,L,P,D){var B=[(0,r.FZ)(Math.round(A).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(Math.round(L).toString(16)),(0,r.FZ)(p(P))];return D&&B[0].startsWith(B[0].charAt(1))&&B[1].startsWith(B[1].charAt(1))&&B[2].startsWith(B[2].charAt(1))&&B[3].startsWith(B[3].charAt(1))?B[0].charAt(0)+B[1].charAt(0)+B[2].charAt(0)+B[3].charAt(0):B.join("")}function x(A,R,L,P){var D=[(0,r.FZ)(p(P)),(0,r.FZ)(Math.round(A).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(Math.round(L).toString(16))];return D.join("")}function p(A){return Math.round(parseFloat(A)*255).toString(16)}function y(A){return _(A)/255}function _(A){return parseInt(A,16)}function b(A){return{r:A>>16,g:(A&65280)>>8,b:A&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},A=1,R=null,L=null,P=null,D=!1,B=!1;return typeof _=="string"&&(_=p(_)),typeof _=="object"&&(y(_.r)&&y(_.g)&&y(_.b)?(b=(0,r.rW)(_.r,_.g,_.b),D=!0,B=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,B="hsv"):y(_.h)&&y(_.s)&&y(_.l)&&(R=(0,l.JX)(_.s),P=(0,l.JX)(_.l),b=(0,r.ve)(_.h,R,P),D=!0,B="hsl"),Object.prototype.hasOwnProperty.call(_,"a")&&(A=_.a)),A=(0,l.Yq)(A),{ok:D,format:_.format||B,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:A}}var f="[-\\+]?\\d+%?",o="[-\\+]?\\d*\\.\\d+%?",h="(?:".concat(o,")|(?:").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 A=x.rgb.exec(_);return A?{r:A[1],g:A[2],b:A[3]}:(A=x.rgba.exec(_),A?{r:A[1],g:A[2],b:A[3],a:A[4]}:(A=x.hsl.exec(_),A?{h:A[1],s:A[2],l:A[3]}:(A=x.hsla.exec(_),A?{h:A[1],s:A[2],l:A[3],a:A[4]}:(A=x.hsv.exec(_),A?{h:A[1],s:A[2],v:A[3]}:(A=x.hsva.exec(_),A?{h:A[1],s:A[2],v:A[3],a:A[4]}:(A=x.hex8.exec(_),A?{r:(0,r.VD)(A[1]),g:(0,r.VD)(A[2]),b:(0,r.VD)(A[3]),a:(0,r.T6)(A[4]),format:b?"name":"hex8"}:(A=x.hex6.exec(_),A?{r:(0,r.VD)(A[1]),g:(0,r.VD)(A[2]),b:(0,r.VD)(A[3]),format:b?"name":"hex"}:(A=x.hex4.exec(_),A?{r:(0,r.VD)(A[1]+A[1]),g:(0,r.VD)(A[2]+A[2]),b:(0,r.VD)(A[3]+A[3]),a:(0,r.T6)(A[4]+A[4]),format:b?"name":"hex8"}:(A=x.hex3.exec(_),A?{r:(0,r.VD)(A[1]+A[1]),g:(0,r.VD)(A[2]+A[2]),b:(0,r.VD)(A[3]+A[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 o}});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 o(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 o},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 o(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 V}});var r=e(52487),i=e(59301),l=e(4676),c=e(47273),f=e(48736),o=e(8654),h=i.createContext(null),u=h,a=e(80702),x=e(34280),p=[];function y(W,oe){var ae=i.useState(function(){if(!(0,c.Z)())return null;var de=document.createElement("div");return de}),ce=(0,r.Z)(ae,1),q=ce[0],J=i.useRef(!1),Y=i.useContext(u),le=i.useState(p),ne=(0,r.Z)(le,2),ee=ne[0],ie=ne[1],F=Y||(J.current?void 0:function(de){ie(function(Se){var Ie=[de].concat((0,a.Z)(Se));return Ie})});function M(){q.parentElement||document.body.appendChild(q),J.current=!0}function Q(){var de;(de=q.parentElement)===null||de===void 0||de.removeChild(q),J.current=!1}return(0,x.Z)(function(){return W?Y?Y(M):M():Q(),Q},[W]),(0,x.Z)(function(){ee.length&&(ee.forEach(function(de){return de()}),ie(p))},[ee]),[q,F]}var _=e(810),b=e(75152);function A(){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 P(W){var oe=!!W,ae=i.useState(function(){return L+=1,"".concat(R,"_").concat(L)}),ce=(0,r.Z)(ae,1),q=ce[0];(0,x.Z)(function(){if(oe){var J=(0,b.o)(document.body).width,Y=A();(0,_.hq)(`
|
|
|
html body {
|
|
|
overflow-y: hidden;
|
|
|
`.concat(Y?"width: calc(100% - ".concat(J,"px);"):"",`
|
|
|
}`),q)}else(0,_.jL)(q);return function(){(0,_.jL)(q)}},[oe,q])}var D=!1;function B(W){return typeof W=="boolean"&&(D=W),D}var $=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(W,oe){var ae=W.open,ce=W.autoLock,q=W.getContainer,J=W.debug,Y=W.autoDestroy,le=Y===void 0?!0:Y,ne=W.children,ee=i.useState(ae),ie=(0,r.Z)(ee,2),F=ie[0],M=ie[1],Q=F||ae;i.useEffect(function(){(le||ae)&&M(ae)},[ae,le]);var de=i.useState(function(){return $(q)}),Se=(0,r.Z)(de,2),Ie=Se[0],je=Se[1];i.useEffect(function(){var ot=$(q);je(ot!=null?ot:null)});var Fe=y(Q&&!Ie,J),Ft=(0,r.Z)(Fe,2),_t=Ft[0],Pt=Ft[1],Qt=Ie!=null?Ie:_t;P(ce&&ae&&(0,c.Z)()&&(Qt===_t||Qt===document.body));var Jt=null;if(ne&&(0,o.Yr)(ne)&&oe){var qt=ne;Jt=qt.ref}var Xe=(0,o.x1)(Jt,oe);if(!Q||!(0,c.Z)()||Ie===void 0)return null;var It=Qt===!1||B(),Ut=ne;return oe&&(Ut=i.cloneElement(ne,{ref:Xe})),i.createElement(u.Provider,{value:Pt},It?Ut:(0,l.createPortal)(Ut,Qt))}),K=j,V=K},35593:function(d,g,e){"use strict";e.d(g,{Z:function(){return Ut}});var r=e(77321),i=e(52487),l=e(74416),c=e(43403),f=e(92310),o=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),A=e(72308),R=e(77900),L=e(8654);function P(ot){var bt=ot.prefixCls,ht=ot.align,et=ot.arrow,Ue=ot.arrowPos,ye=et||{},Pe=ye.className,Me=ye.content,$e=Ue.x,He=$e===void 0?0:$e,nt=Ue.y,ct=nt===void 0?0:nt,Gt=b.useRef();if(!ht||!ht.points)return null;var Ht={position:"absolute"};if(ht.autoArrow!==!1){var Oe=ht.points[0],Je=ht.points[1],Wt=Oe[0],kt=Oe[1],Zt=Je[0],Bt=Je[1];Wt===Zt||!["t","b"].includes(Wt)?Ht.top=ct:Wt==="t"?Ht.top=0:Ht.bottom=0,kt===Bt||!["l","r"].includes(kt)?Ht.left=He:kt==="l"?Ht.left=0:Ht.right=0}return b.createElement("div",{ref:Gt,className:o()("".concat(bt,"-arrow"),Pe),style:Ht},Me)}function D(ot){var bt=ot.prefixCls,ht=ot.open,et=ot.zIndex,Ue=ot.mask,ye=ot.motion;return Ue?b.createElement(R.default,(0,A.Z)({},ye,{motionAppear:!0,visible:ht,removeOnLeave:!0}),function(Pe){var Me=Pe.className;return b.createElement("div",{style:{zIndex:et},className:o()("".concat(bt,"-mask"),Me)})}):null}var B=b.memo(function(ot){var bt=ot.children;return bt},function(ot,bt){return bt.cache}),$=B,j=b.forwardRef(function(ot,bt){var ht=ot.popup,et=ot.className,Ue=ot.prefixCls,ye=ot.style,Pe=ot.target,Me=ot.onVisibleChanged,$e=ot.open,He=ot.keepDom,nt=ot.fresh,ct=ot.onClick,Gt=ot.mask,Ht=ot.arrow,Oe=ot.arrowPos,Je=ot.align,Wt=ot.motion,kt=ot.maskMotion,Zt=ot.forceRender,Bt=ot.getPopupContainer,At=ot.autoDestroy,Kt=ot.portal,We=ot.zIndex,fe=ot.onMouseEnter,_e=ot.onMouseLeave,Ot=ot.onPointerEnter,De=ot.ready,dt=ot.offsetX,zt=ot.offsetY,Ct=ot.offsetR,ke=ot.offsetB,wt=ot.onAlign,xe=ot.onPrepare,Ke=ot.stretch,gt=ot.targetWidth,Lt=ot.targetHeight,Be=typeof ht=="function"?ht():ht,Dr=$e||He,St=(Bt==null?void 0:Bt.length)>0,Gr=b.useState(!Bt||!St),Xr=(0,i.Z)(Gr,2),Sr=Xr[0],Mr=Xr[1];if((0,y.Z)(function(){!Sr&&St&&Pe&&Mr(!0)},[Sr,St,Pe]),!Sr)return null;var pr="auto",$r={left:"-1000vw",top:"-1000vh",right:pr,bottom:pr};if(De||!$e){var nn,on=Je.points,sr=Je.dynamicInset||((nn=Je._experimental)===null||nn===void 0?void 0:nn.dynamicInset),Mt=sr&&on[0][1]==="r",vt=sr&&on[0][0]==="b";Mt?($r.right=Ct,$r.left=pr):($r.left=dt,$r.right=pr),vt?($r.bottom=ke,$r.top=pr):($r.top=zt,$r.bottom=pr)}var yt={};return Ke&&(Ke.includes("height")&&Lt?yt.height=Lt:Ke.includes("minHeight")&&Lt&&(yt.minHeight=Lt),Ke.includes("width")&>?yt.width=gt:Ke.includes("minWidth")&>&&(yt.minWidth=gt)),$e||(yt.pointerEvents="none"),b.createElement(Kt,{open:Zt||Dr,getContainer:Bt&&function(){return Bt(Pe)},autoDestroy:At},b.createElement(D,{prefixCls:Ue,open:$e,zIndex:We,mask:Gt,motion:kt}),b.createElement(h.Z,{onResize:wt,disabled:!$e},function(Nt){return b.createElement(R.default,(0,A.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Zt,leavedClassName:"".concat(Ue,"-hidden")},Wt,{onAppearPrepare:xe,onEnterPrepare:xe,visible:$e,onVisibleChanged:function(vr){var ut;Wt==null||(ut=Wt.onVisibleChanged)===null||ut===void 0||ut.call(Wt,vr),Me(vr)}}),function(Cr,vr){var ut=Cr.className,Rr=Cr.style,_n=o()(Ue,ut,et);return b.createElement("div",{ref:(0,L.sQ)(Nt,bt,vr),className:_n,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(Oe.x||0,"px"),"--arrow-y":"".concat(Oe.y||0,"px")},$r),yt),Rr),{},{boxSizing:"border-box",zIndex:We},ye),onMouseEnter:fe,onMouseLeave:_e,onPointerEnter:Ot,onClick:ct},Ht&&b.createElement(P,{prefixCls:Ue,arrow:Ht,arrowPos:Oe,align:Je}),b.createElement($,{cache:!$e&&!nt},Be))})}))}),K=j,V=b.forwardRef(function(ot,bt){var ht=ot.children,et=ot.getTriggerDOMNode,Ue=(0,L.Yr)(ht),ye=b.useCallback(function(Me){(0,L.mH)(bt,et?et(Me):Me)},[et]),Pe=(0,L.x1)(ye,ht.ref);return Ue?b.cloneElement(ht,{ref:Pe}):ht}),W=V,oe=b.createContext(null),ae=oe;function ce(ot){return ot?Array.isArray(ot)?ot:[ot]:[]}function q(ot,bt,ht,et){return b.useMemo(function(){var Ue=ce(ht!=null?ht:bt),ye=ce(et!=null?et:bt),Pe=new Set(Ue),Me=new Set(ye);return ot&&(Pe.has("hover")&&(Pe.delete("hover"),Pe.add("click")),Me.has("hover")&&(Me.delete("hover"),Me.add("click"))),[Pe,Me]},[ot,bt,ht,et])}var J=e(29194);function Y(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ht=arguments.length>2?arguments[2]:void 0;return ht?ot[0]===bt[0]:ot[0]===bt[0]&&ot[1]===bt[1]}function le(ot,bt,ht,et){for(var Ue=ht.points,ye=Object.keys(ot),Pe=0;Pe<ye.length;Pe+=1){var Me,$e=ye[Pe];if(Y((Me=ot[$e])===null||Me===void 0?void 0:Me.points,Ue,et))return"".concat(bt,"-placement-").concat($e)}return""}function ne(ot,bt,ht,et){return bt||(ht?{motionName:"".concat(ot,"-").concat(ht)}:et?{motionName:et}:null)}function ee(ot){return ot.ownerDocument.defaultView}function ie(ot){for(var bt=[],ht=ot==null?void 0:ot.parentElement,et=["hidden","scroll","clip","auto"];ht;){var Ue=ee(ht).getComputedStyle(ht),ye=Ue.overflowX,Pe=Ue.overflowY,Me=Ue.overflow;[ye,Pe,Me].some(function($e){return et.includes($e)})&&bt.push(ht),ht=ht.parentElement}return bt}function F(ot){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(ot)?bt:ot}function M(ot){return F(parseFloat(ot),0)}function Q(ot,bt){var ht=(0,r.Z)({},ot);return(bt||[]).forEach(function(et){if(!(et instanceof HTMLBodyElement||et instanceof HTMLHtmlElement)){var Ue=ee(et).getComputedStyle(et),ye=Ue.overflow,Pe=Ue.overflowClipMargin,Me=Ue.borderTopWidth,$e=Ue.borderBottomWidth,He=Ue.borderLeftWidth,nt=Ue.borderRightWidth,ct=et.getBoundingClientRect(),Gt=et.offsetHeight,Ht=et.clientHeight,Oe=et.offsetWidth,Je=et.clientWidth,Wt=M(Me),kt=M($e),Zt=M(He),Bt=M(nt),At=F(Math.round(ct.width/Oe*1e3)/1e3),Kt=F(Math.round(ct.height/Gt*1e3)/1e3),We=(Oe-Je-Zt-Bt)*At,fe=(Gt-Ht-Wt-kt)*Kt,_e=Wt*Kt,Ot=kt*Kt,De=Zt*At,dt=Bt*At,zt=0,Ct=0;if(ye==="clip"){var ke=M(Pe);zt=ke*At,Ct=ke*Kt}var wt=ct.x+De-zt,xe=ct.y+_e-Ct,Ke=wt+ct.width+2*zt-De-dt-We,gt=xe+ct.height+2*Ct-_e-Ot-fe;ht.left=Math.max(ht.left,wt),ht.top=Math.max(ht.top,xe),ht.right=Math.min(ht.right,Ke),ht.bottom=Math.min(ht.bottom,gt)}}),ht}function de(ot){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ht="".concat(bt),et=ht.match(/^(.*)\%$/);return et?ot*(parseFloat(et[1])/100):parseFloat(ht)}function Se(ot,bt){var ht=bt||[],et=(0,i.Z)(ht,2),Ue=et[0],ye=et[1];return[de(ot.width,Ue),de(ot.height,ye)]}function Ie(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[ot[0],ot[1]]}function je(ot,bt){var ht=bt[0],et=bt[1],Ue,ye;return ht==="t"?ye=ot.y:ht==="b"?ye=ot.y+ot.height:ye=ot.y+ot.height/2,et==="l"?Ue=ot.x:et==="r"?Ue=ot.x+ot.width:Ue=ot.x+ot.width/2,{x:Ue,y:ye}}function Fe(ot,bt){var ht={t:"b",b:"t",l:"r",r:"l"};return ot.map(function(et,Ue){return Ue===bt?ht[et]||"c":et}).join("")}function Ft(ot,bt,ht,et,Ue,ye,Pe){var Me=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ue[et]||{}}),$e=(0,i.Z)(Me,2),He=$e[0],nt=$e[1],ct=b.useRef(0),Gt=b.useMemo(function(){return bt?ie(bt):[]},[bt]),Ht=b.useRef({}),Oe=function(){Ht.current={}};ot||Oe();var Je=(0,x.Z)(function(){if(bt&&ht&&ot){let Da=function(ls,Ws){var bo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_n,Co=Be.x+ls,To=Be.y+Ws,ga=Co+nn,Ka=To+$r,uo=Math.max(Co,bo.left),ho=Math.max(To,bo.top),Po=Math.min(ga,bo.right),xo=Math.min(Ka,bo.bottom);return Math.max(0,(Po-uo)*(xo-ho))},Ca=function(){nr=Be.y+tr,Pr=nr+$r,br=Be.x+bn,Ir=br+nn};var Zt,Bt,At=bt,Kt=At.ownerDocument,We=ee(At),fe=We.getComputedStyle(At),_e=fe.width,Ot=fe.height,De=fe.position,dt=At.style.left,zt=At.style.top,Ct=At.style.right,ke=At.style.bottom,wt=At.style.overflow,xe=(0,r.Z)((0,r.Z)({},Ue[et]),ye),Ke=Kt.createElement("div");(Zt=At.parentElement)===null||Zt===void 0||Zt.appendChild(Ke),Ke.style.left="".concat(At.offsetLeft,"px"),Ke.style.top="".concat(At.offsetTop,"px"),Ke.style.position=De,Ke.style.height="".concat(At.offsetHeight,"px"),Ke.style.width="".concat(At.offsetWidth,"px"),At.style.left="0",At.style.top="0",At.style.right="auto",At.style.bottom="auto",At.style.overflow="hidden";var gt;if(Array.isArray(ht))gt={x:ht[0],y:ht[1],width:0,height:0};else{var Lt=ht.getBoundingClientRect();gt={x:Lt.x,y:Lt.y,width:Lt.width,height:Lt.height}}var Be=At.getBoundingClientRect(),Dr=Kt.documentElement,St=Dr.clientWidth,Gr=Dr.clientHeight,Xr=Dr.scrollWidth,Sr=Dr.scrollHeight,Mr=Dr.scrollTop,pr=Dr.scrollLeft,$r=Be.height,nn=Be.width,on=gt.height,sr=gt.width,Mt={left:0,top:0,right:St,bottom:Gr},vt={left:-pr,top:-Mr,right:Xr-pr,bottom:Sr-Mr},yt=xe.htmlRegion,Nt="visible",Cr="visibleFirst";yt!=="scroll"&&yt!==Cr&&(yt=Nt);var vr=yt===Cr,ut=Q(vt,Gt),Rr=Q(Mt,Gt),_n=yt===Nt?Rr:ut,Un=vr?Rr:_n;At.style.left="auto",At.style.top="auto",At.style.right="0",At.style.bottom="0";var _r=At.getBoundingClientRect();At.style.left=dt,At.style.top=zt,At.style.right=Ct,At.style.bottom=ke,At.style.overflow=wt,(Bt=At.parentElement)===null||Bt===void 0||Bt.removeChild(Ke);var Jr=F(Math.round(nn/parseFloat(_e)*1e3)/1e3),dn=F(Math.round($r/parseFloat(Ot)*1e3)/1e3);if(Jr===0||dn===0||(0,u.Sh)(ht)&&!(0,J.Z)(ht))return;var Mn=xe.offset,Jn=xe.targetOffset,Nn=Se(Be,Mn),Ui=(0,i.Z)(Nn,2),mi=Ui[0],bi=Ui[1],vi=Se(gt,Jn),di=(0,i.Z)(vi,2),Yi=di[0],Xn=di[1];gt.x-=Yi,gt.y-=Xn;var Vi=xe.points||[],Et=(0,i.Z)(Vi,2),lt=Et[0],Qn=Et[1],xi=Ie(Qn),qn=Ie(lt),Wi=je(gt,xi),hi=je(Be,qn),ni=(0,r.Z)({},xe),bn=Wi.x-hi.x+mi,tr=Wi.y-hi.y+bi,mt=Da(bn,tr),rt=Da(bn,tr,Rr),Dt=je(gt,["t","l"]),pt=je(Be,["t","l"]),ur=je(gt,["b","r"]),cr=je(Be,["b","r"]),Tr=xe.overflow||{},Ur=Tr.adjustX,Ze=Tr.adjustY,tt=Tr.shiftX,Ee=Tr.shiftY,at=function(Ws){return typeof Ws=="boolean"?Ws:Ws>=0},nr,Pr,br,Ir;Ca();var Br=at(Ze),mn=qn[0]===xi[0];if(Br&&qn[0]==="t"&&(Pr>Un.bottom||Ht.current.bt)){var Er=tr;mn?Er-=$r-on:Er=Dt.y-cr.y-bi;var un=Da(bn,Er),tn=Da(bn,Er,Rr);un>mt||un===mt&&(!vr||tn>=rt)?(Ht.current.bt=!0,tr=Er,bi=-bi,ni.points=[Fe(qn,0),Fe(xi,0)]):Ht.current.bt=!1}if(Br&&qn[0]==="b"&&(nr<Un.top||Ht.current.tb)){var sn=tr;mn?sn+=$r-on:sn=ur.y-pt.y-bi;var wn=Da(bn,sn),fa=Da(bn,sn,Rr);wn>mt||wn===mt&&(!vr||fa>=rt)?(Ht.current.tb=!0,tr=sn,bi=-bi,ni.points=[Fe(qn,0),Fe(xi,0)]):Ht.current.tb=!1}var Ci=at(Ur),fi=qn[1]===xi[1];if(Ci&&qn[1]==="l"&&(Ir>Un.right||Ht.current.rl)){var hn=bn;fi?hn-=nn-sr:hn=Dt.x-cr.x-mi;var ai=Da(hn,tr),Mi=Da(hn,tr,Rr);ai>mt||ai===mt&&(!vr||Mi>=rt)?(Ht.current.rl=!0,bn=hn,mi=-mi,ni.points=[Fe(qn,1),Fe(xi,1)]):Ht.current.rl=!1}if(Ci&&qn[1]==="r"&&(br<Un.left||Ht.current.lr)){var sa=bn;fi?sa+=nn-sr:sa=ur.x-pt.x-mi;var Es=Da(sa,tr),oa=Da(sa,tr,Rr);Es>mt||Es===mt&&(!vr||oa>=rt)?(Ht.current.lr=!0,bn=sa,mi=-mi,ni.points=[Fe(qn,1),Fe(xi,1)]):Ht.current.lr=!1}Ca();var ds=tt===!0?0:tt;typeof ds=="number"&&(br<Rr.left&&(bn-=br-Rr.left-mi,gt.x+sr<Rr.left+ds&&(bn+=gt.x-Rr.left+sr-ds)),Ir>Rr.right&&(bn-=Ir-Rr.right-mi,gt.x>Rr.right-ds&&(bn+=gt.x-Rr.right+ds)));var ws=Ee===!0?0:Ee;typeof ws=="number"&&(nr<Rr.top&&(tr-=nr-Rr.top-bi,gt.y+on<Rr.top+ws&&(tr+=gt.y-Rr.top+on-ws)),Pr>Rr.bottom&&(tr-=Pr-Rr.bottom-bi,gt.y>Rr.bottom-ws&&(tr+=gt.y-Rr.bottom+ws)));var ka=Be.x+bn,gs=ka+nn,Zn=Be.y+tr,qa=Zn+$r,Ha=gt.x,Ss=Ha+sr,Bi=gt.y,hs=Bi+on,Ao=Math.max(ka,Ha),Pa=Math.min(gs,Ss),ta=(Ao+Pa)/2,Ma=ta-ka,Hs=Math.max(Zn,Bi),On=Math.min(qa,hs),Ra=(Hs+On)/2,is=Ra-Zn;Pe==null||Pe(bt,ni);var as=_r.right-Be.x-(bn+Be.width),Li=_r.bottom-Be.y-(tr+Be.height);nt({ready:!0,offsetX:bn/Jr,offsetY:tr/dn,offsetR:as/Jr,offsetB:Li/dn,arrowX:Ma/Jr,arrowY:is/dn,scaleX:Jr,scaleY:dn,align:ni})}}),Wt=function(){ct.current+=1;var Bt=ct.current;Promise.resolve().then(function(){ct.current===Bt&&Je()})},kt=function(){nt(function(Bt){return(0,r.Z)((0,r.Z)({},Bt),{},{ready:!1})})};return(0,y.Z)(kt,[et]),(0,y.Z)(function(){ot||kt()},[ot]),[He.ready,He.offsetX,He.offsetY,He.offsetR,He.offsetB,He.arrowX,He.arrowY,He.scaleX,He.scaleY,He.align,Wt]}var _t=e(80702);function Pt(ot,bt,ht,et,Ue){(0,y.Z)(function(){if(ot&&bt&&ht){let ct=function(){et(),Ue()};var ye=bt,Pe=ht,Me=ie(ye),$e=ie(Pe),He=ee(Pe),nt=new Set([He].concat((0,_t.Z)(Me),(0,_t.Z)($e)));return nt.forEach(function(Gt){Gt.addEventListener("scroll",ct,{passive:!0})}),He.addEventListener("resize",ct,{passive:!0}),et(),function(){nt.forEach(function(Gt){Gt.removeEventListener("scroll",ct),He.removeEventListener("resize",ct)})}}},[ot,bt,ht])}var Qt=e(48736),Jt=e(16089);function qt(ot,bt,ht,et,Ue,ye,Pe,Me){var $e=b.useRef(ot),He=b.useRef(!1);$e.current!==ot&&(He.current=!0,$e.current=ot),b.useEffect(function(){var nt=(0,Jt.Z)(function(){He.current=!1});return function(){Jt.Z.cancel(nt)}},[ot]),b.useEffect(function(){if(bt&&et&&(!Ue||ye)){var nt=function(){var De=!1,dt=function(ke){var wt=ke.target;De=Pe(wt)},zt=function(ke){var wt=ke.target;!He.current&&$e.current&&!De&&!Pe(wt)&&Me(!1)};return[dt,zt]},ct=nt(),Gt=(0,i.Z)(ct,2),Ht=Gt[0],Oe=Gt[1],Je=nt(),Wt=(0,i.Z)(Je,2),kt=Wt[0],Zt=Wt[1],Bt=ee(et);Bt.addEventListener("mousedown",Ht,!0),Bt.addEventListener("click",Oe,!0),Bt.addEventListener("contextmenu",Oe,!0);var At=(0,a.A)(ht);if(At&&(At.addEventListener("mousedown",kt,!0),At.addEventListener("click",Zt,!0),At.addEventListener("contextmenu",Zt,!0)),0)var Kt,We,fe,_e;return function(){Bt.removeEventListener("mousedown",Ht,!0),Bt.removeEventListener("click",Oe,!0),Bt.removeEventListener("contextmenu",Oe,!0),At&&(At.removeEventListener("mousedown",kt,!0),At.removeEventListener("click",Zt,!0),At.removeEventListener("contextmenu",Zt,!0))}}},[bt,ht,et,Ue,ye])}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 It(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,bt=b.forwardRef(function(ht,et){var Ue=ht.prefixCls,ye=Ue===void 0?"rc-trigger-popup":Ue,Pe=ht.children,Me=ht.action,$e=Me===void 0?"hover":Me,He=ht.showAction,nt=ht.hideAction,ct=ht.popupVisible,Gt=ht.defaultPopupVisible,Ht=ht.onPopupVisibleChange,Oe=ht.afterPopupVisibleChange,Je=ht.mouseEnterDelay,Wt=ht.mouseLeaveDelay,kt=Wt===void 0?.1:Wt,Zt=ht.focusDelay,Bt=ht.blurDelay,At=ht.mask,Kt=ht.maskClosable,We=Kt===void 0?!0:Kt,fe=ht.getPopupContainer,_e=ht.forceRender,Ot=ht.autoDestroy,De=ht.destroyPopupOnHide,dt=ht.popup,zt=ht.popupClassName,Ct=ht.popupStyle,ke=ht.popupPlacement,wt=ht.builtinPlacements,xe=wt===void 0?{}:wt,Ke=ht.popupAlign,gt=ht.zIndex,Lt=ht.stretch,Be=ht.getPopupClassNameFromAlign,Dr=ht.fresh,St=ht.alignPoint,Gr=ht.onPopupClick,Xr=ht.onPopupAlign,Sr=ht.arrow,Mr=ht.popupMotion,pr=ht.maskMotion,$r=ht.popupTransitionName,nn=ht.popupAnimation,on=ht.maskTransitionName,sr=ht.maskAnimation,Mt=ht.className,vt=ht.getTriggerDOMNode,yt=(0,l.Z)(ht,Xe),Nt=Ot||De||!1,Cr=b.useState(!1),vr=(0,i.Z)(Cr,2),ut=vr[0],Rr=vr[1];(0,y.Z)(function(){Rr((0,_.Z)())},[]);var _n=b.useRef({}),Un=b.useContext(ae),_r=b.useMemo(function(){return{registerSubPopup:function(si,Fa){_n.current[si]=Fa,Un==null||Un.registerSubPopup(si,Fa)}}},[Un]),Jr=(0,p.Z)(),dn=b.useState(null),Mn=(0,i.Z)(dn,2),Jn=Mn[0],Nn=Mn[1],Ui=(0,x.Z)(function(li){(0,u.Sh)(li)&&Jn!==li&&Nn(li),Un==null||Un.registerSubPopup(Jr,li)}),mi=b.useState(null),bi=(0,i.Z)(mi,2),vi=bi[0],di=bi[1],Yi=b.useRef(null),Xn=(0,x.Z)(function(li){(0,u.Sh)(li)&&vi!==li&&(di(li),Yi.current=li)}),Vi=b.Children.only(Pe),Et=(Vi==null?void 0:Vi.props)||{},lt={},Qn=(0,x.Z)(function(li){var si,Fa,Wa=vi;return(Wa==null?void 0:Wa.contains(li))||((si=(0,a.A)(Wa))===null||si===void 0?void 0:si.host)===li||li===Wa||(Jn==null?void 0:Jn.contains(li))||((Fa=(0,a.A)(Jn))===null||Fa===void 0?void 0:Fa.host)===li||li===Jn||Object.values(_n.current).some(function(Ga){return(Ga==null?void 0:Ga.contains(li))||li===Ga})}),xi=ne(ye,Mr,nn,$r),qn=ne(ye,pr,sr,on),Wi=b.useState(Gt||!1),hi=(0,i.Z)(Wi,2),ni=hi[0],bn=hi[1],tr=ct!=null?ct:ni,mt=(0,x.Z)(function(li){ct===void 0&&bn(li)});(0,y.Z)(function(){bn(ct||!1)},[ct]);var rt=b.useRef(tr);rt.current=tr;var Dt=b.useRef([]);Dt.current=[];var pt=(0,x.Z)(function(li){var si;mt(li),((si=Dt.current[Dt.current.length-1])!==null&&si!==void 0?si:tr)!==li&&(Dt.current.push(li),Ht==null||Ht(li))}),ur=b.useRef(),cr=function(){clearTimeout(ur.current)},Tr=function(si){var Fa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;cr(),Fa===0?pt(si):ur.current=setTimeout(function(){pt(si)},Fa*1e3)};b.useEffect(function(){return cr},[]);var Ur=b.useState(!1),Ze=(0,i.Z)(Ur,2),tt=Ze[0],Ee=Ze[1];(0,y.Z)(function(li){(!li||tr)&&Ee(!0)},[tr]);var at=b.useState(null),nr=(0,i.Z)(at,2),Pr=nr[0],br=nr[1],Ir=b.useState([0,0]),Br=(0,i.Z)(Ir,2),mn=Br[0],Er=Br[1],un=function(si){Er([si.clientX,si.clientY])},tn=Ft(tr,Jn,St?mn:vi,ke,xe,Ke,Xr),sn=(0,i.Z)(tn,11),wn=sn[0],fa=sn[1],Ci=sn[2],fi=sn[3],hn=sn[4],ai=sn[5],Mi=sn[6],sa=sn[7],Es=sn[8],oa=sn[9],ds=sn[10],ws=q(ut,$e,He,nt),ka=(0,i.Z)(ws,2),gs=ka[0],Zn=ka[1],qa=gs.has("click"),Ha=Zn.has("click")||Zn.has("contextMenu"),Ss=(0,x.Z)(function(){tt||ds()}),Bi=function(){rt.current&&St&&Ha&&Tr(!1)};Pt(tr,vi,Jn,Ss,Bi),(0,y.Z)(function(){Ss()},[mn,ke]),(0,y.Z)(function(){tr&&!(xe!=null&&xe[ke])&&Ss()},[JSON.stringify(Ke)]);var hs=b.useMemo(function(){var li=le(xe,ye,oa,St);return o()(li,Be==null?void 0:Be(oa))},[oa,Be,xe,ye,St]);b.useImperativeHandle(et,function(){return{nativeElement:Yi.current,forceAlign:Ss}});var Ao=b.useState(0),Pa=(0,i.Z)(Ao,2),ta=Pa[0],Ma=Pa[1],Hs=b.useState(0),On=(0,i.Z)(Hs,2),Ra=On[0],is=On[1],as=function(){if(Lt&&vi){var si=vi.getBoundingClientRect();Ma(si.width),is(si.height)}},Li=function(){as(),Ss()},Da=function(si){Ee(!1),ds(),Oe==null||Oe(si)},Ca=function(){return new Promise(function(si){as(),br(function(){return si})})};(0,y.Z)(function(){Pr&&(ds(),Pr(),br(null))},[Pr]);function ls(li,si,Fa,Wa){lt[li]=function(Ga){var Gs;Wa==null||Wa(Ga),Tr(si,Fa);for(var Vs=arguments.length,Yo=new Array(Vs>1?Vs-1:0),cs=1;cs<Vs;cs++)Yo[cs-1]=arguments[cs];(Gs=Et[li])===null||Gs===void 0||Gs.call.apply(Gs,[Et,Ga].concat(Yo))}}(qa||Ha)&&(lt.onClick=function(li){var si;rt.current&&Ha?Tr(!1):!rt.current&&qa&&(un(li),Tr(!0));for(var Fa=arguments.length,Wa=new Array(Fa>1?Fa-1:0),Ga=1;Ga<Fa;Ga++)Wa[Ga-1]=arguments[Ga];(si=Et.onClick)===null||si===void 0||si.call.apply(si,[Et,li].concat(Wa))}),qt(tr,Ha,vi,Jn,At,We,Qn,Tr);var Ws=gs.has("hover"),bo=Zn.has("hover"),Co,To;Ws&&(ls("onMouseEnter",!0,Je,function(li){un(li)}),ls("onPointerEnter",!0,Je,function(li){un(li)}),Co=function(si){(tr||tt)&&Jn!==null&&Jn!==void 0&&Jn.contains(si.target)&&Tr(!0,Je)},St&&(lt.onMouseMove=function(li){var si;(si=Et.onMouseMove)===null||si===void 0||si.call(Et,li)})),bo&&(ls("onMouseLeave",!1,kt),ls("onPointerLeave",!1,kt),To=function(){Tr(!1,kt)}),gs.has("focus")&&ls("onFocus",!0,Zt),Zn.has("focus")&&ls("onBlur",!1,Bt),gs.has("contextMenu")&&(lt.onContextMenu=function(li){var si;rt.current&&Zn.has("contextMenu")?Tr(!1):(un(li),Tr(!0)),li.preventDefault();for(var Fa=arguments.length,Wa=new Array(Fa>1?Fa-1:0),Ga=1;Ga<Fa;Ga++)Wa[Ga-1]=arguments[Ga];(si=Et.onContextMenu)===null||si===void 0||si.call.apply(si,[Et,li].concat(Wa))}),Mt&&(lt.className=o()(Et.className,Mt));var ga=(0,r.Z)((0,r.Z)({},Et),lt),Ka={},uo=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];uo.forEach(function(li){yt[li]&&(Ka[li]=function(){for(var si,Fa=arguments.length,Wa=new Array(Fa),Ga=0;Ga<Fa;Ga++)Wa[Ga]=arguments[Ga];(si=ga[li])===null||si===void 0||si.call.apply(si,[ga].concat(Wa)),yt[li].apply(yt,Wa)})});var ho=b.cloneElement(Vi,(0,r.Z)((0,r.Z)({},ga),Ka)),Po={x:ai,y:Mi},xo=Sr?(0,r.Z)({},Sr!==!0?Sr:{}):null;return b.createElement(b.Fragment,null,b.createElement(h.Z,{disabled:!tr,ref:Xn,onResize:Li},b.createElement(W,{getTriggerDOMNode:vt},ho)),b.createElement(ae.Provider,{value:_r},b.createElement(K,{portal:ot,ref:Ui,prefixCls:ye,popup:dt,className:o()(zt,hs),style:Ct,target:vi,onMouseEnter:Co,onMouseLeave:To,onPointerEnter:Co,zIndex:gt,open:tr,keepDom:tt,fresh:Dr,onClick:Gr,mask:At,motion:xi,maskMotion:qn,onVisibleChanged:Da,onPrepare:Ca,forceRender:_e,autoDestroy:Nt,getPopupContainer:fe,align:oa,arrow:xo,arrowPos:Po,ready:wn,offsetX:fa,offsetY:Ci,offsetR:fi,offsetB:hn,onAlign:Ss,stretch:Lt,targetWidth:ta/sa,targetHeight:Ra/Es})))});return bt}var Ut=It(c.Z)},50304:function(){"use strict"},26278:function(d,g){"use strict";g.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},34604:function(d,g){"use strict";function e(i){const l={},c={channels:l,subscribe:function(f,o){return l[f]||(l[f]=[]),l[f].push(o),this.unsubscribe.bind(null,f,o)},unsubscribe:function(f,o){console.log(f,"channel");let h=l[f],u=-1;if(h){for(let a=0;a<h.length;a++)if(h[a].name===o.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 o=Array.prototype.slice.call(arguments,1);return l[f].forEach(h=>{h.apply(null,o)}),this}};return i?Object.assign(i,c):c}const r=new e;g.Z=r},29413:function(d,g,e){"use strict";e.d(g,{zt:function(){return ra},$j:function(){return da},Ue:function(){return Ws},I0:function(){return Fo},v9:function(){return Do}});var r={};e.r(r),e.d(r,{actionChannel:function(){return sr},all:function(){return Be},apply:function(){return Xr},call:function(){return Gr},cancel:function(){return nn},cancelled:function(){return Mt},cps:function(){return Sr},flush:function(){return vt},fork:function(){return Mr},getContext:function(){return yt},join:function(){return $r},put:function(){return Lt},race:function(){return Dr},select:function(){return on},setContext:function(){return Nt},spawn:function(){return pr},take:function(){return Ke},takeEvery:function(){return mt},takeLatest:function(){return rt},takem:function(){return gt},throttle:function(){return Dt}});var i=e(59301),l=e(39564),c=e(59781),f=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Rt=arguments[Qe];for(var Vt in Rt)Object.prototype.hasOwnProperty.call(Rt,Vt)&&(Ye[Vt]=Rt[Vt])}return Ye},o=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}},A=b(!0),R=null,L=function(){},P=function(Qe){return Qe};function D(Ye,Qe,Rt){if(!Qe(Ye))throw ie("error","uncaught at check",Rt),new Error(Rt)}var B=Object.prototype.hasOwnProperty;function $(Ye,Qe){return j.notUndef(Ye)&&B.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":o(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":o(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)&&$(Qe,"toString")}},K={assign:function(Qe,Rt){for(var Vt in Rt)$(Rt,Vt)&&(Qe[Vt]=Rt[Vt])}};function V(Ye,Qe){var Rt=Ye.indexOf(Qe);Rt>=0&&Ye.splice(Rt,1)}var W={from:function(Qe){var Rt=Array(Qe.length);for(var Vt in Qe)$(Qe,Vt)&&(Rt[Vt]=Qe[Vt]);return Rt}};function oe(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=f({},Ye),Rt=new Promise(function(Vt,dr){Qe.resolve=Vt,Qe.reject=dr});return Qe.promise=Rt,Qe}function ae(Ye){for(var Qe=[],Rt=0;Rt<Ye;Rt++)Qe.push(oe());return Qe}function ce(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Rt=void 0,Vt=new Promise(function(dr){Rt=setTimeout(function(){return dr(Qe)},Ye)});return Vt[p]=function(){return clearTimeout(Rt)},Vt}function q(){var Ye,Qe=!0,Rt=void 0,Vt=void 0;return Ye={},Ye[u]=!0,Ye.isRunning=function(){return Qe},Ye.result=function(){return Rt},Ye.error=function(){return Vt},Ye.setRunning=function(kr){return Qe=kr},Ye.setResult=function(kr){return Rt=kr},Ye.setError=function(kr){return Vt=kr},Ye}function J(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Ye}}var Y=J(),le=function(Qe){throw Qe},ne=function(Qe){return{value:Qe,done:!0}};function ee(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le,Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Vt=arguments[3],dr={name:Rt,next:Ye,throw:Qe,return:ne};return Vt&&(dr[a]=!0),typeof Symbol!="undefined"&&(dr[Symbol.iterator]=function(){return dr}),dr}function ie(Ye,Qe){var Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Ye+": "+Qe+`
|
|
|
`+(Rt&&Rt.stack||Rt)):console[Ye](Qe,Rt)}function F(Ye,Qe){return function(){return Ye.apply(void 0,arguments)}}var M=function(Qe,Rt){return Qe+" has been deprecated in favor of "+Rt+", please update your code"},Q=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+`
|
|
|
`)},de=function(Qe,Rt){return(Qe?Qe+".":"")+"setContext(props): argument "+Rt+" is not a plain object"},Se=function(Qe){return function(Rt){return Qe(Object.defineProperty(Rt,y,{value:!0}))}},Ie=function Ye(Qe){return function(){for(var Rt=arguments.length,Vt=Array(Rt),dr=0;dr<Rt;dr++)Vt[dr]=arguments[dr];var kr=[],jr=Qe.apply(void 0,Vt);return{next:function(en){return kr.push(en),jr.next(en)},clone:function(){var en=Ye(Qe).apply(void 0,Vt);return kr.forEach(function(gn){return en.next(gn)}),en},return:function(en){return jr.return(en)},throw:function(en){return jr.throw(en)}}}},je="Channel's Buffer overflow!",Fe=1,Ft=2,_t=3,Pt=4,Qt={isEmpty:A,put:L,take:L};function Jt(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Qe=arguments[1],Rt=new Array(Ye),Vt=0,dr=0,kr=0,jr=function(Wn){Rt[dr]=Wn,dr=(dr+1)%Ye,Vt++},pn=function(){if(Vt!=0){var Wn=Rt[kr];return Rt[kr]=null,Vt--,kr=(kr+1)%Ye,Wn}},en=function(){for(var Wn=[];Vt;)Wn.push(pn());return Wn};return{isEmpty:function(){return Vt==0},put:function(Wn){if(Vt<Ye)jr(Wn);else{var ti=void 0;switch(Qe){case Fe:throw new Error(je);case _t:Rt[dr]=Wn,dr=(dr+1)%Ye,kr=dr;break;case Pt:ti=2*Ye,Rt=en(),Vt=Rt.length,dr=Rt.length,kr=0,Rt.length=ti,Ye=ti,jr(Wn);break;default:}}},take:pn,flush:en}}var qt={none:function(){return Qt},fixed:function(Qe){return Jt(Qe,Fe)},dropping:function(Qe){return Jt(Qe,Ft)},sliding:function(Qe){return Jt(Qe,_t)},expanding:function(Qe){return Jt(Qe,Pt)}},Xe=[],It=0;function Ut(Ye){try{bt(),Ye()}finally{ht()}}function ot(Ye){Xe.push(Ye),It||(bt(),et())}function bt(){It++}function ht(){It--}function et(){ht();for(var Ye=void 0;!It&&(Ye=Xe.shift())!==void 0;)Ut(Ye)}var Ue=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Rt=arguments[Qe];for(var Vt in Rt)Object.prototype.hasOwnProperty.call(Rt,Vt)&&(Ye[Vt]=Rt[Vt])}return Ye},ye="@@redux-saga/CHANNEL_END",Pe={type:ye},Me=function(Qe){return Qe&&Qe.type===ye};function $e(){var Ye=[];function Qe(Vt){return Ye.push(Vt),function(){return V(Ye,Vt)}}function Rt(Vt){for(var dr=Ye.slice(),kr=0,jr=dr.length;kr<jr;kr++)dr[kr](Vt)}return{subscribe:Qe,emit:Rt}}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]:qt.fixed(),Qe=!1,Rt=[];D(Ye,j.buffer,He);function Vt(){if(Qe&&Rt.length)throw Q("Cannot have a closed channel with pending takers");if(Rt.length&&!Ye.isEmpty())throw Q("Cannot have pending takers with non empty buffer")}function dr(en){if(Vt(),D(en,j.notUndef,nt),!Qe){if(!Rt.length)return Ye.put(en);for(var gn=0;gn<Rt.length;gn++){var Wn=Rt[gn];if(!Wn[x]||Wn[x](en))return Rt.splice(gn,1),Wn(en)}}}function kr(en){Vt(),D(en,j.func,"channel.take's callback must be a function"),Qe&&Ye.isEmpty()?en(Pe):Ye.isEmpty()?(Rt.push(en),en.cancel=function(){return V(Rt,en)}):en(Ye.take())}function jr(en){if(Vt(),D(en,j.func,"channel.flush' callback must be a function"),Qe&&Ye.isEmpty()){en(Pe);return}en(Ye.flush())}function pn(){if(Vt(),!Qe&&(Qe=!0,Rt.length)){var en=Rt;Rt=[];for(var gn=0,Wn=en.length;gn<Wn;gn++)en[gn](Pe)}}return{take:kr,put:dr,flush:jr,close:pn,get __takers__(){return Rt},get __closed__(){return Qe}}}function Gt(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qt.none(),Rt=arguments[2];arguments.length>2&&D(Rt,j.func,"Invalid match function passed to eventChannel");var Vt=ct(Qe),dr=function(){Vt.__closed__||(kr&&kr(),Vt.close())},kr=Ye(function(jr){if(Me(jr)){dr();return}Rt&&!Rt(jr)||Vt.put(jr)});if(Vt.__closed__&&kr(),!j.func(kr))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Vt.take,flush:Vt.flush,close:dr}}function Ht(Ye){var Qe=Gt(function(Rt){return Ye(function(Vt){if(Vt[y]){Rt(Vt);return}ot(function(){return Rt(Vt)})})});return Ue({},Qe,{take:function(Vt,dr){arguments.length>1&&(D(dr,j.func,"channel.take's matcher argument must be a function"),Vt[x]=dr),Qe.take(Vt)}})}var Oe=h("IO"),Je="TAKE",Wt="PUT",kt="ALL",Zt="RACE",Bt="CALL",At="CPS",Kt="FORK",We="JOIN",fe="CANCEL",_e="SELECT",Ot="ACTION_CHANNEL",De="CANCELLED",dt="FLUSH",zt="GET_CONTEXT",Ct="SET_CONTEXT",ke=`
|
|
|
(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,wt=function(Qe,Rt){var Vt;return Vt={},Vt[Oe]=!0,Vt[Qe]=Rt,Vt},xe=function(Qe){return D(vr.fork(Qe),j.object,"detach(eff): argument must be a fork effect"),Qe[Kt].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 wt(Je,{pattern:Ye});if(j.channel(Ye))return wt(Je,{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[Je].maybe=!0,Ye};var gt=F(Ke.maybe,M("takem","take.maybe"));function Lt(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),wt(Wt,{channel:Ye,action:Qe})}Lt.resolve=function(){var Ye=Lt.apply(void 0,arguments);return Ye[Wt].resolve=!0,Ye},Lt.sync=F(Lt.resolve,M("put.sync","put.resolve"));function Be(Ye){return wt(kt,Ye)}function Dr(Ye){return wt(Zt,Ye)}function St(Ye,Qe,Rt){D(Qe,j.notUndef,Ye+": argument fn is undefined");var Vt=null;if(j.array(Qe)){var dr=Qe;Vt=dr[0],Qe=dr[1]}else if(Qe.fn){var kr=Qe;Vt=kr.context,Qe=kr.fn}return Vt&&j.string(Qe)&&j.func(Vt[Qe])&&(Qe=Vt[Qe]),D(Qe,j.func,Ye+": argument "+Qe+" is not a function"),{context:Vt,fn:Qe,args:Rt}}function Gr(Ye){for(var Qe=arguments.length,Rt=Array(Qe>1?Qe-1:0),Vt=1;Vt<Qe;Vt++)Rt[Vt-1]=arguments[Vt];return wt(Bt,St("call",Ye,Rt))}function Xr(Ye,Qe){var Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return wt(Bt,St("apply",{context:Ye,fn:Qe},Rt))}function Sr(Ye){for(var Qe=arguments.length,Rt=Array(Qe>1?Qe-1:0),Vt=1;Vt<Qe;Vt++)Rt[Vt-1]=arguments[Vt];return wt(At,St("cps",Ye,Rt))}function Mr(Ye){for(var Qe=arguments.length,Rt=Array(Qe>1?Qe-1:0),Vt=1;Vt<Qe;Vt++)Rt[Vt-1]=arguments[Vt];return wt(Kt,St("fork",Ye,Rt))}function pr(Ye){for(var Qe=arguments.length,Rt=Array(Qe>1?Qe-1:0),Vt=1;Vt<Qe;Vt++)Rt[Vt-1]=arguments[Vt];return xe(Mr.apply(void 0,[Ye].concat(Rt)))}function $r(){for(var Ye=arguments.length,Qe=Array(Ye),Rt=0;Rt<Ye;Rt++)Qe[Rt]=arguments[Rt];if(Qe.length>1)return Be(Qe.map(function(dr){return $r(dr)}));var Vt=Qe[0];return D(Vt,j.notUndef,"join(task): argument task is undefined"),D(Vt,j.task,"join(task): argument "+Vt+" is not a valid Task object "+ke),wt(We,Vt)}function nn(){for(var Ye=arguments.length,Qe=Array(Ye),Rt=0;Rt<Ye;Rt++)Qe[Rt]=arguments[Rt];if(Qe.length>1)return Be(Qe.map(function(dr){return nn(dr)}));var Vt=Qe[0];return Qe.length===1&&(D(Vt,j.notUndef,"cancel(task): argument task is undefined"),D(Vt,j.task,"cancel(task): argument "+Vt+" is not a valid Task object "+ke)),wt(fe,Vt||_)}function on(Ye){for(var Qe=arguments.length,Rt=Array(Qe>1?Qe-1:0),Vt=1;Vt<Qe;Vt++)Rt[Vt-1]=arguments[Vt];return arguments.length===0?Ye=P:(D(Ye,j.notUndef,"select(selector,[...]): argument selector is undefined"),D(Ye,j.func,"select(selector,[...]): argument "+Ye+" is not a function")),wt(_e,{selector:Ye,args:Rt})}function sr(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")),wt(Ot,{pattern:Ye,buffer:Qe})}function Mt(){return wt(De,{})}function vt(Ye){return D(Ye,j.channel,"flush(channel): argument "+Ye+" is not valid channel"),wt(dt,Ye)}function yt(Ye){return D(Ye,j.string,"getContext(prop): argument "+Ye+" is not a string"),wt(zt,Ye)}function Nt(Ye){return D(Ye,j.object,de(null,Ye)),wt(Ct,Ye)}var Cr=function(Qe){return function(Rt){return Rt&&Rt[Oe]&&Rt[Qe]}},vr={take:Cr(Je),put:Cr(Wt),all:Cr(kt),race:Cr(Zt),call:Cr(Bt),cps:Cr(At),fork:Cr(Kt),join:Cr(We),cancel:Cr(fe),select:Cr(_e),actionChannel:Cr(Ot),cancelled:Cr(De),flush:Cr(dt),getContext:Cr(zt),setContext:Cr(Ct)},ut=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Rt=arguments[Qe];for(var Vt in Rt)Object.prototype.hasOwnProperty.call(Rt,Vt)&&(Ye[Vt]=Rt[Vt])}return Ye},Rr=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 _n(Ye,Qe){for(var Rt in Qe){var Vt=Qe[Rt];Vt.configurable=Vt.enumerable=!0,"value"in Vt&&(Vt.writable=!0),Object.defineProperty(Ye,Rt,Vt)}return Ye}var Un="proc first argument (Saga function result) must be an iterator",_r={toString:function(){return"@@redux-saga/CHANNEL_END"}},Jr={toString:function(){return"@@redux-saga/TASK_CANCEL"}},dn={wildcard:function(){return A},default:function(Qe){return(typeof Qe=="undefined"?"undefined":Rr(Qe))==="symbol"?function(Rt){return Rt.type===Qe}:function(Rt){return Rt.type===String(Qe)}},array:function(Qe){return function(Rt){return Qe.some(function(Vt){return Mn(Vt)(Rt)})}},predicate:function(Qe){return function(Rt){return Qe(Rt)}}};function Mn(Ye){return(Ye==="*"?dn.wildcard:j.array(Ye)?dn.array:j.stringableFunc(Ye)?dn.default:j.func(Ye)?dn.predicate:dn.default)(Ye)}function Jn(Ye,Qe,Rt){var Vt=[],dr=void 0,kr=!1;pn(Qe);function jr(gn){en(),Rt(gn,!0)}function pn(gn){Vt.push(gn),gn.cont=function(Wn,ti){kr||(V(Vt,gn),gn.cont=L,ti?jr(Wn):(gn===Qe&&(dr=Wn),Vt.length||(kr=!0,Rt(dr))))}}function en(){kr||(kr=!0,Vt.forEach(function(gn){gn.cont=L,gn.cancel()}),Vt=[])}return{addTask:pn,cancelAll:en,abort:jr,getTasks:function(){return Vt},taskNames:function(){return Vt.map(function(Wn){return Wn.name})}}}function Nn(Ye){var Qe=Ye.context,Rt=Ye.fn,Vt=Ye.args;if(j.iterator(Rt))return Rt;var dr=void 0,kr=void 0;try{dr=Rt.apply(Qe,Vt)}catch(jr){kr=jr}return j.iterator(dr)?dr:ee(kr?function(){throw kr}:function(){var jr=void 0,pn={done:!1,value:dr},en=function(Wn){return{done:!0,value:Wn}};return function(gn){return jr?en(gn):(jr=!0,pn)}}())}var Ui=function(Qe){return{fn:Qe}};function mi(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return L},Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:L,Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:L,dr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},kr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},jr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,pn=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",en=arguments[8];D(Ye,j.iterator,Un);var gn="[...effects]",Wn=F(js,M(gn,"all("+gn+")")),ti=kr.sagaMonitor,gi=kr.logger,wi=kr.onError,Ni=gi||ie,Fi=function(Yr){var Sn=Yr.sagaStack;!Sn&&Yr.stack&&(Sn=Yr.stack.split(`
|
|
|
`)[0].indexOf(Yr.message)!==-1?Yr.stack:"Error: "+Yr.message+`
|
|
|
`+Yr.stack),Ni("error","uncaught at "+pn,Sn||Yr.message||Yr)},yi=Ht(Qe),pa=Object.create(dr);Zi.cancel=L;var Pi=Qr(jr,pn,Ye,en),pi={name:pn,cancel:Ys,isRunning:!0},ua=Jn(pn,pi,Oa);function Ys(){pi.isRunning&&!pi.isCancelled&&(pi.isCancelled=!0,Zi(Jr))}function _s(){Ye._isRunning&&!Ye._isCancelled&&(Ye._isCancelled=!0,ua.cancelAll(),Oa(Jr))}return en&&(en.cancel=_s),Ye._isRunning=!0,Zi(),Pi;function Zi(gr,Yr){if(!pi.isRunning)throw new Error("Trying to resume an already finished generator");try{var Sn=void 0;Yr?Sn=Ye.throw(gr):gr===Jr?(pi.isCancelled=!0,Zi.cancel(),Sn=j.func(Ye.return)?Ye.return(Jr):{done:!0,value:Jr}):gr===_r?Sn=j.func(Ye.return)?Ye.return():{done:!0}:Sn=Ye.next(gr),Sn.done?(pi.isMainRunning=!1,pi.cont&&pi.cont(Sn.value)):qi(Sn.value,jr,"",Zi)}catch(ei){pi.isCancelled&&Fi(ei),pi.isMainRunning=!1,pi.cont(ei,!0)}}function Oa(gr,Yr){Ye._isRunning=!1,yi.close(),Yr?(gr instanceof Error&&Object.defineProperty(gr,"sagaStack",{value:"at "+pn+`
|
|
|
`+(gr.sagaStack||gr.stack),configurable:!0}),Pi.cont||(gr instanceof Error&&wi?wi(gr):Fi(gr)),Ye._error=gr,Ye._isAborted=!0,Ye._deferredEnd&&Ye._deferredEnd.reject(gr)):(Ye._result=gr,Ye._deferredEnd&&Ye._deferredEnd.resolve(gr)),Pi.cont&&Pi.cont(gr,Yr),Pi.joiners.forEach(function(Sn){return Sn.cb(gr,Yr)}),Pi.joiners=null}function qi(gr,Yr){var Sn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",ei=arguments[3],Oi=Y();ti&&ti.effectTriggered({effectId:Oi,parentEffectId:Yr,label:Sn,effect:gr});var In=void 0;function Tn(la,$i){In||(In=!0,ei.cancel=L,ti&&($i?ti.effectRejected(Oi,la):ti.effectResolved(Oi,la)),ei(la,$i))}Tn.cancel=L,ei.cancel=function(){if(!In){In=!0;try{Tn.cancel()}catch(la){Fi(la)}Tn.cancel=L,ti&&ti.effectCancelled(Oi)}};var Fn=void 0;return j.promise(gr)?Ii(gr,Tn):j.helper(gr)?co(Ui(gr),Oi,Tn):j.iterator(gr)?ya(gr,Oi,pn,Tn):j.array(gr)?Wn(gr,Oi,Tn):(Fn=vr.take(gr))?$a(Fn,Tn):(Fn=vr.put(gr))?Va(Fn,Tn):(Fn=vr.all(gr))?js(Fn,Oi,Tn):(Fn=vr.race(gr))?na(Fn,Oi,Tn):(Fn=vr.call(gr))?io(Fn,Oi,Tn):(Fn=vr.cps(gr))?Ya(Fn,Tn):(Fn=vr.fork(gr))?co(Fn,Oi,Tn):(Fn=vr.join(gr))?La(Fn,Tn):(Fn=vr.cancel(gr))?Xs(Fn,Tn):(Fn=vr.select(gr))?ja(Fn,Tn):(Fn=vr.actionChannel(gr))?ys(Fn,Tn):(Fn=vr.flush(gr))?be(Fn,Tn):(Fn=vr.cancelled(gr))?Hi(Fn,Tn):(Fn=vr.getContext(gr))?Ce(Fn,Tn):(Fn=vr.setContext(gr))?wr(Fn,Tn):Tn(gr)}function Ii(gr,Yr){var Sn=gr[p];j.func(Sn)?Yr.cancel=Sn:j.func(gr.abort)&&(Yr.cancel=function(){return gr.abort()}),gr.then(Yr,function(ei){return Yr(ei,!0)})}function ya(gr,Yr,Sn,ei){mi(gr,Qe,Rt,Vt,pa,kr,Yr,Sn,ei)}function $a(gr,Yr){var Sn=gr.channel,ei=gr.pattern,Oi=gr.maybe;Sn=Sn||yi;var In=function(Fn){return Fn instanceof Error?Yr(Fn,!0):Me(Fn)&&!Oi?Yr(_r):Yr(Fn)};try{Sn.take(In,Mn(ei))}catch(Tn){return Yr(Tn,!0)}Yr.cancel=In.cancel}function Va(gr,Yr){var Sn=gr.channel,ei=gr.action,Oi=gr.resolve;ot(function(){var In=void 0;try{In=(Sn?Sn.put:Rt)(ei)}catch(Tn){if(Sn||Oi)return Yr(Tn,!0);Fi(Tn)}if(Oi&&j.promise(In))Ii(In,Yr);else return Yr(In)})}function io(gr,Yr,Sn){var ei=gr.context,Oi=gr.fn,In=gr.args,Tn=void 0;try{Tn=Oi.apply(ei,In)}catch(Fn){return Sn(Fn,!0)}return j.promise(Tn)?Ii(Tn,Sn):j.iterator(Tn)?ya(Tn,Yr,Oi.name,Sn):Sn(Tn)}function Ya(gr,Yr){var Sn=gr.context,ei=gr.fn,Oi=gr.args;try{var In=function(Fn,la){return j.undef(Fn)?Yr(la):Yr(Fn,!0)};ei.apply(Sn,Oi.concat(In)),In.cancel&&(Yr.cancel=function(){return In.cancel()})}catch(Tn){return Yr(Tn,!0)}}function co(gr,Yr,Sn){var ei=gr.context,Oi=gr.fn,In=gr.args,Tn=gr.detached,Fn=Nn({context:ei,fn:Oi,args:In});try{bt();var la=mi(Fn,Qe,Rt,Vt,pa,kr,Yr,Oi.name,Tn?null:L);Tn?Sn(la):Fn._isRunning?(ua.addTask(la),Sn(la)):Fn._error?ua.abort(Fn._error):Sn(la)}finally{et()}}function La(gr,Yr){if(gr.isRunning()){var Sn={task:Pi,cb:Yr};Yr.cancel=function(){return V(gr.joiners,Sn)},gr.joiners.push(Sn)}else gr.isAborted()?Yr(gr.error(),!0):Yr(gr.result())}function Xs(gr,Yr){gr===_&&(gr=Pi),gr.isRunning()&&gr.cancel(),Yr()}function js(gr,Yr,Sn){var ei=Object.keys(gr);if(!ei.length)return Sn(j.array(gr)?[]:{});var Oi=0,In=void 0,Tn={},Fn={};function la(){Oi===ei.length&&(In=!0,Sn(j.array(gr)?W.from(ut({},Tn,{length:ei.length})):Tn))}ei.forEach(function($i){var po=function(tu,tl){In||(tl||Me(tu)||tu===_r||tu===Jr?(Sn.cancel(),Sn(tu,tl)):(Tn[$i]=tu,Oi++,la()))};po.cancel=L,Fn[$i]=po}),Sn.cancel=function(){In||(In=!0,ei.forEach(function($i){return Fn[$i].cancel()}))},ei.forEach(function($i){return qi(gr[$i],Yr,$i,Fn[$i])})}function na(gr,Yr,Sn){var ei=void 0,Oi=Object.keys(gr),In={};Oi.forEach(function(Tn){var Fn=function($i,po){if(!ei){if(po)Sn.cancel(),Sn($i,!0);else if(!Me($i)&&$i!==_r&&$i!==Jr){var Qs;Sn.cancel(),ei=!0;var tu=(Qs={},Qs[Tn]=$i,Qs);Sn(j.array(gr)?[].slice.call(ut({},tu,{length:Oi.length})):tu)}}};Fn.cancel=L,In[Tn]=Fn}),Sn.cancel=function(){ei||(ei=!0,Oi.forEach(function(Tn){return In[Tn].cancel()}))},Oi.forEach(function(Tn){ei||qi(gr[Tn],Yr,Tn,In[Tn])})}function ja(gr,Yr){var Sn=gr.selector,ei=gr.args;try{var Oi=Sn.apply(void 0,[Vt()].concat(ei));Yr(Oi)}catch(In){Yr(In,!0)}}function ys(gr,Yr){var Sn=gr.pattern,ei=gr.buffer,Oi=Mn(Sn);Oi.pattern=Sn,Yr(Gt(Qe,ei||qt.fixed(),Oi))}function Hi(gr,Yr){Yr(!!pi.isCancelled)}function be(gr,Yr){gr.flush(Yr)}function Ce(gr,Yr){Yr(pa[gr])}function wr(gr,Yr){K.assign(pa,gr),Yr()}function Qr(gr,Yr,Sn,ei){var Oi,In,Tn;return Sn._deferredEnd=null,In={},In[u]=!0,In.id=gr,In.name=Yr,Oi="done",Tn={},Tn[Oi]=Tn[Oi]||{},Tn[Oi].get=function(){if(Sn._deferredEnd)return Sn._deferredEnd.promise;var Fn=oe();return Sn._deferredEnd=Fn,Sn._isRunning||(Sn._error?Fn.reject(Sn._error):Fn.resolve(Sn._result)),Fn.promise},In.cont=ei,In.joiners=[],In.cancel=_s,In.isRunning=function(){return Sn._isRunning},In.isCancelled=function(){return Sn._isCancelled},In.isAborted=function(){return Sn._isAborted},In.result=function(){return Sn._result},In.error=function(){return Sn._error},In.setContext=function(la){D(la,j.object,de("task",la)),K.assign(pa,la)},_n(In,Tn),In}}var bi="runSaga(storeInterface, saga, ...args)",vi=bi+": saga argument must be a Generator function!";function di(Ye,Qe){for(var Rt=arguments.length,Vt=Array(Rt>2?Rt-2:0),dr=2;dr<Rt;dr++)Vt[dr-2]=arguments[dr];var kr=void 0;j.iterator(Ye)?(kr=Ye,Ye=Qe):(D(Qe,j.func,vi),kr=Qe.apply(void 0,Vt),D(kr,j.iterator,vi));var jr=Ye,pn=jr.subscribe,en=jr.dispatch,gn=jr.getState,Wn=jr.context,ti=jr.sagaMonitor,gi=jr.logger,wi=jr.onError,Ni=Y();ti&&(ti.effectTriggered=ti.effectTriggered||L,ti.effectResolved=ti.effectResolved||L,ti.effectRejected=ti.effectRejected||L,ti.effectCancelled=ti.effectCancelled||L,ti.actionDispatched=ti.actionDispatched||L,ti.effectTriggered({effectId:Ni,root:!0,parentEffectId:0,effect:{root:!0,saga:Qe,args:Vt}}));var Fi=mi(kr,pn,Se(en),gn,Wn,{sagaMonitor:ti,logger:gi,onError:wi},Ni,Qe.name);return ti&&ti.effectResolved(Ni,Fi),Fi}function Yi(Ye,Qe){var Rt={};for(var Vt in Ye)Qe.indexOf(Vt)>=0||Object.prototype.hasOwnProperty.call(Ye,Vt)&&(Rt[Vt]=Ye[Vt]);return Rt}function Xn(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=Ye.context,Rt=Qe===void 0?{}:Qe,Vt=Yi(Ye,["context"]),dr=Vt.sagaMonitor,kr=Vt.logger,jr=Vt.onError;if(j.func(Vt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(kr&&!j.func(kr))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(Vt.emitter&&!j.func(Vt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function pn(en){var gn=en.getState,Wn=en.dispatch,ti=$e();return ti.emit=(Vt.emitter||P)(ti.emit),pn.run=di.bind(null,{context:Rt,subscribe:ti.subscribe,dispatch:Wn,getState:gn,sagaMonitor:dr,logger:kr,onError:jr}),function(gi){return function(wi){dr&&dr.actionDispatched&&dr.actionDispatched(wi);var Ni=gi(wi);return ti.emit(wi),Ni}}}return pn.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},pn.setContext=function(en){D(en,j.object,de("sagaMiddleware",en)),K.assign(Rt,en)},pn}var Vi={done:!0,value:void 0},Et={};function lt(Ye){return j.channel(Ye)?"channel":Array.isArray(Ye)?String(Ye.map(function(Qe){return String(Qe)})):String(Ye)}function Qn(Ye,Qe){var Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Vt=void 0,dr=Qe;function kr(jr,pn){if(dr===Et)return Vi;if(pn)throw dr=Et,pn;Vt&&Vt(jr);var en=Ye[dr](),gn=en[0],Wn=en[1],ti=en[2];return dr=gn,Vt=ti,dr===Et?Vi:Wn}return ee(kr,function(jr){return kr(null,jr)},Rt,!0)}function xi(Ye,Qe){for(var Rt=arguments.length,Vt=Array(Rt>2?Rt-2:0),dr=2;dr<Rt;dr++)Vt[dr-2]=arguments[dr];var kr={done:!1,value:Ke(Ye)},jr=function(Wn){return{done:!1,value:Mr.apply(void 0,[Qe].concat(Vt,[Wn]))}},pn=void 0,en=function(Wn){return pn=Wn};return Qn({q1:function(){return["q2",kr,en]},q2:function(){return pn===Pe?[Et]:["q1",jr(pn)]}},"q1","takeEvery("+lt(Ye)+", "+Qe.name+")")}function qn(Ye,Qe){for(var Rt=arguments.length,Vt=Array(Rt>2?Rt-2:0),dr=2;dr<Rt;dr++)Vt[dr-2]=arguments[dr];var kr={done:!1,value:Ke(Ye)},jr=function(wi){return{done:!1,value:Mr.apply(void 0,[Qe].concat(Vt,[wi]))}},pn=function(wi){return{done:!1,value:nn(wi)}},en=void 0,gn=void 0,Wn=function(wi){return en=wi},ti=function(wi){return gn=wi};return Qn({q1:function(){return["q2",kr,ti]},q2:function(){return gn===Pe?[Et]:en?["q3",pn(en)]:["q1",jr(gn),Wn]},q3:function(){return["q1",jr(gn),Wn]}},"q1","takeLatest("+lt(Ye)+", "+Qe.name+")")}function Wi(Ye,Qe,Rt){for(var Vt=arguments.length,dr=Array(Vt>3?Vt-3:0),kr=3;kr<Vt;kr++)dr[kr-3]=arguments[kr];var jr=void 0,pn=void 0,en={done:!1,value:sr(Qe,qt.sliding(1))},gn=function(){return{done:!1,value:Ke(pn)}},Wn=function(Fi){return{done:!1,value:Mr.apply(void 0,[Rt].concat(dr,[Fi]))}},ti={done:!1,value:Gr(ce,Ye)},gi=function(Fi){return jr=Fi},wi=function(Fi){return pn=Fi};return Qn({q1:function(){return["q2",en,wi]},q2:function(){return["q3",gn(),gi]},q3:function(){return jr===Pe?[Et]:["q4",Wn(jr)]},q4:function(){return["q2",ti]}},"q1","throttle("+lt(Qe)+", "+Rt.name+")")}var hi=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."},ni=null,bn=null,tr=null;function mt(Ye,Qe){for(var Rt=arguments.length,Vt=Array(Rt>2?Rt-2:0),dr=2;dr<Rt;dr++)Vt[dr-2]=arguments[dr];return Mr.apply(void 0,[xi,Ye,Qe].concat(Vt))}function rt(Ye,Qe){for(var Rt=arguments.length,Vt=Array(Rt>2?Rt-2:0),dr=2;dr<Rt;dr++)Vt[dr-2]=arguments[dr];return Mr.apply(void 0,[qn,Ye,Qe].concat(Vt))}function Dt(Ye,Qe,Rt){for(var Vt=arguments.length,dr=Array(Vt>3?Vt-3:0),kr=3;kr<Vt;kr++)dr[kr-3]=arguments[kr];return Mr.apply(void 0,[Wi,Ye,Qe,Rt].concat(dr))}var pt=Xn,ur=e(44520),cr=e.n(ur),Tr=e(62853),Ur=e(78639),Ze=e.n(Ur),tt=e(80702),Ee=e(68413),at=e(56754),nr=e.n(at),Pr=e(96949),br=e(55090),Ir=e(89381),Br=e.n(Ir),mn=e(60288),Er=e(52487),un=e(14759),tn=e.n(un),sn=Array.isArray.bind(Array),wn=function(Qe){return typeof Qe=="function"},fa=function(Qe){return Qe},Ci=function(){},fi=function(Qe,Rt){for(var Vt=0,dr=Qe.length;Vt<dr;Vt+=1)if(Rt(Qe[Vt],Vt))return Vt;return-1},hn=Object.freeze({isPlainObject:Ze(),isArray:sn,isFunction:wn,returnSelf:fa,noop:Ci,findIndex:fi});function ai(Ye,Qe){var Rt=Ye.namespace,Vt=Ye.reducers,dr=Ye.effects,kr=Ye.subscriptions;invariant(Rt,"[app.model] namespace should be defined"),invariant(typeof Rt=="string","[app.model] namespace should be string, but got ".concat(_typeof(Rt))),invariant(!Qe.some(function(jr){return jr.namespace===Rt}),"[app.model] namespace should be unique"),Vt&&(invariant(isPlainObject(Vt)||sn(Vt),"[app.model] reducers should be plain object or array, but got ".concat(_typeof(Vt))),invariant(!sn(Vt)||isPlainObject(Vt[0])&&wn(Vt[1]),"[app.model] reducers with array should be [Object, Function]")),dr&&invariant(isPlainObject(dr),"[app.model] effects should be plain object, but got ".concat(_typeof(dr))),kr&&(invariant(isPlainObject(kr),"[app.model] subscriptions should be plain object, but got ".concat(_typeof(kr))),invariant(Mi(kr),"[app.model] subscription should be function"))}function Mi(Ye){return Object.keys(Ye).every(function(Qe){return wn(Ye[Qe])})}var sa="/";function Es(Ye,Qe,Rt){return Object.keys(Ye).reduce(function(Vt,dr){nr()(dr.indexOf("".concat(Qe).concat(sa))!==0,"[prefixNamespace]: ".concat(Rt," ").concat(dr," should not be prefixed with namespace ").concat(Qe));var kr="".concat(Qe).concat(sa).concat(dr);return Vt[kr]=Ye[dr],Vt},{})}function oa(Ye){var Qe=Ye.namespace,Rt=Ye.reducers,Vt=Ye.effects;if(Rt)if(sn(Rt)){var dr=(0,Ee.Z)(Rt),kr=dr[0],jr=dr.slice(1);Ye.reducers=[Es(kr,Qe,"reducer")].concat((0,tt.Z)(jr))}else Ye.reducers=Es(Rt,Qe,"reducer");return Vt&&(Ye.effects=Es(Vt,Qe,"effect")),Ye}var ds=["onError","onStateChange","onAction","onHmr","onReducer","onEffect","extraReducers","extraEnhancers","_handleActions"];function ws(Ye){return Object.keys(Ye).reduce(function(Qe,Rt){return ds.indexOf(Rt)>-1&&(Qe[Rt]=Ye[Rt]),Qe},{})}var ka=function(){function Ye(){(0,Pr.Z)(this,Ye),this._handleActions=null,this.hooks=ds.reduce(function(Qe,Rt){return Qe[Rt]=[],Qe},{})}return(0,br.Z)(Ye,[{key:"use",value:function(Rt){cr()(Ze()(Rt),"plugin.use: plugin should be plain object");var Vt=this.hooks;for(var dr in Rt)Object.prototype.hasOwnProperty.call(Rt,dr)&&(cr()(Vt[dr],"plugin.use: unknown plugin property: ".concat(dr)),dr==="_handleActions"?this._handleActions=Rt[dr]:dr==="extraEnhancers"?Vt[dr]=Rt[dr]:Vt[dr].push(Rt[dr]))}},{key:"apply",value:function(Rt,Vt){var dr=this.hooks,kr=["onError","onHmr"];cr()(kr.indexOf(Rt)>-1,"plugin.apply: hook ".concat(Rt," cannot be applied"));var jr=dr[Rt];return function(){if(jr.length){var pn=!0,en=!1,gn=void 0;try{for(var Wn=jr[Symbol.iterator](),ti;!(pn=(ti=Wn.next()).done);pn=!0){var gi=ti.value;gi.apply(void 0,arguments)}}catch(wi){en=!0,gn=wi}finally{try{!pn&&Wn.return!=null&&Wn.return()}finally{if(en)throw gn}}}else Vt&&Vt.apply(void 0,arguments)}}},{key:"get",value:function(Rt){var Vt=this.hooks;return cr()(Rt in Vt,"plugin.get: hook ".concat(Rt," cannot be got")),Rt==="extraReducers"?gs(Vt[Rt]):Rt==="onReducer"?Zn(Vt[Rt]):Vt[Rt]}}]),Ye}();function gs(Ye){var Qe={},Rt=!0,Vt=!1,dr=void 0;try{for(var kr=Ye[Symbol.iterator](),jr;!(Rt=(jr=kr.next()).done);Rt=!0){var pn=jr.value;Qe=(0,l.Z)({},Qe,pn)}}catch(en){Vt=!0,dr=en}finally{try{!Rt&&kr.return!=null&&kr.return()}finally{if(Vt)throw dr}}return Qe}function Zn(Ye){return function(Qe){var Rt=!0,Vt=!1,dr=void 0;try{for(var kr=Ye[Symbol.iterator](),jr;!(Rt=(jr=kr.next()).done);Rt=!0){var pn=jr.value;Qe=pn(Qe)}}catch(en){Vt=!0,dr=en}finally{try{!Rt&&kr.return!=null&&kr.return()}finally{if(Vt)throw dr}}return Qe}}function qa(Ye){var Qe=Ye.reducers,Rt=Ye.initialState,Vt=Ye.plugin,dr=Ye.sagaMiddleware,kr=Ye.promiseMiddleware,jr=Ye.createOpts.setupMiddlewares,pn=jr===void 0?fa:jr,en=Vt.get("extraEnhancers");cr()(sn(en),"[app.start] extraEnhancers should be array, but got ".concat((0,Tr.Z)(en)));var gn=Vt.get("onAction"),Wn=pn([kr,dr].concat((0,tt.Z)(Br()(gn)))),ti=c.qC,gi=[c.md.apply(void 0,(0,tt.Z)(Wn))].concat((0,tt.Z)(en));return(0,c.MT)(Qe,Rt,ti.apply(void 0,(0,tt.Z)(gi)))}function Ha(Ye,Qe){var Rt="".concat(Qe.namespace).concat(sa).concat(Ye),Vt=Rt.replace(/\/@@[^/]+?$/,""),dr=Array.isArray(Qe.reducers)?Qe.reducers[0][Vt]:Qe.reducers&&Qe.reducers[Vt];return dr||Qe.effects&&Qe.effects[Vt]?Rt:Ye}function Ss(Ye,Qe,Rt,Vt){var dr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return tn().mark(function kr(){var jr;return tn().wrap(function(en){for(;;)switch(en.prev=en.next){case 0:en.t0=tn().keys(Ye);case 1:if((en.t1=en.t0()).done){en.next=7;break}if(jr=en.t1.value,!Object.prototype.hasOwnProperty.call(Ye,jr)){en.next=5;break}return en.delegateYield(tn().mark(function gn(){var Wn,ti;return tn().wrap(function(wi){for(;;)switch(wi.prev=wi.next){case 0:return Wn=Bi(jr,Ye[jr],Qe,Rt,Vt,dr),wi.next=3,Mr(Wn);case 3:return ti=wi.sent,wi.next=6,Mr(tn().mark(function Ni(){return tn().wrap(function(yi){for(;;)switch(yi.prev=yi.next){case 0:return yi.next=2,Ke("".concat(Qe.namespace,"/@@CANCEL_EFFECTS"));case 2:return yi.next=4,nn(ti);case 4:case"end":return yi.stop()}},Ni)}));case 6:case"end":return wi.stop()}},gn)})(),"t2",5);case 5:en.next=1;break;case 7:case"end":return en.stop()}},kr)})}function Bi(Ye,Qe,Rt,Vt,dr,kr){var jr=tn().mark(Ni),pn=Qe,en="takeEvery",gn,Wn;if(Array.isArray(Qe)){var ti=(0,Er.Z)(Qe,1);pn=ti[0];var gi=Qe[1];gi&&gi.type&&(en=gi.type,en==="throttle"&&(cr()(gi.ms,"app.start: opts.ms should be defined if type is throttle"),gn=gi.ms),en==="poll"&&(cr()(gi.delay,"app.start: opts.delay should be defined if type is poll"),Wn=gi.delay)),cr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(en)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function wi(){}function Ni(){var yi,pa,Pi,pi,ua,Ys,_s,Zi,Oa,qi=arguments;return tn().wrap(function(ya){for(;;)switch(ya.prev=ya.next){case 0:for(yi=qi.length,pa=new Array(yi),Pi=0;Pi<yi;Pi++)pa[Pi]=qi[Pi];return pi=pa.length>0?pa[0]:{},ua=pi.__dva_resolve,Ys=ua===void 0?wi:ua,_s=pi.__dva_reject,Zi=_s===void 0?wi:_s,ya.prev=2,ya.next=5,Lt({type:"".concat(Ye).concat(sa,"@@start")});case 5:return ya.next=7,pn.apply(void 0,(0,tt.Z)(pa.concat(hs(Rt,kr))));case 7:return Oa=ya.sent,ya.next=10,Lt({type:"".concat(Ye).concat(sa,"@@end")});case 10:Ys(Oa),ya.next=17;break;case 13:ya.prev=13,ya.t0=ya.catch(2),Vt(ya.t0,{key:Ye,effectArgs:pa}),ya.t0._dontReject||Zi(ya.t0);case 17:case"end":return ya.stop()}},jr,null,[[2,13]])}var Fi=Ao(dr,Ni,Rt,Ye);switch(en){case"watcher":return Ni;case"takeLatest":return tn().mark(function yi(){return tn().wrap(function(Pi){for(;;)switch(Pi.prev=Pi.next){case 0:return Pi.next=2,rt(Ye,Fi);case 2:case"end":return Pi.stop()}},yi)});case"throttle":return tn().mark(function yi(){return tn().wrap(function(Pi){for(;;)switch(Pi.prev=Pi.next){case 0:return Pi.next=2,Dt(gn,Ye,Fi);case 2:case"end":return Pi.stop()}},yi)});case"poll":return tn().mark(function yi(){var pa,Pi,pi,ua,Ys,_s,Zi;return tn().wrap(function(qi){for(;;)switch(qi.prev=qi.next){case 0:pi=function(ya,$a){var Va;return tn().wrap(function(Ya){for(;;)switch(Ya.prev=Ya.next){case 0:Va=ya.call;case 1:return Ya.next=4,Va(Fi,$a);case 4:return Ya.next=6,Va(Pi,Wn);case 6:Ya.next=1;break;case 8:case"end":return Ya.stop()}},pa)},Pi=function(ya){return new Promise(function($a){return setTimeout($a,ya)})},pa=tn().mark(pi),ua=Gr,Ys=Ke,_s=Dr;case 4:return qi.next=7,Ys("".concat(Ye,"-start"));case 7:return Zi=qi.sent,qi.next=10,_s([ua(pi,r,Zi),Ys("".concat(Ye,"-stop"))]);case 10:qi.next=4;break;case 12:case"end":return qi.stop()}},yi)});default:return tn().mark(function yi(){return tn().wrap(function(Pi){for(;;)switch(Pi.prev=Pi.next){case 0:return Pi.next=2,mt(Ye,Fi);case 2:case"end":return Pi.stop()}},yi)})}}function hs(Ye,Qe){function Rt(jr,pn){cr()(jr,"dispatch: action should be a plain Object with type");var en=Qe.namespacePrefixWarning,gn=en===void 0?!0:en;gn&&nr()(jr.indexOf("".concat(Ye.namespace).concat(sa))!==0,"[".concat(pn,"] ").concat(jr," should not be prefixed with namespace ").concat(Ye.namespace))}function Vt(jr){var pn=jr.type;return Rt(pn,"sagaEffects.put"),Lt((0,l.Z)({},jr,{type:Ha(pn,Ye)}))}function dr(jr){var pn=jr.type;return Rt(pn,"sagaEffects.put.resolve"),Lt.resolve((0,l.Z)({},jr,{type:Ha(pn,Ye)}))}Vt.resolve=dr;function kr(jr){return typeof jr=="string"?(Rt(jr,"sagaEffects.take"),Ke(Ha(jr,Ye))):Array.isArray(jr)?Ke(jr.map(function(pn){return typeof pn=="string"?(Rt(pn,"sagaEffects.take"),Ha(pn,Ye)):pn})):Ke(jr)}return(0,l.Z)({},r,{put:Vt,take:kr})}function Ao(Ye,Qe,Rt,Vt){var dr=!0,kr=!1,jr=void 0;try{for(var pn=Ye[Symbol.iterator](),en;!(dr=(en=pn.next()).done);dr=!0){var gn=en.value;Qe=gn(Qe,r,Rt,Vt)}}catch(Wn){kr=!0,jr=Wn}finally{try{!dr&&pn.return!=null&&pn.return()}finally{if(kr)throw jr}}return Qe}function Pa(Ye){return Ye}function ta(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pa;return function(Rt,Vt){var dr=Vt.type;return cr()(dr,"dispatch: action should be a plain Object with type"),Ye===dr?Qe(Rt,Vt):Rt}}function Ma(){for(var Ye=arguments.length,Qe=new Array(Ye),Rt=0;Rt<Ye;Rt++)Qe[Rt]=arguments[Rt];return function(Vt,dr){return Qe.reduce(function(kr,jr){return jr(kr,dr)},Vt)}}function Hs(Ye,Qe){var Rt=Object.keys(Ye).map(function(dr){return ta(dr,Ye[dr])}),Vt=Ma.apply(void 0,(0,tt.Z)(Rt));return function(){var dr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qe,kr=arguments.length>1?arguments[1]:void 0;return Vt(dr,kr)}}function On(Ye,Qe,Rt){return Array.isArray(Ye)?Ye[1]((Rt||Hs)(Ye[0],Qe)):(Rt||Hs)(Ye||{},Qe)}function Ra(Ye){return function(){return function(Rt){return function(Vt){var dr=Vt.type;return Qe(dr)?new Promise(function(kr,jr){Rt((0,l.Z)({__dva_resolve:kr,__dva_reject:jr},Vt))}):Rt(Vt)}}};function Qe(Rt){if(!Rt||typeof Rt!="string")return!1;var Vt=Rt.split(sa),dr=(0,Er.Z)(Vt,1),kr=dr[0],jr=Ye._models.filter(function(pn){return pn.namespace===kr})[0];return!!(jr&&jr.effects&&jr.effects[Rt])}}function is(Ye,Qe){return function(Rt){var Vt=Rt.type;return cr()(Vt,"dispatch: action should be a plain Object with type"),nr()(Vt.indexOf("".concat(Qe.namespace).concat(sa))!==0,"dispatch: ".concat(Vt," should not be prefixed with namespace ").concat(Qe.namespace)),Ye((0,l.Z)({},Rt,{type:Ha(Vt,Qe)}))}}function as(Ye,Qe,Rt,Vt){var dr=[],kr=[];for(var jr in Ye)if(Object.prototype.hasOwnProperty.call(Ye,jr)){var pn=Ye[jr],en=pn({dispatch:is(Rt._store.dispatch,Qe),history:Rt._history},Vt);wn(en)?dr.push(en):kr.push(jr)}return{funcs:dr,nonFuncs:kr}}function Li(Ye,Qe){if(Ye[Qe]){var Rt=Ye[Qe],Vt=Rt.funcs,dr=Rt.nonFuncs;nr()(dr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(dr.join(", ")));var kr=!0,jr=!1,pn=void 0;try{for(var en=Vt[Symbol.iterator](),gn;!(kr=(gn=en.next()).done);kr=!0){var Wn=gn.value;Wn()}}catch(ti){jr=!0,pn=ti}finally{try{!kr&&en.return!=null&&en.return()}finally{if(jr)throw pn}}delete Ye[Qe]}}var Da=Ci,Ca=fi,ls={namespace:"@@dva",state:0,reducers:{UPDATE:function(Qe){return Qe+1}}};function Ws(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Rt=Qe.initialReducer,Vt=Qe.setupApp,dr=Vt===void 0?Da:Vt,kr=new ka;kr.use(ws(Ye));var jr={_models:[oa((0,l.Z)({},ls))],_store:null,_plugin:kr,use:kr.use.bind(kr),model:pn,start:ti};return jr;function pn(gi){var wi=oa((0,l.Z)({},gi));return jr._models.push(wi),wi}function en(gi,wi,Ni,Fi){Fi=pn(Fi);var yi=jr._store;yi.asyncReducers[Fi.namespace]=On(Fi.reducers,Fi.state,kr._handleActions),yi.replaceReducer(gi()),Fi.effects&&yi.runSaga(jr._getSaga(Fi.effects,Fi,wi,kr.get("onEffect"),Ye)),Fi.subscriptions&&(Ni[Fi.namespace]=as(Fi.subscriptions,Fi,jr,wi))}function gn(gi,wi,Ni,Fi){var yi=jr._store;delete yi.asyncReducers[Fi],delete wi[Fi],yi.replaceReducer(gi()),yi.dispatch({type:"@@dva/UPDATE"}),yi.dispatch({type:"".concat(Fi,"/@@CANCEL_EFFECTS")}),Li(Ni,Fi),jr._models=jr._models.filter(function(pa){return pa.namespace!==Fi})}function Wn(gi,wi,Ni,Fi,yi){var pa=jr._store,Pi=yi.namespace,pi=Ca(jr._models,function(ua){return ua.namespace===Pi});~pi&&(pa.dispatch({type:"".concat(Pi,"/@@CANCEL_EFFECTS")}),delete pa.asyncReducers[Pi],delete wi[Pi],Li(Ni,Pi),jr._models.splice(pi,1)),jr.model(yi),pa.dispatch({type:"@@dva/UPDATE"})}function ti(){var gi=function(wr,Qr){wr&&(typeof wr=="string"&&(wr=new Error(wr)),wr.preventDefault=function(){wr._dontReject=!0},kr.apply("onError",function(gr){throw new Error(gr.stack||gr)})(wr,jr._store.dispatch,Qr))},wi=pt(),Ni=Ra(jr);jr._getSaga=Ss.bind(null);var Fi=[],yi=(0,l.Z)({},Rt),pa=!0,Pi=!1,pi=void 0;try{for(var ua=jr._models[Symbol.iterator](),Ys;!(pa=(Ys=ua.next()).done);pa=!0){var _s=Ys.value;yi[_s.namespace]=On(_s.reducers,_s.state,kr._handleActions),_s.effects&&Fi.push(jr._getSaga(_s.effects,_s,gi,kr.get("onEffect"),Ye))}}catch(Ce){Pi=!0,pi=Ce}finally{try{!pa&&ua.return!=null&&ua.return()}finally{if(Pi)throw pi}}var Zi=kr.get("onReducer"),Oa=kr.get("extraReducers");cr()(Object.keys(Oa).every(function(Ce){return!(Ce in yi)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(yi).join(", "))),jr._store=qa({reducers:be(),initialState:Ye.initialState||{},plugin:kr,createOpts:Qe,sagaMiddleware:wi,promiseMiddleware:Ni});var qi=jr._store;qi.runSaga=wi.run,qi.asyncReducers={};var Ii=kr.get("onStateChange"),ya=!0,$a=!1,Va=void 0;try{for(var io=function(){var wr=co.value;qi.subscribe(function(){wr(qi.getState())})},Ya=Ii[Symbol.iterator](),co;!(ya=(co=Ya.next()).done);ya=!0)io()}catch(Ce){$a=!0,Va=Ce}finally{try{!ya&&Ya.return!=null&&Ya.return()}finally{if($a)throw Va}}Fi.forEach(wi.run),dr(jr);var La={},Xs=!0,js=!1,na=void 0;try{for(var ja=this._models[Symbol.iterator](),ys;!(Xs=(ys=ja.next()).done);Xs=!0){var Hi=ys.value;Hi.subscriptions&&(La[Hi.namespace]=as(Hi.subscriptions,Hi,jr,gi))}}catch(Ce){js=!0,na=Ce}finally{try{!Xs&&ja.return!=null&&ja.return()}finally{if(js)throw na}}jr.model=en.bind(jr,be,gi,La),jr.unmodel=gn.bind(jr,be,yi,La),jr.replaceModel=Wn.bind(jr,be,yi,La,gi);function be(){return Zi((0,c.UY)((0,l.Z)({},yi,Oa,jr._store?jr._store.asyncReducers:{})))}}}var bo=e(37573),Co=e(45097),To=e(4676);function ga(Ye){Ye()}let Ka=ga;const uo=Ye=>Ka=Ye,ho=()=>Ka,Po=Symbol.for("react-redux-context"),xo=typeof globalThis!="undefined"?globalThis:{};function li(){var Ye;if(!i.createContext)return{};const Qe=(Ye=xo[Po])!=null?Ye:xo[Po]=new Map;let Rt=Qe.get(i.createContext);return Rt||(Rt=i.createContext(null),Qe.set(i.createContext,Rt)),Rt}const si=li();var Fa=null;function Wa(Ye=si){return function(){return(0,i.useContext)(Ye)}}const Ga=Wa(),Gs=()=>{throw new Error("uSES not initialized!")};let Vs=Gs;const Yo=Ye=>{Vs=Ye},cs=(Ye,Qe)=>Ye===Qe;function Io(Ye=si){const Qe=Ye===si?Ga:Wa(Ye);return function(Vt,dr={}){const{equalityFn:kr=cs,stabilityCheck:jr=void 0,noopCheck:pn=void 0}=typeof dr=="function"?{equalityFn:dr}:dr,{store:en,subscription:gn,getServerState:Wn,stabilityCheck:ti,noopCheck:gi}=Qe(),wi=(0,i.useRef)(!0),Ni=(0,i.useCallback)({[Vt.name](yi){return Vt(yi)}}[Vt.name],[Vt,ti,jr]),Fi=Vs(gn.addNestedSub,en.getState,Wn||en.getState,Ni,kr);return(0,i.useDebugValue)(Fi),Fi}}const Do=Io();var jo=e(72308),Au=e(87488),Eo=e(94266),lo=e.n(Eo),Ks=e(23265);const Mu=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Oo(Ye,Qe,Rt,Vt,{areStatesEqual:dr,areOwnPropsEqual:kr,areStatePropsEqual:jr}){let pn=!1,en,gn,Wn,ti,gi;function wi(Pi,pi){return en=Pi,gn=pi,Wn=Ye(en,gn),ti=Qe(Vt,gn),gi=Rt(Wn,ti,gn),pn=!0,gi}function Ni(){return Wn=Ye(en,gn),Qe.dependsOnOwnProps&&(ti=Qe(Vt,gn)),gi=Rt(Wn,ti,gn),gi}function Fi(){return Ye.dependsOnOwnProps&&(Wn=Ye(en,gn)),Qe.dependsOnOwnProps&&(ti=Qe(Vt,gn)),gi=Rt(Wn,ti,gn),gi}function yi(){const Pi=Ye(en,gn),pi=!jr(Pi,Wn);return Wn=Pi,pi&&(gi=Rt(Wn,ti,gn)),gi}function pa(Pi,pi){const ua=!kr(pi,gn),Ys=!dr(Pi,en,pi,gn);return en=Pi,gn=pi,ua&&Ys?Ni():ua?Fi():Ys?yi():gi}return function(pi,ua){return pn?pa(pi,ua):wi(pi,ua)}}function ko(Ye,Qe){let{initMapStateToProps:Rt,initMapDispatchToProps:Vt,initMergeProps:dr}=Qe,kr=(0,Au.Z)(Qe,Mu);const jr=Rt(Ye,kr),pn=Vt(Ye,kr),en=dr(Ye,kr);return Oo(jr,pn,en,Ye,kr)}function Ns(Ye,Qe){const Rt={};for(const Vt in Ye){const dr=Ye[Vt];typeof dr=="function"&&(Rt[Vt]=(...kr)=>Qe(dr(...kr)))}return Rt}function du(Ye){return function(Rt){const Vt=Ye(Rt);function dr(){return Vt}return dr.dependsOnOwnProps=!1,dr}}function Mo(Ye){return Ye.dependsOnOwnProps?!!Ye.dependsOnOwnProps:Ye.length!==1}function wo(Ye,Qe){return function(Vt,{displayName:dr}){const kr=function(pn,en){return kr.dependsOnOwnProps?kr.mapToProps(pn,en):kr.mapToProps(pn,void 0)};return kr.dependsOnOwnProps=!0,kr.mapToProps=function(pn,en){kr.mapToProps=Ye,kr.dependsOnOwnProps=Mo(Ye);let gn=kr(pn,en);return typeof gn=="function"&&(kr.mapToProps=gn,kr.dependsOnOwnProps=Mo(gn),gn=kr(pn,en)),gn},kr}}function Rs(Ye,Qe){return(Rt,Vt)=>{throw new Error(`Invalid value of type ${typeof Ye} for ${Qe} argument when connecting component ${Vt.wrappedComponentName}.`)}}function Ds(Ye){return Ye&&typeof Ye=="object"?du(Qe=>Ns(Ye,Qe)):Ye?typeof Ye=="function"?wo(Ye,"mapDispatchToProps"):Rs(Ye,"mapDispatchToProps"):du(Qe=>({dispatch:Qe}))}function hu(Ye){return Ye?typeof Ye=="function"?wo(Ye,"mapStateToProps"):Rs(Ye,"mapStateToProps"):du(()=>({}))}function Cu(Ye,Qe,Rt){return(0,jo.Z)({},Rt,Ye,Qe)}function Xt(Ye){return function(Rt,{displayName:Vt,areMergedPropsEqual:dr}){let kr=!1,jr;return function(en,gn,Wn){const ti=Ye(en,gn,Wn);return kr?dr(ti,jr)||(jr=ti):(kr=!0,jr=ti),jr}}}function fr(Ye){return Ye?typeof Ye=="function"?Xt(Ye):Rs(Ye,"mergeProps"):()=>Cu}function ar(){const Ye=ho();let Qe=null,Rt=null;return{clear(){Qe=null,Rt=null},notify(){Ye(()=>{let Vt=Qe;for(;Vt;)Vt.callback(),Vt=Vt.next})},get(){let Vt=[],dr=Qe;for(;dr;)Vt.push(dr),dr=dr.next;return Vt},subscribe(Vt){let dr=!0,kr=Rt={callback:Vt,next:null,prev:Rt};return kr.prev?kr.prev.next=kr:Qe=kr,function(){!dr||Qe===null||(dr=!1,kr.next?kr.next.prev=kr.prev:Rt=kr.prev,kr.prev?kr.prev.next=kr.next:Qe=kr.next)}}}}const mr={notify(){},get:()=>[]};function xr(Ye,Qe){let Rt,Vt=mr,dr=0,kr=!1;function jr(Fi){Wn();const yi=Vt.subscribe(Fi);let pa=!1;return()=>{pa||(pa=!0,yi(),ti())}}function pn(){Vt.notify()}function en(){Ni.onStateChange&&Ni.onStateChange()}function gn(){return kr}function Wn(){dr++,Rt||(Rt=Qe?Qe.addNestedSub(en):Ye.subscribe(en),Vt=ar())}function ti(){dr--,Rt&&dr===0&&(Rt(),Rt=void 0,Vt.clear(),Vt=mr)}function gi(){kr||(kr=!0,Wn())}function wi(){kr&&(kr=!1,ti())}const Ni={addNestedSub:jr,notifyNestedSubs:pn,handleChangeWrapper:en,isSubscribed:gn,trySubscribe:gi,tryUnsubscribe:wi,getListeners:()=>Vt};return Ni}const xn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function $n(Ye,Qe){return Ye===Qe?Ye!==0||Qe!==0||1/Ye===1/Qe:Ye!==Ye&&Qe!==Qe}function kn(Ye,Qe){if($n(Ye,Qe))return!0;if(typeof Ye!="object"||Ye===null||typeof Qe!="object"||Qe===null)return!1;const Rt=Object.keys(Ye),Vt=Object.keys(Qe);if(Rt.length!==Vt.length)return!1;for(let dr=0;dr<Rt.length;dr++)if(!Object.prototype.hasOwnProperty.call(Qe,Rt[dr])||!$n(Ye[Rt[dr]],Qe[Rt[dr]]))return!1;return!0}const Yn=["reactReduxForwardedRef"];let or=Gs;const Lr=Ye=>{or=Ye},yr=null,fn=[null,null],zn=Ye=>{try{return JSON.stringify(Ye)}catch(Qe){return String(Ye)}};function ft(Ye,Qe,Rt){xn(()=>Ye(...Qe),Rt)}function Cn(Ye,Qe,Rt,Vt,dr,kr){Ye.current=Vt,Rt.current=!1,dr.current&&(dr.current=null,kr())}function Hn(Ye,Qe,Rt,Vt,dr,kr,jr,pn,en,gn,Wn){if(!Ye)return()=>{};let ti=!1,gi=null;const wi=()=>{if(ti||!pn.current)return;const Fi=Qe.getState();let yi,pa;try{yi=Vt(Fi,dr.current)}catch(Pi){pa=Pi,gi=Pi}pa||(gi=null),yi===kr.current?jr.current||gn():(kr.current=yi,en.current=yi,jr.current=!0,Wn())};return Rt.onStateChange=wi,Rt.trySubscribe(),wi(),()=>{if(ti=!0,Rt.tryUnsubscribe(),Rt.onStateChange=null,gi)throw gi}}const oi=()=>yr;function zi(Ye,Qe){return Ye===Qe}let Nr=!1;function Hr(Ye,Qe,Rt,{pure:Vt,areStatesEqual:dr=zi,areOwnPropsEqual:kr=kn,areStatePropsEqual:jr=kn,areMergedPropsEqual:pn=kn,forwardRef:en=!1,context:gn=si}={}){const Wn=gn,ti=hu(Ye),gi=Ds(Qe),wi=fr(Rt),Ni=!!Ye;return yi=>{const pa=yi.displayName||yi.name||"Component",Pi=`Connect(${pa})`,pi={shouldHandleStateChanges:Ni,displayName:Pi,wrappedComponentName:pa,WrappedComponent:yi,initMapStateToProps:ti,initMapDispatchToProps:gi,initMergeProps:wi,areStatesEqual:dr,areStatePropsEqual:jr,areOwnPropsEqual:kr,areMergedPropsEqual:pn};function ua(Zi){const[Oa,qi,Ii]=i.useMemo(()=>{const{reactReduxForwardedRef:In}=Zi,Tn=(0,Au.Z)(Zi,Yn);return[Zi.context,In,Tn]},[Zi]),ya=i.useMemo(()=>Oa&&Oa.Consumer&&(0,Ks.isContextConsumer)(i.createElement(Oa.Consumer,null))?Oa:Wn,[Oa,Wn]),$a=i.useContext(ya),Va=!!Zi.store&&!!Zi.store.getState&&!!Zi.store.dispatch,io=!!$a&&!!$a.store,Ya=Va?Zi.store:$a.store,co=io?$a.getServerState:Ya.getState,La=i.useMemo(()=>ko(Ya.dispatch,pi),[Ya]),[Xs,js]=i.useMemo(()=>{if(!Ni)return fn;const In=xr(Ya,Va?void 0:$a.subscription),Tn=In.notifyNestedSubs.bind(In);return[In,Tn]},[Ya,Va,$a]),na=i.useMemo(()=>Va?$a:(0,jo.Z)({},$a,{subscription:Xs}),[Va,$a,Xs]),ja=i.useRef(),ys=i.useRef(Ii),Hi=i.useRef(),be=i.useRef(!1),Ce=i.useRef(!1),wr=i.useRef(!1),Qr=i.useRef();xn(()=>(wr.current=!0,()=>{wr.current=!1}),[]);const gr=i.useMemo(()=>()=>Hi.current&&Ii===ys.current?Hi.current:La(Ya.getState(),Ii),[Ya,Ii]),Yr=i.useMemo(()=>Tn=>Xs?Hn(Ni,Ya,Xs,La,ys,ja,be,wr,Hi,js,Tn):()=>{},[Xs]);ft(Cn,[ys,ja,be,Ii,Hi,js]);let Sn;try{Sn=or(Yr,gr,co?()=>La(co(),Ii):gr)}catch(In){throw Qr.current&&(In.message+=`
|
|
|
The error may be correlated with this previous error:
|
|
|
${Qr.current.stack}
|
|
|
|
|
|
`),In}xn(()=>{Qr.current=void 0,Hi.current=void 0,ja.current=Sn});const ei=i.useMemo(()=>i.createElement(yi,(0,jo.Z)({},Sn,{ref:qi})),[qi,yi,Sn]);return i.useMemo(()=>Ni?i.createElement(ya.Provider,{value:na},ei):ei,[ya,ei,na])}const _s=i.memo(ua);if(_s.WrappedComponent=yi,_s.displayName=ua.displayName=Pi,en){const Oa=i.forwardRef(function(Ii,ya){return i.createElement(_s,(0,jo.Z)({},Ii,{reactReduxForwardedRef:ya}))});return Oa.displayName=Pi,Oa.WrappedComponent=yi,lo()(Oa,yi)}return lo()(_s,yi)}}var da=Hr;function Ti({store:Ye,context:Qe,children:Rt,serverState:Vt,stabilityCheck:dr="once",noopCheck:kr="once"}){const jr=i.useMemo(()=>{const gn=xr(Ye);return{store:Ye,subscription:gn,getServerState:Vt?()=>Vt:void 0,stabilityCheck:dr,noopCheck:kr}},[Ye,Vt,dr,kr]),pn=i.useMemo(()=>Ye.getState(),[Ye]);xn(()=>{const{subscription:gn}=jr;return gn.onStateChange=gn.notifyNestedSubs,gn.trySubscribe(),pn!==Ye.getState()&&gn.notifyNestedSubs(),()=>{gn.tryUnsubscribe(),gn.onStateChange=void 0}},[jr,pn]);const en=Qe||si;return i.createElement(en.Provider,{value:jr},Rt)}var ra=Ti;function Ts(Ye=si){const Qe=Ye===si?Ga:Wa(Ye);return function(){const{store:Vt}=Qe();return Vt}}const ui=Ts();function $s(Ye=si){const Qe=Ye===si?ui:Ts(Ye);return function(){return Qe().dispatch}}const Fo=$s();Yo(Co.useSyncExternalStoreWithSelector),Lr(bo.useSyncExternalStore),uo(To.unstable_batchedUpdates);var Os=Object.defineProperty,ha=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,ps=Object.prototype.propertyIsEnumerable,Ln=(Ye,Qe,Rt)=>Qe in Ye?Os(Ye,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):Ye[Qe]=Rt,Ls=(Ye,Qe)=>{for(var Rt in Qe||(Qe={}))Na.call(Qe,Rt)&&Ln(Ye,Rt,Qe[Rt]);if(ha)for(var Rt of ha(Qe))ps.call(Qe,Rt)&&Ln(Ye,Rt,Qe[Rt]);return Ye};function Ms(Ye){const Qe=create(Ye,{initialReducer:{},setupApp(){}}),Rt=Qe.start;return Qe.router=Vt,Qe.start=dr,Qe;function Vt(kr){Qe._router=kr}function dr(kr){if(typeof kr!="undefined")throw new Error("dva.start() should not be called with any arguments.");Qe._store||Rt.call(Qe);const jr=Qe._store,pn=Qe._router;return en=>React.createElement(Provider,{store:jr},pn(Ls({app:Qe},en)))}}},37989: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,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(L,P,D)=>P in L?i(L,P,{enumerable:!0,configurable:!0,writable:!0,value:D}):L[P]=D,a=(L,P)=>{for(var D in P||(P={}))o.call(P,D)&&u(L,D,P[D]);if(f)for(var D of f(P))h.call(P,D)&&u(L,D,P[D]);return L},x=(L,P)=>l(L,c(P));let p,y="/";function _(L){let P;return L.type==="hash"?P=(0,r.q_)():L.type==="memory"?P=(0,r.PP)(L):P=(0,r.lX)(),L.basename&&(y=L.basename),p=x(a({},P),{push(D,B){P.push(A(D,P),B)},replace(D,B){P.replace(A(D,P),B)},get location(){return P.location},get action(){return P.action}}),P}function b(L){L&&(p=L)}function A(L,P){if(typeof L=="string")return`${R(y)}${L}`;if(typeof L=="object"){const D=P.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}},5085:function(d,g,e){"use strict";e.d(g,{gD:function(){return on},We:function(){return sr}});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 De}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return zt}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return Sr}});var o=e(8591),h=e(61186),u=e.n(h);u().locale("ZH-cn");const a={config:{onError(Mt){o.ZP.error(Mt.message,3)}}};var x=e(59301),p=e(12708),y=e.n(p),_=e(12373),b=e.n(_),A=e(44520),R=e.n(A),L=e(19747),P=e.n(L);function D(){return D=Object.assign||function(Mt){for(var vt=1;vt<arguments.length;vt++){var yt=arguments[vt];for(var Nt in yt)Object.prototype.hasOwnProperty.call(yt,Nt)&&(Mt[Nt]=yt[Nt])}return Mt},D.apply(this,arguments)}function B(Mt,vt){Mt.prototype=Object.create(vt.prototype),Mt.prototype.constructor=Mt,$(Mt,vt)}function $(Mt,vt){return $=Object.setPrototypeOf||function(yt,Nt){return yt.__proto__=Nt,yt},$(Mt,vt)}function j(Mt,vt){if(Mt==null)return{};var yt,Nt,Cr={},vr=Object.keys(Mt);for(Nt=0;Nt<vr.length;Nt++)vt.indexOf(yt=vr[Nt])>=0||(Cr[yt]=Mt[yt]);return Cr}var K={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},V={rel:["amphtml","canonical","alternate"]},W={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"]},ae=Object.keys(K).map(function(Mt){return K[Mt]}),ce={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},q=Object.keys(ce).reduce(function(Mt,vt){return Mt[ce[vt]]=vt,Mt},{}),J=function(Mt,vt){for(var yt=Mt.length-1;yt>=0;yt-=1){var Nt=Mt[yt];if(Object.prototype.hasOwnProperty.call(Nt,vt))return Nt[vt]}return null},Y=function(Mt){var vt=J(Mt,K.TITLE),yt=J(Mt,"titleTemplate");if(Array.isArray(vt)&&(vt=vt.join("")),yt&&vt)return yt.replace(/%s/g,function(){return vt});var Nt=J(Mt,"defaultTitle");return vt||Nt||void 0},le=function(Mt){return J(Mt,"onChangeClientState")||function(){}},ne=function(Mt,vt){return vt.filter(function(yt){return yt[Mt]!==void 0}).map(function(yt){return yt[Mt]}).reduce(function(yt,Nt){return D({},yt,Nt)},{})},ee=function(Mt,vt){return vt.filter(function(yt){return yt[K.BASE]!==void 0}).map(function(yt){return yt[K.BASE]}).reverse().reduce(function(yt,Nt){if(!yt.length)for(var Cr=Object.keys(Nt),vr=0;vr<Cr.length;vr+=1){var ut=Cr[vr].toLowerCase();if(Mt.indexOf(ut)!==-1&&Nt[ut])return yt.concat(Nt)}return yt},[])},ie=function(Mt,vt,yt){var Nt={};return yt.filter(function(Cr){return!!Array.isArray(Cr[Mt])||(Cr[Mt]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+Mt+' should be of type "Array". Instead found type "'+typeof Cr[Mt]+'"'),!1)}).map(function(Cr){return Cr[Mt]}).reverse().reduce(function(Cr,vr){var ut={};vr.filter(function(Jr){for(var dn,Mn=Object.keys(Jr),Jn=0;Jn<Mn.length;Jn+=1){var Nn=Mn[Jn],Ui=Nn.toLowerCase();vt.indexOf(Ui)===-1||dn==="rel"&&Jr[dn].toLowerCase()==="canonical"||Ui==="rel"&&Jr[Ui].toLowerCase()==="stylesheet"||(dn=Ui),vt.indexOf(Nn)===-1||Nn!=="innerHTML"&&Nn!=="cssText"&&Nn!=="itemprop"||(dn=Nn)}if(!dn||!Jr[dn])return!1;var mi=Jr[dn].toLowerCase();return Nt[dn]||(Nt[dn]={}),ut[dn]||(ut[dn]={}),!Nt[dn][mi]&&(ut[dn][mi]=!0,!0)}).reverse().forEach(function(Jr){return Cr.push(Jr)});for(var Rr=Object.keys(ut),_n=0;_n<Rr.length;_n+=1){var Un=Rr[_n],_r=D({},Nt[Un],ut[Un]);Nt[Un]=_r}return Cr},[]).reverse()},F=function(Mt,vt){if(Array.isArray(Mt)&&Mt.length){for(var yt=0;yt<Mt.length;yt+=1)if(Mt[yt][vt])return!0}return!1},M=function(Mt){return Array.isArray(Mt)?Mt.join(""):Mt},Q=function(Mt,vt){return Array.isArray(Mt)?Mt.reduce(function(yt,Nt){return function(Cr,vr){for(var ut=Object.keys(Cr),Rr=0;Rr<ut.length;Rr+=1)if(vr[ut[Rr]]&&vr[ut[Rr]].includes(Cr[ut[Rr]]))return!0;return!1}(Nt,vt)?yt.priority.push(Nt):yt.default.push(Nt),yt},{priority:[],default:[]}):{default:Mt}},de=function(Mt,vt){var yt;return D({},Mt,((yt={})[vt]=void 0,yt))},Se=[K.NOSCRIPT,K.SCRIPT,K.STYLE],Ie=function(Mt,vt){return vt===void 0&&(vt=!0),vt===!1?String(Mt):String(Mt).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},je=function(Mt){return Object.keys(Mt).reduce(function(vt,yt){var Nt=Mt[yt]!==void 0?yt+'="'+Mt[yt]+'"':""+yt;return vt?vt+" "+Nt:Nt},"")},Fe=function(Mt,vt){return vt===void 0&&(vt={}),Object.keys(Mt).reduce(function(yt,Nt){return yt[ce[Nt]||Nt]=Mt[Nt],yt},vt)},Ft=function(Mt,vt){return vt.map(function(yt,Nt){var Cr,vr=((Cr={key:Nt})["data-rh"]=!0,Cr);return Object.keys(yt).forEach(function(ut){var Rr=ce[ut]||ut;Rr==="innerHTML"||Rr==="cssText"?vr.dangerouslySetInnerHTML={__html:yt.innerHTML||yt.cssText}:vr[Rr]=yt[ut]}),x.createElement(Mt,vr)})},_t=function(Mt,vt,yt){switch(Mt){case K.TITLE:return{toComponent:function(){return Cr=vt.titleAttributes,(vr={key:Nt=vt.title})["data-rh"]=!0,ut=Fe(Cr,vr),[x.createElement(K.TITLE,ut,Nt)];var Nt,Cr,vr,ut},toString:function(){return function(Nt,Cr,vr,ut){var Rr=je(vr),_n=M(Cr);return Rr?"<"+Nt+' data-rh="true" '+Rr+">"+Ie(_n,ut)+"</"+Nt+">":"<"+Nt+' data-rh="true">'+Ie(_n,ut)+"</"+Nt+">"}(Mt,vt.title,vt.titleAttributes,yt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Fe(vt)},toString:function(){return je(vt)}};default:return{toComponent:function(){return Ft(Mt,vt)},toString:function(){return function(Nt,Cr,vr){return Cr.reduce(function(ut,Rr){var _n=Object.keys(Rr).filter(function(Jr){return!(Jr==="innerHTML"||Jr==="cssText")}).reduce(function(Jr,dn){var Mn=Rr[dn]===void 0?dn:dn+'="'+Ie(Rr[dn],vr)+'"';return Jr?Jr+" "+Mn:Mn},""),Un=Rr.innerHTML||Rr.cssText||"",_r=Se.indexOf(Nt)===-1;return ut+"<"+Nt+' data-rh="true" '+_n+(_r?"/>":">"+Un+"</"+Nt+">")},"")}(Mt,vt,yt)}}}},Pt=function(Mt){var vt=Mt.baseTag,yt=Mt.bodyAttributes,Nt=Mt.encode,Cr=Mt.htmlAttributes,vr=Mt.noscriptTags,ut=Mt.styleTags,Rr=Mt.title,_n=Rr===void 0?"":Rr,Un=Mt.titleAttributes,_r=Mt.linkTags,Jr=Mt.metaTags,dn=Mt.scriptTags,Mn={toComponent:function(){},toString:function(){return""}};if(Mt.prioritizeSeoTags){var Jn=function(Nn){var Ui=Nn.linkTags,mi=Nn.scriptTags,bi=Nn.encode,vi=Q(Nn.metaTags,oe),di=Q(Ui,V),Yi=Q(mi,W);return{priorityMethods:{toComponent:function(){return[].concat(Ft(K.META,vi.priority),Ft(K.LINK,di.priority),Ft(K.SCRIPT,Yi.priority))},toString:function(){return _t(K.META,vi.priority,bi)+" "+_t(K.LINK,di.priority,bi)+" "+_t(K.SCRIPT,Yi.priority,bi)}},metaTags:vi.default,linkTags:di.default,scriptTags:Yi.default}}(Mt);Mn=Jn.priorityMethods,_r=Jn.linkTags,Jr=Jn.metaTags,dn=Jn.scriptTags}return{priority:Mn,base:_t(K.BASE,vt,Nt),bodyAttributes:_t("bodyAttributes",yt,Nt),htmlAttributes:_t("htmlAttributes",Cr,Nt),link:_t(K.LINK,_r,Nt),meta:_t(K.META,Jr,Nt),noscript:_t(K.NOSCRIPT,vr,Nt),script:_t(K.SCRIPT,dn,Nt),style:_t(K.STYLE,ut,Nt),title:_t(K.TITLE,{title:_n,titleAttributes:Un},Nt)}},Qt=[],Jt=function(Mt,vt){var yt=this;vt===void 0&&(vt=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(Nt){yt.context.helmet=Nt},helmetInstances:{get:function(){return yt.canUseDOM?Qt:yt.instances},add:function(Nt){(yt.canUseDOM?Qt:yt.instances).push(Nt)},remove:function(Nt){var Cr=(yt.canUseDOM?Qt:yt.instances).indexOf(Nt);(yt.canUseDOM?Qt:yt.instances).splice(Cr,1)}}},this.context=Mt,this.canUseDOM=vt,vt||(Mt.helmet=Pt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},qt=x.createContext({}),Xe=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),It=typeof document!="undefined",Ut=function(Mt){function vt(yt){var Nt;return(Nt=Mt.call(this,yt)||this).helmetData=new Jt(Nt.props.context,vt.canUseDOM),Nt}return B(vt,Mt),vt.prototype.render=function(){return x.createElement(qt.Provider,{value:this.helmetData.value},this.props.children)},vt}(x.Component);Ut.canUseDOM=It,Ut.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},Ut.defaultProps={context:{}},Ut.displayName="HelmetProvider";var ot=function(Mt,vt){var yt,Nt=document.head||document.querySelector(K.HEAD),Cr=Nt.querySelectorAll(Mt+"[data-rh]"),vr=[].slice.call(Cr),ut=[];return vt&&vt.length&&vt.forEach(function(Rr){var _n=document.createElement(Mt);for(var Un in Rr)Object.prototype.hasOwnProperty.call(Rr,Un)&&(Un==="innerHTML"?_n.innerHTML=Rr.innerHTML:Un==="cssText"?_n.styleSheet?_n.styleSheet.cssText=Rr.cssText:_n.appendChild(document.createTextNode(Rr.cssText)):_n.setAttribute(Un,Rr[Un]===void 0?"":Rr[Un]));_n.setAttribute("data-rh","true"),vr.some(function(_r,Jr){return yt=Jr,_n.isEqualNode(_r)})?vr.splice(yt,1):ut.push(_n)}),vr.forEach(function(Rr){return Rr.parentNode.removeChild(Rr)}),ut.forEach(function(Rr){return Nt.appendChild(Rr)}),{oldTags:vr,newTags:ut}},bt=function(Mt,vt){var yt=document.getElementsByTagName(Mt)[0];if(yt){for(var Nt=yt.getAttribute("data-rh"),Cr=Nt?Nt.split(","):[],vr=[].concat(Cr),ut=Object.keys(vt),Rr=0;Rr<ut.length;Rr+=1){var _n=ut[Rr],Un=vt[_n]||"";yt.getAttribute(_n)!==Un&&yt.setAttribute(_n,Un),Cr.indexOf(_n)===-1&&Cr.push(_n);var _r=vr.indexOf(_n);_r!==-1&&vr.splice(_r,1)}for(var Jr=vr.length-1;Jr>=0;Jr-=1)yt.removeAttribute(vr[Jr]);Cr.length===vr.length?yt.removeAttribute("data-rh"):yt.getAttribute("data-rh")!==ut.join(",")&&yt.setAttribute("data-rh",ut.join(","))}},ht=function(Mt,vt){var yt=Mt.baseTag,Nt=Mt.htmlAttributes,Cr=Mt.linkTags,vr=Mt.metaTags,ut=Mt.noscriptTags,Rr=Mt.onChangeClientState,_n=Mt.scriptTags,Un=Mt.styleTags,_r=Mt.title,Jr=Mt.titleAttributes;bt(K.BODY,Mt.bodyAttributes),bt(K.HTML,Nt),function(Nn,Ui){Nn!==void 0&&document.title!==Nn&&(document.title=M(Nn)),bt(K.TITLE,Ui)}(_r,Jr);var dn={baseTag:ot(K.BASE,yt),linkTags:ot(K.LINK,Cr),metaTags:ot(K.META,vr),noscriptTags:ot(K.NOSCRIPT,ut),scriptTags:ot(K.SCRIPT,_n),styleTags:ot(K.STYLE,Un)},Mn={},Jn={};Object.keys(dn).forEach(function(Nn){var Ui=dn[Nn],mi=Ui.newTags,bi=Ui.oldTags;mi.length&&(Mn[Nn]=mi),bi.length&&(Jn[Nn]=dn[Nn].oldTags)}),vt&&vt(),Rr(Mt,Mn,Jn)},et=null,Ue=function(Mt){function vt(){for(var Nt,Cr=arguments.length,vr=new Array(Cr),ut=0;ut<Cr;ut++)vr[ut]=arguments[ut];return(Nt=Mt.call.apply(Mt,[this].concat(vr))||this).rendered=!1,Nt}B(vt,Mt);var yt=vt.prototype;return yt.shouldComponentUpdate=function(Nt){return!P()(Nt,this.props)},yt.componentDidUpdate=function(){this.emitChange()},yt.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},yt.emitChange=function(){var Nt,Cr,vr=this.props.context,ut=vr.setHelmet,Rr=null,_n=(Nt=vr.helmetInstances.get().map(function(Un){var _r=D({},Un.props);return delete _r.context,_r}),{baseTag:ee(["href"],Nt),bodyAttributes:ne("bodyAttributes",Nt),defer:J(Nt,"defer"),encode:J(Nt,"encodeSpecialCharacters"),htmlAttributes:ne("htmlAttributes",Nt),linkTags:ie(K.LINK,["rel","href"],Nt),metaTags:ie(K.META,["name","charset","http-equiv","property","itemprop"],Nt),noscriptTags:ie(K.NOSCRIPT,["innerHTML"],Nt),onChangeClientState:le(Nt),scriptTags:ie(K.SCRIPT,["src","innerHTML"],Nt),styleTags:ie(K.STYLE,["cssText"],Nt),title:Y(Nt),titleAttributes:ne("titleAttributes",Nt),prioritizeSeoTags:F(Nt,"prioritizeSeoTags")});Ut.canUseDOM?(Cr=_n,et&&cancelAnimationFrame(et),Cr.defer?et=requestAnimationFrame(function(){ht(Cr,function(){et=null})}):(ht(Cr),et=null)):Pt&&(Rr=Pt(_n)),ut(Rr)},yt.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},yt.render=function(){return this.init(),null},vt}(x.Component);Ue.propTypes={context:Xe.isRequired},Ue.displayName="HelmetDispatcher";var ye=["children"],Pe=["children"],Me=function(Mt){function vt(){return Mt.apply(this,arguments)||this}B(vt,Mt);var yt=vt.prototype;return yt.shouldComponentUpdate=function(Nt){return!b()(de(this.props,"helmetData"),de(Nt,"helmetData"))},yt.mapNestedChildrenToProps=function(Nt,Cr){if(!Cr)return null;switch(Nt.type){case K.SCRIPT:case K.NOSCRIPT:return{innerHTML:Cr};case K.STYLE:return{cssText:Cr};default:throw new Error("<"+Nt.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},yt.flattenArrayTypeChildren=function(Nt){var Cr,vr=Nt.child,ut=Nt.arrayTypeChildren;return D({},ut,((Cr={})[vr.type]=[].concat(ut[vr.type]||[],[D({},Nt.newChildProps,this.mapNestedChildrenToProps(vr,Nt.nestedChildren))]),Cr))},yt.mapObjectTypeChildren=function(Nt){var Cr,vr,ut=Nt.child,Rr=Nt.newProps,_n=Nt.newChildProps,Un=Nt.nestedChildren;switch(ut.type){case K.TITLE:return D({},Rr,((Cr={})[ut.type]=Un,Cr.titleAttributes=D({},_n),Cr));case K.BODY:return D({},Rr,{bodyAttributes:D({},_n)});case K.HTML:return D({},Rr,{htmlAttributes:D({},_n)});default:return D({},Rr,((vr={})[ut.type]=D({},_n),vr))}},yt.mapArrayTypeChildrenToProps=function(Nt,Cr){var vr=D({},Cr);return Object.keys(Nt).forEach(function(ut){var Rr;vr=D({},vr,((Rr={})[ut]=Nt[ut],Rr))}),vr},yt.warnOnInvalidChildren=function(Nt,Cr){return R()(ae.some(function(vr){return Nt.type===vr}),typeof Nt.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 "+ae.join(", ")+" are allowed. Helmet does not support rendering <"+Nt.type+"> elements. Refer to our API for more information."),R()(!Cr||typeof Cr=="string"||Array.isArray(Cr)&&!Cr.some(function(vr){return typeof vr!="string"}),"Helmet expects a string as a child of <"+Nt.type+">. Did you forget to wrap your children in braces? ( <"+Nt.type+">{``}</"+Nt.type+"> ) Refer to our API for more information."),!0},yt.mapChildrenToProps=function(Nt,Cr){var vr=this,ut={};return x.Children.forEach(Nt,function(Rr){if(Rr&&Rr.props){var _n=Rr.props,Un=_n.children,_r=j(_n,ye),Jr=Object.keys(_r).reduce(function(Mn,Jn){return Mn[q[Jn]||Jn]=_r[Jn],Mn},{}),dn=Rr.type;switch(typeof dn=="symbol"?dn=dn.toString():vr.warnOnInvalidChildren(Rr,Un),dn){case K.FRAGMENT:Cr=vr.mapChildrenToProps(Un,Cr);break;case K.LINK:case K.META:case K.NOSCRIPT:case K.SCRIPT:case K.STYLE:ut=vr.flattenArrayTypeChildren({child:Rr,arrayTypeChildren:ut,newChildProps:Jr,nestedChildren:Un});break;default:Cr=vr.mapObjectTypeChildren({child:Rr,newProps:Cr,newChildProps:Jr,nestedChildren:Un})}}}),this.mapArrayTypeChildrenToProps(ut,Cr)},yt.render=function(){var Nt=this.props,Cr=Nt.children,vr=j(Nt,Pe),ut=D({},vr),Rr=vr.helmetData;return Cr&&(ut=this.mapChildrenToProps(Cr,ut)),!Rr||Rr instanceof Jt||(Rr=new Jt(Rr.context,Rr.instances)),Rr?x.createElement(Ue,D({},ut,{context:Rr.value,helmetData:void 0})):x.createElement(qt.Consumer,null,function(_n){return x.createElement(Ue,D({},ut,{context:_n}))})},vt}(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 $e={},He=Mt=>x.createElement(Ut,{context:$e},Mt);var nt=e(92736),ct=e(89070),Gt=e(93083),Ht=e(33143),Oe=e(28440),Je=e.n(Oe),Wt=Object.defineProperty,kt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,At=(Mt,vt,yt)=>vt in Mt?Wt(Mt,vt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):Mt[vt]=yt,Kt=(Mt,vt)=>{for(var yt in vt||(vt={}))Zt.call(vt,yt)&&At(Mt,yt,vt[yt]);if(kt)for(var yt of kt(vt))Bt.call(vt,yt)&&At(Mt,yt,vt[yt]);return Mt},We=(Mt,vt)=>{var yt={};for(var Nt in Mt)Zt.call(Mt,Nt)&&vt.indexOf(Nt)<0&&(yt[Nt]=Mt[Nt]);if(Mt!=null&&kt)for(var Nt of kt(Mt))vt.indexOf(Nt)<0&&Bt.call(Mt,Nt)&&(yt[Nt]=Mt[Nt]);return yt};let fe=null;const _e=()=>(fe||(fe=sr().applyPlugins({key:"antd",type:ct.ApplyPluginsType.modify,initialValue:Kt({},{componentSize:"middle"})})),fe);function Ot({children:Mt}){let vt=Mt;const[yt,Nt]=x.useState(()=>{const vr=_e(),{appConfig:ut}=vr;return We(vr,["appConfig"])}),Cr=vr=>{Nt(ut=>Je()({},ut,typeof vr=="function"?vr(ut):vr))};return yt.prefixCls&&nt.ZP.config({prefixCls:yt.prefixCls}),yt.iconPrefixCls&&nt.ZP.config({iconPrefixCls:yt.iconPrefixCls}),yt.theme&&nt.ZP.config({theme:yt.theme}),vt=x.createElement(nt.ZP,Kt({},yt),vt),vt=x.createElement(Gt.StyleProvider,{hashPriority:"high"},vt),vt=x.createElement(Ht.C.Provider,{value:Cr},x.createElement(Ht.S.Provider,{value:yt},vt)),vt}function De(Mt){return x.createElement(Ot,null,Mt)}var dt=e(17474);function zt(Mt,vt){return x.createElement(dt.j,vt,Mt)}var Ct=e(65517),ke=e(57013),wt=e(81863),xe=Object.defineProperty,Ke=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,Be=(Mt,vt,yt)=>vt in Mt?xe(Mt,vt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):Mt[vt]=yt,Dr=(Mt,vt)=>{for(var yt in vt||(vt={}))gt.call(vt,yt)&&Be(Mt,yt,vt[yt]);if(Ke)for(var yt of Ke(vt))Lt.call(vt,yt)&&Be(Mt,yt,vt[yt]);return Mt};function St(){var Mt,vt;const yt=getLocale();(Mt=moment)!=null&&Mt.locale&&moment.locale(((vt=localeInfo[yt])==null?void 0:vt.momentLocale)||"zh-cn"),setIntl(yt)}const Gr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,Xr=Mt=>{var vt;const yt=(0,ke.Kd)(),[Nt,Cr]=x.useState(yt),[vr,ut]=x.useState(()=>(0,ke.lw)(Nt,!0)),Rr=_r=>{var Jr,dn;(Jr=u())!=null&&Jr.locale&&u().locale(((dn=ke.H8[_r])==null?void 0:dn.momentLocale)||"en"),Cr(_r),ut((0,ke.lw)(_r))};Gr(()=>(ke.B.on(ke.PZ,Rr),()=>{ke.B.off(ke.PZ,Rr)}),[]);const _n=Dr({},wt.Z),Un=(0,ke.Mg)();return x.createElement(nt.ZP,{direction:Un,locale:((vt=ke.H8[Nt])==null?void 0:vt.antd)||_n},x.createElement(ke.eU,{value:vr},Mt.children))};function Sr(Mt){return x.createElement(Xr,null,Mt)}function Mr(Mt){return Mt.default?typeof Mt.default=="function"?Mt.default():Mt.default:Mt}function pr(){return[{apply:Mr(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 $r(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let nn=null;function on(){return nn=ct.PluginManager.create({plugins:pr(),validKeys:$r()}),nn}function sr(){return nn}},89070:function(d,g,e){"use strict";e.d(g,{ApplyPluginsType:function(){return It},Link:function(){return J},Outlet:function(){return Y.j3},PluginManager:function(){return Ut},connect:function(){return f.$j},getDvaApp:function(){return o.Q},history:function(){return ot.m8},useAppData:function(){return W.Ov},useDispatch:function(){return f.I0},useLocation:function(){return Y.TH},useOutletContext:function(){return Y.bx},useParams:function(){return Y.UO},useSearchParams:function(){return V.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(33143);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(29413),o=e(17474),h=e(57013),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,A=(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 Gt in He)y.call(He,Gt)&&nt.indexOf(Gt)<0&&(ct[Gt]=He[Gt]);if(He!=null&&p)for(var Gt of p(He))nt.indexOf(Gt)<0&&_.call(He,Gt)&&(ct[Gt]=He[Gt]);return ct};const P=He=>{var nt=He,{overlayClassName:ct}=nt,Gt=L(nt,["overlayClassName"]);return React.createElement(Dropdown,A({overlayClassName:ct},Gt))},D=He=>He.reduce((nt,ct)=>ct.lang?R(A({},nt),{[ct.lang]:ct}):nt,{}),B={"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"}},$=He=>React.createElement(React.Fragment,null);var j=e(38329),K=e(38127),V=e(32451),W=e(95254),oe=e(87296);function ae(He,nt){var ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var Ht=r.useRef(typeof IntersectionObserver=="function"),Oe=r.useRef(null);return r.useEffect(function(){if(!(!He.current||!Ht.current||Gt.disabled))return Oe.current=new IntersectionObserver(function(Je){var Wt=(0,oe.Z)(Je,1),kt=Wt[0];nt(kt)},ct),Oe.current.observe(He.current),function(){var Je;(Je=Oe.current)===null||Je===void 0||Je.disconnect()}},[nt,ct,Gt.disabled,He]),Oe.current}var ce=["prefetch"];function q(He){var nt=r.useRef(null);return r.useEffect(function(){He&&(typeof He=="function"?He(nt.current):He.current=nt.current)}),nt}var J=r.forwardRef(function(He,nt){var ct,Gt=He.prefetch,Ht=(0,K.Z)(He,ce),Oe=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},Je=Oe.defaultPrefetch,Wt=Oe.defaultPrefetchTimeout,kt=(Gt===!0?"intent":Gt===!1?"none":Gt)||Je;if(!["intent","render","viewport","none"].includes(kt))throw new Error("Invalid prefetch value ".concat(kt," found in Link component"));var Zt=(0,W.Ov)(),Bt=typeof He.to=="string"?He.to:(ct=He.to)===null||ct===void 0?void 0:ct.pathname,At=r.useRef(!1),Kt=q(nt),We=function(Ot){if(kt==="intent"){var De=Ot.target||{};De.preloadTimeout||(De.preloadTimeout=setTimeout(function(){var dt;De.preloadTimeout=null,(dt=Zt.preloadRoute)===null||dt===void 0||dt.call(Zt,Bt)},He.prefetchTimeout||Wt))}},fe=function(Ot){if(kt==="intent"){var De=Ot.target||{};De.preloadTimeout&&(clearTimeout(De.preloadTimeout),De.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(kt==="render"&&!At.current){var _e;(_e=Zt.preloadRoute)===null||_e===void 0||_e.call(Zt,Bt),At.current=!0}},[kt,Bt]),ae(Kt,function(_e){if(_e!=null&&_e.isIntersecting){var Ot;(Ot=Zt.preloadRoute)===null||Ot===void 0||Ot.call(Zt,Bt)}},{rootMargin:"100px"},{disabled:kt!=="viewport"}),Bt?r.createElement(V.rU,(0,j.Z)({onMouseEnter:We,onMouseLeave:fe,ref:Kt},Ht),He.children):null}),Y=e(35338),le=e(8616);function ne(){"use strict";ne=function(){return nt};var He,nt={},ct=Object.prototype,Gt=ct.hasOwnProperty,Ht=Object.defineProperty||function(Sr,Mr,pr){Sr[Mr]=pr.value},Oe=typeof Symbol=="function"?Symbol:{},Je=Oe.iterator||"@@iterator",Wt=Oe.asyncIterator||"@@asyncIterator",kt=Oe.toStringTag||"@@toStringTag";function Zt(Sr,Mr,pr){return Object.defineProperty(Sr,Mr,{value:pr,enumerable:!0,configurable:!0,writable:!0}),Sr[Mr]}try{Zt({},"")}catch(Sr){Zt=function(pr,$r,nn){return pr[$r]=nn}}function Bt(Sr,Mr,pr,$r){var nn=Mr&&Mr.prototype instanceof De?Mr:De,on=Object.create(nn.prototype),sr=new Gr($r||[]);return Ht(on,"_invoke",{value:Lt(Sr,pr,sr)}),on}function At(Sr,Mr,pr){try{return{type:"normal",arg:Sr.call(Mr,pr)}}catch($r){return{type:"throw",arg:$r}}}nt.wrap=Bt;var Kt="suspendedStart",We="suspendedYield",fe="executing",_e="completed",Ot={};function De(){}function dt(){}function zt(){}var Ct={};Zt(Ct,Je,function(){return this});var ke=Object.getPrototypeOf,wt=ke&&ke(ke(Xr([])));wt&&wt!==ct&&Gt.call(wt,Je)&&(Ct=wt);var xe=zt.prototype=De.prototype=Object.create(Ct);function Ke(Sr){["next","throw","return"].forEach(function(Mr){Zt(Sr,Mr,function(pr){return this._invoke(Mr,pr)})})}function gt(Sr,Mr){function pr(nn,on,sr,Mt){var vt=At(Sr[nn],Sr,on);if(vt.type!=="throw"){var yt=vt.arg,Nt=yt.value;return Nt&&(0,le.Z)(Nt)=="object"&&Gt.call(Nt,"__await")?Mr.resolve(Nt.__await).then(function(Cr){pr("next",Cr,sr,Mt)},function(Cr){pr("throw",Cr,sr,Mt)}):Mr.resolve(Nt).then(function(Cr){yt.value=Cr,sr(yt)},function(Cr){return pr("throw",Cr,sr,Mt)})}Mt(vt.arg)}var $r;Ht(this,"_invoke",{value:function(on,sr){function Mt(){return new Mr(function(vt,yt){pr(on,sr,vt,yt)})}return $r=$r?$r.then(Mt,Mt):Mt()}})}function Lt(Sr,Mr,pr){var $r=Kt;return function(nn,on){if($r===fe)throw new Error("Generator is already running");if($r===_e){if(nn==="throw")throw on;return{value:He,done:!0}}for(pr.method=nn,pr.arg=on;;){var sr=pr.delegate;if(sr){var Mt=Be(sr,pr);if(Mt){if(Mt===Ot)continue;return Mt}}if(pr.method==="next")pr.sent=pr._sent=pr.arg;else if(pr.method==="throw"){if($r===Kt)throw $r=_e,pr.arg;pr.dispatchException(pr.arg)}else pr.method==="return"&&pr.abrupt("return",pr.arg);$r=fe;var vt=At(Sr,Mr,pr);if(vt.type==="normal"){if($r=pr.done?_e:We,vt.arg===Ot)continue;return{value:vt.arg,done:pr.done}}vt.type==="throw"&&($r=_e,pr.method="throw",pr.arg=vt.arg)}}}function Be(Sr,Mr){var pr=Mr.method,$r=Sr.iterator[pr];if($r===He)return Mr.delegate=null,pr==="throw"&&Sr.iterator.return&&(Mr.method="return",Mr.arg=He,Be(Sr,Mr),Mr.method==="throw")||pr!=="return"&&(Mr.method="throw",Mr.arg=new TypeError("The iterator does not provide a '"+pr+"' method")),Ot;var nn=At($r,Sr.iterator,Mr.arg);if(nn.type==="throw")return Mr.method="throw",Mr.arg=nn.arg,Mr.delegate=null,Ot;var on=nn.arg;return on?on.done?(Mr[Sr.resultName]=on.value,Mr.next=Sr.nextLoc,Mr.method!=="return"&&(Mr.method="next",Mr.arg=He),Mr.delegate=null,Ot):on:(Mr.method="throw",Mr.arg=new TypeError("iterator result is not an object"),Mr.delegate=null,Ot)}function Dr(Sr){var Mr={tryLoc:Sr[0]};1 in Sr&&(Mr.catchLoc=Sr[1]),2 in Sr&&(Mr.finallyLoc=Sr[2],Mr.afterLoc=Sr[3]),this.tryEntries.push(Mr)}function St(Sr){var Mr=Sr.completion||{};Mr.type="normal",delete Mr.arg,Sr.completion=Mr}function Gr(Sr){this.tryEntries=[{tryLoc:"root"}],Sr.forEach(Dr,this),this.reset(!0)}function Xr(Sr){if(Sr||Sr===""){var Mr=Sr[Je];if(Mr)return Mr.call(Sr);if(typeof Sr.next=="function")return Sr;if(!isNaN(Sr.length)){var pr=-1,$r=function nn(){for(;++pr<Sr.length;)if(Gt.call(Sr,pr))return nn.value=Sr[pr],nn.done=!1,nn;return nn.value=He,nn.done=!0,nn};return $r.next=$r}}throw new TypeError((0,le.Z)(Sr)+" is not iterable")}return dt.prototype=zt,Ht(xe,"constructor",{value:zt,configurable:!0}),Ht(zt,"constructor",{value:dt,configurable:!0}),dt.displayName=Zt(zt,kt,"GeneratorFunction"),nt.isGeneratorFunction=function(Sr){var Mr=typeof Sr=="function"&&Sr.constructor;return!!Mr&&(Mr===dt||(Mr.displayName||Mr.name)==="GeneratorFunction")},nt.mark=function(Sr){return Object.setPrototypeOf?Object.setPrototypeOf(Sr,zt):(Sr.__proto__=zt,Zt(Sr,kt,"GeneratorFunction")),Sr.prototype=Object.create(xe),Sr},nt.awrap=function(Sr){return{__await:Sr}},Ke(gt.prototype),Zt(gt.prototype,Wt,function(){return this}),nt.AsyncIterator=gt,nt.async=function(Sr,Mr,pr,$r,nn){nn===void 0&&(nn=Promise);var on=new gt(Bt(Sr,Mr,pr,$r),nn);return nt.isGeneratorFunction(Mr)?on:on.next().then(function(sr){return sr.done?sr.value:on.next()})},Ke(xe),Zt(xe,kt,"Generator"),Zt(xe,Je,function(){return this}),Zt(xe,"toString",function(){return"[object Generator]"}),nt.keys=function(Sr){var Mr=Object(Sr),pr=[];for(var $r in Mr)pr.push($r);return pr.reverse(),function nn(){for(;pr.length;){var on=pr.pop();if(on in Mr)return nn.value=on,nn.done=!1,nn}return nn.done=!0,nn}},nt.values=Xr,Gr.prototype={constructor:Gr,reset:function(Mr){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(St),!Mr)for(var pr in this)pr.charAt(0)==="t"&&Gt.call(this,pr)&&!isNaN(+pr.slice(1))&&(this[pr]=He)},stop:function(){this.done=!0;var Mr=this.tryEntries[0].completion;if(Mr.type==="throw")throw Mr.arg;return this.rval},dispatchException:function(Mr){if(this.done)throw Mr;var pr=this;function $r(yt,Nt){return sr.type="throw",sr.arg=Mr,pr.next=yt,Nt&&(pr.method="next",pr.arg=He),!!Nt}for(var nn=this.tryEntries.length-1;nn>=0;--nn){var on=this.tryEntries[nn],sr=on.completion;if(on.tryLoc==="root")return $r("end");if(on.tryLoc<=this.prev){var Mt=Gt.call(on,"catchLoc"),vt=Gt.call(on,"finallyLoc");if(Mt&&vt){if(this.prev<on.catchLoc)return $r(on.catchLoc,!0);if(this.prev<on.finallyLoc)return $r(on.finallyLoc)}else if(Mt){if(this.prev<on.catchLoc)return $r(on.catchLoc,!0)}else{if(!vt)throw new Error("try statement without catch or finally");if(this.prev<on.finallyLoc)return $r(on.finallyLoc)}}}},abrupt:function(Mr,pr){for(var $r=this.tryEntries.length-1;$r>=0;--$r){var nn=this.tryEntries[$r];if(nn.tryLoc<=this.prev&&Gt.call(nn,"finallyLoc")&&this.prev<nn.finallyLoc){var on=nn;break}}on&&(Mr==="break"||Mr==="continue")&&on.tryLoc<=pr&&pr<=on.finallyLoc&&(on=null);var sr=on?on.completion:{};return sr.type=Mr,sr.arg=pr,on?(this.method="next",this.next=on.finallyLoc,Ot):this.complete(sr)},complete:function(Mr,pr){if(Mr.type==="throw")throw Mr.arg;return Mr.type==="break"||Mr.type==="continue"?this.next=Mr.arg:Mr.type==="return"?(this.rval=this.arg=Mr.arg,this.method="return",this.next="end"):Mr.type==="normal"&&pr&&(this.next=pr),Ot},finish:function(Mr){for(var pr=this.tryEntries.length-1;pr>=0;--pr){var $r=this.tryEntries[pr];if($r.finallyLoc===Mr)return this.complete($r.completion,$r.afterLoc),St($r),Ot}},catch:function(Mr){for(var pr=this.tryEntries.length-1;pr>=0;--pr){var $r=this.tryEntries[pr];if($r.tryLoc===Mr){var nn=$r.completion;if(nn.type==="throw"){var on=nn.arg;St($r)}return on}}throw new Error("illegal catch attempt")},delegateYield:function(Mr,pr,$r){return this.delegate={iterator:Xr(Mr),resultName:pr,nextLoc:$r},this.method==="next"&&(this.arg=He),Ot}},nt}var ee=e(63579);function ie(He,nt,ct,Gt,Ht,Oe,Je){try{var Wt=He[Oe](Je),kt=Wt.value}catch(Zt){ct(Zt);return}Wt.done?nt(kt):Promise.resolve(kt).then(Gt,Ht)}function F(He){return function(){var nt=this,ct=arguments;return new Promise(function(Gt,Ht){var Oe=He.apply(nt,ct);function Je(kt){ie(Oe,Gt,Ht,Je,Wt,"next",kt)}function Wt(kt){ie(Oe,Gt,Ht,Je,Wt,"throw",kt)}Je(void 0)})}}var M=e(99227);function Q(He,nt){var ct=typeof Symbol!="undefined"&&He[Symbol.iterator]||He["@@iterator"];if(!ct){if(Array.isArray(He)||(ct=(0,M.Z)(He))||nt&&He&&typeof He.length=="number"){ct&&(He=ct);var Gt=0,Ht=function(){};return{s:Ht,n:function(){return Gt>=He.length?{done:!0}:{done:!1,value:He[Gt++]}},e:function(Zt){throw Zt},f:Ht}}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 Oe=!0,Je=!1,Wt;return{s:function(){ct=ct.call(He)},n:function(){var Zt=ct.next();return Oe=Zt.done,Zt},e:function(Zt){Je=!0,Wt=Zt},f:function(){try{!Oe&&ct.return!=null&&ct.return()}finally{if(Je)throw Wt}}}}var de=e(73825);function Se(He){if(typeof Symbol!="undefined"&&He[Symbol.iterator]!=null||He["@@iterator"]!=null)return Array.from(He)}var Ie=e(66160);function je(He){return(0,de.Z)(He)||Se(He)||(0,M.Z)(He)||(0,Ie.Z)()}function Fe(He,nt){if(!(He instanceof nt))throw new TypeError("Cannot call a class as a function")}var Ft=e(89878);function _t(He,nt){for(var ct=0;ct<nt.length;ct++){var Gt=nt[ct];Gt.enumerable=Gt.enumerable||!1,Gt.configurable=!0,"value"in Gt&&(Gt.writable=!0),Object.defineProperty(He,(0,Ft.Z)(Gt.key),Gt)}}function Pt(He,nt,ct){return nt&&_t(He.prototype,nt),ct&&_t(He,ct),Object.defineProperty(He,"prototype",{writable:!1}),He}var Qt=e(65873);function Jt(He,nt){if(!He)throw new Error(nt)}function qt(He){var nt=He.fns,ct=He.args;if(nt.length===1)return nt[0];var Gt=nt.pop();return nt.reduce(function(Ht,Oe){return function(){return Oe(Ht,ct)}},Gt)}function Xe(He){return!!He&&(0,le.Z)(He)==="object"&&typeof He.then=="function"}var It=function(He){return He.compose="compose",He.modify="modify",He.event="event",He}({}),Ut=function(){function He(nt){Fe(this,He),(0,Qt.Z)(this,"opts",void 0),(0,Qt.Z)(this,"hooks",{}),this.opts=nt}return Pt(He,[{key:"register",value:function(ct){var Gt=this;Jt(ct.apply,"plugin register failed, apply must supplied"),Object.keys(ct.apply).forEach(function(Ht){Jt(Gt.opts.validKeys.indexOf(Ht)>-1,"register failed, invalid key ".concat(Ht," ").concat(ct.path?"from plugin ".concat(ct.path):"",".")),Gt.hooks[Ht]=(Gt.hooks[Ht]||[]).concat(ct.apply[Ht])})}},{key:"getHooks",value:function(ct){var Gt=ct.split("."),Ht=je(Gt),Oe=Ht[0],Je=Ht.slice(1),Wt=this.hooks[Oe]||[];return Je.length&&(Wt=Wt.map(function(kt){try{var Zt=kt,Bt=Q(Je),At;try{for(Bt.s();!(At=Bt.n()).done;){var Kt=At.value;Zt=Zt[Kt]}}catch(We){Bt.e(We)}finally{Bt.f()}return Zt}catch(We){return null}}).filter(Boolean)),Wt}},{key:"applyPlugins",value:function(ct){var Gt=ct.key,Ht=ct.type,Oe=ct.initialValue,Je=ct.args,Wt=ct.async,kt=this.getHooks(Gt)||[];switch(Je&&Jt((0,le.Z)(Je)==="object","applyPlugins failed, args must be plain object."),Wt&&Jt(Ht===It.modify||Ht===It.event,"async only works with modify and event type."),Ht){case It.modify:return Wt?kt.reduce(function(){var Zt=F(ne().mark(function Bt(At,Kt){var We;return ne().wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(Jt(typeof Kt=="function"||(0,le.Z)(Kt)==="object"||Xe(Kt),"applyPlugins failed, all hooks for key ".concat(Gt," must be function, plain object or Promise.")),!Xe(At)){_e.next=5;break}return _e.next=4,At;case 4:At=_e.sent;case 5:if(typeof Kt!="function"){_e.next=16;break}if(We=Kt(At,Je),!Xe(We)){_e.next=13;break}return _e.next=10,We;case 10:return _e.abrupt("return",_e.sent);case 13:return _e.abrupt("return",We);case 14:_e.next=21;break;case 16:if(!Xe(Kt)){_e.next=20;break}return _e.next=19,Kt;case 19:Kt=_e.sent;case 20:return _e.abrupt("return",(0,ee.Z)((0,ee.Z)({},At),Kt));case 21:case"end":return _e.stop()}},Bt)}));return function(Bt,At){return Zt.apply(this,arguments)}}(),Xe(Oe)?Oe:Promise.resolve(Oe)):kt.reduce(function(Zt,Bt){return Jt(typeof Bt=="function"||(0,le.Z)(Bt)==="object","applyPlugins failed, all hooks for key ".concat(Gt," must be function or plain object.")),typeof Bt=="function"?Bt(Zt,Je):(0,ee.Z)((0,ee.Z)({},Zt),Bt)},Oe);case It.event:return F(ne().mark(function Zt(){var Bt,At,Kt,We;return ne().wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:Bt=Q(kt),_e.prev=1,Bt.s();case 3:if((At=Bt.n()).done){_e.next=12;break}if(Kt=At.value,Jt(typeof Kt=="function","applyPlugins failed, all hooks for key ".concat(Gt," must be function.")),We=Kt(Je),!(Wt&&Xe(We))){_e.next=10;break}return _e.next=10,We;case 10:_e.next=3;break;case 12:_e.next=17;break;case 14:_e.prev=14,_e.t0=_e.catch(1),Bt.e(_e.t0);case 17:return _e.prev=17,Bt.f(),_e.finish(17);case 20:case"end":return _e.stop()}},Zt,null,[[1,14,17,20]])}))();case It.compose:return function(){return qt({fns:kt.concat(Oe),args:Je})()}}}}],[{key:"create",value:function(ct){var Gt=new He({validKeys:ct.validKeys});return ct.plugins.forEach(function(Ht){Gt.register(Ht)}),Gt}}]),He}(),ot=e(37989);let bt=0,ht=0;function et(He,nt){}function Ue(He){return JSON.stringify(He,null,2)}function ye(He){const nt=He.length>1?He.map(Pe).join(" "):He[0];return typeof nt=="object"?`${Ue(nt)}`:nt.toString()}function Pe(He){return typeof He=="object"?`${JSON.stringify(He)}`:He.toString()}const Me={log(...He){ye(He)},info(...He){ye(He)},warn(...He){ye(He)},error(...He){ye(He)},group(){ht++},groupCollapsed(){ht++},groupEnd(){ht&&--ht},clear(){},trace(...He){console.trace(...He)},profile(...He){console.profile(...He)},profileEnd(...He){console.profileEnd(...He)}},$e=()=>{}},33143: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.")})},17474:function(d,g,e){"use strict";e.d(g,{j:function(){return mc},Q:function(){return Xc}});var r=e(29413),i=e(89880),l=e.n(i),c=e(59301),f=e(89070),o=e(35390),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(o.n1,I)},*appplySchool({payload:I},{call:O,put:k}){return yield O(o.bz,I)},*getSchoolOption({payload:I},{call:O,put:k}){return yield O(o.GY,I)},*getDepartmentOption({payload:I},{call:O,put:k}){return yield O(o.Ql,I)},*appplyDepartment({payload:I},{call:O,put:k}){return yield O(o.Zm,I)},*updateAccount({payload:I},{call:O,put:k}){return yield O(o.sG,I)},*cancelRealNameAuth({payload:I},{call:O,put:k}){return yield O(o.P,I)},*cancelProfessionalAuth({payload:I},{call:O,put:k}){return yield O(o.$f,I)},*applyProfessionalAuth({payload:I},{call:O,put:k}){return yield O(o.Ow,I)},*applyRealNameAuth({payload:I},{call:O,put:k}){return yield O(o.ht,I)},*getCode({payload:I},{call:O,put:k}){return yield O(o.Cq,I)},*bindPhone({payload:I},{call:O,put:k}){return yield O(o.eF,I)},*bindEmail({payload:I},{call:O,put:k}){return yield O(o.I8,I)},*updatePassword({payload:I},{call:O,put:k}){return yield O(o.gQ,I)},*unbindAccount({payload:I},{call:O,put:k}){return yield O(o.wi,I)},*getBasicInfo({payload:I},{call:O,put:k}){const me=yield O(o.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"})})}}},A=e(13112),R=Object.defineProperty,L=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,B=(I,O,k)=>O in I?R(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,$=(I,O)=>{for(var k in O||(O={}))P.call(O,k)&&B(I,k,O[k]);if(L)for(var k of L(O))D.call(O,k)&&B(I,k,O[k]);return I},K={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(A.nZ,I)},*informUp({payload:I,callback:O},{call:k,put:me}){return yield k(A.TO,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:$({},I)}})}},reducers:{save(I,O){return $($({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},V=e(19381),W=Object.defineProperty,oe=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,q=(I,O,k)=>O in I?W(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,J=(I,O)=>{for(var k in O||(O={}))ae.call(O,k)&&q(I,k,O[k]);if(oe)for(var k of oe(O))ce.call(O,k)&&q(I,k,O[k]);return I},le={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:I,callback:O},{call:k,put:me}){const Re=yield k(V.SV,I);return yield me({type:"save",payload:{allList:J({},Re)}}),Re},*mineAttachment({payload:I,callback:O},{call:k,put:me}){const Re=yield k(V.zI,I);return yield me({type:"save",payload:{mineList:J({},Re)}}),Re},*fileImport({payload:I,callback:O},{call:k,put:me}){return yield k(V.tO,I)},*getDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(V.Nm,I);return yield me({type:"save",payload:{detail:J({},Re)}}),Re},*updateVisits({payload:I,callback:O},{call:k,put:me}){return yield k(V.H,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:J({},I)}})}},reducers:{save(I,O){return J(J({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},ne=e(10813),ee=Object.defineProperty,ie=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,Q=(I,O,k)=>O in I?ee(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,de=(I,O)=>{for(var k in O||(O={}))F.call(O,k)&&Q(I,k,O[k]);if(ie)for(var k of ie(O))M.call(O,k)&&Q(I,k,O[k]);return I},Ie={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(ne.yq,I);return yield me({type:"save",payload:{boardsCategoryList:de({},Re.data)}}),Re.data},*getBoardsDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(ne.dI,I);return yield me({type:"save",payload:{boardsDetail:de({},Re.data)}}),Re.data},*setTopping({payload:I,callback:O},{call:k,put:me}){return yield k(ne.cc,I)},*escTopping({payload:I,callback:O},{call:k,put:me}){return yield k(ne.CJ,I)},*getReplyList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(ne.PC,I);yield me({type:"save",payload:{replyList:de({},Re.data)}})},*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:de({},I)}})}},reducers:{save(I,O){return de(de({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},je=e(94941),Fe=Object.defineProperty,Ft=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Qt=(I,O,k)=>O in I?Fe(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Jt=(I,O)=>{for(var k in O||(O={}))_t.call(O,k)&&Qt(I,k,O[k]);if(Ft)for(var k of Ft(O))Pt.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 Re=yield k(je.$Q,I);return yield me({type:"save",payload:{ScoreRangesData:Re==null?void 0:Re.data}}),Re},*getQuestionResult({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je._U,I);return yield me({type:"save",payload:{NormalResult:Re}}),Re},*getUserExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.xA,I);return yield me({type:"save",payload:{userExerciseList:Jt({},(Re==null?void 0:Re.data)||{})}}),console.log("getUserExercise-res:",Re),Re==null?void 0:Re.data},*getExerciseIdentityPhotos({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.J,I);return yield me({type:"save",payload:{exerciseIdentityPhotos:Jt({},(Re==null?void 0:Re.data)||{})}}),Re==null?void 0:Re.data},*getExerciseExportHeadData({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.iw,I);return yield me({type:"save",payload:{exerciseExportHeadData:Jt({},Re)}}),Re},*getExerciseUserInfo({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.Ty,I);return(Re==null?void 0:Re.status)===0&&(yield me({type:"save",payload:Jt({},{exerciseUserInfo:Jt({},Re.data)})})),Re},*getExaminationIntelligentSettings({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.sA,I);return yield me({type:"save",payload:{examinationIntelligentSettings:Jt({},Re)}}),Re},*getRandomEditExercises({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.yu,I);return yield me({type:"save",payload:{editRandomExercises:Jt({},Re)}}),Re},*getExerciseList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.G$,I);if(Re!=null&&Re.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(Re.total_exercise_users)}catch(rn){}return yield me({type:"save",payload:{exerciseList:Jt({},Re)}}),yield me({type:"save",payload:{order_type:I.order_type,order:I.order}}),Re},*getExerciseStatistics({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je._u,I);return yield me({type:"save",payload:{statisticsList:Jt({},Re)}}),Re},*getBrankList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.n$,I);return yield me({type:"save",payload:{brankList:Jt({},Re)}}),Re},*saveBanks({payload:I,callback:O},{call:k,put:me}){return yield k(je.lf,I)},*getExerciseCourses({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.N3,I);return yield me({type:"save",payload:{exerciseCoursesList:Jt({},Re)}}),Re},*addExercise({payload:I,callback:O},{call:k,put:me}){return yield k(je.uR,I)},*editExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.qf,I);return yield me({type:"save",payload:{editData:Jt({},Re)}}),Re},*getTagDiscipline({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.YY,I);return yield me({type:"save",payload:{tagDisciplineData:Jt({},Re)}}),Re},*editExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(je.Di,I)},*addExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(je.MK,I)},*exeriseMoveUpDown({payload:I,callback:O},{call:k,put:me}){return yield k(je.GK,I)},*getEndGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.KE,I);return yield me({type:"save",payload:{endGroups:Jt({},Re)}}),Re},*getPublishGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.ux,I);return yield me({type:"save",payload:{publishGroups:Jt({},Re)}}),Re},*getCommonHeader({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.UK,I);return yield me({type:"save",payload:{commonHeader:Jt({},Re)}}),Re},*getReviewExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.BJ,I);return yield me({type:"save",payload:{reviewExercise:Jt({},Re)}}),Re},*postReviewExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.pu,I);return yield me({type:"save",payload:{reviewExercise:Jt({},Re)}}),Re},*getCentralizeReviewExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.X4,I);return yield me({type:"save",payload:{reviewExercise:Jt({},Re)}}),Re},*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 Re=yield k(je.W4,I);return yield me({type:"save",payload:{reviewGroupExercise:Jt({},Re)}}),Re},*getWorkSetting({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.Ul,I);return yield me({type:"save",payload:{workSetting:Jt({},Re)}}),Re},*getRedoModal({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.tX,I);return yield me({type:"save",payload:{redoModal:Jt({},Re)}}),Re},*getRedoListModal({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.s,I);return yield me({type:"save",payload:{redoModal:Jt({},Re)}}),Re},*getCodeReviewDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.Xn,I);return yield me({type:"save",payload:{codeReviewDetail:Jt({},Re)}}),Re},*changeScore({payload:I,callback:O},{call:k,put:me}){return yield k(je.gG,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Jt({},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 Jt(Jt({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},It=e(89887),Ut=Object.defineProperty,ot=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,et=(I,O,k)=>O in I?Ut(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ue=(I,O)=>{for(var k in O||(O={}))bt.call(O,k)&&et(I,k,O[k]);if(ot)for(var k of ot(O))ht.call(O,k)&&et(I,k,O[k]);return I},Pe={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 Re=yield k(It.x_,I);return yield me({type:"save",payload:{detailList:Ue({},Re)}}),Re},*getTasksListDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It.QA,I);return yield me({type:"save",payload:{detailTaskList:Ue({},Re)}}),Re},*getTopisDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It.B6,I);return yield me({type:"save",payload:{detail:Ue({},Re)}}),Re},*getTasksDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It.y3,I);return yield me({type:"save",payload:{tasksDetail:Ue({},Re)}}),Re},*refuseTopic({payload:I,callback:O},{call:k,put:me}){return yield k(It.mM,I)},*agreeTopic({payload:I,callback:O},{call:k,put:me}){return yield k(It.je,I)},*getReplyList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It.PC,I);yield me({type:"save",payload:{replyList:Ue({},Re)}})},*createReply({payload:I,callback:O},{call:k,put:me}){return yield k(It.PP,I)},*replyLike({payload:I,callback:O},{call:k,put:me}){return yield k(It.NA,I)},*replyUnLike({payload:I,callback:O},{call:k,put:me}){return yield k(It.YQ,I)},*deleteReply({payload:I,callback:O},{call:k,put:me}){return yield k(It.Mf,I)},*addTopicDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It.y0,I);yield me({type:"save",payload:{addTopicData:Ue({},Re)}})},*editTopicDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It.hL,I);return yield me({type:"save",payload:{editTopicData:Ue({},Re)}}),Re},*editTasksDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It._n,I);return yield me({type:"save",payload:{editTasksData:Ue({},Re)}}),Re},*addTopic({payload:I,callback:O},{call:k,put:me}){return yield k(It.Gr,I)},*editTopic({payload:I,callback:O},{call:k,put:me}){return yield k(It.wA,I)},*addTasks({payload:I,callback:O},{call:k,put:me}){return yield k(It.Sv,I)},*editTasks({payload:I,callback:O},{call:k,put:me}){return yield k(It.RP,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ue({},I)}})}},reducers:{save(I,O){return Ue(Ue({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Me=e(89392),$e=e(36708),He=Object.defineProperty,nt=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,Ht=(I,O,k)=>O in I?He(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Oe=(I,O)=>{for(var k in O||(O={}))ct.call(O,k)&&Ht(I,k,O[k]);if(nt)for(var k of nt(O))Gt.call(O,k)&&Ht(I,k,O[k]);return I},Wt={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 Re=yield k($e.h$,I);try{sessionStorage.all_student_works=JSON.stringify(Re.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(I),localStorage.setItem("all_student_works_param",JSON.stringify(I))}catch(rn){}return yield me({type:"save",payload:{workList:Oe({},Re)}}),Re},*getShixunWorkHeadInfo({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.fK,I);try{}catch(rn){}return yield me({type:"save",payload:{headerInfo:Re==null?void 0:Re.data}}),Re},*getShixunWorkList({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Z8,I);try{sessionStorage.all_student_works=JSON.stringify(Re.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(I),localStorage.setItem("all_student_works_param",JSON.stringify(I))}catch(rn){}return yield me({type:"save",payload:{shixunWorkList:Re==null?void 0:Re.data,homeworkAssistantPermissions:Re.homework_assistant_permissions,shixunAssistantPermission:Re.shixun_assistant_permission,courseAssistantPermission:Re.course_assistant_permission}}),Re},*getCodeReview({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.RP,I);return yield me({type:"save",payload:{codeReview:Oe({},Re)}}),Re},*getCodeReviewDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Xn,I);return yield me({type:"save",payload:{codeReviewDetail:Oe({},Re)}}),Re},*getWorkDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.to,I);return yield me({type:"save",payload:{workDetail:Oe({},Re)}}),Re},*updateWork({payload:I,callback:O},{call:k,put:me}){return yield k($e.H,I)},*getShixunWorkReport({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.sw,I);try{Re.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(rn){}return yield me({type:"save",payload:{shixunWorkReport:Oe({},Re)}}),Re},*getShixunWorkReports({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.cz,I);try{Re.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(rn){}return yield me({type:"save",payload:{shixunWorkReport:Oe({},Re)}}),Re},*getWorkSetting({payload:I,callback:O},{call:k,put:me}){var Re,rn;const Bn=yield k($e.Ul,I);(Re=Bn==null?void 0:Bn.group_settings)==null||Re.map(Di=>{Di.value=Di.group_name,Di.id=Di.group_id,Di.group_id=[Di.group_id]}),(rn=Bn==null?void 0:Bn.allow_late_settings)==null||rn.map(Di=>{Di.value=Di.group_name,Di.id=Di.group_id,Di.group_id=[Di.group_id]});const cn={shixun_evaluation:Bn.shixun_evaluation,challenge_settings:Bn.challenge_settings};return yield me({type:"save",payload:{workSetting:Oe({},Bn),changeData:(0,Me.cloneDeep)(cn)}}),Bn},*updateSetting({payload:I,callback:O},{call:k,put:me}){return yield k($e.m7,I)},*getCodeReviewCourse({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.JG,I);return yield me({type:"save",payload:{codeReviewCourse:Oe({},Re)}}),Re},*exportShixunWorks({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Dx,I)},*getReferenceAnswer({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Q3,I);return yield me({type:"save",payload:{referenceAnswer:Oe({},Re)}}),Re},*getPublishGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.ux,I);return yield me({type:"save",payload:{publishGroups:Oe({},Re)}}),Re},*getEndGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.KE,I);return yield me({type:"save",payload:{endGroups:Oe({},Re)}}),Re},*getBrankList({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.n$,I);return yield me({type:"save",payload:{brankList:Oe({},Re)}}),Re},*changeScore({payload:I,callback:O},{call:k,put:me}){return yield k($e.gG,I)},*saveBanks({payload:I,callback:O},{call:k,put:me}){return yield k($e.lf,I)},*addCommonHomeWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Qt,I);return yield me({type:"save",payload:{commonHomeWorkAddDefaultData:Oe({},Re)}}),Re},*getSearchMemberList({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Lz,I);return yield me({type:"save",payload:{searchMemberList:Oe({},Re)}}),Re},*getProjectList({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.ku,I);return yield me({type:"save",payload:{searchProjectList:Oe({},Re)}}),Re},*addStudentWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.ak,I);return yield me({type:"save",payload:{studentWorkAddDefaultData:Oe({},Re)}}),Re},*editStudentWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.PW,I);return yield me({type:"save",payload:{studentWorkEditDefaultData:Oe({},Re)}}),Re},*editCommonHomeWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.BD,I);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:Oe({},Re)}}),Re},*editCommonHomeWorkDefaultBankData({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.pH,I);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:Oe({},Re)}}),Re},*getReplyList({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.PC,I);yield me({type:"save",payload:{replyList:Oe({},Re)}})},*getStudentWorkDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Hj,I);yield me({type:"save",payload:{studentWorkDetail:Oe({},Re)}})},*getStudentWorkSupplyDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.ub,I);yield me({type:"save",payload:{studentWorkSupplyDetail:Oe({},Re)}})},*getStudentWorkCommon({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.JA,I);yield me({type:"save",payload:{studentWorkCommon:Oe({},Re)}})},*getAllStudentWorks({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.ql,I);return yield me({type:"save",payload:{allStudentWorks:Oe({},Re)}}),Re},*getFileRepeatResult({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.oN,I);return yield me({type:"save",payload:{codeReview:Oe({},Re)}}),Re},*getFileRepeatDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Ti,I);return yield me({type:"save",payload:{codeReviewDetail:Oe({},Re)}}),Re},*createReply({payload:I,callback:O},{call:k,put:me}){return yield k($e.PP,I)},*replyLike({payload:I,callback:O},{call:k,put:me}){return yield k($e.NA,I)},*replyUnLike({payload:I,callback:O},{call:k,put:me}){return yield k($e.YQ,I)},*deleteReply({payload:I,callback:O},{call:k,put:me}){return yield k($e.Mf,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Oe({},I)}})}},reducers:{save(I,O){return Oe(Oe({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},kt=e(92365),Zt=e(24065),Bt=Object.defineProperty,At=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,fe=(I,O,k)=>O in I?Bt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,_e=(I,O)=>{for(var k in O||(O={}))Kt.call(O,k)&&fe(I,k,O[k]);if(At)for(var k of At(O))We.call(O,k)&&fe(I,k,O[k]);return I},De={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,Re=yield O(kt.V8,I);return yield k({type:"save",payload:_e({listParams:me},Re)}),Re},*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}:_e({},me)}}),me.status?{copy_completed:!0}:me},*getClassroomLeftMenus({payload:I},{call:O,put:k}){const me=yield O(kt.w9,I);let Re=[...(me==null?void 0:me.course_modules)||[],...(me==null?void 0:me.hidden_modules)||[]],rn={};return Re==null||Re.forEach(Bn=>{rn[Bn.type]=Bn.name}),yield k({type:"save",payload:{detailLeftMenus:_e({},me),detailLeftMenusNames:rn}}),me},*getClassroomShixunsList({payload:I},{call:O,put:k}){const me=yield O(kt.Nd,I);yield k({type:"save",payload:{detailShixunsList:_e({},me)}})},*getClassroomTeacherShixunsList({payload:I},{call:O,put:k}){const me=yield O(kt.Gk,I);return yield k({type:"save",payload:{detailShixunsList:_e({},me)}}),me},*getClassroomCommonList({payload:I},{call:O,put:k}){const me=yield O(kt.Nd,I);yield k({type:"save",payload:{detailCommonHomeworksList:_e({},me)}})},*getClassroomTeacherCommonList({payload:I},{call:O,put:k}){const me=yield O(kt.Gk,I);return yield k({type:"save",payload:{detailCommonHomeworksList:_e({},me)}}),me},*getClassroomGraduationTopicsList({payload:I},{call:O,put:k}){const me=yield O(kt.yV,I);yield k({type:"save",payload:{detailGraduationTopicsList:_e({},me)}})},*getClassroomGraduationTaskList({payload:I},{call:O,put:k}){const me=yield O(kt.R2,I);yield k({type:"save",payload:{detailGraduationTaskList:_e({},me)}})},*getClassroomExercisesList({payload:I},{call:O,put:k}){const me=yield O(kt.N7,I);yield k({type:"save",payload:{detailExerciseList:_e({},me)}})},*getClassroomPollsList({payload:I},{call:O,put:k}){const me=yield O(kt.BR,I);yield k({type:"save",payload:{detailPollsList:_e({},me)}})},*getCourseGroups({payload:I},{call:O,put:k}){const me=yield O(kt.qB,I);yield k({type:"save",payload:{courseGroups:_e({},me)}})},*getAllCourseGroup({payload:I},{call:O,put:k}){const me=yield O(kt.c_,I);return yield k({type:"save",payload:{allCourseGroups:_e({},me)}}),me},*getClassroomCommonHomeworksList({payload:I},{call:O,put:k}){const me=yield O(kt.Al,I);yield k({type:"save",payload:{detailCommonHomeworksList:_e({},me)}})},*getClassroomAttendancesList({payload:I},{call:O,put:k}){const me=yield O(kt.Vw,I);yield k({type:"save",payload:{detailAttendancesList:_e({},me)}})},*getClassroomAttendancesStatistic({payload:I},{call:O,put:k}){const me=yield O(kt.Ls,I);yield k({type:"save",payload:{detailAttendancesStatistic:_e({},me)}})},*getAttendanceDetail({payload:I},{call:O,put:k}){const me=yield O(kt.zg,I);return yield k({type:"save",payload:{detailAttendancesDetail:_e({},me)}}),me},*getAnnouncementList({payload:I},{call:O,put:k}){const me=yield O(kt.QZ,I);yield k({type:"save",payload:{detailAnnouncementList:_e({},me)}})},*getAttachmentList({payload:I},{call:O,put:k}){const me=yield O(kt.KT,I);yield k({type:"save",payload:{detailAttachmentList:_e({},me.data)}})},*getCourseware({payload:I},{call:O,put:k}){const me=yield O(kt.ZT,I);yield k({type:"save",payload:{detailCourseware:_e({},me.data)}})},*getVideoList({payload:I},{call:O,put:k}){const me=yield O(kt.O3,I);yield k({type:"save",payload:{detailVideoList:_e({},me)}})},*getLiveVideoList({payload:I},{call:O,put:k}){const me=yield O(kt.DJ,I);yield k({type:"save",payload:{detailLiveVideoList:_e({},me)}})},*getCoursesMine({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.Ed,I);return yield me({type:"save",payload:{courseMine:_e({},Re)}}),Re.data},*getBoardList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.KP,I);return yield me({type:"save",payload:{detailBoardList:_e({},Re.data)}}),Re.data},*getCourseGroupsList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.kW,I);return yield me({type:"save",payload:{detailCourseGroupsList:_e({},Re)}}),Re},*getCourseStudentsList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.J2,I);return yield me({type:"save",payload:{detailCoursStudentsList:_e({},Re)}}),Re.data},*getCourseStatistics({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.g4,I);return yield me({type:"save",payload:{detailCourseStatisticsList:_e({},Re)}}),Re},*getCourseActscore({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.t1,I);return yield me({type:"save",payload:{detailCourseActscore:_e({},Re)}}),Re},*getCourseWorkscore({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.GV,I);return yield me({type:"save",payload:{detailCourseWorkscore:_e({},Re)}}),Re},*getShixunLists({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.Pj,I);return yield me({type:"save",payload:{shixunLists:_e({},Re)}}),Re},*getExperimentLists({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt._9,I);return yield me({type:"save",payload:{shixunLists:_e({},Re)}}),Re},*getShixunAiRecommendLists({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.Hn,I);return yield me({type:"save",payload:{shixunAiRecommendLists:_e({},Re)}}),Re},*getCoursesLists({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.W7,I);return yield me({type:"save",payload:{coursesLists:_e({},Re)}}),Re},*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 Re=yield k(kt.K$,I);return yield me({type:"save",payload:{schoolList:_e({},Re.school_names)}}),Re.school_names},*searchSchoolTeacherList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.nQ,I);return yield me({type:"save",payload:{searchMemberList:_e({},Re)}}),Re},*getAllTaskList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.km,I);return yield me({type:"save",payload:{taskList:[...Re.tasks]}}),Re},*updateTaskPosition({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.U8,I);return yield me({type:"save",payload:{actionTabs:{key:""}}}),Re},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:_e({},I)}})},*setUpdateData({payload:I},{call:O,put:k}){yield k({type:"save",payload:{updateData:I}})}},reducers:{save(I,O){return _e(_e({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},dt=Object.defineProperty,zt=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,wt=(I,O,k)=>O in I?dt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,xe=(I,O)=>{for(var k in O||(O={}))Ct.call(O,k)&&wt(I,k,O[k]);if(zt)for(var k of zt(O))ke.call(O,k)&&wt(I,k,O[k]);return I},gt={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:xe({},I)}})},*joincoursegroup({payload:I},{call:O,put:k}){return yield O(kt.WK,I)}},reducers:{save(I,O){return xe(xe({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Lt=Object.defineProperty,Be=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Gr=(I,O,k)=>O in I?Lt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Xr=(I,O)=>{for(var k in O||(O={}))Dr.call(O,k)&&Gr(I,k,O[k]);if(Be)for(var k of Be(O))St.call(O,k)&&Gr(I,k,O[k]);return I},Mr={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 Xr(Xr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},pr=e(31417),$r=Object.defineProperty,nn=Object.getOwnPropertySymbols,on=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,Mt=(I,O,k)=>O in I?$r(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,vt=(I,O)=>{for(var k in O||(O={}))on.call(O,k)&&Mt(I,k,O[k]);if(nn)for(var k of nn(O))sr.call(O,k)&&Mt(I,k,O[k]);return I},Nt={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 Re=yield k(pr.s3,I);return yield me({type:"save",payload:{pollsList:vt({},Re)}}),Re},*getCommonHeader({payload:I,callback:O},{call:k,put:me}){const Re=yield k(pr.UK,I);return yield me({type:"save",payload:{commonHeader:vt({},Re)}}),Re},*getPollsStatistics({payload:I,callback:O},{call:k,put:me}){const Re=yield k(pr.Qn,I);return yield me({type:"save",payload:{statisticsList:vt({},Re)}}),Re},*getBrankList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(pr.n$,I);return yield me({type:"save",payload:{brankList:vt({},Re)}}),Re},*saveBanks({payload:I,callback:O},{call:k,put:me}){return yield k(pr.lf,I)},*getPollsCourses({payload:I,callback:O},{call:k,put:me}){const Re=yield k(pr.Q9,I);return yield me({type:"save",payload:{pollsCoursesList:vt({},Re)}}),Re},*getPollsSetting({payload:I,callback:O},{call:k,put:me}){const Re=yield k(pr.Hi,I);return yield me({type:"save",payload:{pollSetting:vt({},Re)}}),Re},*editPolls({payload:I,callback:O},{call:k,put:me}){const Re=yield k(pr.Ye,I);return yield me({type:"save",payload:{editData:vt({},JSON.parse(JSON.stringify(Re)))}}),Re},*getEndGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k(pr.KE,I);return yield me({type:"save",payload:{endGroups:vt({},Re)}}),Re},*getPublishGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k(pr.ux,I);return yield me({type:"save",payload:{publishGroups:vt({},Re)}}),Re},*getExerciseBanks({payload:I,callback:O},{call:k,put:me}){const Re=yield k(pr.kp,I);return yield me({type:"save",payload:{exerciseBanks:vt({},Re)}}),Re},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:vt({},I)}})}},reducers:{save(I,O){return vt(vt({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Cr=e(43859),vr=Object.defineProperty,ut=Object.getOwnPropertySymbols,Rr=Object.prototype.hasOwnProperty,_n=Object.prototype.propertyIsEnumerable,Un=(I,O,k)=>O in I?vr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,_r=(I,O)=>{for(var k in O||(O={}))Rr.call(O,k)&&Un(I,k,O[k]);if(ut)for(var k of ut(O))_n.call(O,k)&&Un(I,k,O[k]);return I},dn={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:I},{call:O,put:k}){var me;const Re=yield O(Cr.gp,I);return(me=Re==null?void 0:Re.teacher_list)==null||me.map(rn=>(rn.key=rn.course_member_id,rn)),yield k({type:"save",payload:{list:Re}}),Re},*getStudentsList({payload:I},{call:O,put:k}){var me;const Re=yield O(Cr.ur,I);return(me=Re==null?void 0:Re.students)==null||me.map(rn=>(rn.key=rn.user_id,rn)),yield k({type:"save",payload:{studentsList:Re}}),Re},*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:_r({},I)}})},*setUpdateIndex({payload:I},{call:O,put:k}){yield k({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(I,O){return _r(_r({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Mn=e(75730),Jn=Object.defineProperty,Nn=Object.getOwnPropertySymbols,Ui=Object.prototype.hasOwnProperty,mi=Object.prototype.propertyIsEnumerable,bi=(I,O,k)=>O in I?Jn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,vi=(I,O)=>{for(var k in O||(O={}))Ui.call(O,k)&&bi(I,k,O[k]);if(Nn)for(var k of Nn(O))mi.call(O,k)&&bi(I,k,O[k]);return I},Yi={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 Re=yield k(Mn.BQ,I);return yield me({type:"save",payload:{videoStatisticsList:vi({},Re)}}),Re},*getNewVideoStatisticsList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Mn.cU,I);return yield me({type:"save",payload:{newVideoStatisticsList:vi({},Re)}}),Re},*getVideoPeopleStatics({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Mn.Zx,I);return yield me({type:"save",payload:{videoPeopleStatics:vi({},Re)}}),Re},*getVideoDurationStatics({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Mn.Mz,I);return yield me({type:"save",payload:{videoDurationStatics:vi({},Re)}}),Re},*getVideoStatistics({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Mn.ZY,I);return yield me({type:"save",payload:{videoStatistics:vi({},Re)}}),Re},*getOneVideoStatisticsList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Mn.cU,I);return yield me({type:"save",payload:{oneVideoStatisticsList:vi({},Re)}}),Re},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:vi({},I)}})},*getStudentVideoStatisticsList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Mn.Vg,I);return yield me({type:"save",payload:{StudentvideoStatistics:vi({},Re)}}),Re}},reducers:{save(I,O){return vi(vi({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Xn=e(52721),Vi=Object.defineProperty,Et=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,Qn=Object.prototype.propertyIsEnumerable,xi=(I,O,k)=>O in I?Vi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,qn=(I,O)=>{for(var k in O||(O={}))lt.call(O,k)&&xi(I,k,O[k]);if(Et)for(var k of Et(O))Qn.call(O,k)&&xi(I,k,O[k]);return I},hi={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(Xn.cC,I)},*getGuides({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Xn.Ax,I);return yield me({type:"save",payload:{GuidesData:Re}}),Re},*getWorkSubmitUpdateRes({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.zF,I)},*getList({payload:I},{call:O,put:k}){const me=I,Re=yield O(Xn.bQ,I);return yield k({type:"save",payload:qn({listParams:me},Re)}),Re},*getMemberWorks({payload:I},{call:O,put:k}){const me=yield O(Xn.xx,I);return yield k({type:"save",payload:{MemberWorks:me||{}}}),me},*addApplytojoincourse({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.qS,I)},*competitionTeams({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.Pt,I)},*getStaff({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Xn.Dh,I);return yield me({type:"save",payload:{Staff:Re}}),Re},*getHeader({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Xn.Pg,I);return yield me({type:"save",payload:{Header:Re}}),Re},*getItem({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Xn.rV,I);return yield me({type:"save",payload:{RightItems:Re}}),Re},*updateMdContent({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.zj,I)},*getTeamList({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.aq,I)},*getTeamDetail({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.Ze,I)},*UpTeam({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.yS,I)},*DeleteTeam({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.ps,I)},*ExitTeam({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.vV,I)},*AddTeam({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.FU,I)},*AddPersonnel({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.R9,I)},*JoinTeam({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.zc,I)},*getTeacher({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.jS,I)},*getStudents({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.sK,I)},*SubmitTeam({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.rm,I)},*Reward({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.Qp,I)},*ChartRules({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.Ux,I)},*Charts({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.GQ,I)},*TabResults({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Xn.ml,I);return yield me({type:"save",payload:{TabResultList:Re}}),Re},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:qn({},I)}})},*Results({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.u9,I)},*Prize({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Xn.pU,I);return yield me({type:"save",payload:{Prizes:Re}}),Re},*Accounts({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Xn.XJ,I);return yield me({type:"save",payload:{Account:Re}}),Re},*getVerification({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.Ni,I)},*PhoneBind({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.uZ,I)},*EmailBind({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.rk,I)},*Authentication({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.Vy,I)},*Professional({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.tC,I)},*setleader({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.tO,I)},*getShixun({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.qj,I)},*getCourse({payload:I,callback:O},{call:k,put:me}){return yield k(Xn.XR,I)},*competition_teams({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Xn.zz,I);return yield me({type:"save",payload:{competition_team:Re}}),Re},*all_team_members({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Xn.$P,I);return yield me({type:"save",payload:{all_team_member:Re}}),Re}},reducers:{save(I,O){return qn(qn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},ni=e(38650),bn=e(52743),tr=Object.defineProperty,mt=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,cr=(I,O,k)=>O in I?tr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Tr=(I,O)=>{for(var k in O||(O={}))pt.call(O,k)&&cr(I,k,O[k]);if(Dt)for(var k of Dt(O))ur.call(O,k)&&cr(I,k,O[k]);return I},Ur=(I,O)=>mt(I,rt(O)),tt={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[bn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${bn.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[bn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${bn.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:Tr({},I)}})},*getMajorList({payload:I},{call:O,put:k,select:me}){const{userInfo:Re}=yield me(rn=>rn.user);if(Re!=null&&Re.school_id){const rn=yield O(ni.BA,Re.school_id);rn&&rn.data&&(yield k({type:"setMajorOrYearDataSource",payload:{key:bn.k[0],value:rn.data.map(Bn=>({label:Bn.name,value:Bn.ec_major_school_id}))}}))}},*getYearList({payload:I},{call:O,put:k}){const me=yield O(ni.Nx,I);me&&me.data&&(yield k({type:"setMajorOrYearDataSource",payload:{key:bn.k[1],value:me.data.map(Re=>({label:Re.year,value:Re.ec_year_id}))}}))},*getCourseResultDetail({payload:I},{call:O,put:k}){console.log(I,"payload");const me=yield O(ni.p1,I);me&&me.ec_course_target&&(yield k({type:"setEchartsData",payload:me}))},*getCourseResultDetailClass({payload:I},{call:O,put:k}){const me=yield O(ni.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:Tr({},I)}})}},reducers:{save(I,O){return Tr(Tr({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){return Ur(Tr({},I),{headerData:Ur(Tr({},I.headerData),{dataSource:Ur(Tr({},I.headerData.dataSource),{[O.key]:Ur(Tr({},I.headerData.dataSource[O.key]),{dataList:O.value})})})})},setMajorOrYearActive(I,{payload:O}){return Ur(Tr({},I),{headerData:Ur(Tr({},I.headerData),{active:Ur(Tr({},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:[]},Re={};return O.ec_course_target.forEach((rn,Bn)=>{rn.position=Bn+1,k=Ur(Tr({},k),{dataSource:{xData:[...k.dataSource.xData,Bn+1],yBarData:[...k.dataSource.yBarData,rn.actual_grade],yLineData:[...k.dataSource.yLineData,rn.standard_grade]}});let cn=[],Di={min:[],max:[]},Ua=[],ma=[],yo=[];rn.student_data.detail.forEach((ts,fo)=>{let os=ts.score;cn.push(fo+1),Di.max.push(os>=rn.student_data.goal_score?os:null),Di.min.push(os>=rn.student_data.goal_score?null:os),Ua.push(ts.name),ma.push(ts.student_id),yo.push(ts.clazz)}),Re[Bn+1]={name:Bn+1,average_score:rn.student_data.average_score,goal_score:rn.student_data.goal_score,xData:cn,yData:Di,name_data:Ua,student_ids:ma,class_data:yo,goal_scoreData:new Array(rn.student_data.detail.length).fill(rn.student_data.goal_score),average_scoreData:new Array(rn.student_data.detail.length).fill(rn.student_data.average_score)}}),O.history.forEach(rn=>{me=Ur(Tr({},me),{xData:[...me.xData,rn.year],seriesData:[...me.seriesData,rn.total_score]})}),Ur(Tr({},I),{name:O.course_name||"",tabListData:O.ec_course_target,echartsData:{barData:k,lineData:me,scatterData:Re}})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Ee=Object.defineProperty,at=Object.getOwnPropertySymbols,nr=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable,br=(I,O,k)=>O in I?Ee(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ir=(I,O)=>{for(var k in O||(O={}))nr.call(O,k)&&br(I,k,O[k]);if(at)for(var k of at(O))Pr.call(O,k)&&br(I,k,O[k]);return I},mn={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:Ir({},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:Ir({},I)}})}},reducers:{save(I,O){return Ir(Ir({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Er=e(99309),un=Object.defineProperty,tn=Object.defineProperties,sn=Object.getOwnPropertyDescriptors,wn=Object.getOwnPropertySymbols,fa=Object.prototype.hasOwnProperty,Ci=Object.prototype.propertyIsEnumerable,fi=(I,O,k)=>O in I?un(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,hn=(I,O)=>{for(var k in O||(O={}))fa.call(O,k)&&fi(I,k,O[k]);if(wn)for(var k of wn(O))Ci.call(O,k)&&fi(I,k,O[k]);return I},ai=(I,O)=>tn(I,sn(O)),sa={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[bn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${bn.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[bn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${bn.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:hn({},I)}})},*getMajorList({},{call:I,put:O,select:k}){const{userInfo:me}=yield k(Re=>Re.user);if(me!=null&&me.school_id){const Re=yield I(ni.BA,me.school_id);if(Re&&Re.data){const rn=Er.U.getItem(me==null?void 0:me.login);yield O({type:"setMajorOrYearDataSource",payload:{key:bn.k[0],value:Re.data.map(Bn=>({label:Bn.name,value:Bn.ec_major_school_id})),active:Re.data.length>0?rn[0]||Re.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:k,select:me}){const Re=yield O(ni.Nx,I.id),{userInfo:rn}=yield me(Bn=>Bn.user);if(Re&&Re.data){const Bn=Er.U.getItem(rn==null?void 0:rn.login);yield k({type:"setMajorOrYearDataSource",payload:{key:bn.k[1],value:Re.data.map(cn=>({label:cn.year,value:cn.ec_year_id})),active:Re.data.length>0?I.firstEnter?Bn[1]:Re.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:I,put:O,select:k}){const{headerData:me}=yield k(Bn=>Bn.engineeringNavigtion),{userInfo:Re}=yield k(Bn=>Bn.user);let rn={};if(me.active[bn.k[1]]&&Re.school_id){const Bn=[me.active[bn.k[0]],me.active[bn.k[1]]];Er.U.setItem(Re==null?void 0:Re.login,Bn);const cn=yield I(ni.bA,{ec_year_id:me.active[bn.k[1]],school_id:Re.school_id});cn&&cn.data&&(rn=cn.data),yield O({type:"setTopPage",payload:rn})}},*putTopPageName({payload:I,callback:O},{call:k,put:me}){try{const Re=yield k(ni.ay,I);O(Re)}catch(Re){let rn="";Re&&(rn=JSON.stringify(Re),Re.message&&(rn=Re.message)),O({message:rn,status:999})}}},reducers:{save(I,O){return hn(hn({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let k=I.headerData.active;return O.active&&(k=ai(hn({},k),{[O.key]:O.active})),ai(hn({},I),{headerData:ai(hn({},I.headerData),{dataSource:ai(hn({},I.headerData.dataSource),{[O.key]:ai(hn({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:k})})},setMajorOrYearActive(I,{payload:O}){return ai(hn({},I),{headerData:ai(hn({},I.headerData),{active:ai(hn({},I.headerData.active),{[O.key]:O.value})})})},setTopPage(I,{payload:O}){return ai(hn({},I),{headerData:ai(hn({},I.headerData),{name:O.name,tabBarContent:{user_name:O.user_name,user_school:O.user_school,user_type:O.user_type}}),cardListData:ai(hn({},I.cardListData),{appraiseData:ai(hn({},I.cardListData.appraiseData),{norm:ai(hn({},I.cardListData.appraiseData.norm),{result:O.graduaiton_result,listData:I.cardListData.appraiseData.norm.listData.map(k=>ai(hn({},k),{value:O[k.key]||0}))}),course:ai(hn({},I.cardListData.appraiseData.course),{result:O.course_result,listData:I.cardListData.appraiseData.course.listData.map(k=>ai(hn({},k),{value:O[k.key]||0}))})}),teamData:{teach:ai(hn({},I.cardListData.teamData.teach),{tabBarContent:`${O.course_teachers?O.course_teachers.length:0}\u4EBA`,listData:O.course_teachers||[]}),work:ai(hn({},I.cardListData.teamData.work),{tabBarContent:`${O.work_teachers?O.work_teachers.length:0}\u4EBA`,listData:O.work_teachers||[]})}}),totalListData:I.totalListData.map(k=>ai(hn({},k),{value:O[k.key]||0}))})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Es=Object.defineProperty,oa=Object.defineProperties,ds=Object.getOwnPropertyDescriptors,ws=Object.getOwnPropertySymbols,ka=Object.prototype.hasOwnProperty,gs=Object.prototype.propertyIsEnumerable,Zn=(I,O,k)=>O in I?Es(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,qa=(I,O)=>{for(var k in O||(O={}))ka.call(O,k)&&Zn(I,k,O[k]);if(ws)for(var k of ws(O))gs.call(O,k)&&Zn(I,k,O[k]);return I},Ha=(I,O)=>oa(I,ds(O)),Bi={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:qa({},I)}})},*getGraduationResultDetail({payload:I},{call:O,put:k}){const me=yield O(ni.gq,I);yield k({type:"save",payload:{dataSource:me}})}},reducers:{save(I,O){return qa(qa({},I),O.payload)},setDataSource(I,{payload:O}){let k=O;return Ha(qa({},I),{dataSource:k})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},hs=e(8591),Ao=Object.defineProperty,Pa=Object.defineProperties,ta=Object.getOwnPropertyDescriptors,Ma=Object.getOwnPropertySymbols,Hs=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,Ra=(I,O,k)=>O in I?Ao(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,is=(I,O)=>{for(var k in O||(O={}))Hs.call(O,k)&&Ra(I,k,O[k]);if(Ma)for(var k of Ma(O))On.call(O,k)&&Ra(I,k,O[k]);return I},as=(I,O)=>Pa(I,ta(O)),Li=(I,O)=>{var k={};for(var me in I)Hs.call(I,me)&&O.indexOf(me)<0&&(k[me]=I[me]);if(I!=null&&Ma)for(var me of Ma(I))O.indexOf(me)<0&&On.call(I,me)&&(k[me]=I[me]);return k},Ca={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[bn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${bn.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[bn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${bn.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:is({},I)}})},*getMajorList({},{call:I,put:O,select:k}){const{userInfo:me}=yield k(Re=>Re.user);if(me!=null&&me.school_id){const Re=yield I(ni.BA,me.school_id);if(Re&&Re.data){const rn=Er.U.getItem(me==null?void 0:me.login);yield O({type:"setMajorOrYearDataSource",payload:{key:bn.k[0],value:Re.data.map(Bn=>({label:Bn.name,value:Bn.ec_major_school_id})),active:Re.data.length>0?rn[0]||Re.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:k,select:me}){const Re=yield O(ni.Nx,I.id),{userInfo:rn}=yield me(Bn=>Bn.user);if(Re&&Re.data){const Bn=Er.U.getItem(rn==null?void 0:rn.login);yield k({type:"setMajorOrYearDataSource",payload:{key:bn.k[1],value:Re.data.map(cn=>({label:cn.year,value:cn.ec_year_id})),active:Re.data.length>0?I.firstEnter?Bn[1]:Re.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:I,put:O,select:k}){const{headerData:me}=yield k(Ua=>Ua.engineeringNormList),{userInfo:Re}=yield k(Ua=>Ua.user);let rn=[],Bn=[],cn="";const Di=me.active[bn.k[1]];if(Di){const Ua=[me.active[bn.k[0]],me.active[bn.k[1]]];Er.U.setItem(Re==null?void 0:Re.login,Ua);const ma=yield I(ni.eM,Di);ma&&ma.graduation_requirements&&(cn=ma.all_goal_value||"",rn=ma.graduation_requirements.map(yo=>{var ts=yo,{subitems:fo}=ts,os=Li(ts,["subitems"]);return Bn.push(os.id),as(is({},os),{children:fo})}))}yield O({type:"save",payload:{tabListData:rn,all_goal_value:cn,expandedRowKeys:Bn}})},*exportGraduation({},{call:I,select:O}){const{headerData:k}=yield O(me=>me.engineeringNormList);k.active[bn.k[1]]&&(yield I(ni.OE,k.active[bn.k[1]]))},*compute({payload:I},{call:O,put:k}){const me=I,{all:Re}=me,rn=Li(me,["all"]),Bn=yield O(Re?ni.Qx:ni.Xl,rn);Bn&&Bn.status===0?(hs.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield k({type:"getGraduationResults"})):hs.ZP.error(Bn.message)},*getFormulas({callback:I},{call:O,select:k}){const{headerData:me}=yield k(Re=>Re.engineeringNormList);if(me.active[bn.k[1]]){const Re=yield O(ni.mK,me.active[bn.k[1]]);I(Re)}},*setFormulas({payload:I,callback:O},{call:k}){const me=yield k(ni.y9,I);O(me)},*putGoalValue({payload:I},{call:O,put:k}){const me=yield O(ni.No,I);if(me&&me.status===0)hs.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield k({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield k({type:"getGraduationResults"});else{let Re="\u4FDD\u5B58\u5931\u8D25";me&&me.message&&(Re=me.message),hs.ZP.error(Re)}}},reducers:{save(I,O){return is(is({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let k=I.headerData.active;return O.active&&(k=as(is({},k),{[O.key]:O.active})),as(is({},I),{headerData:as(is({},I.headerData),{dataSource:as(is({},I.headerData.dataSource),{[O.key]:as(is({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:k})})},setMajorOrYearActive(I,{payload:O}){return as(is({},I),{headerData:as(is({},I.headerData),{active:as(is({},I.headerData.active),{[O.key]:O.value})})})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},ls=e(67508),Ws=Object.defineProperty,bo=Object.getOwnPropertySymbols,Co=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable,ga=(I,O,k)=>O in I?Ws(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ka=(I,O)=>{for(var k in O||(O={}))Co.call(O,k)&&ga(I,k,O[k]);if(bo)for(var k of bo(O))To.call(O,k)&&ga(I,k,O[k]);return I},ho={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:I},{call:O,put:k}){const me=yield O(ls.Si,I);return yield k({type:"save",payload:{forumsDetailData:Ka({},me)}}),me},*setForumsDetailData({payload:I},{call:O,put:k}){yield k({type:"save",payload:{forumsDetailData:Ka({},I)}})}},reducers:{save(I,O){return Ka(Ka({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Po=Object.defineProperty,xo=Object.getOwnPropertySymbols,li=Object.prototype.hasOwnProperty,si=Object.prototype.propertyIsEnumerable,Fa=(I,O,k)=>O in I?Po(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Wa=(I,O)=>{for(var k in O||(O={}))li.call(O,k)&&Fa(I,k,O[k]);if(xo)for(var k of xo(O))si.call(O,k)&&Fa(I,k,O[k]);return I},Gs={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"?ls.kd:ls.bc,I);return delete I.memoType,yield k({type:"save",payload:{listParams:I,forumsData:Wa({},me)}}),me}},reducers:{save(I,O){return Wa(Wa({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Vs=e(30534),Yo=e(3294),cs=e(28209),Io=e.n(cs),Do=Object.defineProperty,jo=Object.getOwnPropertySymbols,Au=Object.prototype.hasOwnProperty,Eo=Object.prototype.propertyIsEnumerable,lo=(I,O,k)=>O in I?Do(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ks=(I,O)=>{for(var k in O||(O={}))Au.call(O,k)&&lo(I,k,O[k]);if(jo)for(var k of jo(O))Eo.call(O,k)&&lo(I,k,O[k]);return I},Oo={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,Re;const rn=yield O(Vs.D2,I);Yo.Z.ONLYOFFICE=(me=rn==null?void 0:rn.setting)==null?void 0:me.office_server_url,ko(rn);try{const Di="5183666c72eec9e4",Ua="5183666c72eec9e4";var Bn=Io().enc.Utf8.parse(Di);let ma=Io().enc.Utf8.parse(Ua);var cn=Io().AES.decrypt(((Re=rn==null?void 0:rn.setting)==null?void 0:Re.user_default_password)||"",Bn,{iv:ma,mode:Io().mode.CBC});rn.setting.user_default_password=cn.toString(Io().enc.Utf8)}catch(Di){}yield k({type:"save",payload:Ks({},rn)})},*getSystemUpdate({payload:I},{call:O,put:k}){const me=yield O(Vs.n0,I);yield k({type:"save",payload:{updateData:Ks({},me)}})},*setTheme({payload:I},{call:O,put:k}){const me=yield O(Vs.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:Ks({},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:Ks({},I)}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ks({},I)}})}},reducers:{save(I,O){return Ks(Ks({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{})}}};const ko=(I={})=>{var O,k,me,Re,rn;if(window.self!==window.top||!((O=I.setting)!=null&&O.tab_logo_url))return;const Bn=document.createElement("link"),cn=document.getElementById("dynamic-favicon");Bn.id="dynamic-favicon",Bn.rel="shortcut icon",Bn.href=(k=I.setting)!=null&&k.tab_logo_url?`${Yo.Z.IMG_SERVER}/${(me=I.setting)==null?void 0:me.tab_logo_url}`:"",cn&&document.head.removeChild(cn),document.head.appendChild(Bn);try{(Re=I.setting)!=null&&Re.main_site||(document.querySelector('meta[name="keywords"]').content=(rn=I.setting)==null?void 0:rn.name,document.querySelector('meta[name="description"]').remove())}catch(Di){}};var Ns=e(2742),du=Object.defineProperty,Mo=Object.getOwnPropertySymbols,wo=Object.prototype.hasOwnProperty,Rs=Object.prototype.propertyIsEnumerable,Ds=(I,O,k)=>O in I?du(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,hu=(I,O)=>{for(var k in O||(O={}))wo.call(O,k)&&Ds(I,k,O[k]);if(Mo)for(var k of Mo(O))Rs.call(O,k)&&Ds(I,k,O[k]);return I},Xt={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(Ns.Xh,I)},*getGraduationsFinalScore({payload:I},{call:O,put:k}){return yield O(Ns.H3,I)},*getDelGraduationsTasks({payload:I},{call:O,put:k}){return yield O(Ns.km,I)},*getGraduationsTasks({payload:I},{call:O,put:k}){const me=yield O(Ns.Xw,I);yield k({type:"save",payload:{Tasks:me}})},*getGraduationsTeachers({payload:I},{call:O,put:k}){var me;const Re=yield O(Ns.AA,I);return(me=Re==null?void 0:Re.data)==null||me.map(rn=>(rn.key=rn.id,rn)),yield k({type:"save",payload:{teachers:Re}}),Re},*getGraduationsStudents({payload:I},{call:O,put:k}){var me;const Re=yield O(Ns.eh,I);(me=Re==null?void 0:Re.data)==null||me.map(rn=>(rn.key=rn.id,rn)),yield k({type:"save",payload:{students:Re}})},*getGraduationsNotices({payload:I},{call:O,put:k}){const me=yield O(Ns.Rk,I);yield k({type:"save",payload:{Notices:me}})},*getGraduationsInfo({payload:I},{call:O,put:k}){const me=yield O(Ns.F7,I);yield k({type:"save",payload:{graduation:me.graduation}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:hu({},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(Ns.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 hu(hu({},I),O.payload)}}},fr=e(1),ar=Object.defineProperty,mr=Object.defineProperties,xr=Object.getOwnPropertyDescriptors,vn=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,$n=Object.prototype.propertyIsEnumerable,kn=(I,O,k)=>O in I?ar(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Yn=(I,O)=>{for(var k in O||(O={}))xn.call(O,k)&&kn(I,k,O[k]);if(vn)for(var k of vn(O))$n.call(O,k)&&kn(I,k,O[k]);return I},or=(I,O)=>mr(I,xr(O)),yr={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:I},{call:O,put:k}){const me=yield O(fr.Tt,{payload:I});yield k({type:"save",payload:or(Yn({},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(fr.LA,I)},*UploadNotice({payload:I,callback:O},{call:k,put:me}){return yield k(fr.S_,I)}},reducers:{save(I,O){return Yn(Yn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},fn=Object.defineProperty,zn=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,Cn=Object.getOwnPropertySymbols,Hn=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable,zi=(I,O,k)=>O in I?fn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Nr=(I,O)=>{for(var k in O||(O={}))Hn.call(O,k)&&zi(I,k,O[k]);if(Cn)for(var k of Cn(O))oi.call(O,k)&&zi(I,k,O[k]);return I},Hr=(I,O)=>zn(I,ft(O)),Ti={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 Hr(Nr({},I),{visibleModalName:O.payload})},closeModal(I){return Hr(Nr({},I),{visibleModalName:""})},openSimpleModal(I,O){return Hr(Nr({},I),{simpleModalProps:Nr({visible:!0},O.payload)})},closeSimpleModal(I){return Hr(Nr({},I),{simpleModalProps:{visible:!1}})}}},ra=e(99064),Ts=Object.defineProperty,ui=Object.getOwnPropertySymbols,$s=Object.prototype.hasOwnProperty,Fo=Object.prototype.propertyIsEnumerable,Os=(I,O,k)=>O in I?Ts(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,ha=(I,O)=>{for(var k in O||(O={}))$s.call(O,k)&&Os(I,k,O[k]);if(ui)for(var k of ui(O))Fo.call(O,k)&&Os(I,k,O[k]);return I},Na=(I,O,k)=>new Promise((me,Re)=>{var rn=Di=>{try{cn(k.next(Di))}catch(Ua){Re(Ua)}},Bn=Di=>{try{cn(k.throw(Di))}catch(Ua){Re(Ua)}},cn=Di=>Di.done?me(Di.value):Promise.resolve(Di.value).then(rn,Bn);cn((k=k.apply(I,O)).next())});const ps=I=>Na(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/banner.json",{method:"get",params:ha({},I)})}),Ln=I=>Na(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:ha({},I)})}),Ls=I=>Na(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:ha({},I)})}),Ms=I=>Na(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:ha({},I)})}),Ye=I=>Na(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects.json",{method:"post",body:ha({},I)})}),Qe=I=>Na(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:ha({},I)})}),Rt=I=>Na(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:ha({},I)})}),Vt=I=>Na(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:ha({},I)})});var dr=Object.defineProperty,kr=Object.getOwnPropertySymbols,jr=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,en=(I,O,k)=>O in I?dr(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)&&en(I,k,O[k]);if(kr)for(var k of kr(O))pn.call(O,k)&&en(I,k,O[k]);return I},ti={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:Re}}=yield O(ps,I);yield k({type:"save",payload:{BannerList:Re,Adv:me}})},*getTopCategoryList({payload:I},{call:O,put:k}){const{data:{top_category_list:me}}=yield O(Ln,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(Ls,I);yield k({type:"save",payload:{HotList:me}})},*getDiscountList({payload:I},{call:O,put:k}){const{data:{discount_list:me}}=yield O(Ms,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(Rt,I);yield k({type:"save",payload:{UserComments:me}})},*getInfoShow({payload:I},{call:O,put:k}){const{data:me}=yield O(Vt,I);yield k({type:"save",payload:{InfoShow:me}})}},reducers:{save(I,O){return gn(gn({},I),O.payload)}}},wi={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},Ni=e(10656),Fi=Object.defineProperty,yi=Object.getOwnPropertySymbols,pa=Object.prototype.hasOwnProperty,Pi=Object.prototype.propertyIsEnumerable,pi=(I,O,k)=>O in I?Fi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,ua=(I,O)=>{for(var k in O||(O={}))pa.call(O,k)&&pi(I,k,O[k]);if(yi)for(var k of yi(O))Pi.call(O,k)&&pi(I,k,O[k]);return I},_s={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:I},{call:O,put:k}){const me=yield O(Ni.Ub,I);return yield k({type:"save",payload:{privateMessageDetails:me||[]}}),me},*getTidings({payload:I},{call:O,put:k}){const me=yield O(Ni.AD,I);yield k({type:"save",payload:{tidingsList:me||[]}})},*getPrivateMessages({payload:I},{call:O,put:k}){const me=yield O(Ni.V8,I);return yield k({type:"save",payload:{privateMessage:me||[]}}),me},*getUsersForPrivateMessages({payload:I},{call:O,put:k}){const me=yield O(Ni.QJ,I);return yield k({type:"save",payload:{userPrivateMessage:me||[]}}),me},*unreadMessageInfo({payload:I},{call:O,put:k}){const me=yield O(Ni.Ig,I);yield k({type:"save",payload:{unreadInfo:me||[]}})},*getRecentContacts({payload:I},{call:O,put:k}){const me=yield O(Ni.Ko,I);return yield k({type:"save",payload:{recentContacts:me||[]}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:ua({},I)}})}},reducers:{save(I,O){return ua(ua({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Zi=e(80401),Oa=e(955),qi=e(14165),Ii=Object.defineProperty,ya=Object.defineProperties,$a=Object.getOwnPropertyDescriptors,Va=Object.getOwnPropertySymbols,io=Object.prototype.hasOwnProperty,Ya=Object.prototype.propertyIsEnumerable,co=(I,O,k)=>O in I?Ii(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,La=(I,O)=>{for(var k in O||(O={}))io.call(O,k)&&co(I,k,O[k]);if(Va)for(var k of Va(O))Ya.call(O,k)&&co(I,k,O[k]);return I},Xs=(I,O)=>ya(I,$a(O));const js=(I,O)=>{var k,me,Re,rn,Bn,cn,Di,Ua,ma;if(!I)return;const{exam:yo,single_questions:ts,multiple_questions:fo,judgement_questions:os,program_questions:vc,completion_questions:gc,subjective_questions:ul,practical_questions:Rc,combination_questions:ll,bprogram_questions:Si}=I||{},Jl=[La({type:"SINGLE",question_type:0,name:((k=O==null?void 0:O.find(za=>za.value==qi.fw[0].nameType))==null?void 0:k.name)||qi.fw[0].name},ts),La({type:"MULTIPLE",question_type:1,name:((me=O==null?void 0:O.find(za=>za.value==qi.fw[1].nameType))==null?void 0:me.name)||qi.fw[1].name},fo),La({type:"JUDGMENT",question_type:2,name:((Re=O==null?void 0:O.find(za=>za.value==qi.fw[2].nameType))==null?void 0:Re.name)||qi.fw[2].name},os),La({type:"PROGRAM",question_type:6,name:((rn=O==null?void 0:O.find(za=>za.value==qi.fw[6].nameType))==null?void 0:rn.name)||qi.fw[6].name},vc),La({type:"COMPLETION",question_type:3,name:((Bn=O==null?void 0:O.find(za=>za.value==qi.fw[3].nameType))==null?void 0:Bn.name)||qi.fw[3].name},gc),La({type:"SUBJECTIVE",question_type:4,name:((cn=O==null?void 0:O.find(za=>za.value==qi.fw[4].nameType))==null?void 0:cn.name)||qi.fw[4].name},ul),La({type:"PRACTICAL",question_type:5,name:((Di=O==null?void 0:O.find(za=>za.value==qi.fw[5].nameType))==null?void 0:Di.name)||qi.fw[5].name},Rc),La({type:"COMBINATION",question_type:7,name:((Ua=O==null?void 0:O.find(za=>za.value==qi.fw[7].nameType))==null?void 0:Ua.name)||qi.fw[7].name},ll),La({type:"BPROGRAM",question_type:8,name:((ma=O==null?void 0:O.find(za=>za.value==qi.fw[8].nameType))==null?void 0:ma.name)||qi.fw[8].name},Si)],ec=[];if(I.sort_by_qustion_type)for(const za of I.qustion_type_order_name_en)ec.push(Jl.find(Ou=>Ou.type===za));const Zs=(I.sort_by_qustion_type?ec:Jl).filter(za=>(za==null?void 0:za.questions_count)>0).map((za,Ou)=>{var Dl;return La(La({},za),{number:(0,Oa.EM)(Ou+1),questions:(Dl=za==null?void 0:za.questions)==null?void 0:Dl.map(tc=>Xs(La({},tc),{shixun:tc.examination_bank_shixun_challenges,question_type:za.question_type}))})});return{exam:yo,questionList:Zs}};var na=e(26422),ja=Object.defineProperty,ys=Object.getOwnPropertySymbols,Hi=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ce=(I,O,k)=>O in I?ja(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,wr=(I,O)=>{for(var k in O||(O={}))Hi.call(O,k)&&Ce(I,k,O[k]);if(ys)for(var k of ys(O))be.call(O,k)&&Ce(I,k,O[k]);return I},gr={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(Zi.a2,I)},*postCheckExaminationBanks({payload:I},{call:O,put:k}){return yield O(Zi.q$,I)},*postPaperlibraryCopy({payload:I},{call:O,put:k}){return yield O(Zi.ID,I)},*getDisciplines({payload:I},{call:O,put:k}){const me=yield O(Zi.d1,I);return yield k({type:"save",payload:{disciplinesData:wr({},me)}}),me},*getCustomDisciplines({payload:I},{call:O,put:k}){const me=yield O(Zi.ar,I);return yield k({type:"save",payload:{disciplinesData:wr({},me)}}),me},*getEditDisciplines({payload:I},{call:O,put:k}){const me=yield O(Zi.d1,I),Re=me==null?void 0:me.disciplines,rn=(0,na.L)(Re);return yield k({type:"save",payload:{courseOptions:rn,disciplinesData:wr({},me)}}),me},*getTeachGroupData({payload:I},{call:O,put:k}){const me=yield O(Zi.Dm,I);return yield k({type:"save",payload:{teachGroupData:wr({},me)}}),me},*getPaperData({payload:I},{call:O,put:k}){const me=yield O(Zi.iT,I),Re=yield O(Zi.cV,I),rn=js(me,Re.data);return yield k({type:"save",payload:{paperData:rn}}),me},*getPaperlibraryList({payload:I},{call:O,put:k}){return yield O(Zi.Gd,I)},*setPublic({payload:I},{call:O,put:k}){return yield O(Zi.DF,I)},*handleDelete({payload:I},{call:O,put:k}){return yield O(Zi.fn,I)},*getCourseList({payload:I},{call:O,put:k}){return yield O(Zi.tS,I)},*postBatchSendToCourse({payload:I},{call:O,put:k}){return yield O(Zi.lc,I)},*sendToClass({payload:I},{call:O,put:k}){return yield O(Zi.kp,I)},*adjustPosition({payload:I},{call:O,put:k}){return yield O(Zi.qN,I)},*setScore({payload:I},{call:O,put:k}){return yield O(Zi.ts,I)},*handleDeleteEditQuestion({payload:I},{call:O,put:k}){return yield O(Zi.NC,I)},*batchSetScore({payload:I},{call:O,put:k}){return yield O(Zi.YP,I)},*batchDelete({payload:I},{call:O,put:k}){return yield O(Zi.Hm,I)},*updatePaper({payload:I},{call:O,put:k}){return yield O(Zi.jK,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:wr({},I)}})}},reducers:{save(I,O){return wr(wr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Yr=Object.defineProperty,Sn=Object.getOwnPropertySymbols,ei=Object.prototype.hasOwnProperty,Oi=Object.prototype.propertyIsEnumerable,In=(I,O,k)=>O in I?Yr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Tn=(I,O)=>{for(var k in O||(O={}))ei.call(O,k)&&In(I,k,O[k]);if(Sn)for(var k of Sn(O))Oi.call(O,k)&&In(I,k,O[k]);return I},la={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Zi.Dq,I);return yield me({type:"save",payload:{exerciseExportHeadData:Tn({},Re)}}),Re},*editExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Zi.Di,I);return yield me({type:"save",payload:{editData:Tn({},Re)}}),Re},*getTagDiscipline({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.YY,I);return yield me({type:"save",payload:{tagDisciplineData:Tn({},Re)}}),Re},*editExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(Zi.oF,I)},*addExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(Zi.oF,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Tn({},I)}})}},reducers:{save(I,O){return Tn(Tn({},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}){}}},$i=e(86248),po=Object.defineProperty,Qs=Object.getOwnPropertySymbols,tu=Object.prototype.hasOwnProperty,tl=Object.prototype.propertyIsEnumerable,Ku=(I,O,k)=>O in I?po(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Tu=(I,O)=>{for(var k in O||(O={}))tu.call(O,k)&&Ku(I,k,O[k]);if(Qs)for(var k of Qs(O))tl.call(O,k)&&Ku(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($i.Ax,I);yield k({type:"save",payload:{discusses:Tu({},me)}})},*getPathsDetail({payload:I},{call:O,put:k}){const me=yield O($i.lk,I);return yield k({type:"save",payload:{detail:Tu({},me)}}),me},*getCourseDetail({payload:I},{call:O,put:k}){const me=yield O($i.Sp,I);return yield k({type:"save",payload:{detail:Tu({},me)}}),me},*getRightData({payload:I},{call:O,put:k}){const me=yield O($i.AQ,I);yield k({type:"save",payload:{rightData:Tu({},me)}})},*getCoureses({payload:I},{call:O,put:k}){const me=yield O($i.ue,I);yield k({type:"save",payload:{Courses:Tu({},me)}})},*getStageChildrenData({payload:I},{call:O,put:k}){const me=yield O($i.w4,I);return yield k({type:"save",payload:{StageChildrenData:me}}),me},*getStageData({payload:I},{call:O,put:k}){var me,Re;let rn=null;I!=null&&I.show_course_section?rn=yield O($i.yN,I):rn=yield O($i.p,I),yield k({type:"save",payload:{stageData:((me=rn==null?void 0:rn.data)==null?void 0:me.stages)||(rn==null?void 0:rn.stages)||[],isShowSchedule:((Re=rn==null?void 0:rn.data)==null?void 0:Re.is_show_schedule)||(rn==null?void 0:rn.is_show_schedule)||!1}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Tu({},I)}})}},reducers:{save(I,O){return Tu(Tu({},I),O.payload)}}},Ve=Object.defineProperty,Z=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,pe=(I,O,k)=>O in I?Ve(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Te=(I,O)=>{for(var k in O||(O={}))X.call(O,k)&&pe(I,k,O[k]);if(Z)for(var k of Z(O))te.call(O,k)&&pe(I,k,O[k]);return I},Tt={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,Re=yield O($i.tS,I);return yield k({type:"save",payload:Te({listParams:me},Re)}),Re},*getMenus({payload:I},{call:O,put:k}){const me=yield O($i.fh,I);yield k({type:"save",payload:{menus:me}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Te({},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 Te(Te({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},$t=Object.defineProperty,rr=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,zr=Object.prototype.propertyIsEnumerable,qr=(I,O,k)=>O in I?$t(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,En=(I,O)=>{for(var k in O||(O={}))Ar.call(O,k)&&qr(I,k,O[k]);if(rr)for(var k of rr(O))zr.call(O,k)&&qr(I,k,O[k]);return I},lr={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:I},{call:O,put:k}){return yield O($i.tu,I)},*submitCourse({payload:I},{call:O,put:k}){return yield O($i.pU,I)},*getEditCourseData({payload:I},{call:O,put:k}){return yield O($i.mQ,I)},*getSchoolOption({payload:I},{call:O,put:k}){return yield O($i.GY,I)},*appplySchool({payload:I},{call:O,put:k}){return yield O($i.bz,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:En({},I)}})}},reducers:{save(I,O){return En(En({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Ei=Object.defineProperty,ia=Object.defineProperties,aa=Object.getOwnPropertyDescriptors,Xi=Object.getOwnPropertySymbols,Ja=Object.prototype.hasOwnProperty,ss=Object.prototype.propertyIsEnumerable,bs=(I,O,k)=>O in I?Ei(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,es=(I,O)=>{for(var k in O||(O={}))Ja.call(O,k)&&bs(I,k,O[k]);if(Xi)for(var k of Xi(O))ss.call(O,k)&&bs(I,k,O[k]);return I},wa=(I,O)=>ia(I,aa(O)),xs={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:I},{call:O,put:k}){const me=yield O($i.nq,I);yield k({type:"save",payload:{SubjectUseInfos:me}})},*getRankList({payload:I},{call:O,put:k}){const me=yield O($i.Fg,I);yield k({type:"save",payload:{RankList:wa(es({},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($i.Gz,I);yield k({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:I},{call:O,put:k}){const me=yield O($i.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($i.Hl,I);yield k({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return es(es({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},_i=e(16149),Us=Object.defineProperty,ms=Object.getOwnPropertySymbols,Xo=Object.prototype.hasOwnProperty,Ps=Object.prototype.propertyIsEnumerable,_o=(I,O,k)=>O in I?Us(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,qs=(I,O)=>{for(var k in O||(O={}))Xo.call(O,k)&&_o(I,k,O[k]);if(ms)for(var k of ms(O))Ps.call(O,k)&&_o(I,k,O[k]);return I},Fu={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(_i.ex,I);return yield k({type:"save",payload:{groupfolderList:me}}),me},*getDisciplines({payload:I},{call:O,put:k}){const me=yield O(_i.d1,I);return yield k({type:"save",payload:{disciplinesData:qs({},me)}}),me},*getEditDisciplines({payload:I},{call:O,put:k}){const me=yield O(_i.d1,I),Re=me==null?void 0:me.disciplines,rn=(0,na.L)(Re);return yield k({type:"save",payload:{courseOptions:rn,disciplinesData:qs({},me)}}),me},*getBasketList({payload:I},{call:O,put:k}){const me=yield O(_i.Qj,I);return yield k({type:"save",payload:{basketData:qs({},me)}}),me},*getTeachGroupData({payload:I},{call:O,put:k}){const me=yield O(_i.Dm,I);return yield k({type:"save",payload:{teachGroupData:qs({},me)}}),me},*getEditData({payload:I},{call:O,put:k}){const me=yield O(_i.FG,I);return yield k({type:"save",payload:{editData:qs({},me)}}),me},*getEditDataBprogram({payload:I},{call:O,put:k}){const me=yield O(_i.Bo,I);return yield k({type:"save",payload:{editData:qs({},me)}}),me},*getGroupData({payload:I},{call:O,put:k}){const me=yield O(_i.hI,I);return yield k({type:"save",payload:{groupData:qs({},me)}}),me},*getItemBanks({payload:I},{call:O,put:k}){const me=yield O(_i.Of,I);return yield k({type:"save",payload:{itemBanks:qs({},me)}}),me},*setPrivate({payload:I},{call:O,put:k}){return yield O(_i.Pl,I)},*revokePublish({payload:I},{call:O,put:k}){return yield O(_i.IJ,I)},*setPublic({payload:I},{call:O,put:k}){return yield O(_i.DF,I)},*handleDelete({payload:I},{call:O,put:k}){return yield O(_i.fn,I)},*startExperience({payload:I},{call:O,put:k}){return yield O(_i.Bd,I)},*cancel({payload:I},{call:O,put:k}){return yield O(_i.al,I)},*select({payload:I},{call:O,put:k}){return yield O(_i.Ys,I)},*examUnselectAll({payload:I},{call:O,put:k}){return yield O(_i.rV,I)},*basketDelete({payload:I},{call:O,put:k}){return yield O(_i.x5,I)},*unselectAll({payload:I},{call:O,put:k}){return yield O(_i.HF,I)},*addKnowledge({payload:I},{call:O,put:k}){return yield O(_i.U6,I)},*editProblemset({payload:I},{call:O,put:k}){return yield O(_i.Wk,I)},*addProblemset({payload:I},{call:O,put:k}){return yield O(_i.Mr,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:qs({},I)}})}},reducers:{save(I,O){return qs(qs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Bo=Object.defineProperty,ru=Object.getOwnPropertySymbols,ks=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable,cu=(I,O,k)=>O in I?Bo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Js=(I,O)=>{for(var k in O||(O={}))ks.call(O,k)&&cu(I,k,O[k]);if(ru)for(var k of ru(O))Bu.call(O,k)&&cu(I,k,O[k]);return I},yl={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(_i.iT,I),Re=(0,na.r)(me);return yield k({type:"save",payload:{paperData:Re}}),me},*getEditDisciplines({payload:I},{call:O,put:k}){const me=yield O(_i.d1,I),Re=me==null?void 0:me.disciplines,rn=(0,na.L)(Re);return yield k({type:"save",payload:{courseOptions:rn,disciplinesData:Js({},me)}}),me},*setScore({payload:I},{call:O,put:k}){return yield O(_i.ts,I)},*handleDelete({payload:I},{call:O,put:k}){return yield O(_i.Cn,I)},*batchSetScore({payload:I},{call:O,put:k}){return yield O(_i.YP,I)},*batchDelete({payload:I},{call:O,put:k}){return yield O(_i.Hm,I)},*adjustPosition({payload:I},{call:O,put:k}){return yield O(_i.qN,I)},*newPreviewProblemset({payload:I},{call:O,put:k}){return yield O(_i.et,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Js({},I)}})}},reducers:{save(I,O){return Js(Js({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Uo=e(52403),bl=Object.defineProperty,zs=Object.getOwnPropertySymbols,Qo=Object.prototype.hasOwnProperty,_u=Object.prototype.propertyIsEnumerable,xl=(I,O,k)=>O in I?bl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,qo=(I,O)=>{for(var k in O||(O={}))Qo.call(O,k)&&xl(I,k,O[k]);if(zs)for(var k of zs(O))_u.call(O,k)&&xl(I,k,O[k]);return I},$l={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:I},{call:O,put:k}){const me=yield O(Uo.Go,I);return yield k({type:"save",payload:{restful:qo({},me)}}),me},*getRestfulDetail({payload:I},{call:O,put:k}){const me=yield O(Uo.H5,I);return yield k({type:"save",payload:{restfulDetail:qo({},(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:qo({},I)}})}},reducers:{save(I,O){return qo(qo({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},ii=e(49692);const sc=(I={})=>{var O,k,me,Re,rn,Bn;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:(Re=I==null?void 0:I.perference_info)==null?void 0:Re.status,username:(rn=I==null?void 0:I.perference_info)==null?void 0:rn.username,time:(Bn=I==null?void 0:I.perference_info)==null?void 0:Bn.time}]};var eo=Object.defineProperty,Ac=Object.defineProperties,fu=Object.getOwnPropertyDescriptors,Nu=Object.getOwnPropertySymbols,$u=Object.prototype.hasOwnProperty,jl=Object.prototype.propertyIsEnumerable,Ul=(I,O,k)=>O in I?eo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,mo=(I,O)=>{for(var k in O||(O={}))$u.call(O,k)&&Ul(I,k,O[k]);if(Nu)for(var k of Nu(O))jl.call(O,k)&&Ul(I,k,O[k]);return I},zo=(I,O)=>Ac(I,fu(O)),Cc={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(ii.Po,I);return yield k({type:"save",payload:{detail:mo({},me)}}),me},*getMirrorApplies({payload:I},{call:O,put:k}){const me=yield O(ii.tX,I);return yield k({type:"save",payload:{mirrorApplies:mo({},(me==null?void 0:me.data)||{})}}),me},*getRightData({payload:I},{call:O,put:k}){const me=yield O(ii.AQ,I);yield k({type:"save",payload:{rightData:mo({},me)}})},*getChallengesData({payload:I},{call:O,put:k}){const me=yield O(ii.n5,I);yield k({type:"save",payload:{challenges:mo({},me)}})},*saveCopyForExercise({payload:I},{call:O,put:k}){return yield O(ii.FB,I)},*execJupyter({payload:I},{call:O,put:k}){return yield O(ii.BK,I)},*execShixun({payload:I},{call:O,put:k}){const me=yield O(ii.Ir,I);return(me==null?void 0:me.status)===-3&&(0,Oa.eF)(),me},*openChallenge({payload:I},{call:O,put:k}){return yield O(ii.dK,I)},*challengeMoveUp({payload:I},{call:O,put:k}){return yield O(ii.zD,I)},*challengeMoveDown({payload:I},{call:O,put:k}){return yield O(ii.hn,I)},*cancelCollect({payload:I},{call:O,put:k}){return yield O(ii.rs,I)},*collect({payload:I},{call:O,put:k}){return yield O(ii.KM,I)},*searchUserCourses({payload:I},{call:O,put:k}){return yield O(ii._7,I)},*sendToCourse({payload:I},{call:O,put:k}){return yield O(ii.Q,I)},*cancelRelease({payload:I},{call:O,put:k}){return yield O(ii.Ne,I)},*cancelPublic({payload:I},{call:O,put:k}){return yield O(ii.Er,I)},*applyPublic({payload:I},{call:O,put:k}){return yield O(ii.WO,I)},*release({payload:I},{call:O,put:k}){return yield O(ii.Ar,I)},*updateAuditSituation({payload:I},{call:O,put:k}){return yield O(ii.LP,I)},*getCollaboratorsData({payload:I},{call:O,put:k}){return yield O(ii.j8,I)},*addCollaborator({payload:I},{call:O,put:k}){return yield O(ii.OV,I)},*addTeachGroupMember({payload:I},{call:O,put:k}){return yield O(ii.l3,I)},*getChangeManager({payload:I},{call:O,put:k}){return yield O(ii.P2,I)},*changeManager({payload:I},{call:O,put:k}){return yield O(ii.X$,I)},*deleteCollaborators({payload:I},{call:O,put:k}){return yield O(ii.xk,I)},*getRankingList({payload:I},{call:O,put:k}){return yield O(ii.E4,I)},*getMirrorScript({payload:I},{call:O,put:k}){return yield O(ii.Z2,I)},*getScriptContent({payload:I},{call:O,put:k}){return yield O(ii.Bj,I)},*getCustomScript({payload:I},{call:O,put:k}){return yield O(ii.Wi,I)},*updateSettingBasicInfo({payload:I},{call:O,put:k}){return yield O(ii.ZO,I)},*getShixunQuote({payload:I},{call:O,put:k}){return yield O(ii.Gr,I)},*deleteShixun({payload:I},{call:O,put:k}){return yield O(ii.Ps,I)},*permanentClose({payload:I},{call:O,put:k}){return yield O(ii.U9,I)},*getDepartments({payload:I},{call:O,put:k}){return yield O(ii.Ql,I)},*updatePermissionSetting({payload:I},{call:O,put:k}){return yield O(ii.aH,I)},*updateLearnSetting({payload:I},{call:O,put:k}){return yield O(ii.yE,I)},*updateSetting({payload:I},{call:O,put:k}){return yield O(ii.m7,I)},*getSetData({payload:I},{call:O,put:k}){return yield O(ii.U0,I)},*deleteDataSet({payload:I},{call:O,put:k}){return yield O(ii.uo,I)},*deleteGitFile({payload:I},{call:O,put:k}){return yield O(ii.sr,I)},*deleteGitFiles({payload:I},{call:O,put:k}){return yield O(ii.p0,I)},*moveGitFile({payload:I},{call:O,put:k}){return yield O(ii.IT,I)},*moveGitFiles({payload:I},{call:O,put:k}){return yield O(ii.t2,I)},*getRepository({payload:I},{call:O,put:k}){const me=yield O(ii.Ag,I);return yield k({type:"save",payload:{repository:mo({},me)}}),mo({},me)},*getRepositorys({payload:I},{call:O,put:k}){const me=yield O(ii.Wl,I);return yield k({type:"save",payload:{repository:mo({},me)}}),mo({},me)},*getRepositorys({payload:I},{call:O,put:k}){const me=yield O(ii.Wl,I);return yield k({type:"save",payload:{repository:mo({},me)}}),mo({},me)},*getSecretRepository({payload:I},{call:O,put:k}){const me=yield O(ii.w,I);return yield k({type:"save",payload:{secretRepository:mo({},me)}}),me},*addRepositoryFile({payload:I},{call:O,put:k}){return yield O(ii.v3,I)},*addRepositoryFiles({payload:I},{call:O,put:k}){return yield O(ii.fL,I)},*getRepositoryCommit({payload:I},{call:O,put:k}){return yield O(ii.Je,I)},*getFileContent({payload:I},{call:O,put:k}){const me=yield O(ii.LK,I);return yield k({type:"save",payload:{fileContent:zo(mo({},me),{params:I})}}),me},*getFileContents({payload:I},{call:O,put:k}){const me=yield O(ii.nu,I);return yield k({type:"save",payload:{fileContent:zo(mo({},me),{params:I})}}),me},*updateRepositoryFile({payload:I},{call:O,put:k}){return yield O(ii.kF,I)},*updateRepositoryFiles({payload:I},{call:O,put:k}){return yield O(ii.jq,I)},*uploadGitFolder({payload:I},{call:O,put:k}){return yield O(ii.Op,I)},*updateCollaboratorEditable({payload:I},{call:O,put:k}){return yield O(ii.Dz,I)},*getSettingsData({payload:I},{call:O,put:k}){const me=yield O(ii.DC,I);yield k({type:"save",payload:{setting:mo({},me)}})},*getChallengesNew({payload:I},{call:O,put:k}){const me=yield O(ii.km,I);yield k({type:"save",payload:{challengesNew:mo({},me)}})},*getChallengesEdit({payload:I},{call:O,put:k}){const me=yield O(ii.q0,I);return yield k({type:"save",payload:{challengesEdit:mo({},me)}}),me},*getAuditSituationData({payload:I},{call:O,put:k}){const me=yield O(ii.GI,I),Re=sc(me);yield k({type:"save",payload:{auditSituationData:Re}})},*getEditChallengesQuestion({payload:I},{call:O,put:k}){const me=yield O(ii.UQ,I);return yield k({type:"save",payload:{editChallengesQuestion:me}}),me},*getInfoWithJupyterLab({payload:I},{call:O,put:k}){const me=yield O(ii.mI,I);return yield k({type:"save",payload:{infoWithJupyterLab:me}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:mo({},I)}})}},reducers:{save(I,O){return console.log("reducers:",I,O),mo(mo({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},El=Object.defineProperty,Zc=Object.getOwnPropertySymbols,zl=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,Pu=(I,O,k)=>O in I?El(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Fs=(I,O)=>{for(var k in O||(O={}))zl.call(O,k)&&Pu(I,k,O[k]);if(Zc)for(var k of Zc(O))mu.call(O,k)&&Pu(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(ii.he,I),Re=Fs({},I);return yield k({type:"save",payload:Fs({listParams:Re},me)}),me},*getMenus({payload:I},{call:O,put:k}){var me;const Re=yield O(ii.I_,I);(me=Re==null?void 0:Re.disciplines)==null||me.map(rn=>(rn.sub_repertoires=rn.sub_disciplines,rn)),yield k({type:"save",payload:{menus:[...(Re==null?void 0:Re.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 Fs(Fs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},oc=Object.defineProperty,wl=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,uc=Object.prototype.propertyIsEnumerable,lc=(I,O,k)=>O in I?oc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,nu=(I,O)=>{for(var k in O||(O={}))ro.call(O,k)&&lc(I,k,O[k]);if(wl)for(var k of wl(O))uc.call(O,k)&&lc(I,k,O[k]);return I},vu={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:I},{call:O,put:k}){const me=yield O(ii.b8,I);return yield k({type:"save",payload:{newData:nu({},me)}}),me},*deleteAttachment({payload:I},{call:O,put:k}){return yield O(ii.OW,I)},*applyShixunMirror({payload:I},{call:O,put:k}){return yield O(ii.EH,I)},*submitShixuns({payload:I},{call:O,put:k}){return yield O(ii.eX,I)},*getShixunsJupyterLab({payload:I},{call:O,put:k}){const me=yield O(ii.Gu,I);return yield k({type:"save",payload:{newData:nu({},me)}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:nu({},I)}})},*getEnvironmentData({payload:I},{call:O,put:k}){const me=yield O(ii.K,I);return console.log(me,"response"),yield k({type:"save",payload:{environmentData:nu({},me.data)}}),me}},reducers:{save(I,O){return nu(nu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},cc=Object.defineProperty,rl=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,Hc=Object.prototype.propertyIsEnumerable,Wc=(I,O,k)=>O in I?cc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,ju=(I,O)=>{for(var k in O||(O={}))Ia.call(O,k)&&Wc(I,k,O[k]);if(rl)for(var k of rl(O))Hc.call(O,k)&&Wc(I,k,O[k]);return I},sf={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:I},{call:O,put:k}){const me=yield O(ii.e,I);yield k({type:"save",payload:{ShixunUseInfos:me}})},*getRankList({payload:I},{call:O,put:k}){const me=yield O(ii.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(ii.Gz,I);yield k({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:I},{call:O,put:k}){const me=yield O(ii.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(ii.Hl,I);yield k({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return ju(ju({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},fc=(I,O,k)=>new Promise((me,Re)=>{var rn=Di=>{try{cn(k.next(Di))}catch(Ua){Re(Ua)}},Bn=Di=>{try{cn(k.throw(Di))}catch(Ua){Re(Ua)}},cn=Di=>Di.done?me(Di.value):Promise.resolve(Di.value).then(rn,Bn);cn((k=k.apply(I,O)).next())});function iu(I){return fc(this,null,function*(){return(0,ra.ZP)("/api/shixuns/new.json",{method:"Get",params:I})})}function Gc(I){return fc(this,null,function*(){return(0,ra.ZP)(`/api/shixuns/${I.id}/required_status.json`,{method:"Get",params:{}})})}var dc=Object.defineProperty,Al=Object.defineProperties,hc=Object.getOwnPropertyDescriptors,Pc=Object.getOwnPropertySymbols,Zo=Object.prototype.hasOwnProperty,gu=Object.prototype.propertyIsEnumerable,Zl=(I,O,k)=>O in I?dc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Uu=(I,O)=>{for(var k in O||(O={}))Zo.call(O,k)&&Zl(I,k,O[k]);if(Pc)for(var k of Pc(O))gu.call(O,k)&&Zl(I,k,O[k]);return I},Ic=(I,O)=>Al(I,hc(O)),Hl={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:Uu({},I)})},*getTestData({payload:I},{call:O,put:k}){const me=yield O(iu,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(Gc,I);yield k({type:"save",payload:Uu({},me.data)})},*setSideBarTabs({payload:I},{call:O,put:k}){yield k({type:"sideBar",payload:Uu({},I)})}},reducers:{save(I,O){return Uu(Uu({},I),O.payload)},sideBar(I,O){return Ic(Uu({},I),{sideBar:Uu(Uu({},I.sideBar),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){}}},ao=e(24780),Wl=Object.defineProperty,Dc=Object.getOwnPropertySymbols,Iu=Object.prototype.hasOwnProperty,Du=Object.prototype.propertyIsEnumerable,so=(I,O,k)=>O in I?Wl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Yu=(I,O)=>{for(var k in O||(O={}))Iu.call(O,k)&&so(I,k,O[k]);if(Dc)for(var k of Dc(O))Du.call(O,k)&&so(I,k,O[k]);return I},Oc={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(ao.JJ,I);return yield k({type:"save",payload:{homeworkBanksDetail:Yu({},me)}}),me},*getSystemUpdate({payload:I},{call:O,put:k}){const me=yield O(ao.n0,I);return yield k({type:"save",payload:{systemUpdate:Yu({},me)}}),me},*getHomepageInfo({payload:I},{call:O,put:k}){const me=yield O(ao.DA,I);return yield k({type:"save",payload:{homepageInfo:Yu({},me)}}),me},*signed({payload:I},{call:O,put:k}){return yield O(ao.qN,I)},*getCourses({payload:I},{call:O,put:k}){return yield O(ao.Ho,I)},*getShixuns({payload:I},{call:O,put:k}){return yield O(ao.rV,I)},*getPaths({payload:I},{call:O,put:k}){return yield O(ao.w3,I)},*getProjects({payload:I},{call:O,put:k}){return yield O(ao.mW,I)},*getVideos({payload:I},{call:O,put:k}){return yield O(ao.WY,I)},*getReviewVideos({payload:I},{call:O,put:k}){return yield O(ao.Qx,I)},*deleteVideo({payload:I},{call:O,put:k}){return yield O(ao.FM,I)},*getQuestionBanks({payload:I},{call:O,put:k}){return yield O(ao.ai,I)},*topicsSetPublic({payload:I},{call:O,put:k}){return yield O(ao.Cx,I)},*topicsDelete({payload:I},{call:O,put:k}){return yield O(ao.WS,I)},*topicGetCourseList({payload:I},{call:O,put:k}){return yield O(ao.gI,I)},*topicSendToClass({payload:I},{call:O,put:k}){return I.object_type==="videos"?yield O(ao.Fn,I):yield O(ao.Ef,I)},*logWatchHistory({payload:I},{call:O,put:k}){const me=yield O(ao.lO,I);return me==null?void 0:me.log_id},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Yu({},I)}})}},reducers:{save(I,O){return Yu(Yu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Kc=Object.defineProperty,nl=Object.getOwnPropertySymbols,So=Object.prototype.hasOwnProperty,Cl=Object.prototype.propertyIsEnumerable,ze=(I,O,k)=>O in I?Kc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,yu=(I,O)=>{for(var k in O||(O={}))So.call(O,k)&&ze(I,k,O[k]);if(nl)for(var k of nl(O))Cl.call(O,k)&&ze(I,k,O[k]);return I},Jo=(I,O)=>{var k={};for(var me in I)So.call(I,me)&&O.indexOf(me)<0&&(k[me]=I[me]);if(I!=null&&nl)for(var me of nl(I))O.indexOf(me)<0&&Cl.call(I,me)&&(k[me]=I[me]);return k},Ro={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:Re}=me,rn=Jo(me,["to"]);if(!(yield O(ao.Es,rn)).status)try{Re?f.history.replace(Re):location.reload()}catch(cn){}},*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(ao.bG,yu({},I));return localStorage.userInfo=JSON.stringify(me),yield k({type:"save",payload:{userInfo:yu({},me)}}),me},*getNavigationInfo({payload:I},{call:O,put:k}){const me=yield O(ao.x4,yu({},I));yield k({type:"save",payload:{navigationInfo:yu({},me)}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:yu({},I)}})}},reducers:{save(I,O){return yu(yu({},I),O.payload)}}},$o=e(34640),Ho=Object.defineProperty,Gl=Object.defineProperties,Xu=Object.getOwnPropertyDescriptors,zu=Object.getOwnPropertySymbols,Wo=Object.prototype.hasOwnProperty,Vl=Object.prototype.propertyIsEnumerable,Kl=(I,O,k)=>O in I?Ho(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,au=(I,O)=>{for(var k in O||(O={}))Wo.call(O,k)&&Kl(I,k,O[k]);if(zu)for(var k of zu(O))Vl.call(O,k)&&Kl(I,k,O[k]);return I},bu=(I,O)=>Gl(I,Xu(O));const xu=()=>{var I,O,k,me,Re,rn,Bn;let cn=window.location.href.split("/");if(!cn.includes("video"))return;let Di=(I=cn[cn.length-1])==null?void 0:I.split("?")[0];Di=Number(Di);const Ua=(k=(O=cn[cn.length-1])==null?void 0:O.split("?")[1])==null?void 0:k.split("=")[1];return((Re=(me=cn[cn.length-1])==null?void 0:me.split("?")[1])==null?void 0:Re.split("=")[0])==="subject_id"?{videoId:Di,subject_id:Ua}:((Bn=(rn=cn[cn.length-1])==null?void 0:rn.split("?")[1])==null?void 0:Bn.split("=")[0])==="new_video_id"?{videoId:Di,new_video_id:Ua}:{videoId:Di,course_id:Ua}};var il={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:xu(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Mn.O2,I);return O?O(Re):yield me({type:"save",payload:{detail:au({},Re)}}),Re},*setVideoValue({payload:I},{call:O,put:k}){yield k({type:"save",payload:{detail:au({},I)}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:au({},I)}})},*setVideoTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{videoTabs:au({},I)}})},*setSelectValue({payload:I},{call:O,put:k}){yield k({type:"save",payload:{selectParams:au({},I)}})},*getStageData({payload:I},{call:O,put:k,select:me}){const Re=yield O(Mn.yN,I),rn=yield O($i.lk,{id:I.subject_id}),{queryParams:Bn}=yield me(ts=>ts.videoDetail),{stages:cn=[]}=Re,Di=[];let Ua=[],ma={};const yo=ts=>{ts.forEach(fo=>{String(fo.id)===String(Bn.videoId)&&(ma=fo),fo.item_type==="VideoItem"?Di.push(fo):fo.item_type==="Attachment"&&Ua.push(fo),fo.children&&fo.children.length&&yo(fo.children)})};cn==null||cn.forEach(ts=>{yo(ts.items)}),window.filterVideoSign=[...Di],yield k({type:"save",payload:{stages:cn,active:ma,cust_seq:rn.cust_seq,videoList:Di,attachmentList:Ua}})},*getVideoData({payload:I},{call:O,put:k,select:me}){const Re=yield O(Mn.fn,I),{categories:rn=[],coruse_videos:Bn=[]}=Re;yield k({type:"save",payload:{stages:(rn==null?void 0:rn.length)>0?rn:[{coruse_videos:Bn,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:I},{call:O,put:k,select:me}){const Re=yield O($o.R7,I),{queryParams:rn}=yield me(yo=>yo.videoDetail),{stages:Bn}=Re;let cn=[],Di=[],Ua={};const ma=yo=>{yo.forEach(ts=>{String(ts.id)===String(rn.videoId)&&(Ua=ts),ts.item_type==="VideoItem"?cn.push(ts):ts.item_type==="Attachment"&&Di.push(ts),ts.children&&ts.children.length&&ma(ts.children)})};Bn==null||Bn.forEach(yo=>{ma(yo.items)}),window.filterVideoSign=[...cn],yield k({type:"save",payload:{active:Ua,stages:Bn,cust_seq:!0,videoList:cn,attachmentList:Di}})}},reducers:{save(I,O){return au(au({},I),O.payload)},handleListItemClick(I,O){const{videoList:k,attachmentList:me}=I,Re=O.payload.videoId||O.payload.attachmentId,rn=[...k,...me].find(Bn=>`${Bn.id}`==`${Re}`);return bu(au({},I),{active:rn,queryParams:au(au({},xu()),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},vo=e(62406),al=Object.defineProperty,kc=Object.getOwnPropertySymbols,sl=Object.prototype.hasOwnProperty,Pl=Object.prototype.propertyIsEnumerable,Yl=(I,O,k)=>O in I?al(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,ol=(I,O)=>{for(var k in O||(O={}))sl.call(O,k)&&Yl(I,k,O[k]);if(kc)for(var k of kc(O))Pl.call(O,k)&&Yl(I,k,O[k]);return I},Xl={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(vo.y2,I);return yield k({type:"save",payload:{Workplace:{BaseData:me.data}}}),me},*putEditDiscussion({payload:I},{call:O,put:k}){return yield O(vo.CH,I)},*getDiscussionDetail({payload:I},{call:O,put:k}){const me=yield O(vo.XQ,I);return yield k({type:"save",payload:{DiscussionDetail:me}}),me},*postDiscussionList({payload:I},{call:O,put:k}){return yield O(vo.Ll,I)},*getDiscussionList({payload:I},{call:O,put:k}){const me=yield O(vo.EA,I);return yield k({type:"save",payload:{DiscussionList:me}}),me},*postAddLessonRes({payload:I},{call:O,put:k}){return yield O(vo.cZ,I)},*getLessonResourcesList({payload:I},{call:O,put:k}){const me=yield O(vo.b,I);return yield k({type:"save",payload:{LessonResList:me}}),me},*putGoodLessonsDetail({payload:I},{call:O,put:k}){return yield O(vo.To,I)},*getGoodLessonsDetail({payload:I},{call:O,put:k}){const me=yield O(vo.FU,I);return yield k({type:"save",payload:{LessonDetail:me}}),me},*postGoodLessonsList({payload:I},{call:O,put:k}){return yield O(vo.Vf,I)},*getGoodLessonsList({payload:I},{call:O,put:k}){const me=yield O(vo.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(vo.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(vo.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:K},model_3:{namespace:"classrooms.attachment",model:le},model_4:{namespace:"classrooms.boards",model:Ie},model_5:{namespace:"classrooms.exercise",model:Xe},model_6:{namespace:"classrooms.graduation",model:Pe},model_7:{namespace:"classrooms.homeworks",model:Wt},model_8:{namespace:"classrooms.index",model:De},model_9:{namespace:"classrooms.new",model:gt},model_10:{namespace:"classrooms.overview",model:Mr},model_11:{namespace:"classrooms.polls",model:Nt},model_12:{namespace:"classrooms.teacher",model:dn},model_13:{namespace:"classrooms.video",model:Yi},model_14:{namespace:"competitions.index",model:hi},model_15:{namespace:"engineering.evaluateDetail",model:tt},model_16:{namespace:"engineering.evaluateList",model:bn.Z},model_17:{namespace:"engineering.index",model:mn},model_18:{namespace:"engineering.navigation",model:sa},model_19:{namespace:"engineering.normDetail",model:Bi},model_20:{namespace:"engineering.normList",model:Ca},model_21:{namespace:"forums.detail",model:ho},model_22:{namespace:"forums.index",model:Gs},model_23:{namespace:"globalSetting",model:Oo},model_24:{namespace:"graduations.index",model:Xt},model_25:{namespace:"homePage",model:yr},model_26:{namespace:"innovation.index",model:Ti},model_27:{namespace:"intraincourse.index",model:ti},model_28:{namespace:"loading",model:wi},model_29:{namespace:"messages.index",model:_s},model_30:{namespace:"paperlibrary.index",model:gr},model_31:{namespace:"paperlibrary.newPaper",model:la},model_32:{namespace:"paths.detail",model:pu},model_33:{namespace:"paths.index",model:Tt},model_34:{namespace:"paths.new",model:lr},model_35:{namespace:"paths.overview",model:xs},model_36:{namespace:"problemset.index",model:Fu},model_37:{namespace:"problemset.preview",model:yl},model_38:{namespace:"resetFul.index",model:$l},model_39:{namespace:"shixuns.detail",model:Cc},model_40:{namespace:"shixuns.index",model:No},model_41:{namespace:"shixuns.new",model:vu},model_42:{namespace:"shixuns.overview",model:sf},model_43:{namespace:"shixuns.practiceSetting",model:Hl},model_44:{namespace:"user.detail",model:Oc},model_45:{namespace:"user.index",model:Ro},model_46:{namespace:"video.detail",model:il},model_47:{namespace:"virtualSpaces.index",model:Xl}};var su=Object.defineProperty,Yc=Object.getOwnPropertySymbols,Eu=Object.prototype.hasOwnProperty,go=Object.prototype.propertyIsEnumerable,Il=(I,O,k)=>O in I?su(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,ql=(I,O)=>{for(var k in O||(O={}))Eu.call(O,k)&&Il(I,k,O[k]);if(Yc)for(var k of Yc(O))go.call(O,k)&&Il(I,k,O[k]);return I};let _c;function mc(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)(ql({history:f.history},me.config||{}),{initialReducer:{},setupMiddlewares(Re){return[...Re]},setupApp(Re){Re._history=f.history}}),_c=k.current,k.current.use(l()()),(me.plugins||[]).forEach(Re=>{k.current.use(Re)});for(const Re of Object.keys(Ql))k.current.model(ql({namespace:Ql[Re].namespace},Ql[Re].model));k.current.start()}return c.createElement(r.zt,{store:k.current._store},I.children)}function Xc(){return _c}},57013:function(d,g,e){"use strict";e.d(g,{PZ:function(){return qn},eU:function(){return a},B:function(){return xi},Mg:function(){return pt},lw:function(){return mt},Kd:function(){return Dt},H8:function(){return hi}});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 o=r.createContext(null),{Consumer:h,Provider:u}=o,a=u,x=null;function p(Ze,tt){const{intlPropName:Ee="intl",forwardRef:at=!1,enforceContext:nr=!0}=tt||{},Pr=br=>React.createElement(h,null,Ir=>(nr&&invariantIntlContext(Ir),React.createElement(Ze,Object.assign({},br,{[Ee]:Ir},{ref:at?br.forwardedRef:null}))));return Pr.displayName=`injectIntl(${f(Ze)})`,Pr.WrappedComponent=Ze,c(at?React.forwardRef((br,Ir)=>React.createElement(Pr,Object.assign({},br,{forwardedRef:Ir}))):Pr,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 A(Ze){return Ze.type===y.number}function R(Ze){return Ze.type===y.date}function L(Ze){return Ze.type===y.time}function P(Ze){return Ze.type===y.select}function D(Ze){return Ze.type===y.plural}function B(Ze){return Ze.type===y.pound}function $(Ze){return!!(Ze&&typeof Ze=="object"&&Ze.type===0)}function j(Ze){return!!(Ze&&typeof Ze=="object"&&Ze.type===1)}function K(Ze){return{type:y.literal,value:Ze}}function V(Ze,tt){return{type:y.number,value:Ze,style:tt}}var W=function(){var Ze=function(tt,Ee){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(at,nr){at.__proto__=nr}||function(at,nr){for(var Pr in nr)nr.hasOwnProperty(Pr)&&(at[Pr]=nr[Pr])},Ze(tt,Ee)};return function(tt,Ee){Ze(tt,Ee);function at(){this.constructor=tt}tt.prototype=Ee===null?Object.create(Ee):(at.prototype=Ee.prototype,new at)}}(),oe=function(){return oe=Object.assign||function(Ze){for(var tt,Ee=1,at=arguments.length;Ee<at;Ee++){tt=arguments[Ee];for(var nr in tt)Object.prototype.hasOwnProperty.call(tt,nr)&&(Ze[nr]=tt[nr])}return Ze},oe.apply(this,arguments)},ae=function(Ze){W(tt,Ze);function tt(Ee,at,nr,Pr){var br=Ze.call(this)||this;return br.message=Ee,br.expected=at,br.found=nr,br.location=Pr,br.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(br,tt),br}return tt.buildMessage=function(Ee,at){function nr(Er){return Er.charCodeAt(0).toString(16).toUpperCase()}function Pr(Er){return Er.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"+nr(un)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(un){return"\\x"+nr(un)})}function br(Er){return Er.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"+nr(un)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(un){return"\\x"+nr(un)})}function Ir(Er){switch(Er.type){case"literal":return'"'+Pr(Er.text)+'"';case"class":var un=Er.parts.map(function(tn){return Array.isArray(tn)?br(tn[0])+"-"+br(tn[1]):br(tn)});return"["+(Er.inverted?"^":"")+un+"]";case"any":return"any character";case"end":return"end of input";case"other":return Er.description}}function Br(Er){var un=Er.map(Ir),tn,sn;if(un.sort(),un.length>0){for(tn=1,sn=1;tn<un.length;tn++)un[tn-1]!==un[tn]&&(un[sn]=un[tn],sn++);un.length=sn}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 mn(Er){return Er?'"'+Pr(Er)+'"':"end of input"}return"Expected "+Br(Ee)+" but "+mn(at)+" found."},tt}(Error);function ce(Ze,tt){tt=tt!==void 0?tt:{};var Ee={},at={start:Ye},nr=Ye,Pr=function(be){return be.join("")},br=function(be){return oe({type:y.literal,value:be},Hi())},Ir="#",Br=ui("#",!1),mn=function(){return oe({type:y.pound},Hi())},Er=ha("argumentElement"),un="{",tn=ui("{",!1),sn="}",wn=ui("}",!1),fa=function(be){return oe({type:y.argument,value:be},Hi())},Ci=ha("numberSkeletonId"),fi=/^['\/{}]/,hn=$s(["'","/","{","}"],!1,!1),ai=Fo(),Mi=ha("numberSkeletonTokenOption"),sa="/",Es=ui("/",!1),oa=function(be){return be},ds=ha("numberSkeletonToken"),ws=function(be,Ce){return{stem:be,options:Ce}},ka=function(be){return oe({type:0,tokens:be},Hi())},gs="::",Zn=ui("::",!1),qa=function(be){return be},Ha=function(){return na.push("numberArgStyle"),!0},Ss=function(be){return na.pop(),be.replace(/\s*$/,"")},Bi=",",hs=ui(",",!1),Ao="number",Pa=ui("number",!1),ta=function(be,Ce,wr){return oe({type:Ce==="number"?y.number:Ce==="date"?y.date:y.time,style:wr&&wr[2],value:be},Hi())},Ma="'",Hs=ui("'",!1),On=/^[^']/,Ra=$s(["'"],!0,!1),is=/^[^a-zA-Z'{}]/,as=$s([["a","z"],["A","Z"],"'","{","}"],!0,!1),Li=/^[a-zA-Z]/,Da=$s([["a","z"],["A","Z"]],!1,!1),Ca=function(be){return oe({type:1,pattern:be},Hi())},ls=function(){return na.push("dateOrTimeArgStyle"),!0},Ws="date",bo=ui("date",!1),Co="time",To=ui("time",!1),ga="plural",Ka=ui("plural",!1),uo="selectordinal",ho=ui("selectordinal",!1),Po="offset:",xo=ui("offset:",!1),li=function(be,Ce,wr,Qr){return oe({type:y.plural,pluralType:Ce==="plural"?"cardinal":"ordinal",value:be,offset:wr?wr[2]:0,options:Qr.reduce(function(gr,Yr){var Sn=Yr.id,ei=Yr.value,Oi=Yr.location;return Sn in gr&&Ts('Duplicate option "'+Sn+'" in plural element: "'+da()+'"',Ti()),gr[Sn]={value:ei,location:Oi},gr},{})},Hi())},si="select",Fa=ui("select",!1),Wa=function(be,Ce){return oe({type:y.select,value:be,options:Ce.reduce(function(wr,Qr){var gr=Qr.id,Yr=Qr.value,Sn=Qr.location;return gr in wr&&Ts('Duplicate option "'+gr+'" in select element: "'+da()+'"',Ti()),wr[gr]={value:Yr,location:Sn},wr},{})},Hi())},Ga="=",Gs=ui("=",!1),Vs=function(be){return na.push("select"),!0},Yo=function(be,Ce){return na.pop(),oe({id:be,value:Ce},Hi())},cs=function(be){return na.push("plural"),!0},Io=function(be,Ce){return na.pop(),oe({id:be,value:Ce},Hi())},Do=ha("whitespace"),jo=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Au=$s([[" ","\r"]," ","\x85","\xA0","\u1680",["\u2000","\u200A"],"\u2028","\u2029","\u202F","\u205F","\u3000"],!1,!1),Eo=ha("syntax pattern"),lo=/^[!-\/:-@[-\^`{-~\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]/,Ks=$s([["!","/"],[":","@"],["[","^"],"`",["{","~"],["\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),Mu=ha("optional whitespace"),Oo=ha("number"),ko="-",Ns=ui("-",!1),du=function(be,Ce){return Ce?be?-Ce:Ce:0},Mo=ha("apostrophe"),wo=ha("double apostrophes"),Rs="''",Ds=ui("''",!1),hu=function(){return"'"},Cu=function(be,Ce){return be+Ce.replace("''","'")},Xt=function(be){return be!=="{"&&!(ys()&&be==="#")&&!(ja()&&be==="}")},fr=`
|
|
|
`,ar=ui(`
|
|
|
`,!1),mr=function(be){return be==="{"||be==="}"||ys()&&be==="#"},xr=ha("argNameOrNumber"),vn=ha("argNumber"),xn="0",$n=ui("0",!1),kn=function(){return 0},Yn=/^[1-9]/,or=$s([["1","9"]],!1,!1),Lr=/^[0-9]/,yr=$s([["0","9"]],!1,!1),fn=function(be){return parseInt(be.join(""),10)},zn=ha("argName"),ft=0,Cn=0,Hn=[{line:1,column:1}],oi=0,zi=[],Nr=0,Hr;if(tt.startRule!==void 0){if(!(tt.startRule in at))throw new Error(`Can't start parsing from rule "`+tt.startRule+'".');nr=at[tt.startRule]}function da(){return Ze.substring(Cn,ft)}function Ti(){return ps(Cn,ft)}function ra(be,Ce){throw Ce=Ce!==void 0?Ce:ps(Cn,ft),Ms([ha(be)],Ze.substring(Cn,ft),Ce)}function Ts(be,Ce){throw Ce=Ce!==void 0?Ce:ps(Cn,ft),Ls(be,Ce)}function ui(be,Ce){return{type:"literal",text:be,ignoreCase:Ce}}function $s(be,Ce,wr){return{type:"class",parts:be,inverted:Ce,ignoreCase:wr}}function Fo(){return{type:"any"}}function Os(){return{type:"end"}}function ha(be){return{type:"other",description:be}}function Na(be){var Ce=Hn[be],wr;if(Ce)return Ce;for(wr=be-1;!Hn[wr];)wr--;for(Ce=Hn[wr],Ce={line:Ce.line,column:Ce.column};wr<be;)Ze.charCodeAt(wr)===10?(Ce.line++,Ce.column=1):Ce.column++,wr++;return Hn[be]=Ce,Ce}function ps(be,Ce){var wr=Na(be),Qr=Na(Ce);return{start:{offset:be,line:wr.line,column:wr.column},end:{offset:Ce,line:Qr.line,column:Qr.column}}}function Ln(be){ft<oi||(ft>oi&&(oi=ft,zi=[]),zi.push(be))}function Ls(be,Ce){return new ae(be,[],"",Ce)}function Ms(be,Ce,wr){return new ae(ae.buildMessage(be,Ce),be,Ce,wr)}function Ye(){var be;return be=Qe(),be}function Qe(){var be,Ce;for(be=[],Ce=Rt();Ce!==Ee;)be.push(Ce),Ce=Rt();return be}function Rt(){var be;return be=dr(),be===Ee&&(be=jr(),be===Ee&&(be=Pi(),be===Ee&&(be=pi(),be===Ee&&(be=ua(),be===Ee&&(be=kr()))))),be}function Vt(){var be,Ce,wr;if(be=ft,Ce=[],wr=Va(),wr===Ee&&(wr=io(),wr===Ee&&(wr=Ya())),wr!==Ee)for(;wr!==Ee;)Ce.push(wr),wr=Va(),wr===Ee&&(wr=io(),wr===Ee&&(wr=Ya()));else Ce=Ee;return Ce!==Ee&&(Cn=be,Ce=Pr(Ce)),be=Ce,be}function dr(){var be,Ce;return be=ft,Ce=Vt(),Ce!==Ee&&(Cn=be,Ce=br(Ce)),be=Ce,be}function kr(){var be,Ce;return be=ft,Ze.charCodeAt(ft)===35?(Ce=Ir,ft++):(Ce=Ee,Nr===0&&Ln(Br)),Ce!==Ee&&(Cn=be,Ce=mn()),be=Ce,be}function jr(){var be,Ce,wr,Qr,gr,Yr;return Nr++,be=ft,Ze.charCodeAt(ft)===123?(Ce=un,ft++):(Ce=Ee,Nr===0&&Ln(tn)),Ce!==Ee?(wr=Ii(),wr!==Ee?(Qr=La(),Qr!==Ee?(gr=Ii(),gr!==Ee?(Ze.charCodeAt(ft)===125?(Yr=sn,ft++):(Yr=Ee,Nr===0&&Ln(wn)),Yr!==Ee?(Cn=be,Ce=fa(Qr),be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee),Nr--,be===Ee&&(Ce=Ee,Nr===0&&Ln(Er)),be}function pn(){var be,Ce,wr,Qr,gr;if(Nr++,be=ft,Ce=[],wr=ft,Qr=ft,Nr++,gr=Oa(),gr===Ee&&(fi.test(Ze.charAt(ft))?(gr=Ze.charAt(ft),ft++):(gr=Ee,Nr===0&&Ln(hn))),Nr--,gr===Ee?Qr=void 0:(ft=Qr,Qr=Ee),Qr!==Ee?(Ze.length>ft?(gr=Ze.charAt(ft),ft++):(gr=Ee,Nr===0&&Ln(ai)),gr!==Ee?(Qr=[Qr,gr],wr=Qr):(ft=wr,wr=Ee)):(ft=wr,wr=Ee),wr!==Ee)for(;wr!==Ee;)Ce.push(wr),wr=ft,Qr=ft,Nr++,gr=Oa(),gr===Ee&&(fi.test(Ze.charAt(ft))?(gr=Ze.charAt(ft),ft++):(gr=Ee,Nr===0&&Ln(hn))),Nr--,gr===Ee?Qr=void 0:(ft=Qr,Qr=Ee),Qr!==Ee?(Ze.length>ft?(gr=Ze.charAt(ft),ft++):(gr=Ee,Nr===0&&Ln(ai)),gr!==Ee?(Qr=[Qr,gr],wr=Qr):(ft=wr,wr=Ee)):(ft=wr,wr=Ee);else Ce=Ee;return Ce!==Ee?be=Ze.substring(be,ft):be=Ce,Nr--,be===Ee&&(Ce=Ee,Nr===0&&Ln(Ci)),be}function en(){var be,Ce,wr;return Nr++,be=ft,Ze.charCodeAt(ft)===47?(Ce=sa,ft++):(Ce=Ee,Nr===0&&Ln(Es)),Ce!==Ee?(wr=pn(),wr!==Ee?(Cn=be,Ce=oa(wr),be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee),Nr--,be===Ee&&(Ce=Ee,Nr===0&&Ln(Mi)),be}function gn(){var be,Ce,wr,Qr,gr;if(Nr++,be=ft,Ce=Ii(),Ce!==Ee)if(wr=pn(),wr!==Ee){for(Qr=[],gr=en();gr!==Ee;)Qr.push(gr),gr=en();Qr!==Ee?(Cn=be,Ce=ws(wr,Qr),be=Ce):(ft=be,be=Ee)}else ft=be,be=Ee;else ft=be,be=Ee;return Nr--,be===Ee&&(Ce=Ee,Nr===0&&Ln(ds)),be}function Wn(){var be,Ce,wr;if(be=ft,Ce=[],wr=gn(),wr!==Ee)for(;wr!==Ee;)Ce.push(wr),wr=gn();else Ce=Ee;return Ce!==Ee&&(Cn=be,Ce=ka(Ce)),be=Ce,be}function ti(){var be,Ce,wr;return be=ft,Ze.substr(ft,2)===gs?(Ce=gs,ft+=2):(Ce=Ee,Nr===0&&Ln(Zn)),Ce!==Ee?(wr=Wn(),wr!==Ee?(Cn=be,Ce=qa(wr),be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee),be===Ee&&(be=ft,Cn=ft,Ce=Ha(),Ce?Ce=void 0:Ce=Ee,Ce!==Ee?(wr=Vt(),wr!==Ee?(Cn=be,Ce=Ss(wr),be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee)),be}function gi(){var be,Ce,wr,Qr,gr,Yr,Sn,ei,Oi,In,Tn,Fn,la;return be=ft,Ze.charCodeAt(ft)===123?(Ce=un,ft++):(Ce=Ee,Nr===0&&Ln(tn)),Ce!==Ee?(wr=Ii(),wr!==Ee?(Qr=La(),Qr!==Ee?(gr=Ii(),gr!==Ee?(Ze.charCodeAt(ft)===44?(Yr=Bi,ft++):(Yr=Ee,Nr===0&&Ln(hs)),Yr!==Ee?(Sn=Ii(),Sn!==Ee?(Ze.substr(ft,6)===Ao?(ei=Ao,ft+=6):(ei=Ee,Nr===0&&Ln(Pa)),ei!==Ee?(Oi=Ii(),Oi!==Ee?(In=ft,Ze.charCodeAt(ft)===44?(Tn=Bi,ft++):(Tn=Ee,Nr===0&&Ln(hs)),Tn!==Ee?(Fn=Ii(),Fn!==Ee?(la=ti(),la!==Ee?(Tn=[Tn,Fn,la],In=Tn):(ft=In,In=Ee)):(ft=In,In=Ee)):(ft=In,In=Ee),In===Ee&&(In=null),In!==Ee?(Tn=Ii(),Tn!==Ee?(Ze.charCodeAt(ft)===125?(Fn=sn,ft++):(Fn=Ee,Nr===0&&Ln(wn)),Fn!==Ee?(Cn=be,Ce=ta(Qr,ei,In),be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee),be}function wi(){var be,Ce,wr,Qr;if(be=ft,Ze.charCodeAt(ft)===39?(Ce=Ma,ft++):(Ce=Ee,Nr===0&&Ln(Hs)),Ce!==Ee){if(wr=[],Qr=Va(),Qr===Ee&&(On.test(Ze.charAt(ft))?(Qr=Ze.charAt(ft),ft++):(Qr=Ee,Nr===0&&Ln(Ra))),Qr!==Ee)for(;Qr!==Ee;)wr.push(Qr),Qr=Va(),Qr===Ee&&(On.test(Ze.charAt(ft))?(Qr=Ze.charAt(ft),ft++):(Qr=Ee,Nr===0&&Ln(Ra)));else wr=Ee;wr!==Ee?(Ze.charCodeAt(ft)===39?(Qr=Ma,ft++):(Qr=Ee,Nr===0&&Ln(Hs)),Qr!==Ee?(Ce=[Ce,wr,Qr],be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee)}else ft=be,be=Ee;if(be===Ee)if(be=[],Ce=Va(),Ce===Ee&&(is.test(Ze.charAt(ft))?(Ce=Ze.charAt(ft),ft++):(Ce=Ee,Nr===0&&Ln(as))),Ce!==Ee)for(;Ce!==Ee;)be.push(Ce),Ce=Va(),Ce===Ee&&(is.test(Ze.charAt(ft))?(Ce=Ze.charAt(ft),ft++):(Ce=Ee,Nr===0&&Ln(as)));else be=Ee;return be}function Ni(){var be,Ce;if(be=[],Li.test(Ze.charAt(ft))?(Ce=Ze.charAt(ft),ft++):(Ce=Ee,Nr===0&&Ln(Da)),Ce!==Ee)for(;Ce!==Ee;)be.push(Ce),Li.test(Ze.charAt(ft))?(Ce=Ze.charAt(ft),ft++):(Ce=Ee,Nr===0&&Ln(Da));else be=Ee;return be}function Fi(){var be,Ce,wr,Qr;if(be=ft,Ce=ft,wr=[],Qr=wi(),Qr===Ee&&(Qr=Ni()),Qr!==Ee)for(;Qr!==Ee;)wr.push(Qr),Qr=wi(),Qr===Ee&&(Qr=Ni());else wr=Ee;return wr!==Ee?Ce=Ze.substring(Ce,ft):Ce=wr,Ce!==Ee&&(Cn=be,Ce=Ca(Ce)),be=Ce,be}function yi(){var be,Ce,wr;return be=ft,Ze.substr(ft,2)===gs?(Ce=gs,ft+=2):(Ce=Ee,Nr===0&&Ln(Zn)),Ce!==Ee?(wr=Fi(),wr!==Ee?(Cn=be,Ce=qa(wr),be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee),be===Ee&&(be=ft,Cn=ft,Ce=ls(),Ce?Ce=void 0:Ce=Ee,Ce!==Ee?(wr=Vt(),wr!==Ee?(Cn=be,Ce=Ss(wr),be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee)),be}function pa(){var be,Ce,wr,Qr,gr,Yr,Sn,ei,Oi,In,Tn,Fn,la;return be=ft,Ze.charCodeAt(ft)===123?(Ce=un,ft++):(Ce=Ee,Nr===0&&Ln(tn)),Ce!==Ee?(wr=Ii(),wr!==Ee?(Qr=La(),Qr!==Ee?(gr=Ii(),gr!==Ee?(Ze.charCodeAt(ft)===44?(Yr=Bi,ft++):(Yr=Ee,Nr===0&&Ln(hs)),Yr!==Ee?(Sn=Ii(),Sn!==Ee?(Ze.substr(ft,4)===Ws?(ei=Ws,ft+=4):(ei=Ee,Nr===0&&Ln(bo)),ei===Ee&&(Ze.substr(ft,4)===Co?(ei=Co,ft+=4):(ei=Ee,Nr===0&&Ln(To))),ei!==Ee?(Oi=Ii(),Oi!==Ee?(In=ft,Ze.charCodeAt(ft)===44?(Tn=Bi,ft++):(Tn=Ee,Nr===0&&Ln(hs)),Tn!==Ee?(Fn=Ii(),Fn!==Ee?(la=yi(),la!==Ee?(Tn=[Tn,Fn,la],In=Tn):(ft=In,In=Ee)):(ft=In,In=Ee)):(ft=In,In=Ee),In===Ee&&(In=null),In!==Ee?(Tn=Ii(),Tn!==Ee?(Ze.charCodeAt(ft)===125?(Fn=sn,ft++):(Fn=Ee,Nr===0&&Ln(wn)),Fn!==Ee?(Cn=be,Ce=ta(Qr,ei,In),be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee),be}function Pi(){var be;return be=gi(),be===Ee&&(be=pa()),be}function pi(){var be,Ce,wr,Qr,gr,Yr,Sn,ei,Oi,In,Tn,Fn,la,$i,po,Qs;if(be=ft,Ze.charCodeAt(ft)===123?(Ce=un,ft++):(Ce=Ee,Nr===0&&Ln(tn)),Ce!==Ee)if(wr=Ii(),wr!==Ee)if(Qr=La(),Qr!==Ee)if(gr=Ii(),gr!==Ee)if(Ze.charCodeAt(ft)===44?(Yr=Bi,ft++):(Yr=Ee,Nr===0&&Ln(hs)),Yr!==Ee)if(Sn=Ii(),Sn!==Ee)if(Ze.substr(ft,6)===ga?(ei=ga,ft+=6):(ei=Ee,Nr===0&&Ln(Ka)),ei===Ee&&(Ze.substr(ft,13)===uo?(ei=uo,ft+=13):(ei=Ee,Nr===0&&Ln(ho))),ei!==Ee)if(Oi=Ii(),Oi!==Ee)if(Ze.charCodeAt(ft)===44?(In=Bi,ft++):(In=Ee,Nr===0&&Ln(hs)),In!==Ee)if(Tn=Ii(),Tn!==Ee)if(Fn=ft,Ze.substr(ft,7)===Po?(la=Po,ft+=7):(la=Ee,Nr===0&&Ln(xo)),la!==Ee?($i=Ii(),$i!==Ee?(po=ya(),po!==Ee?(la=[la,$i,po],Fn=la):(ft=Fn,Fn=Ee)):(ft=Fn,Fn=Ee)):(ft=Fn,Fn=Ee),Fn===Ee&&(Fn=null),Fn!==Ee)if(la=Ii(),la!==Ee){if($i=[],po=Zi(),po!==Ee)for(;po!==Ee;)$i.push(po),po=Zi();else $i=Ee;$i!==Ee?(po=Ii(),po!==Ee?(Ze.charCodeAt(ft)===125?(Qs=sn,ft++):(Qs=Ee,Nr===0&&Ln(wn)),Qs!==Ee?(Cn=be,Ce=li(Qr,ei,Fn,$i),be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)}else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;return be}function ua(){var be,Ce,wr,Qr,gr,Yr,Sn,ei,Oi,In,Tn,Fn,la,$i;if(be=ft,Ze.charCodeAt(ft)===123?(Ce=un,ft++):(Ce=Ee,Nr===0&&Ln(tn)),Ce!==Ee)if(wr=Ii(),wr!==Ee)if(Qr=La(),Qr!==Ee)if(gr=Ii(),gr!==Ee)if(Ze.charCodeAt(ft)===44?(Yr=Bi,ft++):(Yr=Ee,Nr===0&&Ln(hs)),Yr!==Ee)if(Sn=Ii(),Sn!==Ee)if(Ze.substr(ft,6)===si?(ei=si,ft+=6):(ei=Ee,Nr===0&&Ln(Fa)),ei!==Ee)if(Oi=Ii(),Oi!==Ee)if(Ze.charCodeAt(ft)===44?(In=Bi,ft++):(In=Ee,Nr===0&&Ln(hs)),In!==Ee)if(Tn=Ii(),Tn!==Ee){if(Fn=[],la=_s(),la!==Ee)for(;la!==Ee;)Fn.push(la),la=_s();else Fn=Ee;Fn!==Ee?(la=Ii(),la!==Ee?(Ze.charCodeAt(ft)===125?($i=sn,ft++):($i=Ee,Nr===0&&Ln(wn)),$i!==Ee?(Cn=be,Ce=Wa(Qr,Fn),be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)}else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;else ft=be,be=Ee;return be}function Ys(){var be,Ce,wr,Qr;return be=ft,Ce=ft,Ze.charCodeAt(ft)===61?(wr=Ga,ft++):(wr=Ee,Nr===0&&Ln(Gs)),wr!==Ee?(Qr=ya(),Qr!==Ee?(wr=[wr,Qr],Ce=wr):(ft=Ce,Ce=Ee)):(ft=Ce,Ce=Ee),Ce!==Ee?be=Ze.substring(be,ft):be=Ce,be===Ee&&(be=js()),be}function _s(){var be,Ce,wr,Qr,gr,Yr,Sn,ei;return be=ft,Ce=Ii(),Ce!==Ee?(wr=js(),wr!==Ee?(Qr=Ii(),Qr!==Ee?(Ze.charCodeAt(ft)===123?(gr=un,ft++):(gr=Ee,Nr===0&&Ln(tn)),gr!==Ee?(Cn=ft,Yr=Vs(wr),Yr?Yr=void 0:Yr=Ee,Yr!==Ee?(Sn=Qe(),Sn!==Ee?(Ze.charCodeAt(ft)===125?(ei=sn,ft++):(ei=Ee,Nr===0&&Ln(wn)),ei!==Ee?(Cn=be,Ce=Yo(wr,Sn),be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee),be}function Zi(){var be,Ce,wr,Qr,gr,Yr,Sn,ei;return be=ft,Ce=Ii(),Ce!==Ee?(wr=Ys(),wr!==Ee?(Qr=Ii(),Qr!==Ee?(Ze.charCodeAt(ft)===123?(gr=un,ft++):(gr=Ee,Nr===0&&Ln(tn)),gr!==Ee?(Cn=ft,Yr=cs(wr),Yr?Yr=void 0:Yr=Ee,Yr!==Ee?(Sn=Qe(),Sn!==Ee?(Ze.charCodeAt(ft)===125?(ei=sn,ft++):(ei=Ee,Nr===0&&Ln(wn)),ei!==Ee?(Cn=be,Ce=Io(wr,Sn),be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee)):(ft=be,be=Ee),be}function Oa(){var be,Ce;return Nr++,jo.test(Ze.charAt(ft))?(be=Ze.charAt(ft),ft++):(be=Ee,Nr===0&&Ln(Au)),Nr--,be===Ee&&(Ce=Ee,Nr===0&&Ln(Do)),be}function qi(){var be,Ce;return Nr++,lo.test(Ze.charAt(ft))?(be=Ze.charAt(ft),ft++):(be=Ee,Nr===0&&Ln(Ks)),Nr--,be===Ee&&(Ce=Ee,Nr===0&&Ln(Eo)),be}function Ii(){var be,Ce,wr;for(Nr++,be=ft,Ce=[],wr=Oa();wr!==Ee;)Ce.push(wr),wr=Oa();return Ce!==Ee?be=Ze.substring(be,ft):be=Ce,Nr--,be===Ee&&(Ce=Ee,Nr===0&&Ln(Mu)),be}function ya(){var be,Ce,wr;return Nr++,be=ft,Ze.charCodeAt(ft)===45?(Ce=ko,ft++):(Ce=Ee,Nr===0&&Ln(Ns)),Ce===Ee&&(Ce=null),Ce!==Ee?(wr=Xs(),wr!==Ee?(Cn=be,Ce=du(Ce,wr),be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee),Nr--,be===Ee&&(Ce=Ee,Nr===0&&Ln(Oo)),be}function $a(){var be,Ce;return Nr++,Ze.charCodeAt(ft)===39?(be=Ma,ft++):(be=Ee,Nr===0&&Ln(Hs)),Nr--,be===Ee&&(Ce=Ee,Nr===0&&Ln(Mo)),be}function Va(){var be,Ce;return Nr++,be=ft,Ze.substr(ft,2)===Rs?(Ce=Rs,ft+=2):(Ce=Ee,Nr===0&&Ln(Ds)),Ce!==Ee&&(Cn=be,Ce=hu()),be=Ce,Nr--,be===Ee&&(Ce=Ee,Nr===0&&Ln(wo)),be}function io(){var be,Ce,wr,Qr,gr,Yr;if(be=ft,Ze.charCodeAt(ft)===39?(Ce=Ma,ft++):(Ce=Ee,Nr===0&&Ln(Hs)),Ce!==Ee)if(wr=co(),wr!==Ee){for(Qr=ft,gr=[],Ze.substr(ft,2)===Rs?(Yr=Rs,ft+=2):(Yr=Ee,Nr===0&&Ln(Ds)),Yr===Ee&&(On.test(Ze.charAt(ft))?(Yr=Ze.charAt(ft),ft++):(Yr=Ee,Nr===0&&Ln(Ra)));Yr!==Ee;)gr.push(Yr),Ze.substr(ft,2)===Rs?(Yr=Rs,ft+=2):(Yr=Ee,Nr===0&&Ln(Ds)),Yr===Ee&&(On.test(Ze.charAt(ft))?(Yr=Ze.charAt(ft),ft++):(Yr=Ee,Nr===0&&Ln(Ra)));gr!==Ee?Qr=Ze.substring(Qr,ft):Qr=gr,Qr!==Ee?(Ze.charCodeAt(ft)===39?(gr=Ma,ft++):(gr=Ee,Nr===0&&Ln(Hs)),gr===Ee&&(gr=null),gr!==Ee?(Cn=be,Ce=Cu(wr,Qr),be=Ce):(ft=be,be=Ee)):(ft=be,be=Ee)}else ft=be,be=Ee;else ft=be,be=Ee;return be}function Ya(){var be,Ce,wr,Qr;return be=ft,Ce=ft,Ze.length>ft?(wr=Ze.charAt(ft),ft++):(wr=Ee,Nr===0&&Ln(ai)),wr!==Ee?(Cn=ft,Qr=Xt(wr),Qr?Qr=void 0:Qr=Ee,Qr!==Ee?(wr=[wr,Qr],Ce=wr):(ft=Ce,Ce=Ee)):(ft=Ce,Ce=Ee),Ce===Ee&&(Ze.charCodeAt(ft)===10?(Ce=fr,ft++):(Ce=Ee,Nr===0&&Ln(ar))),Ce!==Ee?be=Ze.substring(be,ft):be=Ce,be}function co(){var be,Ce,wr,Qr;return be=ft,Ce=ft,Ze.length>ft?(wr=Ze.charAt(ft),ft++):(wr=Ee,Nr===0&&Ln(ai)),wr!==Ee?(Cn=ft,Qr=mr(wr),Qr?Qr=void 0:Qr=Ee,Qr!==Ee?(wr=[wr,Qr],Ce=wr):(ft=Ce,Ce=Ee)):(ft=Ce,Ce=Ee),Ce!==Ee?be=Ze.substring(be,ft):be=Ce,be}function La(){var be,Ce;return Nr++,be=ft,Ce=Xs(),Ce===Ee&&(Ce=js()),Ce!==Ee?be=Ze.substring(be,ft):be=Ce,Nr--,be===Ee&&(Ce=Ee,Nr===0&&Ln(xr)),be}function Xs(){var be,Ce,wr,Qr,gr;if(Nr++,be=ft,Ze.charCodeAt(ft)===48?(Ce=xn,ft++):(Ce=Ee,Nr===0&&Ln($n)),Ce!==Ee&&(Cn=be,Ce=kn()),be=Ce,be===Ee){if(be=ft,Ce=ft,Yn.test(Ze.charAt(ft))?(wr=Ze.charAt(ft),ft++):(wr=Ee,Nr===0&&Ln(or)),wr!==Ee){for(Qr=[],Lr.test(Ze.charAt(ft))?(gr=Ze.charAt(ft),ft++):(gr=Ee,Nr===0&&Ln(yr));gr!==Ee;)Qr.push(gr),Lr.test(Ze.charAt(ft))?(gr=Ze.charAt(ft),ft++):(gr=Ee,Nr===0&&Ln(yr));Qr!==Ee?(wr=[wr,Qr],Ce=wr):(ft=Ce,Ce=Ee)}else ft=Ce,Ce=Ee;Ce!==Ee&&(Cn=be,Ce=fn(Ce)),be=Ce}return Nr--,be===Ee&&(Ce=Ee,Nr===0&&Ln(vn)),be}function js(){var be,Ce,wr,Qr,gr;if(Nr++,be=ft,Ce=[],wr=ft,Qr=ft,Nr++,gr=Oa(),gr===Ee&&(gr=qi()),Nr--,gr===Ee?Qr=void 0:(ft=Qr,Qr=Ee),Qr!==Ee?(Ze.length>ft?(gr=Ze.charAt(ft),ft++):(gr=Ee,Nr===0&&Ln(ai)),gr!==Ee?(Qr=[Qr,gr],wr=Qr):(ft=wr,wr=Ee)):(ft=wr,wr=Ee),wr!==Ee)for(;wr!==Ee;)Ce.push(wr),wr=ft,Qr=ft,Nr++,gr=Oa(),gr===Ee&&(gr=qi()),Nr--,gr===Ee?Qr=void 0:(ft=Qr,Qr=Ee),Qr!==Ee?(Ze.length>ft?(gr=Ze.charAt(ft),ft++):(gr=Ee,Nr===0&&Ln(ai)),gr!==Ee?(Qr=[Qr,gr],wr=Qr):(ft=wr,wr=Ee)):(ft=wr,wr=Ee);else Ce=Ee;return Ce!==Ee?be=Ze.substring(be,ft):be=Ce,Nr--,be===Ee&&(Ce=Ee,Nr===0&&Ln(zn)),be}var na=["root"];function ja(){return na.length>1}function ys(){return na[na.length-1]==="plural"}function Hi(){return tt&&tt.captureLocation?{location:Ti()}:{}}if(Hr=nr(),Hr!==Ee&&ft===Ze.length)return Hr;throw Hr!==Ee&&ft<Ze.length&&Ln(Os()),Ms(zi,oi<Ze.length?Ze.charAt(oi):null,oi<Ze.length?ps(oi,oi+1):ps(oi,oi))}var q=ce,J=function(){for(var Ze=0,tt=0,Ee=arguments.length;tt<Ee;tt++)Ze+=arguments[tt].length;for(var at=Array(Ze),nr=0,tt=0;tt<Ee;tt++)for(var Pr=arguments[tt],br=0,Ir=Pr.length;br<Ir;br++,nr++)at[nr]=Pr[br];return at},Y=/(^|[^\\])#/g;function le(Ze){Ze.forEach(function(tt){!D(tt)&&!P(tt)||Object.keys(tt.options).forEach(function(Ee){for(var at,nr=tt.options[Ee],Pr=-1,br=void 0,Ir=0;Ir<nr.value.length;Ir++){var Br=nr.value[Ir];if(_(Br)&&Y.test(Br.value)){Pr=Ir,br=Br;break}}if(br){var mn=br.value.replace(Y,"$1{"+tt.value+", number}"),Er=q(mn);(at=nr.value).splice.apply(at,J([Pr,1],Er))}le(nr.value)})})}function ne(Ze,tt){var Ee=q(Ze,tt);return(!tt||tt.normalizeHashtagInPlural!==!1)&&le(Ee),Ee}var ee=function(){for(var Ze=0,tt=0,Ee=arguments.length;tt<Ee;tt++)Ze+=arguments[tt].length;for(var at=Array(Ze),nr=0,tt=0;tt<Ee;tt++)for(var Pr=arguments[tt],br=0,Ir=Pr.length;br<Ir;br++,nr++)at[nr]=Pr[br];return at};function ie(Ze){return JSON.stringify(Ze.map(function(tt){return tt&&typeof tt=="object"?F(tt):tt}))}function F(Ze){return Object.keys(Ze).sort().map(function(tt){var Ee;return Ee={},Ee[tt]=Ze[tt],Ee})}var M=function(Ze,tt){return tt===void 0&&(tt={}),function(){for(var Ee,at=[],nr=0;nr<arguments.length;nr++)at[nr]=arguments[nr];var Pr=ie(at),br=Pr&&tt[Pr];return br||(br=new((Ee=Ze).bind.apply(Ee,ee([void 0],at))),Pr&&(tt[Pr]=br)),br}},Q=M,de=function(){return de=Object.assign||function(Ze){for(var tt,Ee=1,at=arguments.length;Ee<at;Ee++){tt=arguments[Ee];for(var nr in tt)Object.prototype.hasOwnProperty.call(tt,nr)&&(Ze[nr]=tt[nr])}return Ze},de.apply(this,arguments)},Se=/(?:[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 Ie(Ze){var tt={};return Ze.replace(Se,function(Ee){var at=Ee.length;switch(Ee[0]){case"G":tt.era=at===4?"long":at===5?"narrow":"short";break;case"y":tt.year=at===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":tt.month=["numeric","2-digit","short","long","narrow"][at-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":tt.day=["numeric","2-digit"][at-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":tt.weekday=at===4?"short":at===5?"narrow":"short";break;case"e":if(at<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");tt.weekday=["short","long","narrow","short"][at-4];break;case"c":if(at<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");tt.weekday=["short","long","narrow","short"][at-4];break;case"a":tt.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":tt.hourCycle="h12",tt.hour=["numeric","2-digit"][at-1];break;case"H":tt.hourCycle="h23",tt.hour=["numeric","2-digit"][at-1];break;case"K":tt.hourCycle="h11",tt.hour=["numeric","2-digit"][at-1];break;case"k":tt.hourCycle="h24",tt.hour=["numeric","2-digit"][at-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":tt.minute=["numeric","2-digit"][at-1];break;case"s":tt.second=["numeric","2-digit"][at-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":tt.timeZoneName=at<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""}),tt}function je(Ze){return Ze.replace(/^(.*?)-/,"")}var Fe=/^\.(?:(0+)(\+|#+)?)?$/g,Ft=/^(@+)?(\+|#+)?$/g;function _t(Ze){var tt={};return Ze.replace(Ft,function(Ee,at,nr){return typeof nr!="string"?(tt.minimumSignificantDigits=at.length,tt.maximumSignificantDigits=at.length):nr==="+"?tt.minimumSignificantDigits=at.length:at[0]==="#"?tt.maximumSignificantDigits=at.length:(tt.minimumSignificantDigits=at.length,tt.maximumSignificantDigits=at.length+(typeof nr=="string"?nr.length:0)),""}),tt}function Pt(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 tt={},Ee=Pt(Ze);return Ee||tt}function Jt(Ze){for(var tt={},Ee=0,at=Ze;Ee<at.length;Ee++){var nr=at[Ee];switch(nr.stem){case"percent":tt.style="percent";continue;case"currency":tt.style="currency",tt.currency=nr.options[0];continue;case"group-off":tt.useGrouping=!1;continue;case"precision-integer":tt.maximumFractionDigits=0;continue;case"measure-unit":tt.style="unit",tt.unit=je(nr.options[0]);continue;case"compact-short":tt.notation="compact",tt.compactDisplay="short";continue;case"compact-long":tt.notation="compact",tt.compactDisplay="long";continue;case"scientific":tt=de(de(de({},tt),{notation:"scientific"}),nr.options.reduce(function(br,Ir){return de(de({},br),Qt(Ir))},{}));continue;case"engineering":tt=de(de(de({},tt),{notation:"engineering"}),nr.options.reduce(function(br,Ir){return de(de({},br),Qt(Ir))},{}));continue;case"notation-simple":tt.notation="standard";continue;case"unit-width-narrow":tt.currencyDisplay="narrowSymbol",tt.unitDisplay="narrow";continue;case"unit-width-short":tt.currencyDisplay="code",tt.unitDisplay="short";continue;case"unit-width-full-name":tt.currencyDisplay="name",tt.unitDisplay="long";continue;case"unit-width-iso-code":tt.currencyDisplay="symbol";continue}if(Fe.test(nr.stem)){if(nr.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");nr.stem.replace(Fe,function(br,Ir,Br){return br==="."?tt.maximumFractionDigits=0:Br==="+"?tt.minimumFractionDigits=Br.length:Ir[0]==="#"?tt.maximumFractionDigits=Ir.length:(tt.minimumFractionDigits=Ir.length,tt.maximumFractionDigits=Ir.length+(typeof Br=="string"?Br.length:0)),""}),nr.options.length&&(tt=de(de({},tt),_t(nr.options[0])));continue}if(Ft.test(nr.stem)){tt=de(de({},tt),_t(nr.stem));continue}var Pr=Pt(nr.stem);Pr&&(tt=de(de({},tt),Pr))}return tt}var qt=function(){var Ze=function(tt,Ee){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(at,nr){at.__proto__=nr}||function(at,nr){for(var Pr in nr)nr.hasOwnProperty(Pr)&&(at[Pr]=nr[Pr])},Ze(tt,Ee)};return function(tt,Ee){Ze(tt,Ee);function at(){this.constructor=tt}tt.prototype=Ee===null?Object.create(Ee):(at.prototype=Ee.prototype,new at)}}(),Xe=function(){for(var Ze=0,tt=0,Ee=arguments.length;tt<Ee;tt++)Ze+=arguments[tt].length;for(var at=Array(Ze),nr=0,tt=0;tt<Ee;tt++)for(var Pr=arguments[tt],br=0,Ir=Pr.length;br<Ir;br++,nr++)at[nr]=Pr[br];return at},It=function(Ze){qt(tt,Ze);function tt(Ee,at){var nr=Ze.call(this,Ee)||this;return nr.variableId=at,nr}return tt}(Error);function Ut(Ze){return Ze.length<2?Ze:Ze.reduce(function(tt,Ee){var at=tt[tt.length-1];return!at||at.type!==0||Ee.type!==0?tt.push(Ee):at.value+=Ee.value,tt},[])}function ot(Ze,tt,Ee,at,nr,Pr,br){if(Ze.length===1&&_(Ze[0]))return[{type:0,value:Ze[0].value}];for(var Ir=[],Br=0,mn=Ze;Br<mn.length;Br++){var Er=mn[Br];if(_(Er)){Ir.push({type:0,value:Er.value});continue}if(B(Er)){typeof Pr=="number"&&Ir.push({type:0,value:Ee.getNumberFormat(tt).format(Pr)});continue}var un=Er.value;if(!(nr&&un in nr))throw new It('The intl string context variable "'+un+'" was not provided to the string "'+br+'"');var tn=nr[un];if(b(Er)){(!tn||typeof tn=="string"||typeof tn=="number")&&(tn=typeof tn=="string"||typeof tn=="number"?String(tn):""),Ir.push({type:1,value:tn});continue}if(R(Er)){var sn=typeof Er.style=="string"?at.date[Er.style]:void 0;Ir.push({type:0,value:Ee.getDateTimeFormat(tt,sn).format(tn)});continue}if(L(Er)){var sn=typeof Er.style=="string"?at.time[Er.style]:j(Er.style)?Ie(Er.style.pattern):void 0;Ir.push({type:0,value:Ee.getDateTimeFormat(tt,sn).format(tn)});continue}if(A(Er)){var sn=typeof Er.style=="string"?at.number[Er.style]:$(Er.style)?Jt(Er.style.tokens):void 0;Ir.push({type:0,value:Ee.getNumberFormat(tt,sn).format(tn)});continue}if(P(Er)){var wn=Er.options[tn]||Er.options.other;if(!wn)throw new RangeError('Invalid values for "'+Er.value+'": "'+tn+'". Options are "'+Object.keys(Er.options).join('", "')+'"');Ir.push.apply(Ir,ot(wn.value,tt,Ee,at,nr));continue}if(D(Er)){var wn=Er.options["="+tn];if(!wn){if(!Intl.PluralRules)throw new It(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`);var fa=Ee.getPluralRules(tt,{type:Er.pluralType}).select(tn-(Er.offset||0));wn=Er.options[fa]||Er.options.other}if(!wn)throw new RangeError('Invalid values for "'+Er.value+'": "'+tn+'". Options are "'+Object.keys(Er.options).join('", "')+'"');Ir.push.apply(Ir,ot(wn.value,tt,Ee,at,nr,tn-(Er.offset||0)));continue}}return Ut(Ir)}function bt(Ze,tt,Ee,at,nr,Pr){var br=ot(Ze,tt,Ee,at,nr,void 0,Pr);return br.length===1?br[0].value:br.reduce(function(Ir,Br){return Ir+=Br.value},"")}var ht,et="@@",Ue=/@@(\d+_\d+)@@/g,ye=0;function Pe(){return Date.now()+"_"+ ++ye}function Me(Ze,tt){return Ze.split(Ue).filter(Boolean).map(function(Ee){return tt[Ee]!=null?tt[Ee]:Ee}).reduce(function(Ee,at){return Ee.length&&typeof at=="string"&&typeof Ee[Ee.length-1]=="string"?Ee[Ee.length-1]+=at:Ee.push(at),Ee},[])}var $e=/(<([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,tt,Ee){var at=Ze.tagName,nr=Ze.outerHTML,Pr=Ze.textContent,br=Ze.childNodes;if(!at)return Me(Pr||"",tt);at=at.toLowerCase();var Ir=~nt.indexOf(at),Br=Ee[at];if(Br&&Ir)throw new It(at+" is a self-closing tag and can not be used, please use another tag name.");if(!br.length)return[nr];var mn=Array.prototype.slice.call(br).reduce(function(Er,un){return Er.concat(ct(un,tt,Ee))},[]);return Br?typeof Br=="function"?[Br.apply(void 0,mn)]:[Br]:Xe(["<"+at+">"],mn,["</"+at+">"])}function Gt(Ze,tt,Ee,at,nr,Pr){var br=ot(Ze,tt,Ee,at,nr,void 0,Pr),Ir={},Br=br.reduce(function(tn,sn){if(sn.type===0)return tn+=sn.value;var wn=Pe();return Ir[wn]=sn.value,tn+=""+et+wn+et},"");if(!$e.test(Br))return Me(Br,Ir);if(!nr)throw new It("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new It("Cannot format XML message without DOMParser");ht||(ht=new DOMParser);var mn=ht.parseFromString('<formatted-message id="'+He+'">'+Br+"</formatted-message>","text/html").getElementById(He);if(!mn)throw new It("Malformed HTML message "+Br);var Er=Object.keys(nr).filter(function(tn){return!!mn.getElementsByTagName(tn).length});if(!Er.length)return Me(Br,Ir);var un=Er.filter(function(tn){return tn!==tn.toLowerCase()});if(un.length)throw new It("HTML tag must be lowercased but the following tags are not: "+un.join(", "));return Array.prototype.slice.call(mn.childNodes).reduce(function(tn,sn){return tn.concat(ct(sn,Ir,nr))},[])}var Ht=function(){return Ht=Object.assign||function(Ze){for(var tt,Ee=1,at=arguments.length;Ee<at;Ee++){tt=arguments[Ee];for(var nr in tt)Object.prototype.hasOwnProperty.call(tt,nr)&&(Ze[nr]=tt[nr])}return Ze},Ht.apply(this,arguments)};function Oe(Ze,tt){return tt?Ht(Ht(Ht({},Ze||{}),tt||{}),Object.keys(Ze).reduce(function(Ee,at){return Ee[at]=Ht(Ht({},Ze[at]),tt[at]||{}),Ee},{})):Ze}function Je(Ze,tt){return tt?Object.keys(Ze).reduce(function(Ee,at){return Ee[at]=Oe(Ze[at],tt[at]),Ee},Ht({},Ze)):Ze}function Wt(Ze){return Ze===void 0&&(Ze={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Q(Intl.NumberFormat,Ze.number),getDateTimeFormat:Q(Intl.DateTimeFormat,Ze.dateTime),getPluralRules:Q(Intl.PluralRules,Ze.pluralRules)}}var kt=function(){function Ze(tt,Ee,at,nr){var Pr=this;if(Ee===void 0&&(Ee=Ze.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(br){return bt(Pr.ast,Pr.locales,Pr.formatters,Pr.formats,br,Pr.message)},this.formatToParts=function(br){return ot(Pr.ast,Pr.locales,Pr.formatters,Pr.formats,br,void 0,Pr.message)},this.formatHTMLMessage=function(br){return Gt(Pr.ast,Pr.locales,Pr.formatters,Pr.formats,br,Pr.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(Pr.locales)[0]}},this.getAst=function(){return Pr.ast},typeof tt=="string"){if(this.message=tt,!Ze.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Ze.__parse(tt,{normalizeHashtagInPlural:!1})}else this.ast=tt;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Je(Ze.formats,at),this.locales=Ee,this.formatters=nr&&nr.formatters||Wt(this.formatterCache)}return Ze.defaultLocale=new Intl.NumberFormat().resolvedOptions().locale,Ze.__parse=ne,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,Bt=Zt;function At(Ze,tt,Ee){if(Ee===void 0&&(Ee=Error),!Ze)throw new Ee(tt)}const Kt={38:"&",62:">",60:"<",34:""",39:"'"},We=/[&><"']/g;function fe(Ze){return(""+Ze).replace(We,tt=>Kt[tt.charCodeAt(0)])}function _e(Ze,tt,Ee={}){return tt.reduce((at,nr)=>(nr in Ze?at[nr]=Ze[nr]:nr in Ee&&(at[nr]=Ee[nr]),at),{})}function Ot(Ze){At(Ze,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function De(Ze,tt){const Ee=tt?`
|
|
|
${tt.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 Ct(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function ke(Ze=Ct()){const tt=Intl.RelativeTimeFormat,Ee=Intl.ListFormat,at=Intl.DisplayNames;return{getDateTimeFormat:Q(Intl.DateTimeFormat,Ze.dateTime),getNumberFormat:Q(Intl.NumberFormat,Ze.number),getMessageFormat:Q(Bt,Ze.message),getRelativeTimeFormat:Q(tt,Ze.relativeTime),getPluralRules:Q(Intl.PluralRules,Ze.pluralRules),getListFormat:Q(Ee,Ze.list),getDisplayNames:Q(at,Ze.displayNames)}}function wt(Ze,tt,Ee,at){const nr=Ze&&Ze[tt];let Pr;if(nr&&(Pr=nr[Ee]),Pr)return Pr;at(De(`No ${tt} format named: ${Ee}`))}const xe=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Ke({locale:Ze,formats:tt,onError:Ee},at,nr={}){const{format:Pr}=nr,br=Pr&&wt(tt,"number",Pr,Ee)||{},Ir=_e(nr,xe,br);return at(Ze,Ir)}function gt(Ze,tt,Ee,at={}){try{return Ke(Ze,tt,at).format(Ee)}catch(nr){Ze.onError(De("Error formatting number.",nr))}return String(Ee)}function Lt(Ze,tt,Ee,at={}){try{return Ke(Ze,tt,at).formatToParts(Ee)}catch(nr){Ze.onError(De("Error formatting number.",nr))}return[]}const Be=["numeric","style"];function Dr({locale:Ze,formats:tt,onError:Ee},at,nr={}){const{format:Pr}=nr,br=!!Pr&&wt(tt,"relative",Pr,Ee)||{},Ir=_e(nr,Be,br);return at(Ze,Ir)}function St(Ze,tt,Ee,at,nr={}){at||(at="second"),Intl.RelativeTimeFormat||Ze.onError(De(`Intl.RelativeTimeFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
|
`));try{return Dr(Ze,tt,nr).format(Ee,at)}catch(br){Ze.onError(De("Error formatting relative time.",br))}return String(Ee)}const Gr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Xr({locale:Ze,formats:tt,onError:Ee,timeZone:at},nr,Pr,br={}){const{format:Ir}=br,Br=Object.assign(Object.assign({},at&&{timeZone:at}),Ir&&wt(tt,nr,Ir,Ee));let mn=_e(br,Gr,Br);return nr==="time"&&!mn.hour&&!mn.minute&&!mn.second&&(mn=Object.assign(Object.assign({},mn),{hour:"numeric",minute:"numeric"})),Pr(Ze,mn)}function Sr(Ze,tt,Ee,at={}){const nr=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Xr(Ze,"date",tt,at).format(nr)}catch(Pr){Ze.onError(De("Error formatting date.",Pr))}return String(nr)}function Mr(Ze,tt,Ee,at={}){const nr=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Xr(Ze,"time",tt,at).format(nr)}catch(Pr){Ze.onError(De("Error formatting time.",Pr))}return String(nr)}function pr(Ze,tt,Ee,at={}){const nr=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Xr(Ze,"date",tt,at).formatToParts(nr)}catch(Pr){Ze.onError(De("Error formatting date.",Pr))}return[]}function $r(Ze,tt,Ee,at={}){const nr=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Xr(Ze,"time",tt,at).formatToParts(nr)}catch(Pr){Ze.onError(De("Error formatting time.",Pr))}return[]}const nn=["localeMatcher","type"];function on({locale:Ze,onError:tt},Ee,at,nr={}){Intl.PluralRules||tt(De(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`));const Pr=_e(nr,nn);try{return Ee(Ze,Pr).select(at)}catch(br){tt(De("Error formatting plural.",br))}return"other"}function sr(Ze,tt){return Object.keys(Ze).reduce((Ee,at)=>(Ee[at]=Object.assign({timeZone:tt},Ze[at]),Ee),{})}function Mt(Ze,tt){return Object.keys(Object.assign(Object.assign({},Ze),tt)).reduce((at,nr)=>(at[nr]=Object.assign(Object.assign({},Ze[nr]||{}),tt[nr]||{}),at),{})}function vt(Ze,tt){if(!tt)return Ze;const Ee=Bt.formats;return Object.assign(Object.assign(Object.assign({},Ee),Ze),{date:Mt(sr(Ee.date,tt),sr(Ze.date||{},tt)),time:Mt(sr(Ee.time,tt),sr(Ze.time||{},tt))})}const yt=Ze=>r.createElement(r.Fragment,null,...Ze);function Nt({locale:Ze,formats:tt,messages:Ee,defaultLocale:at,defaultFormats:nr,onError:Pr,timeZone:br},Ir,Br={id:""},mn={}){const{id:Er,defaultMessage:un}=Br;At(!!Er,"[React Intl] An `id` must be provided to format a message.");const tn=Ee&&Ee[String(Er)];tt=vt(tt,br),nr=vt(nr,br);let sn=[];if(tn)try{sn=Ir.getMessageFormat(tn,Ze,tt,{formatters:Ir}).formatHTMLMessage(mn)}catch(wn){Pr(De(`Error formatting message: "${Er}" for locale: "${Ze}"`+(un?", using default message as fallback.":""),wn))}else(!un||Ze&&Ze.toLowerCase()!==at.toLowerCase())&&Pr(De(`Missing message: "${Er}" for locale: "${Ze}"`+(un?", using default message as fallback.":"")));if(!sn.length&&un)try{sn=Ir.getMessageFormat(un,at,nr).formatHTMLMessage(mn)}catch(wn){Pr(De(`Error formatting the default message for: "${Er}"`,wn))}return sn.length?sn.length===1&&typeof sn[0]=="string"?sn[0]||un||String(Er):yt(sn):(Pr(De(`Cannot format message: "${Er}", using message ${tn||un?"source":"id"} as fallback.`)),typeof tn=="string"?tn||un||String(Er):un||String(Er))}function Cr(Ze,tt,Ee={id:""},at={}){const nr=Object.keys(at).reduce((Pr,br)=>{const Ir=at[br];return Pr[br]=typeof Ir=="string"?fe(Ir):Ir,Pr},{});return Nt(Ze,tt,Ee,nr)}var vr=e(18947),ut=e.n(vr);const Rr=["localeMatcher","type","style"],_n=Date.now();function Un(Ze){return`${_n}_${Ze}_${_n}`}function _r({locale:Ze,onError:tt},Ee,at,nr={}){Intl.ListFormat||tt(De(`Intl.ListFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
|
`));const br=_e(nr,Rr);try{const Ir={},Br=at.map((Er,un)=>{if(typeof Er=="object"){const tn=Un(un);return Ir[tn]=Er,tn}return String(Er)});return Object.keys(Ir).length?Ee(Ze,br).formatToParts(Br).reduce((Er,un)=>{const tn=un.value;return Ir[tn]?Er.push(Ir[tn]):typeof Er[Er.length-1]=="string"?Er[Er.length-1]+=tn:Er.push(tn),Er},[]):Ee(Ze,br).format(Br)}catch(Ir){tt(De("Error formatting list.",Ir))}return at}const Jr=["localeMatcher","style","type","fallback"];function dn({locale:Ze,onError:tt},Ee,at,nr={}){Intl.DisplayNames||tt(De(`Intl.DisplayNames is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
`));const br=_e(nr,Jr);try{return Ee(Ze,br).of(at)}catch(Ir){tt(De("Error formatting display name.",Ir))}}const Mn=ut()||vr;function Jn(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 Nn(Ze,tt){const Ee=ke(tt),at=Object.assign(Object.assign({},zt),Ze),{locale:nr,defaultLocale:Pr,onError:br}=at;return nr?!Intl.NumberFormat.supportedLocalesOf(nr).length&&br?br(De(`Missing locale data for locale: "${nr}" in Intl.NumberFormat. Using default locale: "${Pr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(nr).length&&br&&br(De(`Missing locale data for locale: "${nr}" in Intl.DateTimeFormat. Using default locale: "${Pr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(br&&br(De(`"locale" was not configured, using "${Pr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),at.locale=at.defaultLocale||"en"),Object.assign(Object.assign({},at),{formatters:Ee,formatNumber:gt.bind(null,at,Ee.getNumberFormat),formatNumberToParts:Lt.bind(null,at,Ee.getNumberFormat),formatRelativeTime:St.bind(null,at,Ee.getRelativeTimeFormat),formatDate:Sr.bind(null,at,Ee.getDateTimeFormat),formatDateToParts:pr.bind(null,at,Ee.getDateTimeFormat),formatTime:Mr.bind(null,at,Ee.getDateTimeFormat),formatTimeToParts:$r.bind(null,at,Ee.getDateTimeFormat),formatPlural:on.bind(null,at,Ee.getPluralRules),formatMessage:Nt.bind(null,at,Ee),formatHTMLMessage:Cr.bind(null,at,Ee),formatList:_r.bind(null,at,Ee.getListFormat),formatDisplayName:dn.bind(null,at,Ee.getDisplayNames)})}class Ui extends r.PureComponent{constructor(){super(...arguments),this.cache=Ct(),this.state={cache:this.cache,intl:Nn(Jn(this.props),this.cache),prevConfig:Jn(this.props)}}static getDerivedStateFromProps(tt,{prevConfig:Ee,cache:at}){const nr=Jn(tt);return Mn(Ee,nr)?null:{intl:Nn(nr,at),prevConfig:nr}}render(){return Ot(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}Ui.displayName="IntlProvider",Ui.defaultProps=zt;var mi=e(5085),bi=e(3424),vi=e.n(bi),di=e(85239),Yi=Object.getOwnPropertySymbols,Xn=Object.prototype.hasOwnProperty,Vi=Object.prototype.propertyIsEnumerable,Et=(Ze,tt)=>{var Ee={};for(var at in Ze)Xn.call(Ze,at)&&tt.indexOf(at)<0&&(Ee[at]=Ze[at]);if(Ze!=null&&Yi)for(var at of Yi(Ze))tt.indexOf(at)<0&&Vi.call(Ze,at)&&(Ee[at]=Ze[at]);return Ee};let lt;const Qn=!0,xi=new(vi()),qn=Symbol("LANG_CHANGE"),Wi=(Ze,tt="")=>Object.keys(Ze).reduce((Ee,at)=>{const nr=Ze[at],Pr=tt?`${tt}.${at}`:at;return typeof nr=="string"?Ee[Pr]=nr:Object.assign(Ee,Wi(nr,Pr)),Ee},{}),hi={},ni=(Ze,tt,Ee)=>{var at,nr,Pr,br;if(!Ze)return;const Ir=(at=hi[Ze])!=null&&at.messages?Object.assign({},hi[Ze].messages,tt):tt,{momentLocale:Br=(nr=hi[Ze])==null?void 0:nr.momentLocale,antd:mn=(Pr=hi[Ze])==null?void 0:Pr.antd}=Ee||{},Er=(br=Ze.split("-"))==null?void 0:br.join("-");hi[Ze]={messages:Ir,locale:Er,momentLocale:Br,antd:mn},Er===Dt()&&xi.emit(qn,Er)},bn=Ze=>(0,mi.We)().applyPlugins({key:"locale",type:"modify",initialValue:Ze}),tr=Ze=>{const Ee=bn(hi[Ze]),{cache:at}=Ee,nr=Et(Ee,["cache"]);return Nn(nr,at)},mt=(Ze,tt)=>lt&&!tt&&!Ze?lt:(Ze||(Ze=Dt()),Ze&&hi[Ze]?tr(Ze):hi["zh-CN"]?tr("zh-CN"):Nn({locale:"zh-CN",messages:{}})),rt=Ze=>{lt=mt(Ze,!0)},Dt=()=>{const Ze=bn({});return typeof(Ze==null?void 0:Ze.getLocale)=="function"?Ze.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&Qn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},pt=()=>{const Ze=Dt();return["he","ar","fa","ku"].filter(at=>Ze.startsWith(at)).length?"rtl":"ltr"},ur=(Ze,tt=!0)=>{(()=>{if(Dt()!==Ze){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Qn&&window.localStorage.setItem("umi_locale",Ze||""),rt(Ze),tt)window.location.reload();else if(xi.emit(qn,Ze),window.dispatchEvent){const at=new Event("languagechange");window.dispatchEvent(at)}}})()};let cr=!0;const Tr=(Ze,tt)=>(cr&&(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
|
|
|
`),cr=!1),lt||rt(Dt()),lt.formatMessage(Ze,tt)),Ur=()=>Object.keys(hi)},16209:function(d,g,e){"use strict";e.d(g,{y:function(){return o}});var r=e(43418),i=e(95237),l=e(43604),c=e(58539),f=e(59301);const o=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 W=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:()=>W.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 V=p.filter(W=>(0,c.t)(W));return!V||!V.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(V.join(""))}let b=y.candidate.candidate.split(" "),[A,R,L,P,D,B,,$,...j]=b,K=["rtp","rtpc"];if(console.log("event:",y),p.some(V=>V==D)||p.push(D),console.log(" candidate: "+A.split(":")[1]),console.log(" component: "+K[R-1]),console.log(" protocol: "+L),console.log(" priority: "+P),console.log(" ip: "+D),console.log(" port: "+B),console.log(" type: "+$),j.length){console.log("attributes: ");for(let V=0;V<j.length;V+=2)console.log("> "+j[V]+": "+j[V+1])}}})},8797:function(d,g,e){"use strict";var r=e(59301),i=e(4977),l=e(3113),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(b,A,R)=>A in b?c(b,A,{enumerable:!0,configurable:!0,writable:!0,value:R}):b[A]=R,p=(b,A)=>{for(var R in A||(A={}))u.call(A,R)&&x(b,R,A[R]);if(h)for(var R of h(A))a.call(A,R)&&x(b,R,A[R]);return b},y=(b,A)=>f(b,o(A));const _=({img:b,buttonProps:A={},styles:R={},customText:L,ButtonText:P,ButtonClick:D,Buttonclass:B,ButtonTwo:$,imgStyles:j,loading:K=!1})=>r.createElement("section",{className:"tc animated fadeIn",style:p(p({},{color:"#999",margin:"100px auto",visibility:K?"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!"),P&&r.createElement(l.ZP,p({className:B,onClick:D},A),P),$&&$);g.Z=_},39298: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(72308),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"},o=f,h=e(7657),u=function(ce,q){return r.createElement(h.Z,(0,c.Z)({},ce,{ref:q,icon:o}))},a=r.forwardRef(u),x=a,p=e(23954),y=e(6848),_=e(955),b=e(94941),A=e(8797),R=e(3294),L=e(19381),P=e(59301),D=Object.defineProperty,B=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,K=(ae,ce,q)=>ce in ae?D(ae,ce,{enumerable:!0,configurable:!0,writable:!0,value:q}):ae[ce]=q,V=(ae,ce)=>{for(var q in ce||(ce={}))$.call(ce,q)&&K(ae,q,ce[q]);if(B)for(var q of B(ce))j.call(ce,q)&&K(ae,q,ce[q]);return ae},W=(ae,ce,q)=>new Promise((J,Y)=>{var le=ie=>{try{ee(q.next(ie))}catch(F){Y(F)}},ne=ie=>{try{ee(q.throw(ie))}catch(F){Y(F)}},ee=ie=>ie.done?J(ie.value):Promise.resolve(ie.value).then(le,ne);ee((q=q.apply(ae,ce)).next())}),oe=({editOffice:ae="view",data:ce,theme:q,type:J,filename:Y,monacoEditor:le,className:ne,style:ee,close:ie,onClose:F,hasMask:M,disabledDownload:Q,onImgDimensions:de,showNodata:Se,recordInfo:Ie})=>{const[je,Fe]=(0,r.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Ft,_t]=(0,r.useState)(""),[Pt,Qt]=(0,r.useState)(),Jt=window.ENV==="build"?"/react/build":"",qt=location.host.startsWith("localhost")?R.Z.PROXY_SERVER:R.Z.API_SERVER,It=10*(1024*1024),Ut=(0,r.useRef)();ce!=null&&ce.startsWith("/api")&&J!=="txt"&&(ce=R.Z.API_SERVER+ce);const ot=Ue=>Ue.substring(Ue.lastIndexOf("/")+1).split(".").pop();Y&&le&&(le.filename=Y),(0,r.useEffect)(()=>{var Ue,ye;const Pe=(ye=(Ue=document.cookie)==null?void 0:Ue.replace(/\s/g,""))==null?void 0:ye.split(";");Pe==null||Pe.map(Me=>{let $e=Me.split("=");$e[0]==="_educoder_session"&&_t($e[1])})},[]),(0,r.useEffect)(()=>{J==="office"&&(ce.indexOf("bigfilescdn.")>-1||ce.indexOf("bigfiles1")>-1?Qt({url:ce,fileType:ot(ce),model:ce.indexOf("model=edit")?"edit":"view"}):bt())},[J,ce]);const bt=()=>W(void 0,null,function*(){console.log("data:",ce);let Ue=ce;ce.startsWith("http")||(Ue=location.origin+Ue);let ye=new URL(Ue).pathname.split("/").pop();const Pe=yield(0,b.gJ)({attachment_id:ye});Pe.url=qt+Pe.url,Qt(Pe)}),ht=()=>{if(ce.startsWith("http")||ce.startsWith("blob:")){et();return}(0,_.Nd)(Y||"educoder",decodeURIComponent(ce))},et=()=>{Ie&&(0,L.fc)({id:Ie==null?void 0:Ie.id,watch_type:1,course_id:Ie==null?void 0:Ie.course_id}),(0,_.Nd)(Y||"educoder",decodeURIComponent(ce))};return console.log(ce,"data"),P.createElement("div",{style:V({},ee||{}),className:`${M&&i.bgBlack} ${J?i.wrp:"hide"}`},ie&&P.createElement("div",{className:i.close,ref:Ut},!!de&&P.createElement(y.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ut.current},P.createElement("span",{onClick:()=>{F(),de()}},P.createElement("i",{className:"icon-yulanpizhu"}))),!Q&&P.createElement(y.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ut.current},P.createElement("span",{onClick:et},P.createElement("i",{className:"icon-quxiaozhiding"}))),P.createElement(y.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ut.current},P.createElement("span",{className:"",onClick:F},P.createElement("i",{className:"icon-guanbi1"})))),P.createElement("div",{className:`${i[ne]} ${ne} ${i.monaco} ${J==="txt"?"show":"hide"}`},J==="txt"&&P.createElement(P.Fragment,null,P.createElement(p.ZP,V({},le)))),J==="audio"&&P.createElement("audio",{src:(ce==null?void 0:ce.indexOf("http"))>-1||ce!=null&&ce.startsWith("/api")?ce:`data:image/png;base64,${ce}`,autoPlay:!0}),J==="video"&&P.createElement(P.Fragment,null,(ce==null?void 0:ce.indexOf("http"))>-1||ce!=null&&ce.startsWith("/api")?P.createElement("video",{controls:!0,src:`${ce}`,autoPlay:!0}):P.createElement("video",{controls:!0,src:`data:video/mp4;base64,${ce}`,autoPlay:!0})),J==="office"&&Pt&&P.createElement("iframe",{src:`${Jt}/office.html?key=${Pt.key}&url=${btoa(Pt.url)}&callbackUrl=${qt+(Pt.callbackUrl||"")}&fileType=${Pt.fileType}&title=${Pt.title||""}&model=${ae}&officeServer=${R.Z.ONLYOFFICE}&disabledDownload=${!!Q}`}),J==="html"&&P.createElement("iframe",{src:ce+"&disposition=inline"}),J==="pdf"&&P.createElement("iframe",{src:`${Jt}/js/pdfview/index.html?filename=${Y||"educoder.pdf"}&url=${encodeURIComponent(ce)}&disabledDownload=${!!Q}`}),J==="image"&&P.createElement("img",{src:(ce==null?void 0:ce.indexOf("http"))>-1||ce!=null&&ce.startsWith("/api")?ce:`data:image/png;base64,${ce}`}),(J==="other"||J==="download")&&P.createElement(P.Fragment,null,Se?P.createElement(A.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:P.createElement(l.ZP,{icon:P.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ht,disabled:Q},"\u4E0B\u8F7D")}):P.createElement(l.ZP,{type:"primary",size:"middle",onClick:ht,disabled:Q},P.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(d,g,e){"use strict";e.d(g,{z:function(){return V},Z:function(){return W}});var r=e(59301),i=e(50304),l=e(24768),c=e(64018),f=e(65157),o=e(3294),h=e(955),u=e(15342),a=e(1012),x=e(39298),p=e(59301),_=({html:oe})=>{const ae=(0,r.useRef)(null),ce=(0,r.useRef)(null),q=`.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 J=ae.current.attachShadow({mode:"open"});ce.current=document.createElement("div"),ce.current.className="markdown-body",ce.current.innerHTML=oe,J.appendChild(ce.current);const Y=document.createElement("style");return Y.textContent=q,J.appendChild(Y),()=>{J.innerHTML=""}},[]),(0,r.useEffect)(()=>{ce.current&&(ce.current.innerHTML=oe)},[oe]),p.createElement("div",{ref:ae})},b=Object.defineProperty,A=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,P=(oe,ae,ce)=>ae in oe?b(oe,ae,{enumerable:!0,configurable:!0,writable:!0,value:ce}):oe[ae]=ce,D=(oe,ae)=>{for(var ce in ae||(ae={}))R.call(ae,ce)&&P(oe,ce,ae[ce]);if(A)for(var ce of A(ae))L.call(ae,ce)&&P(oe,ce,ae[ce]);return oe};const B="@\u2581\u2581@",$="@\u2581@",j=/<pre[^>]*>/g;function K(oe){let ae=document.createElement("div");return ae.innerHTML=oe,ae.childNodes.length===0?"":ae.childNodes[0].nodeValue}const V=(oe,ae)=>{oe=oe||"";const ce=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,q=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,J=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Y=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ae?oe.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ce,(le,ne,ee,ie,F,M,Q)=>{const de=ne||ie||M,Se=ee||F||Q||"?";return o.Z.API_SERVER+"/api/attachments/"+de+Se+"&t="+(0,h.Jn)(de,Date.now())+(le.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(oe=oe.replace(Y,(le,ne,ee,ie,F,M,Q)=>{const de=ne||ie||M,Se=ee||F||Q||"?";return o.Z.API_SERVER+"/attachments/download/"+de+Se+"&t="+(0,h.Jn)(de,Date.now())+(le.indexOf(")")>-1?")":"&")}).replace(ce,(le,ne,ee,ie,F,M,Q)=>{const de=ne||ie||M,Se=ee||F||Q||"?";return o.Z.API_SERVER+"/api/attachments/"+de+Se+"&t="+(0,h.Jn)(de,Date.now())+(le.indexOf(")")>-1?")":"&")}).replace(q,(le,ne,ee,ie,F)=>{const M=ne||ie,Q=ee||F||"";return'"'+o.Z.API_SERVER+"/api/attachments/"+M+Q+M+Q+"&t="+(0,h.Jn)(M,Date.now())}).replace(J,(le,ne,ee,ie,F)=>{const M=ne||ie,Q=ee||F||"";return"("+o.Z.API_SERVER+"/files/uploads/"+M+Q+M+Q+"&t="+(0,h.Jn)(M,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 W=({value:oe="",className:ae,showTextOnly:ce,showLines:q,style:J={},stylesPrev:Y={},highlightKeywords:le,showProgramFill:ne,isProgramFill:ee,disabledFill:ie=!1,programFillValue:F,onFillChange:M=Se=>{},onFillBlur:Q=()=>{},onFillFocus:de=()=>{}})=>{let Se=String(oe);const[Ie,je]=(0,r.useState)(""),[Fe,Ft]=(0,r.useState)("office"),[_t,Pt]=(0,r.useState)([]),Qt=(0,r.useRef)("a"+(0,a.Z)()),Jt={},qt=($e,He,nt)=>{const ct=document.createElement($e===$?"input":"textarea");ct.style.width="100%",ct.style.height=$e===$?"40px":"151px",ct.rows=5,ct.spellcheck=!1,ct.name="edu-program-fill",ct.placeholder="\u8BF7\u8F93\u5165",ct.dataset.id=He;const Gt=Object.keys(Jt).length;return Jt[Gt]=ct,`<span class="edu-program-fill-wrap ${$e===$?"":"show"}" style="width:${$e===$?"400px":"100%"}" title=${nt||""}><span>${ct.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Xe($e){return $e=$e.replace(/!\[.*?\]\(.*?\)/g,""),$e=$e.replace(/\[.*?\]\(.*?\)/g,""),$e=$e.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),$e=$e.replace(/<embed.*?>/g,""),$e=$e.replace(/<img.*?>/g,""),$e=$e.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),$e=$e.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),$e=$e.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),$e=$e.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),$e}const It=$e=>$e.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(He,nt){let ct=nt.replace(/(\n|\r)/g,"").split("}"),Gt=[];return ct.map(Ht=>{Ht!=""&&Gt.push(`.${Qt.current} ${Ht}`)}),`<style>${Gt.join("}")}</style>`}),Ut=(0,r.useMemo)(()=>{try{const ct=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Gt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Ht=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Oe=/\(\/attachments\/download\//g;Se=Se.replace(Oe,"("+o.Z.API_SERVER+"/attachments/download/").replace(ct,"("+o.Z.API_SERVER+"/api/attachments/").replace(Gt,'"'+o.Z.API_SERVER+"/api/attachments/").replace(Ht,'"'+o.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(ne){let ct=-1;return Se=Se.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Gt,Ht,Oe){var Je;return++ct,qt(Gt,ct,(Je=F==null?void 0:F[ct])==null?void 0:Je.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${It(Se||"")}</pre>`}let $e=It(Se);$e=(0,l.ZP)($e);const He=(0,l.ez)();Se.match(/\[TOC\]/)&&($e=$e.replace("<p>[TOC]</p>",(0,l.Qv)()),(0,l.Iy)()),$e=$e.replace(/(__special_katext_id_\d+__)/g,(ct,Gt)=>{const{type:Ht,expression:Oe}=He[Gt];return(0,u.renderToString)(K(Oe)||"",{displayMode:Ht==="block",throwOnError:!1,output:"html"})}),$e=$e.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const nt=document.createElement("div");if(nt.innerHTML=$e,ce)return nt.innerText;if(le){const ct=le.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return et(nt,ct),nt.innerHTML}return setTimeout(()=>Pe(),500),nt.innerHTML},[Se,le]);(0,r.useEffect)(()=>{Ue.current&&Ue.current.querySelectorAll(["input","textarea"]).forEach(He=>{He.oninput=ot,He.onblur=bt,He.onfocus=ht})},[_t]),(0,r.useEffect)(()=>{var $e,He,nt,ct,Gt;if(F!=null&&F.length)try{const Ht=Ue.current.querySelectorAll(".edu-program-fill-score"),Oe=Ue.current.querySelectorAll('[name="edu-program-fill"]');for(const[Je,Wt]of Oe.entries())Wt.value=(($e=F==null?void 0:F[Je])==null?void 0:$e.value)||"",((He=F==null?void 0:F[Je])==null?void 0:He.type)==="warning"?Wt.className="program-fill-warning":((nt=F==null?void 0:F[Je])==null?void 0:nt.type)==="success"?Wt.className="program-fill-success":Wt.className="";for(const[Je,Wt]of Ht.entries())Wt.innerHTML=(ct=F==null?void 0:F[Je])!=null&&ct.score?`${(Gt=F==null?void 0:F[Je])==null?void 0:Gt.score}\u5206`:"";Pt(F)}catch(Ht){console.log(Ht,"error")}},[F]);const ot=$e=>{_t[$e.target.dataset.id]=_t[$e.target.dataset.id]||{},_t[$e.target.dataset.id].value=$e.target.value,Pt([..._t]),M(_t,$e.target.dataset.id)},bt=$e=>{_t[$e.target.dataset.id]=_t[$e.target.dataset.id]||{},_t[$e.target.dataset.id].value=$e.target.value,Pt([..._t]),Q(_t,$e.target.dataset.id)},ht=$e=>{_t[$e.target.dataset.id]=_t[$e.target.dataset.id]||{},_t[$e.target.dataset.id].value=$e.target.value,Pt([..._t]),de(_t,$e.target.dataset.id)};function et($e,He){return $e.childNodes.forEach(nt=>{var ct;if(nt.childNodes.length>0)et(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 Gt=document.createElement("span");Gt.innerHTML=nt.textContent.replace(new RegExp(He,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),nt.replaceWith(Gt)}})}const Ue=(0,r.useRef)();l.jb.WebkitLineClamp=q,q&&(J=D(D({},J),l.jb));function ye($e){let He=$e.target;if(He.tagName.toUpperCase()==="A"){let nt=He.getAttribute("href");if(nt.indexOf("office")>-1)$e.preventDefault(),je(nt),Ft("office");else if(nt.indexOf("application/pdf")>-1)$e.preventDefault(),je(nt),Ft("pdf");else if(nt.indexOf("text/html")>-1)$e.preventDefault(),je(nt),Ft("html");else if(nt.startsWith("#")){$e.preventDefault();let ct=document.getElementById(nt.replace("#",""));ct&&ct.scrollIntoView(!0)}}}const Pe=()=>{var $e;const He=($e=Ue.current)==null?void 0:$e.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(Ue.current&&Ut&&Ut.match(j)&&window.PR.prettyPrint(),Ue.current)return Ue.current.addEventListener("click",ye),()=>{var $e;($e=Ue.current)==null||$e.removeEventListener("click",ye),(0,l.AL)(),(0,l.Iy)()}},[Ut,Ue.current,ye]),(0,r.useEffect)(()=>{var $e;const He=nt=>{nt.preventDefault(),nt.clipboardData.setData("text",window.getSelection().toString())};return($e=Ue.current)==null||$e.addEventListener("copy",He),()=>{var nt;(nt=Ue.current)==null||nt.removeEventListener("copy",He)}},[Ue.current]);const Me=$e=>/<style[\s\S]*?>/i.test($e||"");return r.createElement(r.Fragment,null,ce&&r.createElement("div",{ref:Ue},Ut),!ce&&!Me(Ut)&&r.createElement("div",{ref:Ue,style:D({},J),className:`${ae||""} ${ie?"disabled-fill":""} markdown-body ${Qt.current}`,dangerouslySetInnerHTML:{__html:Ut}}),!ce&&Me(Ut)&&r.createElement(_,{html:Ut}),r.createElement(x.Z,{close:!0,data:Ie,type:Ie!=null&&Ie.length?Fe:"",style:D({},Y),onClose:()=>je("")}))}},23954:function(d,g,e){"use strict";e.d(g,{SV:function(){return Ue},ZP:function(){return et}});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(`
|
|
|
`)}]},o={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,A=Object.prototype.propertyIsEnumerable,R=(ye,Pe,Me)=>Pe in ye?x(ye,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ye[Pe]=Me,L=(ye,Pe)=>{for(var Me in Pe||(Pe={}))b.call(Pe,Me)&&R(ye,Me,Pe[Me]);if(_)for(var Me of _(Pe))A.call(Pe,Me)&&R(ye,Me,Pe[Me]);return ye},P=(ye,Pe)=>p(ye,y(Pe)),D=(ye,Pe,Me)=>new Promise(($e,He)=>{var nt=Ht=>{try{Gt(Me.next(Ht))}catch(Oe){He(Oe)}},ct=Ht=>{try{Gt(Me.throw(Ht))}catch(Oe){He(Oe)}},Gt=Ht=>Ht.done?$e(Ht.value):Promise.resolve(Ht.value).then(nt,ct);Gt((Me=Me.apply(ye,Pe)).next())});const B={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"]}},$=(ye,Pe)=>Pe.map(Me=>({label:Me,kind:ye.languages.CompletionItemKind.Keyword,insertText:Me})),j=ye=>Object.keys(B.tables).map(Pe=>({label:Pe,kind:ye.languages.CompletionItemKind.Variable,insertText:Pe})),K=(ye,Pe)=>{const Me=B.tables[ye];return Me?Me.map($e=>({label:$e,kind:Pe.languages.CompletionItemKind.Field,insertText:$e})):[]};function V(ye,Pe,Me,$e,He){let nt=Pe.getWordUntilPosition(Me),ct={startLineNumber:Me.lineNumber,endLineNumber:Me.lineNumber,startColumn:nt.startColumn,endColumn:nt.endColumn},Gt=$e.map(Ht=>({label:Ht,kind:ye.languages.CompletionItemKind.Keyword,insertText:Ht,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ct}));return He.map(Ht=>{Gt.push(P(L({},Ht),{range:ct}))}),Gt}var W=ye=>{B.languages.map(He=>(ye.languages.registerDocumentFormattingEditProvider(He,{provideDocumentFormattingEdits(nt,ct,Gt){return D(this,null,function*(){const Ht=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:Ht}]})}}),He));const Pe=f.quickKey.map(He=>({label:He.label,kind:ye.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Me=o.quickKey.map(He=>({label:He.label,kind:ye.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet})),$e=c.quickKey.map(He=>({label:He.label,kind:ye.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ye.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Gt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Ht=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...f.keywords.map(Oe=>({label:Oe,kind:ye.languages.CompletionItemKind.Function,documentation:Oe,insertText:Oe,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt})),...f.quickKey.map(Oe=>({label:Oe.label,kind:ye.languages.CompletionItemKind.Function,documentation:Oe.content,insertText:Ht.startsWith("#")?Oe.content.replace(/#/,""):Oe.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt}))]}}}),ye.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Gt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn};return{suggestions:[...l.keywords.map(Ht=>({label:Ht,kind:ye.languages.CompletionItemKind.Function,documentation:Ht,insertText:Ht,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt}))]}}}),ye.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Gt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Ht=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...c.keywords.map(Oe=>({label:Oe,kind:ye.languages.CompletionItemKind.Function,documentation:Oe,insertText:Oe,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt})),...c.quickKey.map(Oe=>({label:Oe.label,kind:ye.languages.CompletionItemKind.Function,documentation:Oe.content,insertText:Ht.startsWith("#")?Oe.content.replace(/#/,""):Oe.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt}))]}}}),ye.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Gt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Ht=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...h.keywords.map(Oe=>({label:Oe,kind:ye.languages.CompletionItemKind.Function,documentation:Oe,insertText:Oe,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt})),...h.quickKey.map(Oe=>({label:Oe.label,kind:ye.languages.CompletionItemKind.Function,documentation:Oe.content,insertText:Ht.startsWith("#")?Oe.content.replace(/#/,""):Oe.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt}))]}}}),ye.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Gt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Ht=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...o.keywords.map(Oe=>({label:Oe,kind:ye.languages.CompletionItemKind.Function,documentation:Oe,insertText:Oe,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt})),...o.quickKey.map(Oe=>({label:Oe.label,kind:ye.languages.CompletionItemKind.Function,documentation:Oe.content,insertText:Ht.startsWith("#")?Oe.content.replace(/#/,""):Oe.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt}))]}}})};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 ae=Object.defineProperty,ce=(ye,Pe,Me)=>Pe in ye?ae(ye,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ye[Pe]=Me,q=(ye,Pe,Me)=>ce(ye,typeof Pe!="symbol"?Pe+"":Pe,Me);const J=class kd{constructor(Pe,Me,$e){this.placeholder=Pe,this.editor=Me,this.monaco=$e,Me.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return kd.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)}};q(J,"ID","editor.widget.placeholderHint");var le=J,ne=e(96236),ee=e(8591),ie=e(6848),F=e(89392),M=e(34604),Q=e(56102),de=Object.defineProperty,Se=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,_t=(ye,Pe,Me)=>Pe in ye?de(ye,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ye[Pe]=Me,Pt=(ye,Pe)=>{for(var Me in Pe||(Pe={}))Fe.call(Pe,Me)&&_t(ye,Me,Pe[Me]);if(je)for(var Me of je(Pe))Ft.call(Pe,Me)&&_t(ye,Me,Pe[Me]);return ye},Qt=(ye,Pe)=>Se(ye,Ie(Pe)),Jt=(ye,Pe)=>{var Me={};for(var $e in ye)Fe.call(ye,$e)&&Pe.indexOf($e)<0&&(Me[$e]=ye[$e]);if(ye!=null&&je)for(var $e of je(ye))Pe.indexOf($e)<0&&Ft.call(ye,$e)&&(Me[$e]=ye[$e]);return Me},qt=(ye,Pe,Me)=>new Promise(($e,He)=>{var nt=Ht=>{try{Gt(Me.next(Ht))}catch(Oe){He(Oe)}},ct=Ht=>{try{Gt(Me.throw(Ht))}catch(Oe){He(Oe)}},Gt=Ht=>Ht.done?$e(Ht.value):Promise.resolve(Ht.value).then(nt,ct);Gt((Me=Me.apply(ye,Pe)).next())});function Xe(ye){return/^\d+$/.test(ye)?`${ye}px`:ye}function It(){}let Ut=!1;const ot={"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 bt(ye=[]){let Pe=ye;if(Array.isArray(ye)){for(let Me=0;Me<ye.length;Me++){let $e=ot[ye[Me]];if($e)return $e}return Pe[0]}return ot[Pe]||Pe}let ht=null;var et=ye=>{var Pe=ye,{width:Me="100%",height:$e="100%",value:He,language:nt="javascript",style:ct={},options:Gt={},overrideServices:Ht={},theme:Oe="vs-dark",onEditBlur:Je,isCopy:Wt=!1,onSave:kt,autoHeight:Zt=!1,forbidCopy:Bt=!1,onChange:At=It,editorDidMount:Kt=It,onFocus:We=It,onBreakPoint:fe=It,breakPointValue:_e=[],filename:Ot="educoder.txt",errorLine:De,errorContent:dt="",highlightLine:zt,openBreakPoint:Ct=!1,placeholder:ke=""}=Pe,wt=Jt(Pe,["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 xe=(0,r.useRef)(),Ke=(0,r.useRef)({}),gt=(0,r.useRef)(),Lt=(0,r.useRef)(),Be=(0,r.useRef)([]),Dr=(0,r.useRef)(!1),St=(0,r.useRef)(),Gr=(0,r.useRef)(),Xr=(0,r.useRef)(!1),[Sr,Mr]=(0,r.useState)(!1);function pr(){let _r;return xe.current&&(_r=new i.Z(Jr=>{for(let dn of Jr)(dn.target.offsetHeight>0||dn.target.offsetWidth>0)&&Ke.current.instance.layout()}),_r.observe(xe.current)),_r}function $r(){ee.ZP.warning({content:decodeURIComponent(oe),key:"monaco-editor-tip"})}const nn=()=>{let _r=Ke.current.instance;if(He!=null&&_r&&Sr){const Jr=_r.getModel();Jr&&He!==Jr.getValue()&&(Ut=!0,Jr.setValue(He),_r.layout(),Ut=!1)}};(0,r.useEffect)(()=>{const _r=M.Z.subscribe("formatDocument",Jr=>{var dn;let Mn=Ke.current.instance;(dn=Mn==null?void 0:Mn.getAction)==null||dn.call(Mn,"editor.action.formatDocument").run()});return window.updateMonacoValue=Jr=>{At(Jr)},_r},[]),(0,r.useEffect)(()=>{var _r;let Jr=Ke.current.instance;Lt.current&&clearTimeout(Lt.current),Lt.current=setTimeout(()=>{nn()},500),He&&(He!=null&&He.length)&&((_r=Jr==null?void 0:Jr.updateOptions)==null||_r.call(Jr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(He.split(/\r\n|\r|\n/g).length))+3,5)}))},[He,Sr,Ke.current]),(0,r.useEffect)(()=>{if(De&&Ke.current&&Ke.current.instance){let Jr=Ke.current.instance;Jr.changeViewZones(function(dn){var Mn=document.createElement("div");Mn.style.padding="10px 20px",Mn.style.width="calc(100% - 20px)",Mn.className="my-error-line-wrp",Mn.innerHTML=dt,dn.addZone({afterLineNumber:De||11,heightInLines:3,domNode:Mn})});var _r={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}};Jr.addOverlayWidget(_r),Jr.revealPositionInCenter({lineNumber:20,column:1})}},[De,Ke.current,Sr]);const on=(_r="",Jr)=>{if(!_r||_r.trim()==="")return!0;const Mn=Ke.current.instance.getModel().getLineTokens(Jr);let Jn=!1;for(let Nn=0;Nn<2;Nn++)Mn.getStandardTokenType(Nn)===1&&(Jn=!0);return Jn};(0,r.useEffect)(()=>{var _r;const Jr=(_r=Ke.current)==null?void 0:_r.instance;if(Jr&&Sr&&Bt){const dn=Jr.onDidBlurEditorWidget(()=>{Xr.current=!1}),Mn=Jr.onDidFocusEditorText(()=>{Xr.current=!0});return()=>{dn.dispose(),Mn.dispose()}}},[Ke.current,Sr,Bt]),(0,r.useEffect)(()=>{var _r;if((_r=Ke.current)!=null&&_r.instance&&Sr&&Ct){let Jr=Ke.current.instance,dn=Jr.getModel();if(!dn)return;(()=>{var Et;let lt=[],Qn=[];const xi=dn.getAllDecorations();for(let Wi of xi)Wi.options.className==="highlighted-line"&&(lt.push((Et=Wi==null?void 0:Wi.range)==null?void 0:Et.startLineNumber),Qn.push(Wi==null?void 0:Wi.id));if(zt===lt[0])return;dn.deltaDecorations(Qn,[]);const qn=dn.getLineCount();zt&&zt<=qn&&(Jr.deltaDecorations([],[{range:new ht.Range(zt,1,zt,dn.getLineMaxColumn(zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Jr.revealLineInCenter(zt))})();const Jn=(Et=!1)=>{var lt;let Qn=[],xi=[];const qn=dn.getAllDecorations();for(let Wi of qn)Wi.options.linesDecorationsClassName==="breakpoints-select"&&(Qn.push((lt=Wi==null?void 0:Wi.range)==null?void 0:lt.startLineNumber),xi.push(Wi==null?void 0:Wi.id));if(Et)return{lines:Qn,ids:xi};fe(Qn)},Nn=Et=>qt(void 0,null,function*(){let lt={range:new ht.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield dn.deltaDecorations([],[lt]),Jn()}),Ui=Et=>qt(void 0,null,function*(){let lt=[];const Qn=Jr.getLineDecorations(Et);for(let xi of Qn)xi.options.linesDecorationsClassName==="breakpoints-select"&<.push(xi.id);yield dn.deltaDecorations(lt,[]),Jn()}),mi=Et=>{let lt=Jr.getLineDecorations(Et);for(let Qn of lt)if(Qn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,F.isEqual)(_e,Jn(!0).lines)){dn.deltaDecorations(Jn(!0).ids,[]);const Et=_e.map(lt=>({range:new ht.Range(lt,1,lt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));dn.deltaDecorations([],Et)}const bi=Jr.onDidChangeModelContent(Et=>{let lt=Jr.getPosition();if(lt){let Qn=lt.lineNumber;clearTimeout(Gr.current),Gr.current=setTimeout(()=>{on(dn.getLineContent(Qn),Qn)?Ui(Qn):mi(Qn)?(Ui(Qn),Nn(Qn)):Jn()},100)}}),vi=Jr.onMouseDown(Et=>{var lt,Qn,xi;if(Et.target.detail&&((xi=(Qn=(lt=Et.target)==null?void 0:lt.element)==null?void 0:Qn.className)!=null&&xi.includes("line-numbers"))){let qn=Et.target.position.lineNumber;if(on(dn.getLineContent(qn),qn))return;mi(qn)?Ui(qn):Nn(qn)}}),di=Et=>{let lt={range:new ht.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Be.current=Jr.deltaDecorations(Be.current,[lt])},Yi=()=>{Be.current=Jr.deltaDecorations(Be.current,[])},Xn=Jr.onMouseMove(Et=>{var lt,Qn,xi;if(Yi(),Et.target.detail&&((xi=(Qn=(lt=Et.target)==null?void 0:lt.element)==null?void 0:Qn.className)!=null&&xi.includes("line-numbers"))){let qn=Et.target.position.lineNumber;if(on(dn.getLineContent(qn),qn))return;di(qn)}}),Vi=Jr.onMouseLeave(()=>{Yi()});return()=>{bi.dispose(),vi.dispose(),Xn.dispose(),Vi.dispose()}}},[Ke.current,Sr,_e,zt,Ct,nt]),(0,r.useEffect)(()=>{var _r;(_r=Ke.current)!=null&&_r.instance&&Ct&&Ke.current.instance.setPosition({lineNumber:0,column:0})},[zt]);function sr(){let _r=Ke.current.instance;if(_r){const Jr=_r.getSelection(),dn=Ke.current.pastePos||{},Mn=new ht.Range(dn.startLineNumber||Jr.endLineNumber,dn.startColumn||Jr.endColumn,dn.endLineNumber||Jr.endLineNumber,dn.endColumn||Jr.endColumn);setTimeout(()=>{_r.executeEdits("",[{range:Mn,text:""}])},300)}}function Mt(_r){(window.navigator.platform.match("Mac")?_r.metaKey:_r.ctrlKey)&&_r.keyCode==83&&(_r.preventDefault(),kt())}const vt=()=>{if(Zt&&Ke.current.instance){const _r=Ke.current.instance.getContentHeight();_n(_r<$e?$e:_r)}else _n($e)};function yt(_r){var Jr=document.createEvent("MouseEvents");Jr.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),_r.dispatchEvent(Jr)}const Nt=_r=>{if(!Xr.current)return;const{keyCode:Jr,ctrlKey:dn,metaKey:Mn,target:Jn,type:Nn}=_r;return(Nn==="paste"||(Jr===67||Jr===86)&&(Mn||dn))&&Jn.nodeName==="TEXTAREA"&&($r(),_r.preventDefault()),!1};function Cr(_r,Jr){var dn=window.URL||window.webkitURL||window,Mn=new Blob([Jr]),Jn=document.createElementNS("http://www.w3.org/1999/xhtml","a");Jn.href=dn.createObjectURL(Mn),Jn.download=_r,yt(Jn)}(0,r.useEffect)(()=>{vt()},[vt]),(0,r.useEffect)(()=>{xe.current&&!Sr&&Promise.all([e.e(8909),e.e(3267)]).then(e.bind(e,71448)).then(_r=>{try{ht=_r,Ke.current.instance=ht.editor.create(xe.current,{value:He,language:bt(nt),theme:Oe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Ht);const Jr=Ke.current.instance;let Jn=[...ne.BH._menuItems].find(bi=>bi[0]._debugName=="EditorContext")[1],Nn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Ui=(bi,vi)=>{var di,Yi;let Xn=bi._first;do vi.includes((Yi=(di=Xn.element)==null?void 0:di.command)==null?void 0:Yi.id)&&bi._remove(Xn);while(Xn=Xn.next)};if(Kt(Jr,ht),setTimeout(()=>{vt(),Ke.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Cr(Ot||"educoder.txt",Jr.getValue())}})},500),Ke.current.subscription=Jr.onDidChangeModelContent(bi=>{Dr.current?clearTimeout(St.current):(vt(),At(Jr.getValue(),bi)),St.current=setTimeout(()=>{Dr.current=!1},500)}),window.Monaco||W(ht,bt(nt)),Bt&&(Ui(Jn,Nn),xe.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Nt),window.removeEventListener("paste",Nt),window.addEventListener("keydown",Nt),window.addEventListener("paste",Nt)),window.Monaco=ht,Je&&Jr.onDidBlurEditorWidget(()=>{Je(Jr.getValue())}),We&&Jr.onDidFocusEditorText(()=>{We(Jr.getValue())}),Bt)try{Jr.onDidPaste(bi=>{const vi=Jr.getSelection(),di=Ke.current.pastePos||{},Yi=new ht.Range(di.startLineNumber||vi.endLineNumber,di.startColumn||vi.endColumn,di.endLineNumber||vi.endLineNumber,di.endColumn||vi.endColumn);Jr.executeEdits("",[{range:bi.range,text:""}])})}catch(bi){}let mi=pr();return ke&&typeof ke=="string"&&new le(ke,Jr,ht),Mr(!0),()=>{const bi=Ke.current.instance;bi.dispose();const vi=bi.getModel();vi&&vi.dispose(),Ke.current.subscription&&Ke.current.subscription.dispose(),mi.unobserve(xe.current)}}catch(Jr){}})},[]),(0,r.useEffect)(()=>{if(Ke.current.instance&&Sr)return document.addEventListener("keydown",Mt,!1),()=>{document.removeEventListener("keydown",Mt)}},[kt,Sr]),(0,r.useEffect)(()=>{let _r=Ke.current.instance;if(_r&&Sr){let Jr=bt(nt);ht.editor.setModelLanguage(_r.getModel(),Jr)}},[nt,Sr]),(0,r.useEffect)(()=>{Ke.current.instance&&Sr&&ht.editor.setTheme(Oe)},[Oe,Sr]),(0,r.useEffect)(()=>{let _r=Ke.current.instance;gt.current=Gt,_r&&Sr&&(_r.updateOptions(Pt({},Gt)),setTimeout(()=>{_r.getModel().updateOptions(Pt({},Gt))},200))},[JSON.stringify(Gt),Sr]),(0,r.useEffect)(()=>{let _r=Ke.current.instance;_r&&Sr&&_r.layout()},[Me,$e,Sr]);const[vr,ut]=(0,r.useState)(Xe(Me)),[Rr,_n]=(0,r.useState)(Xe($e)),Un=Qt(Pt({},ct),{width:vr,height:Rr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:xe,style:Un},Wt&&r.createElement(Q.CopyToClipboard,{text:He,onCopy:()=>ee.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(ie.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 Ue({width:ye="100%",height:Pe="100%",original:Me,modified:$e,language:He,options:nt={}}){const ct=(0,r.useRef)(),[Gt,Ht]=(0,r.useState)(null);function Oe(Zt){let Bt;return ct.current&&(Bt=new i.Z(At=>{for(let Kt of At)(Kt.target.offsetHeight>0||Kt.target.offsetWidth>0)&&Zt.layout()}),Bt.observe(ct.current)),Bt}(0,r.useEffect)(()=>(ct.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Zt=>{ht=Zt;const Bt=ht.editor.createDiffEditor(ct.current,Qt(Pt({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}));Ht(Bt);let At=Oe(Bt);return()=>{Bt.dispose();const Kt=Bt.getModel();Kt&&Kt.dispose(),At.unobserve(ct.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{Gt&&Gt.setModel({original:ht.editor.createModel(Me,He),modified:ht.editor.createModel($e,He)})},[Me,$e,He,Gt]);const Je=Xe(ye),Wt=Xe(Pe),kt={width:Je,height:Wt};return r.createElement("div",{className:"my-diff-editor",ref:ct,style:kt})}},52743:function(d,g,e){"use strict";e.d(g,{k:function(){return b}});var r=e(38650),i=e(8591),l=e(99309),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(R,L,P)=>L in R?c(R,L,{enumerable:!0,configurable:!0,writable:!0,value:P}):R[L]=P,p=(R,L)=>{for(var P in L||(L={}))u.call(L,P)&&x(R,P,L[P]);if(h)for(var P of h(L))a.call(L,P)&&x(R,P,L[P]);return R},y=(R,L)=>f(R,o(L)),_=(R,L)=>{var P={};for(var D in R)u.call(R,D)&&L.indexOf(D)<0&&(P[D]=R[D]);if(R!=null&&h)for(var D of h(R))L.indexOf(D)<0&&a.call(R,D)&&(P[D]=R[D]);return P};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],A={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:P}){yield P({type:"save",payload:{actionTabs:p({},R)}})},*getMajorList({payload:R},{call:L,put:P,select:D}){const{userInfo:B}=yield D($=>$.user);if(B!=null&&B.school_id){const $=yield L(r.BA,B.school_id);if($&&$.data){const j=l.U.getItem(B==null?void 0:B.login);yield P({type:"setMajorOrYearDataSource",payload:{key:b[0],value:$.data.map(K=>({label:K.name,value:K.ec_major_school_id})),active:$.data.length>0?j[0]||$.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:R},{call:L,put:P,select:D}){const B=yield L(r.Nx,R.id),{userInfo:$}=yield D(j=>j.user);if(B&&B.data){const j=l.U.getItem($==null?void 0:$.login);yield P({type:"setMajorOrYearDataSource",payload:{key:b[1],value:B.data.map(K=>({label:K.year,value:K.ec_year_id})),active:B.data.length>0?R.firstEnter?j[1]:B.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:R={}},{call:L,put:P,select:D}){const{calc:B,page:$,per_page:j}=R,{headerData:K,tabListData:V}=yield D(ae=>ae.engineeringEvaluteList),{userInfo:W}=yield D(ae=>ae.user);let oe=K.active[b[1]];if(oe){let ae={id:oe,page:$||1,per_page:j||V.pageSize};B&&(ae=y(p({},ae),{page:V.pageNo}));const ce=yield L(r._y,ae),q=[K.active[b[0]],K.active[b[1]]];l.U.setItem(W==null?void 0:W.login,q),ce&&ce.ec_courses&&(yield P({type:"setCourseResults",payload:y(p({},V),{pageNo:ae.page,total:ce.count,pageSize:ae.per_page||V.pageSize,dataSource:ce.ec_courses.map((J,Y)=>y(p({},J),{key:ae.page>1?(ae.page-1)*ae.per_page+Y+1:Y+1}))})}))}else yield P({type:"setCourseResults",payload:y(p({},V),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:R},{call:L,select:P}){const{headerData:D}=yield P(B=>B.engineeringEvaluteList);D.active[b[1]]&&(yield L(r.F,D.active[b[1]]))},*compute({payload:R},{call:L,put:P}){const D=R,{all:B}=D,$=_(D,["all"]),j=yield L(B?r.At:r.PX,$);j&&j.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield P({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 P=R.headerData.active;return L.active&&(P=y(p({},P),{[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:P})})},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:P})=>{P==="/"&&R({type:"query"})})}}};g.Z=A},26422: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,o=(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:A,program_questions:R,completion_questions:L,subjective_questions:P,practical_questions:D,combination_questions:B}=x||{},j=[o({type:"SINGLE",name:"\u5355\u9009\u9898"},_),o({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),o({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},L),o({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},A),o({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},P),o({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},R),o({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},D),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},B)].filter(K=>K.questions_count>0).map((K,V)=>o(o({},K),{number:u[V+1]}));return{all_questions_count:p,all_score:y,questionList:j}}},99309:function(d,g,e){"use strict";e.d(g,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(24065);const l=(f,o="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:o,onOk:f})},c={setItem:(f,o)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(o);localStorage.setItem(u,a)},getItem:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id);localStorage.removeItem(h)}}},35390:function(d,g,e){"use strict";e.d(g,{$f:function(){return p},Cq:function(){return b},GY:function(){return o},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 A},gQ:function(){return L},ht:function(){return _},kN:function(){return B},n1:function(){return l},nI:function(){return $},o9:function(){return c},sG:function(){return a},wi:function(){return P}});var r=e(99064),i=(j,K,V)=>new Promise((W,oe)=>{var ae=J=>{try{q(V.next(J))}catch(Y){oe(Y)}},ce=J=>{try{q(V.throw(J))}catch(Y){oe(Y)}},q=J=>J.done?W(J.value):Promise.resolve(J.value).then(ae,ce);q((V=V.apply(j,K)).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 o(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 A(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 P(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 B(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/cancel_professional_certification.json`,{method:"post",body:j})})}function $(j,K){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/videos/${j.id}/create_subject_video.json`,{method:"post",body:K})})}},13112: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(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(_,b,A)=>b in _?i(_,b,{enumerable:!0,configurable:!0,writable:!0,value:A}):_[b]=A,h=(_,b)=>{for(var A in b||(b={}))c.call(b,A)&&o(_,A,b[A]);if(l)for(var A of l(b))f.call(b,A)&&o(_,A,b[A]);return _},u=(_,b,A)=>new Promise((R,L)=>{var P=$=>{try{B(A.next($))}catch(j){L(j)}},D=$=>{try{B(A.throw($))}catch(j){L(j)}},B=$=>$.done?R($.value):Promise.resolve($.value).then(P,D);B((A=A.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({},_)})})}},19381:function(d,g,e){"use strict";e.d(g,{$n:function(){return A},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(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(P,D,B)=>D in P?i(P,D,{enumerable:!0,configurable:!0,writable:!0,value:B}):P[D]=B,h=(P,D)=>{for(var B in D||(D={}))c.call(D,B)&&o(P,B,D[B]);if(l)for(var B of l(D))f.call(D,B)&&o(P,B,D[B]);return P},u=(P,D,B)=>new Promise(($,j)=>{var K=oe=>{try{W(B.next(oe))}catch(ae){j(ae)}},V=oe=>{try{W(B.throw(oe))}catch(ae){j(ae)}},W=oe=>oe.done?$(oe.value):Promise.resolve(oe.value).then(K,V);W((B=B.apply(P,D)).next())});function a(P){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},P)})})}function x(P){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},P)})})}function p(P){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},P)})})}function y(P){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${P.id}.json`,{method:"get",params:h({},P)})})}function _(P){return u(this,null,function*(){const{id:D}=P;return delete P.id,(0,r.ZP)(`/api/files/${D}.json`,{method:"put",body:h({},P)})})}function b(P){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${P.id}/update_visits.json`,{method:"post"})})}function A(P){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${P==null?void 0:P.id}/watch_list.json`,{method:"get",params:h({},P)})})}function R(P){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},P)})})}function L(P){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${P==null?void 0:P.id}/add_file_quantity.json`,{method:"post",body:h({},P)})})}},10813:function(d,g,e){"use strict";e.d(g,{CJ:function(){return y},Mf:function(){return L},NA:function(){return A},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(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(P,D,B)=>D in P?i(P,D,{enumerable:!0,configurable:!0,writable:!0,value:B}):P[D]=B,h=(P,D)=>{for(var B in D||(D={}))c.call(D,B)&&o(P,B,D[B]);if(l)for(var B of l(D))f.call(D,B)&&o(P,B,D[B]);return P},u=(P,D,B)=>new Promise(($,j)=>{var K=oe=>{try{W(B.next(oe))}catch(ae){j(ae)}},V=oe=>{try{W(B.throw(oe))}catch(ae){j(ae)}},W=oe=>oe.done?$(oe.value):Promise.resolve(oe.value).then(K,V);W((B=B.apply(P,D)).next())});function a(P){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},P)})})}function x(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.boardId}.json`,{method:"get",params:h({},P)})})}function p(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.id}/sticky_top.json`,{method:"put",body:{course_id:P.coursesId}})})}function y(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.id}/sticky_top.json`,{method:"put",body:{course_id:P.coursesId}})})}function _(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.boardId}/reply_list.json`,{method:"get",params:h({},P)})})}function b(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.boardId}/reply.json`,{method:"post",body:h({},P)})})}function A(P){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},P)})})}function R(P){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},P)})})}function L(P){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},P)})})}},92365:function(d,g,e){"use strict";e.d(g,{$T:function(){return vr},A:function(){return Bt},Ab:function(){return mi},Al:function(){return ee},BQ:function(){return ht},BR:function(){return ne},Bn:function(){return Me},Cq:function(){return Nt},DJ:function(){return Fe},Dd:function(){return _},Ds:function(){return Ue},EO:function(){return At},Ed:function(){return Ft},F9:function(){return nt},FU:function(){return Gt},Fg:function(){return b},GV:function(){return qt},Gk:function(){return q},Gm:function(){return Ut},Gz:function(){return A},Hl:function(){return R},Hn:function(){return V},ID:function(){return nn},IU:function(){return De},J2:function(){return Qt},K$:function(){return ye},KP:function(){return _t},KT:function(){return Ie},L$:function(){return Wt},LH:function(){return D},Lk:function(){return Vi},Ls:function(){return Q},MA:function(){return Un},Mc:function(){return Xn},N7:function(){return le},Nd:function(){return ce},Nl:function(){return Ot},Ns:function(){return on},O3:function(){return je},Pj:function(){return It},QX:function(){return _e},QZ:function(){return Se},R2:function(){return Y},Rk:function(){return Cr},S9:function(){return kt},U8:function(){return Mt},UD:function(){return Sr},U_:function(){return oe},Uy:function(){return pr},V8:function(){return K},Vw:function(){return M},W0:function(){return zt},W7:function(){return et},WK:function(){return _r},Wr:function(){return Ui},YR:function(){return We},Z0:function(){return gt},ZL:function(){return wt},ZT:function(){return bi},ZX:function(){return dn},Z_:function(){return B},_0:function(){return $},_9:function(){return ot},_B:function(){return di},aP:function(){return Ct},aQ:function(){return bt},aZ:function(){return Oe},al:function(){return Zt},bm:function(){return Xr},bz:function(){return $e},c_:function(){return yt},ds:function(){return Gr},fN:function(){return Jr},fr:function(){return Kt},g4:function(){return Jt},gq:function(){return L},hf:function(){return F},i:function(){return Lt},i6:function(){return Rr},i7:function(){return $r},iE:function(){return a},ih:function(){return Mn},kW:function(){return Pt},km:function(){return sr},nP:function(){return p},nQ:function(){return He},nX:function(){return Dr},oM:function(){return Pe},oR:function(){return Yi},o_:function(){return ke},pf:function(){return St},pr:function(){return vi},pv:function(){return ut},qB:function(){return ie},r2:function(){return j},rS:function(){return P},s:function(){return Jn},sb:function(){return Je},sm:function(){return y},t1:function(){return Xe},tB:function(){return Nn},tR:function(){return ct},td:function(){return dt},uh:function(){return Ht},up:function(){return vt},v2:function(){return x},vV:function(){return xe},w9:function(){return ae},wR:function(){return _n},yS:function(){return fe},yV:function(){return J},yd:function(){return Be},zg:function(){return de}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Et,lt,Qn)=>lt in Et?i(Et,lt,{enumerable:!0,configurable:!0,writable:!0,value:Qn}):Et[lt]=Qn,h=(Et,lt)=>{for(var Qn in lt||(lt={}))c.call(lt,Qn)&&o(Et,Qn,lt[Qn]);if(l)for(var Qn of l(lt))f.call(lt,Qn)&&o(Et,Qn,lt[Qn]);return Et},u=(Et,lt,Qn)=>new Promise((xi,qn)=>{var Wi=bn=>{try{ni(Qn.next(bn))}catch(tr){qn(tr)}},hi=bn=>{try{ni(Qn.throw(bn))}catch(tr){qn(tr)}},ni=bn=>bn.done?xi(bn.value):Promise.resolve(bn.value).then(Wi,hi);ni((Qn=Qn.apply(Et,lt)).next())});const a=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/course_videos/configs.json`,{method:"put",body:Et})}),x=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Et})}),p=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Et})}),y=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Et})}),_=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Et})}),b=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Et})}),A=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Et})}),R=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:Et})});function L(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},Et.permissions)})})}function P(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.course_id}/assistant_permissions.json`,{method:"Get",params:h({},Et)})})}function D(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/ai_status_query.json`,{method:"Get",params:Et})})}function B(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},Et)})})}function $(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/get_user_portrait_config.json`,{method:"Get",params:Et})})}function j(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_user_portrait_config.json?id=${Et.coursesId}`,{method:"put",body:h({},Et)})})}function K(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},Et)})})}function V(Et){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},Et)})})}function W(Et){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},Et)})})}function oe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/top_banner.json`,{method:"get",params:h({},Et)})})}function ae(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id||Et.coursesId}/left_banner.json`,{method:"get",params:h({},Et)})})}function ce(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons.json`,{method:"get",params:h({},Et)})})}function q(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons/list.json`,{method:"get",params:h({},Et)})})}function J(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/graduation_topics.json`,{method:"get",params:h({},Et)})})}function Y(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/graduation_tasks.json`,{method:"get",params:h({},Et)})})}function le(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${Et.id}/exercises.json`,{method:"get",params:h({},Et)})})}function ne(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/polls.json`,{method:"get",params:h({},Et)})})}function ee(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons.json`,{method:"get",params:h({},Et)})})}function ie(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_groups.json`,{method:"get",params:h({},Et)})})}function F(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/all_course_groups.json`,{method:"get",params:h({},Et)})})}function M(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/attendances.json`,{method:"get",params:h({},Et)})})}function Q(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${Et.coursesId}/attendances.json`,{method:"get",params:h({},Et)})})}function de(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${Et.id}/edit.json`,{method:"get",params:h({},Et)})})}function Se(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/informs.json`,{method:"get",params:h({},Et)})})}function Ie(Et){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},Et)})})}function je(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_videos.json`,{method:"get",params:h({},Et)})})}function Fe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/live_links.json`,{method:"get",params:h({},Et)})})}function Ft(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},Et)})})}function _t(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Et.categoryId}/messages.json`,{method:"get",params:h({},Et)})})}function Pt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_groups.json`,{method:"get",params:h({},Et)})})}function Qt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/students.json`,{method:"get",params:h({},Et)})})}function Jt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/statistics.json`,{method:"get",params:h({},Et)})})}function qt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/work_score.json`,{method:"get",params:h({},Et)})})}function Xe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/act_score.json`,{method:"get",params:h({},Et)})})}function It(Et){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},Et)})})}function Ut(Et){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},Et)})})}function ot(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},Et)})})}function bt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},Et)})})}function ht(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},Et)})})}function et(Et){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},Et)})})}function Ue(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},Et)})})}function ye(Et){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:Et})})}function Pe(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:Et})})}function Me(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:Et})})}function $e(Et){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Et})})}function He(Et){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:Et})})}function nt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},Et)})})}function ct(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.identifier}/add_student_groups.json`,{method:"post",body:Et})})}function Gt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:Et})})}function Ht(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_teacher.json`,{method:"post",body:Et})})}function Oe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_students_by_search.json`,{method:"post",body:Et})})}function Je(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/set_public_or_private.json`,{method:"post",body:Et})})}function Wt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/set_invite_code_halt.json`,{method:"post",body:Et})})}function kt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/duplicate_course.json`,{method:"post",body:Et})})}function Zt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_end_date.json`,{method:"put",body:Et})})}function Bt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}.json`,{method:"delete",body:Et})})}function At(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/settings.json`,{method:"get",params:h({},Et)})})}function Kt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}.json`,{method:"put",body:Et})})}function We(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},Et)})})}function _e(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},Et)})})}function Ot(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},Et)})})}function De(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},Et)})})}function dt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},Et)})})}function zt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},Et)})})}function Ct(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Et)})})}function ke(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},Et)})})}function wt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},Et)})})}function xe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},Et)})})}function Ke(Et){return u(this,null,function*(){return Fetch(`/api/homework_commons/${Et.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},Et)})})}function gt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function Lt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function Be(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Et.id}/sticky_module.json`,{method:"get"})})}function Dr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Et.id}/hidden_module.json`,{method:"get"})})}function St(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:Et})})}function Gr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${Et.id}.json`,{method:"get",params:Et})})}function Xr(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Et})})}function Sr(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Et})})}function Mr(Et){return u(this,null,function*(){return Fetch(`/api/polls/${Et.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},Et)})})}function pr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Et)})})}function $r(Et){return(0,r.ZP)(`/api/polls/${Et.categoryId}/start_answer.json`,{method:"get",params:h({},Et)})}function nn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${Et.questionId}/poll_votes.json`,{method:"post",body:Et})})}function on(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${Et.categoryId}/commit_poll.json`,{method:"post",body:Et})})}function sr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.courseId}/tasks_list.json`,{method:"get",params:Et})})}function Mt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.courseId}/update_task_position.json`,{method:"post",body:Et})})}function vt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:Et})})}function yt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/all_course_groups.json`,{method:"get",params:Et})})}function Nt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/polls/all_course_groups.json`,{method:"get",params:Et})})}function Cr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/students.json`,{method:"get",params:Et})})}function vr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}/rename_group.json`,{method:"POST",body:Et})})}function ut(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}.json`,{method:"delete",body:Et})})}function Rr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/join_course_group.json`,{method:"POST",body:Et})})}function _n(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/transfer_to_course_group.json`,{method:"post",body:Et})})}function Un(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/delete_from_course.json`,{method:"post",body:Et})})}function _r(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/join_course_group.json`,{method:"post",body:Et})})}function Jr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exit_course.json`,{method:"post"})})}function dn(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},Et)})})}function Mn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users/${Et.user_id}/edit.json`,{method:"get",params:Et})})}function Jn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users.json`,{method:"post",body:Et})})}function Nn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users/${Et.user_id}.json`,{method:"put",body:Et})})}function Ui(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${Et.id}/move_category.json`,{method:"post",body:Et})})}function mi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Et.id}/move_category.json`,{method:"post",body:Et})})}function bi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/courseware.json`,{method:"get",params:Et})})}function vi(Et,lt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/mark_wrong_topic.json`,{method:"get",params:lt})})}function di(Et,lt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/cancel_wrong_topic.json`,{method:"get",params:lt})})}function Yi(Et,lt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et}/allow_end_group.json`,{method:"get",params:lt})})}function Xn(Et,lt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:lt})})}function Vi(Et,lt){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${Et}/get_content_for_commit_id.json`,{method:"get",params:lt})})}},52721:function(d,g,e){"use strict";e.d(g,{$M:function(){return Jt},$P:function(){return Gt},Ax:function(){return x},Dh:function(){return R},FU:function(){return W},GQ:function(){return ne},IN:function(){return Ue},JM:function(){return $e},Ju:function(){return Qt},Mn:function(){return et},Ni:function(){return Q},Pg:function(){return L},Pt:function(){return A},Qp:function(){return Y},R9:function(){return oe},Ux:function(){return le},Vy:function(){return je},XJ:function(){return M},XR:function(){return _t},Ze:function(){return $},aq:function(){return B},bQ:function(){return _},bu:function(){return p},cC:function(){return a},jS:function(){return ce},lm:function(){return ye},ml:function(){return ie},o3:function(){return Xe},pA:function(){return Ut},pS:function(){return Me},pU:function(){return F},ps:function(){return V},q0:function(){return bt},qN:function(){return ht},qS:function(){return b},qj:function(){return Ft},qt:function(){return nt},rV:function(){return P},rZ:function(){return He},rk:function(){return Se},rm:function(){return J},sK:function(){return q},sL:function(){return ot},su:function(){return Pe},tC:function(){return Ie},tO:function(){return Fe},u9:function(){return ee},uZ:function(){return de},vV:function(){return K},xx:function(){return Ht},y8:function(){return Pt},yS:function(){return j},zF:function(){return y},zc:function(){return ae},zj:function(){return D},zz:function(){return ct}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Oe,Je,Wt)=>Je in Oe?i(Oe,Je,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Oe[Je]=Wt,h=(Oe,Je)=>{for(var Wt in Je||(Je={}))c.call(Je,Wt)&&o(Oe,Wt,Je[Wt]);if(l)for(var Wt of l(Je))f.call(Je,Wt)&&o(Oe,Wt,Je[Wt]);return Oe},u=(Oe,Je,Wt)=>new Promise((kt,Zt)=>{var Bt=We=>{try{Kt(Wt.next(We))}catch(fe){Zt(fe)}},At=We=>{try{Kt(Wt.throw(We))}catch(fe){Zt(fe)}},Kt=We=>We.done?kt(We.value):Promise.resolve(We.value).then(Bt,At);Kt((Wt=Wt.apply(Oe,Je)).next())});const a=Oe=>(0,r.ZP)(`/api/competitions/${Oe.identifier}/create_guide.json`,{method:"post",body:Oe}),x=Oe=>(0,r.ZP)(`/api/competitions/${Oe.identifier}/guides.json`,{method:"get",params:Oe}),p=Oe=>(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_teams/${Oe.competition_team_id}/edit_info.json`,{method:"put",body:Oe});function y(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/update_result.json`,{method:"post",body:Oe})})}function _(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Oe)})})}function b(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Oe})})}function A(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_teams.json`,{method:"post"})})}function R(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_staff.json`,{method:"get"})})}function L(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/common_header.json`,{method:"get"})})}function P(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/${Oe.url}`,{method:"get",params:h({},Oe)})})}function D(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/update_md_content.json`,{method:"post",body:Oe})})}function B(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_teams.json`,{method:"get",params:Oe})})}function $(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_teams/${Oe.Teannameid}/edit.json`,{method:"get",params:Oe})})}function j(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_teams/${Oe.Teannameid}.json`,{method:"put",body:Oe})})}function K(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_teams/${Oe.id}/leave.json`,{method:"post",body:Oe})})}function V(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_teams/${Oe.id}.json`,{method:"delete"})})}function W(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_teams.json`,{method:"post",body:Oe})})}function oe(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.id}/add_managers.json`,{method:"post",body:Oe})})}function ae(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_teams/join.json`,{method:"post",body:Oe})})}function ce(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/teachers.json`,{method:"get",params:Oe})})}function q(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/students.json`,{method:"get",params:Oe})})}function J(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_teams/${Oe.teamid}/crud_team_members.json`,{method:"post",body:Oe})})}function Y(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Oe})})}function le(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/chart_rules.json`,{method:"get"})})}function ne(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/charts.json`,{method:"get",params:Oe})})}function ee(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/results.json`,{method:"get",params:Oe})})}function ie(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/md_tab_rules.json`,{method:"get",params:Oe})})}function F(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/prize.json`,{method:"get",params:Oe})})}function M(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Oe.id}.json`,{method:"get",params:Oe})})}function Q(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Oe})})}function de(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Oe.userid}/phone_bind.json`,{method:"post",body:Oe})})}function Se(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Oe.userid}/email_bind.json`,{method:"post",body:Oe})})}function Ie(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Oe.userid}/professional_auth_apply.json`,{method:"delete"})})}function je(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Oe.userid}/authentication_apply.json`,{method:"delete"})})}function Fe(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/prize_leader_account.json`,{method:"put",body:Oe})})}function Ft(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_teams/${Oe.teamid}/shixun_detail.json`,{method:"get"})})}function _t(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_teams/${Oe.teamid}/course_detail.json`,{method:"get"})})}function Pt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Oe.id}.json`,{method:"delete"})})}function Qt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.id}/get_certificate_info.json`,{method:"get",params:Oe})})}function Jt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.id}/basic_setting.json`,{method:"post",body:Oe})})}function qt(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Xe(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe}/common_header.json`,{method:"get"})})}function It(Oe){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Oe})})}function Ut(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe==null?void 0:Oe.id}/search_managers.json`,{method:"get",params:Oe})})}function ot(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe}/get_managers.json`,{method:"get"})})}function bt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe==null?void 0:Oe.id}/add_managers.json`,{method:"post",body:Oe})})}function ht(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe==null?void 0:Oe.id}/delete_managers.json`,{method:"delete",body:Oe})})}function et(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe}/get_picture.json`,{method:"get"})})}function Ue(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe==null?void 0:Oe.id}/identifier_exist.json`,{method:"post",body:Oe})})}function ye(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe}/get_shixun_settings.json`,{method:"get"})})}function Pe(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe==null?void 0:Oe.id}/shixun_add.json`,{method:"post",body:Oe})})}function Me(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe==null?void 0:Oe.id}/shixun_delete.json`,{method:"delete",body:Oe})})}function $e(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe==null?void 0:Oe.id}/shixun_select.json`,{method:"post",body:Oe})})}function He(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe}/info_finish.json`,{method:"get"})})}function nt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe==null?void 0:Oe.id}/competition_review.json`,{method:"post",body:h({},Oe)})})}function ct(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_teams.json`,{method:"get",params:Oe})})}function Gt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/all_team_members.json`,{method:"get",params:Oe})})}function Ht(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Oe.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Oe})})}},38650:function(d,g,e){"use strict";e.d(g,{F:function(){return b},OE:function(){return D},ff:function(){return A},p1:function(){return R},_y:function(){return _},mK:function(){return K},gq:function(){return W},eM:function(){return j},BA:function(){return ce},bA:function(){return J},Nx:function(){return q},Qx:function(){return B},At:function(){return L},PX:function(){return P},Xl:function(){return $},y9:function(){return V},No:function(){return oe},ay:function(){return Y}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(le,ne,ee)=>ne in le?i(le,ne,{enumerable:!0,configurable:!0,writable:!0,value:ee}):le[ne]=ee,a=(le,ne)=>{for(var ee in ne||(ne={}))o.call(ne,ee)&&u(le,ee,ne[ee]);if(f)for(var ee of f(ne))h.call(ne,ee)&&u(le,ee,ne[ee]);return le},x=(le,ne)=>l(le,c(ne)),p=(le,ne)=>{var ee={};for(var ie in le)o.call(le,ie)&&ne.indexOf(ie)<0&&(ee[ie]=le[ie]);if(le!=null&&f)for(var ie of f(le))ne.indexOf(ie)<0&&h.call(le,ie)&&(ee[ie]=le[ie]);return ee},y=(le,ne,ee)=>new Promise((ie,F)=>{var M=Se=>{try{de(ee.next(Se))}catch(Ie){F(Ie)}},Q=Se=>{try{de(ee.throw(Se))}catch(Ie){F(Ie)}},de=Se=>Se.done?ie(Se.value):Promise.resolve(Se.value).then(M,Q);de((ee=ee.apply(le,ne)).next())});const _=le=>y(void 0,null,function*(){var ne=le,{id:ee}=ne,ie=p(ne,["id"]);return(0,r.ZP)(`/api/ec_years/${ee}/course_results.json`,{method:"get",params:ie})}),b=le=>{let ne=document.createElement("iframe");ne.src=`/api/ec_years/${le}/course_results.xlsx`,ne.style.display="none",document.body.appendChild(ne)},A=({ec_year_id:le})=>(0,r.ZP)(`/api/ec_years/${le}/course_results/get_class.json`,{method:"get"}),R=({ec_year_id:le,id:ne,class_name:ee=null})=>(0,r.ZP)(`/api/ec_years/${le}/course_results/${ne}.json`,{method:"get",params:{class_name:ee}}),L=({ec_year_id:le})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:le}}),P=({ec_course_id:le})=>(0,r.ZP)(`/api/ec_courses/${le}/evaluations/evaluation_data`,{method:"POST"}),D=le=>{let ne=document.createElement("iframe");ne.src=`/api/ec_years/${le}/ec_graduation_results.xlsx`,ne.style.display="none",document.body.appendChild(ne)},B=({ec_year_id:le})=>(0,r.ZP)(`/api/ec_years/${le}/ec_graduation_results/compute_all`,{method:"post"}),$=({ec_year_id:le,id:ne})=>(0,r.ZP)(`/api/ec_years/${le}/ec_graduation_results/compute_single?id=${ne}`,{method:"POST"}),j=le=>(0,r.ZP)(`/api/ec_years/${le}/ec_graduation_results.json`,{method:"get"}),K=le=>(0,r.ZP)(`/api/ec_years/${le}/ec_graduation_results/get_formulas.json`,{method:"get"}),V=({ec_year_id:le,formula_one:ne,formula_two:ee,formula_three:ie})=>(0,r.ZP)(`/api/ec_years/${le}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ne,formula_two_id:ee,formula_three_id:ie}}),W=({ec_year_id:le,id:ne})=>(0,r.ZP)(`/api/ec_years/${le}/ec_graduation_results/${ne}.json`,{method:"get"}),oe=le=>{var ne=le,{ec_year_id:ee,type:ie,goal_value:F}=ne,M=p(ne,["ec_year_id","type","goal_value"]);let Q=`?type=${ie}`,de={method:"PUT"};return ie==="all"&&(Q+=`&goal_value=${F}`),ie==="each"&&(de=x(a({},de),{body:M})),(0,r.ZP)(`/api/ec_years/${ee}/ec_graduation_results/set_goal_value${Q}`,de)};var ae=(le,ne,ee)=>new Promise((ie,F)=>{var M=Se=>{try{de(ee.next(Se))}catch(Ie){F(Ie)}},Q=Se=>{try{de(ee.throw(Se))}catch(Ie){F(Ie)}},de=Se=>Se.done?ie(Se.value):Promise.resolve(Se.value).then(M,Q);de((ee=ee.apply(le,ne)).next())});const ce=le=>ae(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${le}/ec_majors/get_major_list.json`,{method:"get"})}),q=le=>ae(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${le}/ec_years/get_year_list.json`,{method:"get"})}),J=({ec_year_id:le,school_id:ne})=>(0,r.ZP)(`/api/ec_years/${le}/top_pages.json`,{method:"get",params:{school_id:ne}}),Y=({id:le,name:ne})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${le}?name=${ne}`,{method:"PUT"})},94941:function(d,g,e){"use strict";e.d(g,{$Q:function(){return D},$l:function(){return vr},BJ:function(){return ht},CD:function(){return Je},Cd:function(){return nt},Cl:function(){return Be},Di:function(){return qt},Fl:function(){return Ut},G$:function(){return ie},GK:function(){return It},Ip:function(){return ye},J:function(){return F},KE:function(){return ot},L8:function(){return Kt},LP:function(){return Pe},MK:function(){return Xe},Mb:function(){return Sr},N0:function(){return V},N3:function(){return Fe},OO:function(){return L},P8:function(){return on},PJ:function(){return Q},PT:function(){return pr},Qc:function(){return oe},RK:function(){return ee},Ty:function(){return Ke},UH:function(){return dt},UK:function(){return Ft},Uj:function(){return Ht},Ul:function(){return He},VL:function(){return Zt},Vj:function(){return fe},W4:function(){return Gt},WL:function(){return _e},Wj:function(){return ne},X4:function(){return Ue},Xn:function(){return Gr},Xo:function(){return ce},YY:function(){return Jt},Ym:function(){return j},Yu:function(){return sr},ZD:function(){return nn},Zg:function(){return Dr},_B:function(){return Oe},_F:function(){return Mr},_U:function(){return J},_u:function(){return de},aU:function(){return K},ab:function(){return Lt},cC:function(){return xe},cV:function(){return Y},ck:function(){return $r},dp:function(){return W},eA:function(){return Nt},fG:function(){return A},gA:function(){return le},gG:function(){return Xr},gJ:function(){return Mt},hk:function(){return y},hv:function(){return _},iB:function(){return b},iU:function(){return R},iw:function(){return wt},kp:function(){return Bt},lL:function(){return P},lf:function(){return je},n$:function(){return Ie},n7:function(){return q},nF:function(){return We},o3:function(){return vt},oS:function(){return Me},oX:function(){return kt},oy:function(){return gt},p7:function(){return $},pL:function(){return Wt},pu:function(){return et},q6:function(){return At},qf:function(){return Qt},qz:function(){return $e},s:function(){return Ct},sA:function(){return Ot},sS:function(){return yt},tX:function(){return zt},uR:function(){return _t},ux:function(){return bt},wy:function(){return Pt},xA:function(){return ke},yE:function(){return ae},yu:function(){return De},zP:function(){return B},zR:function(){return Cr}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ut,Rr,_n)=>Rr in ut?i(ut,Rr,{enumerable:!0,configurable:!0,writable:!0,value:_n}):ut[Rr]=_n,a=(ut,Rr)=>{for(var _n in Rr||(Rr={}))o.call(Rr,_n)&&u(ut,_n,Rr[_n]);if(f)for(var _n of f(Rr))h.call(Rr,_n)&&u(ut,_n,Rr[_n]);return ut},x=(ut,Rr)=>l(ut,c(Rr)),p=(ut,Rr,_n)=>new Promise((Un,_r)=>{var Jr=Jn=>{try{Mn(_n.next(Jn))}catch(Nn){_r(Nn)}},dn=Jn=>{try{Mn(_n.throw(Jn))}catch(Nn){_r(Nn)}},Mn=Jn=>Jn.done?Un(Jn.value):Promise.resolve(Jn.value).then(Jr,dn);Mn((_n=_n.apply(ut,Rr)).next())});const y=ut=>(0,r.ZP)(`/api/exercises/${ut==null?void 0:ut.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:ut}),_=ut=>(0,r.ZP)(`/api/exercises/${ut==null?void 0:ut.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:ut}),b=ut=>(0,r.ZP)(`/api/exercises/${ut.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:ut}),A=ut=>(0,r.ZP)(`/api/exercises/${ut.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:ut}),R=ut=>(0,r.ZP)(`/api/exercises/${ut==null?void 0:ut.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:ut}),L=ut=>(0,r.ZP)(`/api/exercises/${ut==null?void 0:ut.exercise_id}/statistics/list_student_score.json`,{method:"get",params:ut}),P=ut=>(0,r.ZP)(`/api/exercises/${ut==null?void 0:ut.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:ut}),D=ut=>(0,r.ZP)(`/api/exercises/${ut==null?void 0:ut.exercise_id}/statistics/score_ranges.json`,{method:"get",params:ut}),B=ut=>(0,r.ZP)(`/api/exercises/${ut.id}/sava_exam_summary.json`,{method:"post",body:ut}),$=ut=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:ut}),j=ut=>(0,r.ZP)(`/api/exercises/${ut.id}/generate_exam_summary.json`,{method:"post",body:ut}),K=ut=>(0,r.ZP)(`/api/exercises/${ut.id}/exam_summary_settings.json`,{method:"post",body:ut}),V=ut=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ut==null?void 0:ut.exercise_id}/review_exercise_user.json`,{method:"post",body:ut})}),W=ut=>(0,r.ZP)(`/api/exercises/${ut==null?void 0:ut.id}/code_check.json`,{method:"get",params:ut}),oe=ut=>(0,r.ZP)(`/api/exercises/${ut.id}/reset_pwd.json`,{method:"post",body:ut}),ae=ut=>(0,r.ZP)(`/api/exercises/${ut.id}/encrypt_or_decrypt.json`,{method:"post",body:ut}),ce=ut=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.id}/delayed_time_or_force.json`,{method:"post",body:ut})}),q=ut=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ut==null?void 0:ut.id}/exercise_time.json`,{method:"Get",params:ut})}),J=ut=>(0,r.ZP)(`/api/exercises/${ut==null?void 0:ut.id}/exercise_question_result.json`,{method:"get",params:ut}),Y=ut=>(0,r.ZP)(`/api/exercises/${ut.id}/get_question_type_alias.json`,{method:"get",params:ut});function le(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ut==null?void 0:ut.id}/teacher_update.json`,{method:"post",body:a({},ut)})})}function ne(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ut==null?void 0:ut.id}/adjust_comment.json`,{method:"post",body:a({},ut)})})}function ee(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.id}/edit_question_type_alias.json`,{method:"POST",body:ut})})}function ie(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/exercise_lists.json`,{method:"get",params:a({},ut)})})}function F(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},ut)})})}function M(ut){return p(this,null,function*(){return Fetch(`/api/exercises/${ut.categoryId}/video_push_url.json`,{method:"get",params:a({},ut)})})}function Q(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},ut)})})}function de(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/exercise_result.json`,{method:"get",params:a({},ut)})})}function Se(ut){return p(this,null,function*(){return Fetch(`/api/exercises/${ut.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},ut)})})}function Ie(ut){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},ut)})})}function je(ut){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},ut)})})}function Fe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ut.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},ut)})})}function Ft(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/common_header.json`,{method:"get",params:a({},ut)})})}function _t(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ut.coursesId}/exercises.json`,{method:"post",body:a({},ut)})})}function Pt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.exerciseId}.json`,{method:"put",body:a({},ut)})})}function Qt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}.json`,{method:"get",params:a({},ut)})})}function Jt(ut){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},ut)})})}function qt(ut){return p(this,null,function*(){const{id:Rr}=ut;return delete ut.id,(0,r.ZP)(`/api/exercise_questions/${Rr}.json`,{method:"put",body:a({},ut)})})}function Xe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/exercise_questions.json`,{method:"post",body:a({},ut)})})}function It(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ut.id}/up_down.json`,{method:"post",body:a({},ut)})})}function Ut(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ut.id}.json`,{method:"delete"})})}function ot(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ut.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},ut)})})}function bt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/publish_groups.json`,{method:"get",params:a({},ut)})})}function ht(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},ut)})})}function et(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.exerciseId}/consult_exercise.json`,{method:"post",body:a({},ut)})})}function Ue(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},ut)})})}function ye(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ut.id}/adjust_score.json`,{method:"post",body:a({},ut)})})}function Pe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ut.id}/batch_adjust_score.json`,{method:"post",body:a({},ut)})})}function Me(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.id}/adjust_score.json`,{method:"post",body:a({},ut)})})}function $e(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.id}/delayed_time.json`,{method:"post",body:a({},ut)})})}function He(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/exercise_setting.json`,{method:"get",params:a({},ut)})})}function nt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${ut.categoryId}/exercise_setting.json`,{method:"get",params:a({},ut)})})}function ct(ut){return p(this,null,function*(){return Fetch(`/api/exercises/${ut.categoryId}/commit_setting.json`,{method:"post",body:a({},ut)})})}function Gt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},ut)})})}function Ht(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},ut),{export:!0})})})}function Oe(ut){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},ut),{login:null})})}function Je(ut){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/start.json`,{method:"get",params:a({},ut)})}function Wt(ut){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/start_unlock.json`,{method:"post",body:a({},ut)})}function kt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ut.questionId}/exercise_answers.json`,{method:"post",body:ut})})}function Zt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/commit_exercise.json`,{method:"post",body:ut})})}function Bt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/simulate_commit_exercise.json`,{method:"post",body:ut})})}function At(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/redo_exercise.json`,{method:"post",body:ut})})}function Kt(ut){return(0,r.ZP)(`/api/${ut.url}`,{method:"get",params:a({},ut)})}function We(ut){return(0,r.ZP)(`/api/problems/${ut.id}/start.json`,{method:"get",params:a({},ut)})}function fe(ut){return(0,r.ZP)(`/api/exercises/${ut.id}/begin_commit.json`,{method:"get",params:a({},ut)})}function _e(ut){return(0,r.ZP)(`/api/exercises/${ut.id}/simulate_begin_commit.json`,{method:"get",params:a({},ut)})}function Ot(ut){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},ut)})}function De(ut){return console.log("params:",ut),(0,r.ZP)(`/api/exercises/${ut.categoryId}/edit.json`,{method:"get",params:a({},ut)})}function dt(ut){return(0,r.ZP)(`/api/exercises/${ut.id}/get_objective_scores.json`,{method:"get",params:a({},ut)})}function zt(ut){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/redo_modal.json`,{method:"get",params:a({},ut)})}function Ct(ut){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/student_redo_lists.json`,{method:"get",params:a({},ut)})}function ke(ut){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:ut})}function wt(ut){return(0,r.ZP)(`/api/exercises/${ut.id}/exercise_header.json`,{method:"get",params:a({},ut)})}function xe(ut){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/allow_close_camera.json`,{method:"post",body:a({},ut)})}function Ke(ut){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},ut)})}function gt(ut){return(0,r.ZP)(`/api/exercises/${ut.id}/record_screen`,{method:"post",params:a({},ut)})}function Lt(ut){return(0,r.ZP)(`/api/exercises/${ut.id}/unbind_ip.json`,{method:"post",body:a({},ut)})}function Be(ut){return(0,r.ZP)(`/api/exercises/${ut.id}/check_ip.json`,{method:"get",params:a({},ut)})}function Dr(ut){return(0,r.ZP)(`/api/exercises/${ut==null?void 0:ut.id}/check_user_exercise.json`,{method:"get",params:a({},ut)})}function St(ut){return Fetch(`/api/exercises/${ut.id}/make_up_students.json`,{method:"get",params:a({},ut)})}function Gr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ut.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},ut)})})}function Xr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ut.question_id}/adjust_score.json`,{method:"post",body:a({},ut)})})}function Sr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${ut.categoryId}/simulate_exercise.json`,{method:"post",body:a({},ut)})})}function Mr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},ut)})})}function pr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/exercise_time.json`,{method:"get",params:a({},ut)})})}function $r(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut.categoryId}/commit_screen_at.json`,{method:"post",body:a({},ut)})})}function nn(ut,Rr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut}/unlock_user`,{method:"post",body:Rr})})}function on(ut,Rr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut}/save_screen_record.json`,{method:"post",body:Rr})})}function sr(ut,Rr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut}/screen_record_list.json`,{method:"get",params:Rr})})}function Mt(ut){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},ut)})})}function vt(ut){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:ut})})}function yt(ut,Rr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ut}/mark.json`,{method:"post",body:Rr})})}function Nt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${ut}/exit_delete_pod.json`,{method:"post",body:ut})})}function Cr(ut){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:ut})})}function vr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ut==null?void 0:ut.id}/send_to_item_bank.json`,{method:"post",body:a({},ut)})})}},67508:function(d,g,e){"use strict";e.d(g,{B0:function(){return p},Si:function(){return L},Sr:function(){return D},YP:function(){return P},b4:function(){return R},bc:function(){return a},dX:function(){return A},eh:function(){return B},iI:function(){return _},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return j},vL:function(){return $},z5:function(){return K}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(V,W,oe)=>W in V?i(V,W,{enumerable:!0,configurable:!0,writable:!0,value:oe}):V[W]=oe,h=(V,W)=>{for(var oe in W||(W={}))c.call(W,oe)&&o(V,oe,W[oe]);if(l)for(var oe of l(W))f.call(W,oe)&&o(V,oe,W[oe]);return V},u=(V,W,oe)=>new Promise((ae,ce)=>{var q=le=>{try{Y(oe.next(le))}catch(ne){ce(ne)}},J=le=>{try{Y(oe.throw(le))}catch(ne){ce(ne)}},Y=le=>le.done?ae(le.value):Promise.resolve(le.value).then(q,J);Y((oe=oe.apply(V,W)).next())});function a(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:V})})}function x(V){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:V})})}function p(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/sticky_or_cancel.json`,{method:"post",body:V})})}function y(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"delete",body:V})})}function _(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:V})})}function b(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/edit.json`,{method:"get",params:V})})}function A(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},V)})})}function R(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"put",body:h({},V)})})}function L(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"get",params:V})})}function P(V){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${V.user_id}/watch.json`,{method:"post",body:V})})}function D(V){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${V.user_id}/watch.json`,{method:"delete",body:h({},V)})})}function B(V){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${V.id}/reward_code.json`,{method:"post",body:V})})}function $(V){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${V.id}/plus.json`,{method:"post",body:V})})}function j(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:V})})}function K(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/more_reply.json`,{method:"get",params:V})})}},30534:function(d,g,e){"use strict";e.d(g,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(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)&&o(y,b,_[b]);if(l)for(var b of l(_))f.call(_,b)&&o(y,b,_[b]);return y},u=(y,_,b)=>new Promise((A,R)=>{var L=B=>{try{D(b.next(B))}catch($){R($)}},P=B=>{try{D(b.throw(B))}catch($){R($)}},D=B=>B.done?A(B.value):Promise.resolve(B.value).then(L,P);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})})}},89887: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 A},PP:function(){return R},QA:function(){return x},RP:function(){return W},Sv:function(){return V},YQ:function(){return P},_n:function(){return oe},hL:function(){return $},je:function(){return b},mM:function(){return _},wA:function(){return K},x_:function(){return y},y0:function(){return B},y3:function(){return a}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ae,ce,q)=>ce in ae?i(ae,ce,{enumerable:!0,configurable:!0,writable:!0,value:q}):ae[ce]=q,h=(ae,ce)=>{for(var q in ce||(ce={}))c.call(ce,q)&&o(ae,q,ce[q]);if(l)for(var q of l(ce))f.call(ce,q)&&o(ae,q,ce[q]);return ae},u=(ae,ce,q)=>new Promise((J,Y)=>{var le=ie=>{try{ee(q.next(ie))}catch(F){Y(F)}},ne=ie=>{try{ee(q.throw(ie))}catch(F){Y(F)}},ee=ie=>ie.done?J(ie.value):Promise.resolve(ie.value).then(le,ne);ee((q=q.apply(ae,ce)).next())});function a(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ae.categoryId}.json`,{method:"get",params:h({},ae)})})}function x(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ae.categoryId}/tasks_list.json`,{method:"get",params:h({},ae)})})}function p(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}/show_detail.json`,{method:"get",params:h({},ae)})})}function y(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}.json`,{method:"get",params:h({},ae)})})}function _(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ae)})})}function b(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ae)})})}function A(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ae.categoryId}/show_comment.json`,{method:"get",params:h({},ae)})})}function R(ae){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ae)})})}function L(ae){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ae)})})}function P(ae){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ae)})})}function D(ae){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ae)})})}function B(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ae)})})}function $(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}/edit.json`,{method:"get",params:h({},ae)})})}function j(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics`,{method:"post",body:h({},ae)})})}function K(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}`,{method:"put",body:h({},ae)})})}function V(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_tasks`,{method:"post",body:h({},ae)})})}function W(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ae.categoryId}.json`,{method:"put",body:h({},ae)})})}function oe(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ae.categoryId}/edit.json`,{method:"get",params:h({},ae)})})}},2742:function(d,g,e){"use strict";e.d(g,{AA:function(){return K},Db:function(){return x},Dd:function(){return b},F7:function(){return q},Fi:function(){return ie},H3:function(){return _},HF:function(){return R},HH:function(){return y},Ib:function(){return le},J3:function(){return o},NT:function(){return l},NX:function(){return P},Ot:function(){return L},Ou:function(){return J},Ps:function(){return c},Rk:function(){return ce},Tz:function(){return a},V1:function(){return ne},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ae},YS:function(){return W},Zd:function(){return ee},bS:function(){return D},ck:function(){return A},eh:function(){return j},il:function(){return h},j7:function(){return u},jW:function(){return V},km:function(){return oe},l5:function(){return $},rU:function(){return F},xF:function(){return B},zC:function(){return Y},zT:function(){return M}});var r=e(99064),i=(Q,de,Se)=>new Promise((Ie,je)=>{var Fe=Pt=>{try{_t(Se.next(Pt))}catch(Qt){je(Qt)}},Ft=Pt=>{try{_t(Se.throw(Pt))}catch(Qt){je(Qt)}},_t=Pt=>Pt.done?Ie(Pt.value):Promise.resolve(Pt.value).then(Fe,Ft);_t((Se=Se.apply(Q,de)).next())});function l(Q){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:Q})}function c(Q){return(0,r.ZP)(`/api/schools/${Q.id}/departments/for_option.json`,{method:"get",params:Q})}function f(Q){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:Q})}function o(Q){return(0,r.ZP)("/api/graduations.json",{method:"get",params:Q})}function h(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_stages/${Q.stageid}/authorized_redelivery.json`,{method:"POST",body:Q})})}function u(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_stages/${Q.stageid}/submit.json`,{method:"POST",body:Q})})}function a(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/export_status.json`,{method:"get",params:Q})})}function x(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/export_all_attachments.json`,{method:"get",params:Q})})}function p(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_stages/${Q.id}.json`,{method:"get",params:Q})})}function y(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/set_final_score.json`,{method:"POST",body:Q})})}function _(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/final_score.json`,{method:"get",params:Q})})}function b(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/set_novice_guide.json`,{method:"POST",body:Q})})}function A(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_notices/${Q.doid}/set_do.json`,{method:"POST",body:Q})})}function R(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_teachers.json`,{method:"POST",body:Q})})}function L(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_students/${Q.id}/update_major.json`,{method:"PUT",body:Q})})}function P(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_students.json`,{method:"POST",body:Q})})}function D(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_teachers/search.json`,{method:"get",params:Q})})}function B(Q){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:Q})})}function $(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_students/search.json`,{method:"get",params:Q})})}function j(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_students.json`,{method:"get",params:Q})})}function K(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_teachers.json`,{method:"get",params:Q})})}function V(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.graduation_id}/graduation_tasks.json`,{method:"POST",body:Q})})}function W(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.graduation_id}/graduation_tasks/${Q.id}.json`,{method:"PUT",body:Q})})}function oe(Q){return i(this,null,function*(){var de;return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_tasks/${(de=Q.ids)==null?void 0:de[0]}`,{method:"DELETE",body:{ids:Q.ids}})})}function ae(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_tasks.json`,{method:"get",params:Q})})}function ce(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_notices.json`,{method:"get",params:Q})})}function q(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}.json`,{method:"get"})})}function J(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q==null?void 0:Q.id}/common_header.json`,{method:"get"})})}function Y(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/preview.json`,{method:"get"})})}function le(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_teachers/not_pass.json`,{method:"post",body:de})})}function ne(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_teachers/pass.json`,{method:"post",body:de})})}function ee(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_students/not_pass.json`,{method:"post",body:de})})}function ie(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_students/pass.json`,{method:"post",body:de})})}function F(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_students/batch_delete`,{method:"delete",body:de})})}function M(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_teachers/batch_delete`,{method:"delete",body:de})})}},1:function(d,g,e){"use strict";e.d(g,{LA:function(){return a},Rm:function(){return c},S_:function(){return x},Tt:function(){return o},cR:function(){return h},eX:function(){return l},h$:function(){return f},vm:function(){return u}});var r=e(99064),i=(p,y,_)=>new Promise((b,A)=>{var R=D=>{try{P(_.next(D))}catch(B){A(B)}},L=D=>{try{P(_.throw(D))}catch(B){A(B)}},P=D=>D.done?b(D.value):Promise.resolve(D.value).then(R,L);P((_=_.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 o(){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})})}},10656: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 A},V8:function(){return p},dl:function(){return R},w0:function(){return y}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(L,P,D)=>P in L?i(L,P,{enumerable:!0,configurable:!0,writable:!0,value:D}):L[P]=D,h=(L,P)=>{for(var D in P||(P={}))c.call(P,D)&&o(L,D,P[D]);if(l)for(var D of l(P))f.call(P,D)&&o(L,D,P[D]);return L},u=(L,P,D)=>new Promise((B,$)=>{var j=W=>{try{V(D.next(W))}catch(oe){$(oe)}},K=W=>{try{V(D.throw(W))}catch(oe){$(oe)}},V=W=>W.done?B(W.value):Promise.resolve(W.value).then(j,K);V((D=D.apply(L,P)).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 A(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"})})}},34640:function(d,g,e){"use strict";e.d(g,{A2:function(){return b},CI:function(){return p},Ep:function(){return _},Ex:function(){return B},R7:function(){return a},WW:function(){return $},_V:function(){return D},ms:function(){return L},s0:function(){return A},vf:function(){return y},xn:function(){return x},yy:function(){return P}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(j,K,V)=>K in j?i(j,K,{enumerable:!0,configurable:!0,writable:!0,value:V}):j[K]=V,h=(j,K)=>{for(var V in K||(K={}))c.call(K,V)&&o(j,V,K[V]);if(l)for(var V of l(K))f.call(K,V)&&o(j,V,K[V]);return j},u=(j,K,V)=>new Promise((W,oe)=>{var ae=J=>{try{q(V.next(J))}catch(Y){oe(Y)}},ce=J=>{try{q(V.throw(J))}catch(Y){oe(Y)}},q=J=>J.done?W(J.value):Promise.resolve(J.value).then(ae,ce);q((V=V.apply(j,K)).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 A(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 P(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 B(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 $(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.stage_id}/items/${j.id}`,{method:"delete"})})}},80401:function(d,g,e){"use strict";e.d(g,{DF:function(){return b},Di:function(){return ne},Dm:function(){return ce},Dq:function(){return Se},Gd:function(){return _},Hb:function(){return Ie},Hm:function(){return W},ID:function(){return u},JP:function(){return de},NC:function(){return K},Pl:function(){return A},Qc:function(){return c},Qp:function(){return q},RK:function(){return x},YP:function(){return V},a2:function(){return o},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return R},iT:function(){return B},jK:function(){return ae},kF:function(){return je},kp:function(){return D},lc:function(){return P},oF:function(){return ie},q$:function(){return h},qN:function(){return oe},tS:function(){return L},ts:function(){return $},un:function(){return Y},w0:function(){return le},wX:function(){return J},yE:function(){return f}});var r=e(99064),i=(Fe,Ft,_t)=>new Promise((Pt,Qt)=>{var Jt=It=>{try{Xe(_t.next(It))}catch(Ut){Qt(Ut)}},qt=It=>{try{Xe(_t.throw(It))}catch(Ut){Qt(Ut)}},Xe=It=>It.done?Pt(It.value):Promise.resolve(It.value).then(Jt,qt);Xe((_t=_t.apply(Fe,Ft)).next())});const l=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe==null?void 0:Fe.id}/code_check.json`,{method:"get",params:Fe}),c=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/reset_pwd.json`,{method:"post",body:Fe}),f=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/encrypt_or_decrypt.json`,{method:"post",body:Fe}),o=Fe=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:Fe}),h=Fe=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:Fe}),u=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/copy.json`,{method:"post",body:Fe}),a=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/get_question_type_alias.json`,{method:"get",params:Fe});function x(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/edit_question_type_alias.json`,{method:"POST",body:Fe})})}function p(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:Fe})})}function y(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:Fe})})}function _(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:Fe})})}function b(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/set_public.json`,{method:"post"})})}function A(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/set_private.json`,{method:"post"})})}function R(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"delete"})})}function L(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Fe})})}const P=Fe=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:Fe});function D(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/send_to_course.json`,{method:"post",body:Fe})})}function B(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"get",params:Fe})})}function $(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/set_score`,{method:"post",body:Fe})})}function j(Fe){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/set_shixun_score.json`,{method:"post",body:Fe})})}function K(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}.json`,{method:"delete"})})}function V(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:Fe})})}function W(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:Fe})})}function oe(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/adjust_position.json`,{method:"post",body:Fe})})}function ae(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"put",body:Fe})})}function ce(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Fe})})}function q(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:Fe})})}function J(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe==null?void 0:Fe.id}/set_public.json`,{method:"post",body:Fe})})}function Y(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:Fe})})}function le(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/update_exam.json`,{method:"put",body:Fe})})}function ne(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/edit_exam.json`,{method:"get"})})}function ee(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/examination_banks_item_banks.json`,{method:"post",body:Ft})})}function ie(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:Fe})})}function F(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/sort_question_type.json`,{method:"post",body:Ft})})}function M(Fe){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe.exam_id}/examination_banks_item_banks/${Fe.question_id}.json`,{method:"delete"})})}function Q(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/batch_set_score.json`,{method:"post",body:Ft})})}function de(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe}/simulate_exercise.json`,{method:"post"})})}function Se(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe}/exercise_header.json`,{method:"get"})})}function Ie(Fe,Ft,_t){return i(this,null,function*(){const Pt=new FormData;return Pt.append("file",Ft),Pt.append("sub_discipline_id",_t),(0,r.ZP)(`/api/examination_banks/${Fe}/import_item_banks.json`,{method:"post",body:Pt},!0)})}function je(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:Fe})})}},86248:function(d,g,e){"use strict";e.d(g,{$D:function(){return q},A2:function(){return ye},A7:function(){return zt},AQ:function(){return j},Ax:function(){return Oe},Bn:function(){return wt},CI:function(){return He},DQ:function(){return _e},DU:function(){return Ut},EP:function(){return ce},Ep:function(){return Ue},Er:function(){return Q},Ex:function(){return kt},FD:function(){return Ot},F_:function(){return It},Fg:function(){return x},GY:function(){return Kt},Go:function(){return ie},Gz:function(){return p},Hl:function(){return y},JS:function(){return _t},KM:function(){return le},M2:function(){return Me},MO:function(){return de},Mt:function(){return $e},Mu:function(){return Je},NV:function(){return ke},Q:function(){return Se},Sp:function(){return $},VO:function(){return De},WD:function(){return At},WO:function(){return M},WW:function(){return Zt},_C:function(){return Ct},_V:function(){return Ht},bw:function(){return ae},bz:function(){return fe},c3:function(){return Ft},eJ:function(){return ee},ef:function(){return Xe},fh:function(){return R},fj:function(){return F},hS:function(){return _},jT:function(){return dt},ke:function(){return Bt},lk:function(){return B},mQ:function(){return D},ms:function(){return ct},mx:function(){return je},nq:function(){return a},ol:function(){return We},p:function(){return V},p4:function(){return Ie},pU:function(){return P},rS:function(){return Pt},rs:function(){return ne},s0:function(){return Pe},sm:function(){return Fe},tS:function(){return b},tu:function(){return L},ue:function(){return K},vf:function(){return ht},w4:function(){return W},xG:function(){return et},xn:function(){return bt},yN:function(){return oe},yy:function(){return Gt}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(xe,Ke,gt)=>Ke in xe?i(xe,Ke,{enumerable:!0,configurable:!0,writable:!0,value:gt}):xe[Ke]=gt,h=(xe,Ke)=>{for(var gt in Ke||(Ke={}))c.call(Ke,gt)&&o(xe,gt,Ke[gt]);if(l)for(var gt of l(Ke))f.call(Ke,gt)&&o(xe,gt,Ke[gt]);return xe},u=(xe,Ke,gt)=>new Promise((Lt,Be)=>{var Dr=Xr=>{try{Gr(gt.next(Xr))}catch(Sr){Be(Sr)}},St=Xr=>{try{Gr(gt.throw(Xr))}catch(Sr){Be(Sr)}},Gr=Xr=>Xr.done?Lt(Xr.value):Promise.resolve(Xr.value).then(Dr,St);Gr((gt=gt.apply(xe,Ke)).next())});const a=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:xe})}),x=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:xe})}),p=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:xe})}),y=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:xe})}),_=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:xe})});function b(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},xe)})})}function A(xe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},xe)})})}function R(xe){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},xe)})})}function L(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"PUT",body:xe})})}function P(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:xe})})}function D(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/edit.json`,{method:"get"})})}function B(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"get",params:h({identifier:xe.id},xe)})})}function $(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}.json`,{method:"get",params:h({identifier:xe.id},xe)})})}function j(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/right_banner.json`,{method:"get",params:xe})})}function K(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses.json`,{method:"get",params:xe})})}const V=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:xe})}),W=xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${xe.id}/children.json`,{method:"Get",params:xe})});function oe(xe){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:xe})})}function ae(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/update_team_title.json`,{method:"post",body:xe})})}function ce(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/delete_member.json`,{method:"Delete",body:xe})})}function q(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses/${xe==null?void 0:xe.courseid}.json`,{method:"Delete"})})}function J(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/up_member_position.json`,{method:"post",body:xe})})}function Y(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/down_member_position.json`,{method:"post",body:xe})})}function le(xe){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:xe})})}function ne(xe){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:xe})})}function ee(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"Delete",body:xe})})}function ie(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/publish.json`,{method:"post",body:xe})})}function F(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/cancel_publish.json`,{method:"post",body:xe})})}function M(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/apply_public.json`,{method:"post",body:xe})})}function Q(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/cancel_public.json`,{method:"post",body:xe})})}function de(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/choose_course.json`,{method:"get",params:xe})})}function Se(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/send_to_course.json`,{method:"post",body:xe})})}function Ie(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${xe.id}/send_to_course.json`,{method:"post",body:xe})})}function je(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/add_subject_members.json`,{method:"post",body:xe})})}function Fe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses.json`,{method:"post",body:xe})})}function Ft(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/appointment.json`,{method:"post",body:xe})})}function _t(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/join_excellent_course.json`,{method:"post",body:xe})})}function Pt(xe){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:xe})})}function Qt(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/statistics_info.json`,{method:"get",params:xe})})}function Jt(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/shixun_analyze.json`,{method:"get",params:xe})})}function qt(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/learning_analyze.json`,{method:"get",params:xe})})}function Xe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/learning_statistics.json`,{method:"get",params:xe})})}function It(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/shixun_statistics.json`,{method:"get",params:xe})})}function Ut(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/study_analyze/${xe.type}.json`,{method:"get",params:xe})})}function ot(xe){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:xe})})}function bt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}.json`,{method:"put",body:xe})})}function ht(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_shixun_to_stage.json`,{method:"post",body:xe})})}const et=xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.stage_id}/select_challenge_to_stage.json`,{method:"post",body:xe})});function Ue(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/select_shixun_to_stage.json`,{method:"post",body:xe})})}function ye(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_video_to_stage.json`,{method:"post",body:xe})})}function Pe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_attachment_to_stage.json`,{method:"post",body:xe})})}function Me(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe.id}.json`,{method:"put",body:xe})})}function $e(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_blank_to_stage.json`,{method:"post",body:xe})})}function He(xe){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:xe})})}function nt(xe){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:xe})})}function ct(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/up_position.json`,{method:"get"})})}function Gt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/down_position.json`,{method:"get"})})}function Ht(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}.json`,{method:"delete"})})}function Oe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.pathId}/discusses.json`,{method:"get",params:h({},xe)})})}function Je(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/excellent_discusses.json`,{method:"get",params:h({},xe)})})}function Wt(xe){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},xe)})})}function kt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.stage_id}/items/move_position`,{method:"post",body:h({},xe)})})}function Zt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.stage_id}/items/${xe.id}`,{method:"delete"})})}function Bt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/excellent_discuss`,{method:"post",body:h({},xe)})})}function At(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/post_discuss`,{method:"post",body:h({},xe)})})}function Kt(xe){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:xe})})}function We(xe){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:xe})})}function fe(xe){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:xe})})}function _e(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.id}/add_homework_to_stage.json`,{method:"post",body:xe})})}function Ot(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe==null?void 0:xe.id}/edit.json`,{method:"get",params:xe})})}function De(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe==null?void 0:xe.id}.json`,{method:"put",body:xe})})}function dt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_id}/subjects/subject_homework.json`,{method:"get",params:xe})})}function zt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_id}/courses/course_homework.json`,{method:"get",params:xe})})}function Ct(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.id}/batch_add_homework_to_stage.json`,{method:"post",body:xe})})}function ke(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:xe})})}function wt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_login}/subjects/cancel.json`,{method:"get",params:xe})})}},31417:function(d,g,e){"use strict";e.d(g,{Fd:function(){return le},Hi:function(){return y},IU:function(){return K},KE:function(){return b},Kc:function(){return ee},MK:function(){return V},Q9:function(){return D},Qg:function(){return j},Qn:function(){return R},UK:function(){return p},W:function(){return F},Ye:function(){return $},_c:function(){return a},hO:function(){return ce},iV:function(){return ie},jy:function(){return W},kp:function(){return ae},lf:function(){return P},m7:function(){return _},n$:function(){return L},rJ:function(){return B},s3:function(){return x},ux:function(){return A},vf:function(){return Y},wh:function(){return oe},wo:function(){return ne},x$:function(){return J}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(M,Q,de)=>Q in M?i(M,Q,{enumerable:!0,configurable:!0,writable:!0,value:de}):M[Q]=de,h=(M,Q)=>{for(var de in Q||(Q={}))c.call(Q,de)&&o(M,de,Q[de]);if(l)for(var de of l(Q))f.call(Q,de)&&o(M,de,Q[de]);return M},u=(M,Q,de)=>new Promise((Se,Ie)=>{var je=_t=>{try{Ft(de.next(_t))}catch(Pt){Ie(Pt)}},Fe=_t=>{try{Ft(de.throw(_t))}catch(Pt){Ie(Pt)}},Ft=_t=>_t.done?Se(_t.value):Promise.resolve(_t.value).then(je,Fe);Ft((de=de.apply(M,Q)).next())});const a=M=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M==null?void 0:M.id}/commit_word_cloud.json`,{method:"Get",params:M})});function x(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/poll_lists.json`,{method:"get",params:h({},M)})})}function p(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/common_header.json`,{method:"get"})})}function y(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/poll_setting.json`,{method:"get"})})}function _(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/commit_setting.json`,{method:"post",body:h({},M)})})}function b(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},M)})})}function A(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/publish_groups.json`,{method:"get",params:h({},M)})})}function R(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/commit_result.json`,{method:"get",params:h({},M)})})}function L(M){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},M)})})}function P(M){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},M)})})}function D(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},M)})})}function B(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls.json`,{method:"POST",body:h({},M)})})}function $(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/edit.json`,{method:"get"})})}function j(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function K(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function V(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.pollsId}/poll_questions.json`,{method:"post",body:h({},M)})})}function W(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}.json`,{method:"delete",body:h({},M)})})}function oe(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}/up_down.json`,{method:"post",body:h({},M)})})}function ae(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${M.topicId}.json`,{method:"get"})})}function ce(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${M.topicId}.json`,{method:"put",body:h({},M)})})}function q(M){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${M.topicId}.json`,{method:"put",body:h({},M)})})}function J(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.pollsId}.json`,{method:"delete",body:h({},M)})})}function Y(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}/up_down.json`,{method:"post",body:h({},M)})})}function le(M){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},M)})})}function ne(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function ee(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.id}.json`,{method:"put",body:h({},M)})})}function ie(M){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},M)})})}function F(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.exerciseId}/up_down.json`,{method:"post",body:h({},M)})})}},16149:function(d,g,e){"use strict";e.d(g,{$c:function(){return nt},A1:function(){return $e},Bd:function(){return D},Bo:function(){return q},Cc:function(){return le},Cn:function(){return ie},DF:function(){return L},Dm:function(){return Xe},FG:function(){return ce},GW:function(){return It},HF:function(){return V},Hm:function(){return M},IJ:function(){return Me},L5:function(){return qt},LS:function(){return ot},MZ:function(){return ye},Mr:function(){return ae},NZ:function(){return Ft},Of:function(){return A},Pl:function(){return R},Qj:function(){return _},Qp:function(){return ht},RT:function(){return Oe},Rp:function(){return bt},U6:function(){return W},Vl:function(){return ne},Wk:function(){return oe},YP:function(){return F},Ys:function(){return $},al:function(){return B},bF:function(){return ct},d1:function(){return y},dt:function(){return Gt},et:function(){return de},ex:function(){return b},fY:function(){return Se},fn:function(){return P},hI:function(){return _t},hg:function(){return Ue},iT:function(){return J},lS:function(){return Fe},nD:function(){return Ut},qN:function(){return Q},rV:function(){return j},s:function(){return je},sD:function(){return Pe},sS:function(){return Jt},ts:function(){return Y},vi:function(){return He},wX:function(){return et},x5:function(){return K},zh:function(){return Ie}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Je,Wt,kt)=>Wt in Je?i(Je,Wt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Je[Wt]=kt,a=(Je,Wt)=>{for(var kt in Wt||(Wt={}))o.call(Wt,kt)&&u(Je,kt,Wt[kt]);if(f)for(var kt of f(Wt))h.call(Wt,kt)&&u(Je,kt,Wt[kt]);return Je},x=(Je,Wt)=>l(Je,c(Wt)),p=(Je,Wt,kt)=>new Promise((Zt,Bt)=>{var At=fe=>{try{We(kt.next(fe))}catch(_e){Bt(_e)}},Kt=fe=>{try{We(kt.throw(fe))}catch(_e){Bt(_e)}},We=fe=>fe.done?Zt(fe.value):Promise.resolve(fe.value).then(At,Kt);We((kt=kt.apply(Je,Wt)).next())});function y(Je){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},Je),{clazz:"ItemBanksGroup"})})})}function _(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:Je})})}function b(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Je})})}function A(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:Je})})}function R(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/set_private.json`,{method:"post"})})}function L(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/set_public.json`,{method:"post"})})}function P(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}.json`,{method:"delete"})})}function D(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Je.id}/start.json`,{method:"get"})})}function B(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete",body:a({},Je)})})}function $(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:Je})})}function j(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function K(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:Je.type}})})}function V(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function W(Je){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:Je})})}function oe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}.json`,{method:"put",body:Je})})}function ae(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:Je})})}function ce(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/edit.json`,{method:"get"})})}function q(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Je.id}/edit.json`,{method:"get"})})}function J(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:Je})})}function Y(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/set_score.json`,{method:"post",body:Je})})}function le(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/set_challenge_score.json`,{method:"post",body:Je})})}function ne(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function ee(Je){return p(this,null,function*(){return Fetch(`/api/examination_banks//${Je.exerid}/examination_banks_item_banks/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function ie(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete"})})}function F(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:Je})})}function M(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:Je})})}function Q(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/adjust_position.json`,{method:"post",body:Je})})}function de(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:Je})})}function Se(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Je.id}/revoke_item.json`,{method:"delete",body:Je})})}function Ie(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Je.exam_id}/examination_banks_item_banks.json`,{method:"post",body:Je})})}function je(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/join_to_collection.json`,{method:"post",params:Je})})}function Fe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/cancel_collection.json`,{method:"post",params:Je})})}function Ft(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:Je})})}function _t(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:Je})})}function Pt(Je){return p(this,null,function*(){return Fetch(`/api/item_banks/${Je.id}/join_to_group.json`,{method:"post",body:Je})})}function Qt(Je){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${Je.id}.json`,{method:"put",body:Je})})}function Jt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:Je})})}function qt(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/feedback.json`,{method:"post",body:Je})})}function Xe(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Je})})}function It(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:Je})})}function Ut(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:Je})})}function ot(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:Je})})}function bt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:Je})})}function ht(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:Je})})}function et(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je==null?void 0:Je.id}/set_public.json`,{method:"post",body:Je})})}function Ue(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:Je})})}function ye(Je){return(0,r.ZP)(`/api/problems/${Je.identifier}/publish.json`,{method:"post",body:Je})}function Pe(Je){return(0,r.ZP)(`/api/problems/${Je.identifier}/cancel_publish.json`,{method:"post",body:Je})}function Me(Je){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...Je.id]}})}function $e(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Je.id}/up_position.json`,{method:"get",params:Je})})}function He(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Je.id}/down_position.json`,{method:"get",params:Je})})}function nt(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Je.id}/edit_hack.json`,{method:"get",params:Je})})}function ct(Je){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:Je})})}function Gt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:Je})})}function Ht(Je){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:Je})})}function Oe(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},52403:function(d,g,e){"use strict";e.d(g,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(99064),i=(o,h,u)=>new Promise((a,x)=>{var p=b=>{try{_(u.next(b))}catch(A){x(A)}},y=b=>{try{_(u.throw(b))}catch(A){x(A)}},_=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);_((u=u.apply(o,h)).next())});function l(o){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:o})})}function c(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"get",params:o})})}function f(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"delete",params:o})})}},36708:function(d,g,e){"use strict";e.d(g,{Am:function(){return _},Ar:function(){return Xe},BD:function(){return He},Be:function(){return et},Dx:function(){return ne},Fr:function(){return _e},G$:function(){return R},GS:function(){return W},Gw:function(){return A},H:function(){return Jt},H1:function(){return qt},Hj:function(){return ct},JA:function(){return Ht},JG:function(){return le},KE:function(){return F},Lz:function(){return Me},Mf:function(){return Qt},NA:function(){return _t},PC:function(){return Fe},PP:function(){return Ft},PW:function(){return ot},Q3:function(){return ee},QC:function(){return Oe},Qt:function(){return $e},Qz:function(){return D},R$:function(){return We},RP:function(){return ce},Ti:function(){return Ct},Uc:function(){return Zt},Ul:function(){return J},VB:function(){return dt},Vs:function(){return Bt},Wr:function(){return L},Xn:function(){return q},YQ:function(){return Pt},Yn:function(){return b},Z8:function(){return K},ak:function(){return Ut},cN:function(){return $},co:function(){return Ue},cz:function(){return Ie},fK:function(){return V},gG:function(){return je},gZ:function(){return kt},h$:function(){return j},ku:function(){return Pe},lf:function(){return Q},m7:function(){return Y},mQ:function(){return B},mz:function(){return ht},n$:function(){return M},oK:function(){return y},oN:function(){return zt},pH:function(){return nt},pb:function(){return De},qP:function(){return Je},ql:function(){return Wt},rN:function(){return ye},sw:function(){return de},t1:function(){return Se},to:function(){return ae},ub:function(){return Gt},ux:function(){return ie},wS:function(){return Ot},wT:function(){return P},yT:function(){return It},yy:function(){return At},z2:function(){return bt}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ke,wt,xe)=>wt in ke?i(ke,wt,{enumerable:!0,configurable:!0,writable:!0,value:xe}):ke[wt]=xe,a=(ke,wt)=>{for(var xe in wt||(wt={}))o.call(wt,xe)&&u(ke,xe,wt[xe]);if(f)for(var xe of f(wt))h.call(wt,xe)&&u(ke,xe,wt[xe]);return ke},x=(ke,wt)=>l(ke,c(wt)),p=(ke,wt,xe)=>new Promise((Ke,gt)=>{var Lt=St=>{try{Dr(xe.next(St))}catch(Gr){gt(Gr)}},Be=St=>{try{Dr(xe.throw(St))}catch(Gr){gt(Gr)}},Dr=St=>St.done?Ke(St.value):Promise.resolve(St.value).then(Lt,Be);Dr((xe=xe.apply(ke,wt)).next())});const y=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.id}/update_journals.json`,{method:"post",body:ke})}),_=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.homeworkId}/change_score.json`,{method:"post",body:ke})}),b=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.homeworkId}/history_comment`,{method:"Get",params:ke})}),A=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.homeworkId}/feedback_know`,{method:"Get",params:ke})}),R=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke==null?void 0:ke.userId}/student_work_feedbacks.json`,{method:"POST",body:ke})}),L=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.userId}/feedback_list.json`,{method:"Get",params:ke})}),P=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.userId}/histories.json`,{method:"Get",params:ke})}),D=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke==null?void 0:ke.homeworkId}/feedback_list`,{method:"Get",params:ke})}),B=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke==null?void 0:ke.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:ke})}),$=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke==null?void 0:ke.homeworkId}/appeal_list`,{method:"Get",params:ke})});function j(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/works_list.json`,{method:"post",body:a({},ke)})})}function K(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${ke.categoryId}/student_works.json`,{method:"get",params:a({},ke)})})}function V(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${ke.categoryId}/header_info.json`,{method:"get",params:a({},ke)})})}function W(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke}/query_game_url.json`,{method:"get"})})}function oe(ke){return p(this,null,function*(){return Fetch(`/api/student_works/${ke}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ae(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}.json`,{method:"get"})})}function ce(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/code_review_results.json`,{method:"get",params:a({},ke)})})}function q(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/code_review_detail.json`,{method:"get",params:a({},ke)})})}function J(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/settings.json`,{method:"get",params:a({},ke)})})}function Y(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/update_settings.json`,{method:"post",body:a({},ke)})})}function le(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/group_list.json`,{method:"get",params:a({},ke)})})}function ne(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/works_list.xlsx`,{method:"get",params:a({},ke)})})}function ee(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.coursesId}/reference_answer.json`,{method:"get",params:a({},ke)})})}function ie(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/publish_groups.json`,{method:"get",params:a({},ke)})})}function F(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/end_groups.json`,{method:"get",params:a({},ke)})})}function M(ke){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},ke)})})}function Q(ke){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},ke)})})}function de(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/shixun_work_report.json`,{method:"get",params:ke})})}function Se(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:ke})})}function Ie(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},ke),{id:ke.categoryId})})})}function je(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.categoryId}/adjust_review_score.json`,{method:"post",body:a({},ke)})})}function Fe(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/show_comment.json`,{method:"get",params:a({},ke)})})}function Ft(ke){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},ke)})})}function _t(ke){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},ke)})})}function Pt(ke){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},ke)})})}function Qt(ke){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},ke)})})}function Jt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/update_explanation.json`,{method:"post",body:a({},ke)})})}function qt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons.json`,{method:"post",body:a({},ke)})})}function Xe(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}.json`,{method:"put",body:a({},ke)})})}function It(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${ke.id}.json`,{method:"put",body:a({},ke)})})}function Ut(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},ke)})})}function ot(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/edit.json`,{method:"get",params:a({},ke)})})}function bt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}.json`,{method:"put",body:a({},ke)})})}function ht(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/revise_attachment.json`,{method:"post",body:a({},ke)})})}function et(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.commonHomeworkId}/student_works.json`,{method:"post",body:a({},ke)})})}function Ue(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},ke)})})}function ye(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Pe(ke){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},ke)})})}function Me(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},ke)})})}function $e(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons/new.json`,{method:"get",params:a({},ke)})})}function He(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/edit.json`,{method:"get",params:a({},ke)})})}function nt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${ke.id}.json`,{method:"get",params:a({},ke)})})}function ct(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}.json`,{method:"get",params:a({},ke)})})}function Gt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/supply_attachments.json`,{method:"get",params:a({},ke)})})}function Ht(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/comment_list.json`,{method:"get",params:a({},ke)})})}function Oe(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/destroy_score.json`,{method:"delete",body:a({},ke)})})}function Je(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/add_score_reply.json`,{method:"post",body:a({},ke)})})}function Wt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/all_student_works.json`,{method:"get",params:a({},ke)})})}function kt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},ke)})})}function Zt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/score_status.json`,{method:"get",params:a({},ke)})})}function Bt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/update_score.json`,{method:"get",params:a({},ke)})})}function At(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/add_score.json`,{method:"post",body:a({},ke)})})}function Kt(ke){return p(this,null,function*(){return Fetch(`/api/student_works/${ke.userId}/cancel_appeal.json`,{method:"post",body:a({},ke)})})}function We(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},ke)})})}function fe(ke){return p(this,null,function*(){return Fetch(`/api/student_works/${ke.userId}/deal_appeal_score.json`,{method:"post",body:a({},ke)})})}function _e(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${ke.id}/reset_my_game.json`,{method:"get",params:a({},ke)})})}function Ot(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/commit_des.json`,{method:"get",params:a({},ke)})})}function De(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/update_des.json`,{method:"post",body:a({},ke)})})}function dt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},ke)})})}function zt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},ke)})})}function Ct(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},ke)})})}},49692:function(d,g,e){"use strict";e.d(g,{$Q:function(){return Mr},AE:function(){return Bt},AQ:function(){return B},Ag:function(){return wt},Ar:function(){return ie},At:function(){return Mt},BK:function(){return K},Bj:function(){return Ut},DC:function(){return Xe},Dz:function(){return vt},E4:function(){return qt},EH:function(){return Q},Ee:function(){return _n},Er:function(){return ne},FB:function(){return j},Fg:function(){return A},GI:function(){return Ie},Gr:function(){return ht},Gu:function(){return Se},Gz:function(){return b},HS:function(){return Et},Hl:function(){return y},IT:function(){return Ct},I_:function(){return P},Ir:function(){return V},Je:function(){return Be},K:function(){return Nt},K0:function(){return Rr},KM:function(){return q},K_:function(){return $r},LK:function(){return Dr},LP:function(){return je},Ne:function(){return le},OV:function(){return Ft},OW:function(){return M},Op:function(){return Sr},P2:function(){return Pt},Po:function(){return D},Ps:function(){return et},Q:function(){return Y},Q1:function(){return Cr},QA:function(){return vi},Ql:function(){return ye},Rs:function(){return Oe},SG:function(){return Vi},Tn:function(){return Kt},Tr:function(){return di},U0:function(){return He},U9:function(){return Ue},UQ:function(){return De},Ui:function(){return pr},Vx:function(){return ut},WO:function(){return ee},WT:function(){return Yi},Wi:function(){return ot},Wl:function(){return xe},X$:function(){return Qt},Yn:function(){return fe},Z2:function(){return It},ZO:function(){return bt},Zt:function(){return yt},_7:function(){return J},_9:function(){return _e},aH:function(){return Pe},al:function(){return Gt},b8:function(){return F},bq:function(){return We},dK:function(){return W},e:function(){return R},eX:function(){return de},eb:function(){return Je},fL:function(){return Lt},h4:function(){return vr},hS:function(){return _},he:function(){return L},hn:function(){return ae},ii:function(){return Ht},im:function(){return Ot},j8:function(){return Fe},jq:function(){return Xr},kF:function(){return Gr},km:function(){return ct},l3:function(){return _t},m7:function(){return $e},mI:function(){return bi},n5:function(){return $},nu:function(){return St},p0:function(){return zt},q0:function(){return Zt},q9:function(){return sr},qA:function(){return on},rO:function(){return kt},rs:function(){return ce},sr:function(){return dt},t2:function(){return ke},tX:function(){return Un},uo:function(){return nt},v3:function(){return gt},w:function(){return Ke},xK:function(){return At},xg:function(){return Wt},xk:function(){return Jt},yE:function(){return Me},yx:function(){return mi},zD:function(){return oe},zH:function(){return nn}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(lt,Qn,xi)=>Qn in lt?i(lt,Qn,{enumerable:!0,configurable:!0,writable:!0,value:xi}):lt[Qn]=xi,a=(lt,Qn)=>{for(var xi in Qn||(Qn={}))o.call(Qn,xi)&&u(lt,xi,Qn[xi]);if(f)for(var xi of f(Qn))h.call(Qn,xi)&&u(lt,xi,Qn[xi]);return lt},x=(lt,Qn)=>l(lt,c(Qn)),p=(lt,Qn,xi)=>new Promise((qn,Wi)=>{var hi=tr=>{try{bn(xi.next(tr))}catch(mt){Wi(mt)}},ni=tr=>{try{bn(xi.throw(tr))}catch(mt){Wi(mt)}},bn=tr=>tr.done?qn(tr.value):Promise.resolve(tr.value).then(hi,ni);bn((xi=xi.apply(lt,Qn)).next())});const y=lt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:lt})}),_=lt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:lt})}),b=lt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:lt})}),A=lt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:lt})}),R=lt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:lt})});function L(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},lt)})})}function P(lt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},lt||{})})})}function D(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}.json`,{method:"Get",params:lt})})}function B(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/show_right.json`,{method:"Get"})})}function $(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges.json`,{method:"Get"})})}function j(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:lt.save_type}})})}function K(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/jupyter_exec.json${lt.reset?`?reset=${lt.reset}`:""}`,{method:"Get",params:lt})})}function V(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/shixun_exec.json${lt.reset?`?reset=${lt.reset}`:""}`,{method:"Get",params:lt})})}function W(lt){return p(this,null,function*(){return(0,r.ZP)(lt.url,{method:"Get"})})}function oe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.shixun_identifier}/challenges/${lt.challenge_id}/index_up.json`,{method:"Get"})})}function ae(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.shixun_identifier}/challenges/${lt.challenge_id}/index_down.json`,{method:"Get"})})}function ce(lt){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:lt.container_id,container_type:lt.container_type}})})}function q(lt){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:lt.container_id,container_type:lt.container_type}})})}function J(lt){return p(this,null,function*(){const{id:Qn}=lt||{};return(0,r.ZP)(`/api/shixuns/${Qn}/search_user_courses.json`,{method:"Get",params:lt})})}function Y(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt==null?void 0:lt.id}/send_to_course.json`,{method:"Post",body:a({},lt)})})}function le(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/cancel_publish.json`,{method:"Get"})})}function ne(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/cancel_apply_public.json`,{method:"Get"})})}function ee(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/apply_public.json`,{method:"post",body:a({},lt)})})}function ie(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/publish.json`,{method:"Get"})})}function F(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function M(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${lt.id}.json`,{method:"delete"})})}function Q(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:lt})})}function de(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:lt})})}function Se(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:lt})})}function Ie(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/review_newest_record.json`,{method:"Get"})})}function je(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/review_shixun.json`,{method:"post",body:lt})})}function Fe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/collaborators.json`,{method:"Get",params:lt})})}function Ft(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/shixun_members_added.json`,{method:"post",body:lt})})}function _t(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.identifier}/add_members_group.json`,{method:"post",body:lt})})}function Pt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/change_manager.json`,{method:"Get",params:lt})})}function Qt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/change_manager.json`,{method:"post",body:lt})})}function Jt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/collaborators_delete.json`,{method:"delete",body:{user_id:lt.userId}})})}function qt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/ranking_list.json`,{method:"Get"})})}function Xe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/settings.json`,{method:"Get"})})}function It(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:lt.mirror_id}})})}function Ut(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/get_script_contents.json`,{method:"Get",params:lt})})}function ot(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/get_custom_script.json`,{method:"Get",params:lt})})}function bt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/update_for_jupyter.json`,{method:"put",body:lt})})}function ht(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/shixun_quotes.json`,{method:"Get"})})}function et(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}.json`,{method:"delete"})})}function Ue(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/close.json`,{method:"post",body:lt})})}function ye(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:lt})})}function Pe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/update_permission_setting.json`,{method:"post",body:lt})})}function Me(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/update_learn_setting.json`,{method:"post",body:lt})})}function $e(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/update_setting`,{method:"post",body:lt})})}function He(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/get_data_sets.json`,{method:"Get",params:lt})})}function nt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/destroy_data_sets.json`,{method:"Delete",body:{id:lt.deleteId}})})}function ct(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/new.json`,{method:"get"})})}function Gt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.identifier}/challenges.json`,{method:"post",body:a({},lt)})})}function Ht(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengeId}/edit.json`,{method:"get",params:{tab:lt.tab}})})}function Oe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}.json`,{method:"put",body:a({},lt)})})}function Je(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/choose_questions.json`,{method:"get"})})}function Wt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/move_position.json`,{method:"post",body:a({},lt)})})}function kt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}.json`,{method:"delete",body:a({},lt)})})}function Zt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/edit.json`,{method:"get",params:a({},lt)})})}function Bt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengeId}/answer.json`,{method:"get",params:a({},lt)})})}function At(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengeId}/crud_answer.json`,{method:"post",body:a({},lt)})})}function Kt(lt){return p(this,null,function*(){if(lt.type===1)return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/create_choose_question.json`,{method:"post",body:a({},lt)});if(lt.type===2)return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/create_blank_question.json`,{method:"post",body:a({},lt)});if(lt.type===3)return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/create_judge_question.json`,{method:"post",body:a({},lt)})})}function We(lt){return p(this,null,function*(){if(lt.type===1)return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},lt),{choose_id:lt.questionId})});if(lt.type===2)return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},lt),{choose_id:lt.questionId})});if(lt.type===3)return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},lt),{choose_id:lt.questionId})})})}function fe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:lt.questionId}})})}function _e(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:lt.questionId}})})}function Ot(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:lt.questionId}})})}function De(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},lt),{choose_id:lt.questionId})})})}function dt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/delete_git_file.json`,{method:"Delete",body:lt})})}function zt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${lt.id}/delete_git_file.json`,{method:"Delete",body:lt})})}function Ct(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/mv_file.json`,{method:"post",body:lt})})}function ke(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${lt.id}/mv_file.json`,{method:"post",body:lt})})}function wt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/repository.json`,{method:"post",body:lt})})}function xe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${lt.id}/repository.json`,{method:"post",body:lt})})}function Ke(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/secret_repository.json`,{method:"post",body:lt})})}function gt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/add_file.json`,{method:"post",body:lt})})}function Lt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${lt.id}/add_file.json`,{method:"post",body:lt})})}function Be(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/commits.json`,{method:"post",body:lt})})}function Dr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/file_content.json`,{method:"post",body:lt})})}function St(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${lt.id}/file_content.json`,{method:"post",body:lt})})}function Gr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/update_file.json`,{method:"post",body:lt})})}function Xr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${lt.id}/update_file.json`,{method:"post",body:lt})})}function Sr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/upload_git_folder.json`,{method:"post",body:{path:lt.path,secret_repository:lt.secret_repository}})})}function Mr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/${lt.url}`,{method:"Get"})})}function pr(lt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:lt})})}function $r(lt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:lt})})}function nn(lt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:lt})})}function on(lt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:lt})})}function sr(lt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:lt})})}function Mt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/fork_list.json`,{method:"Get",params:lt})})}function vt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.identifier}/change_editable.json`,{method:"put",body:a({},lt)})})}function yt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/set_secret_dir.json`,{method:"post",body:a({},lt)})})}function Nt(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:lt})})}function Cr(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:lt})})}function vr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/init_repository.json`,{method:"post",body:a({},lt)})})}function ut(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${lt.id}/init_repository.json`,{method:"post",body:a({},lt)})})}function Rr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/update_secret_repository.json`,{method:"post",body:a({},lt)})})}function _n(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/exist_exercise.json`,{method:"get",params:a({},lt)})})}function Un(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${lt.id}.json`,{method:"get",params:a({},lt)})})}function _r(lt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${lt.id}/publish.json`,{method:"post",body:a({},lt)})})}function Jr(lt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${lt.id}/open_vnc.json`,{method:"post",params:a({},lt)})})}function dn(lt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${lt.id}/open_webssh.json`,{method:"post",params:a({},lt)})})}function Mn(lt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${lt.id}/save_image.json`,{method:"post",body:a({},lt)})})}function Jn(lt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${lt.id}/delete_image.json`,{method:"post",body:a({},lt)})})}function Nn(lt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${lt.id}/extend_vnc.json`,{method:"post",body:a({},lt)})})}function Ui(lt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${lt.id}/reset_vnc_link.json`,{method:"post",body:a({},lt)})})}function mi(lt){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},lt)})})}function bi(lt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},lt)})})}function vi(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},lt)})})}function di(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:lt})})}function Yi(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${lt}`,{method:"get",params:{is_initiative_study:1}})})}function Xn(lt){return p(this,null,function*(){return Fetch(`/api/shixuns/${lt.id}/update_shixun_study_num.json`,{method:"post",body:a({},lt)})})}function Vi(lt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:lt})})}function Et(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt}/recommend_config.json`,{method:"get"})})}},43859:function(d,g,e){"use strict";e.d(g,{Bg:function(){return p},FO:function(){return B},eJ:function(){return b},eZ:function(){return A},fd:function(){return V},gp:function(){return a},iU:function(){return j},l3:function(){return L},mw:function(){return P},oZ:function(){return _},rM:function(){return D},r_:function(){return K},s:function(){return x},ur:function(){return $},xV:function(){return y},yb:function(){return R}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(W,oe,ae)=>oe in W?i(W,oe,{enumerable:!0,configurable:!0,writable:!0,value:ae}):W[oe]=ae,h=(W,oe)=>{for(var ae in oe||(oe={}))c.call(oe,ae)&&o(W,ae,oe[ae]);if(l)for(var ae of l(oe))f.call(oe,ae)&&o(W,ae,oe[ae]);return W},u=(W,oe,ae)=>new Promise((ce,q)=>{var J=ne=>{try{le(ae.next(ne))}catch(ee){q(ee)}},Y=ne=>{try{le(ae.throw(ne))}catch(ee){q(ee)}},le=ne=>ne.done?ce(ne.value):Promise.resolve(ne.value).then(J,Y);le((ae=ae.apply(W,oe)).next())});function a(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/teachers.json`,{method:"get",params:h({},W)})})}function x(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/apply_teachers.json`,{method:"get",params:h({},W)})})}function p(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/graduation_group_list.json`,{method:"get",params:h({},W)})})}function y(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/all_course_groups.json`,{method:"get",params:h({},W)})})}function _(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/set_course_group.json`,{method:"post",body:h({},W)})})}function b(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/join_graduation_group.json`,{method:"post",body:h({},W)})})}function A(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/create_graduation_group.json`,{method:"post",body:h({},W)})})}function R(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},W)})})}function L(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/delete_from_course.json`,{method:"post",body:h({},W)})})}function P(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/change_member_role.json`,{method:"post",body:h({},W)})})}function D(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/change_course_admin.json`,{method:"post",body:h({},W)})})}function B(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/teacher_application_review.json`,{method:"post",body:h({},W)})})}function $(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/students.json`,{method:"get",params:h({},W)})})}function j(W,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/apply_students.json`,{method:"get",params:oe})})}function K(W,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/join_student_checkout.json`,{method:"get",params:oe})})}function V(W,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/student_application_review.json`,{method:"post",body:oe})})}},24780:function(d,g,e){"use strict";e.d(g,{B$:function(){return y},Cx:function(){return J},DA:function(){return D},DH:function(){return p},Ef:function(){return ne},Es:function(){return b},Ex:function(){return Qt},FM:function(){return ae},Fn:function(){return ee},Gq:function(){return qt},Ho:function(){return $},IU:function(){return de},JJ:function(){return ie},Ol:function(){return Fe},Qx:function(){return oe},Tv:function(){return F},V8:function(){return x},WS:function(){return Y},WY:function(){return W},ai:function(){return q},bG:function(){return R},bJ:function(){return a},c0:function(){return Jt},dE:function(){return Q},dt:function(){return M},gI:function(){return le},lO:function(){return ce},mW:function(){return V},n0:function(){return P},nV:function(){return je},o1:function(){return Ft},qE:function(){return _},qN:function(){return B},rV:function(){return j},sh:function(){return Ie},vR:function(){return A},w3:function(){return K},x4:function(){return L},z2:function(){return _t}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Xe,It,Ut)=>It in Xe?i(Xe,It,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):Xe[It]=Ut,h=(Xe,It)=>{for(var Ut in It||(It={}))c.call(It,Ut)&&o(Xe,Ut,It[Ut]);if(l)for(var Ut of l(It))f.call(It,Ut)&&o(Xe,Ut,It[Ut]);return Xe},u=(Xe,It,Ut)=>new Promise((ot,bt)=>{var ht=ye=>{try{Ue(Ut.next(ye))}catch(Pe){bt(Pe)}},et=ye=>{try{Ue(Ut.throw(ye))}catch(Pe){bt(Pe)}},Ue=ye=>ye.done?ot(ye.value):Promise.resolve(ye.value).then(ht,et);Ue((Ut=Ut.apply(Xe,It)).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 A(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 P(){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 B(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function $(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 K(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/subjects.json`,{method:"get",params:Xe})})}function V(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/projects.json`,{method:"get",params:Xe})})}function W(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 ae(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/${Xe.id}.json`,{method:"delete"})})}function ce(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Xe})})}function q(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Xe})})}function J(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Xe})})}function Y(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Xe})})}function le(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Xe})})}function ne(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Xe})})}function ee(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 ie(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Xe.topicId}.json`,{method:"get",params:Xe})})}function F(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Xe)})})}function M(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/batch_publish.json`,{method:"post",body:Xe})})}function Q(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Xe.identifier}/cancel.json`,{method:"delete",body:h({},Xe)})})}function de(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Xe)})})}function Se(Xe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Xe)})})}function Ie(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function je(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function Fe(Xe){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Xe})}function Ft(Xe){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Xe})}function _t(Xe){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Xe)})}function Pt(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 Jt(Xe){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Xe)})}function qt(Xe){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Xe)})}},75730:function(d,g,e){"use strict";e.d(g,{BQ:function(){return a},DH:function(){return $},Db:function(){return ce},Ju:function(){return ae},Mz:function(){return V},O2:function(){return _},TJ:function(){return R},Vg:function(){return y},ZY:function(){return x},Zx:function(){return K},cU:function(){return p},fn:function(){return oe},jK:function(){return L},yN:function(){return W}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(q,J,Y)=>J in q?i(q,J,{enumerable:!0,configurable:!0,writable:!0,value:Y}):q[J]=Y,h=(q,J)=>{for(var Y in J||(J={}))c.call(J,Y)&&o(q,Y,J[Y]);if(l)for(var Y of l(J))f.call(J,Y)&&o(q,Y,J[Y]);return q},u=(q,J,Y)=>new Promise((le,ne)=>{var ee=M=>{try{F(Y.next(M))}catch(Q){ne(Q)}},ie=M=>{try{F(Y.throw(M))}catch(Q){ne(Q)}},F=M=>M.done?le(M.value):Promise.resolve(M.value).then(ee,ie);F((Y=Y.apply(q,J)).next())});function a(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},q)})})}function x(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/watch_statics.json`,{method:"Get",params:h({},q)})})}function p(q){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${q.videoId}/watch_histories.json`,{method:"Get",params:h({},q)})})}function y(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},q)})})}function _(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}.json`,{method:"Get",params:h({},q)})})}function b(q){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:q})})}function A(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function R(q){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function L(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/star.json`,{method:"post",body:q})})}function P(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}.json`,{method:"put",body:q})})}function D(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/send_to_course.json`,{method:"post",body:q})})}function B(q){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},q)})})}function $(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/view_video.json`,{method:"post",body:q})})}function j(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/add_school.json`,{method:"post",body:q})})}function K(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_people_statics.json`,{method:"get",params:q})})}function V(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_duration_statics.json`,{method:"get",params:q})})}function W(q){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:q})})}function oe(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q==null?void 0:q.id}/course_videos_tree.json`,{method:"get",params:q})})}function ae(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:q})})}function ce(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:q})})}},62406:function(d,g,e){"use strict";e.d(g,{A:function(){return V},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return _},LY:function(){return B},Ll:function(){return o},MM:function(){return L},Ps:function(){return $},Sl:function(){return A},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return K},cZ:function(){return u},rV:function(){return D},sT:function(){return b},tS:function(){return j},xt:function(){return P},y2:function(){return l}});var r=e(99064),i=(W,oe,ae)=>new Promise((ce,q)=>{var J=ne=>{try{le(ae.next(ne))}catch(ee){q(ee)}},Y=ne=>{try{le(ae.throw(ne))}catch(ee){q(ee)}},le=ne=>ne.done?ce(ne.value):Promise.resolve(ne.value).then(J,Y);le((ae=ae.apply(W,oe)).next())});const l=W=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:W})});function c(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions/${W.id}.json`,{method:"put",body:W})})}function f(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions/${W.id}.json`,{method:"get",params:W})})}function o(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions.json`,{method:"post",body:W})})}function h(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions.json`,{method:"get",params:W})})}function u(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}/add_resources.json`,{method:"post",body:W})})}function a(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}/lesson_resources_list.json`,{method:"get",params:W})})}function x(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}.json`,{method:"get",params:W})})}function p(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}.json`,{method:"put",body:W})})}function y(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons.json`,{method:"post",body:W})})}function _(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons.json`,{method:"get",params:W})})}function b(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W==null?void 0:W.id}.json`,{method:"get"})})}function A(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W==null?void 0:W.id}/modules.json`,{method:"get"})})}function R(W){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${W.id}/videos/batch_publish.json`,{method:"post",body:W})})}function L(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/members.json`,{method:"post",body:W})})}function P(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/members/${W.id}/change_creator.json`,{method:"post",body:W})})}function D(W,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/shixuns.json`,{method:"get",params:oe})})}function B(W,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/shixuns`,{method:"post",body:oe})})}function $(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_classroom_id}/shixuns/${W.shixun_id}.json`,{method:"delete"})})}function j(W,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/subjects.json`,{method:"get",params:oe})})}function K(W,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/subjects.json`,{method:"post",body:oe})})}function V(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_classroom_id}/subjects/${W.subject_id}.json`,{method:"delete"})})}},24065:function(d,g,e){"use strict";e.d(g,{$O:function(){return J},EO:function(){return nt},G5:function(){return K},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return W},JA:function(){return He},JL:function(){return P},Jd:function(){return q},Ny:function(){return R},RV:function(){return ae},Rb:function(){return j},Rm:function(){return V},V9:function(){return M},Yh:function(){return ee},aN:function(){return b},aQ:function(){return u},ag:function(){return $e},bg:function(){return Gt},d8:function(){return $},dE:function(){return oe},eB:function(){return ce},eY:function(){return Ht},fn:function(){return Me},h:function(){return Bt},j5:function(){return _},m$:function(){return Oe},oF:function(){return y},qz:function(){return h},t_:function(){return A},tu:function(){return Wt},y8:function(){return ct}});var r=e(89070),i=(At=>(At[At.SuperAdmin=1]="SuperAdmin",At[At.Operation=2]="Operation",At[At.CertifiedTeacher=5]="CertifiedTeacher",At[At.TrainingProduction=8]="TrainingProduction",At[At.UncertifiedTeacher=12]="UncertifiedTeacher",At[At.Student=15]="Student",At))(i||{}),l=(At=>(At[At.SuperAdmin=1]="SuperAdmin",At[At.Operation=2]="Operation",At[At.Admin=5]="Admin",At[At.Teacher=8]="Teacher",At[At.Assistant=12]="Assistant",At[At.Student=15]="Student",At))(l||{}),c=(At=>(At[At.SuperAdmin=0]="SuperAdmin",At[At.Teacher=1]="Teacher",At[At.Student=2]="Student",At))(c||{});const f=At=>{const{user:Kt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Kt;return At.some(fe=>fe==(We==null?void 0:We.role))},o=At=>{const{user:Kt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Kt;return We!=null&&We.own?!0:At.some(fe=>{var _e;return fe==((_e=We==null?void 0:We.course)==null?void 0:_e.course_role)})},h=()=>{const{user:At}=(0,r.getDvaApp)()._store.getState(),{userInfo:Kt}=At;return Kt.main_site},u=()=>{var At;const{user:Kt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Kt;return(At=We==null?void 0:We.course)==null?void 0:At.course_is_end},a=()=>{const{user:At}=getDvaApp()._store.getState(),{userInfo:Kt}=At;return Kt.authentication},x=()=>o([1,2,5,8,12]),p=()=>o([1,8,5,12,2]),y=()=>o([1,8,5]),_=()=>o([1]),b=()=>o([1,2,5]),A=()=>o([1,2]),R=()=>f([1,2]),L=()=>f([1]),P=()=>f([1,2,5]),D=()=>o([1,5]),B=()=>o([5,8]),$=()=>o([5]),j=()=>o([1,5,2]),K=()=>o([1,2,5,8]),V=()=>o([12]),W=()=>o([8]),oe=()=>o([15]),ae=()=>o([1,2,5,8,12,15]),ce=()=>o([1,2,5,8,12]),q=()=>{var At;const{user:Kt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Kt;return((At=We==null?void 0:We.course)==null?void 0:At.course_role)===null},J=()=>{var At;const{user:Kt,globalSetting:We}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Kt,_e=((At=We==null?void 0:We.setting)==null?void 0:At.big_model_users)||[];return _e==null?void 0:_e.includes(fe==null?void 0:fe.login)},Y=(At=!0,Kt=!1)=>f([1,2,5,8,12,15]),le=(At=!0,Kt=!1)=>Kt||!Kt&&f([1]),ne=(At=!0,Kt=!1)=>Kt||!Kt&&f([1,2]),ee=()=>f([15]),ie=(At=!0,Kt=!1)=>At?f([1,2,5,8,12,15]):Kt||!Kt&&f([1,2]),F=(At=!0,Kt=!1)=>At?f([1,2,5,8,12,15]):Kt||!Kt&&f([1,2]),M=(At=!0,Kt=!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])},Q=(At=!0,Kt=!1)=>At?f([1]):Kt||!Kt&&f([1]),de=(At=!0,Kt=!1)=>At?f([1,2]):Kt||!Kt&&f([1,2]),Se=(At=!0,Kt=!1)=>At?f([1,2,5,8,12,15]):Kt||!Kt&&f([1,2]),Ie=(At=!0,Kt=!1)=>At?f([1,2,5,8,12]):Kt||!Kt&&f([1,2]),je=(At=!0,Kt=!1)=>At?f([1,2,5]):Kt||!Kt&&f([1,2]),Fe=(At=!0,Kt=!1)=>At?f([1]):!1,Ft=(At=!0,Kt=!1)=>f([1,2,5,8,12,15]),_t=(At=!0,Kt=!1)=>At?f([1]):Kt||!Kt&&f([1]),Pt=(At=!0,Kt=!1)=>At?f([1,2]):Kt||!Kt&&f([1,2]),Qt=(At=!0,Kt=!1)=>At?f([1,2,5,8,12,15]):Kt||!Kt&&f([1,2]),Jt=(At=!0,Kt=!1)=>At?!1:Kt||!Kt&&f([1,2]),qt=(At=!0,Kt=!1)=>At?Kt||!Kt&&f([1,2]):!1,Xe=(At=!0,Kt=!1)=>At?f([1,2,5,8,12]):!1,It=(At=!0,Kt=!1)=>At?!Kt&&f([1,2,5,8,12]):!1,Ut=(At=!0,Kt=!1)=>At?f([1,2,5]):Kt||!Kt&&f([1,2]),ot=(At=!0,Kt=!1)=>f([1,2,5,8,12]),bt=(At=!0,Kt=!1)=>At?f([1]):Kt||!Kt&&f([1]),ht=(At=!0,Kt=!1)=>At?f([1,2]):Kt||!Kt&&f([1,2]),et=(At=!0,Kt=!1)=>At?f([1,2,5,8,12]):Kt||!Kt&&f([1,2]),Ue=(At=!0,Kt=!1)=>At?Kt||!Kt&&f([1,2]):!1,ye=(At=!0,Kt=!1)=>At?f([1,2,5,8,12]):Kt||!Kt&&f([1,2]),Pe=(At=!0,Kt=!1)=>o([8]),Me=()=>f([1]),$e=()=>f([1,2]),He=()=>f([15]),nt=()=>f([1,2,5]),ct=()=>f([1,2,5,12]),Gt=()=>{var At;const{user:Kt}=(0,r.getDvaApp)()._store.getState();return!!((At=Kt.userInfo)!=null&&At.login)},Ht=()=>{const{user:At}=(0,r.getDvaApp)()._store.getState();return At.userInfo},Oe=()=>{var At,Kt;const{user:We}=(0,r.getDvaApp)()._store.getState();return!!((Kt=(At=We.userInfo)==null?void 0:At.path)!=null&&Kt.own)},Je=At=>{const{graduations:Kt}=(0,r.getDvaApp)()._store.getState(),{details:We}=Kt;return At.some(fe=>fe===(We==null?void 0:We.user_identity))},Wt=()=>Je([0,1]),kt=()=>Je([0]),Zt=()=>Je([1]),Bt=()=>Je([2])},14165: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=(o=>(o.PROBLEM="problem",o.PAPER="paper",o.OTHER="other",o))(l||{}),c=(o=>(o.SINGLE="single",o.MULTIPLEFLOW="multiple_flow",o.MULTIPLEFIXED="multiple_fixed",o.OTHER="other",o))(c||{}),f=(o=>(o[o.BISHI=1]="BISHI",o[o.JISHI=2]="JISHI",o[o.KOUSHI=3]="KOUSHI",o[o.OTHER=4]="OTHER",o))(f||{})},33466: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"}},3294: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 o=location.host;return o==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),o==="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"]},99064:function(d,g,e){"use strict";e.d(g,{IV:function(){return F},U2:function(){return le},ZP:function(){return ce},d4:function(){return ne},gz:function(){return ie},rz:function(){return ae},v_:function(){return ee}});var r=e(3294),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(89070),a=e(955),x=e(89392),p=e.n(x),y=Object.defineProperty,_=Object.defineProperties,b=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,P=(M,Q,de)=>Q in M?y(M,Q,{enumerable:!0,configurable:!0,writable:!0,value:de}):M[Q]=de,D=(M,Q)=>{for(var de in Q||(Q={}))R.call(Q,de)&&P(M,de,Q[de]);if(A)for(var de of A(Q))L.call(Q,de)&&P(M,de,Q[de]);return M},B=(M,Q)=>_(M,b(Q)),$=(M,Q,de)=>new Promise((Se,Ie)=>{var je=_t=>{try{Ft(de.next(_t))}catch(Pt){Ie(Pt)}},Fe=_t=>{try{Ft(de.throw(_t))}catch(Pt){Ie(Pt)}},Ft=_t=>_t.done?Se(_t.value):Promise.resolve(_t.value).then(je,Fe);Ft((de=de.apply(M,Q)).next())});let j;const K={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"},V=(M,Q)=>$(void 0,null,function*(){if(M.status>=200&&M.status<300)return M;const de=K[M.status]||M.statusText;let Se;var Ie=M.json();yield Ie.then((Fe,Ft)=>{setTimeout(()=>{let _t=(0,u.getDvaApp)()},400),Se=Fe.message,window.showNetworkErrorTip(Fe.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`),i.Z.error({style:{wordBreak:"break-all"},message:Fe.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`,description:Fe.message?"":de})});const je=new Error(de);throw je.name=M.status,je.response=M,{data:M,code:M.status,message:Se||de}}),W=(M,Q)=>{const de=M.headers.get("Content-Type");return de&&de.match(/application\/json/i)&&M.clone().text().then(()=>{}),M};function oe(M){try{return decodeURIComponent(M),decodeURIComponent(encodeURIComponent(M))===M}catch(Q){return!1}}const ae=M=>{M=M||{};let Q="";for(let de in M)typeof M[de]=="object"?Array.isArray(M[de])&&M[de].forEach((Se,Ie)=>{Q+="&"+de+"[]="+Se}):M[de]!==void 0&&(Q+="&"+de+"="+(oe(M[de])?M[de]:encodeURIComponent(M[de])));return Q.substr(1)};function ce(M,Q,de,Se){Q.method||(Q.method="get"),Q.method=Q.method.toUpperCase(),Q.mode="cors";const Ie=D({},Q),{user:je}=(0,u.getDvaApp)()._store.getState(),{userInfo:Fe}=je,Ft=M+(Ie.body?JSON.stringify(Ie.body):""),_t=o().sha256().update(Ft).digest("hex"),Pt={credentials:"include",withCredentials:!0},Qt={};Fe!=null&&Fe.login&&(Qt.zzud=Fe==null?void 0:Fe.login,Fe!=null&&Fe.school_id&&(Qt.zzsud=Fe==null?void 0:Fe.school_id),Ie.params=D(D({},Ie.params||{}),Qt));let Jt=D(D({},Pt),(0,x.cloneDeep)(Ie));(Jt.method==="POST"||Jt.method==="PUT"||Jt.method==="PATCH"||Jt.method==="DELETE")&&(de?(Jt.headers=B(D({_method:Q.method.toUpperCase()},Jt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Jt.body=Ie.body):(Jt.headers=D({Accept:"application/json",_method:Q.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},Jt.headers),Jt.body=JSON.stringify(Ie.body))),Jt.method=="GET"?(Jt.headers=B(D({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:Q.method.toUpperCase()},Jt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Ie.params&&ae(Ie.params)&&(M+="?"+ae(Ie.params))):Qt.zzud&&(M+="?"+ae(D({},Qt)));const qt=Ie.expirys&&60;let Xe;(bt=>{bt.json="application/json;charset=UTF-8",bt.form="application/x-www-form-urlencoded; charset=UTF-8"})(Xe||(Xe={}));let It;(bt=>{bt.get="GET",bt.post="POST"})(It||(It={}));const Ut=bt=>$(this,null,function*(){const ht=yield bt.arrayBuffer();let et;const Ue=new Blob([ht]);try{et=bt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch($e){et="userfiles.zip"}const ye=document.createElement("a"),Pe=window.URL.createObjectURL(Ue),Me=et;return ye.href=Pe,ye.download=Me,ye.click(),window.URL.revokeObjectURL(Pe),ht});let ot=r.Z.API_SERVER;return(window.ENV==="dev"||M.startsWith("http"))&&(ot=""),Jt.method=="GET"&&Jt.params&&Object.keys(Jt.params).map(bt=>{if(Jt.params[bt]&&!Array.isArray(Jt.params[bt]))try{Jt.params[bt]=encodeURIComponent(decodeURIComponent(Jt.params[bt]))}catch(ht){Jt.params[bt]=encodeURIComponent(Jt.params[bt])}}),(0,a.Ec)(Jt,M),Se&&(ot=""),Jt.headers._method=Jt.method,Jt.headers["X-HTTP-Method-Override"]=Jt.method,Jt.method!=="GET"&&(Jt.method="POST"),fetch(ot+M,Jt).then(bt=>V(bt,D({url:r.Z.API_SERVER+M},Jt))).then(bt=>W(bt,_t)).then(bt=>$(this,null,function*(){var ht,et,Ue,ye;try{const Me=bt.headers.get("cs");Me&&(0,a.d8)("_educoder_session",Me,1)}catch(Me){}if(bt.status===204)return bt.text();let Pe;if(bt.headers.get("content-type").indexOf("application/json")>-1){Pe=yield bt.json();try{const Me=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,$e=/\"\/api\/attachments\/(\d+)\//g,He=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,nt=/\/api\/attachments\/(\d+)/g,ct=/\/attachments\/download\/(\d+)/g;let Gt=JSON.stringify(Pe).replace(nt,(Ht,Oe,Je,Wt)=>{const kt=Oe||Je||Wt;return"/api/attachments/"+(0,a.Jn)(kt)}).replace(ct,(Ht,Oe,Je)=>{const Wt=Oe||Je;return"/attachments/download/"+(0,a.Jn)(Wt)}).replace(Me,(Ht,Oe,Je,Wt)=>{const kt=Oe||Je||Wt;return"(/api/attachments/"+(0,a.Jn)(kt)}).replace($e,(Ht,Oe,Je)=>{const Wt=Oe||Je;return'"/api/attachments/'+(0,a.Jn)(Wt)}).replace(He,(Ht,Oe,Je)=>{const Wt=Oe||Je;return"(/files/uploads/"+(0,a.Jn)(Wt)}).replace(/\r\n/g,`
|
|
|
`);Pe=JSON.parse(Gt)}catch(Me){}}else Jt.headers["Content-Type"]==="application/xml"?Pe=yield bt.text():(ht=Ie.body)!=null&&ht.autoDownload||(et=Ie.params)!=null&&et.autoDownload?Pe=yield Ut(bt):Pe=yield bt.arrayBuffer();try{Pe.status===401&&(!((Ue=Jt.params)!=null&&Ue.hidePopLogin)||!((ye=Jt.body)!=null&&ye.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Pe.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 Y(Pe,M),Pe})).catch(bt=>{try{const ht=bt.code;if(bt instanceof TypeError&&window.showNetworkErrorTip(`${M}<span class="ml10">${bt.message}</span>`),ht){if(ht===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}Y(bt,M)}else M.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Jt.body}}):bt.message!=="403"&&window.showNetworkErrorTip(`${M}<span class="ml10">${bt.message}</span>`);return bt}catch(ht){}})}let q=!1,J=!1;const Y=(M,Q)=>{var de,Se,Ie;if(M.status==-6&&!J){J=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>J=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:M.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(M.status==-7){J=!0,setTimeout(()=>J=!1,500);let Fe="";(de=M==null?void 0:M.data)!=null&&de.exercise_list&&((Ie=(Se=M==null?void 0:M.data)==null?void 0:Se.exercise_list)==null||Ie.map(Ft=>{Fe+=`<a target="_blank" href="/classrooms/${Ft.identifier}/exercise">\u300A${Ft.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 ${Fe} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762</div>`},500);return}if((M.status==-1||M.status==-2||M.status==-102||M.status>400)&&M.status!=403&&!J){J=!0,setTimeout(()=>J=!1,500),c.ZP.warning({content:M.message,key:"message-key"});return}const je={403:"/403",404:"/404",500:"/500"};if(je[M.status]&&!q){const{user:Fe}=(0,u.getDvaApp)()._store.getState(),{userInfo:Ft}=Fe;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(q=!0),setTimeout(()=>q=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(M)),Object.values(je).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(je[M.status]),new Error("403")}};function le(M,Q){return ce(`/api/${M}`,{method:"Get",params:Q||{}})}function ne(M,Q){return ce(`/${M}`,{method:"Get",params:Q})}function ee(M,Q){return ce(`/api/${M}`,{method:"Post",body:D({},Q)})}function ie(M,Q){return ce(`/api/${M}`,{method:"Put",body:D({},Q)})}function F(M,Q){return ce(`/api/${M}`,{method:"delete",body:D({},Q||{})})}},64892: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="},24768:function(d,g,e){"use strict";e.d(g,{AL:function(){return $},Iy:function(){return p},Qv:function(){return b},ez:function(){return B},jb:function(){return y}});var r=e(32834),i=e.n(r),l=e(11690),c=e.n(l);let f=1;function o(oe,ae){const ce=oe.match(/^(\s+)(?:```)/);if(ce===null)return ae;const q=ce[1];return ae.split(`
|
|
|
`).map(J=>{const Y=J.match(/^\s+/);if(Y===null)return J;const[le]=Y;return le.length>=q.length?J.slice(q.length):J}).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,ae,ce,q){if(ae>=oe.length||oe[ae].level<=ce)return ae;var J=oe[ae];q.push("<li><a href='#"+f+J.anchor+"'>"+J.text+"</a>"),ae++;var Y=[];return ae=_(oe,ae,J.level,Y),Y.length>0&&(q.push("<ul>"),Y.forEach(function(le){q.push(le)}),q.push("</ul>")),q.push("</li>"),ae=_(oe,ae,ce,q),ae}function b(){return _(h,0,0,u),u.push("</ul>"),u.join("")}const A={heading(oe){const ae=x.exec(oe);if(f+=1,ae)return{type:"heading",raw:ae[0],depth:ae[1].length,text:ae[2]}},fences(oe){const ae=this.rules.block.fences.exec(oe);if(ae){const ce=ae[0];let q=o(ce,ae[3]||"");const J=ae[2]?ae[2].trim():ae[2];if(["latex","katex","math"].indexOf(J)>=0){const Y=P(),le=q;q=Y,D[Y]={type:"block",expression:le}}return{type:"code",raw:ce,lang:J,text:q}}}},R=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let L=0;const P=()=>`__special_katext_id_${L++}__`;let D={};function B(){return D}function $(){L=0,D={}}function j(oe){return oe=oe.replace(R,(ae,ce)=>{const q=P();return D[q]={type:"inline",expression:ce},q}),oe}const K=a.listitem;a.listitem=function(oe){return K(j(oe))};const V=a.paragraph;a.paragraph=function(oe){return V(j(oe))};const W=a.tablecell;a.tablecell=function(oe,ae){return W(j(oe),ae)},a.code=function(oe,ae,ce){const q=(ae||"").match(/\S*/)[0];return q?["latex","katex","math"].indexOf(q)>=0?`<p class='editormd-tex'>${oe}</p>`:`<pre class="prettyprint linenums"><code class="language-${ae}">${ce?oe:(0,l.escape)(oe,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(ce?oe:(0,l.escape)(oe,!0))+"</code></pre>"},a.heading=function(oe,ae,ce){let q=this.options.headerPrefix+ce.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return h.push({anchor:q,level:ae,text:oe}),"<h"+ae+' id="'+f+q+'">'+oe+"</h"+ae+">"},i().setOptions({silent:!0,gfm:!0,pedantic:!1}),i().use({tokenizer:A,renderer:a}),g.ZP=i()},955: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__(24065),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__(16209),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(94941),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(33466),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(89070),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__(3294),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(34604),_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(85149),_utils_fetch__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(99064),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__(64892),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=o=>{try{f(e.next(o))}catch(h){i(h)}},c=o=>{try{f(e.throw(o))}catch(h){i(h)}},f=o=>o.done?r(o.value):Promise.resolve(o.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(o,h){const u=[];for(let a=o;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 o=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,o),disabledMinutes:()=>e<=o?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 o=[];for(let h=c;h<f;h++)o.push(h);return o}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 o="";for(let h=0;h<f.length;h++){const u=+f[h],a=e[u],x=r[f.length-1-h];u===0?o[o.length-1]!==e[0]&&(o+=a):o+=a+x}return o[o.length-1]===e[0]&&(o=o.slice(0,-1)),o};let c="";for(let f=0;f<g.length;f++){const o=g[f],h=l(o),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),o=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":o>=1?i=""+o+"\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(o){for(var h=new Array,u=0;u<o.length;u++)o[u]&&h.push(o[u]);return h},l=function(o){return encodeURIComponent(o).replace(/[!'()*]/g,escape)},c=function(o){return!isNaN(parseFloat(o))&&isFinite(o)},f=Object.keys(d).map(function(o){var h,u=o;if(typeof d[o]=="object"&&d[o]!==null)h=httpBuildQuery(d[o],null);else{g&&(u=c(u)?g+Number(u):u);var a=d[o];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 o,h;return __spreadProps(__spreadValues({},f),{status:typeof(f==null?void 0:f.response)=="string"||((o=f==null?void 0:f.response)==null?void 0:o.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:o,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"},o),__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(A=>A.questions_count>0).map((A,R)=>{var L;return(L=A.questions)==null||L.forEach(P=>{p.push(P.id),y=y+P.score,_=_+1}),__spreadValues(__spreadValues({},A),{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:o,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"},o),__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,P)=>{p==null||p.map((D,B)=>{L.type===D.type&&y.push(D)})});const _=[];let b=0,A=0;const R=y.filter(L=>L.questions_count>0).map((L,P)=>{var D;return(D=L.questions)==null||D.forEach(B=>{_.push(B.id),b=b+B.score,A=A+1}),__spreadValues(__spreadValues({},L),{number:e[P+1]})});return{all_questions_count:A,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},58539: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)}},95254:function(d,g,e){"use strict";e.d(g,{Il:function(){return f},Ov:function(){return o},T$:function(){return u}});var r=e(38127),i=e(59301),l=e(35338),c=["element"],f=i.createContext({});function o(){return i.useContext(f)}function h(){var y=(0,l.TH)(),_=o(),b=_.clientRoutes,A=(0,l.fp)(b,y.pathname);return A||[]}function u(){var y,_=h().slice(-1),b=((y=_[0])===null||y===void 0?void 0:y.route)||{},A=b.element,R=(0,r.Z)(b,c);return R}function a(){var y=h(),_=o(),b=_.serverLoaderData,A=_.basename,R=React.useState(function(){var B={},$=!1;return y.forEach(function(j){var K=b[j.route.id];K&&(Object.assign(B,K),$=!0)}),$?B:void 0}),L=_slicedToArray(R,2),P=L[0],D=L[1];return React.useEffect(function(){window.__UMI_LOADER_DATA__||Promise.all(y.filter(function(B){return B.route.hasServerLoader}).map(function(B){return new Promise(function($){fetchServerLoader({id:B.route.id,basename:A,cb:$})})})).then(function(B){if(B.length){var $={};B.forEach(function(j){Object.assign($,j)}),D($)}})},[]),{data:P}}function x(){var y=useRouteData(),_=o();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 o=h=>{const{type:u,children:a,prefixCls:x,buttonProps:p,close:y,autoFocus:_,emitEvent:b,isSilent:A,quitOnNullishReturnValue:R,actionFn:L}=h,P=i.useRef(!1),D=i.useRef(null),[B,$]=(0,r.Z)(!1),j=function(){y==null||y.apply(void 0,arguments)};i.useEffect(()=>{let W=null;return _&&(W=setTimeout(()=>{var oe;(oe=D.current)===null||oe===void 0||oe.focus()})),()=>{W&&clearTimeout(W)}},[]);const K=W=>{f(W)&&($(!0),W.then(function(){$(!1,!0),j.apply(void 0,arguments),P.current=!1},oe=>{if($(!1,!0),P.current=!1,!(A!=null&&A()))return Promise.reject(oe)}))},V=W=>{if(P.current)return;if(P.current=!0,!L){j();return}let oe;if(b){if(oe=L(W),R&&!f(oe)){P.current=!1,j(W);return}}else if(L.length)oe=L(y),P.current=!1;else if(oe=L(),!oe){j();return}K(oe)};return i.createElement(l.ZP,Object.assign({},(0,c.n)(u),{onClick:V,loading:B,prefixCls:x},p,{ref:D}),a)};g.Z=o},53487:function(d,g,e){"use strict";e.d(g,{Z:function(){return o},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 o(h,u,a,x){function p(y){const{prefixCls:_,style:b}=y,A=i.useRef(null),[R,L]=i.useState(0),[P,D]=i.useState(0),[B,$]=(0,r.Z)(!1,{value:y.open}),{getPrefixCls:j}=i.useContext(c.E_),K=j(u||"select",_);i.useEffect(()=>{if($(!0),typeof ResizeObserver!="undefined"){const W=new ResizeObserver(ae=>{const ce=ae[0].target;L(ce.offsetHeight+8),D(ce.offsetWidth)}),oe=setInterval(()=>{var ae;const ce=a?`.${a(K)}`:`.${K}-dropdown`,q=(ae=A.current)===null||ae===void 0?void 0:ae.querySelector(ce);q&&(clearInterval(oe),W.observe(q))},10);return()=>{clearInterval(oe),W.disconnect()}}},[]);let V=Object.assign(Object.assign({},y),{style:Object.assign(Object.assign({},b),{margin:0}),open:B,visible:B,getPopupContainer:()=>A.current});return x&&(V=x(V)),i.createElement("div",{ref:A,style:{paddingBottom:R,position:"relative",minWidth:P}},i.createElement(h,Object.assign({},V)))}return f(p)}},36785:function(d,g,e){"use strict";e.d(g,{o2:function(){return f},yT:function(){return o}});var r=e(80702),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 o(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,o,h){return typeof f=="boolean"?f:o===void 0?!!h:o!==!1&&o!==null}function c(f,o,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,o,a))return[!1,null];const p=typeof o=="boolean"||o===void 0||o===null?u:o;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}},o=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 o}});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 o(h){const{arrowWidth:u,autoAdjustOverflow:a,arrowPointAtCenter:x,offset:p,borderRadius:y,visibleFirst:_}=h,b=u/2,A={};return Object.keys(l).forEach(R=>{const L=x&&c[R]||l[R],P=Object.assign(Object.assign({},L),{offset:[0,0]});switch(A[R]=P,f.has(R)&&(P.autoArrow=!1),R){case"top":case"topLeft":case"topRight":P.offset[1]=-b-p;break;case"bottom":case"bottomLeft":case"bottomRight":P.offset[1]=b+p;break;case"left":case"leftTop":case"leftBottom":P.offset[0]=-b-p;break;case"right":case"rightTop":case"rightBottom":P.offset[0]=b+p;break}const D=(0,r.fS)({contentRadius:y,limitVerticalRadius:!0});if(x)switch(R){case"topLeft":case"bottomLeft":P.offset[0]=-D.dropdownArrowOffset-b;break;case"topRight":case"bottomRight":P.offset[0]=D.dropdownArrowOffset+b;break;case"leftTop":case"rightTop":P.offset[1]=-D.dropdownArrowOffset-b;break;case"leftBottom":case"rightBottom":P.offset[1]=D.dropdownArrowOffset+b;break}P.overflow=i(R,D,u,a),_&&(P.htmlRegion="visibleFirst")}),A}},92343:function(d,g,e){"use strict";var r;e.d(g,{M2:function(){return c},Tm:function(){return o},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 o(h,u){return f(h,h,u)}},69507:function(d,g,e){"use strict";e.d(g,{ZP:function(){return o},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`,A=`screen${_}`;if(!(a[b]<=a[A]))throw new Error(`${b}<=${A} fails : !(${a[b]}<=${a[A]})`);if(y<x.length-1){const R=`screen${_}Max`;if(!(a[A]<=a[R]))throw new Error(`${A}<=${R} fails : !(${a[A]}<=${a[R]})`);const P=`screen${x[y+1].toUpperCase()}Min`;if(!(a[R]<=a[P]))throw new Error(`${R}<=${P} fails : !(${a[R]}<=${a[P]})`)}}),u};function o(){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[_],A=this.matchHandlers[b];A==null||A.mql.removeListener(A==null?void 0:A.listener)}),x.clear()},register(){Object.keys(a).forEach(_=>{const b=a[_],A=L=>{let{matches:P}=L;this.dispatch(Object.assign(Object.assign({},y),{[_]:P}))},R=window.matchMedia(b);R.addListener(A),this.matchHandlers[b]={mql:R,listener:A},A(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),o=e(36355),h=e(92343),u=e(83116);const a=ae=>{const{componentCls:ce,colorPrimary:q}=ae;return{[ce]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${q})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${ae.motionEaseOutCirc}`,`opacity 2s ${ae.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${ae.motionEaseInOut}`,`opacity 0.35s ${ae.motionEaseInOut}`].join(",")}}}}};var x=(0,u.Z)("Wave",ae=>[a(ae)]),p=e(70425),y=e(16089),_=e(77900),b=e(1585);function A(ae){const ce=(ae||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return ce&&ce[1]&&ce[2]&&ce[3]?!(ce[1]===ce[2]&&ce[2]===ce[3]):!0}function R(ae){return ae&&ae!=="#fff"&&ae!=="#ffffff"&&ae!=="rgb(255, 255, 255)"&&ae!=="rgba(255, 255, 255, 1)"&&A(ae)&&!/rgba\((?:\d*, ){3}0\)/.test(ae)&&ae!=="transparent"}function L(ae){const{borderTopColor:ce,borderColor:q,backgroundColor:J}=getComputedStyle(ae);return R(ce)?ce:R(q)?q:R(J)?J:null}var P=e(4572);function D(ae){return Number.isNaN(ae)?0:ae}const B=ae=>{const{className:ce,target:q,component:J}=ae,Y=f.useRef(null),[le,ne]=f.useState(null),[ee,ie]=f.useState([]),[F,M]=f.useState(0),[Q,de]=f.useState(0),[Se,Ie]=f.useState(0),[je,Fe]=f.useState(0),[Ft,_t]=f.useState(!1),Pt={left:F,top:Q,width:Se,height:je,borderRadius:ee.map(qt=>`${qt}px`).join(" ")};le&&(Pt["--wave-color"]=le);function Qt(){const qt=getComputedStyle(q);ne(L(q));const Xe=qt.position==="static",{borderLeftWidth:It,borderTopWidth:Ut}=qt;M(Xe?q.offsetLeft:D(-parseFloat(It))),de(Xe?q.offsetTop:D(-parseFloat(Ut))),Ie(q.offsetWidth),Fe(q.offsetHeight);const{borderTopLeftRadius:ot,borderTopRightRadius:bt,borderBottomLeftRadius:ht,borderBottomRightRadius:et}=qt;ie([ot,bt,et,ht].map(Ue=>D(parseFloat(Ue))))}if(f.useEffect(()=>{if(q){const qt=(0,y.Z)(()=>{Qt(),_t(!0)});let Xe;return typeof ResizeObserver!="undefined"&&(Xe=new ResizeObserver(Qt),Xe.observe(q)),()=>{y.Z.cancel(qt),Xe==null||Xe.disconnect()}}},[]),!Ft)return null;const Jt=(J==="Checkbox"||J==="Radio")&&(q==null?void 0:q.classList.contains(P.A));return f.createElement(_.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(qt,Xe)=>{var It;if(Xe.deadline||Xe.propertyName==="opacity"){const Ut=(It=Y.current)===null||It===void 0?void 0:It.parentElement;(0,b.v)(Ut).then(()=>{Ut==null||Ut.remove()})}return!1}},qt=>{let{className:Xe}=qt;return f.createElement("div",{ref:Y,className:i()(ce,{"wave-quick":Jt},Xe),style:Pt})})};var j=(ae,ce)=>{var q;const{component:J}=ce;if(J==="Checkbox"&&!(!((q=ae.querySelector("input"))===null||q===void 0)&&q.checked))return;const Y=document.createElement("div");Y.style.position="absolute",Y.style.left="0px",Y.style.top="0px",ae==null||ae.insertBefore(Y,ae==null?void 0:ae.firstChild),(0,b.s)(f.createElement(B,Object.assign({},ce,{target:ae})),Y)},K=e(88088);function V(ae,ce,q){const{wave:J}=f.useContext(o.E_),[,Y,le]=(0,K.Z)(),ne=(0,p.useEvent)(F=>{const M=ae.current;if(J!=null&&J.disabled||!M)return;const Q=M.querySelector(`.${P.A}`)||M,{showEffect:de}=J||{};(de||j)(Q,{className:ce,token:Y,component:q,event:F,hashId:le})}),ee=f.useRef();return F=>{y.Z.cancel(ee.current),ee.current=(0,y.Z)(()=>{ne(F)})}}var oe=ae=>{const{children:ce,disabled:q,component:J}=ae,{getPrefixCls:Y}=(0,f.useContext)(o.E_),le=(0,f.useRef)(null),ne=Y("wave"),[,ee]=x(ne),ie=V(le,i()(ne,ee),J);if(f.useEffect(()=>{const M=le.current;if(!M||M.nodeType!==1||q)return;const Q=de=>{!(0,c.Z)(de.target)||!M.getAttribute||M.getAttribute("disabled")||M.disabled||M.className.includes("disabled")||M.className.includes("-leave")||ie(de)};return M.addEventListener("click",Q,!0),()=>{M.removeEventListener("click",Q,!0)}},[q]),!f.isValidElement(ce))return ce!=null?ce:null;const F=(0,l.Yr)(ce)?(0,l.sQ)(ce.ref,le):le;return(0,h.Tm)(ce,{ref:F})}},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 Kt}});var r=e(59301),i=e(92310),l=e.n(i),c=e(2738),f=e(8654),o=e(14088),h=e(36355),u=e(1684),a=e(19716),x=e(33234),p=e(88088),y=function(We,fe){var _e={};for(var Ot in We)Object.prototype.hasOwnProperty.call(We,Ot)&&fe.indexOf(Ot)<0&&(_e[Ot]=We[Ot]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Ot=Object.getOwnPropertySymbols(We);De<Ot.length;De++)fe.indexOf(Ot[De])<0&&Object.prototype.propertyIsEnumerable.call(We,Ot[De])&&(_e[Ot[De]]=We[Ot[De]]);return _e};const _=r.createContext(void 0);var A=We=>{const{getPrefixCls:fe,direction:_e}=r.useContext(h.E_),{prefixCls:Ot,size:De,className:dt}=We,zt=y(We,["prefixCls","size","className"]),Ct=fe("btn-group",Ot),[,,ke]=(0,p.Z)();let wt="";switch(De){case"large":wt="lg";break;case"small":wt="sm";break;case"middle":case void 0:break;default:}const xe=l()(Ct,{[`${Ct}-${wt}`]:wt,[`${Ct}-rtl`]:_e==="rtl"},dt,ke);return r.createElement(_.Provider,{value:De},r.createElement("div",Object.assign({},zt,{className:xe})))},R=e(92343);const L=/^[\u4e00-\u9fa5]{2}$/,P=L.test.bind(L);function D(We){return typeof We=="string"}function B(We){return We==="text"||We==="link"}function $(We,fe){if(We==null)return;const _e=fe?" ":"";return typeof We!="string"&&typeof We!="number"&&D(We.type)&&P(We.props.children)?(0,R.Tm)(We,{children:We.props.children.split("").join(_e)}):D(We)?P(We)?r.createElement("span",null,We.split("").join(_e)):r.createElement("span",null,We):(0,R.M2)(We)?r.createElement("span",null,We):We}function j(We,fe){let _e=!1;const Ot=[];return r.Children.forEach(We,De=>{const dt=typeof De,zt=dt==="string"||dt==="number";if(_e&&zt){const Ct=Ot.length-1,ke=Ot[Ct];Ot[Ct]=`${ke}${De}`}else Ot.push(De);_e=zt}),r.Children.map(Ot,De=>$(De,fe))}const K=null,V=null,W=null;var ae=(0,r.forwardRef)((We,fe)=>{const{className:_e,style:Ot,children:De,prefixCls:dt}=We,zt=l()(`${dt}-icon`,_e);return r.createElement("span",{ref:fe,className:zt,style:Ot},De)}),ce=e(58617),q=e(77900);const J=(0,r.forwardRef)((We,fe)=>{let{prefixCls:_e,className:Ot,style:De,iconClassName:dt}=We;const zt=l()(`${_e}-loading-icon`,Ot);return r.createElement(ae,{prefixCls:_e,className:zt,style:De,ref:fe},r.createElement(ce.Z,{className:dt}))}),Y=()=>({width:0,opacity:0,transform:"scale(0)"}),le=We=>({width:We.scrollWidth,opacity:1,transform:"scale(1)"});var ee=We=>{const{prefixCls:fe,loading:_e,existIcon:Ot,className:De,style:dt}=We,zt=!!_e;return Ot?r.createElement(J,{prefixCls:fe,className:De,style:dt}):r.createElement(q.default,{visible:zt,motionName:`${fe}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:Y,onAppearActive:le,onEnterStart:Y,onEnterActive:le,onLeaveStart:le,onLeaveActive:Y},(Ct,ke)=>{let{className:wt,style:xe}=Ct;return r.createElement(J,{prefixCls:fe,className:De,style:Object.assign(Object.assign({},dt),xe),ref:ke,iconClassName:wt})})},ie=e(17313),F=e(37613),M=e(83116);const Q=(We,fe)=>({[`> span, > ${We}`]:{"&:not(:last-child)":{[`&, & > ${We}`]:{"&:not(:disabled)":{borderInlineEndColor:fe}}},"&:not(:first-child)":{[`&, & > ${We}`]:{"&:not(:disabled)":{borderInlineStartColor:fe}}}}});var Se=We=>{const{componentCls:fe,fontSize:_e,lineWidth:Ot,groupBorderColor:De,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:-Ot,[`&, & > ${fe}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[fe]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${fe}-icon-only`]:{fontSize:_e}},Q(`${fe}-primary`,De),Q(`${fe}-danger`,dt)]}};const Ie=We=>{const{componentCls:fe,iconCls:_e,fontWeight:Ot}=We;return{[fe]:{outline:"none",position:"relative",display:"inline-block",fontWeight:Ot,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},[`> ${_e} + span, > span + ${_e}`]:{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,ie.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:'""'}}}}}}},je=(We,fe,_e)=>({[`&:not(:disabled):not(${We}-disabled)`]:{"&:hover":fe,"&:active":_e}}),Fe=We=>({minWidth:We.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Ft=We=>({borderRadius:We.controlHeight,paddingInlineStart:We.controlHeight/2,paddingInlineEnd:We.controlHeight/2}),_t=We=>({cursor:"not-allowed",borderColor:We.borderColorDisabled,color:We.colorTextDisabled,backgroundColor:We.colorBgContainerDisabled,boxShadow:"none"}),Pt=(We,fe,_e,Ot,De,dt,zt,Ct)=>({[`&${We}-background-ghost`]:Object.assign(Object.assign({color:_e||void 0,backgroundColor:fe,borderColor:Ot||void 0,boxShadow:"none"},je(We,Object.assign({backgroundColor:fe},zt),Object.assign({backgroundColor:fe},Ct))),{"&:disabled":{cursor:"not-allowed",color:De||void 0,borderColor:dt||void 0}})}),Qt=We=>({[`&:disabled, &${We.componentCls}-disabled`]:Object.assign({},_t(We))}),Jt=We=>Object.assign({},Qt(We)),qt=We=>({[`&:disabled, &${We.componentCls}-disabled`]:{cursor:"not-allowed",color:We.colorTextDisabled}}),Xe=We=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Jt(We)),{backgroundColor:We.defaultBg,borderColor:We.defaultBorderColor,color:We.defaultColor,boxShadow:We.defaultShadow}),je(We.componentCls,{color:We.colorPrimaryHover,borderColor:We.colorPrimaryHover},{color:We.colorPrimaryActive,borderColor:We.colorPrimaryActive})),Pt(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},je(We.componentCls,{color:We.colorErrorHover,borderColor:We.colorErrorBorderHover},{color:We.colorErrorActive,borderColor:We.colorErrorActive})),Pt(We.componentCls,We.ghostBg,We.colorError,We.colorError,We.colorTextDisabled,We.colorBorder)),Qt(We))}),It=We=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Jt(We)),{color:We.primaryColor,backgroundColor:We.colorPrimary,boxShadow:We.primaryShadow}),je(We.componentCls,{color:We.colorTextLightSolid,backgroundColor:We.colorPrimaryHover},{color:We.colorTextLightSolid,backgroundColor:We.colorPrimaryActive})),Pt(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},je(We.componentCls,{backgroundColor:We.colorErrorHover},{backgroundColor:We.colorErrorActive})),Pt(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"}),ot=We=>Object.assign(Object.assign(Object.assign({color:We.colorLink},je(We.componentCls,{color:We.colorLinkHover,backgroundColor:We.linkHoverBg},{color:We.colorLinkActive})),qt(We)),{[`&${We.componentCls}-dangerous`]:Object.assign(Object.assign({color:We.colorError},je(We.componentCls,{color:We.colorErrorHover},{color:We.colorErrorActive})),qt(We))}),bt=We=>Object.assign(Object.assign(Object.assign({},je(We.componentCls,{color:We.colorText,backgroundColor:We.textHoverBg},{color:We.colorText,backgroundColor:We.colorBgTextActive})),qt(We)),{[`&${We.componentCls}-dangerous`]:Object.assign(Object.assign({color:We.colorError},qt(We)),je(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`]:It(We),[`${fe}-dashed`]:Ut(We),[`${fe}-link`]:ot(We),[`${fe}-text`]:bt(We),[`${fe}-ghost`]:Pt(We.componentCls,We.ghostBg,We.colorBgContainer,We.colorBgContainer,We.colorTextDisabled,We.colorBorder)}},et=function(We){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:_e,controlHeight:Ot,fontSize:De,lineHeight:dt,lineWidth:zt,borderRadius:Ct,buttonPaddingHorizontal:ke,iconCls:wt}=We,xe=Math.max(0,(Ot-De*dt)/2-zt),Ke=`${_e}-icon-only`;return[{[`${_e}${fe}`]:{fontSize:De,height:Ot,padding:`${xe}px ${ke}px`,borderRadius:Ct,[`&${Ke}`]:{width:Ot,paddingInlineStart:0,paddingInlineEnd:0,[`&${_e}-round`]:{width:"auto"},[wt]:{fontSize:We.buttonIconOnlyFontSize}},[`&${_e}-loading`]:{opacity:We.opacityLoading,cursor:"default"},[`${_e}-loading-icon`]:{transition:`width ${We.motionDurationSlow} ${We.motionEaseInOut}, opacity ${We.motionDurationSlow} ${We.motionEaseInOut}`}}},{[`${_e}${_e}-circle${fe}`]:Fe(We)},{[`${_e}${_e}-round${fe}`]:Ft(We)}]},Ue=We=>et((0,F.TS)(We,{fontSize:We.contentFontSize})),ye=We=>{const fe=(0,F.TS)(We,{controlHeight:We.controlHeightSM,fontSize:We.contentFontSizeSM,padding:We.paddingXS,buttonPaddingHorizontal:We.paddingInlineSM,borderRadius:We.borderRadiusSM,buttonIconOnlyFontSize:We.onlyIconSizeSM});return et(fe,`${We.componentCls}-sm`)},Pe=We=>{const fe=(0,F.TS)(We,{controlHeight:We.controlHeightLG,fontSize:We.contentFontSizeLG,buttonPaddingHorizontal:We.paddingInlineLG,borderRadius:We.borderRadiusLG,buttonIconOnlyFontSize:We.onlyIconSizeLG});return et(fe,`${We.componentCls}-lg`)},Me=We=>{const{componentCls:fe}=We;return{[fe]:{[`&${fe}-block`]:{width:"100%"}}}},$e=We=>{const{paddingInline:fe,onlyIconSize:_e}=We;return(0,F.TS)(We,{buttonPaddingHorizontal:fe,buttonIconOnlyFontSize:_e})},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,M.Z)("Button",We=>{const fe=$e(We);return[Ie(fe),ye(fe),Ue(fe),Pe(fe),Me(fe),ht(fe),Se(fe)]},He),ct=e(74207);function Gt(We,fe){return{[`&-item:not(${fe}-last-item)`]:{marginBottom:-We.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Ht(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 Oe(We){const fe=`${We.componentCls}-compact-vertical`;return{[fe]:Object.assign(Object.assign({},Gt(We,fe)),Ht(We.componentCls,fe))}}var Je=(0,M.b)(["Button","compact"],We=>{const fe=$e(We);return[(0,ct.c)(fe),Oe(fe)]},He),Wt=function(We,fe){var _e={};for(var Ot in We)Object.prototype.hasOwnProperty.call(We,Ot)&&fe.indexOf(Ot)<0&&(_e[Ot]=We[Ot]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Ot=Object.getOwnPropertySymbols(We);De<Ot.length;De++)fe.indexOf(Ot[De])<0&&Object.prototype.propertyIsEnumerable.call(We,Ot[De])&&(_e[Ot[De]]=We[Ot[De]]);return _e};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 Bt=(We,fe)=>{var _e,Ot;const{loading:De=!1,prefixCls:dt,type:zt="default",danger:Ct,shape:ke="default",size:wt,styles:xe,disabled:Ke,className:gt,rootClassName:Lt,children:Be,icon:Dr,ghost:St=!1,block:Gr=!1,htmlType:Xr="button",classNames:Sr,style:Mr={}}=We,pr=Wt(We,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:$r,autoInsertSpaceInButton:nn,direction:on,button:sr}=(0,r.useContext)(h.E_),Mt=$r("btn",dt),[vt,yt]=nt(Mt),Nt=(0,r.useContext)(u.Z),Cr=Ke!=null?Ke:Nt,vr=(0,r.useContext)(_),ut=(0,r.useMemo)(()=>Zt(De),[De]),[Rr,_n]=(0,r.useState)(ut.loading),[Un,_r]=(0,r.useState)(!1),Jr=(0,r.createRef)(),dn=(0,f.sQ)(fe,Jr),Mn=r.Children.count(Be)===1&&!Dr&&!B(zt);(0,r.useEffect)(()=>{let hi=null;ut.delay>0?hi=setTimeout(()=>{hi=null,_n(!0)},ut.delay):_n(ut.loading);function ni(){hi&&(clearTimeout(hi),hi=null)}return ni},[ut]),(0,r.useEffect)(()=>{if(!dn||!dn.current||nn===!1)return;const hi=dn.current.textContent;Mn&&P(hi)?Un||_r(!0):Un&&_r(!1)},[dn]);const Jn=hi=>{const{onClick:ni}=We;if(Rr||Cr){hi.preventDefault();return}ni==null||ni(hi)},Nn=nn!==!1,{compactSize:Ui,compactItemClassnames:mi}=(0,x.ri)(Mt,on),bi={large:"lg",small:"sm",middle:void 0},vi=(0,a.Z)(hi=>{var ni,bn;return(bn=(ni=wt!=null?wt:Ui)!==null&&ni!==void 0?ni:vr)!==null&&bn!==void 0?bn:hi}),di=vi&&bi[vi]||"",Yi=Rr?"loading":Dr,Xn=(0,c.Z)(pr,["navigate"]),Vi=l()(Mt,yt,{[`${Mt}-${ke}`]:ke!=="default"&&ke,[`${Mt}-${zt}`]:zt,[`${Mt}-${di}`]:di,[`${Mt}-icon-only`]:!Be&&Be!==0&&!!Yi,[`${Mt}-background-ghost`]:St&&!B(zt),[`${Mt}-loading`]:Rr,[`${Mt}-two-chinese-chars`]:Un&&Nn&&!Rr,[`${Mt}-block`]:Gr,[`${Mt}-dangerous`]:!!Ct,[`${Mt}-rtl`]:on==="rtl"},mi,gt,Lt,sr==null?void 0:sr.className),Et=Object.assign(Object.assign({},sr==null?void 0:sr.style),Mr),lt=l()(Sr==null?void 0:Sr.icon,(_e=sr==null?void 0:sr.classNames)===null||_e===void 0?void 0:_e.icon),Qn=Object.assign(Object.assign({},(xe==null?void 0:xe.icon)||{}),((Ot=sr==null?void 0:sr.styles)===null||Ot===void 0?void 0:Ot.icon)||{}),xi=Dr&&!Rr?r.createElement(ae,{prefixCls:Mt,className:lt,style:Qn},Dr):r.createElement(ee,{existIcon:!!Dr,prefixCls:Mt,loading:!!Rr}),qn=Be||Be===0?j(Be,Mn&&Nn):null;if(Xn.href!==void 0)return vt(r.createElement("a",Object.assign({},Xn,{className:l()(Vi,{[`${Mt}-disabled`]:Cr}),style:Et,onClick:Jn,ref:dn}),xi,qn));let Wi=r.createElement("button",Object.assign({},pr,{type:Xr,className:Vi,style:Et,onClick:Jn,disabled:Cr,ref:dn}),xi,qn,mi&&r.createElement(Je,{key:"compact",prefixCls:Mt}));return B(zt)||(Wi=r.createElement(o.Z,{component:"Button",disabled:!!Rr},Wi)),vt(Wi)},At=(0,r.forwardRef)(Bt);At.Group=A,At.__ANT_BUTTON=!0;var Kt=At},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:o}=c;const h=r.useContext(i);return r.createElement(i.Provider,{value:o!=null?o: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:o}=c;const h=r.useContext(i);return r.createElement(i.Provider,{value:o||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=(o,h)=>h||(o?`ant-${o}`:"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 qt},w6:function(){return Pt}});var r=e(93083),i=e(18418),l=e(80547),c=e(24434),f=e(59301),o=e(28726),h=e(98044),u=e(41887);const a="internalMark";var p=Xe=>{const{locale:It={},children:Ut,_ANT_MARK__:ot}=Xe;f.useEffect(()=>(0,h.f)(It&&It.Modal),[It]);const bt=f.useMemo(()=>Object.assign(Object.assign({},It),{exist:!0}),[It]);return f.createElement(u.Z.Provider,{value:bt},Ut)},y=e(31724),_=e(45246),b=e(34117),A=e(36355),R=e(93398),L=e(64993),P=e(47273),D=e(810);const B=`-ant-${Date.now()}-${Math.random()}`;function $(Xe,It){const Ut={},ot=(et,Ue)=>{let ye=et.clone();return ye=(Ue==null?void 0:Ue(ye))||ye,ye.toRgbString()},bt=(et,Ue)=>{const ye=new L.C(et),Pe=(0,R.generate)(ye.toRgbString());Ut[`${Ue}-color`]=ot(ye),Ut[`${Ue}-color-disabled`]=Pe[1],Ut[`${Ue}-color-hover`]=Pe[4],Ut[`${Ue}-color-active`]=Pe[6],Ut[`${Ue}-color-outline`]=ye.clone().setAlpha(.2).toRgbString(),Ut[`${Ue}-color-deprecated-bg`]=Pe[0],Ut[`${Ue}-color-deprecated-border`]=Pe[2]};if(It.primaryColor){bt(It.primaryColor,"primary");const et=new L.C(It.primaryColor),Ue=(0,R.generate)(et.toRgbString());Ue.forEach((Pe,Me)=>{Ut[`primary-${Me+1}`]=Pe}),Ut["primary-color-deprecated-l-35"]=ot(et,Pe=>Pe.lighten(35)),Ut["primary-color-deprecated-l-20"]=ot(et,Pe=>Pe.lighten(20)),Ut["primary-color-deprecated-t-20"]=ot(et,Pe=>Pe.tint(20)),Ut["primary-color-deprecated-t-50"]=ot(et,Pe=>Pe.tint(50)),Ut["primary-color-deprecated-f-12"]=ot(et,Pe=>Pe.setAlpha(Pe.getAlpha()*.12));const ye=new L.C(Ue[0]);Ut["primary-color-active-deprecated-f-30"]=ot(ye,Pe=>Pe.setAlpha(Pe.getAlpha()*.3)),Ut["primary-color-active-deprecated-d-02"]=ot(ye,Pe=>Pe.darken(2))}return It.successColor&&bt(It.successColor,"success"),It.warningColor&&bt(It.warningColor,"warning"),It.errorColor&&bt(It.errorColor,"error"),It.infoColor&&bt(It.infoColor,"info"),`
|
|
|
:root {
|
|
|
${Object.keys(Ut).map(et=>`--${Xe}-${et}: ${Ut[et]};`).join(`
|
|
|
`)}
|
|
|
}
|
|
|
`.trim()}function j(Xe,It){const Ut=$(Xe,It);(0,P.Z)()&&(0,D.hq)(Ut,`${B}-dynamic-theme`)}var K=e(1684),V=e(52946);function W(){const Xe=(0,f.useContext)(K.Z),It=(0,f.useContext)(V.Z);return{componentDisabled:Xe,componentSize:It}}var oe=W,ae=e(13697);function ce(Xe,It){const Ut=Xe||{},ot=Ut.inherit===!1||!It?_.u_:It;return(0,l.Z)(()=>{if(!Xe)return It;const bt=Object.assign({},ot.components);return Object.keys(Xe.components||{}).forEach(ht=>{bt[ht]=Object.assign(Object.assign({},bt[ht]),Xe.components[ht])}),Object.assign(Object.assign(Object.assign({},ot),Ut),{token:Object.assign(Object.assign({},ot.token),Ut.token),components:bt})},[Ut,ot],(bt,ht)=>bt.some((et,Ue)=>{const ye=ht[Ue];return!(0,ae.Z)(et,ye,!0)}))}var q=e(77900),J=e(88088);function Y(Xe){const{children:It}=Xe,[,Ut]=(0,J.Z)(),{motion:ot}=Ut,bt=f.useRef(!1);return bt.current=bt.current||ot===!1,bt.current?f.createElement(q.Provider,{motion:ot},It):It}var le=e(73040),ne=function(Xe,It){var Ut={};for(var ot in Xe)Object.prototype.hasOwnProperty.call(Xe,ot)&&It.indexOf(ot)<0&&(Ut[ot]=Xe[ot]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,ot=Object.getOwnPropertySymbols(Xe);bt<ot.length;bt++)It.indexOf(ot[bt])<0&&Object.prototype.propertyIsEnumerable.call(Xe,ot[bt])&&(Ut[ot[bt]]=Xe[ot[bt]]);return Ut};let ee=!1;const ie=null,F=null,M=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],Q="ant";let de,Se,Ie;function je(){return de||Q}function Fe(){return Se||A.oR}function Ft(Xe){return Object.keys(Xe).some(It=>It.endsWith("Color"))}const _t=Xe=>{let{prefixCls:It,iconPrefixCls:Ut,theme:ot}=Xe;It!==void 0&&(de=It),Ut!==void 0&&(Se=Ut),ot&&(Ft(ot)?j(je(),ot):Ie=ot)},Pt=()=>({getPrefixCls:(Xe,It)=>It||(Xe?`${je()}-${Xe}`:je()),getIconPrefixCls:Fe,getRootPrefixCls:()=>de||je(),getTheme:()=>Ie}),Qt=Xe=>{const{children:It,csp:Ut,autoInsertSpaceInButton:ot,alert:bt,anchor:ht,form:et,locale:Ue,componentSize:ye,direction:Pe,space:Me,virtual:$e,dropdownMatchSelectWidth:He,popupMatchSelectWidth:nt,popupOverflow:ct,legacyLocale:Gt,parentContext:Ht,iconPrefixCls:Oe,theme:Je,componentDisabled:Wt,segmented:kt,statistic:Zt,spin:Bt,calendar:At,carousel:Kt,cascader:We,collapse:fe,typography:_e,checkbox:Ot,descriptions:De,divider:dt,drawer:zt,skeleton:Ct,steps:ke,image:wt,layout:xe,list:Ke,mentions:gt,modal:Lt,progress:Be,result:Dr,slider:St,breadcrumb:Gr,menu:Xr,pagination:Sr,input:Mr,empty:pr,badge:$r,radio:nn,rate:on,switch:sr,transfer:Mt,avatar:vt,message:yt,tag:Nt,table:Cr,card:vr,tabs:ut,timeline:Rr,timePicker:_n,upload:Un,notification:_r,tree:Jr,colorPicker:dn,datePicker:Mn,wave:Jn}=Xe,Nn=f.useCallback((qn,Wi)=>{const{prefixCls:hi}=Xe;if(Wi)return Wi;const ni=hi||Ht.getPrefixCls("");return qn?`${ni}-${qn}`:ni},[Ht.getPrefixCls,Xe.prefixCls]),Ui=Oe||Ht.iconPrefixCls||A.oR,mi=Ui!==Ht.iconPrefixCls,bi=Ut||Ht.csp,vi=(0,le.Z)(Ui,bi),di=ce(Je,Ht.theme),Yi={csp:bi,autoInsertSpaceInButton:ot,alert:bt,anchor:ht,locale:Ue||Gt,direction:Pe,space:Me,virtual:$e,popupMatchSelectWidth:nt!=null?nt:He,popupOverflow:ct,getPrefixCls:Nn,iconPrefixCls:Ui,theme:di,segmented:kt,statistic:Zt,spin:Bt,calendar:At,carousel:Kt,cascader:We,collapse:fe,typography:_e,checkbox:Ot,descriptions:De,divider:dt,drawer:zt,skeleton:Ct,steps:ke,image:wt,input:Mr,layout:xe,list:Ke,mentions:gt,modal:Lt,progress:Be,result:Dr,slider:St,breadcrumb:Gr,menu:Xr,pagination:Sr,empty:pr,badge:$r,radio:nn,rate:on,switch:sr,transfer:Mt,avatar:vt,message:yt,tag:Nt,table:Cr,card:vr,tabs:ut,timeline:Rr,timePicker:_n,upload:Un,notification:_r,tree:Jr,colorPicker:dn,datePicker:Mn,wave:Jn},Xn=Object.assign({},Ht);Object.keys(Yi).forEach(qn=>{Yi[qn]!==void 0&&(Xn[qn]=Yi[qn])}),M.forEach(qn=>{const Wi=Xe[qn];Wi&&(Xn[qn]=Wi)});const Vi=(0,l.Z)(()=>Xn,Xn,(qn,Wi)=>{const hi=Object.keys(qn),ni=Object.keys(Wi);return hi.length!==ni.length||hi.some(bn=>qn[bn]!==Wi[bn])}),Et=f.useMemo(()=>({prefixCls:Ui,csp:bi}),[Ui,bi]);let lt=mi?vi(It):It;const Qn=f.useMemo(()=>{var qn,Wi,hi,ni;return(0,c.T)(((qn=y.Z.Form)===null||qn===void 0?void 0:qn.defaultValidateMessages)||{},((hi=(Wi=Vi.locale)===null||Wi===void 0?void 0:Wi.Form)===null||hi===void 0?void 0:hi.defaultValidateMessages)||{},((ni=Vi.form)===null||ni===void 0?void 0:ni.validateMessages)||{},(et==null?void 0:et.validateMessages)||{})},[Vi,et==null?void 0:et.validateMessages]);Object.keys(Qn).length>0&&(lt=f.createElement(o.Z.Provider,{value:Qn},It)),Ue&&(lt=f.createElement(p,{locale:Ue,_ANT_MARK__:a},lt)),(Ui||bi)&&(lt=f.createElement(i.Z.Provider,{value:Et},lt)),ye&&(lt=f.createElement(V.q,{size:ye},lt)),lt=f.createElement(Y,null,lt);const xi=f.useMemo(()=>{const qn=di||{},{algorithm:Wi,token:hi,components:ni}=qn,bn=ne(qn,["algorithm","token","components"]),tr=Wi&&(!Array.isArray(Wi)||Wi.length>0)?(0,r.createTheme)(Wi):_.uH,mt={};return Object.entries(ni||{}).forEach(rt=>{let[Dt,pt]=rt;const ur=Object.assign({},pt);"algorithm"in ur&&(ur.algorithm===!0?ur.theme=tr:(Array.isArray(ur.algorithm)||typeof ur.algorithm=="function")&&(ur.theme=(0,r.createTheme)(ur.algorithm)),delete ur.algorithm),mt[Dt]=ur}),Object.assign(Object.assign({},bn),{theme:tr,token:Object.assign(Object.assign({},b.Z),hi),components:mt})},[di]);return Je&&(lt=f.createElement(_.Mj.Provider,{value:xi},lt)),Wt!==void 0&&(lt=f.createElement(K.n,{disabled:Wt},lt)),f.createElement(A.E_.Provider,{value:Vi},lt)},Jt=Xe=>{const It=f.useContext(A.E_),Ut=f.useContext(u.Z);return f.createElement(Qt,Object.assign({parentContext:It,legacyLocale:Ut},Xe))};Jt.ConfigContext=A.E_,Jt.SizeContext=V.Z,Jt.config=_t,Jt.useConfig=oe,Object.defineProperty(Jt,"SizeContext",{get:()=>V.Z});var qt=Jt},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 o},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),o=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),A=(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:A},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),o=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 A=0,b=Object.getOwnPropertySymbols(p);A<b.length;A++)y.indexOf(b[A])<0&&Object.prototype.propertyIsEnumerable.call(p,b[A])&&(_[b[A]]=p[b[A]]);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:A,wrap:R}=r.useContext(f.Z),{prefixCls:L,span:P,order:D,offset:B,push:$,pull:j,className:K,children:V,flex:W,style:oe}=p,ae=h(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),ce=_("col",L),[q,J]=(0,o.c)(ce);let Y={};a.forEach(ee=>{let ie={};const F=p[ee];typeof F=="number"?ie.span=F:typeof F=="object"&&(ie=F||{}),delete ae[ee],Y=Object.assign(Object.assign({},Y),{[`${ce}-${ee}-${ie.span}`]:ie.span!==void 0,[`${ce}-${ee}-order-${ie.order}`]:ie.order||ie.order===0,[`${ce}-${ee}-offset-${ie.offset}`]:ie.offset||ie.offset===0,[`${ce}-${ee}-push-${ie.push}`]:ie.push||ie.push===0,[`${ce}-${ee}-pull-${ie.pull}`]:ie.pull||ie.pull===0,[`${ce}-${ee}-flex-${ie.flex}`]:ie.flex||ie.flex==="auto",[`${ce}-rtl`]:b==="rtl"})});const le=l()(ce,{[`${ce}-${P}`]:P!==void 0,[`${ce}-order-${D}`]:D,[`${ce}-offset-${B}`]:B,[`${ce}-push-${$}`]:$,[`${ce}-pull-${j}`]:j},K,Y,J),ne={};if(A&&A[0]>0){const ee=A[0]/2;ne.paddingLeft=ee,ne.paddingRight=ee}return W&&(ne.flex=u(W),R===!1&&!ne.minWidth&&(ne.minWidth=0)),q(r.createElement("div",Object.assign({},ae,{style:Object.assign(Object.assign({},ne),oe),className:le,ref:y}),V))});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),o=e(6700),h=e(98242),u=function(_,b){var A={};for(var R in _)Object.prototype.hasOwnProperty.call(_,R)&&b.indexOf(R)<0&&(A[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])&&(A[R[L]]=_[R[L]]);return A};const a=null,x=null;function p(_,b){const[A,R]=r.useState(typeof _=="string"?_:""),L=()=>{if(typeof _=="string"&&R(_),typeof _=="object")for(let P=0;P<c.c4.length;P++){const D=c.c4[P];if(!b[D])continue;const B=_[D];if(B!==void 0){R(B);return}}};return r.useEffect(()=>{L()},[JSON.stringify(_),b]),A}const y=r.forwardRef((_,b)=>{const{prefixCls:A,justify:R,align:L,className:P,style:D,children:B,gutter:$=0,wrap:j}=_,K=u(_,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:V,direction:W}=r.useContext(f.E_),[oe,ae]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[ce,q]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),J=p(L,ce),Y=p(R,ce),le=r.useRef($),ne=(0,c.ZP)();r.useEffect(()=>{const _t=ne.subscribe(Pt=>{q(Pt);const Qt=le.current||0;(!Array.isArray(Qt)&&typeof Qt=="object"||Array.isArray(Qt)&&(typeof Qt[0]=="object"||typeof Qt[1]=="object"))&&ae(Pt)});return()=>ne.unsubscribe(_t)},[]);const ee=()=>{const _t=[void 0,void 0];return(Array.isArray($)?$:[$,void 0]).forEach((Qt,Jt)=>{if(typeof Qt=="object")for(let qt=0;qt<c.c4.length;qt++){const Xe=c.c4[qt];if(oe[Xe]&&Qt[Xe]!==void 0){_t[Jt]=Qt[Xe];break}}else _t[Jt]=Qt}),_t},ie=V("row",A),[F,M]=(0,h.V)(ie),Q=ee(),de=l()(ie,{[`${ie}-no-wrap`]:j===!1,[`${ie}-${Y}`]:Y,[`${ie}-${J}`]:J,[`${ie}-rtl`]:W==="rtl"},P,M),Se={},Ie=Q[0]!=null&&Q[0]>0?Q[0]/-2:void 0;Ie&&(Se.marginLeft=Ie,Se.marginRight=Ie),[,Se.rowGap]=Q;const[je,Fe]=Q,Ft=r.useMemo(()=>({gutter:[je,Fe],wrap:j}),[je,Fe,j]);return F(r.createElement(o.Z.Provider,{value:Ft},r.createElement("div",Object.assign({},K,{className:de,style:Object.assign(Object.assign({},Se),D),ref:b}),B)))});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 A=_;A>=0;A--)A===0?(b[`${y}${p}-${A}`]={display:"none"},b[`${y}-push-${A}`]={insetInlineStart:"auto"},b[`${y}-pull-${A}`]={insetInlineEnd:"auto"},b[`${y}${p}-push-${A}`]={insetInlineStart:"auto"},b[`${y}${p}-pull-${A}`]={insetInlineEnd:"auto"},b[`${y}${p}-offset-${A}`]={marginInlineStart:0},b[`${y}${p}-order-${A}`]={order:0}):(b[`${y}${p}-${A}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${A/_*100}%`,maxWidth:`${A/_*100}%`}],b[`${y}${p}-push-${A}`]={insetInlineStart:`${A/_*100}%`},b[`${y}${p}-pull-${A}`]={insetInlineEnd:`${A/_*100}%`},b[`${y}${p}-offset-${A}`]={marginInlineStart:`${A/_*100}%`},b[`${y}${p}-order-${A}`]={order:A});return b},o=(x,p)=>f(x,p),h=(x,p,y)=>({[`@media (min-width: ${p}px)`]:Object.assign({},o(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),o(p,""),o(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,o)=>{const h=r.useContext(i.Z),u=r.useMemo(()=>{var x;const p=o||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,o,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 o={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)};o.lang.ok="\u786E\u5B9A";var h=o,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 bt}});var r=e(80702),i=e(59301),l=e(1585),c=e(92736),f=e(29679),o=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),A=e(17313),R=e(83116),L=e(37613);const P=ht=>{const{componentCls:et,iconCls:Ue,boxShadow:ye,colorText:Pe,colorSuccess:Me,colorError:$e,colorWarning:He,colorInfo:nt,fontSizeLG:ct,motionEaseInOutCirc:Gt,motionDurationSlow:Ht,marginXS:Oe,paddingXS:Je,borderRadiusLG:Wt,zIndexPopup:kt,contentPadding:Zt,contentBg:Bt}=ht,At=`${et}-notice`,Kt=new b.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:Je,transform:"translateY(0)",opacity:1}}),We=new b.Keyframes("MessageMoveOut",{"0%":{maxHeight:ht.height,padding:Je,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),fe={padding:Je,textAlign:"center",[`${et}-custom-content > ${Ue}`]:{verticalAlign:"text-bottom",marginInlineEnd:Oe,fontSize:ct},[`${At}-content`]:{display:"inline-block",padding:Zt,background:Bt,borderRadius:Wt,boxShadow:ye,pointerEvents:"all"},[`${et}-success > ${Ue}`]:{color:Me},[`${et}-error > ${Ue}`]:{color:$e},[`${et}-warning > ${Ue}`]:{color:He},[`${et}-info > ${Ue},
|
|
|
${et}-loading > ${Ue}`]:{color:nt}};return[{[et]:Object.assign(Object.assign({},(0,A.Wf)(ht)),{color:Pe,position:"fixed",top:Oe,width:"100%",pointerEvents:"none",zIndex:kt,[`${et}-move-up`]:{animationFillMode:"forwards"},[`
|
|
|
${et}-move-up-appear,
|
|
|
${et}-move-up-enter
|
|
|
`]:{animationName:Kt,animationDuration:Ht,animationPlayState:"paused",animationTimingFunction:Gt},[`
|
|
|
${et}-move-up-appear${et}-move-up-appear-active,
|
|
|
${et}-move-up-enter${et}-move-up-enter-active
|
|
|
`]:{animationPlayState:"running"},[`${et}-move-up-leave`]:{animationName:We,animationDuration:Ht,animationPlayState:"paused",animationTimingFunction:Gt},[`${et}-move-up-leave${et}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[et]:{[At]:Object.assign({},fe)}},{[`${et}-notice-pure-panel`]:Object.assign(Object.assign({},fe),{padding:0,textAlign:"start"})}]};var D=(0,R.Z)("Message",ht=>{const et=(0,L.TS)(ht,{height:150});return[P(et)]},ht=>({zIndexPopup:ht.zIndexPopupBase+10,contentBg:ht.colorBgElevated,contentPadding:`${(ht.controlHeightLG-ht.fontSize*ht.lineHeight)/2}px ${ht.paddingSM}px`})),B=function(ht,et){var Ue={};for(var ye in ht)Object.prototype.hasOwnProperty.call(ht,ye)&&et.indexOf(ye)<0&&(Ue[ye]=ht[ye]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,ye=Object.getOwnPropertySymbols(ht);Pe<ye.length;Pe++)et.indexOf(ye[Pe])<0&&Object.prototype.propertyIsEnumerable.call(ht,ye[Pe])&&(Ue[ye[Pe]]=ht[ye[Pe]]);return Ue};const $={info:i.createElement(u.Z,null),success:i.createElement(f.Z,null),error:i.createElement(o.Z,null),warning:i.createElement(h.Z,null),loading:i.createElement(a.Z,null)},j=ht=>{let{prefixCls:et,type:Ue,icon:ye,children:Pe}=ht;return i.createElement("div",{className:p()(`${et}-custom-content`,`${et}-${Ue}`)},ye||$[Ue],i.createElement("span",null,Pe))};var V=ht=>{const{prefixCls:et,className:Ue,type:ye,icon:Pe,content:Me}=ht,$e=B(ht,["prefixCls","className","type","icon","content"]),{getPrefixCls:He}=i.useContext(_.E_),nt=et||He("message"),[,ct]=D(nt);return i.createElement(y.qX,Object.assign({},$e,{prefixCls:nt,className:p()(Ue,ct,`${nt}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(j,{prefixCls:nt,type:ye,icon:Pe},Me)}))},W=e(99267);function oe(ht,et){return{motionName:et!=null?et:`${ht}-move-up`}}function ae(ht){let et;const Ue=new Promise(Pe=>{et=ht(()=>{Pe(!0)})}),ye=()=>{et==null||et()};return ye.then=(Pe,Me)=>Ue.then(Pe,Me),ye.promise=Ue,ye}var ce=function(ht,et){var Ue={};for(var ye in ht)Object.prototype.hasOwnProperty.call(ht,ye)&&et.indexOf(ye)<0&&(Ue[ye]=ht[ye]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,ye=Object.getOwnPropertySymbols(ht);Pe<ye.length;Pe++)et.indexOf(ye[Pe])<0&&Object.prototype.propertyIsEnumerable.call(ht,ye[Pe])&&(Ue[ye[Pe]]=ht[ye[Pe]]);return Ue};const q=8,J=3,Y=ht=>{let{children:et,prefixCls:Ue}=ht;const[,ye]=D(Ue);return i.createElement(y.JB,{classNames:{list:ye,notice:ye}},et)},le=(ht,et)=>{let{prefixCls:Ue,key:ye}=et;return i.createElement(Y,{prefixCls:Ue,key:ye},ht)},ne=i.forwardRef((ht,et)=>{const{top:Ue,prefixCls:ye,getContainer:Pe,maxCount:Me,duration:$e=J,rtl:He,transitionName:nt,onAllRemoved:ct}=ht,{getPrefixCls:Gt,getPopupContainer:Ht,message:Oe}=i.useContext(_.E_),Je=ye||Gt("message"),Wt=()=>({left:"50%",transform:"translateX(-50%)",top:Ue!=null?Ue:q}),kt=()=>p()({[`${Je}-rtl`]:He}),Zt=()=>oe(Je,nt),Bt=i.createElement("span",{className:`${Je}-close-x`},i.createElement(W.Z,{className:`${Je}-close-icon`})),[At,Kt]=(0,y.lm)({prefixCls:Je,style:Wt,className:kt,motion:Zt,closable:!1,closeIcon:Bt,duration:$e,getContainer:()=>(Pe==null?void 0:Pe())||(Ht==null?void 0:Ht())||document.body,maxCount:Me,onAllRemoved:ct,renderNotifications:le});return i.useImperativeHandle(et,()=>Object.assign(Object.assign({},At),{prefixCls:Je,message:Oe})),Kt});let ee=0;function ie(ht){const et=i.useRef(null);return[i.useMemo(()=>{const ye=nt=>{var ct;(ct=et.current)===null||ct===void 0||ct.close(nt)},Pe=nt=>{if(!et.current){const _e=()=>{};return _e.then=()=>{},_e}const{open:ct,prefixCls:Gt,message:Ht}=et.current,Oe=`${Gt}-notice`,{content:Je,icon:Wt,type:kt,key:Zt,className:Bt,style:At,onClose:Kt}=nt,We=ce(nt,["content","icon","type","key","className","style","onClose"]);let fe=Zt;return fe==null&&(ee+=1,fe=`antd-message-${ee}`),ae(_e=>(ct(Object.assign(Object.assign({},We),{key:fe,content:i.createElement(j,{prefixCls:Gt,type:kt,icon:Wt},Je),placement:"top",className:p()(kt&&`${Oe}-${kt}`,Bt,Ht==null?void 0:Ht.className),style:Object.assign(Object.assign({},Ht==null?void 0:Ht.style),At),onClose:()=>{Kt==null||Kt(),_e()}})),()=>{ye(fe)}))},$e={open:Pe,destroy:nt=>{var ct;nt!==void 0?ye(nt):(ct=et.current)===null||ct===void 0||ct.destroy()}};return["info","success","warning","error","loading"].forEach(nt=>{const ct=(Gt,Ht,Oe)=>{let Je;Gt&&typeof Gt=="object"&&"content"in Gt?Je=Gt:Je={content:Gt};let Wt,kt;typeof Ht=="function"?kt=Ht:(Wt=Ht,kt=Oe);const Zt=Object.assign(Object.assign({onClose:kt,duration:Wt},Je),{type:nt});return Pe(Zt)};$e[nt]=ct}),$e},[]),i.createElement(ne,Object.assign({key:"message-holder"},ht,{ref:et}))]}function F(ht){return ie(ht)}let M=null,Q=ht=>ht(),de=[],Se={};function Ie(){const{prefixCls:ht,getContainer:et,duration:Ue,rtl:ye,maxCount:Pe,top:Me}=Se,$e=ht!=null?ht:(0,c.w6)().getPrefixCls("message"),He=(et==null?void 0:et())||document.body;return{prefixCls:$e,getContainer:()=>He,duration:Ue,rtl:ye,maxCount:Pe,top:Me}}const je=i.forwardRef((ht,et)=>{const[Ue,ye]=i.useState(Ie),[Pe,Me]=ie(Ue),$e=(0,c.w6)(),He=$e.getRootPrefixCls(),nt=$e.getIconPrefixCls(),ct=$e.getTheme(),Gt=()=>{ye(Ie)};return i.useEffect(Gt,[]),i.useImperativeHandle(et,()=>{const Ht=Object.assign({},Pe);return Object.keys(Ht).forEach(Oe=>{Ht[Oe]=function(){return Gt(),Pe[Oe].apply(Pe,arguments)}}),{instance:Ht,sync:Gt}}),i.createElement(c.ZP,{prefixCls:He,iconPrefixCls:nt,theme:ct},Me)});function Fe(){if(!M){const ht=document.createDocumentFragment(),et={fragment:ht};M=et,Q(()=>{(0,l.s)(i.createElement(je,{ref:Ue=>{const{instance:ye,sync:Pe}=Ue||{};Promise.resolve().then(()=>{!et.instance&&ye&&(et.instance=ye,et.sync=Pe,Fe())})}}),ht)});return}M.instance&&(de.forEach(ht=>{const{type:et,skipped:Ue}=ht;if(!Ue)switch(et){case"open":{Q(()=>{const ye=M.instance.open(Object.assign(Object.assign({},Se),ht.config));ye==null||ye.then(ht.resolve),ht.setCloseFn(ye)});break}case"destroy":Q(()=>{M==null||M.instance.destroy(ht.key)});break;default:Q(()=>{var ye;const Pe=(ye=M.instance)[et].apply(ye,(0,r.Z)(ht.args));Pe==null||Pe.then(ht.resolve),ht.setCloseFn(Pe)})}}),de=[])}function Ft(ht){Se=Object.assign(Object.assign({},Se),ht),Q(()=>{var et;(et=M==null?void 0:M.sync)===null||et===void 0||et.call(M)})}function _t(ht){const et=ae(Ue=>{let ye;const Pe={type:"open",config:ht,resolve:Ue,setCloseFn:Me=>{ye=Me}};return de.push(Pe),()=>{ye?Q(()=>{ye()}):Pe.skipped=!0}});return Fe(),et}function Pt(ht,et){const Ue=ae(ye=>{let Pe;const Me={type:ht,args:et,resolve:ye,setCloseFn:$e=>{Pe=$e}};return de.push(Me),()=>{Pe?Q(()=>{Pe()}):Me.skipped=!0}});return Fe(),Ue}function Qt(ht){de.push({type:"destroy",key:ht}),Fe()}const Jt=["success","info","warning","error","loading"],Xe={open:_t,destroy:Qt,config:Ft,useMessage:F,_InternalPanelDoNotUseOrYouWillBeFired:V};Jt.forEach(ht=>{Xe[ht]=function(){for(var et=arguments.length,Ue=new Array(et),ye=0;ye<et;ye++)Ue[ye]=arguments[ye];return Pt(ht,Ue)}});const It=()=>{};let Ut=null,ot=null;var bt=Xe},43418:function(d,g,e){"use strict";e.d(g,{default:function(){return dt}});var r=e(80702),i=e(1585),l=e(59301),c=e(92736),f=e(29679),o=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:A}=b;var L=()=>{const{autoFocusButton:zt,cancelButtonProps:Ct,cancelTextLocale:ke,isSilent:wt,mergedOkCancel:xe,rootPrefixCls:Ke,close:gt,onCancel:Lt,onConfirm:Be}=(0,l.useContext)(b);return xe?l.createElement(_.Z,{isSilent:wt,actionFn:Lt,close:function(){gt==null||gt.apply(void 0,arguments),Be==null||Be(!1)},autoFocus:zt==="cancel",buttonProps:Ct,prefixCls:`${Ke}-btn`},ke):null},D=()=>{const{autoFocusButton:zt,close:Ct,isSilent:ke,okButtonProps:wt,rootPrefixCls:xe,okTextLocale:Ke,okType:gt,onConfirm:Lt,onOk:Be}=(0,l.useContext)(b);return l.createElement(_.Z,{isSilent:ke,type:gt||"primary",actionFn:Be,close:function(){Ct==null||Ct.apply(void 0,arguments),Lt==null||Lt(!0)},autoFocus:zt==="ok",buttonProps:wt,prefixCls:`${xe}-btn`},Ke)},B=e(99267),$=e(86923),j=e(47729),K=e(47273);const V=()=>(0,K.Z)()&&window.document.documentElement;var W=e(36355),oe=e(32441),ae=e(33234),ce=e(11575),q=e(1684),J=e(3113),le=()=>{const{cancelButtonProps:zt,cancelTextLocale:Ct,onCancel:ke}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({onClick:ke},zt),Ct)},ne=e(67797),ie=()=>{const{confirmLoading:zt,okButtonProps:Ct,okType:ke,okTextLocale:wt,onOk:xe}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({},(0,ne.n)(ke),{loading:zt,onClick:xe},Ct),wt)},F=e(98044);function M(zt,Ct){return l.createElement("span",{className:`${zt}-close-x`},Ct||l.createElement(B.Z,{className:`${zt}-close-icon`}))}const Q=zt=>{const{okText:Ct,okType:ke="primary",cancelText:wt,confirmLoading:xe,onOk:Ke,onCancel:gt,okButtonProps:Lt,cancelButtonProps:Be,footer:Dr}=zt,[St]=(0,y.Z)("Modal",(0,F.A)()),Gr=Ct||(St==null?void 0:St.okText),Xr=wt||(St==null?void 0:St.cancelText),Sr={confirmLoading:xe,okButtonProps:Lt,cancelButtonProps:Be,okTextLocale:Gr,cancelTextLocale:Xr,okType:ke,onOk:Ke,onCancel:gt},Mr=l.useMemo(()=>Sr,(0,r.Z)(Object.values(Sr)));let pr;return typeof Dr=="function"||typeof Dr=="undefined"?(pr=l.createElement(A,{value:Mr},l.createElement(le,null),l.createElement(ie,null)),typeof Dr=="function"&&(pr=Dr(pr,{OkBtn:ie,CancelBtn:le}))):pr=Dr,l.createElement(q.n,{disabled:!1},pr)};var de=e(73819),Se=function(zt,Ct){var ke={};for(var wt in zt)Object.prototype.hasOwnProperty.call(zt,wt)&&Ct.indexOf(wt)<0&&(ke[wt]=zt[wt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,wt=Object.getOwnPropertySymbols(zt);xe<wt.length;xe++)Ct.indexOf(wt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[xe])&&(ke[wt[xe]]=zt[wt[xe]]);return ke};let Ie;const je=zt=>{Ie={x:zt.pageX,y:zt.pageY},setTimeout(()=>{Ie=null},100)};V()&&document.documentElement.addEventListener("click",je,!0);var Ft=zt=>{var Ct;const{getPopupContainer:ke,getPrefixCls:wt,direction:xe,modal:Ke}=l.useContext(W.E_),gt=dn=>{const{onCancel:Mn}=zt;Mn==null||Mn(dn)},Lt=dn=>{const{onOk:Mn}=zt;Mn==null||Mn(dn)},{prefixCls:Be,className:Dr,rootClassName:St,open:Gr,wrapClassName:Xr,centered:Sr,getContainer:Mr,closeIcon:pr,closable:$r,focusTriggerAfterClose:nn=!0,style:on,visible:sr,width:Mt=520,footer:vt}=zt,yt=Se(zt,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),Nt=wt("modal",Be),Cr=wt(),[vr,ut]=(0,de.ZP)(Nt),Rr=x()(Xr,{[`${Nt}-centered`]:!!Sr,[`${Nt}-wrap-rtl`]:xe==="rtl"}),_n=vt!==null&&l.createElement(Q,Object.assign({},zt,{onOk:Lt,onCancel:gt})),[Un,_r]=(0,j.Z)($r,pr,dn=>M(Nt,dn),l.createElement(B.Z,{className:`${Nt}-close-icon`}),!0),Jr=(0,ce.H)(`.${Nt}-content`);return vr(l.createElement(ae.BR,null,l.createElement(oe.Ux,{status:!0,override:!0},l.createElement($.Z,Object.assign({width:Mt},yt,{getContainer:Mr===void 0?ke:Mr,prefixCls:Nt,rootClassName:x()(ut,St),wrapClassName:Rr,footer:_n,visible:Gr!=null?Gr:sr,mousePosition:(Ct=yt.mousePosition)!==null&&Ct!==void 0?Ct:Ie,onClose:gt,closable:Un,closeIcon:_r,focusTriggerAfterClose:nn,transitionName:(0,p.m)(Cr,"zoom",zt.transitionName),maskTransitionName:(0,p.m)(Cr,"fade",zt.maskTransitionName),className:x()(ut,Dr,Ke==null?void 0:Ke.className),style:Object.assign(Object.assign({},Ke==null?void 0:Ke.style),on),panelRef:Jr})))))},_t=e(17313),Pt=e(83116);const Qt=zt=>{const{componentCls:Ct,titleFontSize:ke,titleLineHeight:wt,modalConfirmIconSize:xe,fontSize:Ke,lineHeight:gt}=zt,Lt=`${Ct}-confirm`,Be=Math.round(ke*wt),Dr=Math.round(Ke*gt);return{[Lt]:{"&-rtl":{direction:"rtl"},[`${zt.antCls}-modal-header`]:{display:"none"},[`${Lt}-body-wrapper`]:Object.assign({},(0,_t.dF)()),[`${Lt}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${zt.iconCls}`]:{flex:"none",fontSize:xe,marginInlineEnd:zt.marginSM,marginTop:(Dr-xe)/2},[`&-has-title > ${zt.iconCls}`]:{marginTop:(Be-xe)/2}},[`${Lt}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:zt.marginXS},[`${Lt}-title`]:{color:zt.colorTextHeading,fontWeight:zt.fontWeightStrong,fontSize:ke,lineHeight:wt},[`${Lt}-content`]:{color:zt.colorText,fontSize:Ke,lineHeight:gt},[`${Lt}-btns`]:{textAlign:"end",marginTop:zt.marginSM,[`${zt.antCls}-btn + ${zt.antCls}-btn`]:{marginBottom:0,marginInlineStart:zt.marginXS}}},[`${Lt}-error ${Lt}-body > ${zt.iconCls}`]:{color:zt.colorError},[`${Lt}-warning ${Lt}-body > ${zt.iconCls},
|
|
|
${Lt}-confirm ${Lt}-body > ${zt.iconCls}`]:{color:zt.colorWarning},[`${Lt}-info ${Lt}-body > ${zt.iconCls}`]:{color:zt.colorInfo},[`${Lt}-success ${Lt}-body > ${zt.iconCls}`]:{color:zt.colorSuccess}}};var Jt=(0,Pt.b)(["Modal","confirm"],zt=>{const Ct=(0,de.B4)(zt);return[Qt(Ct)]},de.eh,{order:-1e3}),qt=function(zt,Ct){var ke={};for(var wt in zt)Object.prototype.hasOwnProperty.call(zt,wt)&&Ct.indexOf(wt)<0&&(ke[wt]=zt[wt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,wt=Object.getOwnPropertySymbols(zt);xe<wt.length;xe++)Ct.indexOf(wt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[xe])&&(ke[wt[xe]]=zt[wt[xe]]);return ke};function Xe(zt){const{prefixCls:Ct,icon:ke,okText:wt,cancelText:xe,confirmPrefixCls:Ke,type:gt,okCancel:Lt,footer:Be,locale:Dr}=zt,St=qt(zt,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Gr=ke;if(!ke&&ke!==null)switch(gt){case"info":Gr=l.createElement(u.Z,null);break;case"success":Gr=l.createElement(f.Z,null);break;case"error":Gr=l.createElement(o.Z,null);break;default:Gr=l.createElement(h.Z,null)}const Xr=Lt!=null?Lt:gt==="confirm",Sr=zt.autoFocusButton===null?!1:zt.autoFocusButton||"ok",[Mr]=(0,y.Z)("Modal"),pr=Dr||Mr,$r=wt||(Xr?pr==null?void 0:pr.okText:pr==null?void 0:pr.justOkText),nn=xe||(pr==null?void 0:pr.cancelText),on=Object.assign({autoFocusButton:Sr,cancelTextLocale:nn,okTextLocale:$r,mergedOkCancel:Xr},St),sr=l.useMemo(()=>on,(0,r.Z)(Object.values(on))),Mt=l.createElement(l.Fragment,null,l.createElement(L,null),l.createElement(D,null)),vt=zt.title!==void 0&&zt.title!==null,yt=`${Ke}-body`;return l.createElement("div",{className:`${Ke}-body-wrapper`},l.createElement("div",{className:x()(yt,{[`${yt}-has-title`]:vt})},Gr,l.createElement("div",{className:`${Ke}-paragraph`},vt&&l.createElement("span",{className:`${Ke}-title`},zt.title),l.createElement("div",{className:`${Ke}-content`},zt.content))),Be===void 0||typeof Be=="function"?l.createElement(A,{value:sr},l.createElement("div",{className:`${Ke}-btns`},typeof Be=="function"?Be(Mt,{OkBtn:D,CancelBtn:L}):Mt)):Be,l.createElement(Jt,{prefixCls:Ct}))}var Ut=zt=>{const{close:Ct,zIndex:ke,afterClose:wt,visible:xe,open:Ke,keyboard:gt,centered:Lt,getContainer:Be,maskStyle:Dr,direction:St,prefixCls:Gr,wrapClassName:Xr,rootPrefixCls:Sr,iconPrefixCls:Mr,theme:pr,bodyStyle:$r,closable:nn=!1,closeIcon:on,modalRender:sr,focusTriggerAfterClose:Mt,onConfirm:vt}=zt,yt=`${Gr}-confirm`,Nt=zt.width||416,Cr=zt.style||{},vr=zt.mask===void 0?!0:zt.mask,ut=zt.maskClosable===void 0?!1:zt.maskClosable,Rr=x()(yt,`${yt}-${zt.type}`,{[`${yt}-rtl`]:St==="rtl"},zt.className);return l.createElement(c.ZP,{prefixCls:Sr,iconPrefixCls:Mr,direction:St,theme:pr},l.createElement(Ft,{prefixCls:Gr,className:Rr,wrapClassName:x()({[`${yt}-centered`]:!!zt.centered},Xr),onCancel:()=>{Ct==null||Ct({triggerCancel:!0}),vt==null||vt(!1)},open:Ke,title:"",footer:null,transitionName:(0,p.m)(Sr||"","zoom",zt.transitionName),maskTransitionName:(0,p.m)(Sr||"","fade",zt.maskTransitionName),mask:vr,maskClosable:ut,maskStyle:Dr,style:Cr,bodyStyle:$r,width:Nt,zIndex:ke,afterClose:wt,keyboard:gt,centered:Lt,getContainer:Be,closable:nn,closeIcon:on,modalRender:sr,focusTriggerAfterClose:Mt},l.createElement(Xe,Object.assign({},zt,{confirmPrefixCls:yt}))))},bt=[],ht=function(zt,Ct){var ke={};for(var wt in zt)Object.prototype.hasOwnProperty.call(zt,wt)&&Ct.indexOf(wt)<0&&(ke[wt]=zt[wt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,wt=Object.getOwnPropertySymbols(zt);xe<wt.length;xe++)Ct.indexOf(wt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[xe])&&(ke[wt[xe]]=zt[wt[xe]]);return ke};let et="";function Ue(){return et}function ye(zt){const Ct=document.createDocumentFragment();let ke=Object.assign(Object.assign({},zt),{close:gt,open:!0}),wt;function xe(){for(var Be=arguments.length,Dr=new Array(Be),St=0;St<Be;St++)Dr[St]=arguments[St];const Gr=Dr.some(Xr=>Xr&&Xr.triggerCancel);zt.onCancel&&Gr&&zt.onCancel.apply(zt,[()=>{}].concat((0,r.Z)(Dr.slice(1))));for(let Xr=0;Xr<bt.length;Xr++)if(bt[Xr]===gt){bt.splice(Xr,1);break}(0,i.v)(Ct)}function Ke(Be){var{okText:Dr,cancelText:St,prefixCls:Gr,getContainer:Xr}=Be,Sr=ht(Be,["okText","cancelText","prefixCls","getContainer"]);clearTimeout(wt),wt=setTimeout(()=>{const Mr=(0,F.A)(),{getPrefixCls:pr,getIconPrefixCls:$r,getTheme:nn}=(0,c.w6)(),on=pr(void 0,Ue()),sr=Gr||`${on}-modal`,Mt=$r(),vt=nn();let yt=Xr;yt===!1&&(yt=void 0),(0,i.s)(l.createElement(Ut,Object.assign({},Sr,{getContainer:yt,prefixCls:sr,rootPrefixCls:on,iconPrefixCls:Mt,okText:Dr,locale:Mr,theme:vt,cancelText:St||Mr.cancelText})),Ct)})}function gt(){for(var Be=arguments.length,Dr=new Array(Be),St=0;St<Be;St++)Dr[St]=arguments[St];ke=Object.assign(Object.assign({},ke),{open:!1,afterClose:()=>{typeof zt.afterClose=="function"&&zt.afterClose(),xe.apply(this,Dr)}}),ke.visible&&delete ke.visible,Ke(ke)}function Lt(Be){typeof Be=="function"?ke=Be(ke):ke=Object.assign(Object.assign({},ke),Be),Ke(ke)}return Ke(ke),bt.push(gt),{destroy:gt,update:Lt}}function Pe(zt){return Object.assign(Object.assign({},zt),{type:"warning"})}function Me(zt){return Object.assign(Object.assign({},zt),{type:"info"})}function $e(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:Ct}=zt;et=Ct}var Gt=e(53487),Ht=function(zt,Ct){var ke={};for(var wt in zt)Object.prototype.hasOwnProperty.call(zt,wt)&&Ct.indexOf(wt)<0&&(ke[wt]=zt[wt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,wt=Object.getOwnPropertySymbols(zt);xe<wt.length;xe++)Ct.indexOf(wt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[xe])&&(ke[wt[xe]]=zt[wt[xe]]);return ke};const Oe=zt=>{const{prefixCls:Ct,className:ke,closeIcon:wt,closable:xe,type:Ke,title:gt,children:Lt}=zt,Be=Ht(zt,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:Dr}=l.useContext(W.E_),St=Dr(),Gr=Ct||Dr("modal"),[,Xr]=(0,de.ZP)(Gr),Sr=`${Gr}-confirm`;let Mr={};return Ke?Mr={closable:xe!=null?xe:!1,title:"",footer:"",children:l.createElement(Xe,Object.assign({},zt,{prefixCls:Gr,confirmPrefixCls:Sr,rootPrefixCls:St,content:Lt}))}:Mr={closable:xe!=null?xe:!0,title:gt,footer:zt.footer===void 0?l.createElement(Q,Object.assign({},zt)):zt.footer,children:Lt},l.createElement($.s,Object.assign({prefixCls:Gr,className:x()(Xr,`${Gr}-pure-panel`,Ke&&Sr,Ke&&`${Sr}-${Ke}`,ke)},Be,{closeIcon:M(Gr,wt),closable:xe},Mr))};var Je=(0,Gt.i)(Oe);function Wt(){const[zt,Ct]=l.useState([]),ke=l.useCallback(wt=>(Ct(xe=>[].concat((0,r.Z)(xe),[wt])),()=>{Ct(xe=>xe.filter(Ke=>Ke!==wt))}),[]);return[zt,ke]}var kt=e(31724),Zt=function(zt,Ct){var ke={};for(var wt in zt)Object.prototype.hasOwnProperty.call(zt,wt)&&Ct.indexOf(wt)<0&&(ke[wt]=zt[wt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,wt=Object.getOwnPropertySymbols(zt);xe<wt.length;xe++)Ct.indexOf(wt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[xe])&&(ke[wt[xe]]=zt[wt[xe]]);return ke};const Bt=(zt,Ct)=>{var ke,{afterClose:wt,config:xe}=zt,Ke=Zt(zt,["afterClose","config"]);const[gt,Lt]=l.useState(!0),[Be,Dr]=l.useState(xe),{direction:St,getPrefixCls:Gr}=l.useContext(W.E_),Xr=Gr("modal"),Sr=Gr(),Mr=()=>{var on;wt(),(on=Be.afterClose)===null||on===void 0||on.call(Be)},pr=function(){Lt(!1);for(var on=arguments.length,sr=new Array(on),Mt=0;Mt<on;Mt++)sr[Mt]=arguments[Mt];const vt=sr.some(yt=>yt&&yt.triggerCancel);Be.onCancel&&vt&&Be.onCancel.apply(Be,[()=>{}].concat((0,r.Z)(sr.slice(1))))};l.useImperativeHandle(Ct,()=>({destroy:pr,update:on=>{Dr(sr=>Object.assign(Object.assign({},sr),on))}}));const $r=(ke=Be.okCancel)!==null&&ke!==void 0?ke:Be.type==="confirm",[nn]=(0,y.Z)("Modal",kt.Z.Modal);return l.createElement(Ut,Object.assign({prefixCls:Xr,rootPrefixCls:Sr},Be,{close:pr,open:gt,afterClose:Mr,okText:Be.okText||($r?nn==null?void 0:nn.okText:nn==null?void 0:nn.justOkText),direction:Be.direction||St,cancelText:Be.cancelText||(nn==null?void 0:nn.cancelText)},Ke))};var At=l.forwardRef(Bt);let Kt=0;const We=l.memo(l.forwardRef((zt,Ct)=>{const[ke,wt]=Wt();return l.useImperativeHandle(Ct,()=>({patchElement:wt}),[]),l.createElement(l.Fragment,null,ke)}));function fe(){const zt=l.useRef(null),[Ct,ke]=l.useState([]);l.useEffect(()=>{Ct.length&&((0,r.Z)(Ct).forEach(gt=>{gt()}),ke([]))},[Ct]);const wt=l.useCallback(Ke=>function(Lt){var Be;Kt+=1;const Dr=l.createRef();let St;const Gr=new Promise($r=>{St=$r});let Xr=!1,Sr;const Mr=l.createElement(At,{key:`modal-${Kt}`,config:Ke(Lt),ref:Dr,afterClose:()=>{Sr==null||Sr()},isSilent:()=>Xr,onConfirm:$r=>{St($r)}});return Sr=(Be=zt.current)===null||Be===void 0?void 0:Be.patchElement(Mr),Sr&&bt.push(Sr),{destroy:()=>{function $r(){var nn;(nn=Dr.current)===null||nn===void 0||nn.destroy()}Dr.current?$r():ke(nn=>[].concat((0,r.Z)(nn),[$r]))},update:$r=>{function nn(){var on;(on=Dr.current)===null||on===void 0||on.update($r)}Dr.current?nn():ke(on=>[].concat((0,r.Z)(on),[nn]))},then:$r=>(Xr=!0,Gr.then($r))}},[]);return[l.useMemo(()=>({info:wt(Me),success:wt($e),error:wt(He),warning:wt(Pe),confirm:wt(nt)}),[]),l.createElement(We,{key:"modal-holder",ref:zt})]}var _e=fe;function Ot(zt){return ye(Pe(zt))}const De=Ft;De.useModal=_e,De.info=function(Ct){return ye(Me(Ct))},De.success=function(Ct){return ye($e(Ct))},De.error=function(Ct){return ye(He(Ct))},De.warning=Ot,De.warn=Ot,De.confirm=function(Ct){return ye(nt(Ct))},De.destroyAll=function(){for(;bt.length;){const Ct=bt.pop();Ct&&Ct()}},De.config=ct,De._InternalPanelDoNotUseOrYouWillBeFired=Je;var dt=De},98044:function(d,g,e){"use strict";e.d(g,{A:function(){return o},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 o(){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 o(_){return{position:_,inset:0}}const h=_=>{const{componentCls:b,antCls:A}=_;return[{[`${b}-root`]:{[`${b}${A}-zoom-enter, ${b}${A}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:_.motionDurationSlow,userSelect:"none"},[`${b}${A}-zoom-leave ${b}-content`]:{pointerEvents:"none"},[`${b}-mask`]:Object.assign(Object.assign({},o("fixed")),{zIndex:_.zIndexPopupBase,height:"100%",backgroundColor:_.colorBgMask,pointerEvents:"none",[`${b}-hidden`]:{display:"none"}}),[`${b}-wrap`]:Object.assign(Object.assign({},o("fixed")),{zIndex:_.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${b}${A}-zoom-enter), &:has(${b}${A}-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:A}=_,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]:{[`${A}-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,A=_.fontSizeHeading5,R=_.lineHeightHeading5;return(0,c.TS)(_,{modalBodyPadding:_.paddingLG,modalHeaderPadding:`${b}px ${_.paddingLG}px`,modalHeaderBorderWidth:_.lineWidth,modalHeaderBorderStyle:_.lineType,modalHeaderBorderColorSplit:_.colorSplit,modalHeaderHeight:R*A+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),o=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),A=e(17313),R=e(83116),L=e(37613),D=et=>{const{componentCls:Ue,width:ye,notificationMarginEdge:Pe}=et,Me=new b.Keyframes("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),$e=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:ye},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${Ue}-top, &${Ue}-bottom`]:{marginInline:0},[`&${Ue}-top`]:{[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:Me}},[`&${Ue}-bottom`]:{[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:$e}},[`&${Ue}-topLeft, &${Ue}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:Pe,[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:He}}}};const B=et=>{const{iconCls:Ue,componentCls:ye,boxShadow:Pe,fontSizeLG:Me,notificationMarginBottom:$e,borderRadiusLG:He,colorSuccess:nt,colorInfo:ct,colorWarning:Gt,colorError:Ht,colorTextHeading:Oe,notificationBg:Je,notificationPadding:Wt,notificationMarginEdge:kt,motionDurationMid:Zt,motionEaseInOut:Bt,fontSize:At,lineHeight:Kt,width:We,notificationIconSize:fe,colorText:_e}=et,Ot=`${ye}-notice`,De=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:et.animationMaxHeight,marginBottom:$e,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:$e,marginInlineStart:"auto",padding:Wt,overflow:"hidden",lineHeight:Kt,wordWrap:"break-word",background:Je,borderRadius:He,boxShadow:Pe,[`${ye}-close-icon`]:{fontSize:At,cursor:"pointer"},[`${Ot}-message`]:{marginBottom:et.marginXS,color:Oe,fontSize:Me,lineHeight:et.lineHeightLG},[`${Ot}-description`]:{fontSize:At,color:_e},[`&${Ot}-closable ${Ot}-message`]:{paddingInlineEnd:et.paddingLG},[`${Ot}-with-icon ${Ot}-message`]:{marginBottom:et.marginXS,marginInlineStart:et.marginSM+fe,fontSize:Me},[`${Ot}-with-icon ${Ot}-description`]:{marginInlineStart:et.marginSM+fe,fontSize:At},[`${Ot}-icon`]:{position:"absolute",fontSize:fe,lineHeight:0,[`&-success${Ue}`]:{color:nt},[`&-info${Ue}`]:{color:ct},[`&-warning${Ue}`]:{color:Gt},[`&-error${Ue}`]:{color:Ht}},[`${Ot}-close`]:{position:"absolute",top:et.notificationPaddingVertical,insetInlineEnd:et.notificationPaddingHorizontal,color:et.colorIcon,outline:"none",width:et.notificationCloseButtonSize,height:et.notificationCloseButtonSize,borderRadius:et.borderRadiusSM,transition:`background-color ${et.motionDurationMid}, color ${et.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:et.colorIconHover,backgroundColor:et.wireframe?"transparent":et.colorFillContent}},[`${Ot}-btn`]:{float:"right",marginTop:et.marginSM}};return[{[ye]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,A.Wf)(et)),{position:"fixed",zIndex:et.zIndexPopup,marginInlineEnd:kt,[`${ye}-hook-holder`]:{position:"relative"},[`&${ye}-top, &${ye}-bottom`]:{[Ot]:{marginInline:"auto auto"}},[`&${ye}-topLeft, &${ye}-bottomLeft`]:{[Ot]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${ye}-fade-enter, ${ye}-fade-appear`]:{animationDuration:et.motionDurationMid,animationTimingFunction:Bt,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${ye}-fade-leave`]:{animationTimingFunction:Bt,animationFillMode:"both",animationDuration:Zt,animationPlayState:"paused"},[`${ye}-fade-enter${ye}-fade-enter-active, ${ye}-fade-appear${ye}-fade-appear-active`]:{animationName:De,animationPlayState:"running"},[`${ye}-fade-leave${ye}-fade-leave-active`]:{animationName:dt,animationPlayState:"running"}}),D(et)),{"&-rtl":{direction:"rtl",[`${Ot}-btn`]:{float:"left"}}})},{[ye]:{[Ot]:Object.assign({},zt)}},{[`${Ot}-pure-panel`]:Object.assign(Object.assign({},zt),{margin:0})}]};var $=(0,R.Z)("Notification",et=>{const Ue=et.paddingMD,ye=et.paddingLG,Pe=(0,L.TS)(et,{notificationBg:et.colorBgElevated,notificationPaddingVertical:Ue,notificationPaddingHorizontal:ye,notificationIconSize:et.fontSizeLG*et.lineHeightLG,notificationCloseButtonSize:et.controlHeightLG*.55,notificationMarginBottom:et.margin,notificationPadding:`${et.paddingMD}px ${et.paddingContentHorizontalLG}px`,notificationMarginEdge:et.marginLG,animationMaxHeight:150});return[B(Pe)]},et=>({zIndexPopup:et.zIndexPopupBase+50,width:384})),j=function(et,Ue){var ye={};for(var Pe in et)Object.prototype.hasOwnProperty.call(et,Pe)&&Ue.indexOf(Pe)<0&&(ye[Pe]=et[Pe]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Pe=Object.getOwnPropertySymbols(et);Me<Pe.length;Me++)Ue.indexOf(Pe[Me])<0&&Object.prototype.propertyIsEnumerable.call(et,Pe[Me])&&(ye[Pe[Me]]=et[Pe[Me]]);return ye};const K={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 V(et,Ue){return Ue===null||Ue===!1?null:Ue||r.createElement("span",{className:`${et}-close-x`},r.createElement(o.Z,{className:`${et}-close-icon`}))}const W={success:c.Z,info:u.Z,error:f.Z,warning:h.Z},oe=et=>{const{prefixCls:Ue,icon:ye,type:Pe,message:Me,description:$e,btn:He,role:nt="alert"}=et;let ct=null;return ye?ct=r.createElement("span",{className:`${Ue}-icon`},ye):Pe&&(ct=r.createElement(W[Pe]||null,{className:p()(`${Ue}-icon`,`${Ue}-icon-${Pe}`)})),r.createElement("div",{className:p()({[`${Ue}-with-icon`]:ct}),role:nt},ct,r.createElement("div",{className:`${Ue}-message`},Me),r.createElement("div",{className:`${Ue}-description`},$e),He&&r.createElement("div",{className:`${Ue}-btn`},He))};var ce=et=>{const{prefixCls:Ue,className:ye,icon:Pe,type:Me,message:$e,description:He,btn:nt,closable:ct=!0,closeIcon:Gt}=et,Ht=j(et,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:Oe}=r.useContext(_.E_),Je=Ue||Oe("notification"),Wt=`${Je}-notice`,[,kt]=$(Je);return r.createElement(y.qX,Object.assign({},Ht,{prefixCls:Je,className:p()(ye,kt,`${Wt}-pure-panel`),eventKey:"pure",duration:null,closable:ct,closeIcon:V(Je,Gt),content:r.createElement(oe,{prefixCls:Wt,icon:Pe,type:Me,message:$e,description:He,btn:nt})}))};function q(et,Ue,ye){let Pe;switch(et){case"top":Pe={left:"50%",transform:"translateX(-50%)",right:"auto",top:Ue,bottom:"auto"};break;case"topLeft":Pe={left:0,top:Ue,bottom:"auto"};break;case"topRight":Pe={right:0,top:Ue,bottom:"auto"};break;case"bottom":Pe={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:ye};break;case"bottomLeft":Pe={left:0,top:"auto",bottom:ye};break;default:Pe={right:0,top:"auto",bottom:ye};break}return Pe}function J(et){return{motionName:`${et}-fade`}}var Y=function(et,Ue){var ye={};for(var Pe in et)Object.prototype.hasOwnProperty.call(et,Pe)&&Ue.indexOf(Pe)<0&&(ye[Pe]=et[Pe]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Pe=Object.getOwnPropertySymbols(et);Me<Pe.length;Me++)Ue.indexOf(Pe[Me])<0&&Object.prototype.propertyIsEnumerable.call(et,Pe[Me])&&(ye[Pe[Me]]=et[Pe[Me]]);return ye};const le=24,ne=4.5,ee="topRight",ie=et=>{let{children:Ue,prefixCls:ye}=et;const[,Pe]=$(ye);return r.createElement(y.JB,{classNames:{list:Pe,notice:Pe}},Ue)},F=(et,Ue)=>{let{prefixCls:ye,key:Pe}=Ue;return r.createElement(ie,{prefixCls:ye,key:Pe},et)},M=r.forwardRef((et,Ue)=>{const{top:ye,bottom:Pe,prefixCls:Me,getContainer:$e,maxCount:He,rtl:nt,onAllRemoved:ct}=et,{getPrefixCls:Gt,getPopupContainer:Ht,notification:Oe}=r.useContext(_.E_),Je=Me||Gt("notification"),Wt=Kt=>q(Kt,ye!=null?ye:le,Pe!=null?Pe:le),kt=()=>p()({[`${Je}-rtl`]:nt}),Zt=()=>J(Je),[Bt,At]=(0,y.lm)({prefixCls:Je,style:Wt,className:kt,motion:Zt,closable:!0,closeIcon:V(Je),duration:ne,getContainer:()=>($e==null?void 0:$e())||(Ht==null?void 0:Ht())||document.body,maxCount:He,onAllRemoved:ct,renderNotifications:F});return r.useImperativeHandle(Ue,()=>Object.assign(Object.assign({},Bt),{prefixCls:Je,notification:Oe})),At});function Q(et){const Ue=r.useRef(null);return[r.useMemo(()=>{const Pe=nt=>{var ct;if(!Ue.current)return;const{open:Gt,prefixCls:Ht,notification:Oe}=Ue.current,Je=`${Ht}-notice`,{message:Wt,description:kt,icon:Zt,type:Bt,btn:At,className:Kt,style:We,role:fe="alert",closeIcon:_e}=nt,Ot=Y(nt,["message","description","icon","type","btn","className","style","role","closeIcon"]),De=V(Je,_e);return Gt(Object.assign(Object.assign({placement:(ct=et==null?void 0:et.placement)!==null&&ct!==void 0?ct:ee},Ot),{content:r.createElement(oe,{prefixCls:Je,icon:Zt,type:Bt,message:Wt,description:kt,btn:At,role:fe}),className:p()(Bt&&`${Je}-${Bt}`,Kt,Oe==null?void 0:Oe.className),style:Object.assign(Object.assign({},Oe==null?void 0:Oe.style),We),closeIcon:De,closable:!!De}))},$e={open:Pe,destroy:nt=>{var ct,Gt;nt!==void 0?(ct=Ue.current)===null||ct===void 0||ct.close(nt):(Gt=Ue.current)===null||Gt===void 0||Gt.destroy()}};return["success","info","warning","error"].forEach(nt=>{$e[nt]=ct=>Pe(Object.assign(Object.assign({},ct),{type:nt}))}),$e},[]),r.createElement(M,Object.assign({key:"notification-holder"},et,{ref:Ue}))]}function de(et){return Q(et)}let Se=null,Ie=et=>et(),je=[],Fe={};function Ft(){const{prefixCls:et,getContainer:Ue,rtl:ye,maxCount:Pe,top:Me,bottom:$e}=Fe,He=et!=null?et:(0,l.w6)().getPrefixCls("notification"),nt=(Ue==null?void 0:Ue())||document.body;return{prefixCls:He,getContainer:()=>nt,rtl:ye,maxCount:Pe,top:Me,bottom:$e}}const _t=r.forwardRef((et,Ue)=>{const[ye,Pe]=r.useState(Ft),[Me,$e]=Q(ye),He=(0,l.w6)(),nt=He.getRootPrefixCls(),ct=He.getIconPrefixCls(),Gt=He.getTheme(),Ht=()=>{Pe(Ft)};return r.useEffect(Ht,[]),r.useImperativeHandle(Ue,()=>{const Oe=Object.assign({},Me);return Object.keys(Oe).forEach(Je=>{Oe[Je]=function(){return Ht(),Me[Je].apply(Me,arguments)}}),{instance:Oe,sync:Ht}}),r.createElement(l.ZP,{prefixCls:nt,iconPrefixCls:ct,theme:Gt},$e)});function Pt(){if(!Se){const et=document.createDocumentFragment(),Ue={fragment:et};Se=Ue,Ie(()=>{(0,i.s)(r.createElement(_t,{ref:ye=>{const{instance:Pe,sync:Me}=ye||{};Promise.resolve().then(()=>{!Ue.instance&&Pe&&(Ue.instance=Pe,Ue.sync=Me,Pt())})}}),et)});return}Se.instance&&(je.forEach(et=>{switch(et.type){case"open":{Ie(()=>{Se.instance.open(Object.assign(Object.assign({},Fe),et.config))});break}case"destroy":Ie(()=>{Se==null||Se.instance.destroy(et.key)});break}}),je=[])}function Qt(et){Fe=Object.assign(Object.assign({},Fe),et),Ie(()=>{var Ue;(Ue=Se==null?void 0:Se.sync)===null||Ue===void 0||Ue.call(Se)})}function Jt(et){je.push({type:"open",config:et}),Pt()}function qt(et){je.push({type:"destroy",key:et}),Pt()}const Xe=["success","info","warning","error"],Ut={open:Jt,destroy:qt,config:Qt,useNotification:de,_InternalPanelDoNotUseOrYouWillBeFired:ce};Xe.forEach(et=>{Ut[et]=Ue=>Jt(Object.assign(Object.assign({},Ue),{type:et}))});const ot=()=>{};let bt=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),o=e(19716),h=e(2856),u=function(b,A){var R={};for(var L in b)Object.prototype.hasOwnProperty.call(b,L)&&A.indexOf(L)<0&&(R[L]=b[L]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,L=Object.getOwnPropertySymbols(b);P<L.length;P++)A.indexOf(L[P])<0&&Object.prototype.propertyIsEnumerable.call(b,L[P])&&(R[L[P]]=b[L[P]]);return R};const a=c.createContext(null),x=(b,A)=>{const R=c.useContext(a),L=c.useMemo(()=>{if(!R)return"";const{compactDirection:P,isFirstItem:D,isLastItem:B}=R,$=P==="vertical"?"-vertical-":"-";return i()(`${b}-compact${$}item`,{[`${b}-compact${$}first-item`]:D,[`${b}-compact${$}last-item`]:B,[`${b}-compact${$}item-rtl`]:A==="rtl"})},[b,A,R]);return{compactSize:R==null?void 0:R.compactSize,compactDirection:R==null?void 0:R.compactDirection,compactItemClassnames:L}},p=b=>{let{children:A}=b;return c.createElement(a.Provider,{value:null},A)},y=b=>{var{children:A}=b,R=u(b,["children"]);return c.createElement(a.Provider,{value:R},A)},_=b=>{const{getPrefixCls:A,direction:R}=c.useContext(f.E_),{size:L,direction:P,block:D,prefixCls:B,className:$,rootClassName:j,children:K}=b,V=u(b,["size","direction","block","prefixCls","className","rootClassName","children"]),W=(0,o.Z)(ne=>L!=null?L:ne),oe=A("space-compact",B),[ae,ce]=(0,h.Z)(oe),q=i()(oe,ce,{[`${oe}-rtl`]:R==="rtl",[`${oe}-block`]:D,[`${oe}-vertical`]:P==="vertical"},$,j),J=c.useContext(a),Y=(0,l.Z)(K),le=c.useMemo(()=>Y.map((ne,ee)=>{const ie=ne&&ne.key||`${oe}-item-${ee}`;return c.createElement(y,{key:ie,compactSize:W,compactDirection:P,isFirstItem:ee===0&&(!J||(J==null?void 0:J.isFirstItem)),isLastItem:ee===Y.length-1&&(!J||(J==null?void 0:J.isLastItem))},ne)}),[L,Y,J]);return Y.length===0?null:ae(c.createElement("div",Object.assign({className:q},V),le))};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"}}}},o=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),o(a),c(a)]},()=>({}),{resetStyle:!1})},71418:function(d,g,e){"use strict";e.d(g,{Z:function(){return K}});var r=e(92310),i=e.n(r),l=e(2738),c=e(59301),f=e(53280),o=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=V=>({[`${V.componentCls}`]:Object.assign(Object.assign({},(0,a.Wf)(V)),{position:"absolute",display:"none",color:V.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${V.motionDurationSlow} ${V.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${V.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:V.contentHeight,[`${V.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-V.dotSize/2},[`${V.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(V.dotSize-V.fontSize)/2+2,textShadow:`0 1px 2px ${V.colorBgContainer}`,fontSize:V.fontSize},[`&${V.componentCls}-show-text ${V.componentCls}-dot`]:{marginTop:-(V.dotSize/2)-10},"&-sm":{[`${V.componentCls}-dot`]:{margin:-V.dotSizeSM/2},[`${V.componentCls}-text`]:{paddingTop:(V.dotSizeSM-V.fontSize)/2+2},[`&${V.componentCls}-show-text ${V.componentCls}-dot`]:{marginTop:-(V.dotSizeSM/2)-10}},"&-lg":{[`${V.componentCls}-dot`]:{margin:-(V.dotSizeLG/2)},[`${V.componentCls}-text`]:{paddingTop:(V.dotSizeLG-V.fontSize)/2+2},[`&${V.componentCls}-show-text ${V.componentCls}-dot`]:{marginTop:-(V.dotSizeLG/2)-10}}},[`${V.componentCls}-container`]:{position:"relative",transition:`opacity ${V.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:V.colorBgContainer,opacity:0,transition:`all ${V.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${V.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:V.spinDotDefault},[`${V.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:V.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(V.dotSize-V.marginXXS/2)/2,height:(V.dotSize-V.marginXXS/2)/2,backgroundColor:V.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 ${V.componentCls}-dot`]:{fontSize:V.dotSizeSM,i:{width:(V.dotSizeSM-V.marginXXS/2)/2,height:(V.dotSizeSM-V.marginXXS/2)/2}},[`&-lg ${V.componentCls}-dot`]:{fontSize:V.dotSizeLG,i:{width:(V.dotSizeLG-V.marginXXS)/2,height:(V.dotSizeLG-V.marginXXS)/2}},[`&${V.componentCls}-show-text ${V.componentCls}-text`]:{display:"block"}})});var A=(0,x.Z)("Spin",V=>{const W=(0,p.TS)(V,{spinDotDefault:V.colorTextDescription});return[b(W)]},V=>({contentHeight:400,dotSize:V.controlHeightLG/2,dotSizeSM:V.controlHeightLG*.35,dotSizeLG:V.controlHeight})),R=function(V,W){var oe={};for(var ae in V)Object.prototype.hasOwnProperty.call(V,ae)&&W.indexOf(ae)<0&&(oe[ae]=V[ae]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,ae=Object.getOwnPropertySymbols(V);ce<ae.length;ce++)W.indexOf(ae[ce])<0&&Object.prototype.propertyIsEnumerable.call(V,ae[ce])&&(oe[ae[ce]]=V[ae[ce]]);return oe};const L=null;let P=null;function D(V,W){const{indicator:oe}=W,ae=`${V}-dot`;return oe===null?null:(0,o.l$)(oe)?(0,o.Tm)(oe,{className:i()(oe.props.className,ae)}):(0,o.l$)(P)?(0,o.Tm)(P,{className:i()(P.props.className,ae)}):c.createElement("span",{className:i()(ae,`${V}-dot-spin`)},c.createElement("i",{className:`${V}-dot-item`,key:1}),c.createElement("i",{className:`${V}-dot-item`,key:2}),c.createElement("i",{className:`${V}-dot-item`,key:3}),c.createElement("i",{className:`${V}-dot-item`,key:4}))}function B(V,W){return!!V&&!!W&&!isNaN(Number(W))}const $=V=>{const{spinPrefixCls:W,spinning:oe=!0,delay:ae=0,className:ce,rootClassName:q,size:J="default",tip:Y,wrapperClassName:le,style:ne,children:ee,hashId:ie}=V,F=R(V,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[M,Q]=c.useState(()=>oe&&!B(oe,ae));c.useEffect(()=>{if(oe){const Qt=(0,f.D)(ae,()=>{Q(!0)});return Qt(),()=>{var Jt;(Jt=Qt==null?void 0:Qt.cancel)===null||Jt===void 0||Jt.call(Qt)}}Q(!1)},[ae,oe]);const de=c.useMemo(()=>typeof ee!="undefined",[ee]),{direction:Se,spin:Ie}=c.useContext(h.E_),je=i()(W,Ie==null?void 0:Ie.className,{[`${W}-sm`]:J==="small",[`${W}-lg`]:J==="large",[`${W}-spinning`]:M,[`${W}-show-text`]:!!Y,[`${W}-rtl`]:Se==="rtl"},ce,q,ie),Fe=i()(`${W}-container`,{[`${W}-blur`]:M}),Ft=(0,l.Z)(F,["indicator","prefixCls"]),_t=Object.assign(Object.assign({},Ie==null?void 0:Ie.style),ne),Pt=c.createElement("div",Object.assign({},Ft,{style:_t,className:je,"aria-live":"polite","aria-busy":M}),D(W,V),Y&&de?c.createElement("div",{className:`${W}-text`},Y):null);return de?c.createElement("div",Object.assign({},Ft,{className:i()(`${W}-nested-loading`,le,ie)}),M&&c.createElement("div",{key:"loading"},Pt),c.createElement("div",{className:Fe,key:"container"},ee)):Pt},j=V=>{const{prefixCls:W}=V,{getPrefixCls:oe}=c.useContext(h.E_),ae=oe("spin",W),[ce,q]=A(ae),J=Object.assign(Object.assign({},V),{spinPrefixCls:ae,hashId:q});return ce(c.createElement($,Object.assign({},J)))};j.setDefaultIndicator=V=>{P=V};var K=j},74207:function(d,g,e){"use strict";e.d(g,{c:function(){return l}});function r(c,f,o){const{focusElCls:h,focus:u,borderElCls:a}=o,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,o){const{borderElCls:h}=o,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:o}=c,h=`${o}-compact`;return{[h]:Object.assign(Object.assign({},r(c,h,f)),i(o,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 o},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"}}}),o=(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(o){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:u}=o,a=`${u}-fade`,x=h?"&":"";return[(0,i.R)(a,l,c,o.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,o,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:o,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}}),o=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}}),A={zoom:{inKeyframes:l,outKeyframes:c},"zoom-big":{inKeyframes:f,outKeyframes:o},"zoom-big-fast":{inKeyframes:f,outKeyframes:o},"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,P)=>{const{antCls:D}=L,B=`${D}-${P}`,{inKeyframes:$,outKeyframes:j}=A[P];return[(0,i.R)(B,$,j,P==="zoom-big-fast"?L.motionDurationFast:L.motionDurationMid),{[`
|
|
|
${B}-enter,
|
|
|
${B}-appear
|
|
|
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:L.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${B}-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(o){const h=i,{contentRadius:u,limitVerticalRadius:a}=o,x=u>12?u+2:12;return{dropdownArrowOffset:x,dropdownArrowOffsetVertical:a?h:x}}function c(o,h){return o?h:{}}function f(o,h){const{componentCls:u,sizePopupArrow:a,borderRadiusXS:x,borderRadiusOuter:p,boxShadowPopoverArrow:y}=o,{colorBg:_,contentRadius:b=o.borderRadiusLG,limitVerticalRadius:A,arrowDistance:R=0,arrowPlacement:L={left:!0,right:!0,top:!0,bottom:!0}}=h,{dropdownArrowOffsetVertical:P,dropdownArrowOffset:D}=l({contentRadius:b,limitVerticalRadius:A});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:P},[`&-placement-leftBottom ${u}-arrow`]:{bottom:P}})),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:P},[`&-placement-rightBottom ${u}-arrow`]:{bottom:P}}))}}},47585:function(d,g,e){"use strict";e.d(g,{r:function(){return r}});const r=(i,l,c,f,o)=>{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,A=_,R=2*h-x,L=p,P=2*h-u,D=a,B=h*Math.sqrt(2)+c*(Math.sqrt(2)-2),$=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(${$}px 100%, 50% ${$}px, ${2*h-$}px 100%, ${$}px 100%)`,`path('M ${u} ${a} A ${c} ${c} 0 0 0 ${x} ${p} L ${y} ${_} A ${l} ${l} 0 0 1 ${b} ${A} L ${R} ${L} A ${c} ${c} 0 0 0 ${P} ${D} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:B,height:B,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${l}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}}},45246:function(d,g,e){"use strict";e.d(g,{Mj:function(){return K},u_:function(){return j},uH:function(){return $}});var r=e(93083),i=e(59301),l=e(93398),f=V=>{const{controlHeight:W}=V;return{controlHeightSM:W*.75,controlHeightXS:W*.5,controlHeightLG:W*1.25}};function o(V){const{sizeUnit:W,sizeStep:oe}=V;return{sizeXXL:W*(oe+8),sizeXL:W*(oe+4),sizeLG:W*(oe+2),sizeMD:W*(oe+1),sizeMS:W*oe,size:W*oe,sizeSM:W*(oe-1),sizeXS:W*(oe-2),sizeXXS:W*(oe-3)}}var h=e(34117),u=e(64993);function a(V,W){let{generateColorPalettes:oe,generateNeutralColorPalettes:ae}=W;const{colorSuccess:ce,colorWarning:q,colorError:J,colorInfo:Y,colorPrimary:le,colorBgBase:ne,colorTextBase:ee}=V,ie=oe(le),F=oe(ce),M=oe(q),Q=oe(J),de=oe(Y),Se=ae(ne,ee),Ie=V.colorLink||V.colorInfo,je=oe(Ie);return Object.assign(Object.assign({},Se),{colorPrimaryBg:ie[1],colorPrimaryBgHover:ie[2],colorPrimaryBorder:ie[3],colorPrimaryBorderHover:ie[4],colorPrimaryHover:ie[5],colorPrimary:ie[6],colorPrimaryActive:ie[7],colorPrimaryTextHover:ie[8],colorPrimaryText:ie[9],colorPrimaryTextActive:ie[10],colorSuccessBg:F[1],colorSuccessBgHover:F[2],colorSuccessBorder:F[3],colorSuccessBorderHover:F[4],colorSuccessHover:F[4],colorSuccess:F[6],colorSuccessActive:F[7],colorSuccessTextHover:F[8],colorSuccessText:F[9],colorSuccessTextActive:F[10],colorErrorBg:Q[1],colorErrorBgHover:Q[2],colorErrorBorder:Q[3],colorErrorBorderHover:Q[4],colorErrorHover:Q[5],colorError:Q[6],colorErrorActive:Q[7],colorErrorTextHover:Q[8],colorErrorText:Q[9],colorErrorTextActive:Q[10],colorWarningBg:M[1],colorWarningBgHover:M[2],colorWarningBorder:M[3],colorWarningBorderHover:M[4],colorWarningHover:M[4],colorWarning:M[6],colorWarningActive:M[7],colorWarningTextHover:M[8],colorWarningText:M[9],colorWarningTextActive:M[10],colorInfoBg:de[1],colorInfoBgHover:de[2],colorInfoBorder:de[3],colorInfoBorderHover:de[4],colorInfoHover:de[4],colorInfo:de[6],colorInfoActive:de[7],colorInfoTextHover:de[8],colorInfoText:de[9],colorInfoTextActive:de[10],colorLinkHover:je[4],colorLink:je[6],colorLinkActive:je[7],colorBgMask:new u.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}var p=V=>{let W=V,oe=V,ae=V,ce=V;return V<6&&V>=5?W=V+1:V<16&&V>=6?W=V+2:V>=16&&(W=16),V<7&&V>=5?oe=4:V<8&&V>=7?oe=5:V<14&&V>=8?oe=6:V<16&&V>=14?oe=7:V>=16&&(oe=8),V<6&&V>=2?ae=1:V>=6&&(ae=2),V>4&&V<8?ce=4:V>=8&&(ce=6),{borderRadius:V>16?16:V,borderRadiusXS:ae,borderRadiusSM:oe,borderRadiusLG:W,borderRadiusOuter:ce}};function y(V){const{motionUnit:W,motionBase:oe,borderRadius:ae,lineWidth:ce}=V;return Object.assign({motionDurationFast:`${(oe+W).toFixed(1)}s`,motionDurationMid:`${(oe+W*2).toFixed(1)}s`,motionDurationSlow:`${(oe+W*3).toFixed(1)}s`,lineWidthBold:ce+1},p(ae))}const _=(V,W)=>new u.C(V).setAlpha(W).toRgbString(),b=(V,W)=>new u.C(V).darken(W).toHexString(),A=V=>{const W=(0,l.generate)(V);return{1:W[0],2:W[1],3:W[2],4:W[3],5:W[4],6:W[5],7:W[6],8:W[4],9:W[5],10:W[6]}},R=(V,W)=>{const oe=V||"#fff",ae=W||"#000";return{colorBgBase:oe,colorTextBase:ae,colorText:_(ae,.88),colorTextSecondary:_(ae,.65),colorTextTertiary:_(ae,.45),colorTextQuaternary:_(ae,.25),colorFill:_(ae,.15),colorFillSecondary:_(ae,.06),colorFillTertiary:_(ae,.04),colorFillQuaternary:_(ae,.02),colorBgLayout:b(oe,4),colorBgContainer:b(oe,0),colorBgElevated:b(oe,0),colorBgSpotlight:_(ae,.85),colorBorder:b(oe,15),colorBorderSecondary:b(oe,6)}};function L(V){const W=new Array(10).fill(null).map((oe,ae)=>{const ce=ae-1,q=V*Math.pow(2.71828,ce/5),J=ae>1?Math.floor(q):Math.ceil(q);return Math.floor(J/2)*2});return W[1]=V,W.map(oe=>{const ae=oe+8;return{size:oe,lineHeight:ae/oe}})}var D=V=>{const W=L(V),oe=W.map(ce=>ce.size),ae=W.map(ce=>ce.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:ae[1],lineHeightLG:ae[2],lineHeightSM:ae[0],lineHeightHeading1:ae[6],lineHeightHeading2:ae[5],lineHeightHeading3:ae[4],lineHeightHeading4:ae[3],lineHeightHeading5:ae[2]}};function B(V){const W=Object.keys(h.M).map(oe=>{const ae=(0,l.generate)(V[oe]);return new Array(10).fill(1).reduce((ce,q,J)=>(ce[`${oe}-${J+1}`]=ae[J],ce[`${oe}${J+1}`]=ae[J],ce),{})}).reduce((oe,ae)=>(oe=Object.assign(Object.assign({},oe),ae),oe),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},V),W),a(V,{generateColorPalettes:A,generateNeutralColorPalettes:R})),D(V.fontSize)),o(V)),f(V)),y(V))}const $=(0,r.createTheme)(B),j={token:h.Z,hashed:!0},K=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 A}});var r=e(93083),i=e(59301),l="5.9.0",c=l,f=e(45246),o=e(34117),h=e(64993);function u(R){return R>=0&&R<=255}function a(R,L){const{r:P,g:D,b:B,a:$}=new h.C(R).toRgb();if($<1)return R;const{r:j,g:K,b:V}=new h.C(L).toRgb();for(let W=.01;W<=1;W+=.01){const oe=Math.round((P-j*(1-W))/W),ae=Math.round((D-K*(1-W))/W),ce=Math.round((B-V*(1-W))/W);if(u(oe)&&u(ae)&&u(ce))return new h.C({r:oe,g:ae,b:ce,a:Math.round(W*100)/100}).toRgbString()}return new h.C({r:P,g:D,b:B,a:1}).toRgbString()}var x=a,p=function(R,L){var P={};for(var D in R)Object.prototype.hasOwnProperty.call(R,D)&&L.indexOf(D)<0&&(P[D]=R[D]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,D=Object.getOwnPropertySymbols(R);B<D.length;B++)L.indexOf(D[B])<0&&Object.prototype.propertyIsEnumerable.call(R,D[B])&&(P[D[B]]=R[D[B]]);return P};function y(R){const{override:L}=R,P=p(R,["override"]),D=Object.assign({},L);Object.keys(o.Z).forEach(ce=>{delete D[ce]});const B=Object.assign(Object.assign({},P),D),$=480,j=576,K=768,V=992,W=1200,oe=1600;if(B.motion===!1){const ce="0s";B.motionDurationFast=ce,B.motionDurationMid=ce,B.motionDurationSlow=ce}return Object.assign(Object.assign(Object.assign({},B),{colorFillContent:B.colorFillSecondary,colorFillContentHover:B.colorFill,colorFillAlter:B.colorFillQuaternary,colorBgContainerDisabled:B.colorFillTertiary,colorBorderBg:B.colorBgContainer,colorSplit:x(B.colorBorderSecondary,B.colorBgContainer),colorTextPlaceholder:B.colorTextQuaternary,colorTextDisabled:B.colorTextQuaternary,colorTextHeading:B.colorText,colorTextLabel:B.colorTextSecondary,colorTextDescription:B.colorTextTertiary,colorTextLightSolid:B.colorWhite,colorHighlight:B.colorError,colorBgTextHover:B.colorFillSecondary,colorBgTextActive:B.colorFill,colorIcon:B.colorTextTertiary,colorIconHover:B.colorText,colorErrorOutline:x(B.colorErrorBg,B.colorBgContainer),colorWarningOutline:x(B.colorWarningBg,B.colorBgContainer),fontSizeIcon:B.fontSizeSM,lineWidthFocus:B.lineWidth*4,lineWidth:B.lineWidth,controlOutlineWidth:B.lineWidth*2,controlInteractiveSize:B.controlHeight/2,controlItemBgHover:B.colorFillTertiary,controlItemBgActive:B.colorPrimaryBg,controlItemBgActiveHover:B.colorPrimaryBgHover,controlItemBgActiveDisabled:B.colorFill,controlTmpOutline:B.colorFillQuaternary,controlOutline:x(B.colorPrimaryBg,B.colorBgContainer),lineType:B.lineType,borderRadius:B.borderRadius,borderRadiusXS:B.borderRadiusXS,borderRadiusSM:B.borderRadiusSM,borderRadiusLG:B.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:B.sizeXXS,paddingXS:B.sizeXS,paddingSM:B.sizeSM,padding:B.size,paddingMD:B.sizeMD,paddingLG:B.sizeLG,paddingXL:B.sizeXL,paddingContentHorizontalLG:B.sizeLG,paddingContentVerticalLG:B.sizeMS,paddingContentHorizontal:B.sizeMS,paddingContentVertical:B.sizeSM,paddingContentHorizontalSM:B.size,paddingContentVerticalSM:B.sizeXS,marginXXS:B.sizeXXS,marginXS:B.sizeXS,marginSM:B.sizeSM,margin:B.size,marginMD:B.sizeMD,marginLG:B.sizeLG,marginXL:B.sizeXL,marginXXL:B.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:$,screenXSMin:$,screenXSMax:j-1,screenSM:j,screenSMMin:j,screenSMMax:K-1,screenMD:K,screenMDMin:K,screenMDMax:V-1,screenLG:V,screenLGMin:V,screenLGMax:W-1,screenXL:W,screenXLMin:W,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 P={};for(var D in R)Object.prototype.hasOwnProperty.call(R,D)&&L.indexOf(D)<0&&(P[D]=R[D]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,D=Object.getOwnPropertySymbols(R);B<D.length;B++)L.indexOf(D[B])<0&&Object.prototype.propertyIsEnumerable.call(R,D[B])&&(P[D[B]]=R[D[B]]);return P};const b=(R,L,P)=>{const D=P.getDerivativeToken(R),{override:B}=L,$=_(L,["override"]);let j=Object.assign(Object.assign({},D),{override:B});return j=y(j),$&&Object.entries($).forEach(K=>{let[V,W]=K;const{theme:oe}=W,ae=_(W,["theme"]);let ce=ae;oe&&(ce=b(Object.assign(Object.assign({},j),ae),{override:ae},oe)),j[V]=ce}),j};function A(){const{token:R,hashed:L,theme:P,components:D}=i.useContext(f.Mj),B=`${c}-${L||""}`,$=P||f.uH,[j,K]=(0,r.useCacheToken)($,[o.Z,R],{salt:B,override:Object.assign({override:R},D),getComputedToken:b,formatToken:y});return[$,j,L?K:""]}},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),o=e(88088),h=e(37613),u=e(73040);function a(p,y,_){let b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const A=Array.isArray(p)?p:[p,p],[R]=A,L=A.join("-");return P=>{const[D,B,$]=(0,o.Z)(),{getPrefixCls:j,iconPrefixCls:K,csp:V}=(0,r.useContext)(c.E_),W=j(),oe={theme:D,token:B,hashId:$,nonce:()=>V==null?void 0:V.nonce,clientOnly:b.clientOnly,order:b.order||-999};return(0,i.useStyleRegister)(Object.assign(Object.assign({},oe),{clientOnly:!1,path:["Shared",W]}),()=>[{"&":(0,f.Lx)(B)}]),(0,u.Z)(K),[(0,i.useStyleRegister)(Object.assign(Object.assign({},oe),{path:[L,P,K]}),()=>{const{token:ae,flush:ce}=(0,h.ZP)(B),q=Object.assign({},B[R]);if(b.deprecatedTokens){const{deprecatedTokens:ie}=b;ie.forEach(F=>{let[M,Q]=F;var de;(q!=null&&q[M]||q!=null&&q[Q])&&((de=q[Q])!==null&&de!==void 0||(q[Q]=q==null?void 0:q[M]))})}const J=typeof _=="function"?_((0,h.TS)(ae,q!=null?q:{})):_,Y=Object.assign(Object.assign({},J),q),le=`.${P}`,ne=(0,h.TS)(ae,{componentCls:le,prefixCls:P,iconCls:`.${K}`,antCls:`.${W}`},Y),ee=y(ne,{hashId:$,prefixCls:P,rootPrefixCls:W,iconPrefixCls:K,overrideComponentToken:q});return ce(R,Y),[b.resetStyle===!1?null:(0,f.du)(B,P),ee]}),$]}}const x=(p,y,_,b)=>{const A=a(p,y,_,Object.assign({resetStyle:!1,order:-998},b));return L=>{let{prefixCls:P}=L;return A(P),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,o)=>{const h=l[`${o}1`],u=l[`${o}3`],a=l[`${o}6`],x=l[`${o}7`];return Object.assign(Object.assign({},f),c(o,{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 o(){}function h(u){let a,x=u,p=o;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,o)=>{const[h,u]=(0,l.Z)();return(0,r.useStyleRegister)({theme:h,token:u,hashId:"",path:["ant-design-icons",f],nonce:()=>o==null?void 0:o.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 ce}});var r=e(59301),i=e(92310),l=e.n(i),c=e(55477),f=e(18929),o=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),A=e(45157),R=e(37613),L=e(83116);const P=q=>{const{componentCls:J,tooltipMaxWidth:Y,tooltipColor:le,tooltipBg:ne,tooltipBorderRadius:ee,zIndexPopup:ie,controlHeight:F,boxShadowSecondary:M,paddingSM:Q,paddingXS:de,tooltipRadiusOuter:Se}=q;return[{[J]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(q)),{position:"absolute",zIndex:ie,display:"block",width:"max-content",maxWidth:Y,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":ne,[`${J}-inner`]:{minWidth:F,minHeight:F,padding:`${Q/2}px ${de}px`,color:le,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:ne,borderRadius:ee,boxShadow:M,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${J}-inner`]:{borderRadius:Math.min(ee,b.qN)}},[`${J}-content`]:{position:"relative"}}),(0,A.Z)(q,(Ie,je)=>{let{darkColor:Fe}=je;return{[`&${J}-${Ie}`]:{[`${J}-inner`]:{backgroundColor:Fe},[`${J}-arrow`]:{"--antd-arrow-background-color":Fe}}}})),{"&-rtl":{direction:"rtl"}})},(0,b.ZP)((0,R.TS)(q,{borderRadiusOuter:Se}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:ee,limitVerticalRadius:!0}),{[`${J}-pure`]:{position:"relative",maxWidth:"none",margin:q.sizePopupArrow}}]};var D=(q,J)=>(0,L.Z)("Tooltip",le=>{if(J===!1)return[];const{borderRadius:ne,colorTextLightSolid:ee,colorBgDefault:ie,borderRadiusOuter:F}=le,M=(0,R.TS)(le,{tooltipMaxWidth:250,tooltipColor:ee,tooltipBorderRadius:ne,tooltipBg:ie,tooltipRadiusOuter:F>4?4:F});return[P(M),(0,_._y)(le,"zoom-big-fast")]},le=>{let{zIndexPopupBase:ne,colorBgSpotlight:ee}=le;return{zIndexPopup:ne+70,colorBgDefault:ee}},{resetStyle:!1})(q),B=e(36785);function $(q,J){const Y=(0,B.o2)(J),le=l()({[`${q}-${J}`]:J&&Y}),ne={},ee={};return J&&!Y&&(ne.background=J,ee["--antd-arrow-background-color"]=J),{className:le,overlayStyle:ne,arrowStyle:ee}}var K=q=>{const{prefixCls:J,className:Y,placement:le="top",title:ne,color:ee,overlayInnerStyle:ie}=q,{getPrefixCls:F}=r.useContext(a.E_),M=F("tooltip",J),[Q,de]=D(M,!0),Se=$(M,ee),Ie=Se.arrowStyle,je=Object.assign(Object.assign({},ie),Se.overlayStyle),Fe=l()(de,M,`${M}-pure`,`${M}-placement-${le}`,Y,Se.className);return Q(r.createElement("div",{className:Fe,style:Ie},r.createElement("div",{className:`${M}-arrow`}),r.createElement(c.G,Object.assign({},q,{className:de,prefixCls:M,overlayInnerStyle:je}),ne)))},V=function(q,J){var Y={};for(var le in q)Object.prototype.hasOwnProperty.call(q,le)&&J.indexOf(le)<0&&(Y[le]=q[le]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,le=Object.getOwnPropertySymbols(q);ne<le.length;ne++)J.indexOf(le[ne])<0&&Object.prototype.propertyIsEnumerable.call(q,le[ne])&&(Y[le[ne]]=q[le[ne]]);return Y};const W=(q,J)=>{const Y={},le=Object.assign({},q);return J.forEach(ne=>{q&&ne in q&&(Y[ne]=q[ne],delete le[ne])}),{picked:Y,omitted:le}};function oe(q,J){const Y=q.type;if((Y.__ANT_BUTTON===!0||q.type==="button")&&q.props.disabled||Y.__ANT_SWITCH===!0&&(q.props.disabled||q.props.loading)||Y.__ANT_RADIO===!0&&q.props.disabled){const{picked:le,omitted:ne}=W(q.props.style,["position","left","right","top","bottom","float","display","zIndex"]),ee=Object.assign(Object.assign({display:"inline-block"},le),{cursor:"not-allowed",width:q.props.block?"100%":void 0}),ie=Object.assign(Object.assign({},ne),{pointerEvents:"none"}),F=(0,u.Tm)(q,{style:ie,className:null});return r.createElement("span",{style:ee,className:l()(q.props.className,`${J}-disabled-compatible-wrapper`)},F)}return q}const ae=r.forwardRef((q,J)=>{var Y,le;const{prefixCls:ne,openClassName:ee,getTooltipContainer:ie,overlayClassName:F,color:M,overlayInnerStyle:Q,children:de,afterOpenChange:Se,afterVisibleChange:Ie,destroyTooltipOnHide:je,arrow:Fe=!0,title:Ft,overlay:_t,builtinPlacements:Pt,arrowPointAtCenter:Qt=!1,autoAdjustOverflow:Jt=!0}=q,qt=!!Fe,[,Xe]=(0,p.Z)(),{getPopupContainer:It,getPrefixCls:Ut,direction:ot}=r.useContext(a.E_),bt=r.useRef(null),ht=()=>{var ke;(ke=bt.current)===null||ke===void 0||ke.forceAlign()};r.useImperativeHandle(J,()=>({forceAlign:ht,forcePopupAlign:()=>{ht()}}));const[et,Ue]=(0,f.Z)(!1,{value:(Y=q.open)!==null&&Y!==void 0?Y:q.visible,defaultValue:(le=q.defaultOpen)!==null&&le!==void 0?le:q.defaultVisible}),ye=!Ft&&!_t&&Ft!==0,Pe=ke=>{var wt,xe;Ue(ye?!1:ke),ye||((wt=q.onOpenChange)===null||wt===void 0||wt.call(q,ke),(xe=q.onVisibleChange)===null||xe===void 0||xe.call(q,ke))},Me=r.useMemo(()=>{var ke,wt;let xe=Qt;return typeof Fe=="object"&&(xe=(wt=(ke=Fe.pointAtCenter)!==null&&ke!==void 0?ke:Fe.arrowPointAtCenter)!==null&&wt!==void 0?wt:Qt),Pt||(0,h.Z)({arrowPointAtCenter:xe,autoAdjustOverflow:Jt,arrowWidth:qt?Xe.sizePopupArrow:0,borderRadius:Xe.borderRadius,offset:Xe.marginXXS,visibleFirst:!0})},[Qt,Fe,Pt,Xe]),$e=r.useMemo(()=>Ft===0?Ft:_t||Ft||"",[_t,Ft]),He=r.createElement(x.BR,null,typeof $e=="function"?$e():$e),{getPopupContainer:nt,placement:ct="top",mouseEnterDelay:Gt=.1,mouseLeaveDelay:Ht=.1,overlayStyle:Oe,rootClassName:Je}=q,Wt=V(q,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),kt=Ut("tooltip",ne),Zt=Ut(),Bt=q["data-popover-inject"];let At=et;!("open"in q)&&!("visible"in q)&&ye&&(At=!1);const Kt=oe((0,u.l$)(de)&&!(0,u.M2)(de)?de:r.createElement("span",null,de),kt),We=Kt.props,fe=!We.className||typeof We.className=="string"?l()(We.className,ee||`${kt}-open`):We.className,[_e,Ot]=D(kt,!Bt),De=$(kt,M),dt=De.arrowStyle,zt=Object.assign(Object.assign({},Q),De.overlayStyle),Ct=l()(F,{[`${kt}-rtl`]:ot==="rtl"},De.className,Je,Ot);return _e(r.createElement(c.Z,Object.assign({},Wt,{showArrow:qt,placement:ct,mouseEnterDelay:Gt,mouseLeaveDelay:Ht,prefixCls:kt,overlayClassName:Ct,overlayStyle:Object.assign(Object.assign({},dt),Oe),getTooltipContainer:nt||ie||It,ref:bt,builtinPlacements:Me,overlay:He,visible:At,onVisibleChange:Pe,afterVisibleChange:Se!=null?Se:Ie,overlayInnerStyle:zt,arrowContent:r.createElement("span",{className:`${kt}-arrow-content`}),motion:{motionName:(0,o.m)(Zt,"zoom-big-fast",q.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!je}),At?(0,u.Tm)(Kt,{className:fe}):Kt))});ae._InternalPanelDoNotUseOrYouWillBeFired=K;var ce=ae},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 o=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 o=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"],A="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"],P=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],D=[x,y,p,b,A,R,L,P],B=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,$="str",j="kwd",K="com",V="typ",W="lit",oe="pun",ae="pln",ce="tag",q="dec",J="src",Y="atn",le="atv",ne="nocode",ee="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function ie(ot){for(var bt=0,ht=!1,et=!1,Ue=0,ye=ot.length;Ue<ye;++Ue){var Pe=ot[Ue];if(Pe.ignoreCase)et=!0;else if(/[a-z]/i.test(Pe.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){ht=!0,et=!1;break}}var Me={b:8,t:9,n:10,v:11,f:12,r:13};function $e(Ht){var Oe=Ht.charCodeAt(0);if(Oe!==92)return Oe;var Je=Ht.charAt(1);return Oe=Me[Je],Oe||("0"<=Je&&Je<="7"?parseInt(Ht.substring(1),8):Je==="u"||Je==="x"?parseInt(Ht.substring(2),16):Ht.charCodeAt(1))}function He(Ht){if(Ht<32)return(Ht<16?"\\x0":"\\x")+Ht.toString(16);var Oe=String.fromCharCode(Ht);return Oe==="\\"||Oe==="-"||Oe==="]"||Oe==="^"?"\\"+Oe:Oe}function nt(Ht){var Oe=Ht.substring(1,Ht.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")),Je=[],Wt=Oe[0]==="^",kt=["["];Wt&&kt.push("^");for(var Zt=Wt?1:0,Bt=Oe.length;Zt<Bt;++Zt){var At=Oe[Zt];if(/\\[bdsw]/i.test(At))kt.push(At);else{var Kt=$e(At),We;Zt+2<Bt&&Oe[Zt+1]==="-"?(We=$e(Oe[Zt+2]),Zt+=2):We=Kt,Je.push([Kt,We]),We<65||Kt>122||(We<65||Kt>90||Je.push([Math.max(65,Kt)|32,Math.min(We,90)|32]),We<97||Kt>122||Je.push([Math.max(97,Kt)&-33,Math.min(We,122)&-33]))}}Je.sort(function(De,dt){return De[0]-dt[0]||dt[1]-De[1]});for(var fe=[],_e=[],Zt=0;Zt<Je.length;++Zt){var Ot=Je[Zt];Ot[0]<=_e[1]+1?_e[1]=Math.max(_e[1],Ot[1]):fe.push(_e=Ot)}for(var Zt=0;Zt<fe.length;++Zt){var Ot=fe[Zt];kt.push(He(Ot[0])),Ot[1]>Ot[0]&&(Ot[1]+1>Ot[0]&&kt.push("-"),kt.push(He(Ot[1])))}return kt.push("]"),kt.join("")}function ct(Ht){for(var Oe=Ht.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")),Je=Oe.length,Wt=[],kt=0,Zt=0;kt<Je;++kt){var Bt=Oe[kt];if(Bt==="(")++Zt;else if(Bt.charAt(0)==="\\"){var At=+Bt.substring(1);At&&(At<=Zt?Wt[At]=-1:Oe[kt]=He(At))}}for(var kt=1;kt<Wt.length;++kt)Wt[kt]===-1&&(Wt[kt]=++bt);for(var kt=0,Zt=0;kt<Je;++kt){var Bt=Oe[kt];if(Bt==="(")++Zt,Wt[Zt]||(Oe[kt]="(?:");else if(Bt.charAt(0)==="\\"){var At=+Bt.substring(1);At&&At<=Zt&&(Oe[kt]="\\"+Wt[At])}}for(var kt=0;kt<Je;++kt)Oe[kt]==="^"&&Oe[kt+1]!=="^"&&(Oe[kt]="");if(Ht.ignoreCase&&ht)for(var kt=0;kt<Je;++kt){var Bt=Oe[kt],Kt=Bt.charAt(0);Bt.length>=2&&Kt==="["?Oe[kt]=nt(Bt):Kt!=="\\"&&(Oe[kt]=Bt.replace(/[a-zA-Z]/g,function(_e){var Ot=_e.charCodeAt(0);return"["+String.fromCharCode(Ot&-33,Ot|32)+"]"}))}return Oe.join("")}for(var Gt=[],Ue=0,ye=ot.length;Ue<ye;++Ue){var Pe=ot[Ue];if(Pe.global||Pe.multiline)throw new Error(""+Pe);Gt.push("(?:"+ct(Pe)+")")}return new RegExp(Gt.join("|"),et?"gi":"g")}function F(ot,bt){var ht=/(?:^|\s)nocode(?:\s|$)/,et=[],Ue=0,ye=[],Pe=0;function Me($e){var He=$e.nodeType;if(He==1){if(ht.test($e.className))return;for(var nt=$e.firstChild;nt;nt=nt.nextSibling)Me(nt);var ct=$e.nodeName.toLowerCase();(ct==="br"||ct==="li")&&(et[Pe]=`
|
|
|
`,ye[Pe<<1]=Ue++,ye[Pe++<<1|1]=$e)}else if(He==3||He==4){var Gt=$e.nodeValue;Gt.length&&(bt?Gt=Gt.replace(/\r\n?/g,`
|
|
|
`):Gt=Gt.replace(/[ \t\r\n]+/g," "),et[Pe]=Gt,ye[Pe<<1]=Ue,Ue+=Gt.length,ye[Pe++<<1|1]=$e)}}return Me(ot),{sourceCode:et.join("").replace(/\n$/,""),spans:ye}}function M(ot,bt,ht,et,Ue){if(ht){var ye={sourceNode:ot,pre:1,langExtension:null,numberLines:null,sourceCode:ht,spans:null,basePos:bt,decorations:null};et(ye),Ue.push.apply(Ue,ye.decorations)}}var Q=/\S/;function de(ot){for(var bt=void 0,ht=ot.firstChild;ht;ht=ht.nextSibling){var et=ht.nodeType;bt=et===1?bt?ot:ht:et===3&&Q.test(ht.nodeValue)?ot:bt}return bt===ot?void 0:bt}function Se(ot,bt){var ht={},et;(function(){for(var Pe=ot.concat(bt),Me=[],$e={},He=0,nt=Pe.length;He<nt;++He){var ct=Pe[He],Gt=ct[3];if(Gt)for(var Ht=Gt.length;--Ht>=0;)ht[Gt.charAt(Ht)]=ct;var Oe=ct[1],Je=""+Oe;$e.hasOwnProperty(Je)||(Me.push(Oe),$e[Je]=null)}Me.push(/[\0-\uffff]/),et=ie(Me)})();var Ue=bt.length,ye=function(Pe){for(var Me=Pe.sourceCode,$e=Pe.basePos,He=Pe.sourceNode,nt=[$e,ae],ct=0,Gt=Me.match(et)||[],Ht={},Oe=0,Je=Gt.length;Oe<Je;++Oe){var Wt=Gt[Oe],kt=Ht[Wt],Zt=void 0,Bt;if(typeof kt=="string")Bt=!1;else{var At=ht[Wt.charAt(0)];if(At)Zt=Wt.match(At[1]),kt=At[0];else{for(var Kt=0;Kt<Ue;++Kt)if(At=bt[Kt],Zt=Wt.match(At[1]),Zt){kt=At[0];break}Zt||(kt=ae)}Bt=kt.length>=5&&kt.substring(0,5)==="lang-",Bt&&!(Zt&&typeof Zt[1]=="string")&&(Bt=!1,kt=J),Bt||(Ht[Wt]=kt)}var We=ct;if(ct+=Wt.length,!Bt)nt.push($e+We,kt);else{var fe=Zt[1],_e=Wt.indexOf(fe),Ot=_e+fe.length;Zt[2]&&(Ot=Wt.length-Zt[2].length,_e=Ot-fe.length);var De=kt.substring(5);M(He,$e+We,Wt.substring(0,_e),ye,nt),M(He,$e+We+_e,fe,Qt(De,fe),nt),M(He,$e+We+Ot,Wt.substring(Ot),ye,nt)}}Pe.decorations=nt};return ye}function Ie(ot){var bt=[],ht=[];ot.tripleQuotedStrings?bt.push([$,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):ot.multiLineStrings?bt.push([$,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):bt.push([$,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),ot.verbatimStrings&&ht.push([$,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var et=ot.hashComments;et&&(ot.cStyleComments?(et>1?bt.push([K,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):bt.push([K,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),ht.push([$,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):bt.push([K,/^#[^\r\n]*/,null,"#"])),ot.cStyleComments&&(ht.push([K,/^\/\/[^\r\n]*/,null]),ht.push([K,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Ue=ot.regexLiterals;if(Ue){var ye=Ue>1?"":`
|
|
|
\r`,Pe=ye?".":"[\\S\\s]",Me="/(?=[^/*"+ye+"])(?:[^/\\x5B\\x5C"+ye+"]|\\x5C"+Pe+"|\\x5B(?:[^\\x5C\\x5D"+ye+"]|\\x5C"+Pe+")*(?:\\x5D|$))+/";ht.push(["lang-regex",RegExp("^"+ee+"("+Me+")")])}var $e=ot.types;$e&&ht.push([V,$e]);var He=(""+ot.keywords).replace(/^ | $/g,"");He.length&&ht.push([j,new RegExp("^(?:"+He.replace(/[\s,]+/g,"|")+")\\b"),null]),bt.push([ae,/^\s+/,null,` \r
|
|
|
\xA0`]);var nt="^.[^\\s\\w.$@'\"`/\\\\]*";return ot.regexLiterals&&(nt+="(?!s*/)"),ht.push([W,/^@[a-z_$][a-z_$@0-9]*/i,null],[V,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[ae,/^[a-z_$][a-z_$@0-9]*/i,null],[W,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[ae,/^\\[\s\S]?/,null],[oe,new RegExp(nt),null]),Se(bt,ht)}var je=Ie({keywords:D,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Fe(ot,bt,ht){for(var et=/(?:^|\s)nocode(?:\s|$)/,Ue=/\r\n?|\n/,ye=ot.ownerDocument,Pe=ye.createElement("li");ot.firstChild;)Pe.appendChild(ot.firstChild);var Me=[Pe];function $e(Oe){var Je=Oe.nodeType;if(Je==1&&!et.test(Oe.className))if(Oe.nodeName==="br")He(Oe),Oe.parentNode&&Oe.parentNode.removeChild(Oe);else for(var Wt=Oe.firstChild;Wt;Wt=Wt.nextSibling)$e(Wt);else if((Je==3||Je==4)&&ht){var kt=Oe.nodeValue,Zt=kt.match(Ue);if(Zt){var Bt=kt.substring(0,Zt.index);Oe.nodeValue=Bt;var At=kt.substring(Zt.index+Zt[0].length);if(At){var Kt=Oe.parentNode;Kt.insertBefore(ye.createTextNode(At),Oe.nextSibling)}He(Oe),Bt||Oe.parentNode.removeChild(Oe)}}}function He(Oe){for(;!Oe.nextSibling;)if(Oe=Oe.parentNode,!Oe)return;function Je(Zt,Bt){var At=Bt?Zt.cloneNode(!1):Zt,Kt=Zt.parentNode;if(Kt){var We=Je(Kt,1),fe=Zt.nextSibling;We.appendChild(At);for(var _e=fe;_e;_e=fe)fe=_e.nextSibling,We.appendChild(_e)}return At}for(var Wt=Je(Oe.nextSibling,0),kt;(kt=Wt.parentNode)&&kt.nodeType===1;)Wt=kt;Me.push(Wt)}for(var nt=0;nt<Me.length;++nt)$e(Me[nt]);bt===(bt|0)&&Me[0].setAttribute("value",bt);var ct=ye.createElement("ol");ct.className="linenums";for(var Gt=Math.max(0,bt-1|0)||0,nt=0,Ht=Me.length;nt<Ht;++nt)Pe=Me[nt],Pe.className="L"+(nt+Gt)%10,Pe.firstChild||Pe.appendChild(ye.createTextNode("\xA0")),ct.appendChild(Pe);ot.appendChild(ct)}function Ft(ot){var bt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);bt=bt&&+bt[1]<=8;var ht=/\n/g,et=ot.sourceCode,Ue=et.length,ye=0,Pe=ot.spans,Me=Pe.length,$e=0,He=ot.decorations,nt=He.length,ct=0;He[nt]=Ue;var Gt,Ht;for(Ht=Gt=0;Ht<nt;)He[Ht]!==He[Ht+2]?(He[Gt++]=He[Ht++],He[Gt++]=He[Ht++]):Ht+=2;for(nt=Gt,Ht=Gt=0;Ht<nt;){for(var Oe=He[Ht],Je=He[Ht+1],Wt=Ht+2;Wt+2<=nt&&He[Wt+1]===Je;)Wt+=2;He[Gt++]=Oe,He[Gt++]=Je,Ht=Wt}nt=He.length=Gt;var kt=ot.sourceNode,Zt="";kt&&(Zt=kt.style.display,kt.style.display="none");try{for(var Bt=null;$e<Me;){var At=Pe[$e],Kt=Pe[$e+2]||Ue,We=He[ct+2]||Ue,Wt=Math.min(Kt,We),fe=Pe[$e+1],_e;if(fe.nodeType!==1&&(_e=et.substring(ye,Wt))){bt&&(_e=_e.replace(ht,"\r")),fe.nodeValue=_e;var Ot=fe.ownerDocument,De=Ot.createElement("span");De.className=He[ct+1];var dt=fe.parentNode;dt.replaceChild(De,fe),De.appendChild(fe),ye<Kt&&(Pe[$e+1]=fe=Ot.createTextNode(et.substring(Wt,Kt)),dt.insertBefore(fe,De.nextSibling))}ye=Wt,ye>=Kt&&($e+=2),ye>=We&&(ct+=2)}}finally{kt&&(kt.style.display=Zt)}}var _t={};function Pt(ot,bt){for(var ht=bt.length;--ht>=0;){var et=bt[ht];_t.hasOwnProperty(et)?o.console&&console.warn("cannot override language handler %s",et):_t[et]=ot}}function Qt(ot,bt){return ot&&_t.hasOwnProperty(ot)||(ot=/^\s*</.test(bt)?"default-markup":"default-code"),_t[ot]}Pt(je,["default-code"]),Pt(Se([],[[ae,/^[^<?]+/],[q,/^<!\w[^>]*(?:>|$)/],[K,/^<\!--[\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"]),Pt(Se([[ae,/^[\s]+/,null,` \r
|
|
|
`],[le,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[ce,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[Y,/^(?!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"]),Pt(Se([],[[le,/^[\s\S]+/]]),["uq.val"]),Pt(Ie({keywords:x,hashComments:!0,cStyleComments:!0,types:B}),["c","cc","cpp","cxx","cyc","m"]),Pt(Ie({keywords:"null,true,false"}),["json"]),Pt(Ie({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:B}),["cs"]),Pt(Ie({keywords:p,cStyleComments:!0}),["java"]),Pt(Ie({keywords:P,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Pt(Ie({keywords:R,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Pt(Ie({keywords:A,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Pt(Ie({keywords:L,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Pt(Ie({keywords:b,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Pt(Ie({keywords:_,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Pt(Se([],[[$,/^[\s\S]+/]]),["regex"]);function Jt(ot){var bt=ot.langExtension;try{var ht=F(ot.sourceNode,ot.pre),et=ht.sourceCode;ot.sourceCode=et,ot.spans=ht.spans,ot.basePos=0,Qt(bt,et)(ot),Ft(ot)}catch(Ue){o.console&&console.log(Ue&&Ue.stack||Ue)}}function qt(ot,bt,ht){var et=ht||!1,Ue=bt||null,ye=document.createElement("div");ye.innerHTML="<pre>"+ot+"</pre>",ye=ye.firstChild,et&&Fe(ye,et,!0);var Pe={langExtension:Ue,numberLines:et,sourceNode:ye,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Jt(Pe),ye.innerHTML}function Xe(ot,bt){var ht=bt||document.body,et=ht.ownerDocument||document;function Ue(At){return ht.getElementsByTagName(At)}for(var ye=[Ue("pre"),Ue("code"),Ue("xmp")],Pe=[],Me=0;Me<ye.length;++Me)for(var $e=0,He=ye[Me].length;$e<He;++$e)Pe.push(ye[Me][$e]);ye=null;var nt=Date;nt.now||(nt={now:function(){return+new Date}});var ct=0,Gt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ht=/\bprettyprint\b/,Oe=/\bprettyprinted\b/,Je=/pre|xmp/i,Wt=/^code$/i,kt=/^(?:pre|code|xmp)$/i,Zt={};function Bt(){for(var At=o.PR_SHOULD_USE_CONTINUATION?nt.now()+250:1/0;ct<Pe.length&&nt.now()<At;ct++){for(var Kt=Pe[ct],We=Zt,fe=Kt;fe=fe.previousSibling;){var _e=fe.nodeType,Ot=(_e===7||_e===8)&&fe.nodeValue;if(Ot?!/^\??prettify\b/.test(Ot):_e!==3||/\S/.test(fe.nodeValue))break;if(Ot){We={},Ot.replace(/\b(\w+)=([\w:.%+-]+)/g,function(St,Gr,Xr){We[Gr]=Xr});break}}var De=Kt.className;if((We!==Zt||Ht.test(De))&&!Oe.test(De)){for(var dt=!1,zt=Kt.parentNode;zt;zt=zt.parentNode){var Ct=zt.tagName;if(kt.test(Ct)&&zt.className&&Ht.test(zt.className)){dt=!0;break}}if(!dt){Kt.className+=" prettyprinted";var ke=We.lang;if(!ke){ke=De.match(Gt);var wt;!ke&&(wt=de(Kt))&&Wt.test(wt.tagName)&&(ke=wt.className.match(Gt)),ke&&(ke=ke[1])}var xe;if(Je.test(Kt.tagName))xe=1;else{var Ke=Kt.currentStyle,gt=et.defaultView,Lt=Ke?Ke.whiteSpace:gt&>.getComputedStyle?gt.getComputedStyle(Kt,null).getPropertyValue("white-space"):0;xe=Lt&&Lt.substring(0,3)==="pre"}var Be=We.linenums;(Be=Be==="true"||+Be)||(Be=De.match(/\blinenums\b(?::(\d+))?/),Be=Be?Be[1]&&Be[1].length?+Be[1]:!0:!1),Be&&Fe(Kt,Be,xe);var Dr={langExtension:ke,sourceNode:Kt,numberLines:Be,pre:xe,sourceCode:null,basePos:null,spans:null,decorations:null};Jt(Dr)}}}ct<Pe.length?o.setTimeout(Bt,250):typeof ot=="function"&&ot()}Bt()}var It=o.PR={createSimpleLexer:Se,registerLangHandler:Pt,sourceDecorator:Ie,PR_ATTRIB_NAME:Y,PR_ATTRIB_VALUE:le,PR_COMMENT:K,PR_DECLARATION:q,PR_KEYWORD:j,PR_LITERAL:W,PR_NOCODE:ne,PR_PLAIN:ae,PR_PUNCTUATION:oe,PR_SOURCE:J,PR_STRING:$,PR_TAG:ce,PR_TYPE:V,prettyPrintOne:r?o.prettyPrintOne=qt:c=qt,prettyPrint:f=r?o.prettyPrint=Xe:f=Xe},Ut=o.define;typeof Ut=="function"&&Ut.amd&&Ut("google-code-prettify",[],function(){return It})})()},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(o){var h=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return o.replace(/#{\s*key\s*}/g,h)}function f(o,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=o,_.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,o)}else R.clipboardData.clearData(),R.clipboardData.setData(h.format,o);h.onCopy&&(R.preventDefault(),h.onCopy(R.clipboardData))}),document.body.appendChild(_),p.selectNodeContents(_),y.addRange(p);var A=document.execCommand("copy");if(!A)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",o),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,o)}}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,o=[],h=[],u=[],a=[],x=[],p=[],y=[],_=[],b=[],A=[];(function(){for(var P=[],D=0;D<256;D++)D<128?P[D]=D<<1:P[D]=D<<1^283;for(var B=0,$=0,D=0;D<256;D++){var j=$^$<<1^$<<2^$<<3^$<<4;j=j>>>8^j&255^99,o[B]=j,h[j]=B;var K=P[B],V=P[K],W=P[V],oe=P[j]*257^j*16843008;u[B]=oe<<24|oe>>>8,a[B]=oe<<16|oe>>>16,x[B]=oe<<8|oe>>>24,p[B]=oe;var oe=W*16843009^V*65537^K*257^B*16843008;y[j]=oe<<24|oe>>>8,_[j]=oe<<16|oe>>>16,b[j]=oe<<8|oe>>>24,A[j]=oe,B?(B=K^P[P[P[W^K]]],$^=P[P[$]]):B=$=1}})();var R=[0,1,2,4,8,16,32,64,128,27,54],L=f.AES=c.extend({_doReset:function(){var P;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var D=this._keyPriorReset=this._key,B=D.words,$=D.sigBytes/4,j=this._nRounds=$+6,K=(j+1)*4,V=this._keySchedule=[],W=0;W<K;W++)W<$?V[W]=B[W]:(P=V[W-1],W%$?$>6&&W%$==4&&(P=o[P>>>24]<<24|o[P>>>16&255]<<16|o[P>>>8&255]<<8|o[P&255]):(P=P<<8|P>>>24,P=o[P>>>24]<<24|o[P>>>16&255]<<16|o[P>>>8&255]<<8|o[P&255],P^=R[W/$|0]<<24),V[W]=V[W-$]^P);for(var oe=this._invKeySchedule=[],ae=0;ae<K;ae++){var W=K-ae;if(ae%4)var P=V[W];else var P=V[W-4];ae<4||W<=4?oe[ae]=P:oe[ae]=y[o[P>>>24]]^_[o[P>>>16&255]]^b[o[P>>>8&255]]^A[o[P&255]]}}},encryptBlock:function(P,D){this._doCryptBlock(P,D,this._keySchedule,u,a,x,p,o)},decryptBlock:function(P,D){var B=P[D+1];P[D+1]=P[D+3],P[D+3]=B,this._doCryptBlock(P,D,this._invKeySchedule,y,_,b,A,h);var B=P[D+1];P[D+1]=P[D+3],P[D+3]=B},_doCryptBlock:function(P,D,B,$,j,K,V,W){for(var oe=this._nRounds,ae=P[D]^B[0],ce=P[D+1]^B[1],q=P[D+2]^B[2],J=P[D+3]^B[3],Y=4,le=1;le<oe;le++){var ne=$[ae>>>24]^j[ce>>>16&255]^K[q>>>8&255]^V[J&255]^B[Y++],ee=$[ce>>>24]^j[q>>>16&255]^K[J>>>8&255]^V[ae&255]^B[Y++],ie=$[q>>>24]^j[J>>>16&255]^K[ae>>>8&255]^V[ce&255]^B[Y++],F=$[J>>>24]^j[ae>>>16&255]^K[ce>>>8&255]^V[q&255]^B[Y++];ae=ne,ce=ee,q=ie,J=F}var ne=(W[ae>>>24]<<24|W[ce>>>16&255]<<16|W[q>>>8&255]<<8|W[J&255])^B[Y++],ee=(W[ce>>>24]<<24|W[q>>>16&255]<<16|W[J>>>8&255]<<8|W[ae&255])^B[Y++],ie=(W[q>>>24]<<24|W[J>>>16&255]<<16|W[ae>>>8&255]<<8|W[ce&255])^B[Y++],F=(W[J>>>24]<<24|W[ae>>>16&255]<<16|W[ce>>>8&255]<<8|W[q&255])^B[Y++];P[D]=ne,P[D+1]=ee,P[D+2]=ie,P[D+3]=F},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,o=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(ce,q){return this.create(this._ENC_XFORM_MODE,ce,q)},createDecryptor:function(ce,q){return this.create(this._DEC_XFORM_MODE,ce,q)},init:function(ce,q,J){this.cfg=this.cfg.extend(J),this._xformMode=ce,this._key=q,this.reset()},reset:function(){h.reset.call(this),this._doReset()},process:function(ce){return this._append(ce),this._process()},finalize:function(ce){ce&&this._append(ce);var q=this._doFinalize();return q},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function ce(q){return typeof q=="string"?ae:V}return function(q){return{encrypt:function(J,Y,le){return ce(Y).encrypt(q,J,Y,le)},decrypt:function(J,Y,le){return ce(Y).decrypt(q,J,Y,le)}}}}()}),b=c.StreamCipher=_.extend({_doFinalize:function(){var ce=this._process(!0);return ce},blockSize:1}),A=l.mode={},R=c.BlockCipherMode=f.extend({createEncryptor:function(ce,q){return this.Encryptor.create(ce,q)},createDecryptor:function(ce,q){return this.Decryptor.create(ce,q)},init:function(ce,q){this._cipher=ce,this._iv=q}}),L=A.CBC=function(){var ce=R.extend();ce.Encryptor=ce.extend({processBlock:function(J,Y){var le=this._cipher,ne=le.blockSize;q.call(this,J,Y,ne),le.encryptBlock(J,Y),this._prevBlock=J.slice(Y,Y+ne)}}),ce.Decryptor=ce.extend({processBlock:function(J,Y){var le=this._cipher,ne=le.blockSize,ee=J.slice(Y,Y+ne);le.decryptBlock(J,Y),q.call(this,J,Y,ne),this._prevBlock=ee}});function q(J,Y,le){var ne,ee=this._iv;ee?(ne=ee,this._iv=i):ne=this._prevBlock;for(var ie=0;ie<le;ie++)J[Y+ie]^=ne[ie]}return ce}(),P=l.pad={},D=P.Pkcs7={pad:function(ce,q){for(var J=q*4,Y=J-ce.sigBytes%J,le=Y<<24|Y<<16|Y<<8|Y,ne=[],ee=0;ee<Y;ee+=4)ne.push(le);var ie=o.create(ne,Y);ce.concat(ie)},unpad:function(ce){var q=ce.words[ce.sigBytes-1>>>2]&255;ce.sigBytes-=q}},B=c.BlockCipher=_.extend({cfg:_.cfg.extend({mode:L,padding:D}),reset:function(){var ce;_.reset.call(this);var q=this.cfg,J=q.iv,Y=q.mode;this._xformMode==this._ENC_XFORM_MODE?ce=Y.createEncryptor:(ce=Y.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==ce?this._mode.init(this,J&&J.words):(this._mode=ce.call(Y,this,J&&J.words),this._mode.__creator=ce)},_doProcessBlock:function(ce,q){this._mode.processBlock(ce,q)},_doFinalize:function(){var ce,q=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(q.pad(this._data,this.blockSize),ce=this._process(!0)):(ce=this._process(!0),q.unpad(ce)),ce},blockSize:128/32}),$=c.CipherParams=f.extend({init:function(ce){this.mixIn(ce)},toString:function(ce){return(ce||this.formatter).stringify(this)}}),j=l.format={},K=j.OpenSSL={stringify:function(ce){var q,J=ce.ciphertext,Y=ce.salt;return Y?q=o.create([1398893684,1701076831]).concat(Y).concat(J):q=J,q.toString(x)},parse:function(ce){var q,J=x.parse(ce),Y=J.words;return Y[0]==1398893684&&Y[1]==1701076831&&(q=o.create(Y.slice(2,4)),Y.splice(0,4),J.sigBytes-=16),$.create({ciphertext:J,salt:q})}},V=c.SerializableCipher=f.extend({cfg:f.extend({format:K}),encrypt:function(ce,q,J,Y){Y=this.cfg.extend(Y);var le=ce.createEncryptor(J,Y),ne=le.finalize(q),ee=le.cfg;return $.create({ciphertext:ne,key:J,iv:ee.iv,algorithm:ce,mode:ee.mode,padding:ee.padding,blockSize:ce.blockSize,formatter:Y.format})},decrypt:function(ce,q,J,Y){Y=this.cfg.extend(Y),q=this._parse(q,Y.format);var le=ce.createDecryptor(J,Y).finalize(q.ciphertext);return le},_parse:function(ce,q){return typeof ce=="string"?q.parse(ce,this):ce}}),W=l.kdf={},oe=W.OpenSSL={execute:function(ce,q,J,Y){Y||(Y=o.random(64/8));var le=y.create({keySize:q+J}).compute(ce,Y),ne=o.create(le.words.slice(q),J*4);return le.sigBytes=q*4,$.create({key:le,iv:ne,salt:Y})}},ae=c.PasswordBasedCipher=V.extend({cfg:V.cfg.extend({kdf:oe}),encrypt:function(ce,q,J,Y){Y=this.cfg.extend(Y);var le=Y.kdf.execute(J,ce.keySize,ce.ivSize);Y.iv=le.iv;var ne=V.encrypt.call(this,ce,q,le.key,Y);return ne.mixIn(le),ne},decrypt:function(ce,q,J,Y){Y=this.cfg.extend(Y),q=this._parse(q,Y.format);var le=Y.kdf.execute(J,ce.keySize,ce.ivSize,q.salt);Y.iv=le.iv;var ne=V.decrypt.call(this,ce,q,le.key,Y);return ne}})}()})},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(P){}var f=function(){if(c){if(typeof c.getRandomValues=="function")try{return c.getRandomValues(new Uint32Array(1))[0]}catch(P){}if(typeof c.randomBytes=="function")try{return c.randomBytes(4).readInt32LE()}catch(P){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function P(){}return function(D){var B;return P.prototype=D,B=new P,P.prototype=null,B}}(),h={},u=h.lib={},a=u.Base=function(){return{extend:function(P){var D=o(this);return P&&D.mixIn(P),(!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 P=this.extend();return P.init.apply(P,arguments),P},init:function(){},mixIn:function(P){for(var D in P)P.hasOwnProperty(D)&&(this[D]=P[D]);P.hasOwnProperty("toString")&&(this.toString=P.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=u.WordArray=a.extend({init:function(P,D){P=this.words=P||[],D!=l?this.sigBytes=D:this.sigBytes=P.length*4},toString:function(P){return(P||y).stringify(this)},concat:function(P){var D=this.words,B=P.words,$=this.sigBytes,j=P.sigBytes;if(this.clamp(),$%4)for(var K=0;K<j;K++){var V=B[K>>>2]>>>24-K%4*8&255;D[$+K>>>2]|=V<<24-($+K)%4*8}else for(var W=0;W<j;W+=4)D[$+W>>>2]=B[W>>>2];return this.sigBytes+=j,this},clamp:function(){var P=this.words,D=this.sigBytes;P[D>>>2]&=4294967295<<32-D%4*8,P.length=i.ceil(D/4)},clone:function(){var P=a.clone.call(this);return P.words=this.words.slice(0),P},random:function(P){for(var D=[],B=0;B<P;B+=4)D.push(f());return new x.init(D,P)}}),p=h.enc={},y=p.Hex={stringify:function(P){for(var D=P.words,B=P.sigBytes,$=[],j=0;j<B;j++){var K=D[j>>>2]>>>24-j%4*8&255;$.push((K>>>4).toString(16)),$.push((K&15).toString(16))}return $.join("")},parse:function(P){for(var D=P.length,B=[],$=0;$<D;$+=2)B[$>>>3]|=parseInt(P.substr($,2),16)<<24-$%8*4;return new x.init(B,D/2)}},_=p.Latin1={stringify:function(P){for(var D=P.words,B=P.sigBytes,$=[],j=0;j<B;j++){var K=D[j>>>2]>>>24-j%4*8&255;$.push(String.fromCharCode(K))}return $.join("")},parse:function(P){for(var D=P.length,B=[],$=0;$<D;$++)B[$>>>2]|=(P.charCodeAt($)&255)<<24-$%4*8;return new x.init(B,D)}},b=p.Utf8={stringify:function(P){try{return decodeURIComponent(escape(_.stringify(P)))}catch(D){throw new Error("Malformed UTF-8 data")}},parse:function(P){return _.parse(unescape(encodeURIComponent(P)))}},A=u.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(P){typeof P=="string"&&(P=b.parse(P)),this._data.concat(P),this._nDataBytes+=P.sigBytes},_process:function(P){var D,B=this._data,$=B.words,j=B.sigBytes,K=this.blockSize,V=K*4,W=j/V;P?W=i.ceil(W):W=i.max((W|0)-this._minBufferSize,0);var oe=W*K,ae=i.min(oe*4,j);if(oe){for(var ce=0;ce<oe;ce+=K)this._doProcessBlock($,ce);D=$.splice(0,oe),B.sigBytes-=ae}return new x.init(D,ae)},clone:function(){var P=a.clone.call(this);return P._data=this._data.clone(),P},_minBufferSize:0}),R=u.Hasher=A.extend({cfg:a.extend(),init:function(P){this.cfg=this.cfg.extend(P),this.reset()},reset:function(){A.reset.call(this),this._doReset()},update:function(P){return this._append(P),this._process(),this},finalize:function(P){P&&this._append(P);var D=this._doFinalize();return D},blockSize:512/32,_createHelper:function(P){return function(D,B){return new P.init(B).finalize(D)}},_createHmacHelper:function(P){return function(D,B){return new L.HMAC.init(P,B).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,o=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,A=a[_+1>>>2]>>>24-(_+1)%4*8&255,R=a[_+2>>>2]>>>24-(_+2)%4*8&255,L=b<<16|A<<8|R,P=0;P<4&&_+P*.75<x;P++)y.push(p.charAt(L>>>6*(3-P)&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,A=x[u.charCodeAt(_)]>>>6-_%4*2,R=b|A;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,o=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 A=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,P=A<<16|R<<8|L,D=0;D<4&&b+D*.75<p;D++)_.push(y.charAt(P>>>6*(3-D)&63));var B=y.charAt(64);if(B)for(;_.length%4;)_.push(B);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 A=u.indexOf(b);A!==-1&&(x=A)}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,A=x[u.charCodeAt(_)]>>>6-_%4*2,R=b|A;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,o=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,o=i.algo,h=o.MD5,u=o.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(),A=b.words,R=y.keySize,L=y.iterations;A.length<R;){p&&_.update(p),p=_.update(a).finalize(x),_.reset();for(var P=1;P<L;P++)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,o=l.enc,h=o.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,o=f.Utf8,h=i.algo,u=h.HMAC=c.extend({init:function(a,x){a=this._hasher=new a.init,typeof x=="string"&&(x=o.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(),A=_.words,R=b.words,L=0;L<p;L++)A[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,o=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)};o.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,o=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=o.extend({_doReset:function(){this._hash=new f.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(b,A){for(var R=0;R<16;R++){var L=A+R,P=b[L];b[L]=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360}var D=this._hash.words,B=b[A+0],$=b[A+1],j=b[A+2],K=b[A+3],V=b[A+4],W=b[A+5],oe=b[A+6],ae=b[A+7],ce=b[A+8],q=b[A+9],J=b[A+10],Y=b[A+11],le=b[A+12],ne=b[A+13],ee=b[A+14],ie=b[A+15],F=D[0],M=D[1],Q=D[2],de=D[3];F=x(F,M,Q,de,B,7,u[0]),de=x(de,F,M,Q,$,12,u[1]),Q=x(Q,de,F,M,j,17,u[2]),M=x(M,Q,de,F,K,22,u[3]),F=x(F,M,Q,de,V,7,u[4]),de=x(de,F,M,Q,W,12,u[5]),Q=x(Q,de,F,M,oe,17,u[6]),M=x(M,Q,de,F,ae,22,u[7]),F=x(F,M,Q,de,ce,7,u[8]),de=x(de,F,M,Q,q,12,u[9]),Q=x(Q,de,F,M,J,17,u[10]),M=x(M,Q,de,F,Y,22,u[11]),F=x(F,M,Q,de,le,7,u[12]),de=x(de,F,M,Q,ne,12,u[13]),Q=x(Q,de,F,M,ee,17,u[14]),M=x(M,Q,de,F,ie,22,u[15]),F=p(F,M,Q,de,$,5,u[16]),de=p(de,F,M,Q,oe,9,u[17]),Q=p(Q,de,F,M,Y,14,u[18]),M=p(M,Q,de,F,B,20,u[19]),F=p(F,M,Q,de,W,5,u[20]),de=p(de,F,M,Q,J,9,u[21]),Q=p(Q,de,F,M,ie,14,u[22]),M=p(M,Q,de,F,V,20,u[23]),F=p(F,M,Q,de,q,5,u[24]),de=p(de,F,M,Q,ee,9,u[25]),Q=p(Q,de,F,M,K,14,u[26]),M=p(M,Q,de,F,ce,20,u[27]),F=p(F,M,Q,de,ne,5,u[28]),de=p(de,F,M,Q,j,9,u[29]),Q=p(Q,de,F,M,ae,14,u[30]),M=p(M,Q,de,F,le,20,u[31]),F=y(F,M,Q,de,W,4,u[32]),de=y(de,F,M,Q,ce,11,u[33]),Q=y(Q,de,F,M,Y,16,u[34]),M=y(M,Q,de,F,ee,23,u[35]),F=y(F,M,Q,de,$,4,u[36]),de=y(de,F,M,Q,V,11,u[37]),Q=y(Q,de,F,M,ae,16,u[38]),M=y(M,Q,de,F,J,23,u[39]),F=y(F,M,Q,de,ne,4,u[40]),de=y(de,F,M,Q,B,11,u[41]),Q=y(Q,de,F,M,K,16,u[42]),M=y(M,Q,de,F,oe,23,u[43]),F=y(F,M,Q,de,q,4,u[44]),de=y(de,F,M,Q,le,11,u[45]),Q=y(Q,de,F,M,ie,16,u[46]),M=y(M,Q,de,F,j,23,u[47]),F=_(F,M,Q,de,B,6,u[48]),de=_(de,F,M,Q,ae,10,u[49]),Q=_(Q,de,F,M,ee,15,u[50]),M=_(M,Q,de,F,W,21,u[51]),F=_(F,M,Q,de,le,6,u[52]),de=_(de,F,M,Q,K,10,u[53]),Q=_(Q,de,F,M,J,15,u[54]),M=_(M,Q,de,F,$,21,u[55]),F=_(F,M,Q,de,ce,6,u[56]),de=_(de,F,M,Q,ie,10,u[57]),Q=_(Q,de,F,M,oe,15,u[58]),M=_(M,Q,de,F,ne,21,u[59]),F=_(F,M,Q,de,V,6,u[60]),de=_(de,F,M,Q,Y,10,u[61]),Q=_(Q,de,F,M,j,15,u[62]),M=_(M,Q,de,F,q,21,u[63]),D[0]=D[0]+F|0,D[1]=D[1]+M|0,D[2]=D[2]+Q|0,D[3]=D[3]+de|0},_doFinalize:function(){var b=this._data,A=b.words,R=this._nDataBytes*8,L=b.sigBytes*8;A[L>>>5]|=128<<24-L%32;var P=i.floor(R/4294967296),D=R;A[(L+64>>>9<<4)+15]=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,A[(L+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,b.sigBytes=(A.length+1)*4,this._process();for(var B=this._hash,$=B.words,j=0;j<4;j++){var K=$[j];$[j]=(K<<8|K>>>24)&16711935|(K<<24|K>>>8)&4278255360}return B},clone:function(){var b=o.clone.call(this);return b._hash=this._hash.clone(),b}});function x(b,A,R,L,P,D,B){var $=b+(A&R|~A&L)+P+B;return($<<D|$>>>32-D)+A}function p(b,A,R,L,P,D,B){var $=b+(A&L|R&~L)+P+B;return($<<D|$>>>32-D)+A}function y(b,A,R,L,P,D,B){var $=b+(A^R^L)+P+B;return($<<D|$>>>32-D)+A}function _(b,A,R,L,P,D,B){var $=b+(R^(A|~L))+P+B;return($<<D|$>>>32-D)+A}l.MD5=o._createHelper(a),l.HmacMD5=o._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 o=this._cipher,h=o.blockSize;l.call(this,c,f,h,o),this._prevBlock=c.slice(f,f+h)}}),i.Decryptor=i.extend({processBlock:function(c,f){var o=this._cipher,h=o.blockSize,u=c.slice(f,f+h);l.call(this,c,f,h,o),this._prevBlock=u}});function l(c,f,o,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<o;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(o){if((o>>24&255)===255){var h=o>>16&255,u=o>>8&255,a=o&255;h===255?(h=0,u===255?(u=0,a===255?a=0:++a):++u):++h,o=0,o+=h<<16,o+=u<<8,o+=a}else o+=16777216;return o}function c(o){return(o[0]=l(o[0]))===0&&(o[1]=l(o[1])),o}var f=i.Encryptor=i.extend({processBlock:function(o,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;_++)o[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 o=this._cipher,h=o.blockSize,u=this._iv,a=this._counter;u&&(a=this._counter=u.slice(0),this._iv=void 0);var x=a.slice(0);o.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 o=this._cipher,h=o.blockSize,u=this._iv,a=this._keystream;u&&(a=this._keystream=u.slice(0),this._iv=void 0),o.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,o=f-c%f,h=c+o-1;i.clamp(),i.words[h>>>2]|=o<<24-h%4*8,i.sigBytes+=o},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,o=i.algo,h=o.SHA1,u=o.HMAC,a=o.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(),A=f.create([1]),R=b.words,L=A.words,P=y.keySize,D=y.iterations;R.length<P;){var B=_.update(p).finalize(A);_.reset();for(var $=B.words,j=$.length,K=B,V=1;V<D;V++){K=_.finalize(K),_.reset();for(var W=K.words,oe=0;oe<j;oe++)$[oe]^=W[oe]}b.concat(B),L[0]++}return b.sigBytes=P*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,o=[],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 A=0;A<4;A++)x.call(this);for(var A=0;A<8;A++)b[A]^=_[A+4&7];if(y){var R=y.words,L=R[0],P=R[1],D=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,B=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,$=D>>>16|B&4294901760,j=B<<16|D&65535;b[0]^=D,b[1]^=$,b[2]^=B,b[3]^=j,b[4]^=D,b[5]^=$,b[6]^=B,b[7]^=j;for(var A=0;A<4;A++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),o[0]=_[0]^_[5]>>>16^_[3]<<16,o[1]=_[2]^_[7]>>>16^_[5]<<16,o[2]=_[4]^_[1]>>>16^_[7]<<16,o[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)o[b]=(o[b]<<8|o[b]>>>24)&16711935|(o[b]<<24|o[b]>>>8)&4278255360,p[y+b]^=o[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[_],A=b&65535,R=b>>>16,L=((A*A>>>17)+A*R>>>15)+R*R,P=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=L^P}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,o=[],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],A=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;_++)A[_]^=b[_+4&7];if(y){var R=y.words,L=R[0],P=R[1],D=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,B=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,$=D>>>16|B&4294901760,j=B<<16|D&65535;A[0]^=D,A[1]^=$,A[2]^=B,A[3]^=j,A[4]^=D,A[5]^=$,A[6]^=B,A[7]^=j;for(var _=0;_<4;_++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),o[0]=_[0]^_[5]>>>16^_[3]<<16,o[1]=_[2]^_[7]>>>16^_[5]<<16,o[2]=_[4]^_[1]>>>16^_[7]<<16,o[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)o[b]=(o[b]<<8|o[b]>>>24)&16711935|(o[b]<<24|o[b]>>>8)&4278255360,p[y+b]^=o[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[_],A=b&65535,R=b>>>16,L=((A*A>>>17)+A*R>>>15)+R*R,P=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=L^P}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,o=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 A=_%p,R=x[A>>>2]>>>24-A%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(o);var u=f.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._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,o=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=o.extend({_doReset:function(){this._hash=f.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function($,j){for(var K=0;K<16;K++){var V=j+K,W=$[V];$[V]=(W<<8|W>>>24)&16711935|(W<<24|W>>>8)&4278255360}var oe=this._hash.words,ae=y.words,ce=_.words,q=u.words,J=a.words,Y=x.words,le=p.words,ne,ee,ie,F,M,Q,de,Se,Ie,je;Q=ne=oe[0],de=ee=oe[1],Se=ie=oe[2],Ie=F=oe[3],je=M=oe[4];for(var Fe,K=0;K<80;K+=1)Fe=ne+$[j+q[K]]|0,K<16?Fe+=A(ee,ie,F)+ae[0]:K<32?Fe+=R(ee,ie,F)+ae[1]:K<48?Fe+=L(ee,ie,F)+ae[2]:K<64?Fe+=P(ee,ie,F)+ae[3]:Fe+=D(ee,ie,F)+ae[4],Fe=Fe|0,Fe=B(Fe,Y[K]),Fe=Fe+M|0,ne=M,M=F,F=B(ie,10),ie=ee,ee=Fe,Fe=Q+$[j+J[K]]|0,K<16?Fe+=D(de,Se,Ie)+ce[0]:K<32?Fe+=P(de,Se,Ie)+ce[1]:K<48?Fe+=L(de,Se,Ie)+ce[2]:K<64?Fe+=R(de,Se,Ie)+ce[3]:Fe+=A(de,Se,Ie)+ce[4],Fe=Fe|0,Fe=B(Fe,le[K]),Fe=Fe+je|0,Q=je,je=Ie,Ie=B(Se,10),Se=de,de=Fe;Fe=oe[1]+ie+Ie|0,oe[1]=oe[2]+F+je|0,oe[2]=oe[3]+M+Q|0,oe[3]=oe[4]+ne+de|0,oe[4]=oe[0]+ee+Se|0,oe[0]=Fe},_doFinalize:function(){var $=this._data,j=$.words,K=this._nDataBytes*8,V=$.sigBytes*8;j[V>>>5]|=128<<24-V%32,j[(V+64>>>9<<4)+14]=(K<<8|K>>>24)&16711935|(K<<24|K>>>8)&4278255360,$.sigBytes=(j.length+1)*4,this._process();for(var W=this._hash,oe=W.words,ae=0;ae<5;ae++){var ce=oe[ae];oe[ae]=(ce<<8|ce>>>24)&16711935|(ce<<24|ce>>>8)&4278255360}return W},clone:function(){var $=o.clone.call(this);return $._hash=this._hash.clone(),$}});function A($,j,K){return $^j^K}function R($,j,K){return $&j|~$&K}function L($,j,K){return($|~j)^K}function P($,j,K){return $&K|j&~K}function D($,j,K){return $^(j|~K)}function B($,j){return $<<j|$>>>32-j}l.RIPEMD160=o._createHelper(b),l.HmacRIPEMD160=o._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,o=i.algo,h=[],u=o.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],A=p[3],R=p[4],L=0;L<80;L++){if(L<16)h[L]=a[x+L]|0;else{var P=h[L-3]^h[L-8]^h[L-14]^h[L-16];h[L]=P<<1|P>>>31}var D=(y<<5|y>>>27)+R+h[L];L<20?D+=(_&b|~_&A)+1518500249:L<40?D+=(_^b^A)+1859775393:L<60?D+=(_&b|_&A|b&A)-1894007588:D+=(_^b^A)-899497514,R=A,A=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]+A|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,o=f.SHA256,h=f.SHA224=o.extend({_doReset:function(){this._hash=new c.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=o._doFinalize.call(this);return u.sigBytes-=4,u}});i.SHA224=o._createHelper(h),i.HmacSHA224=o._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,o=c.Hasher,h=l.algo,u=[],a=[];(function(){function y(R){for(var L=i.sqrt(R),P=2;P<=L;P++)if(!(R%P))return!1;return!0}function _(R){return(R-(R|0))*4294967296|0}for(var b=2,A=0;A<64;)y(b)&&(A<8&&(u[A]=_(i.pow(b,.5))),a[A]=_(i.pow(b,.3333333333333333)),A++),b++})();var x=[],p=h.SHA256=o.extend({_doReset:function(){this._hash=new f.init(u.slice(0))},_doProcessBlock:function(y,_){for(var b=this._hash.words,A=b[0],R=b[1],L=b[2],P=b[3],D=b[4],B=b[5],$=b[6],j=b[7],K=0;K<64;K++){if(K<16)x[K]=y[_+K]|0;else{var V=x[K-15],W=(V<<25|V>>>7)^(V<<14|V>>>18)^V>>>3,oe=x[K-2],ae=(oe<<15|oe>>>17)^(oe<<13|oe>>>19)^oe>>>10;x[K]=W+x[K-7]+ae+x[K-16]}var ce=D&B^~D&$,q=A&R^A&L^R&L,J=(A<<30|A>>>2)^(A<<19|A>>>13)^(A<<10|A>>>22),Y=(D<<26|D>>>6)^(D<<21|D>>>11)^(D<<7|D>>>25),le=j+Y+ce+a[K]+x[K],ne=J+q;j=$,$=B,B=D,D=P+le|0,P=L,L=R,R=A,A=le+ne|0}b[0]=b[0]+A|0,b[1]=b[1]+R|0,b[2]=b[2]+L|0,b[3]=b[3]+P|0,b[4]=b[4]+D|0,b[5]=b[5]+B|0,b[6]=b[6]+$|0,b[7]=b[7]+j|0},_doFinalize:function(){var y=this._data,_=y.words,b=this._nDataBytes*8,A=y.sigBytes*8;return _[A>>>5]|=128<<24-A%32,_[(A+64>>>9<<4)+14]=i.floor(b/4294967296),_[(A+64>>>9<<4)+15]=b,y.sigBytes=_.length*4,this._process(),this._hash},clone:function(){var y=o.clone.call(this);return y._hash=this._hash.clone(),y}});l.SHA256=o._createHelper(p),l.HmacSHA256=o._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,o=c.Hasher,h=l.x64,u=h.Word,a=l.algo,x=[],p=[],y=[];(function(){for(var A=1,R=0,L=0;L<24;L++){x[A+5*R]=(L+1)*(L+2)/2%64;var P=R%5,D=(2*A+3*R)%5;A=P,R=D}for(var A=0;A<5;A++)for(var R=0;R<5;R++)p[A+5*R]=R+(2*A+3*R)%5*5;for(var B=1,$=0;$<24;$++){for(var j=0,K=0,V=0;V<7;V++){if(B&1){var W=(1<<V)-1;W<32?K^=1<<W:j^=1<<W-32}B&128?B=B<<1^113:B<<=1}y[$]=u.create(j,K)}})();var _=[];(function(){for(var A=0;A<25;A++)_[A]=u.create()})();var b=a.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var A=this._state=[],R=0;R<25;R++)A[R]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(A,R){for(var L=this._state,P=this.blockSize/2,D=0;D<P;D++){var B=A[R+2*D],$=A[R+2*D+1];B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,$=($<<8|$>>>24)&16711935|($<<24|$>>>8)&4278255360;var j=L[D];j.high^=$,j.low^=B}for(var K=0;K<24;K++){for(var V=0;V<5;V++){for(var W=0,oe=0,ae=0;ae<5;ae++){var j=L[V+5*ae];W^=j.high,oe^=j.low}var ce=_[V];ce.high=W,ce.low=oe}for(var V=0;V<5;V++)for(var q=_[(V+4)%5],J=_[(V+1)%5],Y=J.high,le=J.low,W=q.high^(Y<<1|le>>>31),oe=q.low^(le<<1|Y>>>31),ae=0;ae<5;ae++){var j=L[V+5*ae];j.high^=W,j.low^=oe}for(var ne=1;ne<25;ne++){var W,oe,j=L[ne],ee=j.high,ie=j.low,F=x[ne];F<32?(W=ee<<F|ie>>>32-F,oe=ie<<F|ee>>>32-F):(W=ie<<F-32|ee>>>64-F,oe=ee<<F-32|ie>>>64-F);var M=_[p[ne]];M.high=W,M.low=oe}var Q=_[0],de=L[0];Q.high=de.high,Q.low=de.low;for(var V=0;V<5;V++)for(var ae=0;ae<5;ae++){var ne=V+5*ae,j=L[ne],Se=_[ne],Ie=_[(V+1)%5+5*ae],je=_[(V+2)%5+5*ae];j.high=Se.high^~Ie.high&je.high,j.low=Se.low^~Ie.low&je.low}var j=L[0],Fe=y[K];j.high^=Fe.high,j.low^=Fe.low}},_doFinalize:function(){var A=this._data,R=A.words,L=this._nDataBytes*8,P=A.sigBytes*8,D=this.blockSize*32;R[P>>>5]|=1<<24-P%32,R[(i.ceil((P+1)/D)*D>>>5)-1]|=128,A.sigBytes=R.length*4,this._process();for(var B=this._state,$=this.cfg.outputLength/8,j=$/8,K=[],V=0;V<j;V++){var W=B[V],oe=W.high,ae=W.low;oe=(oe<<8|oe>>>24)&16711935|(oe<<24|oe>>>8)&4278255360,ae=(ae<<8|ae>>>24)&16711935|(ae<<24|ae>>>8)&4278255360,K.push(ae),K.push(oe)}return new f.init(K,$)},clone:function(){for(var A=o.clone.call(this),R=A._state=this._state.slice(0),L=0;L<25;L++)R[L]=R[L].clone();return A}});l.SHA3=o._createHelper(b),l.HmacSHA3=o._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,o=i.algo,h=o.SHA512,u=o.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,o=f.Word,h=f.WordArray,u=i.algo;function a(){return o.create.apply(o,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 o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(_,b){for(var A=this._hash.words,R=A[0],L=A[1],P=A[2],D=A[3],B=A[4],$=A[5],j=A[6],K=A[7],V=R.high,W=R.low,oe=L.high,ae=L.low,ce=P.high,q=P.low,J=D.high,Y=D.low,le=B.high,ne=B.low,ee=$.high,ie=$.low,F=j.high,M=j.low,Q=K.high,de=K.low,Se=V,Ie=W,je=oe,Fe=ae,Ft=ce,_t=q,Pt=J,Qt=Y,Jt=le,qt=ne,Xe=ee,It=ie,Ut=F,ot=M,bt=Q,ht=de,et=0;et<80;et++){var Ue,ye,Pe=p[et];if(et<16)ye=Pe.high=_[b+et*2]|0,Ue=Pe.low=_[b+et*2+1]|0;else{var Me=p[et-15],$e=Me.high,He=Me.low,nt=($e>>>1|He<<31)^($e>>>8|He<<24)^$e>>>7,ct=(He>>>1|$e<<31)^(He>>>8|$e<<24)^(He>>>7|$e<<25),Gt=p[et-2],Ht=Gt.high,Oe=Gt.low,Je=(Ht>>>19|Oe<<13)^(Ht<<3|Oe>>>29)^Ht>>>6,Wt=(Oe>>>19|Ht<<13)^(Oe<<3|Ht>>>29)^(Oe>>>6|Ht<<26),kt=p[et-7],Zt=kt.high,Bt=kt.low,At=p[et-16],Kt=At.high,We=At.low;Ue=ct+Bt,ye=nt+Zt+(Ue>>>0<ct>>>0?1:0),Ue=Ue+Wt,ye=ye+Je+(Ue>>>0<Wt>>>0?1:0),Ue=Ue+We,ye=ye+Kt+(Ue>>>0<We>>>0?1:0),Pe.high=ye,Pe.low=Ue}var fe=Jt&Xe^~Jt&Ut,_e=qt&It^~qt&ot,Ot=Se&je^Se&Ft^je&Ft,De=Ie&Fe^Ie&_t^Fe&_t,dt=(Se>>>28|Ie<<4)^(Se<<30|Ie>>>2)^(Se<<25|Ie>>>7),zt=(Ie>>>28|Se<<4)^(Ie<<30|Se>>>2)^(Ie<<25|Se>>>7),Ct=(Jt>>>14|qt<<18)^(Jt>>>18|qt<<14)^(Jt<<23|qt>>>9),ke=(qt>>>14|Jt<<18)^(qt>>>18|Jt<<14)^(qt<<23|Jt>>>9),wt=x[et],xe=wt.high,Ke=wt.low,gt=ht+ke,Lt=bt+Ct+(gt>>>0<ht>>>0?1:0),gt=gt+_e,Lt=Lt+fe+(gt>>>0<_e>>>0?1:0),gt=gt+Ke,Lt=Lt+xe+(gt>>>0<Ke>>>0?1:0),gt=gt+Ue,Lt=Lt+ye+(gt>>>0<Ue>>>0?1:0),Be=zt+De,Dr=dt+Ot+(Be>>>0<zt>>>0?1:0);bt=Ut,ht=ot,Ut=Xe,ot=It,Xe=Jt,It=qt,qt=Qt+gt|0,Jt=Pt+Lt+(qt>>>0<Qt>>>0?1:0)|0,Pt=Ft,Qt=_t,Ft=je,_t=Fe,je=Se,Fe=Ie,Ie=gt+Be|0,Se=Lt+Dr+(Ie>>>0<gt>>>0?1:0)|0}W=R.low=W+Ie,R.high=V+Se+(W>>>0<Ie>>>0?1:0),ae=L.low=ae+Fe,L.high=oe+je+(ae>>>0<Fe>>>0?1:0),q=P.low=q+_t,P.high=ce+Ft+(q>>>0<_t>>>0?1:0),Y=D.low=Y+Qt,D.high=J+Pt+(Y>>>0<Qt>>>0?1:0),ne=B.low=ne+qt,B.high=le+Jt+(ne>>>0<qt>>>0?1:0),ie=$.low=ie+It,$.high=ee+Xe+(ie>>>0<It>>>0?1:0),M=j.low=M+ot,j.high=F+Ut+(M>>>0<ot>>>0?1:0),de=K.low=de+ht,K.high=Q+bt+(de>>>0<ht>>>0?1:0)},_doFinalize:function(){var _=this._data,b=_.words,A=this._nDataBytes*8,R=_.sigBytes*8;b[R>>>5]|=128<<24-R%32,b[(R+128>>>10<<5)+30]=Math.floor(A/4294967296),b[(R+128>>>10<<5)+31]=A,_.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,o=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=o.DES=f.extend({_doReset:function(){for(var R=this._key,L=R.words,P=[],D=0;D<56;D++){var B=h[D]-1;P[D]=L[B>>>5]>>>31-B%32&1}for(var $=this._subKeys=[],j=0;j<16;j++){for(var K=$[j]=[],V=a[j],D=0;D<24;D++)K[D/6|0]|=P[(u[D]-1+V)%28]<<31-D%6,K[4+(D/6|0)]|=P[28+(u[D+24]-1+V)%28]<<31-D%6;K[0]=K[0]<<1|K[0]>>>31;for(var D=1;D<7;D++)K[D]=K[D]>>>(D-1)*4+3;K[7]=K[7]<<5|K[7]>>>27}for(var W=this._invSubKeys=[],D=0;D<16;D++)W[D]=$[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,P){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 B=P[D],$=this._lBlock,j=this._rBlock,K=0,V=0;V<8;V++)K|=x[V][((j^B[V])&p[V])>>>0];this._lBlock=j,this._rBlock=$^K}var W=this._lBlock;this._lBlock=this._rBlock,this._rBlock=W,_.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 P=(this._lBlock>>>R^this._rBlock)&L;this._rBlock^=P,this._lBlock^=P<<R}function b(R,L){var P=(this._rBlock>>>R^this._lBlock)&L;this._lBlock^=P,this._rBlock^=P<<R}i.DES=f._createHelper(y);var A=o.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 P=L.slice(0,2),D=L.length<4?L.slice(0,2):L.slice(2,4),B=L.length<6?L.slice(0,2):L.slice(4,6);this._des1=y.createEncryptor(c.create(P)),this._des2=y.createEncryptor(c.create(D)),this._des3=y.createEncryptor(c.create(B))},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(A)}(),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,o=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 o.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),o=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),_):_};o.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",o="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,A={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(ae){var ce=["th","st","nd","rd"],q=ae%100;return"["+ae+(ce[(q-20)%10]||ce[q]||ce[0])+"]"}},R=function(ae,ce,q){var J=String(ae);return!J||J.length>=ce?ae:""+Array(ce+1-J.length).join(q)+ae},L={s:R,z:function(ae){var ce=-ae.utcOffset(),q=Math.abs(ce),J=Math.floor(q/60),Y=q%60;return(ce<=0?"+":"-")+R(J,2,"0")+":"+R(Y,2,"0")},m:function ae(ce,q){if(ce.date()<q.date())return-ae(q,ce);var J=12*(q.year()-ce.year())+(q.month()-ce.month()),Y=ce.clone().add(J,u),le=q-Y<0,ne=ce.clone().add(J+(le?-1:1),u);return+(-(J+(q-Y)/(le?Y-ne:ne-Y))||0)},a:function(ae){return ae<0?Math.ceil(ae)||0:Math.floor(ae)},p:function(ae){return{M:u,y:x,w:h,d:o,D:p,h:f,m:c,s:l,ms:i,Q:a}[ae]||String(ae||"").toLowerCase().replace(/s$/,"")},u:function(ae){return ae===void 0}},P="en",D={};D[P]=A;var B="$isDayjsObject",$=function(ae){return ae instanceof W||!(!ae||!ae[B])},j=function ae(ce,q,J){var Y;if(!ce)return P;if(typeof ce=="string"){var le=ce.toLowerCase();D[le]&&(Y=le),q&&(D[le]=q,Y=le);var ne=ce.split("-");if(!Y&&ne.length>1)return ae(ne[0])}else{var ee=ce.name;D[ee]=ce,Y=ee}return!J&&Y&&(P=Y),Y||!J&&P},K=function(ae,ce){if($(ae))return ae.clone();var q=typeof ce=="object"?ce:{};return q.date=ae,q.args=arguments,new W(q)},V=L;V.l=j,V.i=$,V.w=function(ae,ce){return K(ae,{locale:ce.$L,utc:ce.$u,x:ce.$x,$offset:ce.$offset})};var W=function(){function ae(q){this.$L=j(q.locale,null,!0),this.parse(q),this.$x=this.$x||q.x||{},this[B]=!0}var ce=ae.prototype;return ce.parse=function(q){this.$d=function(J){var Y=J.date,le=J.utc;if(Y===null)return new Date(NaN);if(V.u(Y))return new Date;if(Y instanceof Date)return new Date(Y);if(typeof Y=="string"&&!/Z$/i.test(Y)){var ne=Y.match(_);if(ne){var ee=ne[2]-1||0,ie=(ne[7]||"0").substring(0,3);return le?new Date(Date.UTC(ne[1],ee,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,ie)):new Date(ne[1],ee,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,ie)}}return new Date(Y)}(q),this.init()},ce.init=function(){var q=this.$d;this.$y=q.getFullYear(),this.$M=q.getMonth(),this.$D=q.getDate(),this.$W=q.getDay(),this.$H=q.getHours(),this.$m=q.getMinutes(),this.$s=q.getSeconds(),this.$ms=q.getMilliseconds()},ce.$utils=function(){return V},ce.isValid=function(){return this.$d.toString()!==y},ce.isSame=function(q,J){var Y=K(q);return this.startOf(J)<=Y&&Y<=this.endOf(J)},ce.isAfter=function(q,J){return K(q)<this.startOf(J)},ce.isBefore=function(q,J){return this.endOf(J)<K(q)},ce.$g=function(q,J,Y){return V.u(q)?this[J]:this.set(Y,q)},ce.unix=function(){return Math.floor(this.valueOf()/1e3)},ce.valueOf=function(){return this.$d.getTime()},ce.startOf=function(q,J){var Y=this,le=!!V.u(J)||J,ne=V.p(q),ee=function(je,Fe){var Ft=V.w(Y.$u?Date.UTC(Y.$y,Fe,je):new Date(Y.$y,Fe,je),Y);return le?Ft:Ft.endOf(o)},ie=function(je,Fe){return V.w(Y.toDate()[je].apply(Y.toDate("s"),(le?[0,0,0,0]:[23,59,59,999]).slice(Fe)),Y)},F=this.$W,M=this.$M,Q=this.$D,de="set"+(this.$u?"UTC":"");switch(ne){case x:return le?ee(1,0):ee(31,11);case u:return le?ee(1,M):ee(0,M+1);case h:var Se=this.$locale().weekStart||0,Ie=(F<Se?F+7:F)-Se;return ee(le?Q-Ie:Q+(6-Ie),M);case o:case p:return ie(de+"Hours",0);case f:return ie(de+"Minutes",1);case c:return ie(de+"Seconds",2);case l:return ie(de+"Milliseconds",3);default:return this.clone()}},ce.endOf=function(q){return this.startOf(q,!1)},ce.$set=function(q,J){var Y,le=V.p(q),ne="set"+(this.$u?"UTC":""),ee=(Y={},Y[o]=ne+"Date",Y[p]=ne+"Date",Y[u]=ne+"Month",Y[x]=ne+"FullYear",Y[f]=ne+"Hours",Y[c]=ne+"Minutes",Y[l]=ne+"Seconds",Y[i]=ne+"Milliseconds",Y)[le],ie=le===o?this.$D+(J-this.$W):J;if(le===u||le===x){var F=this.clone().set(p,1);F.$d[ee](ie),F.init(),this.$d=F.set(p,Math.min(this.$D,F.daysInMonth())).$d}else ee&&this.$d[ee](ie);return this.init(),this},ce.set=function(q,J){return this.clone().$set(q,J)},ce.get=function(q){return this[V.p(q)]()},ce.add=function(q,J){var Y,le=this;q=Number(q);var ne=V.p(J),ee=function(M){var Q=K(le);return V.w(Q.date(Q.date()+Math.round(M*q)),le)};if(ne===u)return this.set(u,this.$M+q);if(ne===x)return this.set(x,this.$y+q);if(ne===o)return ee(1);if(ne===h)return ee(7);var ie=(Y={},Y[c]=e,Y[f]=r,Y[l]=g,Y)[ne]||1,F=this.$d.getTime()+q*ie;return V.w(F,this)},ce.subtract=function(q,J){return this.add(-1*q,J)},ce.format=function(q){var J=this,Y=this.$locale();if(!this.isValid())return Y.invalidDate||y;var le=q||"YYYY-MM-DDTHH:mm:ssZ",ne=V.z(this),ee=this.$H,ie=this.$m,F=this.$M,M=Y.weekdays,Q=Y.months,de=Y.meridiem,Se=function(Fe,Ft,_t,Pt){return Fe&&(Fe[Ft]||Fe(J,le))||_t[Ft].slice(0,Pt)},Ie=function(Fe){return V.s(ee%12||12,Fe,"0")},je=de||function(Fe,Ft,_t){var Pt=Fe<12?"AM":"PM";return _t?Pt.toLowerCase():Pt};return le.replace(b,function(Fe,Ft){return Ft||function(_t){switch(_t){case"YY":return String(J.$y).slice(-2);case"YYYY":return V.s(J.$y,4,"0");case"M":return F+1;case"MM":return V.s(F+1,2,"0");case"MMM":return Se(Y.monthsShort,F,Q,3);case"MMMM":return Se(Q,F);case"D":return J.$D;case"DD":return V.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Se(Y.weekdaysMin,J.$W,M,2);case"ddd":return Se(Y.weekdaysShort,J.$W,M,3);case"dddd":return M[J.$W];case"H":return String(ee);case"HH":return V.s(ee,2,"0");case"h":return Ie(1);case"hh":return Ie(2);case"a":return je(ee,ie,!0);case"A":return je(ee,ie,!1);case"m":return String(ie);case"mm":return V.s(ie,2,"0");case"s":return String(J.$s);case"ss":return V.s(J.$s,2,"0");case"SSS":return V.s(J.$ms,3,"0");case"Z":return ne}return null}(Fe)||ne.replace(":","")})},ce.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ce.diff=function(q,J,Y){var le,ne=this,ee=V.p(J),ie=K(q),F=(ie.utcOffset()-this.utcOffset())*e,M=this-ie,Q=function(){return V.m(ne,ie)};switch(ee){case x:le=Q()/12;break;case u:le=Q();break;case a:le=Q()/3;break;case h:le=(M-F)/6048e5;break;case o:le=(M-F)/864e5;break;case f:le=M/r;break;case c:le=M/e;break;case l:le=M/g;break;default:le=M}return Y?le:V.a(le)},ce.daysInMonth=function(){return this.endOf(u).$D},ce.$locale=function(){return D[this.$L]},ce.locale=function(q,J){if(!q)return this.$L;var Y=this.clone(),le=j(q,J,!0);return le&&(Y.$L=le),Y},ce.clone=function(){return V.w(this.$d,this)},ce.toDate=function(){return new Date(this.valueOf())},ce.toJSON=function(){return this.isValid()?this.toISOString():null},ce.toISOString=function(){return this.$d.toISOString()},ce.toString=function(){return this.$d.toUTCString()},ae}(),oe=W.prototype;return K.prototype=oe,[["$ms",i],["$s",l],["$m",c],["$H",f],["$W",o],["$M",u],["$y",x],["$D",p]].forEach(function(ae){oe[ae[1]]=function(ce){return this.$g(ce,ae[0],ae[1])}}),K.extend=function(ae,ce){return ae.$i||(ae(ce,W,K),ae.$i=!0),K},K.locale=j,K.isDayjs=$,K.unix=function(ae){return K(1e3*ae)},K.en=D[P],K.Ls=D,K.p={},K})},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,o){return o==="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,o){var h=100*f+o;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 o=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 o.s(c.week(),u==="w"?1:2,"0");case"W":case"WW":return o.s(c.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return o.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={},o=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 A=b.match(/([+-]|\d\d)/g),R=60*A[1]+(+A[2]||0);return R===0?0:A[0]==="+"?-R:R}(_)}],a=function(_){var b=f[_];return b&&(b.indexOf?b:b.s.concat(b.f))},x=function(_,b){var A,R=f.meridiem;if(R){for(var L=1;L<=24;L+=1)if(_.indexOf(R(L,0,b))>-1){A=L>12;break}}else A=_===(b?"pm":"PM");return A},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,A=_.match(/\d+/);if(this.day=A[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"),A=(a("monthsShort")||b.map(function(R){return R.slice(0,3)})).indexOf(_)+1;if(A<1)throw new Error;this.month=A%12||A}],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=o(_)}],YYYY:[/\d{4}/,h("year")],Z:u,ZZ:u};function y(_){var b,A;b=_,A=f&&f.formats;for(var R=(_=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(K,V,W){var oe=W&&W.toUpperCase();return V||A[W]||g[W]||A[oe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ae,ce,q){return ce||q.slice(1)})})).match(e),L=R.length,P=0;P<L;P+=1){var D=R[P],B=p[D],$=B&&B[0],j=B&&B[1];R[P]=j?{regex:$,parser:j}:D.replace(/^\[|\]$/g,"")}return function(K){for(var V={},W=0,oe=0;W<L;W+=1){var ae=R[W];if(typeof ae=="string")oe+=ae.length;else{var ce=ae.regex,q=ae.parser,J=K.slice(oe),Y=ce.exec(J)[0];q.call(V,Y),K=K.replace(Y,"")}}return function(le){var ne=le.afternoon;if(ne!==void 0){var ee=le.hours;ne?ee<12&&(le.hours+=12):ee===12&&(le.hours=0),delete le.afternoon}}(V),V}}return function(_,b,A){A.p.customParseFormat=!0,_&&_.parseTwoDigitYear&&(o=_.parseTwoDigitYear);var R=b.prototype,L=R.parse;R.parse=function(P){var D=P.date,B=P.utc,$=P.args;this.$u=B;var j=$[1];if(typeof j=="string"){var K=$[2]===!0,V=$[3]===!0,W=K||V,oe=$[2];V&&(oe=$[2]),f=this.$locale(),!K&&oe&&(f=A.Ls[oe]),this.$d=function(J,Y,le,ne){try{if(["x","X"].indexOf(Y)>-1)return new Date((Y==="X"?1e3:1)*J);var ee=y(Y)(J),ie=ee.year,F=ee.month,M=ee.day,Q=ee.hours,de=ee.minutes,Se=ee.seconds,Ie=ee.milliseconds,je=ee.zone,Fe=ee.week,Ft=new Date,_t=M||(ie||F?1:Ft.getDate()),Pt=ie||Ft.getFullYear(),Qt=0;ie&&!F||(Qt=F>0?F-1:Ft.getMonth());var Jt,qt=Q||0,Xe=de||0,It=Se||0,Ut=Ie||0;return je?new Date(Date.UTC(Pt,Qt,_t,qt,Xe,It,Ut+60*je.offset*1e3)):le?new Date(Date.UTC(Pt,Qt,_t,qt,Xe,It,Ut)):(Jt=new Date(Pt,Qt,_t,qt,Xe,It,Ut),Fe&&(Jt=ne(Jt).week(Fe).toDate()),Jt)}catch(ot){return new Date("")}}(D,j,B,A),this.init(),oe&&oe!==!0&&(this.$L=this.locale(oe).$L),W&&D!=this.format(j)&&(this.$d=new Date("")),f={}}else if(j instanceof Array)for(var ae=j.length,ce=1;ce<=ae;ce+=1){$[1]=j[ce-1];var q=A.apply(this,$);if(q.isValid()){this.$d=q.$d,this.$L=q.$L,this.init();break}ce===ae&&(this.$d=new Date(""))}else L.call(this,P)}}})},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,o=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:o,months:h,days:c,hours:l,minutes:i,seconds:r,milliseconds:1,weeks:6048e5},x=function(D){return D instanceof L},p=function(D,B,$){return new L(D,$,B.$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)},A=function(D){return Math.abs(D)},R=function(D,B){return D?_(D)?{negative:!0,format:""+A(D)+B}:{negative:!1,format:""+D+B}:{negative:!1,format:""}},L=function(){function D($,j,K){var V=this;if(this.$d={},this.$l=K,$===void 0&&(this.$ms=0,this.parseFromMilliseconds()),j)return p($*a[y(j)],this);if(typeof $=="number")return this.$ms=$,this.parseFromMilliseconds(),this;if(typeof $=="object")return Object.keys($).forEach(function(ae){V.$d[y(ae)]=$[ae]}),this.calMilliseconds(),this;if(typeof $=="string"){var W=$.match(u);if(W){var oe=W.slice(2).map(function(ae){return ae!=null?Number(ae):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 B=D.prototype;return B.calMilliseconds=function(){var $=this;this.$ms=Object.keys(this.$d).reduce(function(j,K){return j+($.$d[K]||0)*a[K]},0)},B.parseFromMilliseconds=function(){var $=this.$ms;this.$d.years=b($/o),$%=o,this.$d.months=b($/h),$%=h,this.$d.days=b($/c),$%=c,this.$d.hours=b($/l),$%=l,this.$d.minutes=b($/i),$%=i,this.$d.seconds=b($/r),$%=r,this.$d.milliseconds=$},B.toISOString=function(){var $=R(this.$d.years,"Y"),j=R(this.$d.months,"M"),K=+this.$d.days||0;this.$d.weeks&&(K+=7*this.$d.weeks);var V=R(K,"D"),W=R(this.$d.hours,"H"),oe=R(this.$d.minutes,"M"),ae=this.$d.seconds||0;this.$d.milliseconds&&(ae+=this.$d.milliseconds/1e3,ae=Math.round(1e3*ae)/1e3);var ce=R(ae,"S"),q=$.negative||j.negative||V.negative||W.negative||oe.negative||ce.negative,J=W.format||oe.format||ce.format?"T":"",Y=(q?"-":"")+"P"+$.format+j.format+V.format+J+W.format+oe.format+ce.format;return Y==="P"||Y==="-P"?"P0D":Y},B.toJSON=function(){return this.toISOString()},B.format=function($){var j=$||"YYYY-MM-DDTHH:mm:ss",K={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(V,W){return W||String(K[V])})},B.as=function($){return this.$ms/a[y($)]},B.get=function($){var j=this.$ms,K=y($);return K==="milliseconds"?j%=1e3:j=K==="weeks"?b(j/a[K]):this.$d[K],j||0},B.add=function($,j,K){var V;return V=j?$*a[y(j)]:x($)?$.$ms:p($,this).$ms,p(this.$ms+V*(K?-1:1),this)},B.subtract=function($,j){return this.add($,j,!0)},B.locale=function($){var j=this.clone();return j.$l=$,j},B.clone=function(){return p(this.$ms,this)},B.humanize=function($){return g().add(this.$ms,"ms").locale(this.$l).fromNow(!$)},B.valueOf=function(){return this.asMilliseconds()},B.milliseconds=function(){return this.get("milliseconds")},B.asMilliseconds=function(){return this.as("milliseconds")},B.seconds=function(){return this.get("seconds")},B.asSeconds=function(){return this.as("seconds")},B.minutes=function(){return this.get("minutes")},B.asMinutes=function(){return this.as("minutes")},B.hours=function(){return this.get("hours")},B.asHours=function(){return this.as("hours")},B.days=function(){return this.get("days")},B.asDays=function(){return this.as("days")},B.weeks=function(){return this.get("weeks")},B.asWeeks=function(){return this.as("weeks")},B.months=function(){return this.get("months")},B.asMonths=function(){return this.as("months")},B.years=function(){return this.get("years")},B.asYears=function(){return this.as("years")},D}(),P=function(D,B,$){return D.add(B.years()*$,"y").add(B.months()*$,"M").add(B.days()*$,"d").add(B.hours()*$,"h").add(B.minutes()*$,"m").add(B.seconds()*$,"s").add(B.milliseconds()*$,"ms")};return function(D,B,$){g=$,e=$().$utils(),$.duration=function(V,W){var oe=$.locale();return p(V,{$l:oe},W)},$.isDuration=x;var j=B.prototype.add,K=B.prototype.subtract;B.prototype.add=function(V,W){return x(V)?P(this,V,1):j.bind(this)(V,W)},B.prototype.subtract=function(V,W){return x(V)?P(this,V,-1):K.bind(this)(V,W)}}})},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]),A=l(_[x]),R=b||A.map(function(P){return P.slice(0,p)});if(!y)return R;var L=_.weekStart;return R.map(function(P,D){return R[(D+(L||0))%7]})},f=function(){return r.Ls[r.locale()]},o=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 o(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 o(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 o=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,A,R){return A||R.slice(1)})})}(f,o===void 0?{}:o);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(o,h,u,a){return i.fromToBase(o,h,u,a)}r.en.relativeTime=l,i.fromToBase=function(o,h,u,a,x){for(var p,y,_,b=u.$locale().relativeTime||l,A=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=A.length,L=0;L<R;L+=1){var P=A[L];P.d&&(p=a?r(o).diff(u,P.d,!0):u.diff(o,P.d,!0));var D=(g.rounding||Math.round)(Math.abs(p));if(_=p>0,D<=P.r||!P.r){D<=1&&L>0&&(P=A[L-1]);var B=b[P.l];x&&(D=x(""+D)),y=typeof B=="string"?B.replace("%d",D):B(D,h,P.l,_);break}}if(h)return y;var $=_?b.future:b.past;return typeof $=="function"?$(y):$.replace("%s",y)},i.to=function(o,h){return c(o,h,this,!0)},i.from=function(o,h){return c(o,h,this)};var f=function(o){return o.$u?r.utc():r()};i.toNow=function(o){return this.to(f(this),o)},i.fromNow=function(o){return this.from(f(this),o)}}})},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 o=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=l(this).startOf(e).add(1,e).date(o),u=l(this).endOf(g);if(h.isBefore(u))return 1}var a=l(this).startOf(e).date(o).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(o,h,u){return h in o?Object.defineProperty(o,h,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[h]=u,o}function e(o,h){var u=Object.keys(o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(o);h&&(a=a.filter(function(x){return Object.getOwnPropertyDescriptor(o,x).enumerable})),u.push.apply(u,a)}return u}function r(o){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(o,a,u[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(u)):e(Object(u)).forEach(function(a){Object.defineProperty(o,a,Object.getOwnPropertyDescriptor(u,a))})}return o}var i="@@DVA_LOADING/SHOW",l="@@DVA_LOADING/HIDE",c="loading";function f(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=o.namespace||c,u=o.only,a=u===void 0?[]:u,x=o.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 A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y,R=arguments.length>1?arguments[1]:void 0,L=R.type,P=R.payload,D=P||{},B=D.namespace,$=D.actionType,j;switch(L){case i:j=r(r({},A),{},{global:!0,models:r(r({},A.models),{},g({},B,!0)),effects:r(r({},A.effects),{},g({},$,!0))});break;case l:{var K=r(r({},A.effects),{},g({},$,!1)),V=r(r({},A.models),{},g({},B,Object.keys(K).some(function(oe){var ae=oe.split("/")[0];return ae!==B?!1:K[oe]}))),W=Object.keys(V).some(function(oe){return V[oe]});j=r(r({},A),{},{global:W,models:V,effects:K});break}default:j=A;break}return j});function b(A,R,L,P){var D=R.put,B=L.namespace;return a.length===0&&p.length===0||a.length>0&&a.indexOf(P)!==-1||p.length>0&&p.indexOf(P)===-1?regeneratorRuntime.mark(function $(){var j=arguments;return regeneratorRuntime.wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,D({type:i,payload:{namespace:B,actionType:P}});case 2:return V.next=4,A.apply(void 0,j);case 4:return V.next=6,D({type:l,payload:{namespace:B,actionType:P}});case 6:case"end":return V.stop()}},$)}):A}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 o,h,u=l(arguments.length,2),a;for(c=Object(i(c)),a=function(x){try{c[x]=f[x]}catch(p){o||(o=p)}},h=1;h<u;++h)f=arguments[h],r(f).forEach(a);if(o!==void 0)throw o;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,o){var h;for(h in f)o[h]=f[h]};d.exports=function(f){var o=l(null);return i.call(arguments,function(h){r(h)&&c(Object(h),o)}),o}},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,o=Object.defineProperty,h=Object.defineProperties,u=Object.prototype.hasOwnProperty,a={configurable:!0,enumerable:!1,writable:!0},x,p,y,_,b,A,R;x=function(L,P){var D;return i(P),u.call(this,"__ee__")?D=this.__ee__:(D=a.value=f(null),o(this,"__ee__",a),a.value=null),D[L]?typeof D[L]=="object"?D[L].push(P):D[L]=[D[L],P]:D[L]=P,this},p=function(L,P){var D,B;return i(P),B=this,x.call(this,L,D=function(){y.call(B,L,D),l.call(P,this,arguments)}),D.__eeOnceListener__=P,this},y=function(L,P){var D,B,$,j;if(i(P),!u.call(this,"__ee__"))return this;if(D=this.__ee__,!D[L])return this;if(B=D[L],typeof B=="object")for(j=0;$=B[j];++j)($===P||$.__eeOnceListener__===P)&&(B.length===2?D[L]=B[j?0:1]:B.splice(j,1));else(B===P||B.__eeOnceListener__===P)&&delete D[L];return this},_=function(L){var P,D,B,$,j;if(u.call(this,"__ee__")&&($=this.__ee__[L],!!$))if(typeof $=="object"){for(D=arguments.length,j=new Array(D-1),P=1;P<D;++P)j[P-1]=arguments[P];for($=$.slice(),P=0;B=$[P];++P)l.call(B,this,j)}else switch(arguments.length){case 1:c.call($,this);break;case 2:c.call($,this,arguments[1]);break;case 3:c.call($,this,arguments[1],arguments[2]);break;default:for(D=arguments.length,j=new Array(D-1),P=1;P<D;++P)j[P-1]=arguments[P];l.call($,this,j)}},b={on:x,once:p,off:y,emit:_},A={on:r(x),once:r(p),off:r(y),emit:r(_)},R=h({},A),d.exports=g=function(L){return L==null?f(R):h(Object(L),A)},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,o){return Array.isArray(o)&&c<r?f.concat(i(o,c+1)):f.concat(o)},[])}}},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,o){if(f=r.toArray(f,o),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,o=this._delta8,h=o-(f+this.padLength)%o,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,o){if(!(this instanceof l))return new l(c,f,o);this.Hash=c,this.blockSize=c.blockSize/8,this.outSize=c.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(f,o))}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 o=f.length;o<this.blockSize;o++)f.push(0);for(o=0;o<f.length;o++)f[o]^=54;for(this.inner=new this.Hash().update(f),o=0;o<f.length;o++)f[o]^=106;this.outer=new this.Hash().update(f)},l.prototype.update=function(f,o){return this.inner.update(f,o),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,o=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,P){for(var D=this.h[0],B=this.h[1],$=this.h[2],j=this.h[3],K=this.h[4],V=D,W=B,oe=$,ae=j,ce=K,q=0;q<80;q++){var J=c(l(o(D,a(q,B,$,j),L[y[q]+P],x(q)),b[q]),K);D=K,K=j,j=l($,10),$=B,B=J,J=c(l(o(V,a(79-q,W,oe,ae),L[_[q]+P],p(q)),A[q]),ce),V=ce,ce=ae,ae=l(oe,10),oe=W,W=J}J=f(this.h[1],$,ae),this.h[1]=f(this.h[2],j,ce),this.h[2]=f(this.h[3],K,V),this.h[3]=f(this.h[4],D,W),this.h[4]=f(this.h[0],B,oe),this.h[0]=J},u.prototype._digest=function(L){return L==="hex"?r.toHex32(this.h,"little"):r.split32(this.h,"little")};function a(R,L,P,D){return R<=15?L^P^D:R<=31?L&P|~L&D:R<=47?(L|~P)^D:R<=63?L&D|P&~D:L^(P|~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],A=[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,o=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,A=0;A<16;A++)b[A]=y[_+A];for(;A<b.length;A++)b[A]=c(b[A-3]^b[A-8]^b[A-14]^b[A-16],1);var R=this.h[0],L=this.h[1],P=this.h[2],D=this.h[3],B=this.h[4];for(A=0;A<b.length;A++){var $=~~(A/20),j=o(c(R,5),h($,L,P,D),B,b[A],a[$]);B=D,D=P,P=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],P),this.h[3]=f(this.h[3],D),this.h[4]=f(this.h[4],B)},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,o=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,A=[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=A,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(P,D){for(var B=this.W,$=0;$<16;$++)B[$]=P[D+$];for(;$<B.length;$++)B[$]=o(_(B[$-2]),B[$-7],y(B[$-15]),B[$-16]);var j=this.h[0],K=this.h[1],V=this.h[2],W=this.h[3],oe=this.h[4],ae=this.h[5],ce=this.h[6],q=this.h[7];for(c(this.k.length===B.length),$=0;$<B.length;$++){var J=h(q,p(oe),u(oe,ae,ce),this.k[$],B[$]),Y=f(x(j),a(j,K,V));q=ce,ce=ae,ae=oe,oe=f(W,J),W=V,V=K,K=j,j=f(J,Y)}this.h[0]=f(this.h[0],j),this.h[1]=f(this.h[1],K),this.h[2]=f(this.h[2],V),this.h[3]=f(this.h[3],W),this.h[4]=f(this.h[4],oe),this.h[5]=f(this.h[5],ae),this.h[6]=f(this.h[6],ce),this.h[7]=f(this.h[7],q)},R.prototype._digest=function(P){return P==="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,o=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,A=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;A.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,A),d.exports=L,L.blockSize=1024,L.outSize=512,L.hmacStrength=192,L.padLength=128,L.prototype._prepareBlock=function(Y,le){for(var ne=this.W,ee=0;ee<32;ee++)ne[ee]=Y[le+ee];for(;ee<ne.length;ee+=2){var ie=ce(ne[ee-4],ne[ee-3]),F=q(ne[ee-4],ne[ee-3]),M=ne[ee-14],Q=ne[ee-13],de=oe(ne[ee-30],ne[ee-29]),Se=ae(ne[ee-30],ne[ee-29]),Ie=ne[ee-32],je=ne[ee-31];ne[ee]=p(ie,F,M,Q,de,Se,Ie,je),ne[ee+1]=y(ie,F,M,Q,de,Se,Ie,je)}},L.prototype._update=function(Y,le){this._prepareBlock(Y,le);var ne=this.W,ee=this.h[0],ie=this.h[1],F=this.h[2],M=this.h[3],Q=this.h[4],de=this.h[5],Se=this.h[6],Ie=this.h[7],je=this.h[8],Fe=this.h[9],Ft=this.h[10],_t=this.h[11],Pt=this.h[12],Qt=this.h[13],Jt=this.h[14],qt=this.h[15];l(this.k.length===ne.length);for(var Xe=0;Xe<ne.length;Xe+=2){var It=Jt,Ut=qt,ot=V(je,Fe),bt=W(je,Fe),ht=P(je,Fe,Ft,_t,Pt,Qt),et=D(je,Fe,Ft,_t,Pt,Qt),Ue=this.k[Xe],ye=this.k[Xe+1],Pe=ne[Xe],Me=ne[Xe+1],$e=_(It,Ut,ot,bt,ht,et,Ue,ye,Pe,Me),He=b(It,Ut,ot,bt,ht,et,Ue,ye,Pe,Me);It=j(ee,ie),Ut=K(ee,ie),ot=B(ee,ie,F,M,Q,de),bt=$(ee,ie,F,M,Q,de);var nt=a(It,Ut,ot,bt),ct=x(It,Ut,ot,bt);Jt=Pt,qt=Qt,Pt=Ft,Qt=_t,Ft=je,_t=Fe,je=a(Se,Ie,$e,He),Fe=x(Ie,Ie,$e,He),Se=Q,Ie=de,Q=F,de=M,F=ee,M=ie,ee=a($e,He,nt,ct),ie=x($e,He,nt,ct)}u(this.h,0,ee,ie),u(this.h,2,F,M),u(this.h,4,Q,de),u(this.h,6,Se,Ie),u(this.h,8,je,Fe),u(this.h,10,Ft,_t),u(this.h,12,Pt,Qt),u(this.h,14,Jt,qt)},L.prototype._digest=function(Y){return Y==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")};function P(J,Y,le,ne,ee){var ie=J&le^~Jⅇreturn ie<0&&(ie+=4294967296),ie}function D(J,Y,le,ne,ee,ie){var F=Y&ne^~Y&ie;return F<0&&(F+=4294967296),F}function B(J,Y,le,ne,ee){var ie=J&le^J&ee^leⅇreturn ie<0&&(ie+=4294967296),ie}function $(J,Y,le,ne,ee,ie){var F=Y&ne^Y&ie^ne&ie;return F<0&&(F+=4294967296),F}function j(J,Y){var le=c(J,Y,28),ne=c(Y,J,2),ee=c(Y,J,7),ie=le^ne^ee;return ie<0&&(ie+=4294967296),ie}function K(J,Y){var le=f(J,Y,28),ne=f(Y,J,2),ee=f(Y,J,7),ie=le^ne^ee;return ie<0&&(ie+=4294967296),ie}function V(J,Y){var le=c(J,Y,14),ne=c(J,Y,18),ee=c(Y,J,9),ie=le^ne^ee;return ie<0&&(ie+=4294967296),ie}function W(J,Y){var le=f(J,Y,14),ne=f(J,Y,18),ee=f(Y,J,9),ie=le^ne^ee;return ie<0&&(ie+=4294967296),ie}function oe(J,Y){var le=c(J,Y,1),ne=c(J,Y,8),ee=o(J,Y,7),ie=le^ne^ee;return ie<0&&(ie+=4294967296),ie}function ae(J,Y){var le=f(J,Y,1),ne=f(J,Y,8),ee=h(J,Y,7),ie=le^ne^ee;return ie<0&&(ie+=4294967296),ie}function ce(J,Y){var le=c(J,Y,19),ne=c(Y,J,29),ee=o(J,Y,6),ie=le^ne^ee;return ie<0&&(ie+=4294967296),ie}function q(J,Y){var le=f(J,Y,19),ne=f(Y,J,29),ee=h(J,Y,6),ie=le^ne^ee;return ie<0&&(ie+=4294967296),ie}},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 o(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 o(p,y,_){return p^y^_}g.p32=o;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(q,J){return(q.charCodeAt(J)&64512)!==55296||J<0||J+1>=q.length?!1:(q.charCodeAt(J+1)&64512)===56320}function c(q,J){if(Array.isArray(q))return q.slice();if(!q)return[];var Y=[];if(typeof q=="string")if(J){if(J==="hex")for(q=q.replace(/[^a-z0-9]+/ig,""),q.length%2!==0&&(q="0"+q),ne=0;ne<q.length;ne+=2)Y.push(parseInt(q[ne]+q[ne+1],16))}else for(var le=0,ne=0;ne<q.length;ne++){var ee=q.charCodeAt(ne);ee<128?Y[le++]=ee:ee<2048?(Y[le++]=ee>>6|192,Y[le++]=ee&63|128):l(q,ne)?(ee=65536+((ee&1023)<<10)+(q.charCodeAt(++ne)&1023),Y[le++]=ee>>18|240,Y[le++]=ee>>12&63|128,Y[le++]=ee>>6&63|128,Y[le++]=ee&63|128):(Y[le++]=ee>>12|224,Y[le++]=ee>>6&63|128,Y[le++]=ee&63|128)}else for(ne=0;ne<q.length;ne++)Y[ne]=q[ne]|0;return Y}g.toArray=c;function f(q){for(var J="",Y=0;Y<q.length;Y++)J+=u(q[Y].toString(16));return J}g.toHex=f;function o(q){var J=q>>>24|q>>>8&65280|q<<8&16711680|(q&255)<<24;return J>>>0}g.htonl=o;function h(q,J){for(var Y="",le=0;le<q.length;le++){var ne=q[le];J==="little"&&(ne=o(ne)),Y+=a(ne.toString(16))}return Y}g.toHex32=h;function u(q){return q.length===1?"0"+q:q}g.zero2=u;function a(q){return q.length===7?"0"+q:q.length===6?"00"+q:q.length===5?"000"+q:q.length===4?"0000"+q:q.length===3?"00000"+q:q.length===2?"000000"+q:q.length===1?"0000000"+q:q}g.zero8=a;function x(q,J,Y,le){var ne=Y-J;r(ne%4===0);for(var ee=new Array(ne/4),ie=0,F=J;ie<ee.length;ie++,F+=4){var M;le==="big"?M=q[F]<<24|q[F+1]<<16|q[F+2]<<8|q[F+3]:M=q[F+3]<<24|q[F+2]<<16|q[F+1]<<8|q[F],ee[ie]=M>>>0}return ee}g.join32=x;function p(q,J){for(var Y=new Array(q.length*4),le=0,ne=0;le<q.length;le++,ne+=4){var ee=q[le];J==="big"?(Y[ne]=ee>>>24,Y[ne+1]=ee>>>16&255,Y[ne+2]=ee>>>8&255,Y[ne+3]=ee&255):(Y[ne+3]=ee>>>24,Y[ne+2]=ee>>>16&255,Y[ne+1]=ee>>>8&255,Y[ne]=ee&255)}return Y}g.split32=p;function y(q,J){return q>>>J|q<<32-J}g.rotr32=y;function _(q,J){return q<<J|q>>>32-J}g.rotl32=_;function b(q,J){return q+J>>>0}g.sum32=b;function A(q,J,Y){return q+J+Y>>>0}g.sum32_3=A;function R(q,J,Y,le){return q+J+Y+le>>>0}g.sum32_4=R;function L(q,J,Y,le,ne){return q+J+Y+le+ne>>>0}g.sum32_5=L;function P(q,J,Y,le){var ne=q[J],ee=q[J+1],ie=le+ee>>>0,F=(ie<le?1:0)+Y+ne;q[J]=F>>>0,q[J+1]=ie}g.sum64=P;function D(q,J,Y,le){var ne=J+le>>>0,ee=(ne<J?1:0)+q+Y;return ee>>>0}g.sum64_hi=D;function B(q,J,Y,le){var ne=J+le;return ne>>>0}g.sum64_lo=B;function $(q,J,Y,le,ne,ee,ie,F){var M=0,Q=J;Q=Q+le>>>0,M+=Q<J?1:0,Q=Q+ee>>>0,M+=Q<ee?1:0,Q=Q+F>>>0,M+=Q<F?1:0;var de=q+Y+ne+ie+M;return de>>>0}g.sum64_4_hi=$;function j(q,J,Y,le,ne,ee,ie,F){var M=J+le+ee+F;return M>>>0}g.sum64_4_lo=j;function K(q,J,Y,le,ne,ee,ie,F,M,Q){var de=0,Se=J;Se=Se+le>>>0,de+=Se<J?1:0,Se=Se+ee>>>0,de+=Se<ee?1:0,Se=Se+F>>>0,de+=Se<F?1:0,Se=Se+Q>>>0,de+=Se<Q?1:0;var Ie=q+Y+ne+ie+M+de;return Ie>>>0}g.sum64_5_hi=K;function V(q,J,Y,le,ne,ee,ie,F,M,Q){var de=J+le+ee+F+Q;return de>>>0}g.sum64_5_lo=V;function W(q,J,Y){var le=J<<32-Y|q>>>Y;return le>>>0}g.rotr64_hi=W;function oe(q,J,Y){var le=q<<32-Y|J>>>Y;return le>>>0}g.rotr64_lo=oe;function ae(q,J,Y){return q>>>Y}g.shr64_hi=ae;function ce(q,J,Y){var le=q<<32-Y|J>>>Y;return le>>>0}g.shr64_lo=ce},19340:function(d,g,e){"use strict";e.d(g,{Ep:function(){return A},PP:function(){return x},aU:function(){return i},cP:function(){return R},lX:function(){return u},q_:function(){return a}});var r=e(72308),i;(function(L){L.Pop="POP",L.Push="PUSH",L.Replace="REPLACE"})(i||(i={}));var l=function(L){return L};function c(L,P){if(!L){typeof console!="undefined"&&console.warn(P);try{throw new Error(P)}catch(D){}}}var f="beforeunload",o="hashchange",h="popstate";function u(L){L===void 0&&(L={});var P=L,D=P.window,B=D===void 0?document.defaultView:D,$=B.history;function j(){var Se=B.location,Ie=Se.pathname,je=Se.search,Fe=Se.hash,Ft=$.state||{};return[Ft.idx,l({pathname:Ie,search:je,hash:Fe,state:Ft.usr||null,key:Ft.key||"default"})]}var K=null;function V(){if(K)J.call(K),K=null;else{var Se=i.Pop,Ie=j(),je=Ie[0],Fe=Ie[1];if(J.length){if(je!=null){var Ft=ae-je;Ft&&(K={action:Se,location:Fe,retry:function(){Q(Ft*-1)}},Q(Ft))}}else ie(Se)}}B.addEventListener(h,V);var W=i.Pop,oe=j(),ae=oe[0],ce=oe[1],q=_(),J=_();ae==null&&(ae=0,$.replaceState((0,r.Z)({},$.state,{idx:ae}),""));function Y(Se){return typeof Se=="string"?Se:A(Se)}function le(Se,Ie){return Ie===void 0&&(Ie=null),l((0,r.Z)({pathname:ce.pathname,hash:"",search:""},typeof Se=="string"?R(Se):Se,{state:Ie,key:b()}))}function ne(Se,Ie){return[{usr:Se.state,key:Se.key,idx:Ie},Y(Se)]}function ee(Se,Ie,je){return!J.length||(J.call({action:Se,location:Ie,retry:je}),!1)}function ie(Se){W=Se;var Ie=j();ae=Ie[0],ce=Ie[1],q.call({action:W,location:ce})}function F(Se,Ie){var je=i.Push,Fe=le(Se,Ie);function Ft(){F(Se,Ie)}if(ee(je,Fe,Ft)){var _t=ne(Fe,ae+1),Pt=_t[0],Qt=_t[1];try{$.pushState(Pt,"",Qt)}catch(Jt){B.location.assign(Qt)}ie(je)}}function M(Se,Ie){var je=i.Replace,Fe=le(Se,Ie);function Ft(){M(Se,Ie)}if(ee(je,Fe,Ft)){var _t=ne(Fe,ae),Pt=_t[0],Qt=_t[1];$.replaceState(Pt,"",Qt),ie(je)}}function Q(Se){$.go(Se)}var de={get action(){return W},get location(){return ce},createHref:Y,push:F,replace:M,go:Q,back:function(){Q(-1)},forward:function(){Q(1)},listen:function(Ie){return q.push(Ie)},block:function(Ie){var je=J.push(Ie);return J.length===1&&B.addEventListener(f,y),function(){je(),J.length||B.removeEventListener(f,y)}}};return de}function a(L){L===void 0&&(L={});var P=L,D=P.window,B=D===void 0?document.defaultView:D,$=B.history;function j(){var Ie=R(B.location.hash.substr(1)),je=Ie.pathname,Fe=je===void 0?"/":je,Ft=Ie.search,_t=Ft===void 0?"":Ft,Pt=Ie.hash,Qt=Pt===void 0?"":Pt,Jt=$.state||{};return[Jt.idx,l({pathname:Fe,search:_t,hash:Qt,state:Jt.usr||null,key:Jt.key||"default"})]}var K=null;function V(){if(K)J.call(K),K=null;else{var Ie=i.Pop,je=j(),Fe=je[0],Ft=je[1];if(J.length){if(Fe!=null){var _t=ae-Fe;_t&&(K={action:Ie,location:Ft,retry:function(){de(_t*-1)}},de(_t))}}else F(Ie)}}B.addEventListener(h,V),B.addEventListener(o,function(){var Ie=j(),je=Ie[1];A(je)!==A(ce)&&V()});var W=i.Pop,oe=j(),ae=oe[0],ce=oe[1],q=_(),J=_();ae==null&&(ae=0,$.replaceState((0,r.Z)({},$.state,{idx:ae}),""));function Y(){var Ie=document.querySelector("base"),je="";if(Ie&&Ie.getAttribute("href")){var Fe=B.location.href,Ft=Fe.indexOf("#");je=Ft===-1?Fe:Fe.slice(0,Ft)}return je}function le(Ie){return Y()+"#"+(typeof Ie=="string"?Ie:A(Ie))}function ne(Ie,je){return je===void 0&&(je=null),l((0,r.Z)({pathname:ce.pathname,hash:"",search:""},typeof Ie=="string"?R(Ie):Ie,{state:je,key:b()}))}function ee(Ie,je){return[{usr:Ie.state,key:Ie.key,idx:je},le(Ie)]}function ie(Ie,je,Fe){return!J.length||(J.call({action:Ie,location:je,retry:Fe}),!1)}function F(Ie){W=Ie;var je=j();ae=je[0],ce=je[1],q.call({action:W,location:ce})}function M(Ie,je){var Fe=i.Push,Ft=ne(Ie,je);function _t(){M(Ie,je)}if(ie(Fe,Ft,_t)){var Pt=ee(Ft,ae+1),Qt=Pt[0],Jt=Pt[1];try{$.pushState(Qt,"",Jt)}catch(qt){B.location.assign(Jt)}F(Fe)}}function Q(Ie,je){var Fe=i.Replace,Ft=ne(Ie,je);function _t(){Q(Ie,je)}if(ie(Fe,Ft,_t)){var Pt=ee(Ft,ae),Qt=Pt[0],Jt=Pt[1];$.replaceState(Qt,"",Jt),F(Fe)}}function de(Ie){$.go(Ie)}var Se={get action(){return W},get location(){return ce},createHref:le,push:M,replace:Q,go:de,back:function(){de(-1)},forward:function(){de(1)},listen:function(je){return q.push(je)},block:function(je){var Fe=J.push(je);return J.length===1&&B.addEventListener(f,y),function(){Fe(),J.length||B.removeEventListener(f,y)}}};return Se}function x(L){L===void 0&&(L={});var P=L,D=P.initialEntries,B=D===void 0?["/"]:D,$=P.initialIndex,j=B.map(function(F){var M=l((0,r.Z)({pathname:"/",search:"",hash:"",state:null,key:b()},typeof F=="string"?R(F):F));return M}),K=p($==null?j.length-1:$,0,j.length-1),V=i.Pop,W=j[K],oe=_(),ae=_();function ce(F){return typeof F=="string"?F:A(F)}function q(F,M){return M===void 0&&(M=null),l((0,r.Z)({pathname:W.pathname,search:"",hash:""},typeof F=="string"?R(F):F,{state:M,key:b()}))}function J(F,M,Q){return!ae.length||(ae.call({action:F,location:M,retry:Q}),!1)}function Y(F,M){V=F,W=M,oe.call({action:V,location:W})}function le(F,M){var Q=i.Push,de=q(F,M);function Se(){le(F,M)}J(Q,de,Se)&&(K+=1,j.splice(K,j.length,de),Y(Q,de))}function ne(F,M){var Q=i.Replace,de=q(F,M);function Se(){ne(F,M)}J(Q,de,Se)&&(j[K]=de,Y(Q,de))}function ee(F){var M=p(K+F,0,j.length-1),Q=i.Pop,de=j[M];function Se(){ee(F)}J(Q,de,Se)&&(K=M,Y(Q,de))}var ie={get index(){return K},get action(){return V},get location(){return W},createHref:ce,push:le,replace:ne,go:ee,back:function(){ee(-1)},forward:function(){ee(1)},listen:function(M){return oe.push(M)},block:function(M){return ae.push(M)}};return ie}function p(L,P,D){return Math.min(Math.max(L,P),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(B){return B!==D})}},call:function(D){L.forEach(function(B){return B&&B(D)})}}}function b(){return Math.random().toString(36).substr(2,8)}function A(L){var P=L.pathname,D=P===void 0?"/":P,B=L.search,$=B===void 0?"":B,j=L.hash,K=j===void 0?"":j;return $&&$!=="?"&&(D+=$.charAt(0)==="?"?$:"?"+$),K&&K!=="#"&&(D+=K.charAt(0)==="#"?K:"#"+K),D}function R(L){var P={};if(L){var D=L.indexOf("#");D>=0&&(P.hash=L.substr(D),L=L.substr(0,D));var B=L.indexOf("?");B>=0&&(P.search=L.substr(B),L=L.substr(0,B)),L&&(P.pathname=L)}return P}},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},o={};o[r.ForwardRef]=c,o[r.Memo]=f;function h(A){return r.isMemo(A)?f:o[A.$$typeof]||i}var u=Object.defineProperty,a=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,_=Object.prototype;function b(A,R,L){if(typeof R!="string"){if(_){var P=y(R);P&&P!==_&&b(A,P,L)}var D=a(R);x&&(D=D.concat(x(R)));for(var B=h(A),$=h(R),j=0;j<D.length;++j){var K=D[j];if(!l[K]&&!(L&&L[K])&&!($&&$[K])&&!(B&&B[K])){var V=p(R,K);try{u(A,K,V)}catch(W){}}}}return A}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,o,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,o,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,o;return!(i(c)===!1||(f=c.constructor,typeof f!="function")||(o=f.prototype,i(o)===!1)||o.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,o){var h=function(u,a){return c.js_beautify(u,a)};return h.js=c.js_beautify,h.css=f.css_beautify,h.html=o.html_beautify,h.js_beautify=c.js_beautify,h.css_beautify=f.css_beautify,h.html_beautify=o.html_beautify,h}r=[e(58553),e(87804),e(40998)],i=function(c,f,o){return l(c,f,o)}.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 A=this.__lines[b];if(A.is_empty())break;if(A.item(0).indexOf(y)!==0&&A.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],A=_||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(A=b.concat()):typeof b=="string"&&(A=b.split(/[^a-zA-Z0-9_\/\-]+/)),A},a.prototype._get_boolean=function(y,_){var b=this.raw_options[y],A=b===void 0?!!_:!!b;return A},a.prototype._get_characters=function(y,_){var b=this.raw_options[y],A=_||"";return typeof b=="string"&&(A=b.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),A},a.prototype._get_number=function(y,_){var b=this.raw_options[y];_=parseInt(_,10),isNaN(_)&&(_=0);var A=parseInt(b,10);return isNaN(A)&&(A=_),A},a.prototype._get_selection=function(y,_,b){var A=this._get_selection_list(y,_,b);if(A.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 A[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 A=this._get_array(y,b);if(!this._is_valid_selection(A,_))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
|
|
|
`+_+`
|
|
|
You passed in: '`+this.raw_options[y]+"'");return A},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 A;for(A in y)A!==_&&(b[A]=y[A]);if(_&&y[_])for(A in y[_])b[A]=y[_][A];return b}function p(y){var _={},b;for(b in y){var A=b.replace(/-/g,"_");_[A]=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="",A;return p&&(A=this.match(p),A&&(b+=A[0])),y&&(A||!p)&&(b+=this.readUntil(y,_)),b},x.prototype.readUntil=function(p,y){var _="",b=this.__position;p.lastIndex=this.__position;var A=p.exec(this.__input);return A?(b=A.index,y&&(b+=A[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,A){var R=new p(b,A);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,A=new b(/\/\*/,/\*\//),R=/\r\n|[\r\n]/,L=/\r\n|[\r\n]/g,P=/\s/,D=/(?:\s|\n)+/g,B=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,$=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function j(K,V){this._source_text=K||"",this._options=new p(V),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(K){var V="";for(this._ch=this._input.next();this._ch;){if(V+=this._ch,this._ch==="\\")V+=this._input.next();else if(K.indexOf(this._ch)!==-1||this._ch===`
|
|
|
`)break;this._ch=this._input.next()}return V},j.prototype.eatWhitespace=function(K){for(var V=P.test(this._input.peek()),W=0;P.test(this._input.peek());)this._ch=this._input.next(),K&&this._ch===`
|
|
|
`&&(W===0||W<this._options.max_preserve_newlines)&&(W++,this._output.add_new_line(!0));return V},j.prototype.foundNestedPseudoClass=function(){for(var K=0,V=1,W=this._input.peek(V);W;){if(W==="{")return!0;if(W==="(")K+=1;else if(W===")"){if(K===0)return!1;K-=1}else if(W===";"||W==="}")return!1;V++,W=this._input.peek(V)}return!1},j.prototype.print_string=function(K){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(K)},j.prototype.preserveSingleSpace=function(K){K&&(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 K=this._source_text,V=this._options.eol;V==="auto"&&(V=`
|
|
|
`,K&&R.test(K||"")&&(V=K.match(R)[0])),K=K.replace(L,`
|
|
|
`);var W=K.match(/^[\t ]*/)[0];this._output=new y(this._options,W),this._input=new _(K),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var oe=0,ae=!1,ce=!1,q=!1,J=!1,Y=!1,le=this._ch,ne=!1,ee,ie,F;ee=this._input.read(D),ie=ee!=="",F=le,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),le=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var M=this._input.read(B),Q=A.get_directives(M);Q&&Q.ignore==="start"&&(M+=A.readIgnored(this._input)),this.print_string(M),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($)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(ie),this.print_string(this._ch);var de=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);de.match(/[ :]$/)&&(de=this.eatString(": ").replace(/\s+$/,""),this.print_string(de),this._output.space_before_token=!0),oe===0&&de.indexOf(":")!==-1&&(ce=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(ie),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Se=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Se.match(/[ :]$/)&&(Se=this.eatString(": ").replace(/\s+$/,""),this.print_string(Se),this._output.space_before_token=!0),oe===0&&Se.indexOf(":")!==-1?(ce=!0,this.indent()):Se in this.NESTED_AT_RULE?(this._nestedLevel+=1,Se in this.CONDITIONAL_GROUP_RULE&&(q=!0)):oe===0&&!ce&&(J=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(ie),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")ce&&(ce=!1,this.outdent()),J=!1,q?(q=!1,ae=this._indentLevel>=this._nestedLevel):ae=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&ae&&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)):(F==="("?this._output.space_before_token=!1:F!==","&&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(),F==="{"&&this._output.trim(!0),ce&&(this.outdent(),ce=!1),this.print_string(this._ch),ae=!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 Ie=0;Ie<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Ie++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Ie])){ne=!0;break}(ae||q)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!J&&oe===0?(this.print_string(":"),ce||(ce=!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 je=F==='"'||F==="'";this.preserveSingleSpace(je||ie),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")ne=!1,oe===0?(ce&&(this.outdent(),ce=!1),J=!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 Fe=!1;this._input.lookBack("with")&&(Fe=!0),this.preserveSingleSpace(ie||Fe),this.print_string(this._ch),ce&&F==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),Y=!0):(this.eatWhitespace(),oe++,this.indent())}else if(this._ch===")")oe&&(oe--,this.outdent()),Y&&this._input.peek()===";"&&this._options.selector_separator_newline&&(Y=!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&&(!ce||Y)&&oe===0&&!J?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!ce&&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&&P.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(ie),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),P.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 Ft=F==='"'||F==="'";this.preserveSingleSpace(Ft||ie),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
|
`&&ne&&this._output.add_new_line()}var _t=this._output.get_code(V);return _t},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 A=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var R=0;R<A.length;R++)A[R]!=="expand"?this.brace_style="collapse":this.brace_style=A[R]}y.prototype=new p,u.exports.Options=y}],f={};function o(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,o),x.exports}var h=o(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(A){this.__parent=A,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 A=new y(this.__parent);return A.set_indent(this.__indent_count,this.__alignment_count),A},y.prototype.item=function(A){return A<0?this.__items[this.__items.length+A]:this.__items[A]},y.prototype.has_match=function(A){for(var R=this.__items.length-1;R>=0;R--)if(this.__items[R].match(A))return!0;return!1},y.prototype.set_indent=function(A,R){this.is_empty()&&(this.__indent_count=A||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 A=this.__parent.current_line;return A.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),A.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),A.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,A.__items[0]===" "&&(A.__items.splice(0,1),A.__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(A){this.__items.push(A);var R=A.lastIndexOf(`
|
|
|
`);R!==-1?this.__character_count=A.length-R:this.__character_count+=A.length},y.prototype.pop=function(){var A=null;return this.is_empty()||(A=this.__items.pop(),this.__character_count-=A.length),A},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 A="";return this.is_empty()?this.__parent.indent_empty_lines&&(A=this.__parent.get_indent_string(this.__indent_count)):(A=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),A+=this.__items.join("")),A};function _(A,R){this.__cache=[""],this.__indent_size=A.indent_size,this.__indent_string=A.indent_char,A.indent_with_tabs||(this.__indent_string=new Array(A.indent_size+1).join(A.indent_char)),R=R||"",A.indent_level>0&&(R=new Array(A.indent_level+1).join(this.__indent_string)),this.__base_string=R,this.__base_string_length=R.length}_.prototype.get_indent_size=function(A,R){var L=this.__base_string_length;return R=R||0,A<0&&(L=0),L+=A*this.__indent_size,L+=R,L},_.prototype.get_indent_string=function(A,R){var L=this.__base_string;return R=R||0,A<0&&(A=0,L=""),R+=A*this.__indent_size,this.__ensure_cache(R),L+=this.__cache[R],L},_.prototype.__ensure_cache=function(A){for(;A>=this.__cache.length;)this.__add_column()},_.prototype.__add_column=function(){var A=this.__cache.length,R=0,L="";this.__indent_size&&A>=this.__indent_size&&(R=Math.floor(A/this.__indent_size),A-=R*this.__indent_size,L=new Array(R+1).join(this.__indent_string)),A&&(L+=new Array(A+1).join(" ")),this.__cache.push(L)};function b(A,R){this.__indent_cache=new _(A,R),this.raw=!1,this._end_with_newline=A.end_with_newline,this.indent_size=A.indent_size,this.wrap_line_length=A.wrap_line_length,this.indent_empty_lines=A.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(A,R){return this.__indent_cache.get_indent_string(A,R)},b.prototype.get_indent_size=function(A,R){return this.__indent_cache.get_indent_size(A,R)},b.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},b.prototype.add_new_line=function(A){return this.is_empty()||!A&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},b.prototype.get_code=function(A){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 A!==`
|
|
|
`&&(L=L.replace(/[\n]/g,A)),L},b.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},b.prototype.set_indent=function(A,R){return A=A||0,R=R||0,this.next_line.set_indent(A,R),this.__lines.length>1?(this.current_line.set_indent(A,R),!0):(this.current_line.set_indent(),!1)},b.prototype.add_raw_token=function(A){for(var R=0;R<A.newlines;R++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(A.whitespace_before),this.current_line.push(A.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},b.prototype.add_token=function(A){this.__add_space_before_token(),this.current_line.push(A),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(A){for(var R=this.__lines.length;A<R;)this.__lines[A]._remove_indent(),A++;this.current_line._remove_wrap_indent()},b.prototype.trim=function(A){for(A=A===void 0?!1:A,this.current_line.trim();A&&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(A,R){for(var L=this.__lines.length-2;L>=0;){var P=this.__lines[L];if(P.is_empty())break;if(P.item(0).indexOf(A)!==0&&P.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,A,R){this.type=_,this.text=b,this.comments_before=null,this.newlines=A||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(A,R){this.raw_options=_(A,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(A,R){var L=this.raw_options[A],P=R||[];return typeof L=="object"?L!==null&&typeof L.concat=="function"&&(P=L.concat()):typeof L=="string"&&(P=L.split(/[^a-zA-Z0-9_\/\-]+/)),P},y.prototype._get_boolean=function(A,R){var L=this.raw_options[A],P=L===void 0?!!R:!!L;return P},y.prototype._get_characters=function(A,R){var L=this.raw_options[A],P=R||"";return typeof L=="string"&&(P=L.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),P},y.prototype._get_number=function(A,R){var L=this.raw_options[A];R=parseInt(R,10),isNaN(R)&&(R=0);var P=parseInt(L,10);return isNaN(P)&&(P=R),P},y.prototype._get_selection=function(A,R,L){var P=this._get_selection_list(A,R,L);if(P.length!==1)throw new Error("Invalid Option Value: The option '"+A+`' can only be one of the following values:
|
|
|
`+R+`
|
|
|
You passed in: '`+this.raw_options[A]+"'");return P[0]},y.prototype._get_selection_list=function(A,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 P=this._get_array(A,L);if(!this._is_valid_selection(P,R))throw new Error("Invalid Option Value: The option '"+A+`' can contain only the following values:
|
|
|
`+R+`
|
|
|
You passed in: '`+this.raw_options[A]+"'");return P},y.prototype._is_valid_selection=function(A,R){return A.length&&R.length&&!A.some(function(L){return R.indexOf(L)===-1})};function _(A,R){var L={};A=b(A);var P;for(P in A)P!==R&&(L[P]=A[P]);if(R&&A[R])for(P in A[R])L[P]=A[R][P];return L}function b(A){var R={},L;for(L in A){var P=L.replace(/-/g,"_");R[P]=A[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 A=null;return b=b||0,b+=this.__position,b>=0&&b<this.__input_length&&(A=this.__input.charAt(b)),A},_.prototype.__match=function(b,A){b.lastIndex=A;var R=b.exec(this.__input);return R&&!(y&&b.sticky)&&R.index!==A&&(R=null),R},_.prototype.test=function(b,A){return A=A||0,A+=this.__position,A>=0&&A<this.__input_length?!!this.__match(b,A):!1},_.prototype.testChar=function(b,A){var R=this.peek(A);return b.lastIndex=0,R!==null&&b.test(R)},_.prototype.match=function(b){var A=this.__match(b,this.__position);return A?this.__position+=A[0].length:A=null,A},_.prototype.read=function(b,A,R){var L="",P;return b&&(P=this.match(b),P&&(L+=P[0])),A&&(P||!b)&&(L+=this.readUntil(A,R)),L},_.prototype.readUntil=function(b,A){var R="",L=this.__position;b.lastIndex=this.__position;var P=b.exec(this.__input);return P?(L=P.index,A&&(L+=P[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,A){var R=null,L="g";return A&&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 A=this.__position,R=this.readUntilAfter(b);return this.__position=A,R},_.prototype.lookBack=function(b){var A=this.__position-1;return A>=b.length&&this.__input.substring(A-b.length,A).toLowerCase()===b},p.exports.InputScanner=_},function(p,y,_){var b=_(8).InputScanner,A=_(3).Token,R=_(10).TokenStream,L=_(11).WhitespacePattern,P={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},D=function(B,$){this._input=new b(B),this._options=$||{},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 B,$=new A(P.START,""),j=null,K=[],V=new R;$.type!==P.EOF;){for(B=this._get_next_token($,j);this._is_comment(B);)V.add(B),B=this._get_next_token($,j);V.isEmpty()||(B.comments_before=V,V=new R),B.parent=j,this._is_opening(B)?(K.push(j),j=B):j&&this._is_closing(B,j)&&(B.opened=j,j.closed=B,j=K.pop(),B.parent=j),B.previous=$,$.next=B,this.__tokens.add(B),$=B}return this.__tokens},D.prototype._is_first_token=function(){return this.__tokens.isEmpty()},D.prototype._reset=function(){},D.prototype._get_next_token=function(B,$){this._readWhitespace();var j=this._input.read(/.+/g);return j?this._create_token(P.RAW,j):this._create_token(P.EOF,"")},D.prototype._is_comment=function(B){return!1},D.prototype._is_opening=function(B){return!1},D.prototype._is_closing=function(B,$){return!1},D.prototype._create_token=function(B,$){var j=new A(B,$,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=P},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 A(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=""}A.prototype=new b,A.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+"]")},A.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},A.prototype.matching=function(R,L){var P=this._create();return P.__set_whitespace_patterns(R,L),P._update(),P},A.prototype._create=function(){return new A(this._input,this)},A.prototype.__split=function(R,L){R.lastIndex=0;for(var P=0,D=[],B=R.exec(L);B;)D.push(L.substring(P,B.index)),P=B.index+B[0].length,B=R.exec(L);return P<L.length?D.push(L.substring(P,L.length)):D.push(""),D},p.exports.WhitespacePattern=A},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 A=this.__directive_pattern.exec(_);A;)b[A[1]]=A[2],A=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,A={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function R(L,P){b.call(this,L,P),this.__template_pattern=null,this._disabled=Object.assign({},A),this._excluded=Object.assign({},A),P&&(this.__template_pattern=this._input.get_regexp(P.__template_pattern),this._excluded=Object.assign(this._excluded,P._excluded),this._disabled=Object.assign(this._disabled,P._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 P=this._create();return P._disabled[L]=!0,P._update(),P},R.prototype.read_options=function(L){var P=this._create();for(var D in A)P._disabled[D]=L.templating.indexOf(D)===-1;return P._update(),P},R.prototype.exclude=function(L){var P=this._create();return P._excluded[L]=!0,P._update(),P},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 P=this._read_template();P;)this._match_pattern?P+=this._input.read(this._match_pattern):P+=this._input.readUntil(this.__template_pattern),L+=P,P=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="",P=this._input.peek();if(P==="<"){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 P==="{"&&(!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,A=_(20).Options;function R(L,P,D,B){var $=new b(L,P,D,B);return $.beautify()}p.exports=R,p.exports.defaultOptions=function(){return new A}},function(p,y,_){var b=_(20).Options,A=_(2).Output,R=_(21).Tokenizer,L=_(21).TOKEN,P=/\r\n|[\r\n]/,D=/\r\n|[\r\n]/g,B=function(J,Y){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=J.max_preserve_newlines,this.preserve_newlines=J.preserve_newlines,this._output=new A(J,Y)};B.prototype.current_line_has_match=function(J){return this._output.current_line.has_match(J)},B.prototype.set_space_before_token=function(J,Y){this._output.space_before_token=J,this._output.non_breaking_space=Y},B.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},B.prototype.add_raw_token=function(J){this._output.add_raw_token(J)},B.prototype.print_preserved_newlines=function(J){var Y=0;J.type!==L.TEXT&&J.previous.type!==L.TEXT&&(Y=J.newlines?1:0),this.preserve_newlines&&(Y=J.newlines<this.max_preserve_newlines+1?J.newlines:this.max_preserve_newlines+1);for(var le=0;le<Y;le++)this.print_newline(le>0);return Y!==0},B.prototype.traverse_whitespace=function(J){return J.whitespace_before||J.newlines?(this.print_preserved_newlines(J)||(this._output.space_before_token=!0),!0):!1},B.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},B.prototype.print_newline=function(J){this._output.add_new_line(J)},B.prototype.print_token=function(J){J.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(J.text))},B.prototype.indent=function(){this.indent_level++},B.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},B.prototype.get_full_indent=function(J){return J=this.indent_level+(J||0),J<1?"":this._output.get_indent_string(J)};var $=function(J){for(var Y=null,le=J.next;le.type!==L.EOF&&J.closed!==le;){if(le.type===L.ATTRIBUTE&&le.text==="type"){le.next&&le.next.type===L.EQUALS&&le.next.next&&le.next.next.type===L.VALUE&&(Y=le.next.next.text);break}le=le.next}return Y},j=function(J,Y){var le=null,ne=null;return Y.closed?(J==="script"?le="text/javascript":J==="style"&&(le="text/css"),le=$(Y)||le,le.search("text/css")>-1?ne="css":le.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?ne="javascript":le.search(/(text|application|dojo)\/(x-)?(html)/)>-1?ne="html":le.search(/test\/null/)>-1&&(ne="null"),ne):null};function K(J,Y){return Y.indexOf(J)!==-1}function V(J,Y,le){this.parent=J||null,this.tag=Y?Y.tag_name:"",this.indent_level=le||0,this.parser_token=Y||null}function W(J){this._printer=J,this._current_frame=null}W.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},W.prototype.record_tag=function(J){var Y=new V(this._current_frame,J,this._printer.indent_level);this._current_frame=Y},W.prototype._try_pop_frame=function(J){var Y=null;return J&&(Y=J.parser_token,this._printer.indent_level=J.indent_level,this._current_frame=J.parent),Y},W.prototype._get_frame=function(J,Y){for(var le=this._current_frame;le&&J.indexOf(le.tag)===-1;){if(Y&&Y.indexOf(le.tag)!==-1){le=null;break}le=le.parent}return le},W.prototype.try_pop=function(J,Y){var le=this._get_frame([J],Y);return this._try_pop_frame(le)},W.prototype.indent_to_tag=function(J){var Y=this._get_frame(J);Y&&(this._printer.indent_level=Y.indent_level)};function oe(J,Y,le,ne){this._source_text=J||"",Y=Y||{},this._js_beautify=le,this._css_beautify=ne,this._tag_stack=null;var ee=new b(Y,"html");this._options=ee,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 J=this._source_text,Y=this._options.eol;this._options.eol==="auto"&&(Y=`
|
|
|
`,J&&P.test(J)&&(Y=J.match(P)[0])),J=J.replace(D,`
|
|
|
`);var le=J.match(/^[\t ]*/)[0],ne={text:"",type:""},ee=new ae(this._options),ie=new B(this._options,le),F=new R(J,this._options).tokenize();this._tag_stack=new W(ie);for(var M=null,Q=F.next();Q.type!==L.EOF;)Q.type===L.TAG_OPEN||Q.type===L.COMMENT?(M=this._handle_tag_open(ie,Q,ee,ne,F),ee=M):Q.type===L.ATTRIBUTE||Q.type===L.EQUALS||Q.type===L.VALUE||Q.type===L.TEXT&&!ee.tag_complete?M=this._handle_inside_tag(ie,Q,ee,ne):Q.type===L.TAG_CLOSE?M=this._handle_tag_close(ie,Q,ee):Q.type===L.TEXT?M=this._handle_text(ie,Q,ee):Q.type===L.CONTROL_FLOW_OPEN?M=this._handle_control_flow_open(ie,Q):Q.type===L.CONTROL_FLOW_CLOSE?M=this._handle_control_flow_close(ie,Q):ie.add_raw_token(Q),ne=M,Q=F.next();var de=ie._output.get_code(Y);return de},oe.prototype._handle_control_flow_open=function(J,Y){var le={text:Y.text,type:Y.type};return J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),Y.newlines?J.print_preserved_newlines(Y):J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),J.print_token(Y),J.indent(),le},oe.prototype._handle_control_flow_close=function(J,Y){var le={text:Y.text,type:Y.type};return J.deindent(),Y.newlines?J.print_preserved_newlines(Y):J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),J.print_token(Y),le},oe.prototype._handle_tag_close=function(J,Y,le){var ne={text:Y.text,type:Y.type};return J.alignment_size=0,le.tag_complete=!0,J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),le.is_unformatted?J.add_raw_token(Y):(le.tag_start_char==="<"&&(J.set_space_before_token(Y.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&le.has_wrapped_attrs&&J.print_newline(!1)),J.print_token(Y)),le.indent_content&&!(le.is_unformatted||le.is_content_unformatted)&&(J.indent(),le.indent_content=!1),!le.is_inline_element&&!(le.is_unformatted||le.is_content_unformatted)&&J.set_wrap_point(),ne},oe.prototype._handle_inside_tag=function(J,Y,le,ne){var ee=le.has_wrapped_attrs,ie={text:Y.text,type:Y.type};return J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),le.is_unformatted?J.add_raw_token(Y):le.tag_start_char==="{"&&Y.type===L.TEXT?J.print_preserved_newlines(Y)?(Y.newlines=0,J.add_raw_token(Y)):J.print_token(Y):(Y.type===L.ATTRIBUTE?J.set_space_before_token(!0):(Y.type===L.EQUALS||Y.type===L.VALUE&&Y.previous.type===L.EQUALS)&&J.set_space_before_token(!1),Y.type===L.ATTRIBUTE&&le.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(J.traverse_whitespace(Y),ee=ee||Y.newlines!==0),this._is_wrap_attributes_force&&le.attr_count>=this._options.wrap_attributes_min_attrs&&(ne.type!==L.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(J.print_newline(!1),ee=!0)),J.print_token(Y),ee=ee||J.previous_token_wrapped(),le.has_wrapped_attrs=ee),ie},oe.prototype._handle_text=function(J,Y,le){var ne={text:Y.text,type:"TK_CONTENT"};return le.custom_beautifier_name?this._print_custom_beatifier_text(J,Y,le):le.is_unformatted||le.is_content_unformatted?J.add_raw_token(Y):(J.traverse_whitespace(Y),J.print_token(Y)),ne},oe.prototype._print_custom_beatifier_text=function(J,Y,le){var ne=this;if(Y.text!==""){var ee=Y.text,ie,F=1,M="",Q="";le.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?ie=this._js_beautify:le.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?ie=this._css_beautify:le.custom_beautifier_name==="html"&&(ie=function(Ft,_t){var Pt=new oe(Ft,_t,ne._js_beautify,ne._css_beautify);return Pt.beautify()}),this._options.indent_scripts==="keep"?F=0:this._options.indent_scripts==="separate"&&(F=-J.indent_level);var de=J.get_full_indent(F);if(ee=ee.replace(/\n[ \t]*$/,""),le.custom_beautifier_name!=="html"&&ee[0]==="<"&&ee.match(/^(<!--|<!\[CDATA\[)/)){var Se=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(ee);if(!Se){J.add_raw_token(Y);return}M=de+Se[1]+`
|
|
|
`,ee=Se[4],Se[5]&&(Q=de+Se[5]),ee=ee.replace(/\n[ \t]*$/,""),(Se[2]||Se[3].indexOf(`
|
|
|
`)!==-1)&&(Se=Se[3].match(/[ \t]+$/),Se&&(Y.whitespace_before=Se[0]))}if(ee)if(ie){var Ie=function(){this.eol=`
|
|
|
`};Ie.prototype=this._options.raw_options;var je=new Ie;ee=ie(de+ee,je)}else{var Fe=Y.whitespace_before;Fe&&(ee=ee.replace(new RegExp(`
|
|
|
(`+Fe+")?","g"),`
|
|
|
`)),ee=de+ee.replace(/\n/g,`
|
|
|
`+de)}M&&(ee?ee=M+ee+`
|
|
|
`+Q:ee=M+Q),J.print_newline(!1),ee&&(Y.text=ee,Y.whitespace_before="",Y.newlines=0,J.add_raw_token(Y),J.print_newline(!0))}},oe.prototype._handle_tag_open=function(J,Y,le,ne,ee){var ie=this._get_tag_open_token(Y);if((le.is_unformatted||le.is_content_unformatted)&&!le.is_empty_element&&Y.type===L.TAG_OPEN&&!ie.is_start_tag?(J.add_raw_token(Y),ie.start_tag_token=this._tag_stack.try_pop(ie.tag_name)):(J.traverse_whitespace(Y),this._set_tag_position(J,Y,ie,le,ne),ie.is_inline_element||J.set_wrap_point(),J.print_token(Y)),ie.is_start_tag&&this._is_wrap_attributes_force){var F=0,M;do M=ee.peek(F),M.type===L.ATTRIBUTE&&(ie.attr_count+=1),F+=1;while(M.type!==L.EOF&&M.type!==L.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(ie.alignment_size=Y.text.length+1),!ie.tag_complete&&!ie.is_unformatted&&(J.alignment_size=ie.alignment_size),ie};var ae=function(J,Y,le){if(this.parent=Y||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="",!le)this.tag_complete=!0;else{var ne;this.tag_start_char=le.text[0],this.text=le.text,this.tag_start_char==="<"?(ne=le.text.match(/^<([^\s>]*)/),this.tag_check=ne?ne[1]:""):(ne=le.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=ne?ne[1]:"",(le.text.startsWith("{{#>")||le.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&le.next!==null?this.tag_check=le.next.text.split(" ")[0]:this.tag_check=le.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),le.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||le.closed&&le.closed.text==="/>";var ee=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(ee=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!J.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(ee)))}};oe.prototype._get_tag_open_token=function(J){var Y=new ae(this._options,this._tag_stack.get_parser_token(),J);return Y.alignment_size=this._options.wrap_attributes_indent_size,Y.is_end_tag=Y.is_end_tag||K(Y.tag_check,this._options.void_elements),Y.is_empty_element=Y.tag_complete||Y.is_start_tag&&Y.is_end_tag,Y.is_unformatted=!Y.tag_complete&&K(Y.tag_check,this._options.unformatted),Y.is_content_unformatted=!Y.is_empty_element&&K(Y.tag_check,this._options.content_unformatted),Y.is_inline_element=K(Y.tag_name,this._options.inline)||this._options.inline_custom_elements&&Y.tag_name.includes("-")||Y.tag_start_char==="{",Y},oe.prototype._set_tag_position=function(J,Y,le,ne,ee){if(le.is_empty_element||(le.is_end_tag?le.start_tag_token=this._tag_stack.try_pop(le.tag_name):(this._do_optional_end_element(le)&&(le.is_inline_element||J.print_newline(!1)),this._tag_stack.record_tag(le),(le.tag_name==="script"||le.tag_name==="style")&&!(le.is_unformatted||le.is_content_unformatted)&&(le.custom_beautifier_name=j(le.tag_check,Y)))),K(le.tag_check,this._options.extra_liners)&&(J.print_newline(!1),J._output.just_added_blankline()||J.print_newline(!0)),le.is_empty_element){if(le.tag_start_char==="{"&&le.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),le.indent_content=!0;var ie=J.current_line_has_match(/{{#if/);ie||J.print_newline(!1)}le.tag_name==="!--"&&ee.type===L.TAG_CLOSE&&ne.is_end_tag&&le.text.indexOf(`
|
|
|
`)===-1||(le.is_inline_element||le.is_unformatted||J.print_newline(!1),this._calcluate_parent_multiline(J,le))}else if(le.is_end_tag){var F=!1;F=le.start_tag_token&&le.start_tag_token.multiline_content,F=F||!le.is_inline_element&&!(ne.is_inline_element||ne.is_unformatted)&&!(ee.type===L.TAG_CLOSE&&le.start_tag_token===ne)&&ee.type!=="TK_CONTENT",(le.is_content_unformatted||le.is_unformatted)&&(F=!1),F&&J.print_newline(!1)}else le.indent_content=!le.custom_beautifier_name,le.tag_start_char==="<"&&(le.tag_name==="html"?le.indent_content=this._options.indent_inner_html:le.tag_name==="head"?le.indent_content=this._options.indent_head_inner_html:le.tag_name==="body"&&(le.indent_content=this._options.indent_body_inner_html)),!(le.is_inline_element||le.is_unformatted)&&(ee.type!=="TK_CONTENT"||le.is_content_unformatted)&&J.print_newline(!1),this._calcluate_parent_multiline(J,le)},oe.prototype._calcluate_parent_multiline=function(J,Y){Y.parent&&J._output.just_added_newline()&&!((Y.is_inline_element||Y.is_unformatted)&&Y.parent.is_inline_element)&&(Y.parent.multiline_content=!0)};var ce=["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"],q=["a","audio","del","ins","map","noscript","video"];oe.prototype._do_optional_end_element=function(J){var Y=null;if(!(J.is_empty_element||!J.is_start_tag||!J.parent)){if(J.tag_name==="body")Y=Y||this._tag_stack.try_pop("head");else if(J.tag_name==="li")Y=Y||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(J.tag_name==="dd"||J.tag_name==="dt")Y=Y||this._tag_stack.try_pop("dt",["dl"]),Y=Y||this._tag_stack.try_pop("dd",["dl"]);else if(J.parent.tag_name==="p"&&ce.indexOf(J.tag_name)!==-1){var le=J.parent.parent;(!le||q.indexOf(le.tag_name)===-1)&&(Y=Y||this._tag_stack.try_pop("p"))}else J.tag_name==="rp"||J.tag_name==="rt"?(Y=Y||this._tag_stack.try_pop("rt",["ruby","rtc"]),Y=Y||this._tag_stack.try_pop("rp",["ruby","rtc"])):J.tag_name==="optgroup"?Y=Y||this._tag_stack.try_pop("optgroup",["select"]):J.tag_name==="option"?Y=Y||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):J.tag_name==="colgroup"?Y=Y||this._tag_stack.try_pop("caption",["table"]):J.tag_name==="thead"?(Y=Y||this._tag_stack.try_pop("caption",["table"]),Y=Y||this._tag_stack.try_pop("colgroup",["table"])):J.tag_name==="tbody"||J.tag_name==="tfoot"?(Y=Y||this._tag_stack.try_pop("caption",["table"]),Y=Y||this._tag_stack.try_pop("colgroup",["table"]),Y=Y||this._tag_stack.try_pop("thead",["table"]),Y=Y||this._tag_stack.try_pop("tbody",["table"])):J.tag_name==="tr"?(Y=Y||this._tag_stack.try_pop("caption",["table"]),Y=Y||this._tag_stack.try_pop("colgroup",["table"]),Y=Y||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(J.tag_name==="th"||J.tag_name==="td")&&(Y=Y||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),Y=Y||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return J.parent=this._tag_stack.get_parser_token(),Y}},p.exports.Beautifier=oe},function(p,y,_){var b=_(6).Options;function A(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"])}A.prototype=new b,p.exports.Options=A},function(p,y,_){var b=_(9).Tokenizer,A=_(9).TOKEN,R=_(13).Directives,L=_(14).TemplatablePattern,P=_(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:A.START,RAW:A.RAW,EOF:A.EOF},B=new R(/<\!--/,/-->/),$=function(j,K){b.call(this,j,K),this._current_tag_name="";var V=new L(this._input).read_options(this._options),W=new P(this._input);if(this.__patterns={word:V.until(/[\n\r\t <]/),word_control_flow_close_excluded:V.until(/[\n\r\t <}]/),single_quote:V.until_after(/'/),double_quote:V.until_after(/"/),attribute:V.until(/[\n\r\t =>]|\/>/),element_name:V.until(/[\n\r\t >\/]/),angular_control_flow_start:W.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:W.starting_with(/{{!--/).until_after(/--}}/),handlebars:W.starting_with(/{{/).until_after(/}}/),handlebars_open:W.until(/[\n\r\t }]/),handlebars_raw_close:W.until(/}}/),comment:W.starting_with(/<!--/).until_after(/-->/),cdata:W.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:W.starting_with(/<!\[/).until_after(/]>/),processing:W.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=W.matching(oe).until_after(oe)}};$.prototype=new b,$.prototype._is_comment=function(j){return!1},$.prototype._is_opening=function(j){return j.type===D.TAG_OPEN||j.type===D.CONTROL_FLOW_OPEN},$.prototype._is_closing=function(j,K){return j.type===D.TAG_CLOSE&&K&&((j.text===">"||j.text==="/>")&&K.text[0]==="<"||j.text==="}}"&&K.text[0]==="{"&&K.text[1]==="{")||j.type===D.CONTROL_FLOW_CLOSE&&j.text==="}"&&K.text.endsWith("{")},$.prototype._reset=function(){this._current_tag_name=""},$.prototype._get_next_token=function(j,K){var V=null;this._readWhitespace();var W=this._input.peek();return W===null?this._create_token(D.EOF,""):(V=V||this._read_open_handlebars(W,K),V=V||this._read_attribute(W,j,K),V=V||this._read_close(W,K),V=V||this._read_script_and_style(W,j),V=V||this._read_control_flows(W,K),V=V||this._read_raw_content(W,j,K),V=V||this._read_content_word(W,K),V=V||this._read_comment_or_cdata(W),V=V||this._read_processing(W),V=V||this._read_open(W,K),V=V||this._create_token(D.UNKNOWN,this._input.next()),V)},$.prototype._read_comment_or_cdata=function(j){var K=null,V=null,W=null;if(j==="<"){var oe=this._input.peek(1);oe==="!"&&(V=this.__patterns.comment.read(),V?(W=B.get_directives(V),W&&W.ignore==="start"&&(V+=B.readIgnored(this._input))):V=this.__patterns.cdata.read()),V&&(K=this._create_token(D.COMMENT,V),K.directives=W)}return K},$.prototype._read_processing=function(j){var K=null,V=null,W=null;if(j==="<"){var oe=this._input.peek(1);(oe==="!"||oe==="?")&&(V=this.__patterns.conditional_comment.read(),V=V||this.__patterns.processing.read()),V&&(K=this._create_token(D.COMMENT,V),K.directives=W)}return K},$.prototype._read_open=function(j,K){var V=null,W=null;return(!K||K.type===D.CONTROL_FLOW_OPEN)&&j==="<"&&(V=this._input.next(),this._input.peek()==="/"&&(V+=this._input.next()),V+=this.__patterns.element_name.read(),W=this._create_token(D.TAG_OPEN,V)),W},$.prototype._read_open_handlebars=function(j,K){var V=null,W=null;return(!K||K.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)==="!"?(V=this.__patterns.handlebars_comment.read(),V=V||this.__patterns.handlebars.read(),W=this._create_token(D.COMMENT,V)):(V=this.__patterns.handlebars_open.read(),W=this._create_token(D.TAG_OPEN,V))),W},$.prototype._read_control_flows=function(j,K){var V="",W=null;if(!this._options.templating.includes("angular"))return W;if(j==="@"){if(V=this.__patterns.angular_control_flow_start.read(),V==="")return W;for(var oe=V.endsWith("(")?1:0,ae=0;!(V.endsWith("{")&&oe===ae);){var ce=this._input.next();if(ce===null)break;ce==="("?oe++:ce===")"&&ae++,V+=ce}W=this._create_token(D.CONTROL_FLOW_OPEN,V)}else j==="}"&&K&&K.type===D.CONTROL_FLOW_OPEN&&(V=this._input.next(),W=this._create_token(D.CONTROL_FLOW_CLOSE,V));return W},$.prototype._read_close=function(j,K){var V=null,W=null;return K&&K.type===D.TAG_OPEN&&(K.text[0]==="<"&&(j===">"||j==="/"&&this._input.peek(1)===">")?(V=this._input.next(),j==="/"&&(V+=this._input.next()),W=this._create_token(D.TAG_CLOSE,V)):K.text[0]==="{"&&j==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),W=this._create_token(D.TAG_CLOSE,"}}"))),W},$.prototype._read_attribute=function(j,K,V){var W=null,oe="";if(V&&V.text[0]==="<")if(j==="=")W=this._create_token(D.EQUALS,this._input.next());else if(j==='"'||j==="'"){var ae=this._input.next();j==='"'?ae+=this.__patterns.double_quote.read():ae+=this.__patterns.single_quote.read(),W=this._create_token(D.VALUE,ae)}else oe=this.__patterns.attribute.read(),oe&&(K.type===D.EQUALS?W=this._create_token(D.VALUE,oe):W=this._create_token(D.ATTRIBUTE,oe));return W},$.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)},$.prototype._read_raw_content=function(j,K,V){var W="";if(V&&V.text[0]==="{")W=this.__patterns.handlebars_raw_close.read();else if(K.type===D.TAG_CLOSE&&K.opened.text[0]==="<"&&K.text[0]!=="/"){var oe=K.opened.text.substr(1).toLowerCase();this._is_content_unformatted(oe)&&(W=this._input.readUntil(new RegExp("</"+oe+"[\\n\\r\\t ]*?>","ig")))}return W?this._create_token(D.TEXT,W):null},$.prototype._read_script_and_style=function(j,K){if(K.type===D.TAG_CLOSE&&K.opened.text[0]==="<"&&K.text[0]!=="/"){var V=K.opened.text.substr(1).toLowerCase();if(V==="script"||V==="style"){var W=this._read_comment_or_cdata(j);if(W)return W.type=D.TEXT,W;var oe=this._input.readUntil(new RegExp("</"+V+"[\\n\\r\\t ]*?>","ig"));if(oe)return this._create_token(D.TEXT,oe)}}return null},$.prototype._read_content_word=function(j,K){var V="";return this._options.unformatted_content_delimiter&&j===this._options.unformatted_content_delimiter[0]&&(V=this.__patterns.unformatted_content_delimiter.read()),V||(V=K&&K.type===D.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),V?this._create_token(D.TEXT,V):null},p.exports.Tokenizer=$,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,o})()},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,A){var R=new p(b,A);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,A=x(7).Tokenizer,R=x(7).line_starters,L=x(7).positionable_operators,P=x(7).TOKEN;function D(M,Q){return Q.indexOf(M)!==-1}function B(M){return M.replace(/^\s+/g,"")}function $(M){for(var Q={},de=0;de<M.length;de++)Q[M[de].replace(/-/g,"_")]=M[de];return Q}function j(M,Q){return M&&M.type===P.RESERVED&&M.text===Q}function K(M,Q){return M&&M.type===P.RESERVED&&D(M.text,Q)}var V=["case","return","do","if","throw","else","await","break","continue","async"],W=["before-newline","after-newline","preserve-newline"],oe=$(W),ae=[oe.before_newline,oe.preserve_newline],ce={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function q(M,Q){Q.multiline_frame||Q.mode===ce.ForInitializer||Q.mode===ce.Conditional||M.remove_indent(Q.start_line_index)}function J(M){M=M.replace(_.allLineBreaks,`
|
|
|
`);for(var Q=[],de=M.indexOf(`
|
|
|
`);de!==-1;)Q.push(M.substring(0,de)),M=M.substring(de+1),de=M.indexOf(`
|
|
|
`);return M.length&&Q.push(M),Q}function Y(M){return M===ce.ArrayLiteral}function le(M){return D(M,[ce.Expression,ce.ForInitializer,ce.Conditional])}function ne(M,Q){for(var de=0;de<M.length;de++){var Se=M[de].trim();if(Se.charAt(0)!==Q)return!1}return!0}function ee(M,Q){for(var de=0,Se=M.length,Ie;de<Se;de++)if(Ie=M[de],Ie&&Ie.indexOf(Q)!==0)return!1;return!0}function ie(M,Q){Q=Q||{},this._source_text=M||"",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(Q)}ie.prototype.create_flags=function(M,Q){var de=0;M&&(de=M.indentation_level,!this._output.just_added_newline()&&M.line_indent_level>de&&(de=M.line_indent_level));var Se={mode:Q,parent:M,last_token:M?M.last_token:new y(P.START_BLOCK,""),last_word:M?M.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:de,alignment:0,line_indent_level:M?M.line_indent_level:de,start_line_index:this._output.get_line_number(),ternary_depth:0};return Se},ie.prototype._reset=function(M){var Q=M.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new p(this._options,Q),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(ce.BlockStatement);var de=new A(M,this._options);return this._tokens=de.tokenize(),M},ie.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var M,Q=this._reset(this._source_text),de=this._options.eol;this._options.eol==="auto"&&(de=`
|
|
|
`,Q&&_.lineBreak.test(Q||"")&&(de=Q.match(_.lineBreak)[0]));for(var Se=this._tokens.next();Se;)this.handle_token(Se),this._last_last_text=this._flags.last_token.text,this._flags.last_token=Se,Se=this._tokens.next();return M=this._output.get_code(de),M},ie.prototype.handle_token=function(M,Q){M.type===P.START_EXPR?this.handle_start_expr(M):M.type===P.END_EXPR?this.handle_end_expr(M):M.type===P.START_BLOCK?this.handle_start_block(M):M.type===P.END_BLOCK?this.handle_end_block(M):M.type===P.WORD?this.handle_word(M):M.type===P.RESERVED?this.handle_word(M):M.type===P.SEMICOLON?this.handle_semicolon(M):M.type===P.STRING?this.handle_string(M):M.type===P.EQUALS?this.handle_equals(M):M.type===P.OPERATOR?this.handle_operator(M):M.type===P.COMMA?this.handle_comma(M):M.type===P.BLOCK_COMMENT?this.handle_block_comment(M,Q):M.type===P.COMMENT?this.handle_comment(M,Q):M.type===P.DOT?this.handle_dot(M):M.type===P.EOF?this.handle_eof(M):M.type===P.UNKNOWN?this.handle_unknown(M,Q):this.handle_unknown(M,Q)},ie.prototype.handle_whitespace_and_comments=function(M,Q){var de=M.newlines,Se=this._options.keep_array_indentation&&Y(this._flags.mode);if(M.comments_before)for(var Ie=M.comments_before.next();Ie;)this.handle_whitespace_and_comments(Ie,Q),this.handle_token(Ie,Q),Ie=M.comments_before.next();if(Se)for(var je=0;je<de;je+=1)this.print_newline(je>0,Q);else if(this._options.max_preserve_newlines&&de>this._options.max_preserve_newlines&&(de=this._options.max_preserve_newlines),this._options.preserve_newlines&&de>1){this.print_newline(!1,Q);for(var Fe=1;Fe<de;Fe+=1)this.print_newline(!0,Q)}};var F=["async","break","continue","return","throw","yield"];ie.prototype.allow_wrap_or_preserved_newline=function(M,Q){if(Q=Q===void 0?!1:Q,!this._output.just_added_newline()){var de=this._options.preserve_newlines&&M.newlines||Q,Se=D(this._flags.last_token.text,L)||D(M.text,L);if(Se){var Ie=D(this._flags.last_token.text,L)&&D(this._options.operator_position,ae)||D(M.text,L);de=de&&Ie}if(de)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(K(this._flags.last_token,F))return;this._output.set_wrap_point()}}},ie.prototype.print_newline=function(M,Q){if(!Q&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==P.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var de=this._tokens.peek();this._flags.mode===ce.Statement&&!(this._flags.if_block&&j(de,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(M)&&(this._flags.multiline_frame=!0)},ie.prototype.print_token_line_indentation=function(M){this._output.just_added_newline()&&(this._options.keep_array_indentation&&M.newlines&&(M.text==="["||Y(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(M.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))},ie.prototype.print_token=function(M){if(this._output.raw){this._output.add_raw_token(M);return}if(this._options.comma_first&&M.previous&&M.previous.type===P.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var Q=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(Q),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(M),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(M),this._output.non_breaking_space=!0,this._output.add_token(M.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},ie.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ie.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))},ie.prototype.set_mode=function(M){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,M),this._flags=this.create_flags(this._previous_flags,M),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ie.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===ce.Statement&&q(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ie.prototype.start_of_object_property=function(){return this._flags.parent.mode===ce.ObjectLiteral&&this._flags.mode===ce.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||K(this._flags.last_token,["get","set"]))},ie.prototype.start_of_statement=function(M){var Q=!1;return Q=Q||K(this._flags.last_token,["var","let","const"])&&M.type===P.WORD,Q=Q||j(this._flags.last_token,"do"),Q=Q||!(this._flags.parent.mode===ce.ObjectLiteral&&this._flags.mode===ce.Statement)&&K(this._flags.last_token,F)&&!M.newlines,Q=Q||j(this._flags.last_token,"else")&&!(j(M,"if")&&!M.comments_before),Q=Q||this._flags.last_token.type===P.END_EXPR&&(this._previous_flags.mode===ce.ForInitializer||this._previous_flags.mode===ce.Conditional),Q=Q||this._flags.last_token.type===P.WORD&&this._flags.mode===ce.BlockStatement&&!this._flags.in_case&&!(M.text==="--"||M.text==="++")&&this._last_last_text!=="function"&&M.type!==P.WORD&&M.type!==P.RESERVED,Q=Q||this._flags.mode===ce.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||K(this._flags.last_token,["get","set"])),Q?(this.set_mode(ce.Statement),this.indent(),this.handle_whitespace_and_comments(M,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(M,K(M,["do","for","if","while"])),!0):!1},ie.prototype.handle_start_expr=function(M){this.start_of_statement(M)||this.handle_whitespace_and_comments(M);var Q=ce.Expression;if(M.text==="["){if(this._flags.last_token.type===P.WORD||this._flags.last_token.text===")"){K(this._flags.last_token,R)&&(this._output.space_before_token=!0),this.print_token(M),this.set_mode(Q),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}Q=ce.ArrayLiteral,Y(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,[P.START_EXPR,P.END_EXPR,P.WORD,P.OPERATOR,P.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===P.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,Q=ce.ForInitializer):D(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,Q=ce.Conditional):D(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&M.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===P.EQUALS||this._flags.last_token.type===P.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(M);else if(this._flags.last_token.type===P.WORD){this._output.space_before_token=!1;var de=this._tokens.peek(-3);if(this._options.space_after_named_function&&de){var Se=this._tokens.peek(-4);K(de,["async","function"])||de.text==="*"&&K(Se,["async","function"])?this._output.space_before_token=!0:this._flags.mode===ce.ObjectLiteral?(de.text==="{"||de.text===","||de.text==="*"&&(Se.text==="{"||Se.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(M);(this._flags.last_token.type===P.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===ce.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===P.START_BLOCK?this.print_newline():(this._flags.last_token.type===P.END_EXPR||this._flags.last_token.type===P.START_EXPR||this._flags.last_token.type===P.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===P.COMMA)&&this.allow_wrap_or_preserved_newline(M,M.newlines),this.print_token(M),this.set_mode(Q),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},ie.prototype.handle_end_expr=function(M){for(;this._flags.mode===ce.Statement;)this.restore_mode();this.handle_whitespace_and_comments(M),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(M,M.text==="]"&&Y(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===P.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(M),this.restore_mode(),q(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===ce.Conditional&&(this._previous_flags.mode=ce.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},ie.prototype.handle_start_block=function(M){this.handle_whitespace_and_comments(M);var Q=this._tokens.peek(),de=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===P.END_EXPR?(this.set_mode(ce.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(ce.BlockStatement):de&&(D(de.text,[":",","])&&D(Q.type,[P.STRING,P.WORD,P.RESERVED])||D(Q.text,["get","set","..."])&&D(de.type,[P.WORD,P.RESERVED]))?D(this._last_last_text,["class","interface"])&&!D(de.text,[":",","])?this.set_mode(ce.BlockStatement):this.set_mode(ce.ObjectLiteral):this._flags.last_token.type===P.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(ce.BlockStatement):D(this._flags.last_token.type,[P.EQUALS,P.START_EXPR,P.COMMA,P.OPERATOR])||K(this._flags.last_token,["return","throw","import","default"])?this.set_mode(ce.ObjectLiteral):this.set_mode(ce.BlockStatement),this._flags.last_token&&K(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Se=!Q.comments_before&&Q.text==="}",Ie=Se&&this._flags.last_word==="function"&&this._flags.last_token.type===P.END_EXPR;if(this._options.brace_preserve_inline){var je=0,Fe=null;this._flags.inline_frame=!0;do if(je+=1,Fe=this._tokens.peek(je-1),Fe.newlines){this._flags.inline_frame=!1;break}while(Fe.type!==P.EOF&&!(Fe.type===P.END_BLOCK&&Fe.opened===M))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&M.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==P.OPERATOR&&(Ie||this._flags.last_token.type===P.EQUALS||K(this._flags.last_token,V)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(Y(this._previous_flags.mode)&&(this._flags.last_token.type===P.START_EXPR||this._flags.last_token.type===P.COMMA)&&((this._flags.last_token.type===P.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===P.COMMA||this._flags.last_token.type===P.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(M),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==P.OPERATOR&&this._flags.last_token.type!==P.START_EXPR&&(D(this._flags.last_token.type,[P.START_BLOCK,P.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(M),this.indent(),!Se&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},ie.prototype.handle_end_block=function(M){for(this.handle_whitespace_and_comments(M);this._flags.mode===ce.Statement;)this.restore_mode();var Q=this._flags.last_token.type===P.START_BLOCK;this._flags.inline_frame&&!Q?this._output.space_before_token=!0:this._options.brace_style==="expand"?Q||this.print_newline():Q||(Y(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(M)},ie.prototype.handle_word=function(M){if(M.type===P.RESERVED){if(D(M.text,["set","get"])&&this._flags.mode!==ce.ObjectLiteral)M.type=P.WORD;else if(M.text==="import"&&D(this._tokens.peek().text,["(","."]))M.type=P.WORD;else if(D(M.text,["as","from"])&&!this._flags.import_block)M.type=P.WORD;else if(this._flags.mode===ce.ObjectLiteral){var Q=this._tokens.peek();Q.text===":"&&(M.type=P.WORD)}}if(this.start_of_statement(M)?K(this._flags.last_token,["var","let","const"])&&M.type===P.WORD&&(this._flags.declaration_statement=!0):M.newlines&&!le(this._flags.mode)&&(this._flags.last_token.type!==P.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==P.EQUALS&&(this._options.preserve_newlines||!K(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(M),this.print_newline()):this.handle_whitespace_and_comments(M),this._flags.do_block&&!this._flags.do_while)if(j(M,"while")){this._output.space_before_token=!0,this.print_token(M),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(M,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===ce.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&K(M,["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(M),this._flags.in_case=!0;return}if((this._flags.last_token.type===P.COMMA||this._flags.last_token.type===P.START_EXPR||this._flags.last_token.type===P.EQUALS||this._flags.last_token.type===P.OPERATOR)&&!this.start_of_object_property()&&!(D(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===ce.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(M),j(M,"function")){(D(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(D(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===P.OPERATOR))&&!this._output.just_added_blankline()&&!M.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===P.RESERVED||this._flags.last_token.type===P.WORD?K(this._flags.last_token,["get","set","new","export"])||K(this._flags.last_token,F)?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===P.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(le(this._flags.mode)||Y(this._flags.mode))||this.print_newline(),this.print_token(M),this._flags.last_word=M.text;return}var de="NONE";if(this._flags.last_token.type===P.END_BLOCK?this._previous_flags.inline_frame?de="SPACE":K(M,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&M.newlines?de="NEWLINE":(de="SPACE",this._output.space_before_token=!0):de="NEWLINE":this._flags.last_token.type===P.SEMICOLON&&this._flags.mode===ce.BlockStatement?de="NEWLINE":this._flags.last_token.type===P.SEMICOLON&&le(this._flags.mode)?de="SPACE":this._flags.last_token.type===P.STRING?de="NEWLINE":this._flags.last_token.type===P.RESERVED||this._flags.last_token.type===P.WORD||this._flags.last_token.text==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===ce.ObjectLiteral&&D(this._last_last_text,["{",","]))?de="SPACE":this._flags.last_token.type===P.START_BLOCK?this._flags.inline_frame?de="SPACE":de="NEWLINE":this._flags.last_token.type===P.END_EXPR&&(this._output.space_before_token=!0,de="NEWLINE"),K(M,R)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?de="SPACE":de="NEWLINE"),K(M,["else","catch","finally"]))if((!(this._flags.last_token.type===P.END_BLOCK&&this._previous_flags.mode===ce.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&M.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var Se=this._output.current_line;Se.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else de==="NEWLINE"?K(this._flags.last_token,V)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&K(M,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==P.END_EXPR?(this._flags.last_token.type!==P.START_EXPR||!K(M,["var","let","const"]))&&this._flags.last_token.text!==":"&&(j(M,"if")&&j(M.previous,"else")?this._output.space_before_token=!0:this.print_newline()):K(M,R)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&Y(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():de==="SPACE"&&(this._output.space_before_token=!0);M.previous&&(M.previous.type===P.WORD||M.previous.type===P.RESERVED)&&(this._output.space_before_token=!0),this.print_token(M),this._flags.last_word=M.text,M.type===P.RESERVED&&(M.text==="do"?this._flags.do_block=!0:M.text==="if"?this._flags.if_block=!0:M.text==="import"?this._flags.import_block=!0:this._flags.import_block&&j(M,"from")&&(this._flags.import_block=!1))},ie.prototype.handle_semicolon=function(M){this.start_of_statement(M)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(M);for(var Q=this._tokens.peek();this._flags.mode===ce.Statement&&!(this._flags.if_block&&j(Q,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(M)},ie.prototype.handle_string=function(M){M.text.startsWith("`")&&M.newlines===0&&M.whitespace_before===""&&(M.previous.text===")"||this._flags.last_token.type===P.WORD)||(this.start_of_statement(M)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(M),this._flags.last_token.type===P.RESERVED||this._flags.last_token.type===P.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===P.COMMA||this._flags.last_token.type===P.START_EXPR||this._flags.last_token.type===P.EQUALS||this._flags.last_token.type===P.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(M):M.text.startsWith("`")&&this._flags.last_token.type===P.END_EXPR&&(M.previous.text==="]"||M.previous.text===")")&&M.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(M)},ie.prototype.handle_equals=function(M){this.start_of_statement(M)||this.handle_whitespace_and_comments(M),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(M),this._output.space_before_token=!0},ie.prototype.handle_comma=function(M){this.handle_whitespace_and_comments(M,!0),this.print_token(M),this._output.space_before_token=!0,this._flags.declaration_statement?(le(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(M)):this._flags.mode===ce.ObjectLiteral||this._flags.mode===ce.Statement&&this._flags.parent.mode===ce.ObjectLiteral?(this._flags.mode===ce.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(M)},ie.prototype.handle_operator=function(M){var Q=M.text==="*"&&(K(this._flags.last_token,["function","yield"])||D(this._flags.last_token.type,[P.START_BLOCK,P.COMMA,P.END_BLOCK,P.SEMICOLON])),de=D(M.text,["-","+"])&&(D(this._flags.last_token.type,[P.START_BLOCK,P.START_EXPR,P.EQUALS,P.OPERATOR])||D(this._flags.last_token.text,R)||this._flags.last_token.text===",");if(!this.start_of_statement(M)){var Se=!Q;this.handle_whitespace_and_comments(M,Se)}if(M.text==="*"&&this._flags.last_token.type===P.DOT){this.print_token(M);return}if(M.text==="::"){this.print_token(M);return}if(D(M.text,["-","+"])&&this.start_of_object_property()){this.print_token(M);return}if(this._flags.last_token.type===P.OPERATOR&&D(this._options.operator_position,ae)&&this.allow_wrap_or_preserved_newline(M),M.text===":"&&this._flags.in_case){this.print_token(M),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==P.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 Ie=!0,je=!0,Fe=!1;if(M.text===":"?this._flags.ternary_depth===0?Ie=!1:(this._flags.ternary_depth-=1,Fe=!0):M.text==="?"&&(this._flags.ternary_depth+=1),!de&&!Q&&this._options.preserve_newlines&&D(M.text,L)){var Ft=M.text===":",_t=Ft&&Fe,Pt=Ft&&!Fe;switch(this._options.operator_position){case oe.before_newline:this._output.space_before_token=!Pt,this.print_token(M),(!Ft||_t)&&this.allow_wrap_or_preserved_newline(M),this._output.space_before_token=!0;return;case oe.after_newline:this._output.space_before_token=!0,!Ft||_t?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(M):this._output.space_before_token=!1,this.print_token(M),this._output.space_before_token=!0;return;case oe.preserve_newline:Pt||this.allow_wrap_or_preserved_newline(M),Ie=!(this._output.just_added_newline()||Pt),this._output.space_before_token=Ie,this.print_token(M),this._output.space_before_token=!0;return}}if(Q){this.allow_wrap_or_preserved_newline(M),Ie=!1;var Qt=this._tokens.peek();je=Qt&&D(Qt.type,[P.WORD,P.RESERVED])}else if(M.text==="...")this.allow_wrap_or_preserved_newline(M),Ie=this._flags.last_token.type===P.START_BLOCK,je=!1;else if(D(M.text,["--","++","!","~"])||de){if((this._flags.last_token.type===P.COMMA||this._flags.last_token.type===P.START_EXPR)&&this.allow_wrap_or_preserved_newline(M),Ie=!1,je=!1,M.newlines&&(M.text==="--"||M.text==="++"||M.text==="~")){var Jt=K(this._flags.last_token,V)&&M.newlines;Jt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Jt,!0)}this._flags.last_token.text===";"&&le(this._flags.mode)&&(Ie=!0),this._flags.last_token.type===P.RESERVED?Ie=!0:this._flags.last_token.type===P.END_EXPR?Ie=!(this._flags.last_token.text==="]"&&(M.text==="--"||M.text==="++")):this._flags.last_token.type===P.OPERATOR&&(Ie=D(M.text,["--","-","++","+"])&&D(this._flags.last_token.text,["--","-","++","+"]),D(M.text,["+","-"])&&D(this._flags.last_token.text,["--","++"])&&(je=!0)),(this._flags.mode===ce.BlockStatement&&!this._flags.inline_frame||this._flags.mode===ce.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Ie,this.print_token(M),this._output.space_before_token=je},ie.prototype.handle_block_comment=function(M,Q){if(this._output.raw){this._output.add_raw_token(M),M.directives&&M.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(M.directives){this.print_newline(!1,Q),this.print_token(M),M.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!_.newline.test(M.text)&&!M.newlines){this._output.space_before_token=!0,this.print_token(M),this._output.space_before_token=!0;return}else this.print_block_commment(M,Q)},ie.prototype.print_block_commment=function(M,Q){var de=J(M.text),Se,Ie=!1,je=!1,Fe=M.whitespace_before,Ft=Fe.length;if(this.print_newline(!1,Q),this.print_token_line_indentation(M),this._output.add_token(de[0]),this.print_newline(!1,Q),de.length>1){for(de=de.slice(1),Ie=ne(de,"*"),je=ee(de,Fe),Ie&&(this._flags.alignment=1),Se=0;Se<de.length;Se++)Ie?(this.print_token_line_indentation(M),this._output.add_token(B(de[Se]))):je&&de[Se]?(this.print_token_line_indentation(M),this._output.add_token(de[Se].substring(Ft))):(this._output.current_line.set_indent(-1),this._output.add_token(de[Se])),this.print_newline(!1,Q);this._flags.alignment=0}},ie.prototype.handle_comment=function(M,Q){M.newlines?this.print_newline(!1,Q):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(M),this.print_newline(!1,Q)},ie.prototype.handle_dot=function(M){this.start_of_statement(M)||this.handle_whitespace_and_comments(M,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),K(this._flags.last_token,V)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(M,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(M)},ie.prototype.handle_unknown=function(M,Q){this.print_token(M),M.text[M.text.length-1]===`
|
|
|
`&&this.print_newline(!1,Q)},ie.prototype.handle_eof=function(M){for(;this._flags.mode===ce.Statement;)this.restore_mode();this.handle_whitespace_and_comments(M)},u.exports.Beautifier=ie},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 A=this.__lines[b];if(A.is_empty())break;if(A.item(0).indexOf(y)!==0&&A.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]+\\}",A="(?:"+b+"|["+x+y+"])",R="(?:"+b+"|["+p+y+_+"])*";a.identifier=new RegExp(A+R,"g"),a.identifierStart=new RegExp(A),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 A=this.raw_options.brace_style||null;A==="expand-strict"?this.raw_options.brace_style="expand":A==="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],A=_||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(A=b.concat()):typeof b=="string"&&(A=b.split(/[^a-zA-Z0-9_\/\-]+/)),A},a.prototype._get_boolean=function(y,_){var b=this.raw_options[y],A=b===void 0?!!_:!!b;return A},a.prototype._get_characters=function(y,_){var b=this.raw_options[y],A=_||"";return typeof b=="string"&&(A=b.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),A},a.prototype._get_number=function(y,_){var b=this.raw_options[y];_=parseInt(_,10),isNaN(_)&&(_=0);var A=parseInt(b,10);return isNaN(A)&&(A=_),A},a.prototype._get_selection=function(y,_,b){var A=this._get_selection_list(y,_,b);if(A.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 A[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 A=this._get_array(y,b);if(!this._is_valid_selection(A,_))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
|
|
|
`+_+`
|
|
|
You passed in: '`+this.raw_options[y]+"'");return A},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 A;for(A in y)A!==_&&(b[A]=y[A]);if(_&&y[_])for(A in y[_])b[A]=y[_][A];return b}function p(y){var _={},b;for(b in y){var A=b.replace(/-/g,"_");_[A]=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,A=x(4),R=x(12).Pattern,L=x(14).TemplatablePattern;function P(ne,ee){return ee.indexOf(ne)!==-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},B=new b(/\/\*/,/\*\//),$=/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]/,K=/[^\d\.]/,V=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),W=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";W=W.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),W="\\?\\.(?!\\d) "+W,W=W.replace(/ /g,"|");var oe=new RegExp(W),ae="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),ce=ae.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),q=new RegExp("^(?:"+ce.join("|")+")$"),J,Y=function(ne,ee){y.call(this,ne,ee),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var ie=new R(this._input),F=new L(this._input).read_options(this._options);this.__patterns={template:F,identifier:F.starting_with(A.identifier).matching(A.identifierMatch),number:ie.matching($),punct:ie.matching(oe),comment:ie.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:ie.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:ie.matching(/<!--/),html_comment_end:ie.matching(/-->/),include:ie.starting_with(/#include/).until_after(A.lineBreak),shebang:ie.starting_with(/#!/).until_after(A.lineBreak),xml:ie.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:F.until(/['\\\n\r\u2028\u2029]/),double_quote:F.until(/["\\\n\r\u2028\u2029]/),template_text:F.until(/[`\\$]/),template_expression:F.until(/[`}\\]/)}};Y.prototype=new y,Y.prototype._is_comment=function(ne){return ne.type===D.COMMENT||ne.type===D.BLOCK_COMMENT||ne.type===D.UNKNOWN},Y.prototype._is_opening=function(ne){return ne.type===D.START_BLOCK||ne.type===D.START_EXPR},Y.prototype._is_closing=function(ne,ee){return(ne.type===D.END_BLOCK||ne.type===D.END_EXPR)&&ee&&(ne.text==="]"&&ee.text==="["||ne.text===")"&&ee.text==="("||ne.text==="}"&&ee.text==="{")},Y.prototype._reset=function(){J=!1},Y.prototype._get_next_token=function(ne,ee){var ie=null;this._readWhitespace();var F=this._input.peek();return F===null?this._create_token(D.EOF,""):(ie=ie||this._read_non_javascript(F),ie=ie||this._read_string(F),ie=ie||this._read_pair(F,this._input.peek(1)),ie=ie||this._read_word(ne),ie=ie||this._read_singles(F),ie=ie||this._read_comment(F),ie=ie||this._read_regexp(F,ne),ie=ie||this._read_xml(F,ne),ie=ie||this._read_punctuation(),ie=ie||this._create_token(D.UNKNOWN,this._input.next()),ie)},Y.prototype._read_word=function(ne){var ee;if(ee=this.__patterns.identifier.read(),ee!=="")return ee=ee.replace(A.allLineBreaks,`
|
|
|
`),!(ne.type===D.DOT||ne.type===D.RESERVED&&(ne.text==="set"||ne.text==="get"))&&q.test(ee)?(ee==="in"||ee==="of")&&(ne.type===D.WORD||ne.type===D.STRING)?this._create_token(D.OPERATOR,ee):this._create_token(D.RESERVED,ee):this._create_token(D.WORD,ee);if(ee=this.__patterns.number.read(),ee!=="")return this._create_token(D.WORD,ee)},Y.prototype._read_singles=function(ne){var ee=null;return ne==="("||ne==="["?ee=this._create_token(D.START_EXPR,ne):ne===")"||ne==="]"?ee=this._create_token(D.END_EXPR,ne):ne==="{"?ee=this._create_token(D.START_BLOCK,ne):ne==="}"?ee=this._create_token(D.END_BLOCK,ne):ne===";"?ee=this._create_token(D.SEMICOLON,ne):ne==="."&&K.test(this._input.peek(1))?ee=this._create_token(D.DOT,ne):ne===","&&(ee=this._create_token(D.COMMA,ne)),ee&&this._input.next(),ee},Y.prototype._read_pair=function(ne,ee){var ie=null;return ne==="#"&&ee==="{"&&(ie=this._create_token(D.START_BLOCK,ne+ee)),ie&&(this._input.next(),this._input.next()),ie},Y.prototype._read_punctuation=function(){var ne=this.__patterns.punct.read();if(ne!=="")return ne==="="?this._create_token(D.EQUALS,ne):ne==="?."?this._create_token(D.DOT,ne):this._create_token(D.OPERATOR,ne)},Y.prototype._read_non_javascript=function(ne){var ee="";if(ne==="#"){if(this._is_first_token()&&(ee=this.__patterns.shebang.read(),ee))return this._create_token(D.UNKNOWN,ee.trim()+`
|
|
|
`);if(ee=this.__patterns.include.read(),ee)return this._create_token(D.UNKNOWN,ee.trim()+`
|
|
|
`);ne=this._input.next();var ie="#";if(this._input.hasNext()&&this._input.testChar(j)){do ne=this._input.next(),ie+=ne;while(this._input.hasNext()&&ne!=="#"&&ne!=="=");return ne==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(ie+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(ie+="{}",this._input.next(),this._input.next())),this._create_token(D.WORD,ie)}this._input.back()}else if(ne==="<"&&this._is_first_token()){if(ee=this.__patterns.html_comment_start.read(),ee){for(;this._input.hasNext()&&!this._input.testChar(A.newline);)ee+=this._input.next();return J=!0,this._create_token(D.COMMENT,ee)}}else if(J&&ne==="-"&&(ee=this.__patterns.html_comment_end.read(),ee))return J=!1,this._create_token(D.COMMENT,ee);return null},Y.prototype._read_comment=function(ne){var ee=null;if(ne==="/"){var ie="";if(this._input.peek(1)==="*"){ie=this.__patterns.block_comment.read();var F=B.get_directives(ie);F&&F.ignore==="start"&&(ie+=B.readIgnored(this._input)),ie=ie.replace(A.allLineBreaks,`
|
|
|
`),ee=this._create_token(D.BLOCK_COMMENT,ie),ee.directives=F}else this._input.peek(1)==="/"&&(ie=this.__patterns.comment.read(),ee=this._create_token(D.COMMENT,ie))}return ee},Y.prototype._read_string=function(ne){if(ne==="`"||ne==="'"||ne==='"'){var ee=this._input.next();return this.has_char_escapes=!1,ne==="`"?ee+=this._read_string_recursive("`",!0,"${"):ee+=this._read_string_recursive(ne),this.has_char_escapes&&this._options.unescape_strings&&(ee=le(ee)),this._input.peek()===ne&&(ee+=this._input.next()),ee=ee.replace(A.allLineBreaks,`
|
|
|
`),this._create_token(D.STRING,ee)}return null},Y.prototype._allow_regexp_or_xml=function(ne){return ne.type===D.RESERVED&&P(ne.text,["return","case","throw","else","do","typeof","yield"])||ne.type===D.END_EXPR&&ne.text===")"&&ne.opened.previous.type===D.RESERVED&&P(ne.opened.previous.text,["if","while","for"])||P(ne.type,[D.COMMENT,D.START_EXPR,D.START_BLOCK,D.START,D.END_BLOCK,D.OPERATOR,D.EQUALS,D.EOF,D.SEMICOLON,D.COMMA])},Y.prototype._read_regexp=function(ne,ee){if(ne==="/"&&this._allow_regexp_or_xml(ee)){for(var ie=this._input.next(),F=!1,M=!1;this._input.hasNext()&&(F||M||this._input.peek()!==ne)&&!this._input.testChar(A.newline);)ie+=this._input.peek(),F?F=!1:(F=this._input.peek()==="\\",this._input.peek()==="["?M=!0:this._input.peek()==="]"&&(M=!1)),this._input.next();return this._input.peek()===ne&&(ie+=this._input.next(),ie+=this._input.read(A.identifier)),this._create_token(D.STRING,ie)}return null},Y.prototype._read_xml=function(ne,ee){if(this._options.e4x&&ne==="<"&&this._allow_regexp_or_xml(ee)){var ie="",F=this.__patterns.xml.read_match();if(F){for(var M=F[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),Q=M.indexOf("{")===0,de=0;F;){var Se=!!F[1],Ie=F[2],je=!!F[F.length-1]||Ie.slice(0,8)==="![CDATA[";if(!je&&(Ie===M||Q&&Ie.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Se?--de:++de),ie+=F[0],de<=0)break;F=this.__patterns.xml.read_match()}return F||(ie+=this._input.match(/[\s\S]*/g)[0]),ie=ie.replace(A.allLineBreaks,`
|
|
|
`),this._create_token(D.STRING,ie)}}return null};function le(ne){for(var ee="",ie=0,F=new p(ne),M=null;F.hasNext();)if(M=F.match(/([\s]|[^\\]|\\\\)+/g),M&&(ee+=M[0]),F.peek()==="\\"){if(F.next(),F.peek()==="x")M=F.match(/x([0-9A-Fa-f]{2})/g);else if(F.peek()==="u")M=F.match(/u([0-9A-Fa-f]{4})/g),M||(M=F.match(/u\{([0-9A-Fa-f]+)\}/g));else{ee+="\\",F.hasNext()&&(ee+=F.next());continue}if(!M||(ie=parseInt(M[1],16),ie>126&&ie<=255&&M[0].indexOf("x")===0))return ne;ie>=0&&ie<32||ie>1114111?ee+="\\"+M[0]:ie===34||ie===39||ie===92?ee+="\\"+String.fromCharCode(ie):ee+=String.fromCharCode(ie)}return ee}Y.prototype._read_string_recursive=function(ne,ee,ie){var F,M;ne==="'"?M=this.__patterns.single_quote:ne==='"'?M=this.__patterns.double_quote:ne==="`"?M=this.__patterns.template_text:ne==="}"&&(M=this.__patterns.template_expression);for(var Q=M.read(),de="";this._input.hasNext();){if(de=this._input.next(),de===ne||!ee&&A.newline.test(de)){this._input.back();break}else de==="\\"&&this._input.hasNext()?(F=this._input.peek(),F==="x"||F==="u"?this.has_char_escapes=!0:F==="\r"&&this._input.peek(1)===`
|
|
|
`&&this._input.next(),de+=this._input.next()):ie&&(ie==="${"&&de==="$"&&this._input.peek()==="{"&&(de+=this._input.next()),ie===de&&(ne==="`"?de+=this._read_string_recursive("}",ee,"`"):de+=this._read_string_recursive("`",ee,"${"),this._input.hasNext()&&(de+=this._input.next())));de+=M.read(),Q+=de}return Q},u.exports.Tokenizer=Y,u.exports.TOKEN=D,u.exports.positionable_operators=V.slice(),u.exports.line_starters=ae.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="",A;return p&&(A=this.match(p),A&&(b+=A[0])),y&&(A||!p)&&(b+=this.readUntil(y,_)),b},x.prototype.readUntil=function(p,y){var _="",b=this.__position;p.lastIndex=this.__position;var A=p.exec(this.__input);return A?(b=A.index,y&&(b+=A[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,A={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},R=function(L,P){this._input=new p(L),this._options=P||{},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,P=new y(A.START,""),D=null,B=[],$=new _;P.type!==A.EOF;){for(L=this._get_next_token(P,D);this._is_comment(L);)$.add(L),L=this._get_next_token(P,D);$.isEmpty()||(L.comments_before=$,$=new _),L.parent=D,this._is_opening(L)?(B.push(D),D=L):D&&this._is_closing(L,D)&&(L.opened=D,D.closed=L,D=B.pop(),L.parent=D),L.previous=P,P.next=L,this.__tokens.add(L),P=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,P){this._readWhitespace();var D=this._input.read(/.+/g);return D?this._create_token(A.RAW,D):this._create_token(A.EOF,"")},R.prototype._is_comment=function(L){return!1},R.prototype._is_opening=function(L){return!1},R.prototype._is_closing=function(L,P){return!1},R.prototype._create_token=function(L,P){var D=new y(L,P,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=A},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 A=this._create();return A.__set_whitespace_patterns(_,b),A._update(),A},y.prototype._create=function(){return new y(this._input,this)},y.prototype.__split=function(_,b){_.lastIndex=0;for(var A=0,R=[],L=_.exec(b);L;)R.push(b.substring(A,L.index)),A=L.index+L[0].length,L=_.exec(b);return A<b.length?R.push(b.substring(A,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,A){p.call(this,b,A),this.__template_pattern=null,this._disabled=Object.assign({},y),this._excluded=Object.assign({},y),A&&(this.__template_pattern=this._input.get_regexp(A.__template_pattern),this._excluded=Object.assign(this._excluded,A._excluded),this._disabled=Object.assign(this._disabled,A._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 A=this._create();return A._disabled[b]=!0,A._update(),A},_.prototype.read_options=function(b){var A=this._create();for(var R in y)A._disabled[R]=b.templating.indexOf(R)===-1;return A._update(),A},_.prototype.exclude=function(b){var A=this._create();return A._excluded[b]=!0,A._update(),A},_.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 A=this._read_template();A;)this._match_pattern?A+=this._input.read(this._match_pattern):A+=this._input.readUntil(this.__template_pattern),b+=A,A=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="",A=this._input.peek();if(A==="<"){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 A==="{"&&(!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 o(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,o),x.exports}var h=o(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(o){return i[o]}.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(Z,X,te){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=Z,this.start=X,this.end=te}return Ve.range=function(X,te){return te?!X||!X.loc||!te.loc||X.loc.lexer!==te.loc.lexer?null:new Ve(X.loc.lexer,X.loc.start,te.loc.end):X&&X.loc},Ve}(),c=function(){function Ve(X,te){this.text=void 0,this.loc=void 0,this.text=X,this.loc=te}var Z=Ve.prototype;return Z.range=function(te,pe){return new Ve(pe,l.range(this,te))},Ve}(),f=function Ve(Z,X){this.position=void 0;var te="KaTeX parse error: "+Z,pe,Te=X&&X.loc;if(Te&&Te.start<=Te.end){var Ge=Te.lexer.input;pe=Te.start;var Tt=Te.end;pe===Ge.length?te+=" at end of input: ":te+=" at position "+(pe+1)+": ";var $t=Ge.slice(pe,Tt).replace(/[^]/g,"$&\u0332"),rr;pe>15?rr="\u2026"+Ge.slice(pe-15,pe):rr=Ge.slice(0,pe);var Ar;Tt+15<Ge.length?Ar=Ge.slice(Tt,Tt+15)+"\u2026":Ar=Ge.slice(Tt),te+=rr+$t+Ar}var zr=new Error(te);return zr.name="ParseError",zr.__proto__=Ve.prototype,zr.position=pe,zr};f.prototype.__proto__=Error.prototype;var o=f,h=function(Z,X){return Z.indexOf(X)!==-1},u=function(Z,X){return Z===void 0?X:Z},a=/([A-Z])/g,x=function(Z){return Z.replace(a,"-$1").toLowerCase()},p={"&":"&",">":">","<":"<",'"':""","'":"'"},y=/[&><"']/g;function _(Ve){return String(Ve).replace(y,function(Z){return p[Z]})}var b=function Ve(Z){return Z.type==="ordgroup"||Z.type==="color"?Z.body.length===1?Ve(Z.body[0]):Z:Z.type==="font"?Ve(Z.body):Z},A=function(Z){var X=b(Z);return X.type==="mathord"||X.type==="textord"||X.type==="atom"},R=function(Z){if(!Z)throw new Error("Expected non-null, but got "+String(Z));return Z},L=function(Z){var X=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(Z);return X!=null?X[1]:"_relative"},P={contains:h,deflt:u,escape:_,hyphenate:x,getBaseElem:b,isCharacterBox:A,protocolFromUrl:L},D=function(){function Ve(X){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,X=X||{},this.displayMode=P.deflt(X.displayMode,!1),this.output=P.deflt(X.output,"htmlAndMathml"),this.leqno=P.deflt(X.leqno,!1),this.fleqn=P.deflt(X.fleqn,!1),this.throwOnError=P.deflt(X.throwOnError,!0),this.errorColor=P.deflt(X.errorColor,"#cc0000"),this.macros=X.macros||{},this.minRuleThickness=Math.max(0,P.deflt(X.minRuleThickness,0)),this.colorIsTextColor=P.deflt(X.colorIsTextColor,!1),this.strict=P.deflt(X.strict,"warn"),this.trust=P.deflt(X.trust,!1),this.maxSize=Math.max(0,P.deflt(X.maxSize,1/0)),this.maxExpand=Math.max(0,P.deflt(X.maxExpand,1e3))}var Z=Ve.prototype;return Z.reportNonstrict=function(te,pe,Te){var Ge=this.strict;if(typeof Ge=="function"&&(Ge=Ge(te,pe,Te)),!(!Ge||Ge==="ignore")){if(Ge===!0||Ge==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(pe+" ["+te+"]"),Te);Ge==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(pe+" ["+te+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ge+"': "+pe+" ["+te+"]"))}},Z.useStrictBehavior=function(te,pe,Te){var Ge=this.strict;if(typeof Ge=="function")try{Ge=Ge(te,pe,Te)}catch(Tt){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': "+(pe+" ["+te+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ge+"': "+pe+" ["+te+"]")),!1)},Z.isTrusted=function(te){te.url&&!te.protocol&&(te.protocol=P.protocolFromUrl(te.url));var pe=typeof this.trust=="function"?this.trust(te):this.trust;return!!pe},Ve}(),B=function(){function Ve(X,te,pe){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=X,this.size=te,this.cramped=pe}var Z=Ve.prototype;return Z.sup=function(){return q[J[this.id]]},Z.sub=function(){return q[Y[this.id]]},Z.fracNum=function(){return q[le[this.id]]},Z.fracDen=function(){return q[ne[this.id]]},Z.cramp=function(){return q[ee[this.id]]},Z.text=function(){return q[ie[this.id]]},Z.isTight=function(){return this.size>=2},Ve}(),$=0,j=1,K=2,V=3,W=4,oe=5,ae=6,ce=7,q=[new B($,0,!1),new B(j,0,!0),new B(K,1,!1),new B(V,1,!0),new B(W,2,!1),new B(oe,2,!0),new B(ae,3,!1),new B(ce,3,!0)],J=[W,oe,W,oe,ae,ce,ae,ce],Y=[oe,oe,oe,oe,ce,ce,ce,ce],le=[K,V,W,oe,ae,ce,ae,ce],ne=[V,V,oe,oe,ce,ce,ce,ce],ee=[j,j,V,V,oe,oe,ce,ce],ie=[$,j,K,V,K,V,K,V],F={DISPLAY:q[$],TEXT:q[K],SCRIPT:q[W],SCRIPTSCRIPT:q[ae]},M=[{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 Q(Ve){for(var Z=0;Z<M.length;Z++)for(var X=M[Z],te=0;te<X.blocks.length;te++){var pe=X.blocks[te];if(Ve>=pe[0]&&Ve<=pe[1])return X.name}return null}var de=[];M.forEach(function(Ve){return Ve.blocks.forEach(function(Z){return de.push.apply(de,Z)})});function Se(Ve){for(var Z=0;Z<de.length;Z+=2)if(Ve>=de[Z]&&Ve<=de[Z+1])return!0;return!1}var Ie=80,je=function(Z,X){return"M95,"+(622+Z+X)+`
|
|
|
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`+Z/2.075+" -"+Z+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+Z)+`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+Z)+" "+X+"h400000v"+(40+Z)+"h-400000z"},Fe=function(Z,X){return"M263,"+(601+Z+X)+`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`+Z/2.084+" -"+Z+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+Z)+`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+Z)+" "+X+"h400000v"+(40+Z)+"h-400000z"},Ft=function(Z,X){return"M983 "+(10+Z+X)+`
|
|
|
l`+Z/3.13+" -"+Z+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+Z)+`
|
|
|
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+Z)+" "+X+"h400000v"+(40+Z)+"h-400000z"},_t=function(Z,X){return"M424,"+(2398+Z+X)+`
|
|
|
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`+Z/4.223+" -"+Z+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+Z)+`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+Z)+" "+X+`
|
|
|
h400000v`+(40+Z)+"h-400000z"},Pt=function(Z,X){return"M473,"+(2713+Z+X)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+Z/5.298+" -"+Z+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+Z)+`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+Z)+" "+X+"h400000v"+(40+Z)+"H1017.7z"},Qt=function(Z,X,te){var pe=te-54-X-Z;return"M702 "+(Z+X)+"H400000"+(40+Z)+`
|
|
|
H742v`+pe+`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 `+X+"H400000v"+(40+Z)+"H742z"},Jt=function(Z,X,te){X=1e3*X;var pe="";switch(Z){case"sqrtMain":pe=je(X,Ie);break;case"sqrtSize1":pe=Fe(X,Ie);break;case"sqrtSize2":pe=Ft(X,Ie);break;case"sqrtSize3":pe=_t(X,Ie);break;case"sqrtSize4":pe=Pt(X,Ie);break;case"sqrtTall":pe=Qt(X,Ie,te)}return pe},qt={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(X){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=X,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var Z=Ve.prototype;return Z.hasClass=function(te){return P.contains(this.classes,te)},Z.toNode=function(){for(var te=document.createDocumentFragment(),pe=0;pe<this.children.length;pe++)te.appendChild(this.children[pe].toNode());return te},Z.toMarkup=function(){for(var te="",pe=0;pe<this.children.length;pe++)te+=this.children[pe].toMarkup();return te},Z.toText=function(){var te=function(Te){return Te.toText()};return this.children.map(te).join("")},Ve}(),It=function(Z){return Z.filter(function(X){return X}).join(" ")},Ut=function(Z,X,te){if(this.classes=Z||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=te||{},X){X.style.isTight()&&this.classes.push("mtight");var pe=X.getColor();pe&&(this.style.color=pe)}},ot=function(Z){var X=document.createElement(Z);X.className=It(this.classes);for(var te in this.style)this.style.hasOwnProperty(te)&&(X.style[te]=this.style[te]);for(var pe in this.attributes)this.attributes.hasOwnProperty(pe)&&X.setAttribute(pe,this.attributes[pe]);for(var Te=0;Te<this.children.length;Te++)X.appendChild(this.children[Te].toNode());return X},bt=function(Z){var X="<"+Z;this.classes.length&&(X+=' class="'+P.escape(It(this.classes))+'"');var te="";for(var pe in this.style)this.style.hasOwnProperty(pe)&&(te+=P.hyphenate(pe)+":"+this.style[pe]+";");te&&(X+=' style="'+P.escape(te)+'"');for(var Te in this.attributes)this.attributes.hasOwnProperty(Te)&&(X+=" "+Te+'="'+P.escape(this.attributes[Te])+'"');X+=">";for(var Ge=0;Ge<this.children.length;Ge++)X+=this.children[Ge].toMarkup();return X+="</"+Z+">",X},ht=function(){function Ve(X,te,pe,Te){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,X,pe,Te),this.children=te||[]}var Z=Ve.prototype;return Z.setAttribute=function(te,pe){this.attributes[te]=pe},Z.hasClass=function(te){return P.contains(this.classes,te)},Z.toNode=function(){return ot.call(this,"span")},Z.toMarkup=function(){return bt.call(this,"span")},Ve}(),et=function(){function Ve(X,te,pe,Te){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,te,Te),this.children=pe||[],this.setAttribute("href",X)}var Z=Ve.prototype;return Z.setAttribute=function(te,pe){this.attributes[te]=pe},Z.hasClass=function(te){return P.contains(this.classes,te)},Z.toNode=function(){return ot.call(this,"a")},Z.toMarkup=function(){return bt.call(this,"a")},Ve}(),Ue=function(){function Ve(X,te,pe){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=te,this.src=X,this.classes=["mord"],this.style=pe}var Z=Ve.prototype;return Z.hasClass=function(te){return P.contains(this.classes,te)},Z.toNode=function(){var te=document.createElement("img");te.src=this.src,te.alt=this.alt,te.className="mord";for(var pe in this.style)this.style.hasOwnProperty(pe)&&(te.style[pe]=this.style[pe]);return te},Z.toMarkup=function(){var te="<img src='"+this.src+" 'alt='"+this.alt+"' ",pe="";for(var Te in this.style)this.style.hasOwnProperty(Te)&&(pe+=P.hyphenate(Te)+":"+this.style[Te]+";");return pe&&(te+=' style="'+P.escape(pe)+'"'),te+="'/>",te},Ve}(),ye={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Pe=function(){function Ve(X,te,pe,Te,Ge,Tt,$t,rr){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=X,this.height=te||0,this.depth=pe||0,this.italic=Te||0,this.skew=Ge||0,this.width=Tt||0,this.classes=$t||[],this.style=rr||{},this.maxFontSize=0;var Ar=Q(this.text.charCodeAt(0));Ar&&this.classes.push(Ar+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ye[this.text])}var Z=Ve.prototype;return Z.hasClass=function(te){return P.contains(this.classes,te)},Z.toNode=function(){var te=document.createTextNode(this.text),pe=null;this.italic>0&&(pe=document.createElement("span"),pe.style.marginRight=this.italic+"em"),this.classes.length>0&&(pe=pe||document.createElement("span"),pe.className=It(this.classes));for(var Te in this.style)this.style.hasOwnProperty(Te)&&(pe=pe||document.createElement("span"),pe.style[Te]=this.style[Te]);return pe?(pe.appendChild(te),pe):te},Z.toMarkup=function(){var te=!1,pe="<span";this.classes.length&&(te=!0,pe+=' class="',pe+=P.escape(It(this.classes)),pe+='"');var Te="";this.italic>0&&(Te+="margin-right:"+this.italic+"em;");for(var Ge in this.style)this.style.hasOwnProperty(Ge)&&(Te+=P.hyphenate(Ge)+":"+this.style[Ge]+";");Te&&(te=!0,pe+=' style="'+P.escape(Te)+'"');var Tt=P.escape(this.text);return te?(pe+=">",pe+=Tt,pe+="</span>",pe):Tt},Ve}(),Me=function(){function Ve(X,te){this.children=void 0,this.attributes=void 0,this.children=X||[],this.attributes=te||{}}var Z=Ve.prototype;return Z.toNode=function(){var te="http://www.w3.org/2000/svg",pe=document.createElementNS(te,"svg");for(var Te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Te)&&pe.setAttribute(Te,this.attributes[Te]);for(var Ge=0;Ge<this.children.length;Ge++)pe.appendChild(this.children[Ge].toNode());return pe},Z.toMarkup=function(){var te="<svg";for(var pe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,pe)&&(te+=" "+pe+"='"+this.attributes[pe]+"'");te+=">";for(var Te=0;Te<this.children.length;Te++)te+=this.children[Te].toMarkup();return te+="</svg>",te},Ve}(),$e=function(){function Ve(X,te){this.pathName=void 0,this.alternate=void 0,this.pathName=X,this.alternate=te}var Z=Ve.prototype;return Z.toNode=function(){var te="http://www.w3.org/2000/svg",pe=document.createElementNS(te,"path");return this.alternate?pe.setAttribute("d",this.alternate):pe.setAttribute("d",qt[this.pathName]),pe},Z.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+qt[this.pathName]+"'/>"},Ve}(),He=function(){function Ve(X){this.attributes=void 0,this.attributes=X||{}}var Z=Ve.prototype;return Z.toNode=function(){var te="http://www.w3.org/2000/svg",pe=document.createElementNS(te,"line");for(var Te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Te)&&pe.setAttribute(Te,this.attributes[Te]);return pe},Z.toMarkup=function(){var te="<line";for(var pe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,pe)&&(te+=" "+pe+"='"+this.attributes[pe]+"'");return te+="/>",te},Ve}();function nt(Ve){if(Ve instanceof Pe)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 Gt={"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]}},Ht={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]},Oe={\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 Je(Ve,Z){Gt[Ve]=Z}function Wt(Ve,Z,X){if(!Gt[Z])throw new Error("Font metrics not found for font: "+Z+".");var te=Ve.charCodeAt(0),pe=Gt[Z][te];if(!pe&&Ve[0]in Oe&&(te=Oe[Ve[0]].charCodeAt(0),pe=Gt[Z][te]),!pe&&X==="text"&&Se(te)&&(pe=Gt[Z][77]),pe)return{depth:pe[0],height:pe[1],italic:pe[2],skew:pe[3],width:pe[4]}}var kt={};function Zt(Ve){var Z;if(Ve>=5?Z=0:Ve>=3?Z=1:Z=2,!kt[Z]){var X=kt[Z]={cssEmPerMu:Ht.quad[Z]/18};for(var te in Ht)Ht.hasOwnProperty(te)&&(X[te]=Ht[te][Z])}return kt[Z]}var Bt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},At={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Kt={math:{},text:{}},We=Kt;function fe(Ve,Z,X,te,pe,Te){Kt[Ve][pe]={font:Z,group:X,replace:te},Te&&te&&(Kt[Ve][te]=Kt[Ve][pe])}var _e="math",Ot="text",De="main",dt="ams",zt="accent-token",Ct="bin",ke="close",wt="inner",xe="mathord",Ke="op-token",gt="open",Lt="punct",Be="rel",Dr="spacing",St="textord";fe(_e,De,Be,"\u2261","\\equiv",!0),fe(_e,De,Be,"\u227A","\\prec",!0),fe(_e,De,Be,"\u227B","\\succ",!0),fe(_e,De,Be,"\u223C","\\sim",!0),fe(_e,De,Be,"\u22A5","\\perp"),fe(_e,De,Be,"\u2AAF","\\preceq",!0),fe(_e,De,Be,"\u2AB0","\\succeq",!0),fe(_e,De,Be,"\u2243","\\simeq",!0),fe(_e,De,Be,"\u2223","\\mid",!0),fe(_e,De,Be,"\u226A","\\ll",!0),fe(_e,De,Be,"\u226B","\\gg",!0),fe(_e,De,Be,"\u224D","\\asymp",!0),fe(_e,De,Be,"\u2225","\\parallel"),fe(_e,De,Be,"\u22C8","\\bowtie",!0),fe(_e,De,Be,"\u2323","\\smile",!0),fe(_e,De,Be,"\u2291","\\sqsubseteq",!0),fe(_e,De,Be,"\u2292","\\sqsupseteq",!0),fe(_e,De,Be,"\u2250","\\doteq",!0),fe(_e,De,Be,"\u2322","\\frown",!0),fe(_e,De,Be,"\u220B","\\ni",!0),fe(_e,De,Be,"\u221D","\\propto",!0),fe(_e,De,Be,"\u22A2","\\vdash",!0),fe(_e,De,Be,"\u22A3","\\dashv",!0),fe(_e,De,Be,"\u220B","\\owns"),fe(_e,De,Lt,".","\\ldotp"),fe(_e,De,Lt,"\u22C5","\\cdotp"),fe(_e,De,St,"#","\\#"),fe(Ot,De,St,"#","\\#"),fe(_e,De,St,"&","\\&"),fe(Ot,De,St,"&","\\&"),fe(_e,De,St,"\u2135","\\aleph",!0),fe(_e,De,St,"\u2200","\\forall",!0),fe(_e,De,St,"\u210F","\\hbar",!0),fe(_e,De,St,"\u2203","\\exists",!0),fe(_e,De,St,"\u2207","\\nabla",!0),fe(_e,De,St,"\u266D","\\flat",!0),fe(_e,De,St,"\u2113","\\ell",!0),fe(_e,De,St,"\u266E","\\natural",!0),fe(_e,De,St,"\u2663","\\clubsuit",!0),fe(_e,De,St,"\u2118","\\wp",!0),fe(_e,De,St,"\u266F","\\sharp",!0),fe(_e,De,St,"\u2662","\\diamondsuit",!0),fe(_e,De,St,"\u211C","\\Re",!0),fe(_e,De,St,"\u2661","\\heartsuit",!0),fe(_e,De,St,"\u2111","\\Im",!0),fe(_e,De,St,"\u2660","\\spadesuit",!0),fe(Ot,De,St,"\xA7","\\S",!0),fe(Ot,De,St,"\xB6","\\P",!0),fe(_e,De,St,"\u2020","\\dag"),fe(Ot,De,St,"\u2020","\\dag"),fe(Ot,De,St,"\u2020","\\textdagger"),fe(_e,De,St,"\u2021","\\ddag"),fe(Ot,De,St,"\u2021","\\ddag"),fe(Ot,De,St,"\u2021","\\textdaggerdbl"),fe(_e,De,ke,"\u23B1","\\rmoustache",!0),fe(_e,De,gt,"\u23B0","\\lmoustache",!0),fe(_e,De,ke,"\u27EF","\\rgroup",!0),fe(_e,De,gt,"\u27EE","\\lgroup",!0),fe(_e,De,Ct,"\u2213","\\mp",!0),fe(_e,De,Ct,"\u2296","\\ominus",!0),fe(_e,De,Ct,"\u228E","\\uplus",!0),fe(_e,De,Ct,"\u2293","\\sqcap",!0),fe(_e,De,Ct,"\u2217","\\ast"),fe(_e,De,Ct,"\u2294","\\sqcup",!0),fe(_e,De,Ct,"\u25EF","\\bigcirc"),fe(_e,De,Ct,"\u2219","\\bullet"),fe(_e,De,Ct,"\u2021","\\ddagger"),fe(_e,De,Ct,"\u2240","\\wr",!0),fe(_e,De,Ct,"\u2A3F","\\amalg"),fe(_e,De,Ct,"&","\\And"),fe(_e,De,Be,"\u27F5","\\longleftarrow",!0),fe(_e,De,Be,"\u21D0","\\Leftarrow",!0),fe(_e,De,Be,"\u27F8","\\Longleftarrow",!0),fe(_e,De,Be,"\u27F6","\\longrightarrow",!0),fe(_e,De,Be,"\u21D2","\\Rightarrow",!0),fe(_e,De,Be,"\u27F9","\\Longrightarrow",!0),fe(_e,De,Be,"\u2194","\\leftrightarrow",!0),fe(_e,De,Be,"\u27F7","\\longleftrightarrow",!0),fe(_e,De,Be,"\u21D4","\\Leftrightarrow",!0),fe(_e,De,Be,"\u27FA","\\Longleftrightarrow",!0),fe(_e,De,Be,"\u21A6","\\mapsto",!0),fe(_e,De,Be,"\u27FC","\\longmapsto",!0),fe(_e,De,Be,"\u2197","\\nearrow",!0),fe(_e,De,Be,"\u21A9","\\hookleftarrow",!0),fe(_e,De,Be,"\u21AA","\\hookrightarrow",!0),fe(_e,De,Be,"\u2198","\\searrow",!0),fe(_e,De,Be,"\u21BC","\\leftharpoonup",!0),fe(_e,De,Be,"\u21C0","\\rightharpoonup",!0),fe(_e,De,Be,"\u2199","\\swarrow",!0),fe(_e,De,Be,"\u21BD","\\leftharpoondown",!0),fe(_e,De,Be,"\u21C1","\\rightharpoondown",!0),fe(_e,De,Be,"\u2196","\\nwarrow",!0),fe(_e,De,Be,"\u21CC","\\rightleftharpoons",!0),fe(_e,dt,Be,"\u226E","\\nless",!0),fe(_e,dt,Be,"\uE010","\\@nleqslant"),fe(_e,dt,Be,"\uE011","\\@nleqq"),fe(_e,dt,Be,"\u2A87","\\lneq",!0),fe(_e,dt,Be,"\u2268","\\lneqq",!0),fe(_e,dt,Be,"\uE00C","\\@lvertneqq"),fe(_e,dt,Be,"\u22E6","\\lnsim",!0),fe(_e,dt,Be,"\u2A89","\\lnapprox",!0),fe(_e,dt,Be,"\u2280","\\nprec",!0),fe(_e,dt,Be,"\u22E0","\\npreceq",!0),fe(_e,dt,Be,"\u22E8","\\precnsim",!0),fe(_e,dt,Be,"\u2AB9","\\precnapprox",!0),fe(_e,dt,Be,"\u2241","\\nsim",!0),fe(_e,dt,Be,"\uE006","\\@nshortmid"),fe(_e,dt,Be,"\u2224","\\nmid",!0),fe(_e,dt,Be,"\u22AC","\\nvdash",!0),fe(_e,dt,Be,"\u22AD","\\nvDash",!0),fe(_e,dt,Be,"\u22EA","\\ntriangleleft"),fe(_e,dt,Be,"\u22EC","\\ntrianglelefteq",!0),fe(_e,dt,Be,"\u228A","\\subsetneq",!0),fe(_e,dt,Be,"\uE01A","\\@varsubsetneq"),fe(_e,dt,Be,"\u2ACB","\\subsetneqq",!0),fe(_e,dt,Be,"\uE017","\\@varsubsetneqq"),fe(_e,dt,Be,"\u226F","\\ngtr",!0),fe(_e,dt,Be,"\uE00F","\\@ngeqslant"),fe(_e,dt,Be,"\uE00E","\\@ngeqq"),fe(_e,dt,Be,"\u2A88","\\gneq",!0),fe(_e,dt,Be,"\u2269","\\gneqq",!0),fe(_e,dt,Be,"\uE00D","\\@gvertneqq"),fe(_e,dt,Be,"\u22E7","\\gnsim",!0),fe(_e,dt,Be,"\u2A8A","\\gnapprox",!0),fe(_e,dt,Be,"\u2281","\\nsucc",!0),fe(_e,dt,Be,"\u22E1","\\nsucceq",!0),fe(_e,dt,Be,"\u22E9","\\succnsim",!0),fe(_e,dt,Be,"\u2ABA","\\succnapprox",!0),fe(_e,dt,Be,"\u2246","\\ncong",!0),fe(_e,dt,Be,"\uE007","\\@nshortparallel"),fe(_e,dt,Be,"\u2226","\\nparallel",!0),fe(_e,dt,Be,"\u22AF","\\nVDash",!0),fe(_e,dt,Be,"\u22EB","\\ntriangleright"),fe(_e,dt,Be,"\u22ED","\\ntrianglerighteq",!0),fe(_e,dt,Be,"\uE018","\\@nsupseteqq"),fe(_e,dt,Be,"\u228B","\\supsetneq",!0),fe(_e,dt,Be,"\uE01B","\\@varsupsetneq"),fe(_e,dt,Be,"\u2ACC","\\supsetneqq",!0),fe(_e,dt,Be,"\uE019","\\@varsupsetneqq"),fe(_e,dt,Be,"\u22AE","\\nVdash",!0),fe(_e,dt,Be,"\u2AB5","\\precneqq",!0),fe(_e,dt,Be,"\u2AB6","\\succneqq",!0),fe(_e,dt,Be,"\uE016","\\@nsubseteqq"),fe(_e,dt,Ct,"\u22B4","\\unlhd"),fe(_e,dt,Ct,"\u22B5","\\unrhd"),fe(_e,dt,Be,"\u219A","\\nleftarrow",!0),fe(_e,dt,Be,"\u219B","\\nrightarrow",!0),fe(_e,dt,Be,"\u21CD","\\nLeftarrow",!0),fe(_e,dt,Be,"\u21CF","\\nRightarrow",!0),fe(_e,dt,Be,"\u21AE","\\nleftrightarrow",!0),fe(_e,dt,Be,"\u21CE","\\nLeftrightarrow",!0),fe(_e,dt,Be,"\u25B3","\\vartriangle"),fe(_e,dt,St,"\u210F","\\hslash"),fe(_e,dt,St,"\u25BD","\\triangledown"),fe(_e,dt,St,"\u25CA","\\lozenge"),fe(_e,dt,St,"\u24C8","\\circledS"),fe(_e,dt,St,"\xAE","\\circledR"),fe(Ot,dt,St,"\xAE","\\circledR"),fe(_e,dt,St,"\u2221","\\measuredangle",!0),fe(_e,dt,St,"\u2204","\\nexists"),fe(_e,dt,St,"\u2127","\\mho"),fe(_e,dt,St,"\u2132","\\Finv",!0),fe(_e,dt,St,"\u2141","\\Game",!0),fe(_e,dt,St,"\u2035","\\backprime"),fe(_e,dt,St,"\u25B2","\\blacktriangle"),fe(_e,dt,St,"\u25BC","\\blacktriangledown"),fe(_e,dt,St,"\u25A0","\\blacksquare"),fe(_e,dt,St,"\u29EB","\\blacklozenge"),fe(_e,dt,St,"\u2605","\\bigstar"),fe(_e,dt,St,"\u2222","\\sphericalangle",!0),fe(_e,dt,St,"\u2201","\\complement",!0),fe(_e,dt,St,"\xF0","\\eth",!0),fe(_e,dt,St,"\u2571","\\diagup"),fe(_e,dt,St,"\u2572","\\diagdown"),fe(_e,dt,St,"\u25A1","\\square"),fe(_e,dt,St,"\u25A1","\\Box"),fe(_e,dt,St,"\u25CA","\\Diamond"),fe(_e,dt,St,"\xA5","\\yen",!0),fe(Ot,dt,St,"\xA5","\\yen",!0),fe(_e,dt,St,"\u2713","\\checkmark",!0),fe(Ot,dt,St,"\u2713","\\checkmark"),fe(_e,dt,St,"\u2136","\\beth",!0),fe(_e,dt,St,"\u2138","\\daleth",!0),fe(_e,dt,St,"\u2137","\\gimel",!0),fe(_e,dt,St,"\u03DD","\\digamma",!0),fe(_e,dt,St,"\u03F0","\\varkappa"),fe(_e,dt,gt,"\u250C","\\ulcorner",!0),fe(_e,dt,ke,"\u2510","\\urcorner",!0),fe(_e,dt,gt,"\u2514","\\llcorner",!0),fe(_e,dt,ke,"\u2518","\\lrcorner",!0),fe(_e,dt,Be,"\u2266","\\leqq",!0),fe(_e,dt,Be,"\u2A7D","\\leqslant",!0),fe(_e,dt,Be,"\u2A95","\\eqslantless",!0),fe(_e,dt,Be,"\u2272","\\lesssim",!0),fe(_e,dt,Be,"\u2A85","\\lessapprox",!0),fe(_e,dt,Be,"\u224A","\\approxeq",!0),fe(_e,dt,Ct,"\u22D6","\\lessdot"),fe(_e,dt,Be,"\u22D8","\\lll",!0),fe(_e,dt,Be,"\u2276","\\lessgtr",!0),fe(_e,dt,Be,"\u22DA","\\lesseqgtr",!0),fe(_e,dt,Be,"\u2A8B","\\lesseqqgtr",!0),fe(_e,dt,Be,"\u2251","\\doteqdot"),fe(_e,dt,Be,"\u2253","\\risingdotseq",!0),fe(_e,dt,Be,"\u2252","\\fallingdotseq",!0),fe(_e,dt,Be,"\u223D","\\backsim",!0),fe(_e,dt,Be,"\u22CD","\\backsimeq",!0),fe(_e,dt,Be,"\u2AC5","\\subseteqq",!0),fe(_e,dt,Be,"\u22D0","\\Subset",!0),fe(_e,dt,Be,"\u228F","\\sqsubset",!0),fe(_e,dt,Be,"\u227C","\\preccurlyeq",!0),fe(_e,dt,Be,"\u22DE","\\curlyeqprec",!0),fe(_e,dt,Be,"\u227E","\\precsim",!0),fe(_e,dt,Be,"\u2AB7","\\precapprox",!0),fe(_e,dt,Be,"\u22B2","\\vartriangleleft"),fe(_e,dt,Be,"\u22B4","\\trianglelefteq"),fe(_e,dt,Be,"\u22A8","\\vDash",!0),fe(_e,dt,Be,"\u22AA","\\Vvdash",!0),fe(_e,dt,Be,"\u2323","\\smallsmile"),fe(_e,dt,Be,"\u2322","\\smallfrown"),fe(_e,dt,Be,"\u224F","\\bumpeq",!0),fe(_e,dt,Be,"\u224E","\\Bumpeq",!0),fe(_e,dt,Be,"\u2267","\\geqq",!0),fe(_e,dt,Be,"\u2A7E","\\geqslant",!0),fe(_e,dt,Be,"\u2A96","\\eqslantgtr",!0),fe(_e,dt,Be,"\u2273","\\gtrsim",!0),fe(_e,dt,Be,"\u2A86","\\gtrapprox",!0),fe(_e,dt,Ct,"\u22D7","\\gtrdot"),fe(_e,dt,Be,"\u22D9","\\ggg",!0),fe(_e,dt,Be,"\u2277","\\gtrless",!0),fe(_e,dt,Be,"\u22DB","\\gtreqless",!0),fe(_e,dt,Be,"\u2A8C","\\gtreqqless",!0),fe(_e,dt,Be,"\u2256","\\eqcirc",!0),fe(_e,dt,Be,"\u2257","\\circeq",!0),fe(_e,dt,Be,"\u225C","\\triangleq",!0),fe(_e,dt,Be,"\u223C","\\thicksim"),fe(_e,dt,Be,"\u2248","\\thickapprox"),fe(_e,dt,Be,"\u2AC6","\\supseteqq",!0),fe(_e,dt,Be,"\u22D1","\\Supset",!0),fe(_e,dt,Be,"\u2290","\\sqsupset",!0),fe(_e,dt,Be,"\u227D","\\succcurlyeq",!0),fe(_e,dt,Be,"\u22DF","\\curlyeqsucc",!0),fe(_e,dt,Be,"\u227F","\\succsim",!0),fe(_e,dt,Be,"\u2AB8","\\succapprox",!0),fe(_e,dt,Be,"\u22B3","\\vartriangleright"),fe(_e,dt,Be,"\u22B5","\\trianglerighteq"),fe(_e,dt,Be,"\u22A9","\\Vdash",!0),fe(_e,dt,Be,"\u2223","\\shortmid"),fe(_e,dt,Be,"\u2225","\\shortparallel"),fe(_e,dt,Be,"\u226C","\\between",!0),fe(_e,dt,Be,"\u22D4","\\pitchfork",!0),fe(_e,dt,Be,"\u221D","\\varpropto"),fe(_e,dt,Be,"\u25C0","\\blacktriangleleft"),fe(_e,dt,Be,"\u2234","\\therefore",!0),fe(_e,dt,Be,"\u220D","\\backepsilon"),fe(_e,dt,Be,"\u25B6","\\blacktriangleright"),fe(_e,dt,Be,"\u2235","\\because",!0),fe(_e,dt,Be,"\u22D8","\\llless"),fe(_e,dt,Be,"\u22D9","\\gggtr"),fe(_e,dt,Ct,"\u22B2","\\lhd"),fe(_e,dt,Ct,"\u22B3","\\rhd"),fe(_e,dt,Be,"\u2242","\\eqsim",!0),fe(_e,De,Be,"\u22C8","\\Join"),fe(_e,dt,Be,"\u2251","\\Doteq",!0),fe(_e,dt,Ct,"\u2214","\\dotplus",!0),fe(_e,dt,Ct,"\u2216","\\smallsetminus"),fe(_e,dt,Ct,"\u22D2","\\Cap",!0),fe(_e,dt,Ct,"\u22D3","\\Cup",!0),fe(_e,dt,Ct,"\u2A5E","\\doublebarwedge",!0),fe(_e,dt,Ct,"\u229F","\\boxminus",!0),fe(_e,dt,Ct,"\u229E","\\boxplus",!0),fe(_e,dt,Ct,"\u22C7","\\divideontimes",!0),fe(_e,dt,Ct,"\u22C9","\\ltimes",!0),fe(_e,dt,Ct,"\u22CA","\\rtimes",!0),fe(_e,dt,Ct,"\u22CB","\\leftthreetimes",!0),fe(_e,dt,Ct,"\u22CC","\\rightthreetimes",!0),fe(_e,dt,Ct,"\u22CF","\\curlywedge",!0),fe(_e,dt,Ct,"\u22CE","\\curlyvee",!0),fe(_e,dt,Ct,"\u229D","\\circleddash",!0),fe(_e,dt,Ct,"\u229B","\\circledast",!0),fe(_e,dt,Ct,"\u22C5","\\centerdot"),fe(_e,dt,Ct,"\u22BA","\\intercal",!0),fe(_e,dt,Ct,"\u22D2","\\doublecap"),fe(_e,dt,Ct,"\u22D3","\\doublecup"),fe(_e,dt,Ct,"\u22A0","\\boxtimes",!0),fe(_e,dt,Be,"\u21E2","\\dashrightarrow",!0),fe(_e,dt,Be,"\u21E0","\\dashleftarrow",!0),fe(_e,dt,Be,"\u21C7","\\leftleftarrows",!0),fe(_e,dt,Be,"\u21C6","\\leftrightarrows",!0),fe(_e,dt,Be,"\u21DA","\\Lleftarrow",!0),fe(_e,dt,Be,"\u219E","\\twoheadleftarrow",!0),fe(_e,dt,Be,"\u21A2","\\leftarrowtail",!0),fe(_e,dt,Be,"\u21AB","\\looparrowleft",!0),fe(_e,dt,Be,"\u21CB","\\leftrightharpoons",!0),fe(_e,dt,Be,"\u21B6","\\curvearrowleft",!0),fe(_e,dt,Be,"\u21BA","\\circlearrowleft",!0),fe(_e,dt,Be,"\u21B0","\\Lsh",!0),fe(_e,dt,Be,"\u21C8","\\upuparrows",!0),fe(_e,dt,Be,"\u21BF","\\upharpoonleft",!0),fe(_e,dt,Be,"\u21C3","\\downharpoonleft",!0),fe(_e,dt,Be,"\u22B8","\\multimap",!0),fe(_e,dt,Be,"\u21AD","\\leftrightsquigarrow",!0),fe(_e,dt,Be,"\u21C9","\\rightrightarrows",!0),fe(_e,dt,Be,"\u21C4","\\rightleftarrows",!0),fe(_e,dt,Be,"\u21A0","\\twoheadrightarrow",!0),fe(_e,dt,Be,"\u21A3","\\rightarrowtail",!0),fe(_e,dt,Be,"\u21AC","\\looparrowright",!0),fe(_e,dt,Be,"\u21B7","\\curvearrowright",!0),fe(_e,dt,Be,"\u21BB","\\circlearrowright",!0),fe(_e,dt,Be,"\u21B1","\\Rsh",!0),fe(_e,dt,Be,"\u21CA","\\downdownarrows",!0),fe(_e,dt,Be,"\u21BE","\\upharpoonright",!0),fe(_e,dt,Be,"\u21C2","\\downharpoonright",!0),fe(_e,dt,Be,"\u21DD","\\rightsquigarrow",!0),fe(_e,dt,Be,"\u21DD","\\leadsto"),fe(_e,dt,Be,"\u21DB","\\Rrightarrow",!0),fe(_e,dt,Be,"\u21BE","\\restriction"),fe(_e,De,St,"\u2018","`"),fe(_e,De,St,"$","\\$"),fe(Ot,De,St,"$","\\$"),fe(Ot,De,St,"$","\\textdollar"),fe(_e,De,St,"%","\\%"),fe(Ot,De,St,"%","\\%"),fe(_e,De,St,"_","\\_"),fe(Ot,De,St,"_","\\_"),fe(Ot,De,St,"_","\\textunderscore"),fe(_e,De,St,"\u2220","\\angle",!0),fe(_e,De,St,"\u221E","\\infty",!0),fe(_e,De,St,"\u2032","\\prime"),fe(_e,De,St,"\u25B3","\\triangle"),fe(_e,De,St,"\u0393","\\Gamma",!0),fe(_e,De,St,"\u0394","\\Delta",!0),fe(_e,De,St,"\u0398","\\Theta",!0),fe(_e,De,St,"\u039B","\\Lambda",!0),fe(_e,De,St,"\u039E","\\Xi",!0),fe(_e,De,St,"\u03A0","\\Pi",!0),fe(_e,De,St,"\u03A3","\\Sigma",!0),fe(_e,De,St,"\u03A5","\\Upsilon",!0),fe(_e,De,St,"\u03A6","\\Phi",!0),fe(_e,De,St,"\u03A8","\\Psi",!0),fe(_e,De,St,"\u03A9","\\Omega",!0),fe(_e,De,St,"A","\u0391"),fe(_e,De,St,"B","\u0392"),fe(_e,De,St,"E","\u0395"),fe(_e,De,St,"Z","\u0396"),fe(_e,De,St,"H","\u0397"),fe(_e,De,St,"I","\u0399"),fe(_e,De,St,"K","\u039A"),fe(_e,De,St,"M","\u039C"),fe(_e,De,St,"N","\u039D"),fe(_e,De,St,"O","\u039F"),fe(_e,De,St,"P","\u03A1"),fe(_e,De,St,"T","\u03A4"),fe(_e,De,St,"X","\u03A7"),fe(_e,De,St,"\xAC","\\neg",!0),fe(_e,De,St,"\xAC","\\lnot"),fe(_e,De,St,"\u22A4","\\top"),fe(_e,De,St,"\u22A5","\\bot"),fe(_e,De,St,"\u2205","\\emptyset"),fe(_e,dt,St,"\u2205","\\varnothing"),fe(_e,De,xe,"\u03B1","\\alpha",!0),fe(_e,De,xe,"\u03B2","\\beta",!0),fe(_e,De,xe,"\u03B3","\\gamma",!0),fe(_e,De,xe,"\u03B4","\\delta",!0),fe(_e,De,xe,"\u03F5","\\epsilon",!0),fe(_e,De,xe,"\u03B6","\\zeta",!0),fe(_e,De,xe,"\u03B7","\\eta",!0),fe(_e,De,xe,"\u03B8","\\theta",!0),fe(_e,De,xe,"\u03B9","\\iota",!0),fe(_e,De,xe,"\u03BA","\\kappa",!0),fe(_e,De,xe,"\u03BB","\\lambda",!0),fe(_e,De,xe,"\u03BC","\\mu",!0),fe(_e,De,xe,"\u03BD","\\nu",!0),fe(_e,De,xe,"\u03BE","\\xi",!0),fe(_e,De,xe,"\u03BF","\\omicron",!0),fe(_e,De,xe,"\u03C0","\\pi",!0),fe(_e,De,xe,"\u03C1","\\rho",!0),fe(_e,De,xe,"\u03C3","\\sigma",!0),fe(_e,De,xe,"\u03C4","\\tau",!0),fe(_e,De,xe,"\u03C5","\\upsilon",!0),fe(_e,De,xe,"\u03D5","\\phi",!0),fe(_e,De,xe,"\u03C7","\\chi",!0),fe(_e,De,xe,"\u03C8","\\psi",!0),fe(_e,De,xe,"\u03C9","\\omega",!0),fe(_e,De,xe,"\u03B5","\\varepsilon",!0),fe(_e,De,xe,"\u03D1","\\vartheta",!0),fe(_e,De,xe,"\u03D6","\\varpi",!0),fe(_e,De,xe,"\u03F1","\\varrho",!0),fe(_e,De,xe,"\u03C2","\\varsigma",!0),fe(_e,De,xe,"\u03C6","\\varphi",!0),fe(_e,De,Ct,"\u2217","*"),fe(_e,De,Ct,"+","+"),fe(_e,De,Ct,"\u2212","-"),fe(_e,De,Ct,"\u22C5","\\cdot",!0),fe(_e,De,Ct,"\u2218","\\circ"),fe(_e,De,Ct,"\xF7","\\div",!0),fe(_e,De,Ct,"\xB1","\\pm",!0),fe(_e,De,Ct,"\xD7","\\times",!0),fe(_e,De,Ct,"\u2229","\\cap",!0),fe(_e,De,Ct,"\u222A","\\cup",!0),fe(_e,De,Ct,"\u2216","\\setminus"),fe(_e,De,Ct,"\u2227","\\land"),fe(_e,De,Ct,"\u2228","\\lor"),fe(_e,De,Ct,"\u2227","\\wedge",!0),fe(_e,De,Ct,"\u2228","\\vee",!0),fe(_e,De,St,"\u221A","\\surd"),fe(_e,De,gt,"(","("),fe(_e,De,gt,"[","["),fe(_e,De,gt,"\u27E8","\\langle",!0),fe(_e,De,gt,"\u2223","\\lvert"),fe(_e,De,gt,"\u2225","\\lVert"),fe(_e,De,ke,")",")"),fe(_e,De,ke,"]","]"),fe(_e,De,ke,"?","?"),fe(_e,De,ke,"!","!"),fe(_e,De,ke,"\u27E9","\\rangle",!0),fe(_e,De,ke,"\u2223","\\rvert"),fe(_e,De,ke,"\u2225","\\rVert"),fe(_e,De,Be,"=","="),fe(_e,De,Be,"<","<"),fe(_e,De,Be,">",">"),fe(_e,De,Be,":",":"),fe(_e,De,Be,"\u2248","\\approx",!0),fe(_e,De,Be,"\u2245","\\cong",!0),fe(_e,De,Be,"\u2265","\\ge"),fe(_e,De,Be,"\u2265","\\geq",!0),fe(_e,De,Be,"\u2190","\\gets"),fe(_e,De,Be,">","\\gt"),fe(_e,De,Be,"\u2208","\\in",!0),fe(_e,De,Be,"\uE020","\\@not"),fe(_e,De,Be,"\u2282","\\subset",!0),fe(_e,De,Be,"\u2283","\\supset",!0),fe(_e,De,Be,"\u2286","\\subseteq",!0),fe(_e,De,Be,"\u2287","\\supseteq",!0),fe(_e,dt,Be,"\u2288","\\nsubseteq",!0),fe(_e,dt,Be,"\u2289","\\nsupseteq",!0),fe(_e,De,Be,"\u22A8","\\models"),fe(_e,De,Be,"\u2190","\\leftarrow",!0),fe(_e,De,Be,"\u2264","\\le"),fe(_e,De,Be,"\u2264","\\leq",!0),fe(_e,De,Be,"<","\\lt"),fe(_e,De,Be,"\u2192","\\rightarrow",!0),fe(_e,De,Be,"\u2192","\\to"),fe(_e,dt,Be,"\u2271","\\ngeq",!0),fe(_e,dt,Be,"\u2270","\\nleq",!0),fe(_e,De,Dr,"\xA0","\\ "),fe(_e,De,Dr,"\xA0","~"),fe(_e,De,Dr,"\xA0","\\space"),fe(_e,De,Dr,"\xA0","\\nobreakspace"),fe(Ot,De,Dr,"\xA0","\\ "),fe(Ot,De,Dr,"\xA0","~"),fe(Ot,De,Dr,"\xA0","\\space"),fe(Ot,De,Dr,"\xA0","\\nobreakspace"),fe(_e,De,Dr,null,"\\nobreak"),fe(_e,De,Dr,null,"\\allowbreak"),fe(_e,De,Lt,",",","),fe(_e,De,Lt,";",";"),fe(_e,dt,Ct,"\u22BC","\\barwedge",!0),fe(_e,dt,Ct,"\u22BB","\\veebar",!0),fe(_e,De,Ct,"\u2299","\\odot",!0),fe(_e,De,Ct,"\u2295","\\oplus",!0),fe(_e,De,Ct,"\u2297","\\otimes",!0),fe(_e,De,St,"\u2202","\\partial",!0),fe(_e,De,Ct,"\u2298","\\oslash",!0),fe(_e,dt,Ct,"\u229A","\\circledcirc",!0),fe(_e,dt,Ct,"\u22A1","\\boxdot",!0),fe(_e,De,Ct,"\u25B3","\\bigtriangleup"),fe(_e,De,Ct,"\u25BD","\\bigtriangledown"),fe(_e,De,Ct,"\u2020","\\dagger"),fe(_e,De,Ct,"\u22C4","\\diamond"),fe(_e,De,Ct,"\u22C6","\\star"),fe(_e,De,Ct,"\u25C3","\\triangleleft"),fe(_e,De,Ct,"\u25B9","\\triangleright"),fe(_e,De,gt,"{","\\{"),fe(Ot,De,St,"{","\\{"),fe(Ot,De,St,"{","\\textbraceleft"),fe(_e,De,ke,"}","\\}"),fe(Ot,De,St,"}","\\}"),fe(Ot,De,St,"}","\\textbraceright"),fe(_e,De,gt,"{","\\lbrace"),fe(_e,De,ke,"}","\\rbrace"),fe(_e,De,gt,"[","\\lbrack"),fe(Ot,De,St,"[","\\lbrack"),fe(_e,De,ke,"]","\\rbrack"),fe(Ot,De,St,"]","\\rbrack"),fe(_e,De,gt,"(","\\lparen"),fe(_e,De,ke,")","\\rparen"),fe(Ot,De,St,"<","\\textless"),fe(Ot,De,St,">","\\textgreater"),fe(_e,De,gt,"\u230A","\\lfloor",!0),fe(_e,De,ke,"\u230B","\\rfloor",!0),fe(_e,De,gt,"\u2308","\\lceil",!0),fe(_e,De,ke,"\u2309","\\rceil",!0),fe(_e,De,St,"\\","\\backslash"),fe(_e,De,St,"\u2223","|"),fe(_e,De,St,"\u2223","\\vert"),fe(Ot,De,St,"|","\\textbar"),fe(_e,De,St,"\u2225","\\|"),fe(_e,De,St,"\u2225","\\Vert"),fe(Ot,De,St,"\u2225","\\textbardbl"),fe(Ot,De,St,"~","\\textasciitilde"),fe(Ot,De,St,"\\","\\textbackslash"),fe(Ot,De,St,"^","\\textasciicircum"),fe(_e,De,Be,"\u2191","\\uparrow",!0),fe(_e,De,Be,"\u21D1","\\Uparrow",!0),fe(_e,De,Be,"\u2193","\\downarrow",!0),fe(_e,De,Be,"\u21D3","\\Downarrow",!0),fe(_e,De,Be,"\u2195","\\updownarrow",!0),fe(_e,De,Be,"\u21D5","\\Updownarrow",!0),fe(_e,De,Ke,"\u2210","\\coprod"),fe(_e,De,Ke,"\u22C1","\\bigvee"),fe(_e,De,Ke,"\u22C0","\\bigwedge"),fe(_e,De,Ke,"\u2A04","\\biguplus"),fe(_e,De,Ke,"\u22C2","\\bigcap"),fe(_e,De,Ke,"\u22C3","\\bigcup"),fe(_e,De,Ke,"\u222B","\\int"),fe(_e,De,Ke,"\u222B","\\intop"),fe(_e,De,Ke,"\u222C","\\iint"),fe(_e,De,Ke,"\u222D","\\iiint"),fe(_e,De,Ke,"\u220F","\\prod"),fe(_e,De,Ke,"\u2211","\\sum"),fe(_e,De,Ke,"\u2A02","\\bigotimes"),fe(_e,De,Ke,"\u2A01","\\bigoplus"),fe(_e,De,Ke,"\u2A00","\\bigodot"),fe(_e,De,Ke,"\u222E","\\oint"),fe(_e,De,Ke,"\u222F","\\oiint"),fe(_e,De,Ke,"\u2230","\\oiiint"),fe(_e,De,Ke,"\u2A06","\\bigsqcup"),fe(_e,De,Ke,"\u222B","\\smallint"),fe(Ot,De,wt,"\u2026","\\textellipsis"),fe(_e,De,wt,"\u2026","\\mathellipsis"),fe(Ot,De,wt,"\u2026","\\ldots",!0),fe(_e,De,wt,"\u2026","\\ldots",!0),fe(_e,De,wt,"\u22EF","\\@cdots",!0),fe(_e,De,wt,"\u22F1","\\ddots",!0),fe(_e,De,St,"\u22EE","\\varvdots"),fe(_e,De,zt,"\u02CA","\\acute"),fe(_e,De,zt,"\u02CB","\\grave"),fe(_e,De,zt,"\xA8","\\ddot"),fe(_e,De,zt,"~","\\tilde"),fe(_e,De,zt,"\u02C9","\\bar"),fe(_e,De,zt,"\u02D8","\\breve"),fe(_e,De,zt,"\u02C7","\\check"),fe(_e,De,zt,"^","\\hat"),fe(_e,De,zt,"\u20D7","\\vec"),fe(_e,De,zt,"\u02D9","\\dot"),fe(_e,De,zt,"\u02DA","\\mathring"),fe(_e,De,xe,"\u0131","\\imath",!0),fe(_e,De,xe,"\u0237","\\jmath",!0),fe(Ot,De,St,"\u0131","\\i",!0),fe(Ot,De,St,"\u0237","\\j",!0),fe(Ot,De,St,"\xDF","\\ss",!0),fe(Ot,De,St,"\xE6","\\ae",!0),fe(Ot,De,St,"\xE6","\\ae",!0),fe(Ot,De,St,"\u0153","\\oe",!0),fe(Ot,De,St,"\xF8","\\o",!0),fe(Ot,De,St,"\xC6","\\AE",!0),fe(Ot,De,St,"\u0152","\\OE",!0),fe(Ot,De,St,"\xD8","\\O",!0),fe(Ot,De,zt,"\u02CA","\\'"),fe(Ot,De,zt,"\u02CB","\\`"),fe(Ot,De,zt,"\u02C6","\\^"),fe(Ot,De,zt,"\u02DC","\\~"),fe(Ot,De,zt,"\u02C9","\\="),fe(Ot,De,zt,"\u02D8","\\u"),fe(Ot,De,zt,"\u02D9","\\."),fe(Ot,De,zt,"\u02DA","\\r"),fe(Ot,De,zt,"\u02C7","\\v"),fe(Ot,De,zt,"\xA8",'\\"'),fe(Ot,De,zt,"\u02DD","\\H"),fe(Ot,De,zt,"\u25EF","\\textcircled");var Gr={"--":!0,"---":!0,"``":!0,"''":!0};fe(Ot,De,St,"\u2013","--"),fe(Ot,De,St,"\u2013","\\textendash"),fe(Ot,De,St,"\u2014","---"),fe(Ot,De,St,"\u2014","\\textemdash"),fe(Ot,De,St,"\u2018","`"),fe(Ot,De,St,"\u2018","\\textquoteleft"),fe(Ot,De,St,"\u2019","'"),fe(Ot,De,St,"\u2019","\\textquoteright"),fe(Ot,De,St,"\u201C","``"),fe(Ot,De,St,"\u201C","\\textquotedblleft"),fe(Ot,De,St,"\u201D","''"),fe(Ot,De,St,"\u201D","\\textquotedblright"),fe(_e,De,St,"\xB0","\\degree",!0),fe(Ot,De,St,"\xB0","\\degree"),fe(Ot,De,St,"\xB0","\\textdegree",!0),fe(_e,De,xe,"\xA3","\\pounds"),fe(_e,De,xe,"\xA3","\\mathsterling",!0),fe(Ot,De,xe,"\xA3","\\pounds"),fe(Ot,De,xe,"\xA3","\\textsterling",!0),fe(_e,dt,St,"\u2720","\\maltese"),fe(Ot,dt,St,"\u2720","\\maltese"),fe(Ot,De,Dr,"\xA0","\\ "),fe(Ot,De,Dr,"\xA0"," "),fe(Ot,De,Dr,"\xA0","~");for(var Xr='0123456789/@."',Sr=0;Sr<Xr.length;Sr++){var Mr=Xr.charAt(Sr);fe(_e,De,St,Mr,Mr)}for(var pr='0123456789!@*()-=+[]<>|";:?/.,',$r=0;$r<pr.length;$r++){var nn=pr.charAt($r);fe(Ot,De,St,nn,nn)}for(var on="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",sr=0;sr<on.length;sr++){var Mt=on.charAt(sr);fe(_e,De,xe,Mt,Mt),fe(Ot,De,St,Mt,Mt)}fe(_e,dt,St,"C","\u2102"),fe(Ot,dt,St,"C","\u2102"),fe(_e,dt,St,"H","\u210D"),fe(Ot,dt,St,"H","\u210D"),fe(_e,dt,St,"N","\u2115"),fe(Ot,dt,St,"N","\u2115"),fe(_e,dt,St,"P","\u2119"),fe(Ot,dt,St,"P","\u2119"),fe(_e,dt,St,"Q","\u211A"),fe(Ot,dt,St,"Q","\u211A"),fe(_e,dt,St,"R","\u211D"),fe(Ot,dt,St,"R","\u211D"),fe(_e,dt,St,"Z","\u2124"),fe(Ot,dt,St,"Z","\u2124"),fe(_e,De,xe,"h","\u210E"),fe(Ot,De,xe,"h","\u210E");for(var vt="",yt=0;yt<on.length;yt++){var Nt=on.charAt(yt);vt=String.fromCharCode(55349,56320+yt),fe(_e,De,xe,Nt,vt),fe(Ot,De,St,Nt,vt),vt=String.fromCharCode(55349,56372+yt),fe(_e,De,xe,Nt,vt),fe(Ot,De,St,Nt,vt),vt=String.fromCharCode(55349,56424+yt),fe(_e,De,xe,Nt,vt),fe(Ot,De,St,Nt,vt),vt=String.fromCharCode(55349,56580+yt),fe(_e,De,xe,Nt,vt),fe(Ot,De,St,Nt,vt),vt=String.fromCharCode(55349,56736+yt),fe(_e,De,xe,Nt,vt),fe(Ot,De,St,Nt,vt),vt=String.fromCharCode(55349,56788+yt),fe(_e,De,xe,Nt,vt),fe(Ot,De,St,Nt,vt),vt=String.fromCharCode(55349,56840+yt),fe(_e,De,xe,Nt,vt),fe(Ot,De,St,Nt,vt),vt=String.fromCharCode(55349,56944+yt),fe(_e,De,xe,Nt,vt),fe(Ot,De,St,Nt,vt),yt<26&&(vt=String.fromCharCode(55349,56632+yt),fe(_e,De,xe,Nt,vt),fe(Ot,De,St,Nt,vt),vt=String.fromCharCode(55349,56476+yt),fe(_e,De,xe,Nt,vt),fe(Ot,De,St,Nt,vt))}vt="\u{1D55C}",fe(_e,De,xe,"k",vt),fe(Ot,De,St,"k",vt);for(var Cr=0;Cr<10;Cr++){var vr=Cr.toString();vt=String.fromCharCode(55349,57294+Cr),fe(_e,De,xe,vr,vt),fe(Ot,De,St,vr,vt),vt=String.fromCharCode(55349,57314+Cr),fe(_e,De,xe,vr,vt),fe(Ot,De,St,vr,vt),vt=String.fromCharCode(55349,57324+Cr),fe(_e,De,xe,vr,vt),fe(Ot,De,St,vr,vt),vt=String.fromCharCode(55349,57334+Cr),fe(_e,De,xe,vr,vt),fe(Ot,De,St,vr,vt)}for(var ut="\xC7\xD0\xDE\xE7\xFE",Rr=0;Rr<ut.length;Rr++){var _n=ut.charAt(Rr);fe(_e,De,xe,_n,_n),fe(Ot,De,St,_n,_n)}fe(Ot,De,St,"\xF0","\xF0"),fe(Ot,De,St,"\u2013","\u2013"),fe(Ot,De,St,"\u2014","\u2014"),fe(Ot,De,St,"\u2018","\u2018"),fe(Ot,De,St,"\u2019","\u2019"),fe(Ot,De,St,"\u201C","\u201C"),fe(Ot,De,St,"\u201D","\u201D");var Un=[["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"]],_r=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Jr=function(Z,X){var te=Z.charCodeAt(0),pe=Z.charCodeAt(1),Te=(te-55296)*1024+(pe-56320)+65536,Ge=X==="math"?0:1;if(119808<=Te&&Te<120484){var Tt=Math.floor((Te-119808)/26);return[Un[Tt][2],Un[Tt][Ge]]}else if(120782<=Te&&Te<=120831){var $t=Math.floor((Te-120782)/10);return[_r[$t][2],_r[$t][Ge]]}else{if(Te===120485||Te===120486)return[Un[0][2],Un[0][Ge]];if(120486<Te&&Te<120782)return["",""];throw new o("Unsupported character: "+Z)}},dn=[[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]],Mn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Jn=function(Z,X){return X.size<2?Z:dn[Z-1][X.size-1]},Nn=function(){function Ve(X){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=X.style,this.color=X.color,this.size=X.size||Ve.BASESIZE,this.textSize=X.textSize||this.size,this.phantom=!!X.phantom,this.font=X.font||"",this.fontFamily=X.fontFamily||"",this.fontWeight=X.fontWeight||"",this.fontShape=X.fontShape||"",this.sizeMultiplier=Mn[this.size-1],this.maxSize=X.maxSize,this.minRuleThickness=X.minRuleThickness,this._fontMetrics=void 0}var Z=Ve.prototype;return Z.extend=function(te){var pe={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 Te in te)te.hasOwnProperty(Te)&&(pe[Te]=te[Te]);return new Ve(pe)},Z.havingStyle=function(te){return this.style===te?this:this.extend({style:te,size:Jn(this.textSize,te)})},Z.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},Z.havingSize=function(te){return this.size===te&&this.textSize===te?this:this.extend({style:this.style.text(),size:te,textSize:te,sizeMultiplier:Mn[te-1]})},Z.havingBaseStyle=function(te){te=te||this.style.text();var pe=Jn(Ve.BASESIZE,te);return this.size===pe&&this.textSize===Ve.BASESIZE&&this.style===te?this:this.extend({style:te,size:pe})},Z.havingBaseSizing=function(){var te;switch(this.style.id){case 4:case 5:te=3;break;case 6:case 7:te=1;break;default:te=6}return this.extend({style:this.style.text(),size:te})},Z.withColor=function(te){return this.extend({color:te})},Z.withPhantom=function(){return this.extend({phantom:!0})},Z.withFont=function(te){return this.extend({font:te})},Z.withTextFontFamily=function(te){return this.extend({fontFamily:te,font:""})},Z.withTextFontWeight=function(te){return this.extend({fontWeight:te,font:""})},Z.withTextFontShape=function(te){return this.extend({fontShape:te,font:""})},Z.sizingClasses=function(te){return te.size!==this.size?["sizing","reset-size"+te.size,"size"+this.size]:[]},Z.baseSizingClasses=function(){return this.size!==Ve.BASESIZE?["sizing","reset-size"+this.size,"size"+Ve.BASESIZE]:[]},Z.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Zt(this.size)),this._fontMetrics},Z.getColor=function(){return this.phantom?"transparent":this.color},Ve}();Nn.BASESIZE=6;var Ui=Nn,mi={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},bi={ex:!0,em:!0,mu:!0},vi=function(Z){return typeof Z!="string"&&(Z=Z.unit),Z in mi||Z in bi||Z==="ex"},di=function(Z,X){var te;if(Z.unit in mi)te=mi[Z.unit]/X.fontMetrics().ptPerEm/X.sizeMultiplier;else if(Z.unit==="mu")te=X.fontMetrics().cssEmPerMu;else{var pe;if(X.style.isTight()?pe=X.havingStyle(X.style.text()):pe=X,Z.unit==="ex")te=pe.fontMetrics().xHeight;else if(Z.unit==="em")te=pe.fontMetrics().quad;else throw new o("Invalid unit: '"+Z.unit+"'");pe!==X&&(te*=pe.sizeMultiplier/X.sizeMultiplier)}return Math.min(Z.number*te,X.maxSize)},Yi=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Xn=function(Z,X,te){return We[te][Z]&&We[te][Z].replace&&(Z=We[te][Z].replace),{value:Z,metrics:Wt(Z,X,te)}},Vi=function(Z,X,te,pe,Te){var Ge=Xn(Z,X,te),Tt=Ge.metrics;Z=Ge.value;var $t;if(Tt){var rr=Tt.italic;(te==="text"||pe&&pe.font==="mathit")&&(rr=0),$t=new Pe(Z,Tt.height,Tt.depth,rr,Tt.skew,Tt.width,Te)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+Z+"' in style '"+X+"' and mode '"+te+"'")),$t=new Pe(Z,0,0,0,0,0,Te);if(pe){$t.maxFontSize=pe.sizeMultiplier,pe.style.isTight()&&$t.classes.push("mtight");var Ar=pe.getColor();Ar&&($t.style.color=Ar)}return $t},Et=function(Z,X,te,pe){return pe===void 0&&(pe=[]),te.font==="boldsymbol"&&Xn(Z,"Main-Bold",X).metrics?Vi(Z,"Main-Bold",X,te,pe.concat(["mathbf"])):Z==="\\"||We[X][Z].font==="main"?Vi(Z,"Main-Regular",X,te,pe):Vi(Z,"AMS-Regular",X,te,pe.concat(["amsrm"]))},lt=function(Z,X,te,pe){return/[0-9]/.test(Z.charAt(0))||P.contains(Yi,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Qn=function(Z,X,te,pe){return P.contains(Yi,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(Z.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},xi=function(Z,X,te,pe){return Xn(Z,"Math-BoldItalic",X).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},qn=function(Z,X,te){var pe=Z.mode,Te=Z.text,Ge=["mord"],Tt=pe==="math"||pe==="text"&&X.font,$t=Tt?X.font:X.fontFamily;if(Te.charCodeAt(0)===55349){var rr=Jr(Te,pe),Ar=rr[0],zr=rr[1];return Vi(Te,Ar,pe,X,Ge.concat(zr))}else if($t){var qr,En;if($t==="boldsymbol"||$t==="mathnormal"){var Rn=$t==="boldsymbol"?xi(Te,pe,X,Ge):Qn(Te,pe,X,Ge);qr=Rn.fontName,En=[Rn.fontClass]}else P.contains(Yi,Te)?(qr="Main-Italic",En=["mathit"]):Tt?(qr=Ze[$t].fontName,En=[$t]):(qr=Ur($t,X.fontWeight,X.fontShape),En=[$t,X.fontWeight,X.fontShape]);if(Xn(Te,qr,pe).metrics)return Vi(Te,qr,pe,X,Ge.concat(En));if(Gr.hasOwnProperty(Te)&&qr.substr(0,10)==="Typewriter"){for(var lr=[],Ei=0;Ei<Te.length;Ei++)lr.push(Vi(Te[Ei],qr,pe,X,Ge.concat(En)));return Dt(lr)}}if(te==="mathord"){var ia=lt(Te,pe,X,Ge);return Vi(Te,ia.fontName,pe,X,Ge.concat([ia.fontClass]))}else if(te==="textord"){var aa=We[pe][Te]&&We[pe][Te].font;if(aa==="ams"){var Xi=Ur("amsrm",X.fontWeight,X.fontShape);return Vi(Te,Xi,pe,X,Ge.concat("amsrm",X.fontWeight,X.fontShape))}else if(aa==="main"||!aa){var Ja=Ur("textrm",X.fontWeight,X.fontShape);return Vi(Te,Ja,pe,X,Ge.concat(X.fontWeight,X.fontShape))}else{var ss=Ur(aa,X.fontWeight,X.fontShape);return Vi(Te,ss,pe,X,Ge.concat(ss,X.fontWeight,X.fontShape))}}else throw new Error("unexpected type: "+te+" in makeOrd")},Wi=function(Z,X){if(It(Z.classes)!==It(X.classes)||Z.skew!==X.skew||Z.maxFontSize!==X.maxFontSize)return!1;for(var te in Z.style)if(Z.style.hasOwnProperty(te)&&Z.style[te]!==X.style[te])return!1;for(var pe in X.style)if(X.style.hasOwnProperty(pe)&&Z.style[pe]!==X.style[pe])return!1;return!0},hi=function(Z){for(var X=0;X<Z.length-1;X++){var te=Z[X],pe=Z[X+1];te instanceof Pe&&pe instanceof Pe&&Wi(te,pe)&&(te.text+=pe.text,te.height=Math.max(te.height,pe.height),te.depth=Math.max(te.depth,pe.depth),te.italic=pe.italic,Z.splice(X+1,1),X--)}return Z},ni=function(Z){for(var X=0,te=0,pe=0,Te=0;Te<Z.children.length;Te++){var Ge=Z.children[Te];Ge.height>X&&(X=Ge.height),Ge.depth>te&&(te=Ge.depth),Ge.maxFontSize>pe&&(pe=Ge.maxFontSize)}Z.height=X,Z.depth=te,Z.maxFontSize=pe},bn=function(Z,X,te,pe){var Te=new ht(Z,X,te,pe);return ni(Te),Te},tr=function(Z,X,te,pe){return new ht(Z,X,te,pe)},mt=function(Z,X,te){var pe=bn([Z],[],X);return pe.height=Math.max(te||X.fontMetrics().defaultRuleThickness,X.minRuleThickness),pe.style.borderBottomWidth=pe.height+"em",pe.maxFontSize=1,pe},rt=function(Z,X,te,pe){var Te=new et(Z,X,te,pe);return ni(Te),Te},Dt=function(Z){var X=new Xe(Z);return ni(X),X},pt=function(Z,X){return Z instanceof Xe?bn([],[Z],X):Z},ur=function(Z){if(Z.positionType==="individualShift"){for(var X=Z.children,te=[X[0]],pe=-X[0].shift-X[0].elem.depth,Te=pe,Ge=1;Ge<X.length;Ge++){var Tt=-X[Ge].shift-Te-X[Ge].elem.depth,$t=Tt-(X[Ge-1].elem.height+X[Ge-1].elem.depth);Te=Te+Tt,te.push({type:"kern",size:$t}),te.push(X[Ge])}return{children:te,depth:pe}}var rr;if(Z.positionType==="top"){for(var Ar=Z.positionData,zr=0;zr<Z.children.length;zr++){var qr=Z.children[zr];Ar-=qr.type==="kern"?qr.size:qr.elem.height+qr.elem.depth}rr=Ar}else if(Z.positionType==="bottom")rr=-Z.positionData;else{var En=Z.children[0];if(En.type!=="elem")throw new Error('First child must have type "elem".');if(Z.positionType==="shift")rr=-En.elem.depth-Z.positionData;else if(Z.positionType==="firstBaseline")rr=-En.elem.depth;else throw new Error("Invalid positionType "+Z.positionType+".")}return{children:Z.children,depth:rr}},cr=function(Z,X){for(var te=ur(Z),pe=te.children,Te=te.depth,Ge=0,Tt=0;Tt<pe.length;Tt++){var $t=pe[Tt];if($t.type==="elem"){var rr=$t.elem;Ge=Math.max(Ge,rr.maxFontSize,rr.height)}}Ge+=2;var Ar=bn(["pstrut"],[]);Ar.style.height=Ge+"em";for(var zr=[],qr=Te,En=Te,Rn=Te,lr=0;lr<pe.length;lr++){var Ei=pe[lr];if(Ei.type==="kern")Rn+=Ei.size;else{var ia=Ei.elem,aa=Ei.wrapperClasses||[],Xi=Ei.wrapperStyle||{},Ja=bn(aa,[Ar,ia],void 0,Xi);Ja.style.top=-Ge-Rn-ia.depth+"em",Ei.marginLeft&&(Ja.style.marginLeft=Ei.marginLeft),Ei.marginRight&&(Ja.style.marginRight=Ei.marginRight),zr.push(Ja),Rn+=ia.height+ia.depth}qr=Math.min(qr,Rn),En=Math.max(En,Rn)}var ss=bn(["vlist"],zr);ss.style.height=En+"em";var bs;if(qr<0){var es=bn([],[]),wa=bn(["vlist"],[es]);wa.style.height=-qr+"em";var fs=bn(["vlist-s"],[new Pe("\u200B")]);bs=[bn(["vlist-r"],[ss,fs]),bn(["vlist-r"],[wa])]}else bs=[bn(["vlist-r"],[ss])];var xs=bn(["vlist-t"],bs);return bs.length===2&&xs.classes.push("vlist-t2"),xs.height=En,xs.depth=-qr,xs},Tr=function(Z,X){var te=bn(["mspace"],[],X),pe=di(Z,X);return te.style.marginRight=pe+"em",te},Ur=function(Z,X,te){var pe="";switch(Z){case"amsrm":pe="AMS";break;case"textrm":pe="Main";break;case"textsf":pe="SansSerif";break;case"texttt":pe="Typewriter";break;default:pe=Z}var Te;return X==="textbf"&&te==="textit"?Te="BoldItalic":X==="textbf"?Te="Bold":X==="textit"?Te="Italic":Te="Regular",pe+"-"+Te},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"}},tt={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(Z,X){var te=tt[Z],pe=te[0],Te=te[1],Ge=te[2],Tt=new $e(pe),$t=new Me([Tt],{width:Te+"em",height:Ge+"em",style:"width:"+Te+"em",viewBox:"0 0 "+1e3*Te+" "+1e3*Ge,preserveAspectRatio:"xMinYMin"}),rr=tr(["overlay"],[$t],X);return rr.height=Ge,rr.style.height=Ge+"em",rr.style.width=Te+"em",rr},at={fontMap:Ze,makeSymbol:Vi,mathsym:Et,makeSpan:bn,makeSvgSpan:tr,makeLineSpan:mt,makeAnchor:rt,makeFragment:Dt,wrapFragment:pt,makeVList:cr,makeOrd:qn,makeGlue:Tr,staticSvg:Ee,svgData:tt,tryCombineChars:hi};function nr(Ve,Z){var X=Pr(Ve,Z);if(!X)throw new Error("Expected node of type "+Z+", but got "+(Ve?"node of type "+Ve.type:String(Ve)));return X}function Pr(Ve,Z){return Ve&&Ve.type===Z?Ve:null}function br(Ve,Z){var X=Ir(Ve,Z);if(!X)throw new Error('Expected node of type "atom" and family "'+Z+'", but got '+(Ve?Ve.type==="atom"?"atom of family "+Ve.family:"node of type "+Ve.type:String(Ve)));return X}function Ir(Ve,Z){return Ve&&Ve.type==="atom"&&Ve.family===Z?Ve:null}function Br(Ve){var Z=mn(Ve);if(!Z)throw new Error("Expected node of symbol group type, but got "+(Ve?"node of type "+Ve.type:String(Ve)));return Z}function mn(Ve){return Ve&&(Ve.type==="atom"||At.hasOwnProperty(Ve.type))?Ve:null}var Er={number:3,unit:"mu"},un={number:4,unit:"mu"},tn={number:5,unit:"mu"},sn={mord:{mop:Er,mbin:un,mrel:tn,minner:Er},mop:{mord:Er,mop:Er,mrel:tn,minner:Er},mbin:{mord:un,mop:un,mopen:un,minner:un},mrel:{mord:tn,mop:tn,mopen:tn,minner:tn},mopen:{},mclose:{mop:Er,mbin:un,mrel:tn,minner:Er},mpunct:{mord:Er,mop:Er,mrel:tn,mopen:Er,mclose:Er,mpunct:Er,minner:Er},minner:{mord:Er,mop:Er,mbin:un,mrel:tn,mopen:Er,mpunct:Er,minner:Er}},wn={mord:{mop:Er},mop:{mord:Er,mop:Er},mbin:{},mrel:{},mopen:{},mclose:{mop:Er},mpunct:{},minner:{mop:Er}},fa={},Ci={},fi={};function hn(Ve){for(var Z=Ve.type,X=Ve.names,te=Ve.props,pe=Ve.handler,Te=Ve.htmlBuilder,Ge=Ve.mathmlBuilder,Tt={type:Z,numArgs:te.numArgs,argTypes:te.argTypes,greediness:te.greediness===void 0?1:te.greediness,allowedInText:!!te.allowedInText,allowedInMath:te.allowedInMath===void 0?!0:te.allowedInMath,numOptionalArgs:te.numOptionalArgs||0,infix:!!te.infix,handler:pe},$t=0;$t<X.length;++$t)fa[X[$t]]=Tt;Z&&(Te&&(Ci[Z]=Te),Ge&&(fi[Z]=Ge))}function ai(Ve){var Z=Ve.type,X=Ve.htmlBuilder,te=Ve.mathmlBuilder;hn({type:Z,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:X,mathmlBuilder:te})}var Mi=function(Z){var X=Pr(Z,"ordgroup");return X?X.body:[Z]},sa=at.makeSpan,Es=["leftmost","mbin","mopen","mrel","mop","mpunct"],oa=["rightmost","mrel","mclose","mpunct"],ds={display:F.DISPLAY,text:F.TEXT,script:F.SCRIPT,scriptscript:F.SCRIPTSCRIPT},ws={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},ka=function(Z,X,te,pe){pe===void 0&&(pe=[null,null]);for(var Te=[],Ge=0;Ge<Z.length;Ge++){var Tt=Bi(Z[Ge],X);if(Tt instanceof Xe){var $t=Tt.children;Te.push.apply(Te,$t)}else Te.push(Tt)}if(!te)return Te;var rr=X;if(Z.length===1){var Ar=Pr(Z[0],"sizing")||Pr(Z[0],"styling");Ar&&(Ar.type==="sizing"?rr=X.havingSize(Ar.size):Ar.type==="styling"&&(rr=X.havingStyle(ds[Ar.style])))}var zr=sa([pe[0]||"leftmost"],[],X),qr=sa([pe[1]||"rightmost"],[],X);return gs(Te,function(En,Rn){var lr=Rn.classes[0],Ei=En.classes[0];lr==="mbin"&&P.contains(oa,Ei)?Rn.classes[0]="mord":Ei==="mbin"&&P.contains(Es,lr)&&(En.classes[0]="mord")},{node:zr},qr),gs(Te,function(En,Rn){var lr=Ha(Rn),Ei=Ha(En),ia=lr&&Ei?En.hasClass("mtight")?wn[lr][Ei]:sn[lr][Ei]:null;if(ia)return at.makeGlue(ia,rr)},{node:zr},qr),Te},gs=function Ve(Z,X,te,pe){pe&&Z.push(pe);for(var Te=0;Te<Z.length;Te++){var Ge=Z[Te],Tt=Zn(Ge);if(Tt){Ve(Tt.children,X,te);continue}if(Ge.classes[0]!=="mspace"){var $t=X(Ge,te.node);$t&&(te.insertAfter?te.insertAfter($t):(Z.unshift($t),Te++)),te.node=Ge,te.insertAfter=function(rr){return function(Ar){Z.splice(rr+1,0,Ar),Te++}}(Te)}}pe&&Z.pop()},Zn=function(Z){return Z instanceof Xe||Z instanceof et?Z:null},qa=function Ve(Z,X){var te=Zn(Z);if(te){var pe=te.children;if(pe.length){if(X==="right")return Ve(pe[pe.length-1],"right");if(X==="left")return Ve(pe[0],"left")}}return Z},Ha=function(Z,X){return Z?(X&&(Z=qa(Z,X)),ws[Z.classes[0]]||null):null},Ss=function(Z,X){var te=["nulldelimiter"].concat(Z.baseSizingClasses());return sa(X.concat(te))},Bi=function(Z,X,te){if(!Z)return sa();if(Ci[Z.type]){var pe=Ci[Z.type](Z,X);if(te&&X.size!==te.size){pe=sa(X.sizingClasses(te),[pe],X);var Te=X.sizeMultiplier/te.sizeMultiplier;pe.height*=Te,pe.depth*=Te}return pe}else throw new o("Got group of unknown type: '"+Z.type+"'")};function hs(Ve,Z){var X=sa(["base"],Ve,Z),te=sa(["strut"]);return te.style.height=X.height+X.depth+"em",te.style.verticalAlign=-X.depth+"em",X.children.unshift(te),X}function Ao(Ve,Z){var X=null;Ve.length===1&&Ve[0].type==="tag"&&(X=Ve[0].tag,Ve=Ve[0].body);for(var te=ka(Ve,Z,!0),pe=[],Te=[],Ge=0;Ge<te.length;Ge++)if(Te.push(te[Ge]),te[Ge].hasClass("mbin")||te[Ge].hasClass("mrel")||te[Ge].hasClass("allowbreak")){for(var Tt=!1;Ge<te.length-1&&te[Ge+1].hasClass("mspace")&&!te[Ge+1].hasClass("newline");)Ge++,Te.push(te[Ge]),te[Ge].hasClass("nobreak")&&(Tt=!0);Tt||(pe.push(hs(Te,Z)),Te=[])}else te[Ge].hasClass("newline")&&(Te.pop(),Te.length>0&&(pe.push(hs(Te,Z)),Te=[]),pe.push(te[Ge]));Te.length>0&&pe.push(hs(Te,Z));var $t;X&&($t=hs(ka(X,Z,!0)),$t.classes=["tag"],pe.push($t));var rr=sa(["katex-html"],pe);if(rr.setAttribute("aria-hidden","true"),$t){var Ar=$t.children[0];Ar.style.height=rr.height+rr.depth+"em",Ar.style.verticalAlign=-rr.depth+"em"}return rr}function Pa(Ve){return new Xe(Ve)}var ta=function(){function Ve(X,te){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=X,this.attributes={},this.children=te||[]}var Z=Ve.prototype;return Z.setAttribute=function(te,pe){this.attributes[te]=pe},Z.getAttribute=function(te){return this.attributes[te]},Z.toNode=function(){var te=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var pe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,pe)&&te.setAttribute(pe,this.attributes[pe]);for(var Te=0;Te<this.children.length;Te++)te.appendChild(this.children[Te].toNode());return te},Z.toMarkup=function(){var te="<"+this.type;for(var pe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,pe)&&(te+=" "+pe+'="',te+=P.escape(this.attributes[pe]),te+='"');te+=">";for(var Te=0;Te<this.children.length;Te++)te+=this.children[Te].toMarkup();return te+="</"+this.type+">",te},Z.toText=function(){return this.children.map(function(te){return te.toText()}).join("")},Ve}(),Ma=function(){function Ve(X){this.text=void 0,this.text=X}var Z=Ve.prototype;return Z.toNode=function(){return document.createTextNode(this.text)},Z.toMarkup=function(){return P.escape(this.toText())},Z.toText=function(){return this.text},Ve}(),Hs=function(){function Ve(X){this.width=void 0,this.character=void 0,this.width=X,X>=.05555&&X<=.05556?this.character="\u200A":X>=.1666&&X<=.1667?this.character="\u2009":X>=.2222&&X<=.2223?this.character="\u2005":X>=.2777&&X<=.2778?this.character="\u2005\u200A":X>=-.05556&&X<=-.05555?this.character="\u200A\u2063":X>=-.1667&&X<=-.1666?this.character="\u2009\u2063":X>=-.2223&&X<=-.2222?this.character="\u205F\u2063":X>=-.2778&&X<=-.2777?this.character="\u2005\u2063":this.character=null}var Z=Ve.prototype;return Z.toNode=function(){if(this.character)return document.createTextNode(this.character);var te=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return te.setAttribute("width",this.width+"em"),te},Z.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},Z.toText=function(){return this.character?this.character:" "},Ve}(),On={MathNode:ta,TextNode:Ma,SpaceNode:Hs,newDocumentFragment:Pa},Ra=function(Z,X,te){return We[X][Z]&&We[X][Z].replace&&Z.charCodeAt(0)!==55349&&!(Gr.hasOwnProperty(Z)&&te&&(te.fontFamily&&te.fontFamily.substr(4,2)==="tt"||te.font&&te.font.substr(4,2)==="tt"))&&(Z=We[X][Z].replace),new On.TextNode(Z)},is=function(Z){return Z.length===1?Z[0]:new On.MathNode("mrow",Z)},as=function(Z,X){if(X.fontFamily==="texttt")return"monospace";if(X.fontFamily==="textsf")return X.fontShape==="textit"&&X.fontWeight==="textbf"?"sans-serif-bold-italic":X.fontShape==="textit"?"sans-serif-italic":X.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(X.fontShape==="textit"&&X.fontWeight==="textbf")return"bold-italic";if(X.fontShape==="textit")return"italic";if(X.fontWeight==="textbf")return"bold";var te=X.font;if(!te||te==="mathnormal")return null;var pe=Z.mode;if(te==="mathit")return"italic";if(te==="boldsymbol")return"bold-italic";if(te==="mathbf")return"bold";if(te==="mathbb")return"double-struck";if(te==="mathfrak")return"fraktur";if(te==="mathscr"||te==="mathcal")return"script";if(te==="mathsf")return"sans-serif";if(te==="mathtt")return"monospace";var Te=Z.text;if(P.contains(["\\imath","\\jmath"],Te))return null;We[pe][Te]&&We[pe][Te].replace&&(Te=We[pe][Te].replace);var Ge=at.fontMap[te].fontName;return Wt(Te,Ge,pe)?at.fontMap[te].variant:null},Li=function(Z,X,te){if(Z.length===1){var pe=Ca(Z[0],X);return te&&pe instanceof ta&&pe.type==="mo"&&(pe.setAttribute("lspace","0em"),pe.setAttribute("rspace","0em")),[pe]}for(var Te=[],Ge,Tt=0;Tt<Z.length;Tt++){var $t=Ca(Z[Tt],X);if($t instanceof ta&&Ge instanceof ta){if($t.type==="mtext"&&Ge.type==="mtext"&&$t.getAttribute("mathvariant")===Ge.getAttribute("mathvariant")){var rr;(rr=Ge.children).push.apply(rr,$t.children);continue}else if($t.type==="mn"&&Ge.type==="mn"){var Ar;(Ar=Ge.children).push.apply(Ar,$t.children);continue}else if($t.type==="mi"&&$t.children.length===1&&Ge.type==="mn"){var zr=$t.children[0];if(zr instanceof Ma&&zr.text==="."){var qr;(qr=Ge.children).push.apply(qr,$t.children);continue}}else if(Ge.type==="mi"&&Ge.children.length===1){var En=Ge.children[0];if(En instanceof Ma&&En.text==="\u0338"&&($t.type==="mo"||$t.type==="mi"||$t.type==="mn")){var Rn=$t.children[0];Rn instanceof Ma&&Rn.text.length>0&&(Rn.text=Rn.text.slice(0,1)+"\u0338"+Rn.text.slice(1),Te.pop())}}}Te.push($t),Ge=$t}return Te},Da=function(Z,X,te){return is(Li(Z,X,te))},Ca=function(Z,X){if(!Z)return new On.MathNode("mrow");if(fi[Z.type]){var te=fi[Z.type](Z,X);return te}else throw new o("Got group of unknown type: '"+Z.type+"'")};function ls(Ve,Z,X,te){var pe=Li(Ve,X),Te;pe.length===1&&pe[0]instanceof ta&&P.contains(["mrow","mtable"],pe[0].type)?Te=pe[0]:Te=new On.MathNode("mrow",pe);var Ge=new On.MathNode("annotation",[new On.TextNode(Z)]);Ge.setAttribute("encoding","application/x-tex");var Tt=new On.MathNode("semantics",[Te,Ge]),$t=new On.MathNode("math",[Tt]);$t.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var rr=te?"katex":"katex-mathml";return at.makeSpan([rr],[$t])}var Ws=function(Z){return new Ui({style:Z.displayMode?F.DISPLAY:F.TEXT,maxSize:Z.maxSize,minRuleThickness:Z.minRuleThickness})},bo=function(Z,X){if(X.displayMode){var te=["katex-display"];X.leqno&&te.push("leqno"),X.fleqn&&te.push("fleqn"),Z=at.makeSpan(te,[Z])}return Z},Co=function(Z,X,te){var pe=Ws(te),Te;if(te.output==="mathml")return ls(Z,X,pe,!0);if(te.output==="html"){var Ge=Ao(Z,pe);Te=at.makeSpan(["katex"],[Ge])}else{var Tt=ls(Z,X,pe,!1),$t=Ao(Z,pe);Te=at.makeSpan(["katex"],[Tt,$t])}return bo(Te,te)},To=function(Z,X,te){var pe=Ws(te),Te=Ao(Z,pe),Ge=at.makeSpan(["katex"],[Te]);return bo(Ge,te)},ga=Co,Ka={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"},uo=function(Z){var X=new On.MathNode("mo",[new On.TextNode(Ka[Z.substr(1)])]);return X.setAttribute("stretchy","true"),X},ho={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]},Po=function(Z){return Z.type==="ordgroup"?Z.body.length:1},xo=function(Z,X){function te(){var $t=4e5,rr=Z.label.substr(1);if(P.contains(["widehat","widecheck","widetilde","utilde"],rr)){var Ar=Z,zr=Po(Ar.base),qr,En,Rn;if(zr>5)rr==="widehat"||rr==="widecheck"?(qr=420,$t=2364,Rn=.42,En=rr+"4"):(qr=312,$t=2340,Rn=.34,En="tilde4");else{var lr=[1,1,2,2,3,3][zr];rr==="widehat"||rr==="widecheck"?($t=[0,1062,2364,2364,2364][lr],qr=[0,239,300,360,420][lr],Rn=[0,.24,.3,.3,.36,.42][lr],En=rr+lr):($t=[0,600,1033,2339,2340][lr],qr=[0,260,286,306,312][lr],Rn=[0,.26,.286,.3,.306,.34][lr],En="tilde"+lr)}var Ei=new $e(En),ia=new Me([Ei],{width:"100%",height:Rn+"em",viewBox:"0 0 "+$t+" "+qr,preserveAspectRatio:"none"});return{span:at.makeSvgSpan([],[ia],X),minWidth:0,height:Rn}}else{var aa=[],Xi=ho[rr],Ja=Xi[0],ss=Xi[1],bs=Xi[2],es=bs/1e3,wa=Ja.length,fs,xs;if(wa===1){var _i=Xi[3];fs=["hide-tail"],xs=[_i]}else if(wa===2)fs=["halfarrow-left","halfarrow-right"],xs=["xMinYMin","xMaxYMin"];else if(wa===3)fs=["brace-left","brace-center","brace-right"],xs=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+wa+" children.");for(var Us=0;Us<wa;Us++){var ms=new $e(Ja[Us]),Xo=new Me([ms],{width:"400em",height:es+"em",viewBox:"0 0 "+$t+" "+bs,preserveAspectRatio:xs[Us]+" slice"}),Ps=at.makeSvgSpan([fs[Us]],[Xo],X);if(wa===1)return{span:Ps,minWidth:ss,height:es};Ps.style.height=es+"em",aa.push(Ps)}return{span:at.makeSpan(["stretchy"],aa,X),minWidth:ss,height:es}}}var pe=te(),Te=pe.span,Ge=pe.minWidth,Tt=pe.height;return Te.height=Tt,Te.style.height=Tt+"em",Ge>0&&(Te.style.minWidth=Ge+"em"),Te},li=function(Z,X,te,pe){var Te,Ge=Z.height+Z.depth+2*te;if(/fbox|color/.test(X)){if(Te=at.makeSpan(["stretchy",X],[],pe),X==="fbox"){var Tt=pe.color&&pe.getColor();Tt&&(Te.style.borderColor=Tt)}}else{var $t=[];/^[bx]cancel$/.test(X)&&$t.push(new He({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(X)&&$t.push(new He({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var rr=new Me($t,{width:"100%",height:Ge+"em"});Te=at.makeSvgSpan([],[rr],pe)}return Te.height=Ge,Te.style.height=Ge+"em",Te},si={encloseSpan:li,mathMLnode:uo,svgSpan:xo},Fa=function(Z,X){var te,pe,Te=Pr(Z,"supsub"),Ge;Te?(pe=nr(Te.base,"accent"),te=pe.base,Te.base=te,Ge=ct(Bi(Te,X)),Te.base=pe):(pe=nr(Z,"accent"),te=pe.base);var Tt=Bi(te,X.havingCrampedStyle()),$t=pe.isShifty&&P.isCharacterBox(te),rr=0;if($t){var Ar=P.getBaseElem(te),zr=Bi(Ar,X.havingCrampedStyle());rr=nt(zr).skew}var qr=Math.min(Tt.height,X.fontMetrics().xHeight),En;if(pe.isStretchy)En=si.svgSpan(pe,X),En=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tt},{type:"elem",elem:En,wrapperClasses:["svg-align"],wrapperStyle:rr>0?{width:"calc(100% - "+2*rr+"em)",marginLeft:2*rr+"em"}:void 0}]},X);else{var Rn,lr;pe.label==="\\vec"?(Rn=at.staticSvg("vec",X),lr=at.svgData.vec[1]):(Rn=at.makeOrd({mode:pe.mode,text:pe.label},X,"textord"),Rn=nt(Rn),Rn.italic=0,lr=Rn.width),En=at.makeSpan(["accent-body"],[Rn]);var Ei=pe.label==="\\textcircled";Ei&&(En.classes.push("accent-full"),qr=Tt.height);var ia=rr;Ei||(ia-=lr/2),En.style.left=ia+"em",pe.label==="\\textcircled"&&(En.style.top=".2em"),En=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tt},{type:"kern",size:-qr},{type:"elem",elem:En}]},X)}var aa=at.makeSpan(["mord","accent"],[En],X);return Ge?(Ge.children[0]=aa,Ge.height=Math.max(aa.height,Ge.height),Ge.classes[0]="mord",Ge):aa},Wa=function(Z,X){var te=Z.isStretchy?si.mathMLnode(Z.label):new On.MathNode("mo",[Ra(Z.label,Z.mode)]),pe=new On.MathNode("mover",[Ca(Z.base,X),te]);return pe.setAttribute("accent","true"),pe},Ga=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Ve){return"\\"+Ve}).join("|"));hn({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(Z,X){var te=X[0],pe=!Ga.test(Z.funcName),Te=!pe||Z.funcName==="\\widehat"||Z.funcName==="\\widetilde"||Z.funcName==="\\widecheck";return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:pe,isShifty:Te,base:te}},htmlBuilder:Fa,mathmlBuilder:Wa}),hn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(Z,X){var te=X[0];return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:!1,isShifty:!0,base:te}},htmlBuilder:Fa,mathmlBuilder:Wa}),hn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(Z,X){var te=Z.parser,pe=Z.funcName,Te=X[0];return{type:"accentUnder",mode:te.mode,label:pe,base:Te}},htmlBuilder:function(Z,X){var te=Bi(Z.base,X),pe=si.svgSpan(Z,X),Te=Z.label==="\\utilde"?.12:0,Ge=at.makeVList({positionType:"bottom",positionData:pe.height+Te,children:[{type:"elem",elem:pe,wrapperClasses:["svg-align"]},{type:"kern",size:Te},{type:"elem",elem:te}]},X);return at.makeSpan(["mord","accentunder"],[Ge],X)},mathmlBuilder:function(Z,X){var te=si.mathMLnode(Z.label),pe=new On.MathNode("munder",[Ca(Z.base,X),te]);return pe.setAttribute("accentunder","true"),pe}});var Gs=function(Z){var X=new On.MathNode("mpadded",Z?[Z]:[]);return X.setAttribute("width","+0.6em"),X.setAttribute("lspace","0.3em"),X};hn({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(Z,X,te){var pe=Z.parser,Te=Z.funcName;return{type:"xArrow",mode:pe.mode,label:Te,body:X[0],below:te[0]}},htmlBuilder:function(Z,X){var te=X.style,pe=X.havingStyle(te.sup()),Te=at.wrapFragment(Bi(Z.body,pe,X),X);Te.classes.push("x-arrow-pad");var Ge;Z.below&&(pe=X.havingStyle(te.sub()),Ge=at.wrapFragment(Bi(Z.below,pe,X),X),Ge.classes.push("x-arrow-pad"));var Tt=si.svgSpan(Z,X),$t=-X.fontMetrics().axisHeight+.5*Tt.height,rr=-X.fontMetrics().axisHeight-.5*Tt.height-.111;(Te.depth>.25||Z.label==="\\xleftequilibrium")&&(rr-=Te.depth);var Ar;if(Ge){var zr=-X.fontMetrics().axisHeight+Ge.height+.5*Tt.height+.111;Ar=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Te,shift:rr},{type:"elem",elem:Tt,shift:$t},{type:"elem",elem:Ge,shift:zr}]},X)}else Ar=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Te,shift:rr},{type:"elem",elem:Tt,shift:$t}]},X);return Ar.children[0].children[0].children[1].classes.push("svg-align"),at.makeSpan(["mrel","x-arrow"],[Ar],X)},mathmlBuilder:function(Z,X){var te=si.mathMLnode(Z.label),pe;if(Z.body){var Te=Gs(Ca(Z.body,X));if(Z.below){var Ge=Gs(Ca(Z.below,X));pe=new On.MathNode("munderover",[te,Ge,Te])}else pe=new On.MathNode("mover",[te,Te])}else if(Z.below){var Tt=Gs(Ca(Z.below,X));pe=new On.MathNode("munder",[te,Tt])}else pe=Gs(),pe=new On.MathNode("mover",[te,pe]);return pe}}),hn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){for(var te=Z.parser,pe=nr(X[0],"ordgroup"),Te=pe.body,Ge="",Tt=0;Tt<Te.length;Tt++){var $t=nr(Te[Tt],"textord");Ge+=$t.text}var rr=parseInt(Ge);if(isNaN(rr))throw new o("\\@char has non-numeric argument "+Ge);return{type:"textord",mode:te.mode,text:String.fromCharCode(rr)}}});var Vs=function(Z,X){var te=ka(Z.body,X.withColor(Z.color),!1);return at.makeFragment(te)},Yo=function(Z,X){var te=Li(Z.body,X.withColor(Z.color)),pe=new On.MathNode("mstyle",te);return pe.setAttribute("mathcolor",Z.color),pe};hn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(Z,X){var te=Z.parser,pe=nr(X[0],"color-token").color,Te=X[1];return{type:"color",mode:te.mode,color:pe,body:Mi(Te)}},htmlBuilder:Vs,mathmlBuilder:Yo}),hn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(Z,X){var te=Z.parser,pe=Z.breakOnTokenText,Te=nr(X[0],"color-token").color;te.gullet.macros.set("\\current@color",Te);var Ge=te.parseExpression(!0,pe);return{type:"color",mode:te.mode,color:Te,body:Ge}},htmlBuilder:Vs,mathmlBuilder:Yo}),hn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,X,te){var pe=Z.parser,Te=Z.funcName,Ge=te[0],Tt=Te==="\\cr",$t=!1;return Tt||(pe.settings.displayMode&&pe.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?$t=!1:$t=!0),{type:"cr",mode:pe.mode,newLine:$t,newRow:Tt,size:Ge&&nr(Ge,"size").value}},htmlBuilder:function(Z,X){if(Z.newRow)throw new o("\\cr valid only within a tabular/array environment");var te=at.makeSpan(["mspace"],[],X);return Z.newLine&&(te.classes.push("newline"),Z.size&&(te.style.marginTop=di(Z.size,X)+"em")),te},mathmlBuilder:function(Z,X){var te=new On.MathNode("mspace");return Z.newLine&&(te.setAttribute("linebreak","newline"),Z.size&&te.setAttribute("height",di(Z.size,X)+"em")),te}});var cs=function(Z,X,te){var pe=We.math[Z]&&We.math[Z].replace,Te=Wt(pe||Z,X,te);if(!Te)throw new Error("Unsupported symbol "+Z+" and font size "+X+".");return Te},Io=function(Z,X,te,pe){var Te=te.havingBaseStyle(X),Ge=at.makeSpan(pe.concat(Te.sizingClasses(te)),[Z],te),Tt=Te.sizeMultiplier/te.sizeMultiplier;return Ge.height*=Tt,Ge.depth*=Tt,Ge.maxFontSize=Te.sizeMultiplier,Ge},Do=function(Z,X,te){var pe=X.havingBaseStyle(te),Te=(1-X.sizeMultiplier/pe.sizeMultiplier)*X.fontMetrics().axisHeight;Z.classes.push("delimcenter"),Z.style.top=Te+"em",Z.height-=Te,Z.depth+=Te},jo=function(Z,X,te,pe,Te,Ge){var Tt=at.makeSymbol(Z,"Main-Regular",Te,pe),$t=Io(Tt,X,pe,Ge);return te&&Do($t,pe,X),$t},Au=function(Z,X,te,pe){return at.makeSymbol(Z,"Size"+X+"-Regular",te,pe)},Eo=function(Z,X,te,pe,Te,Ge){var Tt=Au(Z,X,Te,pe),$t=Io(at.makeSpan(["delimsizing","size"+X],[Tt],pe),F.TEXT,pe,Ge);return te&&Do($t,pe,F.TEXT),$t},lo=function(Z,X,te){var pe;X==="Size1-Regular"?pe="delim-size1":pe="delim-size4";var Te=at.makeSpan(["delimsizinginner",pe],[at.makeSpan([],[at.makeSymbol(Z,X,te)])]);return{type:"elem",elem:Te}},Ks={type:"kern",size:-.005},Mu=function(Z,X,te,pe,Te,Ge){var Tt,$t,rr,Ar;Tt=rr=Ar=Z,$t=null;var zr="Size1-Regular";Z==="\\uparrow"?rr=Ar="\u23D0":Z==="\\Uparrow"?rr=Ar="\u2016":Z==="\\downarrow"?Tt=rr="\u23D0":Z==="\\Downarrow"?Tt=rr="\u2016":Z==="\\updownarrow"?(Tt="\\uparrow",rr="\u23D0",Ar="\\downarrow"):Z==="\\Updownarrow"?(Tt="\\Uparrow",rr="\u2016",Ar="\\Downarrow"):Z==="["||Z==="\\lbrack"?(Tt="\u23A1",rr="\u23A2",Ar="\u23A3",zr="Size4-Regular"):Z==="]"||Z==="\\rbrack"?(Tt="\u23A4",rr="\u23A5",Ar="\u23A6",zr="Size4-Regular"):Z==="\\lfloor"||Z==="\u230A"?(rr=Tt="\u23A2",Ar="\u23A3",zr="Size4-Regular"):Z==="\\lceil"||Z==="\u2308"?(Tt="\u23A1",rr=Ar="\u23A2",zr="Size4-Regular"):Z==="\\rfloor"||Z==="\u230B"?(rr=Tt="\u23A5",Ar="\u23A6",zr="Size4-Regular"):Z==="\\rceil"||Z==="\u2309"?(Tt="\u23A4",rr=Ar="\u23A5",zr="Size4-Regular"):Z==="("||Z==="\\lparen"?(Tt="\u239B",rr="\u239C",Ar="\u239D",zr="Size4-Regular"):Z===")"||Z==="\\rparen"?(Tt="\u239E",rr="\u239F",Ar="\u23A0",zr="Size4-Regular"):Z==="\\{"||Z==="\\lbrace"?(Tt="\u23A7",$t="\u23A8",Ar="\u23A9",rr="\u23AA",zr="Size4-Regular"):Z==="\\}"||Z==="\\rbrace"?(Tt="\u23AB",$t="\u23AC",Ar="\u23AD",rr="\u23AA",zr="Size4-Regular"):Z==="\\lgroup"||Z==="\u27EE"?(Tt="\u23A7",Ar="\u23A9",rr="\u23AA",zr="Size4-Regular"):Z==="\\rgroup"||Z==="\u27EF"?(Tt="\u23AB",Ar="\u23AD",rr="\u23AA",zr="Size4-Regular"):Z==="\\lmoustache"||Z==="\u23B0"?(Tt="\u23A7",Ar="\u23AD",rr="\u23AA",zr="Size4-Regular"):(Z==="\\rmoustache"||Z==="\u23B1")&&(Tt="\u23AB",Ar="\u23A9",rr="\u23AA",zr="Size4-Regular");var qr=cs(Tt,zr,Te),En=qr.height+qr.depth,Rn=cs(rr,zr,Te),lr=Rn.height+Rn.depth,Ei=cs(Ar,zr,Te),ia=Ei.height+Ei.depth,aa=0,Xi=1;if($t!==null){var Ja=cs($t,zr,Te);aa=Ja.height+Ja.depth,Xi=2}var ss=En+ia+aa,bs=Math.max(0,Math.ceil((X-ss)/(Xi*lr))),es=ss+bs*Xi*lr,wa=pe.fontMetrics().axisHeight;te&&(wa*=pe.sizeMultiplier);var fs=es/2-wa,xs=(bs+1)*.005-lr,_i=[];if(_i.push(lo(Ar,zr,Te)),$t===null)for(var Us=0;Us<bs;Us++)_i.push(Ks),_i.push(lo(rr,zr,Te));else{for(var ms=0;ms<bs;ms++)_i.push(Ks),_i.push(lo(rr,zr,Te));_i.push({type:"kern",size:xs}),_i.push(lo(rr,zr,Te)),_i.push(Ks),_i.push(lo($t,zr,Te));for(var Xo=0;Xo<bs;Xo++)_i.push(Ks),_i.push(lo(rr,zr,Te))}_i.push({type:"kern",size:xs}),_i.push(lo(rr,zr,Te)),_i.push(Ks),_i.push(lo(Tt,zr,Te));var Ps=pe.havingBaseStyle(F.TEXT),_o=at.makeVList({positionType:"bottom",positionData:fs,children:_i},Ps);return Io(at.makeSpan(["delimsizing","mult"],[_o],Ps),F.TEXT,pe,Ge)},Oo=80,ko=.08,Ns=function(Z,X,te,pe,Te){var Ge=Jt(Z,pe,te),Tt=new $e(Z,Ge),$t=new Me([Tt],{width:"400em",height:X+"em",viewBox:"0 0 400000 "+te,preserveAspectRatio:"xMinYMin slice"});return at.makeSvgSpan(["hide-tail"],[$t],Te)},du=function(Z,X){var te=X.havingBaseSizing(),pe=mr("\\surd",Z*te.sizeMultiplier,fr,te),Te=te.sizeMultiplier,Ge=Math.max(0,X.minRuleThickness-X.fontMetrics().sqrtRuleThickness),Tt,$t=0,rr=0,Ar=0,zr;return pe.type==="small"?(Ar=1e3+1e3*Ge+Oo,Z<1?Te=1:Z<1.4&&(Te=.7),$t=(1+Ge+ko)/Te,rr=(1+Ge)/Te,Tt=Ns("sqrtMain",$t,Ar,Ge,X),Tt.style.minWidth="0.853em",zr=.833/Te):pe.type==="large"?(Ar=(1e3+Oo)*Ds[pe.size],rr=(Ds[pe.size]+Ge)/Te,$t=(Ds[pe.size]+Ge+ko)/Te,Tt=Ns("sqrtSize"+pe.size,$t,Ar,Ge,X),Tt.style.minWidth="1.02em",zr=1/Te):($t=Z+Ge+ko,rr=Z+Ge,Ar=Math.floor(1e3*Z+Ge)+Oo,Tt=Ns("sqrtTall",$t,Ar,Ge,X),Tt.style.minWidth="0.742em",zr=1.056),Tt.height=rr,Tt.style.height=$t+"em",{span:Tt,advanceWidth:zr,ruleWidth:(X.fontMetrics().sqrtRuleThickness+Ge)*Te}},Mo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],wo=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Rs=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ds=[0,1.2,1.8,2.4,3],hu=function(Z,X,te,pe,Te){if(Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle"),P.contains(Mo,Z)||P.contains(Rs,Z))return Eo(Z,X,!1,te,pe,Te);if(P.contains(wo,Z))return Mu(Z,Ds[X],!1,te,pe,Te);throw new o("Illegal delimiter: '"+Z+"'")},Cu=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Xt=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"stack"}],fr=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ar=function(Z){if(Z.type==="small")return"Main-Regular";if(Z.type==="large")return"Size"+Z.size+"-Regular";if(Z.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+Z.type+"' here.")},mr=function(Z,X,te,pe){for(var Te=Math.min(2,3-pe.style.size),Ge=Te;Ge<te.length&&te[Ge].type!=="stack";Ge++){var Tt=cs(Z,ar(te[Ge]),"math"),$t=Tt.height+Tt.depth;if(te[Ge].type==="small"){var rr=pe.havingBaseStyle(te[Ge].style);$t*=rr.sizeMultiplier}if($t>X)return te[Ge]}return te[te.length-1]},xr=function(Z,X,te,pe,Te,Ge){Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle");var Tt;P.contains(Rs,Z)?Tt=Cu:P.contains(Mo,Z)?Tt=fr:Tt=Xt;var $t=mr(Z,X,Tt,pe);return $t.type==="small"?jo(Z,$t.style,te,pe,Te,Ge):$t.type==="large"?Eo(Z,$t.size,te,pe,Te,Ge):Mu(Z,X,te,pe,Te,Ge)},vn=function(Z,X,te,pe,Te,Ge){var Tt=pe.fontMetrics().axisHeight*pe.sizeMultiplier,$t=901,rr=5/pe.fontMetrics().ptPerEm,Ar=Math.max(X-Tt,te+Tt),zr=Math.max(Ar/500*$t,2*Ar-rr);return xr(Z,zr,!0,pe,Te,Ge)},xn={sqrtImage:du,sizedDelim:hu,customSizedDelim:xr,leftRightDelim:vn},$n={"\\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}},kn=["(","\\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 Yn(Ve,Z){var X=mn(Ve);if(X&&P.contains(kn,X.text))return X;throw new o("Invalid delimiter: '"+(X?X.text:JSON.stringify(Ve))+"' after '"+Z.funcName+"'",Ve)}hn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(Z,X){var te=Yn(X[0],Z);return{type:"delimsizing",mode:Z.parser.mode,size:$n[Z.funcName].size,mclass:$n[Z.funcName].mclass,delim:te.text}},htmlBuilder:function(Z,X){return Z.delim==="."?at.makeSpan([Z.mclass]):xn.sizedDelim(Z.delim,Z.size,X,Z.mode,[Z.mclass])},mathmlBuilder:function(Z){var X=[];Z.delim!=="."&&X.push(Ra(Z.delim,Z.mode));var te=new On.MathNode("mo",X);return Z.mclass==="mopen"||Z.mclass==="mclose"?te.setAttribute("fence","true"):te.setAttribute("fence","false"),te}});function or(Ve){if(!Ve.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}hn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(Z,X){var te=Z.parser.gullet.macros.get("\\current@color");if(te&&typeof te!="string")throw new o("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:Z.parser.mode,delim:Yn(X[0],Z).text,color:te}}}),hn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(Z,X){var te=Yn(X[0],Z),pe=Z.parser;++pe.leftrightDepth;var Te=pe.parseExpression(!1);--pe.leftrightDepth,pe.expect("\\right",!1);var Ge=nr(pe.parseFunction(),"leftright-right");return{type:"leftright",mode:pe.mode,body:Te,left:te.text,right:Ge.delim,rightColor:Ge.color}},htmlBuilder:function(Z,X){or(Z);for(var te=ka(Z.body,X,!0,["mopen","mclose"]),pe=0,Te=0,Ge=!1,Tt=0;Tt<te.length;Tt++)te[Tt].isMiddle?Ge=!0:(pe=Math.max(te[Tt].height,pe),Te=Math.max(te[Tt].depth,Te));pe*=X.sizeMultiplier,Te*=X.sizeMultiplier;var $t;if(Z.left==="."?$t=Ss(X,["mopen"]):$t=xn.leftRightDelim(Z.left,pe,Te,X,Z.mode,["mopen"]),te.unshift($t),Ge)for(var rr=1;rr<te.length;rr++){var Ar=te[rr],zr=Ar.isMiddle;zr&&(te[rr]=xn.leftRightDelim(zr.delim,pe,Te,zr.options,Z.mode,[]))}var qr;if(Z.right===".")qr=Ss(X,["mclose"]);else{var En=Z.rightColor?X.withColor(Z.rightColor):X;qr=xn.leftRightDelim(Z.right,pe,Te,En,Z.mode,["mclose"])}return te.push(qr),at.makeSpan(["minner"],te,X)},mathmlBuilder:function(Z,X){or(Z);var te=Li(Z.body,X);if(Z.left!=="."){var pe=new On.MathNode("mo",[Ra(Z.left,Z.mode)]);pe.setAttribute("fence","true"),te.unshift(pe)}if(Z.right!=="."){var Te=new On.MathNode("mo",[Ra(Z.right,Z.mode)]);Te.setAttribute("fence","true"),Z.rightColor&&Te.setAttribute("mathcolor",Z.rightColor),te.push(Te)}return is(te)}}),hn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(Z,X){var te=Yn(X[0],Z);if(!Z.parser.leftrightDepth)throw new o("\\middle without preceding \\left",te);return{type:"middle",mode:Z.parser.mode,delim:te.text}},htmlBuilder:function(Z,X){var te;if(Z.delim===".")te=Ss(X,[]);else{te=xn.sizedDelim(Z.delim,1,X,Z.mode,[]);var pe={delim:Z.delim,options:X};te.isMiddle=pe}return te},mathmlBuilder:function(Z,X){var te=Z.delim==="\\vert"||Z.delim==="|"?Ra("|","text"):Ra(Z.delim,Z.mode),pe=new On.MathNode("mo",[te]);return pe.setAttribute("fence","true"),pe.setAttribute("lspace","0.05em"),pe.setAttribute("rspace","0.05em"),pe}});var Lr=function(Z,X){var te=at.wrapFragment(Bi(Z.body,X),X),pe=Z.label.substr(1),Te=X.sizeMultiplier,Ge,Tt=0,$t=P.isCharacterBox(Z.body);if(pe==="sout")Ge=at.makeSpan(["stretchy","sout"]),Ge.height=X.fontMetrics().defaultRuleThickness/Te,Tt=-.5*X.fontMetrics().xHeight;else{/cancel/.test(pe)?$t||te.classes.push("cancel-pad"):te.classes.push("boxpad");var rr=0,Ar=0;/box/.test(pe)?(Ar=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness),rr=X.fontMetrics().fboxsep+(pe==="colorbox"?0:Ar)):rr=$t?.2:0,Ge=si.encloseSpan(te,pe,rr,X),/fbox|boxed|fcolorbox/.test(pe)&&(Ge.style.borderStyle="solid",Ge.style.borderWidth=Ar+"em"),Tt=te.depth+rr,Z.backgroundColor&&(Ge.style.backgroundColor=Z.backgroundColor,Z.borderColor&&(Ge.style.borderColor=Z.borderColor))}var zr;return Z.backgroundColor?zr=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ge,shift:Tt},{type:"elem",elem:te,shift:0}]},X):zr=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:te,shift:0},{type:"elem",elem:Ge,shift:Tt,wrapperClasses:/cancel/.test(pe)?["svg-align"]:[]}]},X),/cancel/.test(pe)&&(zr.height=te.height,zr.depth=te.depth),/cancel/.test(pe)&&!$t?at.makeSpan(["mord","cancel-lap"],[zr],X):at.makeSpan(["mord"],[zr],X)},yr=function(Z,X){var te=0,pe=new On.MathNode(Z.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ca(Z.body,X)]);switch(Z.label){case"\\cancel":pe.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":pe.setAttribute("notation","downdiagonalstrike");break;case"\\sout":pe.setAttribute("notation","horizontalstrike");break;case"\\fbox":pe.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(te=X.fontMetrics().fboxsep*X.fontMetrics().ptPerEm,pe.setAttribute("width","+"+2*te+"pt"),pe.setAttribute("height","+"+2*te+"pt"),pe.setAttribute("lspace",te+"pt"),pe.setAttribute("voffset",te+"pt"),Z.label==="\\fcolorbox"){var Te=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness);pe.setAttribute("style","border: "+Te+"em solid "+String(Z.borderColor))}break;case"\\xcancel":pe.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return Z.backgroundColor&&pe.setAttribute("mathbackground",Z.backgroundColor),pe};hn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(Z,X,te){var pe=Z.parser,Te=Z.funcName,Ge=nr(X[0],"color-token").color,Tt=X[1];return{type:"enclose",mode:pe.mode,label:Te,backgroundColor:Ge,body:Tt}},htmlBuilder:Lr,mathmlBuilder:yr}),hn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(Z,X,te){var pe=Z.parser,Te=Z.funcName,Ge=nr(X[0],"color-token").color,Tt=nr(X[1],"color-token").color,$t=X[2];return{type:"enclose",mode:pe.mode,label:Te,backgroundColor:Tt,borderColor:Ge,body:$t}},htmlBuilder:Lr,mathmlBuilder:yr}),hn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(Z,X){var te=Z.parser;return{type:"enclose",mode:te.mode,label:"\\fbox",body:X[0]}}}),hn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(Z,X,te){var pe=Z.parser,Te=Z.funcName,Ge=X[0];return{type:"enclose",mode:pe.mode,label:Te,body:Ge}},htmlBuilder:Lr,mathmlBuilder:yr});var fn={};function zn(Ve){for(var Z=Ve.type,X=Ve.names,te=Ve.props,pe=Ve.handler,Te=Ve.htmlBuilder,Ge=Ve.mathmlBuilder,Tt={type:Z,numArgs:te.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:pe},$t=0;$t<X.length;++$t)fn[X[$t]]=Tt;Te&&(Ci[Z]=Te),Ge&&(fi[Z]=Ge)}function ft(Ve){var Z=[];Ve.consumeSpaces();for(var X=Ve.fetch().text;X==="\\hline"||X==="\\hdashline";)Ve.consume(),Z.push(X==="\\hdashline"),Ve.consumeSpaces(),X=Ve.fetch().text;return Z}function Cn(Ve,Z,X){var te=Z.hskipBeforeAndAfter,pe=Z.addJot,Te=Z.cols,Ge=Z.arraystretch,Tt=Z.colSeparationType;if(Ve.gullet.beginGroup(),Ve.gullet.macros.set("\\\\","\\cr"),!Ge){var $t=Ve.gullet.expandMacroAsText("\\arraystretch");if($t==null)Ge=1;else if(Ge=parseFloat($t),!Ge||Ge<0)throw new o("Invalid \\arraystretch: "+$t)}Ve.gullet.beginGroup();var rr=[],Ar=[rr],zr=[],qr=[];for(qr.push(ft(Ve));;){var En=Ve.parseExpression(!1,"\\cr");Ve.gullet.endGroup(),Ve.gullet.beginGroup(),En={type:"ordgroup",mode:Ve.mode,body:En},X&&(En={type:"styling",mode:Ve.mode,style:X,body:[En]}),rr.push(En);var Rn=Ve.fetch().text;if(Rn==="&")Ve.consume();else if(Rn==="\\end"){rr.length===1&&En.type==="styling"&&En.body[0].body.length===0&&Ar.pop(),qr.length<Ar.length+1&&qr.push([]);break}else if(Rn==="\\cr"){var lr=nr(Ve.parseFunction(),"cr");zr.push(lr.size),qr.push(ft(Ve)),rr=[],Ar.push(rr)}else throw new o("Expected & or \\\\ or \\cr or \\end",Ve.nextToken)}return Ve.gullet.endGroup(),Ve.gullet.endGroup(),{type:"array",mode:Ve.mode,addJot:pe,arraystretch:Ge,body:Ar,cols:Te,rowGaps:zr,hskipBeforeAndAfter:te,hLinesBeforeRow:qr,colSeparationType:Tt}}function Hn(Ve){return Ve.substr(0,1)==="d"?"display":"text"}var oi=function(Z,X){var te,pe,Te=Z.body.length,Ge=Z.hLinesBeforeRow,Tt=0,$t=new Array(Te),rr=[],Ar=Math.max(X.fontMetrics().arrayRuleWidth,X.minRuleThickness),zr=1/X.fontMetrics().ptPerEm,qr=5*zr;if(Z.colSeparationType&&Z.colSeparationType==="small"){var En=X.havingStyle(F.SCRIPT).sizeMultiplier;qr=.2778*(En/X.sizeMultiplier)}var Rn=12*zr,lr=3*zr,Ei=Z.arraystretch*Rn,ia=.7*Ei,aa=.3*Ei,Xi=0;function Ja(Qo){for(var _u=0;_u<Qo.length;++_u)_u>0&&(Xi+=.25),rr.push({pos:Xi,isDashed:Qo[_u]})}for(Ja(Ge[0]),te=0;te<Z.body.length;++te){var ss=Z.body[te],bs=ia,es=aa;Tt<ss.length&&(Tt=ss.length);var wa=new Array(ss.length);for(pe=0;pe<ss.length;++pe){var fs=Bi(ss[pe],X);es<fs.depth&&(es=fs.depth),bs<fs.height&&(bs=fs.height),wa[pe]=fs}var xs=Z.rowGaps[te],_i=0;xs&&(_i=di(xs,X),_i>0&&(_i+=aa,es<_i&&(es=_i),_i=0)),Z.addJot&&(es+=lr),wa.height=bs,wa.depth=es,Xi+=bs,wa.pos=Xi,Xi+=es+_i,$t[te]=wa,Ja(Ge[te+1])}var Us=Xi/2+X.fontMetrics().axisHeight,ms=Z.cols||[],Xo=[],Ps,_o;for(pe=0,_o=0;pe<Tt||_o<ms.length;++pe,++_o){for(var qs=ms[_o]||{},Bl=!0;qs.type==="separator";){if(Bl||(Ps=at.makeSpan(["arraycolsep"],[]),Ps.style.width=X.fontMetrics().doubleRuleSep+"em",Xo.push(Ps)),qs.separator==="|"||qs.separator===":"){var Fu=qs.separator==="|"?"solid":"dashed",Bo=at.makeSpan(["vertical-separator"],[],X);Bo.style.height=Xi+"em",Bo.style.borderRightWidth=Ar+"em",Bo.style.borderRightStyle=Fu,Bo.style.margin="0 -"+Ar/2+"em",Bo.style.verticalAlign=-(Xi-Us)+"em",Xo.push(Bo)}else throw new o("Invalid separator type: "+qs.separator);_o++,qs=ms[_o]||{},Bl=!1}if(!(pe>=Tt)){var ru=void 0;(pe>0||Z.hskipBeforeAndAfter)&&(ru=P.deflt(qs.pregap,qr),ru!==0&&(Ps=at.makeSpan(["arraycolsep"],[]),Ps.style.width=ru+"em",Xo.push(Ps)));var ks=[];for(te=0;te<Te;++te){var Bu=$t[te],cu=Bu[pe];if(cu){var Js=Bu.pos-Us;cu.depth=Bu.depth,cu.height=Bu.height,ks.push({type:"elem",elem:cu,shift:Js})}}ks=at.makeVList({positionType:"individualShift",children:ks},X),ks=at.makeSpan(["col-align-"+(qs.align||"c")],[ks]),Xo.push(ks),(pe<Tt-1||Z.hskipBeforeAndAfter)&&(ru=P.deflt(qs.postgap,qr),ru!==0&&(Ps=at.makeSpan(["arraycolsep"],[]),Ps.style.width=ru+"em",Xo.push(Ps)))}}if($t=at.makeSpan(["mtable"],Xo),rr.length>0){for(var gl=at.makeLineSpan("hline",X,Ar),yl=at.makeLineSpan("hdashline",X,Ar),Uo=[{type:"elem",elem:$t,shift:0}];rr.length>0;){var bl=rr.pop(),zs=bl.pos-Us;bl.isDashed?Uo.push({type:"elem",elem:yl,shift:zs}):Uo.push({type:"elem",elem:gl,shift:zs})}$t=at.makeVList({positionType:"individualShift",children:Uo},X)}return at.makeSpan(["mord"],[$t],X)},zi={c:"center ",l:"left ",r:"right "},Nr=function(Z,X){var te=new On.MathNode("mtable",Z.body.map(function(Xi){return new On.MathNode("mtr",Xi.map(function(Ja){return new On.MathNode("mtd",[Ca(Ja,X)])}))})),pe=Z.arraystretch===.5?.1:.16+Z.arraystretch-1+(Z.addJot?.09:0);te.setAttribute("rowspacing",pe+"em");var Te="",Ge="";if(Z.cols){var Tt=Z.cols,$t="",rr=!1,Ar=0,zr=Tt.length;Tt[0].type==="separator"&&(Te+="top ",Ar=1),Tt[Tt.length-1].type==="separator"&&(Te+="bottom ",zr-=1);for(var qr=Ar;qr<zr;qr++)Tt[qr].type==="align"?(Ge+=zi[Tt[qr].align],rr&&($t+="none "),rr=!0):Tt[qr].type==="separator"&&rr&&($t+=Tt[qr].separator==="|"?"solid ":"dashed ",rr=!1);te.setAttribute("columnalign",Ge.trim()),/[sd]/.test($t)&&te.setAttribute("columnlines",$t.trim())}if(Z.colSeparationType==="align"){for(var En=Z.cols||[],Rn="",lr=1;lr<En.length;lr++)Rn+=lr%2?"0em ":"1em ";te.setAttribute("columnspacing",Rn.trim())}else Z.colSeparationType==="alignat"?te.setAttribute("columnspacing","0em"):Z.colSeparationType==="small"?te.setAttribute("columnspacing","0.2778em"):te.setAttribute("columnspacing","1em");var Ei="",ia=Z.hLinesBeforeRow;Te+=ia[0].length>0?"left ":"",Te+=ia[ia.length-1].length>0?"right ":"";for(var aa=1;aa<ia.length-1;aa++)Ei+=ia[aa].length===0?"none ":ia[aa][0]?"dashed ":"solid ";return/[sd]/.test(Ei)&&te.setAttribute("rowlines",Ei.trim()),Te!==""&&(te=new On.MathNode("menclose",[te]),te.setAttribute("notation",Te.trim())),Z.arraystretch&&Z.arraystretch<1&&(te=new On.MathNode("mstyle",[te]),te.setAttribute("scriptlevel","1")),te},Hr=function(Z,X){var te=[],pe=Cn(Z.parser,{cols:te,addJot:!0},"display"),Te,Ge=0,Tt={type:"ordgroup",mode:Z.mode,body:[]},$t=Pr(X[0],"ordgroup");if($t){for(var rr="",Ar=0;Ar<$t.body.length;Ar++){var zr=nr($t.body[Ar],"textord");rr+=zr.text}Te=Number(rr),Ge=Te*2}var qr=!Ge;pe.body.forEach(function(Ei){for(var ia=1;ia<Ei.length;ia+=2){var aa=nr(Ei[ia],"styling"),Xi=nr(aa.body[0],"ordgroup");Xi.body.unshift(Tt)}if(qr)Ge<Ei.length&&(Ge=Ei.length);else{var Ja=Ei.length/2;if(Te<Ja)throw new o("Too many math in a row: "+("expected "+Te+", but got "+Ja),Ei[0])}});for(var En=0;En<Ge;++En){var Rn="r",lr=0;En%2===1?Rn="l":En>0&&qr&&(lr=1),te[En]={type:"align",align:Rn,pregap:lr,postgap:0}}return pe.colSeparationType=qr?"align":"alignat",pe};zn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(Z,X){var te=mn(X[0]),pe=te?[X[0]]:nr(X[0],"ordgroup").body,Te=pe.map(function(Tt){var $t=Br(Tt),rr=$t.text;if("lcr".indexOf(rr)!==-1)return{type:"align",align:rr};if(rr==="|")return{type:"separator",separator:"|"};if(rr===":")return{type:"separator",separator:":"};throw new o("Unknown column alignment: "+rr,Tt)}),Ge={cols:Te,hskipBeforeAndAfter:!0};return Cn(Z.parser,Ge,Hn(Z.envName))},htmlBuilder:oi,mathmlBuilder:Nr}),zn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(Z){var X={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[Z.envName],te={hskipBeforeAndAfter:!1},pe=Cn(Z.parser,te,Hn(Z.envName));return X?{type:"leftright",mode:Z.mode,body:[pe],left:X[0],right:X[1],rightColor:void 0}:pe},htmlBuilder:oi,mathmlBuilder:Nr}),zn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(Z){var X={arraystretch:.5},te=Cn(Z.parser,X,"script");return te.colSeparationType="small",te},htmlBuilder:oi,mathmlBuilder:Nr}),zn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(Z,X){var te=mn(X[0]),pe=te?[X[0]]:nr(X[0],"ordgroup").body,Te=pe.map(function(Tt){var $t=Br(Tt),rr=$t.text;if("lc".indexOf(rr)!==-1)return{type:"align",align:rr};throw new o("Unknown column alignment: "+rr,Tt)});if(Te.length>1)throw new o("{subarray} can contain only one column");var Ge={cols:Te,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ge=Cn(Z.parser,Ge,"script"),Ge.body[0].length>1)throw new o("{subarray} can contain only one column");return Ge},htmlBuilder:oi,mathmlBuilder:Nr}),zn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(Z){var X={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},te=Cn(Z.parser,X,Hn(Z.envName));return{type:"leftright",mode:Z.mode,body:[te],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:oi,mathmlBuilder:Nr}),zn({type:"array",names:["aligned"],props:{numArgs:0},handler:Hr,htmlBuilder:oi,mathmlBuilder:Nr}),zn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(Z){var X={cols:[{type:"align",align:"c"}],addJot:!0};return Cn(Z.parser,X,"display")},htmlBuilder:oi,mathmlBuilder:Nr}),zn({type:"array",names:["alignedat"],props:{numArgs:1},handler:Hr,htmlBuilder:oi,mathmlBuilder:Nr}),hn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(Z,X){throw new o(Z.funcName+" valid only within array environment")}});var da=fn,Ti=da;hn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(Z,X){var te=Z.parser,pe=Z.funcName,Te=X[0];if(Te.type!=="ordgroup")throw new o("Invalid environment name",Te);for(var Ge="",Tt=0;Tt<Te.body.length;++Tt)Ge+=nr(Te.body[Tt],"textord").text;if(pe==="\\begin"){if(!Ti.hasOwnProperty(Ge))throw new o("No such environment: "+Ge,Te);var $t=Ti[Ge],rr=te.parseArguments("\\begin{"+Ge+"}",$t),Ar=rr.args,zr=rr.optArgs,qr={mode:te.mode,envName:Ge,parser:te},En=$t.handler(qr,Ar,zr);te.expect("\\end",!1);var Rn=te.nextToken,lr=nr(te.parseFunction(),"environment");if(lr.name!==Ge)throw new o("Mismatch: \\begin{"+Ge+"} matched by \\end{"+lr.name+"}",Rn);return En}return{type:"environment",mode:te.mode,name:Ge,nameGroup:Te}}});var ra=at.makeSpan;function Ts(Ve,Z){var X=ka(Ve.body,Z,!0);return ra([Ve.mclass],X,Z)}function ui(Ve,Z){var X,te=Li(Ve.body,Z);return Ve.mclass==="minner"?On.newDocumentFragment(te):(Ve.mclass==="mord"?Ve.isCharacterBox?(X=te[0],X.type="mi"):X=new On.MathNode("mi",te):(Ve.isCharacterBox?(X=te[0],X.type="mo"):X=new On.MathNode("mo",te),Ve.mclass==="mbin"?(X.attributes.lspace="0.22em",X.attributes.rspace="0.22em"):Ve.mclass==="mpunct"?(X.attributes.lspace="0em",X.attributes.rspace="0.17em"):(Ve.mclass==="mopen"||Ve.mclass==="mclose")&&(X.attributes.lspace="0em",X.attributes.rspace="0em")),X)}hn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(Z,X){var te=Z.parser,pe=Z.funcName,Te=X[0];return{type:"mclass",mode:te.mode,mclass:"m"+pe.substr(5),body:Mi(Te),isCharacterBox:P.isCharacterBox(Te)}},htmlBuilder:Ts,mathmlBuilder:ui});var $s=function(Z){var X=Z.type==="ordgroup"&&Z.body.length?Z.body[0]:Z;return X.type==="atom"&&(X.family==="bin"||X.family==="rel")?"m"+X.family:"mord"};hn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(Z,X){var te=Z.parser;return{type:"mclass",mode:te.mode,mclass:$s(X[0]),body:[X[1]],isCharacterBox:P.isCharacterBox(X[1])}}}),hn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(Z,X){var te=Z.parser,pe=Z.funcName,Te=X[1],Ge=X[0],Tt;pe!=="\\stackrel"?Tt=$s(Te):Tt="mrel";var $t={type:"op",mode:Te.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:pe!=="\\stackrel",body:Mi(Te)},rr={type:"supsub",mode:Ge.mode,base:$t,sup:pe==="\\underset"?null:Ge,sub:pe==="\\underset"?Ge:null};return{type:"mclass",mode:te.mode,mclass:Tt,body:[rr],isCharacterBox:P.isCharacterBox(rr)}},htmlBuilder:Ts,mathmlBuilder:ui});var Fo=function(Z,X){var te=Z.font,pe=X.withFont(te);return Bi(Z.body,pe)},Os=function(Z,X){var te=Z.font,pe=X.withFont(te);return Ca(Z.body,pe)},ha={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};hn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(Z,X){var te=Z.parser,pe=Z.funcName,Te=X[0],Ge=pe;return Ge in ha&&(Ge=ha[Ge]),{type:"font",mode:te.mode,font:Ge.slice(1),body:Te}},htmlBuilder:Fo,mathmlBuilder:Os}),hn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(Z,X){var te=Z.parser,pe=X[0],Te=P.isCharacterBox(pe);return{type:"mclass",mode:te.mode,mclass:$s(pe),body:[{type:"font",mode:te.mode,font:"boldsymbol",body:pe}],isCharacterBox:Te}}}),hn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(Z,X){var te=Z.parser,pe=Z.funcName,Te=Z.breakOnTokenText,Ge=te.mode,Tt=te.parseExpression(!0,Te),$t="math"+pe.slice(1);return{type:"font",mode:Ge,font:$t,body:{type:"ordgroup",mode:te.mode,body:Tt}}},htmlBuilder:Fo,mathmlBuilder:Os});var Na=function(Z,X){var te=X;return Z==="display"?te=te.id>=F.SCRIPT.id?te.text():F.DISPLAY:Z==="text"&&te.size===F.DISPLAY.size?te=F.TEXT:Z==="script"?te=F.SCRIPT:Z==="scriptscript"&&(te=F.SCRIPTSCRIPT),te},ps=function(Z,X){var te=Na(Z.size,X.style),pe=te.fracNum(),Te=te.fracDen(),Ge;Ge=X.havingStyle(pe);var Tt=Bi(Z.numer,Ge,X);if(Z.continued){var $t=8.5/X.fontMetrics().ptPerEm,rr=3.5/X.fontMetrics().ptPerEm;Tt.height=Tt.height<$t?$t:Tt.height,Tt.depth=Tt.depth<rr?rr:Tt.depth}Ge=X.havingStyle(Te);var Ar=Bi(Z.denom,Ge,X),zr,qr,En;Z.hasBarLine?(Z.barSize?(qr=di(Z.barSize,X),zr=at.makeLineSpan("frac-line",X,qr)):zr=at.makeLineSpan("frac-line",X),qr=zr.height,En=zr.height):(zr=null,qr=0,En=X.fontMetrics().defaultRuleThickness);var Rn,lr,Ei;te.size===F.DISPLAY.size||Z.size==="display"?(Rn=X.fontMetrics().num1,qr>0?lr=3*En:lr=7*En,Ei=X.fontMetrics().denom1):(qr>0?(Rn=X.fontMetrics().num2,lr=En):(Rn=X.fontMetrics().num3,lr=3*En),Ei=X.fontMetrics().denom2);var ia;if(zr){var Xi=X.fontMetrics().axisHeight;Rn-Tt.depth-(Xi+.5*qr)<lr&&(Rn+=lr-(Rn-Tt.depth-(Xi+.5*qr))),Xi-.5*qr-(Ar.height-Ei)<lr&&(Ei+=lr-(Xi-.5*qr-(Ar.height-Ei)));var Ja=-(Xi-.5*qr);ia=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ar,shift:Ei},{type:"elem",elem:zr,shift:Ja},{type:"elem",elem:Tt,shift:-Rn}]},X)}else{var aa=Rn-Tt.depth-(Ar.height-Ei);aa<lr&&(Rn+=.5*(lr-aa),Ei+=.5*(lr-aa)),ia=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ar,shift:Ei},{type:"elem",elem:Tt,shift:-Rn}]},X)}Ge=X.havingStyle(te),ia.height*=Ge.sizeMultiplier/X.sizeMultiplier,ia.depth*=Ge.sizeMultiplier/X.sizeMultiplier;var ss;te.size===F.DISPLAY.size?ss=X.fontMetrics().delim1:ss=X.fontMetrics().delim2;var bs,es;return Z.leftDelim==null?bs=Ss(X,["mopen"]):bs=xn.customSizedDelim(Z.leftDelim,ss,!0,X.havingStyle(te),Z.mode,["mopen"]),Z.continued?es=at.makeSpan([]):Z.rightDelim==null?es=Ss(X,["mclose"]):es=xn.customSizedDelim(Z.rightDelim,ss,!0,X.havingStyle(te),Z.mode,["mclose"]),at.makeSpan(["mord"].concat(Ge.sizingClasses(X)),[bs,at.makeSpan(["mfrac"],[ia]),es],X)},Ln=function(Z,X){var te=new On.MathNode("mfrac",[Ca(Z.numer,X),Ca(Z.denom,X)]);if(!Z.hasBarLine)te.setAttribute("linethickness","0px");else if(Z.barSize){var pe=di(Z.barSize,X);te.setAttribute("linethickness",pe+"em")}var Te=Na(Z.size,X.style);if(Te.size!==X.style.size){te=new On.MathNode("mstyle",[te]);var Ge=Te.size===F.DISPLAY.size?"true":"false";te.setAttribute("displaystyle",Ge),te.setAttribute("scriptlevel","0")}if(Z.leftDelim!=null||Z.rightDelim!=null){var Tt=[];if(Z.leftDelim!=null){var $t=new On.MathNode("mo",[new On.TextNode(Z.leftDelim.replace("\\",""))]);$t.setAttribute("fence","true"),Tt.push($t)}if(Tt.push(te),Z.rightDelim!=null){var rr=new On.MathNode("mo",[new On.TextNode(Z.rightDelim.replace("\\",""))]);rr.setAttribute("fence","true"),Tt.push(rr)}return is(Tt)}return te};hn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(Z,X){var te=Z.parser,pe=Z.funcName,Te=X[0],Ge=X[1],Tt,$t=null,rr=null,Ar="auto";switch(pe){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Tt=!0;break;case"\\\\atopfrac":Tt=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Tt=!1,$t="(",rr=")";break;case"\\\\bracefrac":Tt=!1,$t="\\{",rr="\\}";break;case"\\\\brackfrac":Tt=!1,$t="[",rr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(pe){case"\\cfrac":case"\\dfrac":case"\\dbinom":Ar="display";break;case"\\tfrac":case"\\tbinom":Ar="text";break}return{type:"genfrac",mode:te.mode,continued:pe==="\\cfrac",numer:Te,denom:Ge,hasBarLine:Tt,leftDelim:$t,rightDelim:rr,size:Ar,barSize:null}},htmlBuilder:ps,mathmlBuilder:Ln}),hn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(Z){var X=Z.parser,te=Z.funcName,pe=Z.token,Te;switch(te){case"\\over":Te="\\frac";break;case"\\choose":Te="\\binom";break;case"\\atop":Te="\\\\atopfrac";break;case"\\brace":Te="\\\\bracefrac";break;case"\\brack":Te="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:X.mode,replaceWith:Te,token:pe}}});var Ls=["display","text","script","scriptscript"],Ms=function(Z){var X=null;return Z.length>0&&(X=Z,X=X==="."?null:X),X};hn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(Z,X){var te=Z.parser,pe=X[4],Te=X[5],Ge=Pr(X[0],"atom");Ge&&(Ge=br(X[0],"open"));var Tt=Ge?Ms(Ge.text):null,$t=Pr(X[1],"atom");$t&&($t=br(X[1],"close"));var rr=$t?Ms($t.text):null,Ar=nr(X[2],"size"),zr,qr=null;Ar.isBlank?zr=!0:(qr=Ar.value,zr=qr.number>0);var En="auto",Rn=Pr(X[3],"ordgroup");if(Rn){if(Rn.body.length>0){var lr=nr(Rn.body[0],"textord");En=Ls[Number(lr.text)]}}else Rn=nr(X[3],"textord"),En=Ls[Number(Rn.text)];return{type:"genfrac",mode:te.mode,numer:pe,denom:Te,continued:!1,hasBarLine:zr,barSize:qr,leftDelim:Tt,rightDelim:rr,size:En}},htmlBuilder:ps,mathmlBuilder:Ln}),hn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(Z,X){var te=Z.parser,pe=Z.funcName,Te=Z.token;return{type:"infix",mode:te.mode,replaceWith:"\\\\abovefrac",size:nr(X[0],"size").value,token:Te}}}),hn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(Z,X){var te=Z.parser,pe=Z.funcName,Te=X[0],Ge=R(nr(X[1],"infix").size),Tt=X[2],$t=Ge.number>0;return{type:"genfrac",mode:te.mode,numer:Te,denom:Tt,continued:!1,hasBarLine:$t,barSize:Ge,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ps,mathmlBuilder:Ln});var Ye=function(Z,X){var te=X.style,pe,Te,Ge=Pr(Z,"supsub");Ge?(pe=Ge.sup?Bi(Ge.sup,X.havingStyle(te.sup()),X):Bi(Ge.sub,X.havingStyle(te.sub()),X),Te=nr(Ge.base,"horizBrace")):Te=nr(Z,"horizBrace");var Tt=Bi(Te.base,X.havingBaseStyle(F.DISPLAY)),$t=si.svgSpan(Te,X),rr;if(Te.isOver?(rr=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tt},{type:"kern",size:.1},{type:"elem",elem:$t}]},X),rr.children[0].children[0].children[1].classes.push("svg-align")):(rr=at.makeVList({positionType:"bottom",positionData:Tt.depth+.1+$t.height,children:[{type:"elem",elem:$t},{type:"kern",size:.1},{type:"elem",elem:Tt}]},X),rr.children[0].children[0].children[0].classes.push("svg-align")),pe){var Ar=at.makeSpan(["mord",Te.isOver?"mover":"munder"],[rr],X);Te.isOver?rr=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ar},{type:"kern",size:.2},{type:"elem",elem:pe}]},X):rr=at.makeVList({positionType:"bottom",positionData:Ar.depth+.2+pe.height+pe.depth,children:[{type:"elem",elem:pe},{type:"kern",size:.2},{type:"elem",elem:Ar}]},X)}return at.makeSpan(["mord",Te.isOver?"mover":"munder"],[rr],X)},Qe=function(Z,X){var te=si.mathMLnode(Z.label);return new On.MathNode(Z.isOver?"mover":"munder",[Ca(Z.base,X),te])};hn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(Z,X){var te=Z.parser,pe=Z.funcName;return{type:"horizBrace",mode:te.mode,label:pe,isOver:/^\\over/.test(pe),base:X[0]}},htmlBuilder:Ye,mathmlBuilder:Qe}),hn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(Z,X){var te=Z.parser,pe=X[1],Te=nr(X[0],"url").url;return te.settings.isTrusted({command:"\\href",url:Te})?{type:"href",mode:te.mode,href:Te,body:Mi(pe)}:te.formatUnsupportedCmd("\\href")},htmlBuilder:function(Z,X){var te=ka(Z.body,X,!1);return at.makeAnchor(Z.href,[],te,X)},mathmlBuilder:function(Z,X){var te=Da(Z.body,X);return te instanceof ta||(te=new ta("mrow",[te])),te.setAttribute("href",Z.href),te}}),hn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(Z,X){var te=Z.parser,pe=nr(X[0],"url").url;if(!te.settings.isTrusted({command:"\\url",url:pe}))return te.formatUnsupportedCmd("\\url");for(var Te=[],Ge=0;Ge<pe.length;Ge++){var Tt=pe[Ge];Tt==="~"&&(Tt="\\textasciitilde"),Te.push({type:"textord",mode:"text",text:Tt})}var $t={type:"text",mode:te.mode,font:"\\texttt",body:Te};return{type:"href",mode:te.mode,href:pe,body:Mi($t)}}}),hn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(Z,X){var te=Z.parser;return{type:"htmlmathml",mode:te.mode,html:Mi(X[0]),mathml:Mi(X[1])}},htmlBuilder:function(Z,X){var te=ka(Z.html,X,!1);return at.makeFragment(te)},mathmlBuilder:function(Z,X){return Da(Z.mathml,X)}});var Rt=function(Z){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(Z))return{number:+Z,unit:"bp"};var X=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Z);if(!X)throw new o("Invalid size: '"+Z+"' in \\includegraphics");var te={number:+(X[1]+X[2]),unit:X[3]};if(!vi(te))throw new o("Invalid unit: '"+te.unit+"' in \\includegraphics.");return te};hn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(Z,X,te){var pe=Z.parser,Te={number:0,unit:"em"},Ge={number:.9,unit:"em"},Tt={number:0,unit:"em"},$t="";if(te[0])for(var rr=nr(te[0],"raw").string,Ar=rr.split(","),zr=0;zr<Ar.length;zr++){var qr=Ar[zr].split("=");if(qr.length===2){var En=qr[1].trim();switch(qr[0].trim()){case"alt":$t=En;break;case"width":Te=Rt(En);break;case"height":Ge=Rt(En);break;case"totalheight":Tt=Rt(En);break;default:throw new o("Invalid key: '"+qr[0]+"' in \\includegraphics.")}}}var Rn=nr(X[0],"url").url;return $t===""&&($t=Rn,$t=$t.replace(/^.*[\\/]/,""),$t=$t.substring(0,$t.lastIndexOf("."))),pe.settings.isTrusted({command:"\\includegraphics",url:Rn})?{type:"includegraphics",mode:pe.mode,alt:$t,width:Te,height:Ge,totalheight:Tt,src:Rn}:pe.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(Z,X){var te=di(Z.height,X),pe=0;Z.totalheight.number>0&&(pe=di(Z.totalheight,X)-te,pe=Number(pe.toFixed(2)));var Te=0;Z.width.number>0&&(Te=di(Z.width,X));var Ge={height:te+pe+"em"};Te>0&&(Ge.width=Te+"em"),pe>0&&(Ge.verticalAlign=-pe+"em");var Tt=new Ue(Z.src,Z.alt,Ge);return Tt.height=te,Tt.depth=pe,Tt},mathmlBuilder:function(Z,X){var te=new On.MathNode("mglyph",[]);te.setAttribute("alt",Z.alt);var pe=di(Z.height,X),Te=0;if(Z.totalheight.number>0&&(Te=di(Z.totalheight,X)-pe,Te=Te.toFixed(2),te.setAttribute("valign","-"+Te+"em")),te.setAttribute("height",pe+Te+"em"),Z.width.number>0){var Ge=di(Z.width,X);te.setAttribute("width",Ge+"em")}return te.setAttribute("src",Z.src),te}}),hn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,X){var te=Z.parser,pe=Z.funcName,Te=nr(X[0],"size");if(te.settings.strict){var Ge=pe[1]==="m",Tt=Te.value.unit==="mu";Ge?(Tt||te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+pe+" supports only mu units, "+("not "+Te.value.unit+" units")),te.mode!=="math"&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+pe+" works only in math mode")):Tt&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+pe+" doesn't support mu units")}return{type:"kern",mode:te.mode,dimension:Te.value}},htmlBuilder:function(Z,X){return at.makeGlue(Z.dimension,X)},mathmlBuilder:function(Z,X){var te=di(Z.dimension,X);return new On.SpaceNode(te)}}),hn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var te=Z.parser,pe=Z.funcName,Te=X[0];return{type:"lap",mode:te.mode,alignment:pe.slice(5),body:Te}},htmlBuilder:function(Z,X){var te;Z.alignment==="clap"?(te=at.makeSpan([],[Bi(Z.body,X)]),te=at.makeSpan(["inner"],[te],X)):te=at.makeSpan(["inner"],[Bi(Z.body,X)]);var pe=at.makeSpan(["fix"],[]),Te=at.makeSpan([Z.alignment],[te,pe],X),Ge=at.makeSpan(["strut"]);return Ge.style.height=Te.height+Te.depth+"em",Ge.style.verticalAlign=-Te.depth+"em",Te.children.unshift(Ge),Te=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Te}]},X),at.makeSpan(["mord"],[Te],X)},mathmlBuilder:function(Z,X){var te=new On.MathNode("mpadded",[Ca(Z.body,X)]);if(Z.alignment!=="rlap"){var pe=Z.alignment==="llap"?"-1":"-0.5";te.setAttribute("lspace",pe+"width")}return te.setAttribute("width","0px"),te}}),hn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,X){var te=Z.funcName,pe=Z.parser,Te=pe.mode;pe.switchMode("math");var Ge=te==="\\("?"\\)":"$",Tt=pe.parseExpression(!1,Ge);return pe.expect(Ge),pe.switchMode(Te),{type:"styling",mode:pe.mode,style:"text",body:Tt}}}),hn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,X){throw new o("Mismatched "+Z.funcName)}});var Vt=function(Z,X){switch(X.style.size){case F.DISPLAY.size:return Z.display;case F.TEXT.size:return Z.text;case F.SCRIPT.size:return Z.script;case F.SCRIPTSCRIPT.size:return Z.scriptscript;default:return Z.text}};hn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(Z,X){var te=Z.parser;return{type:"mathchoice",mode:te.mode,display:Mi(X[0]),text:Mi(X[1]),script:Mi(X[2]),scriptscript:Mi(X[3])}},htmlBuilder:function(Z,X){var te=Vt(Z,X),pe=ka(te,X,!1);return at.makeFragment(pe)},mathmlBuilder:function(Z,X){var te=Vt(Z,X);return Da(te,X)}});var dr=function(Z,X,te,pe,Te,Ge,Tt){Z=at.makeSpan([],[Z]);var $t,rr;if(X){var Ar=Bi(X,pe.havingStyle(Te.sup()),pe);rr={elem:Ar,kern:Math.max(pe.fontMetrics().bigOpSpacing1,pe.fontMetrics().bigOpSpacing3-Ar.depth)}}if(te){var zr=Bi(te,pe.havingStyle(Te.sub()),pe);$t={elem:zr,kern:Math.max(pe.fontMetrics().bigOpSpacing2,pe.fontMetrics().bigOpSpacing4-zr.height)}}var qr;if(rr&&$t){var En=pe.fontMetrics().bigOpSpacing5+$t.elem.height+$t.elem.depth+$t.kern+Z.depth+Tt;qr=at.makeVList({positionType:"bottom",positionData:En,children:[{type:"kern",size:pe.fontMetrics().bigOpSpacing5},{type:"elem",elem:$t.elem,marginLeft:-Ge+"em"},{type:"kern",size:$t.kern},{type:"elem",elem:Z},{type:"kern",size:rr.kern},{type:"elem",elem:rr.elem,marginLeft:Ge+"em"},{type:"kern",size:pe.fontMetrics().bigOpSpacing5}]},pe)}else if($t){var Rn=Z.height-Tt;qr=at.makeVList({positionType:"top",positionData:Rn,children:[{type:"kern",size:pe.fontMetrics().bigOpSpacing5},{type:"elem",elem:$t.elem,marginLeft:-Ge+"em"},{type:"kern",size:$t.kern},{type:"elem",elem:Z}]},pe)}else if(rr){var lr=Z.depth+Tt;qr=at.makeVList({positionType:"bottom",positionData:lr,children:[{type:"elem",elem:Z},{type:"kern",size:rr.kern},{type:"elem",elem:rr.elem,marginLeft:Ge+"em"},{type:"kern",size:pe.fontMetrics().bigOpSpacing5}]},pe)}else return Z;return at.makeSpan(["mop","op-limits"],[qr],pe)},kr=["\\smallint"],jr=function(Z,X){var te,pe,Te=!1,Ge,Tt=Pr(Z,"supsub");Tt?(te=Tt.sup,pe=Tt.sub,Ge=nr(Tt.base,"op"),Te=!0):Ge=nr(Z,"op");var $t=X.style,rr=!1;$t.size===F.DISPLAY.size&&Ge.symbol&&!P.contains(kr,Ge.name)&&(rr=!0);var Ar;if(Ge.symbol){var zr=rr?"Size2-Regular":"Size1-Regular",qr="";if((Ge.name==="\\oiint"||Ge.name==="\\oiiint")&&(qr=Ge.name.substr(1),Ge.name=qr==="oiint"?"\\iint":"\\iiint"),Ar=at.makeSymbol(Ge.name,zr,"math",X,["mop","op-symbol",rr?"large-op":"small-op"]),qr.length>0){var En=Ar.italic,Rn=at.staticSvg(qr+"Size"+(rr?"2":"1"),X);Ar=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ar,shift:0},{type:"elem",elem:Rn,shift:rr?.08:0}]},X),Ge.name="\\"+qr,Ar.classes.unshift("mop"),Ar.italic=En}}else if(Ge.body){var lr=ka(Ge.body,X,!0);lr.length===1&&lr[0]instanceof Pe?(Ar=lr[0],Ar.classes[0]="mop"):Ar=at.makeSpan(["mop"],at.tryCombineChars(lr),X)}else{for(var Ei=[],ia=1;ia<Ge.name.length;ia++)Ei.push(at.mathsym(Ge.name[ia],Ge.mode,X));Ar=at.makeSpan(["mop"],Ei,X)}var aa=0,Xi=0;return(Ar instanceof Pe||Ge.name==="\\oiint"||Ge.name==="\\oiiint")&&!Ge.suppressBaseShift&&(aa=(Ar.height-Ar.depth)/2-X.fontMetrics().axisHeight,Xi=Ar.italic),Te?dr(Ar,te,pe,X,$t,Xi,aa):(aa&&(Ar.style.position="relative",Ar.style.top=aa+"em"),Ar)},pn=function(Z,X){var te;if(Z.symbol)te=new ta("mo",[Ra(Z.name,Z.mode)]),P.contains(kr,Z.name)&&te.setAttribute("largeop","false");else if(Z.body)te=new ta("mo",Li(Z.body,X));else{te=new ta("mi",[new Ma(Z.name.slice(1))]);var pe=new ta("mo",[Ra("\u2061","text")]);Z.parentIsSupSub?te=new ta("mo",[te,pe]):te=Pa([te,pe])}return te},en={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};hn({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(Z,X){var te=Z.parser,pe=Z.funcName,Te=pe;return Te.length===1&&(Te=en[Te]),{type:"op",mode:te.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Te}},htmlBuilder:jr,mathmlBuilder:pn}),hn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(Z,X){var te=Z.parser,pe=X[0];return{type:"op",mode:te.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Mi(pe)}},htmlBuilder:jr,mathmlBuilder:pn});var gn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};hn({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(Z){var X=Z.parser,te=Z.funcName;return{type:"op",mode:X.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:jr,mathmlBuilder:pn}),hn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(Z){var X=Z.parser,te=Z.funcName;return{type:"op",mode:X.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:jr,mathmlBuilder:pn}),hn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(Z){var X=Z.parser,te=Z.funcName,pe=te;return pe.length===1&&(pe=gn[pe]),{type:"op",mode:X.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:pe}},htmlBuilder:jr,mathmlBuilder:pn});var Wn=function(Z,X){var te,pe,Te=!1,Ge,Tt=Pr(Z,"supsub");Tt?(te=Tt.sup,pe=Tt.sub,Ge=nr(Tt.base,"operatorname"),Te=!0):Ge=nr(Z,"operatorname");var $t;if(Ge.body.length>0){for(var rr=Ge.body.map(function(En){var Rn=En.text;return typeof Rn=="string"?{type:"textord",mode:En.mode,text:Rn}:En}),Ar=ka(rr,X.withFont("mathrm"),!0),zr=0;zr<Ar.length;zr++){var qr=Ar[zr];qr instanceof Pe&&(qr.text=qr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}$t=at.makeSpan(["mop"],Ar,X)}else $t=at.makeSpan(["mop"],[],X);return Te?dr($t,te,pe,X,X.style,0,0):$t},ti=function(Z,X){for(var te=Li(Z.body,X.withFont("mathrm")),pe=!0,Te=0;Te<te.length;Te++){var Ge=te[Te];if(!(Ge instanceof On.SpaceNode))if(Ge instanceof On.MathNode)switch(Ge.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Tt=Ge.children[0];Ge.children.length===1&&Tt instanceof On.TextNode?Tt.text=Tt.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):pe=!1;break}default:pe=!1}else pe=!1}if(pe){var $t=te.map(function(zr){return zr.toText()}).join("");te=[new On.TextNode($t)]}var rr=new On.MathNode("mi",te);rr.setAttribute("mathvariant","normal");var Ar=new On.MathNode("mo",[Ra("\u2061","text")]);return Z.parentIsSupSub?new On.MathNode("mo",[rr,Ar]):On.newDocumentFragment([rr,Ar])};hn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(Z,X){var te=Z.parser,pe=Z.funcName,Te=X[0];return{type:"operatorname",mode:te.mode,body:Mi(Te),alwaysHandleSupSub:pe==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Wn,mathmlBuilder:ti}),ai({type:"ordgroup",htmlBuilder:function(Z,X){return Z.semisimple?at.makeFragment(ka(Z.body,X,!1)):at.makeSpan(["mord"],ka(Z.body,X,!0),X)},mathmlBuilder:function(Z,X){return Da(Z.body,X,!0)}}),hn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(Z,X){var te=Z.parser,pe=X[0];return{type:"overline",mode:te.mode,body:pe}},htmlBuilder:function(Z,X){var te=Bi(Z.body,X.havingCrampedStyle()),pe=at.makeLineSpan("overline-line",X),Te=X.fontMetrics().defaultRuleThickness,Ge=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te},{type:"kern",size:3*Te},{type:"elem",elem:pe},{type:"kern",size:Te}]},X);return at.makeSpan(["mord","overline"],[Ge],X)},mathmlBuilder:function(Z,X){var te=new On.MathNode("mo",[new On.TextNode("\u203E")]);te.setAttribute("stretchy","true");var pe=new On.MathNode("mover",[Ca(Z.body,X),te]);return pe.setAttribute("accent","true"),pe}}),hn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var te=Z.parser,pe=X[0];return{type:"phantom",mode:te.mode,body:Mi(pe)}},htmlBuilder:function(Z,X){var te=ka(Z.body,X.withPhantom(),!1);return at.makeFragment(te)},mathmlBuilder:function(Z,X){var te=Li(Z.body,X);return new On.MathNode("mphantom",te)}}),hn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var te=Z.parser,pe=X[0];return{type:"hphantom",mode:te.mode,body:pe}},htmlBuilder:function(Z,X){var te=at.makeSpan([],[Bi(Z.body,X.withPhantom())]);if(te.height=0,te.depth=0,te.children)for(var pe=0;pe<te.children.length;pe++)te.children[pe].height=0,te.children[pe].depth=0;return te=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te}]},X),at.makeSpan(["mord"],[te],X)},mathmlBuilder:function(Z,X){var te=Li(Mi(Z.body),X),pe=new On.MathNode("mphantom",te),Te=new On.MathNode("mpadded",[pe]);return Te.setAttribute("height","0px"),Te.setAttribute("depth","0px"),Te}}),hn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var te=Z.parser,pe=X[0];return{type:"vphantom",mode:te.mode,body:pe}},htmlBuilder:function(Z,X){var te=at.makeSpan(["inner"],[Bi(Z.body,X.withPhantom())]),pe=at.makeSpan(["fix"],[]);return at.makeSpan(["mord","rlap"],[te,pe],X)},mathmlBuilder:function(Z,X){var te=Li(Mi(Z.body),X),pe=new On.MathNode("mphantom",te),Te=new On.MathNode("mpadded",[pe]);return Te.setAttribute("width","0px"),Te}}),hn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(Z,X){var te=Z.parser,pe=nr(X[0],"size").value,Te=X[1];return{type:"raisebox",mode:te.mode,dy:pe,body:Te}},htmlBuilder:function(Z,X){var te=Bi(Z.body,X),pe=di(Z.dy,X);return at.makeVList({positionType:"shift",positionData:-pe,children:[{type:"elem",elem:te}]},X)},mathmlBuilder:function(Z,X){var te=new On.MathNode("mpadded",[Ca(Z.body,X)]),pe=Z.dy.number+Z.dy.unit;return te.setAttribute("voffset",pe),te}}),hn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(Z,X,te){var pe=Z.parser,Te=te[0],Ge=nr(X[0],"size"),Tt=nr(X[1],"size");return{type:"rule",mode:pe.mode,shift:Te&&nr(Te,"size").value,width:Ge.value,height:Tt.value}},htmlBuilder:function(Z,X){var te=at.makeSpan(["mord","rule"],[],X),pe=di(Z.width,X),Te=di(Z.height,X),Ge=Z.shift?di(Z.shift,X):0;return te.style.borderRightWidth=pe+"em",te.style.borderTopWidth=Te+"em",te.style.bottom=Ge+"em",te.width=pe,te.height=Te+Ge,te.depth=-Ge,te.maxFontSize=Te*1.125*X.sizeMultiplier,te},mathmlBuilder:function(Z,X){var te=di(Z.width,X),pe=di(Z.height,X),Te=Z.shift?di(Z.shift,X):0,Ge=X.color&&X.getColor()||"black",Tt=new On.MathNode("mspace");Tt.setAttribute("mathbackground",Ge),Tt.setAttribute("width",te+"em"),Tt.setAttribute("height",pe+"em");var $t=new On.MathNode("mpadded",[Tt]);return Te>=0?$t.setAttribute("height","+"+Te+"em"):($t.setAttribute("height",Te+"em"),$t.setAttribute("depth","+"+-Te+"em")),$t.setAttribute("voffset",Te+"em"),$t}});function gi(Ve,Z,X){for(var te=ka(Ve,Z,!1),pe=Z.sizeMultiplier/X.sizeMultiplier,Te=0;Te<te.length;Te++){var Ge=te[Te].classes.indexOf("sizing");Ge<0?Array.prototype.push.apply(te[Te].classes,Z.sizingClasses(X)):te[Te].classes[Ge+1]==="reset-size"+Z.size&&(te[Te].classes[Ge+1]="reset-size"+X.size),te[Te].height*=pe,te[Te].depth*=pe}return at.makeFragment(te)}var wi=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Ni=function(Z,X){var te=X.havingSize(Z.size);return gi(Z.body,te,X)};hn({type:"sizing",names:wi,props:{numArgs:0,allowedInText:!0},handler:function(Z,X){var te=Z.breakOnTokenText,pe=Z.funcName,Te=Z.parser,Ge=Te.parseExpression(!1,te);return{type:"sizing",mode:Te.mode,size:wi.indexOf(pe)+1,body:Ge}},htmlBuilder:Ni,mathmlBuilder:function(Z,X){var te=X.havingSize(Z.size),pe=Li(Z.body,te),Te=new On.MathNode("mstyle",pe);return Te.setAttribute("mathsize",te.sizeMultiplier+"em"),Te}}),hn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(Z,X,te){var pe=Z.parser,Te=!1,Ge=!1,Tt=te[0]&&nr(te[0],"ordgroup");if(Tt)for(var $t="",rr=0;rr<Tt.body.length;++rr){var Ar=Tt.body[rr];if($t=Ar.text,$t==="t")Te=!0;else if($t==="b")Ge=!0;else{Te=!1,Ge=!1;break}}else Te=!0,Ge=!0;var zr=X[0];return{type:"smash",mode:pe.mode,body:zr,smashHeight:Te,smashDepth:Ge}},htmlBuilder:function(Z,X){var te=at.makeSpan([],[Bi(Z.body,X)]);if(!Z.smashHeight&&!Z.smashDepth)return te;if(Z.smashHeight&&(te.height=0,te.children))for(var pe=0;pe<te.children.length;pe++)te.children[pe].height=0;if(Z.smashDepth&&(te.depth=0,te.children))for(var Te=0;Te<te.children.length;Te++)te.children[Te].depth=0;var Ge=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te}]},X);return at.makeSpan(["mord"],[Ge],X)},mathmlBuilder:function(Z,X){var te=new On.MathNode("mpadded",[Ca(Z.body,X)]);return Z.smashHeight&&te.setAttribute("height","0px"),Z.smashDepth&&te.setAttribute("depth","0px"),te}}),hn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(Z,X,te){var pe=Z.parser,Te=te[0],Ge=X[0];return{type:"sqrt",mode:pe.mode,body:Ge,index:Te}},htmlBuilder:function(Z,X){var te=Bi(Z.body,X.havingCrampedStyle());te.height===0&&(te.height=X.fontMetrics().xHeight),te=at.wrapFragment(te,X);var pe=X.fontMetrics(),Te=pe.defaultRuleThickness,Ge=Te;X.style.id<F.TEXT.id&&(Ge=X.fontMetrics().xHeight);var Tt=Te+Ge/4,$t=te.height+te.depth+Tt+Te,rr=xn.sqrtImage($t,X),Ar=rr.span,zr=rr.ruleWidth,qr=rr.advanceWidth,En=Ar.height-zr;En>te.height+te.depth+Tt&&(Tt=(Tt+En-te.height-te.depth)/2);var Rn=Ar.height-te.height-Tt-zr;te.style.paddingLeft=qr+"em";var lr=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te,wrapperClasses:["svg-align"]},{type:"kern",size:-(te.height+Rn)},{type:"elem",elem:Ar},{type:"kern",size:zr}]},X);if(Z.index){var Ei=X.havingStyle(F.SCRIPTSCRIPT),ia=Bi(Z.index,Ei,X),aa=.6*(lr.height-lr.depth),Xi=at.makeVList({positionType:"shift",positionData:-aa,children:[{type:"elem",elem:ia}]},X),Ja=at.makeSpan(["root"],[Xi]);return at.makeSpan(["mord","sqrt"],[Ja,lr],X)}else return at.makeSpan(["mord","sqrt"],[lr],X)},mathmlBuilder:function(Z,X){var te=Z.body,pe=Z.index;return pe?new On.MathNode("mroot",[Ca(te,X),Ca(pe,X)]):new On.MathNode("msqrt",[Ca(te,X)])}});var Fi={display:F.DISPLAY,text:F.TEXT,script:F.SCRIPT,scriptscript:F.SCRIPTSCRIPT};hn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(Z,X){var te=Z.breakOnTokenText,pe=Z.funcName,Te=Z.parser,Ge=Te.parseExpression(!0,te),Tt=pe.slice(1,pe.length-5);return{type:"styling",mode:Te.mode,style:Tt,body:Ge}},htmlBuilder:function(Z,X){var te=Fi[Z.style],pe=X.havingStyle(te).withFont("");return gi(Z.body,pe,X)},mathmlBuilder:function(Z,X){var te=Fi[Z.style],pe=X.havingStyle(te),Te=Li(Z.body,pe),Ge=new On.MathNode("mstyle",Te),Tt={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},$t=Tt[Z.style];return Ge.setAttribute("scriptlevel",$t[0]),Ge.setAttribute("displaystyle",$t[1]),Ge}});var yi=function(Z,X){var te=Z.base;if(te)if(te.type==="op"){var pe=te.limits&&(X.style.size===F.DISPLAY.size||te.alwaysHandleSupSub);return pe?jr:null}else if(te.type==="operatorname"){var Te=te.alwaysHandleSupSub&&(X.style.size===F.DISPLAY.size||te.limits);return Te?Wn:null}else{if(te.type==="accent")return P.isCharacterBox(te.base)?Fa:null;if(te.type==="horizBrace"){var Ge=!Z.sub;return Ge===te.isOver?Ye:null}else return null}else return null};ai({type:"supsub",htmlBuilder:function(Z,X){var te=yi(Z,X);if(te)return te(Z,X);var pe=Z.base,Te=Z.sup,Ge=Z.sub,Tt=Bi(pe,X),$t,rr,Ar=X.fontMetrics(),zr=0,qr=0,En=pe&&P.isCharacterBox(pe);if(Te){var Rn=X.havingStyle(X.style.sup());$t=Bi(Te,Rn,X),En||(zr=Tt.height-Rn.fontMetrics().supDrop*Rn.sizeMultiplier/X.sizeMultiplier)}if(Ge){var lr=X.havingStyle(X.style.sub());rr=Bi(Ge,lr,X),En||(qr=Tt.depth+lr.fontMetrics().subDrop*lr.sizeMultiplier/X.sizeMultiplier)}var Ei;X.style===F.DISPLAY?Ei=Ar.sup1:X.style.cramped?Ei=Ar.sup3:Ei=Ar.sup2;var ia=X.sizeMultiplier,aa=.5/Ar.ptPerEm/ia+"em",Xi=null;if(rr){var Ja=Z.base&&Z.base.type==="op"&&Z.base.name&&(Z.base.name==="\\oiint"||Z.base.name==="\\oiiint");(Tt instanceof Pe||Ja)&&(Xi=-Tt.italic+"em")}var ss;if($t&&rr){zr=Math.max(zr,Ei,$t.depth+.25*Ar.xHeight),qr=Math.max(qr,Ar.sub2);var bs=Ar.defaultRuleThickness,es=4*bs;if(zr-$t.depth-(rr.height-qr)<es){qr=es-(zr-$t.depth)+rr.height;var wa=.8*Ar.xHeight-(zr-$t.depth);wa>0&&(zr+=wa,qr-=wa)}var fs=[{type:"elem",elem:rr,shift:qr,marginRight:aa,marginLeft:Xi},{type:"elem",elem:$t,shift:-zr,marginRight:aa}];ss=at.makeVList({positionType:"individualShift",children:fs},X)}else if(rr){qr=Math.max(qr,Ar.sub1,rr.height-.8*Ar.xHeight);var xs=[{type:"elem",elem:rr,marginLeft:Xi,marginRight:aa}];ss=at.makeVList({positionType:"shift",positionData:qr,children:xs},X)}else if($t)zr=Math.max(zr,Ei,$t.depth+.25*Ar.xHeight),ss=at.makeVList({positionType:"shift",positionData:-zr,children:[{type:"elem",elem:$t,marginRight:aa}]},X);else throw new Error("supsub must have either sup or sub.");var _i=Ha(Tt,"right")||"mord";return at.makeSpan([_i],[Tt,at.makeSpan(["msupsub"],[ss])],X)},mathmlBuilder:function(Z,X){var te=!1,pe,Te,Ge=Pr(Z.base,"horizBrace");Ge&&(Te=!!Z.sup,Te===Ge.isOver&&(te=!0,pe=Ge.isOver)),Z.base&&(Z.base.type==="op"||Z.base.type==="operatorname")&&(Z.base.parentIsSupSub=!0);var Tt=[Ca(Z.base,X)];Z.sub&&Tt.push(Ca(Z.sub,X)),Z.sup&&Tt.push(Ca(Z.sup,X));var $t;if(te)$t=pe?"mover":"munder";else if(Z.sub)if(Z.sup){var zr=Z.base;zr&&zr.type==="op"&&zr.limits&&X.style===F.DISPLAY||zr&&zr.type==="operatorname"&&zr.alwaysHandleSupSub&&(X.style===F.DISPLAY||zr.limits)?$t="munderover":$t="msubsup"}else{var Ar=Z.base;Ar&&Ar.type==="op"&&Ar.limits&&(X.style===F.DISPLAY||Ar.alwaysHandleSupSub)||Ar&&Ar.type==="operatorname"&&Ar.alwaysHandleSupSub&&(Ar.limits||X.style===F.DISPLAY)?$t="munder":$t="msub"}else{var rr=Z.base;rr&&rr.type==="op"&&rr.limits&&(X.style===F.DISPLAY||rr.alwaysHandleSupSub)||rr&&rr.type==="operatorname"&&rr.alwaysHandleSupSub&&(rr.limits||X.style===F.DISPLAY)?$t="mover":$t="msup"}var qr=new On.MathNode($t,Tt);return qr}}),ai({type:"atom",htmlBuilder:function(Z,X){return at.mathsym(Z.text,Z.mode,X,["m"+Z.family])},mathmlBuilder:function(Z,X){var te=new On.MathNode("mo",[Ra(Z.text,Z.mode)]);if(Z.family==="bin"){var pe=as(Z,X);pe==="bold-italic"&&te.setAttribute("mathvariant",pe)}else Z.family==="punct"?te.setAttribute("separator","true"):(Z.family==="open"||Z.family==="close")&&te.setAttribute("stretchy","false");return te}});var pa={mi:"italic",mn:"normal",mtext:"normal"};ai({type:"mathord",htmlBuilder:function(Z,X){return at.makeOrd(Z,X,"mathord")},mathmlBuilder:function(Z,X){var te=new On.MathNode("mi",[Ra(Z.text,Z.mode,X)]),pe=as(Z,X)||"italic";return pe!==pa[te.type]&&te.setAttribute("mathvariant",pe),te}}),ai({type:"textord",htmlBuilder:function(Z,X){return at.makeOrd(Z,X,"textord")},mathmlBuilder:function(Z,X){var te=Ra(Z.text,Z.mode,X),pe=as(Z,X)||"normal",Te;return Z.mode==="text"?Te=new On.MathNode("mtext",[te]):/[0-9]/.test(Z.text)?Te=new On.MathNode("mn",[te]):Z.text==="\\prime"?Te=new On.MathNode("mo",[te]):Te=new On.MathNode("mi",[te]),pe!==pa[Te.type]&&Te.setAttribute("mathvariant",pe),Te}});var Pi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},pi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ai({type:"spacing",htmlBuilder:function(Z,X){if(pi.hasOwnProperty(Z.text)){var te=pi[Z.text].className||"";if(Z.mode==="text"){var pe=at.makeOrd(Z,X,"textord");return pe.classes.push(te),pe}else return at.makeSpan(["mspace",te],[at.mathsym(Z.text,Z.mode,X)],X)}else{if(Pi.hasOwnProperty(Z.text))return at.makeSpan(["mspace",Pi[Z.text]],[],X);throw new o('Unknown type of space "'+Z.text+'"')}},mathmlBuilder:function(Z,X){var te;if(pi.hasOwnProperty(Z.text))te=new On.MathNode("mtext",[new On.TextNode("\xA0")]);else{if(Pi.hasOwnProperty(Z.text))return new On.MathNode("mspace");throw new o('Unknown type of space "'+Z.text+'"')}return te}});var ua=function(){var Z=new On.MathNode("mtd",[]);return Z.setAttribute("width","50%"),Z};ai({type:"tag",mathmlBuilder:function(Z,X){var te=new On.MathNode("mtable",[new On.MathNode("mtr",[ua(),new On.MathNode("mtd",[Da(Z.body,X)]),ua(),new On.MathNode("mtd",[Da(Z.tag,X)])])]);return te.setAttribute("width","100%"),te}});var Ys={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},_s={"\\textbf":"textbf","\\textmd":"textmd"},Zi={"\\textit":"textit","\\textup":"textup"},Oa=function(Z,X){var te=Z.font;return te?Ys[te]?X.withTextFontFamily(Ys[te]):_s[te]?X.withTextFontWeight(_s[te]):X.withTextFontShape(Zi[te]):X};hn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(Z,X){var te=Z.parser,pe=Z.funcName,Te=X[0];return{type:"text",mode:te.mode,body:Mi(Te),font:pe}},htmlBuilder:function(Z,X){var te=Oa(Z,X),pe=ka(Z.body,te,!0);return at.makeSpan(["mord","text"],at.tryCombineChars(pe),te)},mathmlBuilder:function(Z,X){var te=Oa(Z,X);return Da(Z.body,te)}}),hn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var te=Z.parser;return{type:"underline",mode:te.mode,body:X[0]}},htmlBuilder:function(Z,X){var te=Bi(Z.body,X),pe=at.makeLineSpan("underline-line",X),Te=X.fontMetrics().defaultRuleThickness,Ge=at.makeVList({positionType:"top",positionData:te.height,children:[{type:"kern",size:Te},{type:"elem",elem:pe},{type:"kern",size:3*Te},{type:"elem",elem:te}]},X);return at.makeSpan(["mord","underline"],[Ge],X)},mathmlBuilder:function(Z,X){var te=new On.MathNode("mo",[new On.TextNode("\u203E")]);te.setAttribute("stretchy","true");var pe=new On.MathNode("munder",[Ca(Z.body,X),te]);return pe.setAttribute("accentunder","true"),pe}}),hn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(Z,X,te){throw new o("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(Z,X){for(var te=qi(Z),pe=[],Te=X.havingStyle(X.style.text()),Ge=0;Ge<te.length;Ge++){var Tt=te[Ge];Tt==="~"&&(Tt="\\textasciitilde"),pe.push(at.makeSymbol(Tt,"Typewriter-Regular",Z.mode,Te,["mord","texttt"]))}return at.makeSpan(["mord","text"].concat(Te.sizingClasses(X)),at.tryCombineChars(pe),Te)},mathmlBuilder:function(Z,X){var te=new On.TextNode(qi(Z)),pe=new On.MathNode("mtext",[te]);return pe.setAttribute("mathvariant","monospace"),pe}});var qi=function(Z){return Z.body.replace(/ /g,Z.star?"\u2423":"\xA0")},Ii=fa,ya=Ii,$a=`[ \r
|
|
|
]`,Va="\\\\[a-zA-Z@]+",io="\\\\[^\uD800-\uDFFF]",Ya=""+Va+$a+"*",co=new RegExp("^("+Va+")"+$a+"*$"),La="[\u0300-\u036F]",Xs=new RegExp(La+"+$"),js="("+$a+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(La+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(La+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Ya)+("|"+io+")"),na=function(){function Ve(X,te){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=X,this.settings=te,this.tokenRegex=new RegExp(js,"g"),this.catcodes={"%":14}}var Z=Ve.prototype;return Z.setCatcode=function(te,pe){this.catcodes[te]=pe},Z.lex=function(){var te=this.input,pe=this.tokenRegex.lastIndex;if(pe===te.length)return new c("EOF",new l(this,pe,pe));var Te=this.tokenRegex.exec(te);if(Te===null||Te.index!==pe)throw new o("Unexpected character: '"+te[pe]+"'",new c(te[pe],new l(this,pe,pe+1)));var Ge=Te[2]||" ";if(this.catcodes[Ge]===14){var Tt=te.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return Tt===-1?(this.tokenRegex.lastIndex=te.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=Tt+1,this.lex()}var $t=Ge.match(co);return $t&&(Ge=$t[1]),new c(Ge,new l(this,pe,this.tokenRegex.lastIndex))},Ve}(),ja=function(){function Ve(X,te){X===void 0&&(X={}),te===void 0&&(te={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=te,this.builtins=X,this.undefStack=[]}var Z=Ve.prototype;return Z.beginGroup=function(){this.undefStack.push({})},Z.endGroup=function(){if(this.undefStack.length===0)throw new o("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var te=this.undefStack.pop();for(var pe in te)te.hasOwnProperty(pe)&&(te[pe]===void 0?delete this.current[pe]:this.current[pe]=te[pe])},Z.has=function(te){return this.current.hasOwnProperty(te)||this.builtins.hasOwnProperty(te)},Z.get=function(te){return this.current.hasOwnProperty(te)?this.current[te]:this.builtins[te]},Z.set=function(te,pe,Te){if(Te===void 0&&(Te=!1),Te){for(var Ge=0;Ge<this.undefStack.length;Ge++)delete this.undefStack[Ge][te];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][te]=pe)}else{var Tt=this.undefStack[this.undefStack.length-1];Tt&&!Tt.hasOwnProperty(te)&&(Tt[te]=this.current[te])}this.current[te]=pe},Ve}(),ys={},Hi=ys;function be(Ve,Z){ys[Ve]=Z}be("\\@firstoftwo",function(Ve){var Z=Ve.consumeArgs(2);return{tokens:Z[0],numArgs:0}}),be("\\@secondoftwo",function(Ve){var Z=Ve.consumeArgs(2);return{tokens:Z[1],numArgs:0}}),be("\\@ifnextchar",function(Ve){var Z=Ve.consumeArgs(3),X=Ve.future();return Z[0].length===1&&Z[0][0].text===X.text?{tokens:Z[1],numArgs:0}:{tokens:Z[2],numArgs:0}}),be("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),be("\\TextOrMath",function(Ve){var Z=Ve.consumeArgs(2);return Ve.mode==="text"?{tokens:Z[0],numArgs:0}:{tokens:Z[1],numArgs:0}});var Ce={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};be("\\char",function(Ve){var Z=Ve.popToken(),X,te="";if(Z.text==="'")X=8,Z=Ve.popToken();else if(Z.text==='"')X=16,Z=Ve.popToken();else if(Z.text==="`")if(Z=Ve.popToken(),Z.text[0]==="\\")te=Z.text.charCodeAt(1);else{if(Z.text==="EOF")throw new o("\\char` missing argument");te=Z.text.charCodeAt(0)}else X=10;if(X){if(te=Ce[Z.text],te==null||te>=X)throw new o("Invalid base-"+X+" digit "+Z.text);for(var pe;(pe=Ce[Ve.future().text])!=null&&pe<X;)te*=X,te+=pe,Ve.popToken()}return"\\@char{"+te+"}"});var wr=function(Z,X){var te=Z.consumeArgs(1)[0];if(te.length!==1)throw new o("\\gdef's first argument must be a macro name");var pe=te[0].text,Te=0;for(te=Z.consumeArgs(1)[0];te.length===1&&te[0].text==="#";){if(te=Z.consumeArgs(1)[0],te.length!==1)throw new o('Invalid argument number length "'+te.length+'"');if(!/^[1-9]$/.test(te[0].text))throw new o('Invalid argument number "'+te[0].text+'"');if(Te++,parseInt(te[0].text)!==Te)throw new o('Argument number "'+te[0].text+'" out of order');te=Z.consumeArgs(1)[0]}return Z.macros.set(pe,{tokens:te,numArgs:Te},X),""};be("\\gdef",function(Ve){return wr(Ve,!0)}),be("\\def",function(Ve){return wr(Ve,!1)}),be("\\global",function(Ve){var Z=Ve.consumeArgs(1)[0];if(Z.length!==1)throw new o("Invalid command after \\global");var X=Z[0].text;if(X==="\\def")return wr(Ve,!0);throw new o("Invalid command '"+X+"' after \\global")});var Qr=function(Z,X,te){var pe=Z.consumeArgs(1)[0];if(pe.length!==1)throw new o("\\newcommand's first argument must be a macro name");var Te=pe[0].text,Ge=Z.isDefined(Te);if(Ge&&!X)throw new o("\\newcommand{"+Te+"} attempting to redefine "+(Te+"; use \\renewcommand"));if(!Ge&&!te)throw new o("\\renewcommand{"+Te+"} when command "+Te+" does not yet exist; use \\newcommand");var Tt=0;if(pe=Z.consumeArgs(1)[0],pe.length===1&&pe[0].text==="["){for(var $t="",rr=Z.expandNextToken();rr.text!=="]"&&rr.text!=="EOF";)$t+=rr.text,rr=Z.expandNextToken();if(!$t.match(/^\s*[0-9]+\s*$/))throw new o("Invalid number of arguments: "+$t);Tt=parseInt($t),pe=Z.consumeArgs(1)[0]}return Z.macros.set(Te,{tokens:pe,numArgs:Tt}),""};be("\\newcommand",function(Ve){return Qr(Ve,!1,!0)}),be("\\renewcommand",function(Ve){return Qr(Ve,!0,!1)}),be("\\providecommand",function(Ve){return Qr(Ve,!0,!0)}),be("\\bgroup","{"),be("\\egroup","}"),be("\\lq","`"),be("\\rq","'"),be("\\aa","\\r a"),be("\\AA","\\r A"),be("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),be("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),be("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),be("\u212C","\\mathscr{B}"),be("\u2130","\\mathscr{E}"),be("\u2131","\\mathscr{F}"),be("\u210B","\\mathscr{H}"),be("\u2110","\\mathscr{I}"),be("\u2112","\\mathscr{L}"),be("\u2133","\\mathscr{M}"),be("\u211B","\\mathscr{R}"),be("\u212D","\\mathfrak{C}"),be("\u210C","\\mathfrak{H}"),be("\u2128","\\mathfrak{Z}"),be("\\Bbbk","\\Bbb{k}"),be("\xB7","\\cdotp"),be("\\llap","\\mathllap{\\textrm{#1}}"),be("\\rlap","\\mathrlap{\\textrm{#1}}"),be("\\clap","\\mathclap{\\textrm{#1}}"),be("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),be("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),be("\\ne","\\neq"),be("\u2260","\\neq"),be("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),be("\u2209","\\notin"),be("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),be("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),be("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),be("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),be("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),be("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),be("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),be("\u27C2","\\perp"),be("\u203C","\\mathclose{!\\mkern-0.8mu!}"),be("\u220C","\\notni"),be("\u231C","\\ulcorner"),be("\u231D","\\urcorner"),be("\u231E","\\llcorner"),be("\u231F","\\lrcorner"),be("\xA9","\\copyright"),be("\xAE","\\textregistered"),be("\uFE0F","\\textregistered"),be("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),be("\u22EE","\\vdots"),be("\\varGamma","\\mathit{\\Gamma}"),be("\\varDelta","\\mathit{\\Delta}"),be("\\varTheta","\\mathit{\\Theta}"),be("\\varLambda","\\mathit{\\Lambda}"),be("\\varXi","\\mathit{\\Xi}"),be("\\varPi","\\mathit{\\Pi}"),be("\\varSigma","\\mathit{\\Sigma}"),be("\\varUpsilon","\\mathit{\\Upsilon}"),be("\\varPhi","\\mathit{\\Phi}"),be("\\varPsi","\\mathit{\\Psi}"),be("\\varOmega","\\mathit{\\Omega}"),be("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),be("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),be("\\boxed","\\fbox{$\\displaystyle{#1}$}"),be("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),be("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),be("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var gr={",":"\\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"};be("\\dots",function(Ve){var Z="\\dotso",X=Ve.expandAfterFuture().text;return X in gr?Z=gr[X]:(X.substr(0,4)==="\\not"||X in We.math&&P.contains(["bin","rel"],We.math[X].group))&&(Z="\\dotsb"),Z});var Yr={")":!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};be("\\dotso",function(Ve){var Z=Ve.future().text;return Z in Yr?"\\ldots\\,":"\\ldots"}),be("\\dotsc",function(Ve){var Z=Ve.future().text;return Z in Yr&&Z!==","?"\\ldots\\,":"\\ldots"}),be("\\cdots",function(Ve){var Z=Ve.future().text;return Z in Yr?"\\@cdots\\,":"\\@cdots"}),be("\\dotsb","\\cdots"),be("\\dotsm","\\cdots"),be("\\dotsi","\\!\\cdots"),be("\\dotsx","\\ldots\\,"),be("\\DOTSI","\\relax"),be("\\DOTSB","\\relax"),be("\\DOTSX","\\relax"),be("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),be("\\,","\\tmspace+{3mu}{.1667em}"),be("\\thinspace","\\,"),be("\\>","\\mskip{4mu}"),be("\\:","\\tmspace+{4mu}{.2222em}"),be("\\medspace","\\:"),be("\\;","\\tmspace+{5mu}{.2777em}"),be("\\thickspace","\\;"),be("\\!","\\tmspace-{3mu}{.1667em}"),be("\\negthinspace","\\!"),be("\\negmedspace","\\tmspace-{4mu}{.2222em}"),be("\\negthickspace","\\tmspace-{5mu}{.277em}"),be("\\enspace","\\kern.5em "),be("\\enskip","\\hskip.5em\\relax"),be("\\quad","\\hskip1em\\relax"),be("\\qquad","\\hskip2em\\relax"),be("\\tag","\\@ifstar\\tag@literal\\tag@paren"),be("\\tag@paren","\\tag@literal{({#1})}"),be("\\tag@literal",function(Ve){if(Ve.macros.get("\\df@tag"))throw new o("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),be("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),be("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),be("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),be("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),be("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),be("\\\\","\\newline"),be("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Sn=Gt["Main-Regular"][84][1]-.7*Gt["Main-Regular"][65][1]+"em";be("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Sn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),be("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Sn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),be("\\hspace","\\@ifstar\\@hspacer\\@hspace"),be("\\@hspace","\\hskip #1\\relax"),be("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),be("\\ordinarycolon",":"),be("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),be("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),be("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),be("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),be("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),be("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),be("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),be("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),be("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),be("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),be("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),be("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),be("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),be("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),be("\u2237","\\dblcolon"),be("\u2239","\\eqcolon"),be("\u2254","\\coloneqq"),be("\u2255","\\eqqcolon"),be("\u2A74","\\Coloneqq"),be("\\ratio","\\vcentcolon"),be("\\coloncolon","\\dblcolon"),be("\\colonequals","\\coloneqq"),be("\\coloncolonequals","\\Coloneqq"),be("\\equalscolon","\\eqqcolon"),be("\\equalscoloncolon","\\Eqqcolon"),be("\\colonminus","\\coloneq"),be("\\coloncolonminus","\\Coloneq"),be("\\minuscolon","\\eqcolon"),be("\\minuscoloncolon","\\Eqcolon"),be("\\coloncolonapprox","\\Colonapprox"),be("\\coloncolonsim","\\Colonsim"),be("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),be("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),be("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),be("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),be("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),be("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),be("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),be("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),be("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),be("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),be("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),be("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),be("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),be("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),be("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),be("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),be("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),be("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),be("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),be("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),be("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),be("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),be("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),be("\u27E6","\\llbracket"),be("\u27E7","\\rrbracket"),be("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),be("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),be("\u2983","\\lBrace"),be("\u2984","\\rBrace"),be("\\darr","\\downarrow"),be("\\dArr","\\Downarrow"),be("\\Darr","\\Downarrow"),be("\\lang","\\langle"),be("\\rang","\\rangle"),be("\\uarr","\\uparrow"),be("\\uArr","\\Uparrow"),be("\\Uarr","\\Uparrow"),be("\\N","\\mathbb{N}"),be("\\R","\\mathbb{R}"),be("\\Z","\\mathbb{Z}"),be("\\alef","\\aleph"),be("\\alefsym","\\aleph"),be("\\Alpha","\\mathrm{A}"),be("\\Beta","\\mathrm{B}"),be("\\bull","\\bullet"),be("\\Chi","\\mathrm{X}"),be("\\clubs","\\clubsuit"),be("\\cnums","\\mathbb{C}"),be("\\Complex","\\mathbb{C}"),be("\\Dagger","\\ddagger"),be("\\diamonds","\\diamondsuit"),be("\\empty","\\emptyset"),be("\\Epsilon","\\mathrm{E}"),be("\\Eta","\\mathrm{H}"),be("\\exist","\\exists"),be("\\harr","\\leftrightarrow"),be("\\hArr","\\Leftrightarrow"),be("\\Harr","\\Leftrightarrow"),be("\\hearts","\\heartsuit"),be("\\image","\\Im"),be("\\infin","\\infty"),be("\\Iota","\\mathrm{I}"),be("\\isin","\\in"),be("\\Kappa","\\mathrm{K}"),be("\\larr","\\leftarrow"),be("\\lArr","\\Leftarrow"),be("\\Larr","\\Leftarrow"),be("\\lrarr","\\leftrightarrow"),be("\\lrArr","\\Leftrightarrow"),be("\\Lrarr","\\Leftrightarrow"),be("\\Mu","\\mathrm{M}"),be("\\natnums","\\mathbb{N}"),be("\\Nu","\\mathrm{N}"),be("\\Omicron","\\mathrm{O}"),be("\\plusmn","\\pm"),be("\\rarr","\\rightarrow"),be("\\rArr","\\Rightarrow"),be("\\Rarr","\\Rightarrow"),be("\\real","\\Re"),be("\\reals","\\mathbb{R}"),be("\\Reals","\\mathbb{R}"),be("\\Rho","\\mathrm{P}"),be("\\sdot","\\cdot"),be("\\sect","\\S"),be("\\spades","\\spadesuit"),be("\\sub","\\subset"),be("\\sube","\\subseteq"),be("\\supe","\\supseteq"),be("\\Tau","\\mathrm{T}"),be("\\thetasym","\\vartheta"),be("\\weierp","\\wp"),be("\\Zeta","\\mathrm{Z}"),be("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),be("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),be("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),be("\\blue","\\textcolor{##6495ed}{#1}"),be("\\orange","\\textcolor{##ffa500}{#1}"),be("\\pink","\\textcolor{##ff00af}{#1}"),be("\\red","\\textcolor{##df0030}{#1}"),be("\\green","\\textcolor{##28ae7b}{#1}"),be("\\gray","\\textcolor{gray}{#1}"),be("\\purple","\\textcolor{##9d38bd}{#1}"),be("\\blueA","\\textcolor{##ccfaff}{#1}"),be("\\blueB","\\textcolor{##80f6ff}{#1}"),be("\\blueC","\\textcolor{##63d9ea}{#1}"),be("\\blueD","\\textcolor{##11accd}{#1}"),be("\\blueE","\\textcolor{##0c7f99}{#1}"),be("\\tealA","\\textcolor{##94fff5}{#1}"),be("\\tealB","\\textcolor{##26edd5}{#1}"),be("\\tealC","\\textcolor{##01d1c1}{#1}"),be("\\tealD","\\textcolor{##01a995}{#1}"),be("\\tealE","\\textcolor{##208170}{#1}"),be("\\greenA","\\textcolor{##b6ffb0}{#1}"),be("\\greenB","\\textcolor{##8af281}{#1}"),be("\\greenC","\\textcolor{##74cf70}{#1}"),be("\\greenD","\\textcolor{##1fab54}{#1}"),be("\\greenE","\\textcolor{##0d923f}{#1}"),be("\\goldA","\\textcolor{##ffd0a9}{#1}"),be("\\goldB","\\textcolor{##ffbb71}{#1}"),be("\\goldC","\\textcolor{##ff9c39}{#1}"),be("\\goldD","\\textcolor{##e07d10}{#1}"),be("\\goldE","\\textcolor{##a75a05}{#1}"),be("\\redA","\\textcolor{##fca9a9}{#1}"),be("\\redB","\\textcolor{##ff8482}{#1}"),be("\\redC","\\textcolor{##f9685d}{#1}"),be("\\redD","\\textcolor{##e84d39}{#1}"),be("\\redE","\\textcolor{##bc2612}{#1}"),be("\\maroonA","\\textcolor{##ffbde0}{#1}"),be("\\maroonB","\\textcolor{##ff92c6}{#1}"),be("\\maroonC","\\textcolor{##ed5fa6}{#1}"),be("\\maroonD","\\textcolor{##ca337c}{#1}"),be("\\maroonE","\\textcolor{##9e034e}{#1}"),be("\\purpleA","\\textcolor{##ddd7ff}{#1}"),be("\\purpleB","\\textcolor{##c6b9fc}{#1}"),be("\\purpleC","\\textcolor{##aa87ff}{#1}"),be("\\purpleD","\\textcolor{##7854ab}{#1}"),be("\\purpleE","\\textcolor{##543b78}{#1}"),be("\\mintA","\\textcolor{##f5f9e8}{#1}"),be("\\mintB","\\textcolor{##edf2df}{#1}"),be("\\mintC","\\textcolor{##e0e5cc}{#1}"),be("\\grayA","\\textcolor{##f6f7f7}{#1}"),be("\\grayB","\\textcolor{##f0f1f2}{#1}"),be("\\grayC","\\textcolor{##e3e5e6}{#1}"),be("\\grayD","\\textcolor{##d6d8da}{#1}"),be("\\grayE","\\textcolor{##babec2}{#1}"),be("\\grayF","\\textcolor{##888d93}{#1}"),be("\\grayG","\\textcolor{##626569}{#1}"),be("\\grayH","\\textcolor{##3b3e40}{#1}"),be("\\grayI","\\textcolor{##21242c}{#1}"),be("\\kaBlue","\\textcolor{##314453}{#1}"),be("\\kaGreen","\\textcolor{##71B307}{#1}");var ei={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Oi=function(){function Ve(X,te,pe){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=te,this.expansionCount=0,this.feed(X),this.macros=new ja(Hi,te.macros),this.mode=pe,this.stack=[]}var Z=Ve.prototype;return Z.feed=function(te){this.lexer=new na(te,this.settings)},Z.switchMode=function(te){this.mode=te},Z.beginGroup=function(){this.macros.beginGroup()},Z.endGroup=function(){this.macros.endGroup()},Z.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},Z.popToken=function(){return this.future(),this.stack.pop()},Z.pushToken=function(te){this.stack.push(te)},Z.pushTokens=function(te){var pe;(pe=this.stack).push.apply(pe,te)},Z.consumeSpaces=function(){for(;;){var te=this.future();if(te.text===" ")this.stack.pop();else break}},Z.consumeArgs=function(te){for(var pe=[],Te=0;Te<te;++Te){this.consumeSpaces();var Ge=this.popToken();if(Ge.text==="{"){for(var Tt=[],$t=1;$t!==0;){var rr=this.popToken();if(Tt.push(rr),rr.text==="{")++$t;else if(rr.text==="}")--$t;else if(rr.text==="EOF")throw new o("End of input in macro argument",Ge)}Tt.pop(),Tt.reverse(),pe[Te]=Tt}else{if(Ge.text==="EOF")throw new o("End of input expecting macro argument");pe[Te]=[Ge]}}return pe},Z.expandOnce=function(){var te=this.popToken(),pe=te.text,Te=this._getExpansion(pe);if(Te==null)return this.pushToken(te),te;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new o("Too many expansions: infinite loop or need to increase maxExpand setting");var Ge=Te.tokens;if(Te.numArgs){var Tt=this.consumeArgs(Te.numArgs);Ge=Ge.slice();for(var $t=Ge.length-1;$t>=0;--$t){var rr=Ge[$t];if(rr.text==="#"){if($t===0)throw new o("Incomplete placeholder at end of macro body",rr);if(rr=Ge[--$t],rr.text==="#")Ge.splice($t+1,1);else if(/^[1-9]$/.test(rr.text)){var Ar;(Ar=Ge).splice.apply(Ar,[$t,2].concat(Tt[+rr.text-1]))}else throw new o("Not a valid argument number",rr)}}}return this.pushTokens(Ge),Ge},Z.expandAfterFuture=function(){return this.expandOnce(),this.future()},Z.expandNextToken=function(){for(;;){var te=this.expandOnce();if(te instanceof c)if(te.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},Z.expandMacro=function(te){if(this.macros.get(te)){var pe=[],Te=this.stack.length;for(this.pushToken(new c(te));this.stack.length>Te;){var Ge=this.expandOnce();Ge instanceof c&&pe.push(this.stack.pop())}return pe}},Z.expandMacroAsText=function(te){var pe=this.expandMacro(te);return pe&&pe.map(function(Te){return Te.text}).join("")},Z._getExpansion=function(te){var pe=this.macros.get(te);if(pe==null)return pe;var Te=typeof pe=="function"?pe(this):pe;if(typeof Te=="string"){var Ge=0;if(Te.indexOf("#")!==-1)for(var Tt=Te.replace(/##/g,"");Tt.indexOf("#"+(Ge+1))!==-1;)++Ge;for(var $t=new na(Te,this.settings),rr=[],Ar=$t.lex();Ar.text!=="EOF";)rr.push(Ar),Ar=$t.lex();rr.reverse();var zr={tokens:rr,numArgs:Ge};return zr}return Te},Z.isDefined=function(te){return this.macros.has(te)||ya.hasOwnProperty(te)||We.math.hasOwnProperty(te)||We.text.hasOwnProperty(te)||ei.hasOwnProperty(te)},Ve}(),In={"\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"}},Tn={\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"},Fn=function(){function Ve(X,te){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 Oi(X,te,this.mode),this.settings=te,this.leftrightDepth=0}var Z=Ve.prototype;return Z.expect=function(te,pe){if(pe===void 0&&(pe=!0),this.fetch().text!==te)throw new o("Expected '"+te+"', got '"+this.fetch().text+"'",this.fetch());pe&&this.consume()},Z.consume=function(){this.nextToken=null},Z.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},Z.switchMode=function(te){this.mode=te,this.gullet.switchMode(te)},Z.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var te=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),te},Z.parseExpression=function(te,pe){for(var Te=[];;){this.mode==="math"&&this.consumeSpaces();var Ge=this.fetch();if(Ve.endOfExpression.indexOf(Ge.text)!==-1||pe&&Ge.text===pe||te&&ya[Ge.text]&&ya[Ge.text].infix)break;var Tt=this.parseAtom(pe);if(!Tt)break;Te.push(Tt)}return this.mode==="text"&&this.formLigatures(Te),this.handleInfixNodes(Te)},Z.handleInfixNodes=function(te){for(var pe=-1,Te,Ge=0;Ge<te.length;Ge++){var Tt=Pr(te[Ge],"infix");if(Tt){if(pe!==-1)throw new o("only one infix operator per group",Tt.token);pe=Ge,Te=Tt.replaceWith}}if(pe!==-1&&Te){var $t,rr,Ar=te.slice(0,pe),zr=te.slice(pe+1);Ar.length===1&&Ar[0].type==="ordgroup"?$t=Ar[0]:$t={type:"ordgroup",mode:this.mode,body:Ar},zr.length===1&&zr[0].type==="ordgroup"?rr=zr[0]:rr={type:"ordgroup",mode:this.mode,body:zr};var qr;return Te==="\\\\abovefrac"?qr=this.callFunction(Te,[$t,te[pe],rr],[]):qr=this.callFunction(Te,[$t,rr],[]),[qr]}else return te},Z.handleSupSubscript=function(te){var pe=this.fetch(),Te=pe.text;this.consume();var Ge=this.parseGroup(te,!1,Ve.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ge)throw new o("Expected group after '"+Te+"'",pe);return Ge},Z.formatUnsupportedCmd=function(te){for(var pe=[],Te=0;Te<te.length;Te++)pe.push({type:"textord",mode:"text",text:te[Te]});var Ge={type:"text",mode:this.mode,body:pe},Tt={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ge]};return Tt},Z.parseAtom=function(te){var pe=this.parseGroup("atom",!1,null,te);if(this.mode==="text")return pe;for(var Te,Ge;;){this.consumeSpaces();var Tt=this.fetch();if(Tt.text==="\\limits"||Tt.text==="\\nolimits"){var $t=Pr(pe,"op");if($t){var rr=Tt.text==="\\limits";$t.limits=rr,$t.alwaysHandleSupSub=!0}else if($t=Pr(pe,"operatorname"),$t&&$t.alwaysHandleSupSub){var Ar=Tt.text==="\\limits";$t.limits=Ar}else throw new o("Limit controls must follow a math operator",Tt);this.consume()}else if(Tt.text==="^"){if(Te)throw new o("Double superscript",Tt);Te=this.handleSupSubscript("superscript")}else if(Tt.text==="_"){if(Ge)throw new o("Double subscript",Tt);Ge=this.handleSupSubscript("subscript")}else if(Tt.text==="'"){if(Te)throw new o("Double superscript",Tt);var zr={type:"textord",mode:this.mode,text:"\\prime"},qr=[zr];for(this.consume();this.fetch().text==="'";)qr.push(zr),this.consume();this.fetch().text==="^"&&qr.push(this.handleSupSubscript("superscript")),Te={type:"ordgroup",mode:this.mode,body:qr}}else break}return Te||Ge?{type:"supsub",mode:this.mode,base:pe,sup:Te,sub:Ge}:pe},Z.parseFunction=function(te,pe,Te){var Ge=this.fetch(),Tt=Ge.text,$t=ya[Tt];if(!$t)return null;if(this.consume(),Te!=null&&$t.greediness<=Te)throw new o("Got function '"+Tt+"' with no arguments"+(pe?" as "+pe:""),Ge);if(this.mode==="text"&&!$t.allowedInText)throw new o("Can't use function '"+Tt+"' in text mode",Ge);if(this.mode==="math"&&$t.allowedInMath===!1)throw new o("Can't use function '"+Tt+"' in math mode",Ge);var rr=this.parseArguments(Tt,$t),Ar=rr.args,zr=rr.optArgs;return this.callFunction(Tt,Ar,zr,Ge,te)},Z.callFunction=function(te,pe,Te,Ge,Tt){var $t={funcName:te,parser:this,token:Ge,breakOnTokenText:Tt},rr=ya[te];if(rr&&rr.handler)return rr.handler($t,pe,Te);throw new o("No function handler for "+te)},Z.parseArguments=function(te,pe){var Te=pe.numArgs+pe.numOptionalArgs;if(Te===0)return{args:[],optArgs:[]};for(var Ge=pe.greediness,Tt=[],$t=[],rr=0;rr<Te;rr++){var Ar=pe.argTypes&&pe.argTypes[rr],zr=rr<pe.numOptionalArgs,qr=rr>0&&!zr||rr===0&&!zr&&this.mode==="math",En=this.parseGroupOfType("argument to '"+te+"'",Ar,zr,Ge,qr);if(!En){if(zr){$t.push(null);continue}throw new o("Expected group after '"+te+"'",this.fetch())}(zr?$t:Tt).push(En)}return{args:Tt,optArgs:$t}},Z.parseGroupOfType=function(te,pe,Te,Ge,Tt){switch(pe){case"color":return Tt&&this.consumeSpaces(),this.parseColorGroup(Te);case"size":return Tt&&this.consumeSpaces(),this.parseSizeGroup(Te);case"url":return this.parseUrlGroup(Te,Tt);case"math":case"text":return this.parseGroup(te,Te,Ge,void 0,pe,Tt);case"hbox":{var $t=this.parseGroup(te,Te,Ge,void 0,"text",Tt);if(!$t)return $t;var rr={type:"styling",mode:$t.mode,body:[$t],style:"text"};return rr}case"raw":{if(Tt&&this.consumeSpaces(),Te&&this.fetch().text==="{")return null;var Ar=this.parseStringGroup("raw",Te,!0);if(Ar)return{type:"raw",mode:"text",string:Ar.text};throw new o("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(te,Te,Ge,void 0,void 0,Tt);default:throw new o("Unknown group type as "+te,this.fetch())}},Z.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},Z.parseStringGroup=function(te,pe,Te){var Ge=pe?"[":"{",Tt=pe?"]":"}",$t=this.fetch();if($t.text!==Ge){if(pe)return null;if(Te&&$t.text!=="EOF"&&/[^{}[\]]/.test($t.text))return this.consume(),$t}var rr=this.mode;this.mode="text",this.expect(Ge);for(var Ar="",zr=this.fetch(),qr=0,En=zr,Rn;(Rn=this.fetch()).text!==Tt||Te&&qr>0;){switch(Rn.text){case"EOF":throw new o("Unexpected end of input in "+te,zr.range(En,Ar));case Ge:qr++;break;case Tt:qr--;break}En=Rn,Ar+=En.text,this.consume()}return this.expect(Tt),this.mode=rr,zr.range(En,Ar)},Z.parseRegexGroup=function(te,pe){var Te=this.mode;this.mode="text";for(var Ge=this.fetch(),Tt=Ge,$t="",rr;(rr=this.fetch()).text!=="EOF"&&te.test($t+rr.text);)Tt=rr,$t+=Tt.text,this.consume();if($t==="")throw new o("Invalid "+pe+": '"+Ge.text+"'",Ge);return this.mode=Te,Ge.range(Tt,$t)},Z.parseColorGroup=function(te){var pe=this.parseStringGroup("color",te);if(!pe)return null;var Te=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(pe.text);if(!Te)throw new o("Invalid color: '"+pe.text+"'",pe);var Ge=Te[0];return/^[0-9a-f]{6}$/i.test(Ge)&&(Ge="#"+Ge),{type:"color-token",mode:this.mode,color:Ge}},Z.parseSizeGroup=function(te){var pe,Te=!1;if(!te&&this.fetch().text!=="{"?pe=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):pe=this.parseStringGroup("size",te),!pe)return null;!te&&pe.text.length===0&&(pe.text="0pt",Te=!0);var Ge=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(pe.text);if(!Ge)throw new o("Invalid size: '"+pe.text+"'",pe);var Tt={number:+(Ge[1]+Ge[2]),unit:Ge[3]};if(!vi(Tt))throw new o("Invalid unit: '"+Tt.unit+"'",pe);return{type:"size",mode:this.mode,value:Tt,isBlank:Te}},Z.parseUrlGroup=function(te,pe){this.gullet.lexer.setCatcode("%",13);var Te=this.parseStringGroup("url",te,!0);if(this.gullet.lexer.setCatcode("%",14),!Te)return null;var Ge=Te.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ge}},Z.parseGroup=function(te,pe,Te,Ge,Tt,$t){var rr=this.mode;Tt&&this.switchMode(Tt),$t&&this.consumeSpaces();var Ar=this.fetch(),zr=Ar.text,qr;if(pe?zr==="[":zr==="{"||zr==="\\begingroup"){this.consume();var En=Ve.endOfGroup[zr];this.gullet.beginGroup();var Rn=this.parseExpression(!1,En),lr=this.fetch();this.expect(En),this.gullet.endGroup(),qr={type:"ordgroup",mode:this.mode,loc:l.range(Ar,lr),body:Rn,semisimple:zr==="\\begingroup"||void 0}}else if(pe)qr=null;else if(qr=this.parseFunction(Ge,te,Te)||this.parseSymbol(),qr==null&&zr[0]==="\\"&&!ei.hasOwnProperty(zr)){if(this.settings.throwOnError)throw new o("Undefined control sequence: "+zr,Ar);qr=this.formatUnsupportedCmd(zr),this.consume()}return Tt&&this.switchMode(rr),qr},Z.formLigatures=function(te){for(var pe=te.length-1,Te=0;Te<pe;++Te){var Ge=te[Te],Tt=Ge.text;Tt==="-"&&te[Te+1].text==="-"&&(Te+1<pe&&te[Te+2].text==="-"?(te.splice(Te,3,{type:"textord",mode:"text",loc:l.range(Ge,te[Te+2]),text:"---"}),pe-=2):(te.splice(Te,2,{type:"textord",mode:"text",loc:l.range(Ge,te[Te+1]),text:"--"}),pe-=1)),(Tt==="'"||Tt==="`")&&te[Te+1].text===Tt&&(te.splice(Te,2,{type:"textord",mode:"text",loc:l.range(Ge,te[Te+1]),text:Tt+Tt}),pe-=1)}},Z.parseSymbol=function(){var te=this.fetch(),pe=te.text;if(/^\\verb[^a-zA-Z]/.test(pe)){this.consume();var Te=pe.slice(5),Ge=Te.charAt(0)==="*";if(Ge&&(Te=Te.slice(1)),Te.length<2||Te.charAt(0)!==Te.slice(-1))throw new o(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return Te=Te.slice(1,-1),{type:"verb",mode:"text",body:Te,star:Ge}}Tn.hasOwnProperty(pe[0])&&!We[this.mode][pe[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+pe[0]+'" used in math mode',te),pe=Tn[pe[0]]+pe.substr(1));var Tt=Xs.exec(pe);Tt&&(pe=pe.substring(0,Tt.index),pe==="i"?pe="\u0131":pe==="j"&&(pe="\u0237"));var $t;if(We[this.mode][pe]){this.settings.strict&&this.mode==="math"&&ut.indexOf(pe)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+pe[0]+'" used in math mode',te);var rr=We[this.mode][pe].group,Ar=l.range(te),zr;if(Bt.hasOwnProperty(rr)){var qr=rr;zr={type:"atom",mode:this.mode,family:qr,loc:Ar,text:pe}}else zr={type:rr,mode:this.mode,loc:Ar,text:pe};$t=zr}else if(pe.charCodeAt(0)>=128)this.settings.strict&&(Se(pe.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+pe[0]+'" used in math mode',te):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+pe[0]+'"'+(" ("+pe.charCodeAt(0)+")"),te)),$t={type:"textord",mode:"text",loc:l.range(te),text:pe};else return null;if(this.consume(),Tt)for(var En=0;En<Tt[0].length;En++){var Rn=Tt[0][En];if(!In[Rn])throw new o("Unknown accent ' "+Rn+"'",te);var lr=In[Rn][this.mode];if(!lr)throw new o("Accent "+Rn+" unsupported in "+this.mode+" mode",te);$t={type:"accent",mode:this.mode,loc:l.range(te),label:lr,isStretchy:!1,isShifty:!0,base:$t}}return $t},Ve}();Fn.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Fn.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Fn.SUPSUB_GREEDINESS=1;var la=function(Z,X){if(!(typeof Z=="string"||Z instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var te=new Fn(Z,X);delete te.gullet.macros.current["\\df@tag"];var pe=te.parse();if(te.gullet.macros.get("\\df@tag")){if(!X.displayMode)throw new o("\\tag works only in display equations");te.gullet.feed("\\df@tag"),pe=[{type:"tag",mode:"text",body:pe,tag:te.parse()}]}return pe},$i=la,po=function(Z,X,te){X.textContent="";var pe=Ku(Z,te).toNode();X.appendChild(pe)};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."),po=function(){throw new o("KaTeX doesn't work in quirks mode.")});var Qs=function(Z,X){var te=Ku(Z,X).toMarkup();return te},tu=function(Z,X){var te=new D(X);return $i(Z,te)},tl=function(Z,X,te){if(te.throwOnError||!(Z instanceof o))throw Z;var pe=at.makeSpan(["katex-error"],[new Pe(X)]);return pe.setAttribute("title",Z.toString()),pe.setAttribute("style","color:"+te.errorColor),pe},Ku=function(Z,X){var te=new D(X);try{var pe=$i(Z,te);return Co(pe,Z,te)}catch(Te){return tl(Te,Z,te)}},Tu=function(Z,X){var te=new D(X);try{var pe=$i(Z,te);return To(pe,Z,te)}catch(Te){return tl(Te,Z,te)}},zc={version:"0.11.1",render:po,renderToString:Qs,ParseError:o,__parse:tu,__renderToDomTree:Ku,__renderToHTMLTree:Tu,__setFontMetrics:Je,__defineSymbol:fe,__defineMacro:be,__domTree:{Span:ht,Anchor:et,SymbolNode:Pe,SvgNode:Me,PathNode:$e,LineNode:He}},pu=e.default=zc}]).default})},76414:function(d,g,e){var r=e(64696),i=e(16824),l=e(23476),c=e(63122),f=e(37279);function o(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])}}o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=l,o.prototype.has=c,o.prototype.set=f,d.exports=o},99746:function(d,g,e){var r=e(34251),i=e(24968),l=e(28290),c=e(88068),f=e(54238);function o(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])}}o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=l,o.prototype.has=c,o.prototype.set=f,d.exports=o},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 o(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])}}o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=l,o.prototype.has=c,o.prototype.set=f,d.exports=o},91866:function(d,g,e){var r=e(99746),i=e(31119),l=e(64399),c=e(81897),f=e(90558),o=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=o,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),o=e(18397),h=Object.prototype,u=h.hasOwnProperty;function a(x,p){var y=l(x),_=!y&&i(x),b=!y&&!_&&c(x),A=!y&&!_&&!b&&o(x),R=y||_||b||A,L=R?r(x.length,String):[],P=L.length;for(var D in x)(p||u.call(x,D))&&!(R&&(D=="length"||b&&(D=="offset"||D=="parent")||A&&(D=="buffer"||D=="byteLength"||D=="byteOffset")||f(D,P)))&&L.push(D);return L}d.exports=a},89135:function(d,g,e){var r=e(42813),i=e(43607);function l(c,f,o){(o!==void 0&&!i(c[f],o)||o===void 0&&!(f in c))&&r(c,f,o)}d.exports=l},60348:function(d,g,e){var r=e(42813),i=e(43607),l=Object.prototype,c=l.hasOwnProperty;function f(o,h,u){var a=o[h];(!(c.call(o,h)&&i(a,u))||u===void 0&&!(h in o))&&r(o,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 o=new c;return c.prototype=void 0,o}}();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]",o=r?r.toStringTag:void 0;function h(u){return u==null?u===void 0?f:c:o&&o 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,o=/^\[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:o;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]",o="[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]",A="[object String]",R="[object WeakMap]",L="[object ArrayBuffer]",P="[object DataView]",D="[object Float32Array]",B="[object Float64Array]",$="[object Int8Array]",j="[object Int16Array]",K="[object Int32Array]",V="[object Uint8Array]",W="[object Uint8ClampedArray]",oe="[object Uint16Array]",ae="[object Uint32Array]",ce={};ce[D]=ce[B]=ce[$]=ce[j]=ce[K]=ce[V]=ce[W]=ce[oe]=ce[ae]=!0,ce[c]=ce[f]=ce[L]=ce[o]=ce[P]=ce[h]=ce[u]=ce[a]=ce[x]=ce[p]=ce[y]=ce[_]=ce[b]=ce[A]=ce[R]=!1;function q(J){return l(J)&&i(J.length)&&!!ce[r(J)]}d.exports=q},33988:function(d,g,e){var r=e(20816),i=e(7975),l=e(97817),c=Object.prototype,f=c.hasOwnProperty;function o(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=o},50097:function(d,g,e){var r=e(91866),i=e(89135),l=e(14018),c=e(23585),f=e(20816),o=e(56730),h=e(47052);function u(a,x,p,y,_){a!==x&&l(x,function(b,A){if(_||(_=new r),f(b))c(a,x,A,p,u,y,_);else{var R=y?y(h(a,A),b,A+"",a,x,_):void 0;R===void 0&&(R=b),i(a,A,R)}},o)}d.exports=u},23585:function(d,g,e){var r=e(89135),i=e(32315),l=e(78358),c=e(47760),f=e(4084),o=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),A=e(20480);function R(L,P,D,B,$,j,K){var V=b(L,D),W=b(P,D),oe=K.get(W);if(oe){r(L,D,oe);return}var ae=j?j(V,W,D+"",L,P,K):void 0,ce=ae===void 0;if(ce){var q=h(W),J=!q&&a(W),Y=!q&&!J&&_(W);ae=W,q||J||Y?h(V)?ae=V:u(V)?ae=c(V):J?(ce=!1,ae=i(W,!0)):Y?(ce=!1,ae=l(W,!0)):ae=[]:y(W)||o(W)?(ae=V,o(V)?ae=A(V):(!p(V)||x(V))&&(ae=f(W))):ce=!1}ce&&(K.set(W,ae),$(ae,W,B,j,K),K.delete(W)),r(L,D,ae)}d.exports=R},92918:function(d,g,e){var r=e(46962),i=e(19652),l=e(71152);function c(f,o){return l(i(f,o,r),f+"")}d.exports=c},63989:function(d,g,e){var r=e(13503),i=e(35234),l=e(46962),c=i?function(f,o){return i(f,"toString",{configurable:!0,enumerable:!1,value:r(o),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,o=f?f.allocUnsafe:void 0;function h(u,a){if(a)return u.slice();var x=u.length,p=o?o(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,o,h){var u=!o;o||(o={});for(var a=-1,x=f.length;++a<x;){var p=f[a],y=h?h(o[p],c[p],p,o,c):void 0;y===void 0&&(y=c[p]),u?i(o,p,y):r(o,p,y)}return o}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,o){var h=-1,u=o.length,a=u>1?o[u-1]:void 0,x=u>2?o[2]:void 0;for(a=c.length>3&&typeof a=="function"?(u--,a):void 0,x&&i(o[0],o[1],x)&&(a=u<3?void 0:a,u=1),f=Object(f);++h<u;){var p=o[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),o=l(r),h=o.length;h--;){var u=o[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 o=i(c,f);return r(o)?o: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 o(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=o},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(o){var h=this.__data__;if(r){var u=h[o];return u===i?void 0:u}return c.call(h,o)?h[o]:void 0}d.exports=f},63122:function(d,g,e){var r=e(65294),i=Object.prototype,l=i.hasOwnProperty;function c(f){var o=this.__data__;return r?o[f]!==void 0:l.call(o,f)}d.exports=c},37279:function(d,g,e){var r=e(65294),i="__lodash_hash_undefined__";function l(c,f){var o=this.__data__;return this.size+=this.has(c)?0:1,o[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(o,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],o):!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 o=this.__data__,h=r(o,f);if(h<0)return!1;var u=o.length-1;return h==u?o.pop():l.call(o,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__,o=r(f,l);return o<0?(++this.size,f.push([l,c])):f[o][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),o=f.size;return f.set(l,c),this.size+=f.size==o?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,o=function(){try{var h=l&&l.require&&l.require("util").types;return h||f&&f.binding&&f.binding("util")}catch(u){}}();d.exports=o},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,o){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]=o(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 o=r(),h=e-(o-f);if(f=o,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(o,h){var u=this.__data__;if(u instanceof r){var a=u.__data__;if(!i||a.length<c-1)return a.push([o,h]),this.size=++u.size,this;u=this.__data__=new l(a)}return u.set(o,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,o=r(function(){return arguments}())?r:function(h){return i(h)&&c.call(h,"callee")&&!f.call(h,"callee")};d.exports=o},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,o=f?r.Buffer:void 0,h=o?o.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]",o="[object Proxy]";function h(u){if(!i(u))return!1;var a=r(u);return a==c||a==f||a==l||a==o}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,o=Object.prototype,h=f.toString,u=o.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.",o="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,A=2,R=1,L=2,P=4,D=8,B=16,$=32,j=64,K=128,V=256,W=512,oe=30,ae="...",ce=800,q=16,J=1,Y=2,le=3,ne=1/0,ee=9007199254740991,ie=17976931348623157e292,F=NaN,M=4294967295,Q=M-1,de=M>>>1,Se=[["ary",K],["bind",R],["bindKey",L],["curry",D],["curryRight",B],["flip",W],["partial",$],["partialRight",j],["rearg",V]],Ie="[object Arguments]",je="[object Array]",Fe="[object AsyncFunction]",Ft="[object Boolean]",_t="[object Date]",Pt="[object DOMException]",Qt="[object Error]",Jt="[object Function]",qt="[object GeneratorFunction]",Xe="[object Map]",It="[object Number]",Ut="[object Null]",ot="[object Object]",bt="[object Promise]",ht="[object Proxy]",et="[object RegExp]",Ue="[object Set]",ye="[object String]",Pe="[object Symbol]",Me="[object Undefined]",$e="[object WeakMap]",He="[object WeakSet]",nt="[object ArrayBuffer]",ct="[object DataView]",Gt="[object Float32Array]",Ht="[object Float64Array]",Oe="[object Int8Array]",Je="[object Int16Array]",Wt="[object Int32Array]",kt="[object Uint8Array]",Zt="[object Uint8ClampedArray]",Bt="[object Uint16Array]",At="[object Uint32Array]",Kt=/\b__p \+= '';/g,We=/\b(__p \+=) '' \+/g,fe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_e=/&(?:amp|lt|gt|quot|#39);/g,Ot=/[&<>"']/g,De=RegExp(_e.source),dt=RegExp(Ot.source),zt=/<%-([\s\S]+?)%>/g,Ct=/<%([\s\S]+?)%>/g,ke=/<%=([\s\S]+?)%>/g,wt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xe=/^\w*$/,Ke=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gt=/[\\^$.*+?()[\]{}|]/g,Lt=RegExp(gt.source),Be=/^\s+/,Dr=/\s/,St=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Gr=/\{\n\/\* \[wrapped with (.+)\] \*/,Xr=/,? & /,Sr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Mr=/[()=,{}\[\]\/\s]/,pr=/\\(\\)?/g,$r=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nn=/\w*$/,on=/^[-+]0x[0-9a-f]+$/i,sr=/^0b[01]+$/i,Mt=/^\[object .+?Constructor\]$/,vt=/^0o[0-7]+$/i,yt=/^(?:0|[1-9]\d*)$/,Nt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Cr=/($^)/,vr=/['\n\r\u2028\u2029\\]/g,ut="\\ud800-\\udfff",Rr="\\u0300-\\u036f",_n="\\ufe20-\\ufe2f",Un="\\u20d0-\\u20ff",_r=Rr+_n+Un,Jr="\\u2700-\\u27bf",dn="a-z\\xdf-\\xf6\\xf8-\\xff",Mn="\\xac\\xb1\\xd7\\xf7",Jn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Nn="\\u2000-\\u206f",Ui=" \\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",mi="A-Z\\xc0-\\xd6\\xd8-\\xde",bi="\\ufe0e\\ufe0f",vi=Mn+Jn+Nn+Ui,di="['\u2019]",Yi="["+ut+"]",Xn="["+vi+"]",Vi="["+_r+"]",Et="\\d+",lt="["+Jr+"]",Qn="["+dn+"]",xi="[^"+ut+vi+Et+Jr+dn+mi+"]",qn="\\ud83c[\\udffb-\\udfff]",Wi="(?:"+Vi+"|"+qn+")",hi="[^"+ut+"]",ni="(?:\\ud83c[\\udde6-\\uddff]){2}",bn="[\\ud800-\\udbff][\\udc00-\\udfff]",tr="["+mi+"]",mt="\\u200d",rt="(?:"+Qn+"|"+xi+")",Dt="(?:"+tr+"|"+xi+")",pt="(?:"+di+"(?:d|ll|m|re|s|t|ve))?",ur="(?:"+di+"(?:D|LL|M|RE|S|T|VE))?",cr=Wi+"?",Tr="["+bi+"]?",Ur="(?:"+mt+"(?:"+[hi,ni,bn].join("|")+")"+Tr+cr+")*",Ze="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",tt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ee=Tr+cr+Ur,at="(?:"+[lt,ni,bn].join("|")+")"+Ee,nr="(?:"+[hi+Vi+"?",Vi,ni,bn,Yi].join("|")+")",Pr=RegExp(di,"g"),br=RegExp(Vi,"g"),Ir=RegExp(qn+"(?="+qn+")|"+nr+Ee,"g"),Br=RegExp([tr+"?"+Qn+"+"+pt+"(?="+[Xn,tr,"$"].join("|")+")",Dt+"+"+ur+"(?="+[Xn,tr+rt,"$"].join("|")+")",tr+"?"+rt+"+"+pt,tr+"+"+ur,tt,Ze,Et,at].join("|"),"g"),mn=RegExp("["+mt+ut+_r+bi+"]"),Er=/[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"],tn=-1,sn={};sn[Gt]=sn[Ht]=sn[Oe]=sn[Je]=sn[Wt]=sn[kt]=sn[Zt]=sn[Bt]=sn[At]=!0,sn[Ie]=sn[je]=sn[nt]=sn[Ft]=sn[ct]=sn[_t]=sn[Qt]=sn[Jt]=sn[Xe]=sn[It]=sn[ot]=sn[et]=sn[Ue]=sn[ye]=sn[$e]=!1;var wn={};wn[Ie]=wn[je]=wn[nt]=wn[ct]=wn[Ft]=wn[_t]=wn[Gt]=wn[Ht]=wn[Oe]=wn[Je]=wn[Wt]=wn[Xe]=wn[It]=wn[ot]=wn[et]=wn[Ue]=wn[ye]=wn[Pe]=wn[kt]=wn[Zt]=wn[Bt]=wn[At]=!0,wn[Qt]=wn[Jt]=wn[$e]=!1;var fa={\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"},Ci={"&":"&","<":"<",">":">",'"':""","'":"'"},fi={"&":"&","<":"<",">":">",""":'"',"'":"'"},hn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ai=parseFloat,Mi=parseInt,sa=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,Es=typeof self=="object"&&self&&self.Object===Object&&self,oa=sa||Es||Function("return this")(),ds=g&&!g.nodeType&&g,ws=ds&&!0&&d&&!d.nodeType&&d,ka=ws&&ws.exports===ds,gs=ka&&sa.process,Zn=function(){try{var or=ws&&ws.require&&ws.require("util").types;return or||gs&&gs.binding&&gs.binding("util")}catch(Lr){}}(),qa=Zn&&Zn.isArrayBuffer,Ha=Zn&&Zn.isDate,Ss=Zn&&Zn.isMap,Bi=Zn&&Zn.isRegExp,hs=Zn&&Zn.isSet,Ao=Zn&&Zn.isTypedArray;function Pa(or,Lr,yr){switch(yr.length){case 0:return or.call(Lr);case 1:return or.call(Lr,yr[0]);case 2:return or.call(Lr,yr[0],yr[1]);case 3:return or.call(Lr,yr[0],yr[1],yr[2])}return or.apply(Lr,yr)}function ta(or,Lr,yr,fn){for(var zn=-1,ft=or==null?0:or.length;++zn<ft;){var Cn=or[zn];Lr(fn,Cn,yr(Cn),or)}return fn}function Ma(or,Lr){for(var yr=-1,fn=or==null?0:or.length;++yr<fn&&Lr(or[yr],yr,or)!==!1;);return or}function Hs(or,Lr){for(var yr=or==null?0:or.length;yr--&&Lr(or[yr],yr,or)!==!1;);return or}function On(or,Lr){for(var yr=-1,fn=or==null?0:or.length;++yr<fn;)if(!Lr(or[yr],yr,or))return!1;return!0}function Ra(or,Lr){for(var yr=-1,fn=or==null?0:or.length,zn=0,ft=[];++yr<fn;){var Cn=or[yr];Lr(Cn,yr,or)&&(ft[zn++]=Cn)}return ft}function is(or,Lr){var yr=or==null?0:or.length;return!!yr&&uo(or,Lr,0)>-1}function as(or,Lr,yr){for(var fn=-1,zn=or==null?0:or.length;++fn<zn;)if(yr(Lr,or[fn]))return!0;return!1}function Li(or,Lr){for(var yr=-1,fn=or==null?0:or.length,zn=Array(fn);++yr<fn;)zn[yr]=Lr(or[yr],yr,or);return zn}function Da(or,Lr){for(var yr=-1,fn=Lr.length,zn=or.length;++yr<fn;)or[zn+yr]=Lr[yr];return or}function Ca(or,Lr,yr,fn){var zn=-1,ft=or==null?0:or.length;for(fn&&ft&&(yr=or[++zn]);++zn<ft;)yr=Lr(yr,or[zn],zn,or);return yr}function ls(or,Lr,yr,fn){var zn=or==null?0:or.length;for(fn&&zn&&(yr=or[--zn]);zn--;)yr=Lr(yr,or[zn],zn,or);return yr}function Ws(or,Lr){for(var yr=-1,fn=or==null?0:or.length;++yr<fn;)if(Lr(or[yr],yr,or))return!0;return!1}var bo=li("length");function Co(or){return or.split("")}function To(or){return or.match(Sr)||[]}function ga(or,Lr,yr){var fn;return yr(or,function(zn,ft,Cn){if(Lr(zn,ft,Cn))return fn=ft,!1}),fn}function Ka(or,Lr,yr,fn){for(var zn=or.length,ft=yr+(fn?1:-1);fn?ft--:++ft<zn;)if(Lr(or[ft],ft,or))return ft;return-1}function uo(or,Lr,yr){return Lr===Lr?Cu(or,Lr,yr):Ka(or,Po,yr)}function ho(or,Lr,yr,fn){for(var zn=yr-1,ft=or.length;++zn<ft;)if(fn(or[zn],Lr))return zn;return-1}function Po(or){return or!==or}function xo(or,Lr){var yr=or==null?0:or.length;return yr?Ga(or,Lr)/yr:F}function li(or){return function(Lr){return Lr==null?i:Lr[or]}}function si(or){return function(Lr){return or==null?i:or[Lr]}}function Fa(or,Lr,yr,fn,zn){return zn(or,function(ft,Cn,Hn){yr=fn?(fn=!1,ft):Lr(yr,ft,Cn,Hn)}),yr}function Wa(or,Lr){var yr=or.length;for(or.sort(Lr);yr--;)or[yr]=or[yr].value;return or}function Ga(or,Lr){for(var yr,fn=-1,zn=or.length;++fn<zn;){var ft=Lr(or[fn]);ft!==i&&(yr=yr===i?ft:yr+ft)}return yr}function Gs(or,Lr){for(var yr=-1,fn=Array(or);++yr<or;)fn[yr]=Lr(yr);return fn}function Vs(or,Lr){return Li(Lr,function(yr){return[yr,or[yr]]})}function Yo(or){return or&&or.slice(0,mr(or)+1).replace(Be,"")}function cs(or){return function(Lr){return or(Lr)}}function Io(or,Lr){return Li(Lr,function(yr){return or[yr]})}function Do(or,Lr){return or.has(Lr)}function jo(or,Lr){for(var yr=-1,fn=or.length;++yr<fn&&uo(Lr,or[yr],0)>-1;);return yr}function Au(or,Lr){for(var yr=or.length;yr--&&uo(Lr,or[yr],0)>-1;);return yr}function Eo(or,Lr){for(var yr=or.length,fn=0;yr--;)or[yr]===Lr&&++fn;return fn}var lo=si(fa),Ks=si(Ci);function Mu(or){return"\\"+hn[or]}function Oo(or,Lr){return or==null?i:or[Lr]}function ko(or){return mn.test(or)}function Ns(or){return Er.test(or)}function du(or){for(var Lr,yr=[];!(Lr=or.next()).done;)yr.push(Lr.value);return yr}function Mo(or){var Lr=-1,yr=Array(or.size);return or.forEach(function(fn,zn){yr[++Lr]=[zn,fn]}),yr}function wo(or,Lr){return function(yr){return or(Lr(yr))}}function Rs(or,Lr){for(var yr=-1,fn=or.length,zn=0,ft=[];++yr<fn;){var Cn=or[yr];(Cn===Lr||Cn===x)&&(or[yr]=x,ft[zn++]=yr)}return ft}function Ds(or){var Lr=-1,yr=Array(or.size);return or.forEach(function(fn){yr[++Lr]=fn}),yr}function hu(or){var Lr=-1,yr=Array(or.size);return or.forEach(function(fn){yr[++Lr]=[fn,fn]}),yr}function Cu(or,Lr,yr){for(var fn=yr-1,zn=or.length;++fn<zn;)if(or[fn]===Lr)return fn;return-1}function Xt(or,Lr,yr){for(var fn=yr+1;fn--;)if(or[fn]===Lr)return fn;return fn}function fr(or){return ko(or)?vn(or):bo(or)}function ar(or){return ko(or)?xn(or):Co(or)}function mr(or){for(var Lr=or.length;Lr--&&Dr.test(or.charAt(Lr)););return Lr}var xr=si(fi);function vn(or){for(var Lr=Ir.lastIndex=0;Ir.test(or);)++Lr;return Lr}function xn(or){return or.match(Ir)||[]}function $n(or){return or.match(Br)||[]}var kn=function or(Lr){Lr=Lr==null?oa:Yn.defaults(oa.Object(),Lr,Yn.pick(oa,un));var yr=Lr.Array,fn=Lr.Date,zn=Lr.Error,ft=Lr.Function,Cn=Lr.Math,Hn=Lr.Object,oi=Lr.RegExp,zi=Lr.String,Nr=Lr.TypeError,Hr=yr.prototype,da=ft.prototype,Ti=Hn.prototype,ra=Lr["__core-js_shared__"],Ts=da.toString,ui=Ti.hasOwnProperty,$s=0,Fo=function(){var S=/[^.]+$/.exec(ra&&ra.keys&&ra.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}(),Os=Ti.toString,ha=Ts.call(Hn),Na=oa._,ps=oi("^"+Ts.call(ui).replace(gt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ln=ka?Lr.Buffer:i,Ls=Lr.Symbol,Ms=Lr.Uint8Array,Ye=Ln?Ln.allocUnsafe:i,Qe=wo(Hn.getPrototypeOf,Hn),Rt=Hn.create,Vt=Ti.propertyIsEnumerable,dr=Hr.splice,kr=Ls?Ls.isConcatSpreadable:i,jr=Ls?Ls.iterator:i,pn=Ls?Ls.toStringTag:i,en=function(){try{var S=ma(Hn,"defineProperty");return S({},"",{}),S}catch(N){}}(),gn=Lr.clearTimeout!==oa.clearTimeout&&Lr.clearTimeout,Wn=fn&&fn.now!==oa.Date.now&&fn.now,ti=Lr.setTimeout!==oa.setTimeout&&Lr.setTimeout,gi=Cn.ceil,wi=Cn.floor,Ni=Hn.getOwnPropertySymbols,Fi=Ln?Ln.isBuffer:i,yi=Lr.isFinite,pa=Hr.join,Pi=wo(Hn.keys,Hn),pi=Cn.max,ua=Cn.min,Ys=fn.now,_s=Lr.parseInt,Zi=Cn.random,Oa=Hr.reverse,qi=ma(Lr,"DataView"),Ii=ma(Lr,"Map"),ya=ma(Lr,"Promise"),$a=ma(Lr,"Set"),Va=ma(Lr,"WeakMap"),io=ma(Hn,"create"),Ya=Va&&new Va,co={},La=ca(qi),Xs=ca(Ii),js=ca(ya),na=ca($a),ja=ca(Va),ys=Ls?Ls.prototype:i,Hi=ys?ys.valueOf:i,be=ys?ys.toString:i;function Ce(S){if(eu(S)&&!Za(S)&&!(S instanceof Yr)){if(S instanceof gr)return S;if(ui.call(S,"__wrapped__"))return Xa(S)}return new gr(S)}var wr=function(){function S(){}return function(N){if(!Ko(N))return{};if(Rt)return Rt(N);S.prototype=N;var he=new S;return S.prototype=i,he}}();function Qr(){}function gr(S,N){this.__wrapped__=S,this.__actions__=[],this.__chain__=!!N,this.__index__=0,this.__values__=i}Ce.templateSettings={escape:zt,evaluate:Ct,interpolate:ke,variable:"",imports:{_:Ce}},Ce.prototype=Qr.prototype,Ce.prototype.constructor=Ce,gr.prototype=wr(Qr.prototype),gr.prototype.constructor=gr;function Yr(S){this.__wrapped__=S,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=M,this.__views__=[]}function Sn(){var S=new Yr(this.__wrapped__);return S.__actions__=Ro(this.__actions__),S.__dir__=this.__dir__,S.__filtered__=this.__filtered__,S.__iteratees__=Ro(this.__iteratees__),S.__takeCount__=this.__takeCount__,S.__views__=Ro(this.__views__),S}function ei(){if(this.__filtered__){var S=new Yr(this);S.__dir__=-1,S.__filtered__=!0}else S=this.clone(),S.__dir__*=-1;return S}function Oi(){var S=this.__wrapped__.value(),N=this.__dir__,he=Za(S),Ne=N<0,xt=he?S.length:0,Yt=vc(0,xt,this.__views__),hr=Yt.start,Or=Yt.end,Vr=Or-hr,Pn=Ne?Or:hr-1,Dn=this.__iteratees__,jn=Dn.length,Ai=0,ea=ua(Vr,this.__takeCount__);if(!he||!Ne&&xt==Vr&&ea==Vr)return Vc(S,this.__actions__);var Sa=[];e:for(;Vr--&&Ai<ea;){Pn+=N;for(var ns=-1,Aa=S[Pn];++ns<jn;){var vs=Dn[ns],Cs=vs.iteratee,ic=vs.type,vl=Cs(Aa);if(ic==Y)Aa=vl;else if(!vl){if(ic==J)continue e;break e}}Sa[Ai++]=Aa}return Sa}Yr.prototype=wr(Qr.prototype),Yr.prototype.constructor=Yr;function In(S){var N=-1,he=S==null?0:S.length;for(this.clear();++N<he;){var Ne=S[N];this.set(Ne[0],Ne[1])}}function Tn(){this.__data__=io?io(null):{},this.size=0}function Fn(S){var N=this.has(S)&&delete this.__data__[S];return this.size-=N?1:0,N}function la(S){var N=this.__data__;if(io){var he=N[S];return he===u?i:he}return ui.call(N,S)?N[S]:i}function $i(S){var N=this.__data__;return io?N[S]!==i:ui.call(N,S)}function po(S,N){var he=this.__data__;return this.size+=this.has(S)?0:1,he[S]=io&&N===i?u:N,this}In.prototype.clear=Tn,In.prototype.delete=Fn,In.prototype.get=la,In.prototype.has=$i,In.prototype.set=po;function Qs(S){var N=-1,he=S==null?0:S.length;for(this.clear();++N<he;){var Ne=S[N];this.set(Ne[0],Ne[1])}}function tu(){this.__data__=[],this.size=0}function tl(S){var N=this.__data__,he=Ja(N,S);if(he<0)return!1;var Ne=N.length-1;return he==Ne?N.pop():dr.call(N,he,1),--this.size,!0}function Ku(S){var N=this.__data__,he=Ja(N,S);return he<0?i:N[he][1]}function Tu(S){return Ja(this.__data__,S)>-1}function zc(S,N){var he=this.__data__,Ne=Ja(he,S);return Ne<0?(++this.size,he.push([S,N])):he[Ne][1]=N,this}Qs.prototype.clear=tu,Qs.prototype.delete=tl,Qs.prototype.get=Ku,Qs.prototype.has=Tu,Qs.prototype.set=zc;function pu(S){var N=-1,he=S==null?0:S.length;for(this.clear();++N<he;){var Ne=S[N];this.set(Ne[0],Ne[1])}}function Ve(){this.size=0,this.__data__={hash:new In,map:new(Ii||Qs),string:new In}}function Z(S){var N=Di(this,S).delete(S);return this.size-=N?1:0,N}function X(S){return Di(this,S).get(S)}function te(S){return Di(this,S).has(S)}function pe(S,N){var he=Di(this,S),Ne=he.size;return he.set(S,N),this.size+=he.size==Ne?0:1,this}pu.prototype.clear=Ve,pu.prototype.delete=Z,pu.prototype.get=X,pu.prototype.has=te,pu.prototype.set=pe;function Te(S){var N=-1,he=S==null?0:S.length;for(this.__data__=new pu;++N<he;)this.add(S[N])}function Ge(S){return this.__data__.set(S,u),this}function Tt(S){return this.__data__.has(S)}Te.prototype.add=Te.prototype.push=Ge,Te.prototype.has=Tt;function $t(S){var N=this.__data__=new Qs(S);this.size=N.size}function rr(){this.__data__=new Qs,this.size=0}function Ar(S){var N=this.__data__,he=N.delete(S);return this.size=N.size,he}function zr(S){return this.__data__.get(S)}function qr(S){return this.__data__.has(S)}function En(S,N){var he=this.__data__;if(he instanceof Qs){var Ne=he.__data__;if(!Ii||Ne.length<c-1)return Ne.push([S,N]),this.size=++he.size,this;he=this.__data__=new pu(Ne)}return he.set(S,N),this.size=he.size,this}$t.prototype.clear=rr,$t.prototype.delete=Ar,$t.prototype.get=zr,$t.prototype.has=qr,$t.prototype.set=En;function Rn(S,N){var he=Za(S),Ne=!he&&Rf(S),xt=!he&&!Ne&&Af(S),Yt=!he&&!Ne&&!xt&&Bf(S),hr=he||Ne||xt||Yt,Or=hr?Gs(S.length,zi):[],Vr=Or.length;for(var Pn in S)(N||ui.call(S,Pn))&&!(hr&&(Pn=="length"||xt&&(Pn=="offset"||Pn=="parent")||Yt&&(Pn=="buffer"||Pn=="byteLength"||Pn=="byteOffset")||Lo(Pn,Vr)))&&Or.push(Pn);return Or}function lr(S){var N=S.length;return N?S[vu(0,N-1)]:i}function Ei(S,N){return ki(Ro(S),xs(N,0,S.length))}function ia(S){return ki(Ro(S))}function aa(S,N,he){(he!==i&&!jc(S[N],he)||he===i&&!(N in S))&&wa(S,N,he)}function Xi(S,N,he){var Ne=S[N];(!(ui.call(S,N)&&jc(Ne,he))||he===i&&!(N in S))&&wa(S,N,he)}function Ja(S,N){for(var he=S.length;he--;)if(jc(S[he][0],N))return he;return-1}function ss(S,N,he,Ne){return _o(S,function(xt,Yt,hr){N(Ne,xt,he(xt),hr)}),Ne}function bs(S,N){return S&&$o(N,Lu(N),S)}function es(S,N){return S&&$o(N,Ml(N),S)}function wa(S,N,he){N=="__proto__"&&en?en(S,N,{configurable:!0,enumerable:!0,value:he,writable:!0}):S[N]=he}function fs(S,N){for(var he=-1,Ne=N.length,xt=yr(Ne),Yt=S==null;++he<Ne;)xt[he]=Yt?i:id(S,N[he]);return xt}function xs(S,N,he){return S===S&&(he!==i&&(S=S<=he?S:he),N!==i&&(S=S>=N?S:N)),S}function _i(S,N,he,Ne,xt,Yt){var hr,Or=N&p,Vr=N&y,Pn=N&_;if(he&&(hr=xt?he(S,Ne,xt,Yt):he(S)),hr!==i)return hr;if(!Ko(S))return S;var Dn=Za(S);if(Dn){if(hr=Rc(S),!Or)return Ro(S,hr)}else{var jn=os(S),Ai=jn==Jt||jn==qt;if(Af(S))return of(S,Or);if(jn==ot||jn==Ie||Ai&&!xt){if(hr=Vr||Ai?{}:ll(S),!Or)return Vr?Gl(S,es(hr,S)):Ho(S,bs(hr,S))}else{if(!wn[jn])return xt?S:{};hr=Si(S,jn,Or)}}Yt||(Yt=new $t);var ea=Yt.get(S);if(ea)return ea;Yt.set(S,hr),vd(S)?S.forEach(function(Aa){hr.add(_i(Aa,N,he,Aa,S,Yt))}):_d(S)&&S.forEach(function(Aa,vs){hr.set(vs,_i(Aa,N,he,vs,S,Yt))});var Sa=Pn?Vr?me:k:Vr?Ml:Lu,ns=Dn?i:Sa(S);return Ma(ns||S,function(Aa,vs){ns&&(vs=Aa,Aa=S[vs]),Xi(hr,vs,_i(Aa,N,he,vs,S,Yt))}),hr}function Us(S){var N=Lu(S);return function(he){return ms(he,S,N)}}function ms(S,N,he){var Ne=he.length;if(S==null)return!Ne;for(S=Hn(S);Ne--;){var xt=he[Ne],Yt=N[xt],hr=S[xt];if(hr===i&&!(xt in S)||!Yt(hr))return!1}return!0}function Xo(S,N,he){if(typeof S!="function")throw new Nr(o);return kl(function(){S.apply(i,he)},N)}function Ps(S,N,he,Ne){var xt=-1,Yt=is,hr=!0,Or=S.length,Vr=[],Pn=N.length;if(!Or)return Vr;he&&(N=Li(N,cs(he))),Ne?(Yt=as,hr=!1):N.length>=c&&(Yt=Do,hr=!1,N=new Te(N));e:for(;++xt<Or;){var Dn=S[xt],jn=he==null?Dn:he(Dn);if(Dn=Ne||Dn!==0?Dn:0,hr&&jn===jn){for(var Ai=Pn;Ai--;)if(N[Ai]===jn)continue e;Vr.push(Dn)}else Yt(N,jn,Ne)||Vr.push(Dn)}return Vr}var _o=Wo(Js),qs=Wo(gl,!0);function Bl(S,N){var he=!0;return _o(S,function(Ne,xt,Yt){return he=!!N(Ne,xt,Yt),he}),he}function Fu(S,N,he){for(var Ne=-1,xt=S.length;++Ne<xt;){var Yt=S[Ne],hr=N(Yt);if(hr!=null&&(Or===i?hr===hr&&!nc(hr):he(hr,Or)))var Or=hr,Vr=Yt}return Vr}function Bo(S,N,he,Ne){var xt=S.length;for(he=Qa(he),he<0&&(he=-he>xt?0:xt+he),Ne=Ne===i||Ne>xt?xt:Qa(Ne),Ne<0&&(Ne+=xt),Ne=he>Ne?0:yd(Ne);he<Ne;)S[he++]=N;return S}function ru(S,N){var he=[];return _o(S,function(Ne,xt,Yt){N(Ne,xt,Yt)&&he.push(Ne)}),he}function ks(S,N,he,Ne,xt){var Yt=-1,hr=S.length;for(he||(he=ec),xt||(xt=[]);++Yt<hr;){var Or=S[Yt];N>0&&he(Or)?N>1?ks(Or,N-1,he,Ne,xt):Da(xt,Or):Ne||(xt[xt.length]=Or)}return xt}var Bu=Vl(),cu=Vl(!0);function Js(S,N){return S&&Bu(S,N,Lu)}function gl(S,N){return S&&cu(S,N,Lu)}function yl(S,N){return Ra(N,function(he){return yf(S[he])})}function Uo(S,N){N=Iu(N,S);for(var he=0,Ne=N.length;S!=null&&he<Ne;)S=S[ji(N[he++])];return he&&he==Ne?S:i}function bl(S,N,he){var Ne=N(S);return Za(S)?Ne:Da(Ne,he(S))}function zs(S){return S==null?S===i?Me:Ut:pn&&pn in Hn(S)?yo(S):xc(S)}function Qo(S,N){return S>N}function _u(S,N){return S!=null&&ui.call(S,N)}function xl(S,N){return S!=null&&N in Hn(S)}function qo(S,N,he){return S>=ua(N,he)&&S<pi(N,he)}function Nl(S,N,he){for(var Ne=he?as:is,xt=S[0].length,Yt=S.length,hr=Yt,Or=yr(Yt),Vr=1/0,Pn=[];hr--;){var Dn=S[hr];hr&&N&&(Dn=Li(Dn,cs(N))),Vr=ua(Dn.length,Vr),Or[hr]=!he&&(N||xt>=120&&Dn.length>=120)?new Te(hr&&Dn):i}Dn=S[0];var jn=-1,Ai=Or[0];e:for(;++jn<xt&&Pn.length<Vr;){var ea=Dn[jn],Sa=N?N(ea):ea;if(ea=he||ea!==0?ea:0,!(Ai?Do(Ai,Sa):Ne(Pn,Sa,he))){for(hr=Yt;--hr;){var ns=Or[hr];if(!(ns?Do(ns,Sa):Ne(S[hr],Sa,he)))continue e}Ai&&Ai.push(Sa),Pn.push(ea)}}return Pn}function $l(S,N,he,Ne){return Js(S,function(xt,Yt,hr){N(Ne,he(xt),Yt,hr)}),Ne}function ii(S,N,he){N=Iu(N,S),S=Hu(S,N);var Ne=S==null?S:S[ji(Vo(N))];return Ne==null?i:Pa(Ne,S,he)}function sc(S){return eu(S)&&zs(S)==Ie}function eo(S){return eu(S)&&zs(S)==nt}function Ac(S){return eu(S)&&zs(S)==_t}function fu(S,N,he,Ne,xt){return S===N?!0:S==null||N==null||!eu(S)&&!eu(N)?S!==S&&N!==N:Nu(S,N,he,Ne,fu,xt)}function Nu(S,N,he,Ne,xt,Yt){var hr=Za(S),Or=Za(N),Vr=hr?je:os(S),Pn=Or?je:os(N);Vr=Vr==Ie?ot:Vr,Pn=Pn==Ie?ot:Pn;var Dn=Vr==ot,jn=Pn==ot,Ai=Vr==Pn;if(Ai&&Af(S)){if(!Af(N))return!1;hr=!0,Dn=!1}if(Ai&&!Dn)return Yt||(Yt=new $t),hr||Bf(S)?mc(S,N,he,Ne,xt,Yt):Xc(S,N,Vr,he,Ne,xt,Yt);if(!(he&b)){var ea=Dn&&ui.call(S,"__wrapped__"),Sa=jn&&ui.call(N,"__wrapped__");if(ea||Sa){var ns=ea?S.value():S,Aa=Sa?N.value():N;return Yt||(Yt=new $t),xt(ns,Aa,he,Ne,Yt)}}return Ai?(Yt||(Yt=new $t),I(S,N,he,Ne,xt,Yt)):!1}function $u(S){return eu(S)&&os(S)==Xe}function jl(S,N,he,Ne){var xt=he.length,Yt=xt,hr=!Ne;if(S==null)return!Yt;for(S=Hn(S);xt--;){var Or=he[xt];if(hr&&Or[2]?Or[1]!==S[Or[0]]:!(Or[0]in S))return!1}for(;++xt<Yt;){Or=he[xt];var Vr=Or[0],Pn=S[Vr],Dn=Or[1];if(hr&&Or[2]){if(Pn===i&&!(Vr in S))return!1}else{var jn=new $t;if(Ne)var Ai=Ne(Pn,Dn,Vr,S,N,jn);if(!(Ai===i?fu(Dn,Pn,b|A,Ne,jn):Ai))return!1}}return!0}function Ul(S){if(!Ko(S)||tc(S))return!1;var N=yf(S)?ps:Mt;return N.test(ca(S))}function mo(S){return eu(S)&&zs(S)==et}function zo(S){return eu(S)&&os(S)==Ue}function af(S){return eu(S)&&Qf(S.length)&&!!sn[zs(S)]}function Cc(S){return typeof S=="function"?S:S==null?Fl:typeof S=="object"?Za(S)?Fs(S[0],S[1]):Pu(S):Dd(S)}function El(S){if(!fl(S))return Pi(S);var N=[];for(var he in Hn(S))ui.call(S,he)&&he!="constructor"&&N.push(he);return N}function Zc(S){if(!Ko(S))return bc(S);var N=fl(S),he=[];for(var Ne in S)Ne=="constructor"&&(N||!ui.call(S,Ne))||he.push(Ne);return he}function zl(S,N){return S<N}function mu(S,N){var he=-1,Ne=Ll(S)?yr(S.length):[];return _o(S,function(xt,Yt,hr){Ne[++he]=N(xt,Yt,hr)}),Ne}function Pu(S){var N=Ua(S);return N.length==1&&N[0][2]?Lc(N[0][0],N[0][1]):function(he){return he===S||jl(he,S,N)}}function Fs(S,N){return za(S)&&yc(N)?Lc(ji(S),N):function(he){var Ne=id(he,S);return Ne===i&&Ne===N?ad(he,S):fu(N,Ne,b|A)}}function to(S,N,he,Ne,xt){S!==N&&Bu(N,function(Yt,hr){if(xt||(xt=new $t),Ko(Yt))No(S,N,hr,he,to,Ne,xt);else{var Or=Ne?Ne(rc(S,hr),Yt,hr+"",S,N,xt):i;Or===i&&(Or=Yt),aa(S,hr,Or)}},Ml)}function No(S,N,he,Ne,xt,Yt,hr){var Or=rc(S,he),Vr=rc(N,he),Pn=hr.get(Vr);if(Pn){aa(S,he,Pn);return}var Dn=Yt?Yt(Or,Vr,he+"",S,N,hr):i,jn=Dn===i;if(jn){var Ai=Za(Vr),ea=!Ai&&Af(Vr),Sa=!Ai&&!ea&&Bf(Vr);Dn=Vr,Ai||ea||Sa?Za(Or)?Dn=Or:uu(Or)?Dn=Ro(Or):ea?(jn=!1,Dn=of(Vr,!0)):Sa?(jn=!1,Dn=Cl(Vr,!0)):Dn=[]:Gf(Vr)||Rf(Vr)?(Dn=Or,Rf(Or)?Dn=bd(Or):(!Ko(Or)||yf(Or))&&(Dn=ll(Vr))):jn=!1}jn&&(hr.set(Vr,Dn),xt(Dn,Vr,Ne,Yt,hr),hr.delete(Vr)),aa(S,he,Dn)}function oc(S,N){var he=S.length;if(he)return N+=N<0?he:0,Lo(N,he)?S[N]:i}function wl(S,N,he){N.length?N=Li(N,function(Yt){return Za(Yt)?function(hr){return Uo(hr,Yt.length===1?Yt[0]:Yt)}:Yt}):N=[Fl];var Ne=-1;N=Li(N,cs(cn()));var xt=mu(S,function(Yt,hr,Or){var Vr=Li(N,function(Pn){return Pn(Yt)});return{criteria:Vr,index:++Ne,value:Yt}});return Wa(xt,function(Yt,hr){return yu(Yt,hr,he)})}function ro(S,N){return uc(S,N,function(he,Ne){return ad(S,Ne)})}function uc(S,N,he){for(var Ne=-1,xt=N.length,Yt={};++Ne<xt;){var hr=N[Ne],Or=Uo(S,hr);he(Or,hr)&&ju(Yt,Iu(hr,S),Or)}return Yt}function lc(S){return function(N){return Uo(N,S)}}function nu(S,N,he,Ne){var xt=Ne?ho:uo,Yt=-1,hr=N.length,Or=S;for(S===N&&(N=Ro(N)),he&&(Or=Li(S,cs(he)));++Yt<hr;)for(var Vr=0,Pn=N[Yt],Dn=he?he(Pn):Pn;(Vr=xt(Or,Dn,Vr,Ne))>-1;)Or!==S&&dr.call(Or,Vr,1),dr.call(S,Vr,1);return S}function Sl(S,N){for(var he=S?N.length:0,Ne=he-1;he--;){var xt=N[he];if(he==Ne||xt!==Yt){var Yt=xt;Lo(xt)?dr.call(S,xt,1):Zl(S,xt)}}return S}function vu(S,N){return S+wi(Zi()*(N-S+1))}function cc(S,N,he,Ne){for(var xt=-1,Yt=pi(gi((N-S)/(he||1)),0),hr=yr(Yt);Yt--;)hr[Ne?Yt:++xt]=S,S+=he;return hr}function rl(S,N){var he="";if(!S||N<1||N>ee)return he;do N%2&&(he+=S),N=wi(N/2),N&&(S+=S);while(N);return he}function Ia(S,N){return dl(ou(S,N,Fl),S+"")}function Hc(S){return lr(Nf(S))}function Wc(S,N){var he=Nf(S);return ki(he,xs(N,0,he.length))}function ju(S,N,he,Ne){if(!Ko(S))return S;N=Iu(N,S);for(var xt=-1,Yt=N.length,hr=Yt-1,Or=S;Or!=null&&++xt<Yt;){var Vr=ji(N[xt]),Pn=he;if(Vr==="__proto__"||Vr==="constructor"||Vr==="prototype")return S;if(xt!=hr){var Dn=Or[Vr];Pn=Ne?Ne(Dn,Vr,Or):i,Pn===i&&(Pn=Ko(Dn)?Dn:Lo(N[xt+1])?[]:{})}Xi(Or,Vr,Pn),Or=Or[Vr]}return S}var Tc=Ya?function(S,N){return Ya.set(S,N),S}:Fl,sf=en?function(S,N){return en(S,"toString",{configurable:!0,enumerable:!1,value:od(N),writable:!0})}:Fl;function fc(S){return ki(Nf(S))}function iu(S,N,he){var Ne=-1,xt=S.length;N<0&&(N=-N>xt?0:xt+N),he=he>xt?xt:he,he<0&&(he+=xt),xt=N>he?0:he-N>>>0,N>>>=0;for(var Yt=yr(xt);++Ne<xt;)Yt[Ne]=S[Ne+N];return Yt}function Gc(S,N){var he;return _o(S,function(Ne,xt,Yt){return he=N(Ne,xt,Yt),!he}),!!he}function dc(S,N,he){var Ne=0,xt=S==null?Ne:S.length;if(typeof N=="number"&&N===N&&xt<=de){for(;Ne<xt;){var Yt=Ne+xt>>>1,hr=S[Yt];hr!==null&&!nc(hr)&&(he?hr<=N:hr<N)?Ne=Yt+1:xt=Yt}return xt}return Al(S,N,Fl,he)}function Al(S,N,he,Ne){var xt=0,Yt=S==null?0:S.length;if(Yt===0)return 0;N=he(N);for(var hr=N!==N,Or=N===null,Vr=nc(N),Pn=N===i;xt<Yt;){var Dn=wi((xt+Yt)/2),jn=he(S[Dn]),Ai=jn!==i,ea=jn===null,Sa=jn===jn,ns=nc(jn);if(hr)var Aa=Ne||Sa;else Pn?Aa=Sa&&(Ne||Ai):Or?Aa=Sa&&Ai&&(Ne||!ea):Vr?Aa=Sa&&Ai&&!ea&&(Ne||!ns):ea||ns?Aa=!1:Aa=Ne?jn<=N:jn<N;Aa?xt=Dn+1:Yt=Dn}return ua(Yt,Q)}function hc(S,N){for(var he=-1,Ne=S.length,xt=0,Yt=[];++he<Ne;){var hr=S[he],Or=N?N(hr):hr;if(!he||!jc(Or,Vr)){var Vr=Or;Yt[xt++]=hr===0?0:hr}}return Yt}function Pc(S){return typeof S=="number"?S:nc(S)?F:+S}function Zo(S){if(typeof S=="string")return S;if(Za(S))return Li(S,Zo)+"";if(nc(S))return be?be.call(S):"";var N=S+"";return N=="0"&&1/S==-ne?"-0":N}function gu(S,N,he){var Ne=-1,xt=is,Yt=S.length,hr=!0,Or=[],Vr=Or;if(he)hr=!1,xt=as;else if(Yt>=c){var Pn=N?null:Yc(S);if(Pn)return Ds(Pn);hr=!1,xt=Do,Vr=new Te}else Vr=N?[]:Or;e:for(;++Ne<Yt;){var Dn=S[Ne],jn=N?N(Dn):Dn;if(Dn=he||Dn!==0?Dn:0,hr&&jn===jn){for(var Ai=Vr.length;Ai--;)if(Vr[Ai]===jn)continue e;N&&Vr.push(jn),Or.push(Dn)}else xt(Vr,jn,he)||(Vr!==Or&&Vr.push(jn),Or.push(Dn))}return Or}function Zl(S,N){return N=Iu(N,S),S=Hu(S,N),S==null||delete S[ji(Vo(N))]}function Uu(S,N,he,Ne){return ju(S,N,he(Uo(S,N)),Ne)}function Ic(S,N,he,Ne){for(var xt=S.length,Yt=Ne?xt:-1;(Ne?Yt--:++Yt<xt)&&N(S[Yt],Yt,S););return he?iu(S,Ne?0:Yt,Ne?Yt+1:xt):iu(S,Ne?Yt+1:0,Ne?xt:Yt)}function Vc(S,N){var he=S;return he instanceof Yr&&(he=he.value()),Ca(N,function(Ne,xt){return xt.func.apply(xt.thisArg,Da([Ne],xt.args))},he)}function Hl(S,N,he){var Ne=S.length;if(Ne<2)return Ne?gu(S[0]):[];for(var xt=-1,Yt=yr(Ne);++xt<Ne;)for(var hr=S[xt],Or=-1;++Or<Ne;)Or!=xt&&(Yt[xt]=Ps(Yt[xt]||hr,S[Or],N,he));return gu(ks(Yt,1),N,he)}function ao(S,N,he){for(var Ne=-1,xt=S.length,Yt=N.length,hr={};++Ne<xt;){var Or=Ne<Yt?N[Ne]:i;he(hr,S[Ne],Or)}return hr}function Wl(S){return uu(S)?S:[]}function Dc(S){return typeof S=="function"?S:Fl}function Iu(S,N){return Za(S)?S:za(S,N)?[S]:xa(no(S))}var Du=Ia;function so(S,N,he){var Ne=S.length;return he=he===i?Ne:he,!N&&he>=Ne?S:iu(S,N,he)}var Yu=gn||function(S){return oa.clearTimeout(S)};function of(S,N){if(N)return S.slice();var he=S.length,Ne=Ye?Ye(he):new S.constructor(he);return S.copy(Ne),Ne}function Oc(S){var N=new S.constructor(S.byteLength);return new Ms(N).set(new Ms(S)),N}function Kc(S,N){var he=N?Oc(S.buffer):S.buffer;return new S.constructor(he,S.byteOffset,S.byteLength)}function nl(S){var N=new S.constructor(S.source,nn.exec(S));return N.lastIndex=S.lastIndex,N}function So(S){return Hi?Hn(Hi.call(S)):{}}function Cl(S,N){var he=N?Oc(S.buffer):S.buffer;return new S.constructor(he,S.byteOffset,S.length)}function ze(S,N){if(S!==N){var he=S!==i,Ne=S===null,xt=S===S,Yt=nc(S),hr=N!==i,Or=N===null,Vr=N===N,Pn=nc(N);if(!Or&&!Pn&&!Yt&&S>N||Yt&&hr&&Vr&&!Or&&!Pn||Ne&&hr&&Vr||!he&&Vr||!xt)return 1;if(!Ne&&!Yt&&!Pn&&S<N||Pn&&he&&xt&&!Ne&&!Yt||Or&&he&&xt||!hr&&xt||!Vr)return-1}return 0}function yu(S,N,he){for(var Ne=-1,xt=S.criteria,Yt=N.criteria,hr=xt.length,Or=he.length;++Ne<hr;){var Vr=ze(xt[Ne],Yt[Ne]);if(Vr){if(Ne>=Or)return Vr;var Pn=he[Ne];return Vr*(Pn=="desc"?-1:1)}}return S.index-N.index}function Jo(S,N,he,Ne){for(var xt=-1,Yt=S.length,hr=he.length,Or=-1,Vr=N.length,Pn=pi(Yt-hr,0),Dn=yr(Vr+Pn),jn=!Ne;++Or<Vr;)Dn[Or]=N[Or];for(;++xt<hr;)(jn||xt<Yt)&&(Dn[he[xt]]=S[xt]);for(;Pn--;)Dn[Or++]=S[xt++];return Dn}function Tl(S,N,he,Ne){for(var xt=-1,Yt=S.length,hr=-1,Or=he.length,Vr=-1,Pn=N.length,Dn=pi(Yt-Or,0),jn=yr(Dn+Pn),Ai=!Ne;++xt<Dn;)jn[xt]=S[xt];for(var ea=xt;++Vr<Pn;)jn[ea+Vr]=N[Vr];for(;++hr<Or;)(Ai||xt<Yt)&&(jn[ea+he[hr]]=S[xt++]);return jn}function Ro(S,N){var he=-1,Ne=S.length;for(N||(N=yr(Ne));++he<Ne;)N[he]=S[he];return N}function $o(S,N,he,Ne){var xt=!he;he||(he={});for(var Yt=-1,hr=N.length;++Yt<hr;){var Or=N[Yt],Vr=Ne?Ne(he[Or],S[Or],Or,he,S):i;Vr===i&&(Vr=S[Or]),xt?wa(he,Or,Vr):Xi(he,Or,Vr)}return he}function Ho(S,N){return $o(S,ts(S),N)}function Gl(S,N){return $o(S,fo(S),N)}function Xu(S,N){return function(he,Ne){var xt=Za(he)?ta:ss,Yt=N?N():{};return xt(he,S,cn(Ne,2),Yt)}}function zu(S){return Ia(function(N,he){var Ne=-1,xt=he.length,Yt=xt>1?he[xt-1]:i,hr=xt>2?he[2]:i;for(Yt=S.length>3&&typeof Yt=="function"?(xt--,Yt):i,hr&&Zs(he[0],he[1],hr)&&(Yt=xt<3?i:Yt,xt=1),N=Hn(N);++Ne<xt;){var Or=he[Ne];Or&&S(N,Or,Ne,Yt)}return N})}function Wo(S,N){return function(he,Ne){if(he==null)return he;if(!Ll(he))return S(he,Ne);for(var xt=he.length,Yt=N?xt:-1,hr=Hn(he);(N?Yt--:++Yt<xt)&&Ne(hr[Yt],Yt,hr)!==!1;);return he}}function Vl(S){return function(N,he,Ne){for(var xt=-1,Yt=Hn(N),hr=Ne(N),Or=hr.length;Or--;){var Vr=hr[S?Or:++xt];if(he(Yt[Vr],Vr,Yt)===!1)break}return N}}function Kl(S,N,he){var Ne=N&R,xt=xu(S);function Yt(){var hr=this&&this!==oa&&this instanceof Yt?xt:S;return hr.apply(Ne?he:this,arguments)}return Yt}function au(S){return function(N){N=no(N);var he=ko(N)?ar(N):i,Ne=he?he[0]:N.charAt(0),xt=he?so(he,1).join(""):N.slice(1);return Ne[S]()+xt}}function bu(S){return function(N){return Ca(Pd(Td(N).replace(Pr,"")),S,"")}}function xu(S){return function(){var N=arguments;switch(N.length){case 0:return new S;case 1:return new S(N[0]);case 2:return new S(N[0],N[1]);case 3:return new S(N[0],N[1],N[2]);case 4:return new S(N[0],N[1],N[2],N[3]);case 5:return new S(N[0],N[1],N[2],N[3],N[4]);case 6:return new S(N[0],N[1],N[2],N[3],N[4],N[5]);case 7:return new S(N[0],N[1],N[2],N[3],N[4],N[5],N[6])}var he=wr(S.prototype),Ne=S.apply(he,N);return Ko(Ne)?Ne:he}}function pc(S,N,he){var Ne=xu(S);function xt(){for(var Yt=arguments.length,hr=yr(Yt),Or=Yt,Vr=Bn(xt);Or--;)hr[Or]=arguments[Or];var Pn=Yt<3&&hr[0]!==Vr&&hr[Yt-1]!==Vr?[]:Rs(hr,Vr);if(Yt-=Pn.length,Yt<he)return Ql(S,N,al,xt.placeholder,i,hr,Pn,i,i,he-Yt);var Dn=this&&this!==oa&&this instanceof xt?Ne:S;return Pa(Dn,this,hr)}return xt}function il(S){return function(N,he,Ne){var xt=Hn(N);if(!Ll(N)){var Yt=cn(he,3);N=Lu(N),he=function(Or){return Yt(xt[Or],Or,xt)}}var hr=S(N,he,Ne);return hr>-1?xt[Yt?N[hr]:hr]:i}}function vo(S){return O(function(N){var he=N.length,Ne=he,xt=gr.prototype.thru;for(S&&N.reverse();Ne--;){var Yt=N[Ne];if(typeof Yt!="function")throw new Nr(o);if(xt&&!hr&&rn(Yt)=="wrapper")var hr=new gr([],!0)}for(Ne=hr?Ne:he;++Ne<he;){Yt=N[Ne];var Or=rn(Yt),Vr=Or=="wrapper"?Re(Yt):i;Vr&&Dl(Vr[0])&&Vr[1]==(K|D|$|V)&&!Vr[4].length&&Vr[9]==1?hr=hr[rn(Vr[0])].apply(hr,Vr[3]):hr=Yt.length==1&&Dl(Yt)?hr[Or]():hr.thru(Yt)}return function(){var Pn=arguments,Dn=Pn[0];if(hr&&Pn.length==1&&Za(Dn))return hr.plant(Dn).value();for(var jn=0,Ai=he?N[jn].apply(this,Pn):Dn;++jn<he;)Ai=N[jn].call(this,Ai);return Ai}})}function al(S,N,he,Ne,xt,Yt,hr,Or,Vr,Pn){var Dn=N&K,jn=N&R,Ai=N&L,ea=N&(D|B),Sa=N&W,ns=Ai?i:xu(S);function Aa(){for(var vs=arguments.length,Cs=yr(vs),ic=vs;ic--;)Cs[ic]=arguments[ic];if(ea)var vl=Bn(Aa),ac=Eo(Cs,vl);if(Ne&&(Cs=Jo(Cs,Ne,xt,ea)),Yt&&(Cs=Tl(Cs,Yt,hr,ea)),vs-=ac,ea&&vs<Pn){var lu=Rs(Cs,vl);return Ql(S,N,al,Aa.placeholder,he,Cs,lu,Or,Vr,Pn-vs)}var Uc=jn?he:this,xf=Ai?Uc[S]:S;return vs=Cs.length,Or?Cs=Ol(Cs,Or):Sa&&vs>1&&Cs.reverse(),Dn&&Vr<vs&&(Cs.length=Vr),this&&this!==oa&&this instanceof Aa&&(xf=ns||xu(xf)),xf.apply(Uc,Cs)}return Aa}function kc(S,N){return function(he,Ne){return $l(he,S,N(Ne),{})}}function sl(S,N){return function(he,Ne){var xt;if(he===i&&Ne===i)return N;if(he!==i&&(xt=he),Ne!==i){if(xt===i)return Ne;typeof he=="string"||typeof Ne=="string"?(he=Zo(he),Ne=Zo(Ne)):(he=Pc(he),Ne=Pc(Ne)),xt=S(he,Ne)}return xt}}function Pl(S){return O(function(N){return N=Li(N,cs(cn())),Ia(function(he){var Ne=this;return S(N,function(xt){return Pa(xt,Ne,he)})})})}function Yl(S,N){N=N===i?" ":Zo(N);var he=N.length;if(he<2)return he?rl(N,S):N;var Ne=rl(N,gi(S/fr(N)));return ko(N)?so(ar(Ne),0,S).join(""):Ne.slice(0,S)}function ol(S,N,he,Ne){var xt=N&R,Yt=xu(S);function hr(){for(var Or=-1,Vr=arguments.length,Pn=-1,Dn=Ne.length,jn=yr(Dn+Vr),Ai=this&&this!==oa&&this instanceof hr?Yt:S;++Pn<Dn;)jn[Pn]=Ne[Pn];for(;Vr--;)jn[Pn++]=arguments[++Or];return Pa(Ai,xt?he:this,jn)}return hr}function uf(S){return function(N,he,Ne){return Ne&&typeof Ne!="number"&&Zs(N,he,Ne)&&(he=Ne=i),N=bf(N),he===i?(he=N,N=0):he=bf(he),Ne=Ne===i?N<he?1:-1:bf(Ne),cc(N,he,Ne,S)}}function Xl(S){return function(N,he){return typeof N=="string"&&typeof he=="string"||(N=Sc(N),he=Sc(he)),S(N,he)}}function Ql(S,N,he,Ne,xt,Yt,hr,Or,Vr,Pn){var Dn=N&D,jn=Dn?hr:i,Ai=Dn?i:hr,ea=Dn?Yt:i,Sa=Dn?i:Yt;N|=Dn?$:j,N&=~(Dn?j:$),N&P||(N&=~(R|L));var ns=[S,N,xt,ea,jn,Sa,Ai,Or,Vr,Pn],Aa=he.apply(i,ns);return Dl(S)&&wu(Aa,ns),Aa.placeholder=Ne,An(Aa,S,N)}function su(S){var N=Cn[S];return function(he,Ne){if(he=Sc(he),Ne=Ne==null?0:ua(Qa(Ne),292),Ne&&yi(he)){var xt=(no(he)+"e").split("e"),Yt=N(xt[0]+"e"+(+xt[1]+Ne));return xt=(no(Yt)+"e").split("e"),+(xt[0]+"e"+(+xt[1]-Ne))}return N(he)}}var Yc=$a&&1/Ds(new $a([,-0]))[1]==ne?function(S){return new $a(S)}:cd;function Eu(S){return function(N){var he=os(N);return he==Xe?Mo(N):he==Ue?hu(N):Vs(N,S(N))}}function go(S,N,he,Ne,xt,Yt,hr,Or){var Vr=N&L;if(!Vr&&typeof S!="function")throw new Nr(o);var Pn=Ne?Ne.length:0;if(Pn||(N&=~($|j),Ne=xt=i),hr=hr===i?hr:pi(Qa(hr),0),Or=Or===i?Or:Qa(Or),Pn-=xt?xt.length:0,N&j){var Dn=Ne,jn=xt;Ne=xt=i}var Ai=Vr?i:Re(S),ea=[S,N,he,Ne,xt,Dn,jn,Yt,hr,Or];if(Ai&&Qc(ea,Ai),S=ea[0],N=ea[1],he=ea[2],Ne=ea[3],xt=ea[4],Or=ea[9]=ea[9]===i?Vr?0:S.length:pi(ea[9]-Pn,0),!Or&&N&(D|B)&&(N&=~(D|B)),!N||N==R)var Sa=Kl(S,N,he);else N==D||N==B?Sa=pc(S,N,Or):(N==$||N==(R|$))&&!xt.length?Sa=ol(S,N,he,Ne):Sa=al.apply(i,ea);var ns=Ai?Tc:wu;return An(ns(Sa,ea),S,N)}function Il(S,N,he,Ne){return S===i||jc(S,Ti[he])&&!ui.call(Ne,he)?N:S}function ql(S,N,he,Ne,xt,Yt){return Ko(S)&&Ko(N)&&(Yt.set(N,S),to(S,N,i,ql,Yt),Yt.delete(N)),S}function _c(S){return Gf(S)?i:S}function mc(S,N,he,Ne,xt,Yt){var hr=he&b,Or=S.length,Vr=N.length;if(Or!=Vr&&!(hr&&Vr>Or))return!1;var Pn=Yt.get(S),Dn=Yt.get(N);if(Pn&&Dn)return Pn==N&&Dn==S;var jn=-1,Ai=!0,ea=he&A?new Te:i;for(Yt.set(S,N),Yt.set(N,S);++jn<Or;){var Sa=S[jn],ns=N[jn];if(Ne)var Aa=hr?Ne(ns,Sa,jn,N,S,Yt):Ne(Sa,ns,jn,S,N,Yt);if(Aa!==i){if(Aa)continue;Ai=!1;break}if(ea){if(!Ws(N,function(vs,Cs){if(!Do(ea,Cs)&&(Sa===vs||xt(Sa,vs,he,Ne,Yt)))return ea.push(Cs)})){Ai=!1;break}}else if(!(Sa===ns||xt(Sa,ns,he,Ne,Yt))){Ai=!1;break}}return Yt.delete(S),Yt.delete(N),Ai}function Xc(S,N,he,Ne,xt,Yt,hr){switch(he){case ct:if(S.byteLength!=N.byteLength||S.byteOffset!=N.byteOffset)return!1;S=S.buffer,N=N.buffer;case nt:return!(S.byteLength!=N.byteLength||!Yt(new Ms(S),new Ms(N)));case Ft:case _t:case It:return jc(+S,+N);case Qt:return S.name==N.name&&S.message==N.message;case et:case ye:return S==N+"";case Xe:var Or=Mo;case Ue:var Vr=Ne&b;if(Or||(Or=Ds),S.size!=N.size&&!Vr)return!1;var Pn=hr.get(S);if(Pn)return Pn==N;Ne|=A,hr.set(S,N);var Dn=mc(Or(S),Or(N),Ne,xt,Yt,hr);return hr.delete(S),Dn;case Pe:if(Hi)return Hi.call(S)==Hi.call(N)}return!1}function I(S,N,he,Ne,xt,Yt){var hr=he&b,Or=k(S),Vr=Or.length,Pn=k(N),Dn=Pn.length;if(Vr!=Dn&&!hr)return!1;for(var jn=Vr;jn--;){var Ai=Or[jn];if(!(hr?Ai in N:ui.call(N,Ai)))return!1}var ea=Yt.get(S),Sa=Yt.get(N);if(ea&&Sa)return ea==N&&Sa==S;var ns=!0;Yt.set(S,N),Yt.set(N,S);for(var Aa=hr;++jn<Vr;){Ai=Or[jn];var vs=S[Ai],Cs=N[Ai];if(Ne)var ic=hr?Ne(Cs,vs,Ai,N,S,Yt):Ne(vs,Cs,Ai,S,N,Yt);if(!(ic===i?vs===Cs||xt(vs,Cs,he,Ne,Yt):ic)){ns=!1;break}Aa||(Aa=Ai=="constructor")}if(ns&&!Aa){var vl=S.constructor,ac=N.constructor;vl!=ac&&"constructor"in S&&"constructor"in N&&!(typeof vl=="function"&&vl instanceof vl&&typeof ac=="function"&&ac instanceof ac)&&(ns=!1)}return Yt.delete(S),Yt.delete(N),ns}function O(S){return dl(ou(S,i,lf),S+"")}function k(S){return bl(S,Lu,ts)}function me(S){return bl(S,Ml,fo)}var Re=Ya?function(S){return Ya.get(S)}:cd;function rn(S){for(var N=S.name+"",he=co[N],Ne=ui.call(co,N)?he.length:0;Ne--;){var xt=he[Ne],Yt=xt.func;if(Yt==null||Yt==S)return xt.name}return N}function Bn(S){var N=ui.call(Ce,"placeholder")?Ce:S;return N.placeholder}function cn(){var S=Ce.iteratee||ud;return S=S===ud?Cc:S,arguments.length?S(arguments[0],arguments[1]):S}function Di(S,N){var he=S.__data__;return Ou(N)?he[typeof N=="string"?"string":"hash"]:he.map}function Ua(S){for(var N=Lu(S),he=N.length;he--;){var Ne=N[he],xt=S[Ne];N[he]=[Ne,xt,yc(xt)]}return N}function ma(S,N){var he=Oo(S,N);return Ul(he)?he:i}function yo(S){var N=ui.call(S,pn),he=S[pn];try{S[pn]=i;var Ne=!0}catch(Yt){}var xt=Os.call(S);return Ne&&(N?S[pn]=he:delete S[pn]),xt}var ts=Ni?function(S){return S==null?[]:(S=Hn(S),Ra(Ni(S),function(N){return Vt.call(S,N)}))}:fd,fo=Ni?function(S){for(var N=[];S;)Da(N,ts(S)),S=Qe(S);return N}:fd,os=zs;(qi&&os(new qi(new ArrayBuffer(1)))!=ct||Ii&&os(new Ii)!=Xe||ya&&os(ya.resolve())!=bt||$a&&os(new $a)!=Ue||Va&&os(new Va)!=$e)&&(os=function(S){var N=zs(S),he=N==ot?S.constructor:i,Ne=he?ca(he):"";if(Ne)switch(Ne){case La:return ct;case Xs:return Xe;case js:return bt;case na:return Ue;case ja:return $e}return N});function vc(S,N,he){for(var Ne=-1,xt=he.length;++Ne<xt;){var Yt=he[Ne],hr=Yt.size;switch(Yt.type){case"drop":S+=hr;break;case"dropRight":N-=hr;break;case"take":N=ua(N,S+hr);break;case"takeRight":S=pi(S,N-hr);break}}return{start:S,end:N}}function gc(S){var N=S.match(Gr);return N?N[1].split(Xr):[]}function ul(S,N,he){N=Iu(N,S);for(var Ne=-1,xt=N.length,Yt=!1;++Ne<xt;){var hr=ji(N[Ne]);if(!(Yt=S!=null&&he(S,hr)))break;S=S[hr]}return Yt||++Ne!=xt?Yt:(xt=S==null?0:S.length,!!xt&&Qf(xt)&&Lo(hr,xt)&&(Za(S)||Rf(S)))}function Rc(S){var N=S.length,he=new S.constructor(N);return N&&typeof S[0]=="string"&&ui.call(S,"index")&&(he.index=S.index,he.input=S.input),he}function ll(S){return typeof S.constructor=="function"&&!fl(S)?wr(Qe(S)):{}}function Si(S,N,he){var Ne=S.constructor;switch(N){case nt:return Oc(S);case Ft:case _t:return new Ne(+S);case ct:return Kc(S,he);case Gt:case Ht:case Oe:case Je:case Wt:case kt:case Zt:case Bt:case At:return Cl(S,he);case Xe:return new Ne;case It:case ye:return new Ne(S);case et:return nl(S);case Ue:return new Ne;case Pe:return So(S)}}function Jl(S,N){var he=N.length;if(!he)return S;var Ne=he-1;return N[Ne]=(he>1?"& ":"")+N[Ne],N=N.join(he>2?", ":" "),S.replace(St,`{
|
|
|
/* [wrapped with `+N+`] */
|
|
|
`)}function ec(S){return Za(S)||Rf(S)||!!(kr&&S&&S[kr])}function Lo(S,N){var he=typeof S;return N=N==null?ee:N,!!N&&(he=="number"||he!="symbol"&&yt.test(S))&&S>-1&&S%1==0&&S<N}function Zs(S,N,he){if(!Ko(he))return!1;var Ne=typeof N;return(Ne=="number"?Ll(he)&&Lo(N,he.length):Ne=="string"&&N in he)?jc(he[N],S):!1}function za(S,N){if(Za(S))return!1;var he=typeof S;return he=="number"||he=="symbol"||he=="boolean"||S==null||nc(S)?!0:xe.test(S)||!wt.test(S)||N!=null&&S in Hn(N)}function Ou(S){var N=typeof S;return N=="string"||N=="number"||N=="symbol"||N=="boolean"?S!=="__proto__":S===null}function Dl(S){var N=rn(S),he=Ce[N];if(typeof he!="function"||!(N in Yr.prototype))return!1;if(S===he)return!0;var Ne=Re(he);return!!Ne&&S===Ne[0]}function tc(S){return!!Fo&&Fo in S}var cl=ra?yf:dd;function fl(S){var N=S&&S.constructor,he=typeof N=="function"&&N.prototype||Ti;return S===he}function yc(S){return S===S&&!Ko(S)}function Lc(S,N){return function(he){return he==null?!1:he[S]===N&&(N!==i||S in Hn(he))}}function Zu(S){var N=kf(S,function(Ne){return he.size===a&&he.clear(),Ne}),he=N.cache;return N}function Qc(S,N){var he=S[1],Ne=N[1],xt=he|Ne,Yt=xt<(R|L|K),hr=Ne==K&&he==D||Ne==K&&he==V&&S[7].length<=N[8]||Ne==(K|V)&&N[7].length<=N[8]&&he==D;if(!(Yt||hr))return S;Ne&R&&(S[2]=N[2],xt|=he&R?0:P);var Or=N[3];if(Or){var Vr=S[3];S[3]=Vr?Jo(Vr,Or,N[4]):Or,S[4]=Vr?Rs(S[3],x):N[4]}return Or=N[5],Or&&(Vr=S[5],S[5]=Vr?Tl(Vr,Or,N[6]):Or,S[6]=Vr?Rs(S[5],x):N[6]),Or=N[7],Or&&(S[7]=Or),Ne&K&&(S[8]=S[8]==null?N[8]:ua(S[8],N[8])),S[9]==null&&(S[9]=N[9]),S[0]=N[0],S[1]=xt,S}function bc(S){var N=[];if(S!=null)for(var he in Hn(S))N.push(he);return N}function xc(S){return Os.call(S)}function ou(S,N,he){return N=pi(N===i?S.length-1:N,0),function(){for(var Ne=arguments,xt=-1,Yt=pi(Ne.length-N,0),hr=yr(Yt);++xt<Yt;)hr[xt]=Ne[N+xt];xt=-1;for(var Or=yr(N+1);++xt<N;)Or[xt]=Ne[xt];return Or[N]=he(hr),Pa(S,this,Or)}}function Hu(S,N){return N.length<2?S:Uo(S,iu(N,0,-1))}function Ol(S,N){for(var he=S.length,Ne=ua(N.length,he),xt=Ro(S);Ne--;){var Yt=N[Ne];S[Ne]=Lo(Yt,he)?xt[Yt]:i}return S}function rc(S,N){if(!(N==="constructor"&&typeof S[N]=="function")&&N!="__proto__")return S[N]}var wu=Gn(Tc),kl=ti||function(S,N){return oa.setTimeout(S,N)},dl=Gn(sf);function An(S,N,he){var Ne=N+"";return dl(S,Jl(Ne,va(gc(Ne),he)))}function Gn(S){var N=0,he=0;return function(){var Ne=Ys(),xt=q-(Ne-he);if(he=Ne,xt>0){if(++N>=ce)return arguments[0]}else N=0;return S.apply(i,arguments)}}function ki(S,N){var he=-1,Ne=S.length,xt=Ne-1;for(N=N===i?Ne:N;++he<N;){var Yt=vu(he,xt),hr=S[Yt];S[Yt]=S[he],S[he]=hr}return S.length=N,S}var xa=Zu(function(S){var N=[];return S.charCodeAt(0)===46&&N.push(""),S.replace(Ke,function(he,Ne,xt,Yt){N.push(xt?Yt.replace(pr,"$1"):Ne||he)}),N});function ji(S){if(typeof S=="string"||nc(S))return S;var N=S+"";return N=="0"&&1/S==-ne?"-0":N}function ca(S){if(S!=null){try{return Ts.call(S)}catch(N){}try{return S+""}catch(N){}}return""}function va(S,N){return Ma(Se,function(he){var Ne="_."+he[0];N&he[1]&&!is(S,Ne)&&S.push(Ne)}),S.sort()}function Xa(S){if(S instanceof Yr)return S.clone();var N=new gr(S.__wrapped__,S.__chain__);return N.__actions__=Ro(S.__actions__),N.__index__=S.__index__,N.__values__=S.__values__,N}function Gi(S,N,he){(he?Zs(S,N,he):N===i)?N=1:N=pi(Qa(N),0);var Ne=S==null?0:S.length;if(!Ne||N<1)return[];for(var xt=0,Yt=0,hr=yr(gi(Ne/N));xt<Ne;)hr[Yt++]=iu(S,xt,xt+=N);return hr}function us(S){for(var N=-1,he=S==null?0:S.length,Ne=0,xt=[];++N<he;){var Yt=S[N];Yt&&(xt[Ne++]=Yt)}return xt}function ku(){var S=arguments.length;if(!S)return[];for(var N=yr(S-1),he=arguments[0],Ne=S;Ne--;)N[Ne-1]=arguments[Ne];return Da(Za(he)?Ro(he):[he],ks(N,1))}var Wu=Ia(function(S,N){return uu(S)?Ps(S,ks(N,1,uu,!0)):[]}),Gu=Ia(function(S,N){var he=Vo(N);return uu(he)&&(he=i),uu(S)?Ps(S,ks(N,1,uu,!0),cn(he,2)):[]}),Qu=Ia(function(S,N){var he=Vo(N);return uu(he)&&(he=i),uu(S)?Ps(S,ks(N,1,uu,!0),i,he):[]});function hl(S,N,he){var Ne=S==null?0:S.length;return Ne?(N=he||N===i?1:Qa(N),iu(S,N<0?0:N,Ne)):[]}function Cf(S,N,he){var Ne=S==null?0:S.length;return Ne?(N=he||N===i?1:Qa(N),N=Ne-N,iu(S,0,N<0?0:N)):[]}function Ef(S,N){return S&&S.length?Ic(S,cn(N,3),!0,!0):[]}function pl(S,N){return S&&S.length?Ic(S,cn(N,3),!0):[]}function wf(S,N,he,Ne){var xt=S==null?0:S.length;return xt?(he&&typeof he!="number"&&Zs(S,N,he)&&(he=0,Ne=xt),Bo(S,N,he,Ne)):[]}function Mc(S,N,he){var Ne=S==null?0:S.length;if(!Ne)return-1;var xt=he==null?0:Qa(he);return xt<0&&(xt=pi(Ne+xt,0)),Ka(S,cn(N,3),xt)}function qc(S,N,he){var Ne=S==null?0:S.length;if(!Ne)return-1;var xt=Ne-1;return he!==i&&(xt=Qa(he),xt=he<0?pi(Ne+xt,0):ua(xt,Ne-1)),Ka(S,cn(N,3),xt,!0)}function lf(S){var N=S==null?0:S.length;return N?ks(S,1):[]}function qu(S){var N=S==null?0:S.length;return N?ks(S,ne):[]}function Tf(S,N){var he=S==null?0:S.length;return he?(N=N===i?1:Qa(N),ks(S,N)):[]}function Ru(S){for(var N=-1,he=S==null?0:S.length,Ne={};++N<he;){var xt=S[N];Ne[xt[0]]=xt[1]}return Ne}function Fc(S){return S&&S.length?S[0]:i}function cf(S,N,he){var Ne=S==null?0:S.length;if(!Ne)return-1;var xt=he==null?0:Qa(he);return xt<0&&(xt=pi(Ne+xt,0)),uo(S,N,xt)}function Go(S){var N=S==null?0:S.length;return N?iu(S,0,-1):[]}var Jc=Ia(function(S){var N=Li(S,Wl);return N.length&&N[0]===S[0]?Nl(N):[]}),Bc=Ia(function(S){var N=Vo(S),he=Li(S,Wl);return N===Vo(he)?N=i:he.pop(),he.length&&he[0]===S[0]?Nl(he,cn(N,2)):[]}),Ju=Ia(function(S){var N=Vo(S),he=Li(S,Wl);return N=typeof N=="function"?N:i,N&&he.pop(),he.length&&he[0]===S[0]?Nl(he,i,N):[]});function _l(S,N){return S==null?"":pa.call(S,N)}function Vo(S){var N=S==null?0:S.length;return N?S[N-1]:i}function ff(S,N,he){var Ne=S==null?0:S.length;if(!Ne)return-1;var xt=Ne;return he!==i&&(xt=Qa(he),xt=xt<0?pi(Ne+xt,0):ua(xt,Ne-1)),N===N?Xt(S,N,xt):Ka(S,Po,xt,!0)}function df(S,N){return S&&S.length?oc(S,Qa(N)):i}var Nc=Ia(Ec);function Ec(S,N){return S&&S.length&&N&&N.length?nu(S,N):S}function ef(S,N,he){return S&&S.length&&N&&N.length?nu(S,N,cn(he,2)):S}function tf(S,N,he){return S&&S.length&&N&&N.length?nu(S,N,i,he):S}var hf=O(function(S,N){var he=S==null?0:S.length,Ne=fs(S,N);return Sl(S,Li(N,function(xt){return Lo(xt,he)?+xt:xt}).sort(ze)),Ne});function Pf(S,N){var he=[];if(!(S&&S.length))return he;var Ne=-1,xt=[],Yt=S.length;for(N=cn(N,3);++Ne<Yt;){var hr=S[Ne];N(hr,Ne,S)&&(he.push(hr),xt.push(Ne))}return Sl(S,xt),he}function wc(S){return S==null?S:Oa.call(S)}function $f(S,N,he){var Ne=S==null?0:S.length;return Ne?(he&&typeof he!="number"&&Zs(S,N,he)?(N=0,he=Ne):(N=N==null?0:Qa(N),he=he===i?Ne:Qa(he)),iu(S,N,he)):[]}function If(S,N){return dc(S,N)}function pf(S,N,he){return Al(S,N,cn(he,2))}function jf(S,N){var he=S==null?0:S.length;if(he){var Ne=dc(S,N);if(Ne<he&&jc(S[Ne],N))return Ne}return-1}function _f(S,N){return dc(S,N,!0)}function Df(S,N,he){return Al(S,N,cn(he,2),!0)}function Lf(S,N){var he=S==null?0:S.length;if(he){var Ne=dc(S,N,!0)-1;if(jc(S[Ne],N))return Ne}return-1}function mf(S){return S&&S.length?hc(S):[]}function Uf(S,N){return S&&S.length?hc(S,cn(N,2)):[]}function Sf(S){var N=S==null?0:S.length;return N?iu(S,1,N):[]}function v(S,N,he){return S&&S.length?(N=he||N===i?1:Qa(N),iu(S,0,N<0?0:N)):[]}function T(S,N,he){var Ne=S==null?0:S.length;return Ne?(N=he||N===i?1:Qa(N),N=Ne-N,iu(S,N<0?0:N,Ne)):[]}function z(S,N){return S&&S.length?Ic(S,cn(N,3),!1,!0):[]}function ge(S,N){return S&&S.length?Ic(S,cn(N,3)):[]}var Le=Ia(function(S){return gu(ks(S,1,uu,!0))}),st=Ia(function(S){var N=Vo(S);return uu(N)&&(N=i),gu(ks(S,1,uu,!0),cn(N,2))}),w=Ia(function(S){var N=Vo(S);return N=typeof N=="function"?N:i,gu(ks(S,1,uu,!0),i,N)});function t(S){return S&&S.length?gu(S):[]}function n(S,N){return S&&S.length?gu(S,cn(N,2)):[]}function s(S,N){return N=typeof N=="function"?N:i,S&&S.length?gu(S,i,N):[]}function m(S){if(!(S&&S.length))return[];var N=0;return S=Ra(S,function(he){if(uu(he))return N=pi(he.length,N),!0}),Gs(N,function(he){return Li(S,li(he))})}function E(S,N){if(!(S&&S.length))return[];var he=m(S);return N==null?he:Li(he,function(Ne){return Pa(N,i,Ne)})}var C=Ia(function(S,N){return uu(S)?Ps(S,N):[]}),U=Ia(function(S){return Hl(Ra(S,uu))}),G=Ia(function(S){var N=Vo(S);return uu(N)&&(N=i),Hl(Ra(S,uu),cn(N,2))}),H=Ia(function(S){var N=Vo(S);return N=typeof N=="function"?N:i,Hl(Ra(S,uu),i,N)}),se=Ia(m);function ue(S,N){return ao(S||[],N||[],Xi)}function ve(S,N){return ao(S||[],N||[],ju)}var Ae=Ia(function(S){var N=S.length,he=N>1?S[N-1]:i;return he=typeof he=="function"?(S.pop(),he):i,E(S,he)});function we(S){var N=Ce(S);return N.__chain__=!0,N}function qe(S,N){return N(S),S}function it(S,N){return N(S)}var jt=O(function(S){var N=S.length,he=N?S[0]:0,Ne=this.__wrapped__,xt=function(Yt){return fs(Yt,S)};return N>1||this.__actions__.length||!(Ne instanceof Yr)||!Lo(he)?this.thru(xt):(Ne=Ne.slice(he,+he+(N?1:0)),Ne.__actions__.push({func:it,args:[xt],thisArg:i}),new gr(Ne,this.__chain__).thru(function(Yt){return N&&!Yt.length&&Yt.push(i),Yt}))});function ir(){return we(this)}function er(){return new gr(this.value(),this.__chain__)}function Fr(){this.__values__===i&&(this.__values__=gd(this.value()));var S=this.__index__>=this.__values__.length,N=S?i:this.__values__[this.__index__++];return{done:S,value:N}}function Zr(){return this}function ln(S){for(var N,he=this;he instanceof Qr;){var Ne=Xa(he);Ne.__index__=0,Ne.__values__=i,N?xt.__wrapped__=Ne:N=Ne;var xt=Ne;he=he.__wrapped__}return xt.__wrapped__=S,N}function Wr(){var S=this.__wrapped__;if(S instanceof Yr){var N=S;return this.__actions__.length&&(N=new Yr(this)),N=N.reverse(),N.__actions__.push({func:it,args:[wc],thisArg:i}),new gr(N,this.__chain__)}return this.thru(wc)}function an(){return Vc(this.__wrapped__,this.__actions__)}var yn=Xu(function(S,N,he){ui.call(S,he)?++S[he]:wa(S,he,1)});function Kr(S,N,he){var Ne=Za(S)?On:Bl;return he&&Zs(S,N,he)&&(N=i),Ne(S,cn(N,3))}function Vn(S,N){var he=Za(S)?Ra:ru;return he(S,cn(N,3))}var ci=il(Mc),rs=il(qc);function ba(S,N){return ks(Ba(S,N),1)}function Ji(S,N){return ks(Ba(S,N),ne)}function Ri(S,N,he){return he=he===i?1:Qa(he),ks(Ba(S,N),he)}function Qi(S,N){var he=Za(S)?Ma:_o;return he(S,cn(N,3))}function Ki(S,N){var he=Za(S)?Hs:qs;return he(S,cn(N,3))}var Kn=Xu(function(S,N,he){ui.call(S,he)?S[he].push(N):wa(S,he,[N])});function ri(S,N,he,Ne){S=Ll(S)?S:Nf(S),he=he&&!Ne?Qa(he):0;var xt=S.length;return he<0&&(he=pi(xt+he,0)),qf(S)?he<=xt&&S.indexOf(N,he)>-1:!!xt&&uo(S,N,he)>-1}var Ta=Ia(function(S,N,he){var Ne=-1,xt=typeof N=="function",Yt=Ll(S)?yr(S.length):[];return _o(S,function(hr){Yt[++Ne]=xt?Pa(N,hr,he):ii(hr,N,he)}),Yt}),Ea=Xu(function(S,N,he){wa(S,he,N)});function Ba(S,N){var he=Za(S)?Li:mu;return he(S,cn(N,3))}function As(S,N,he,Ne){return S==null?[]:(Za(N)||(N=N==null?[]:[N]),he=Ne?i:he,Za(he)||(he=he==null?[]:[he]),wl(S,N,he))}var Bs=Xu(function(S,N,he){S[he?0:1].push(N)},function(){return[[],[]]});function oo(S,N,he){var Ne=Za(S)?Ca:Fa,xt=arguments.length<3;return Ne(S,cn(N,4),he,xt,_o)}function Vu(S,N,he){var Ne=Za(S)?ls:Fa,xt=arguments.length<3;return Ne(S,cn(N,4),he,xt,qs)}function el(S,N){var he=Za(S)?Ra:ru;return he(S,Ff(cn(N,3)))}function rf(S){var N=Za(S)?lr:Hc;return N(S)}function Vf(S,N,he){(he?Zs(S,N,he):N===i)?N=1:N=Qa(N);var Ne=Za(S)?Ei:Wc;return Ne(S,N)}function ed(S){var N=Za(S)?ia:fc;return N(S)}function td(S){if(S==null)return 0;if(Ll(S))return qf(S)?fr(S):S.length;var N=os(S);return N==Xe||N==Ue?S.size:El(S).length}function zf(S,N,he){var Ne=Za(S)?Ws:Gc;return he&&Zs(S,N,he)&&(N=i),Ne(S,cn(N,3))}var Zf=Ia(function(S,N){if(S==null)return[];var he=N.length;return he>1&&Zs(S,N[0],N[1])?N=[]:he>2&&Zs(N[0],N[1],N[2])&&(N=[N[0]]),wl(S,ks(N,1),[])}),Hf=Wn||function(){return oa.Date.now()};function Is(S,N){if(typeof N!="function")throw new Nr(o);return S=Qa(S),function(){if(--S<1)return N.apply(this,arguments)}}function Su(S,N,he){return N=he?i:N,N=S&&N==null?S.length:N,go(S,K,i,i,i,i,N)}function ml(S,N){var he;if(typeof N!="function")throw new Nr(o);return S=Qa(S),function(){return--S>0&&(he=N.apply(this,arguments)),S<=1&&(N=i),he}}var $c=Ia(function(S,N,he){var Ne=R;if(he.length){var xt=Rs(he,Bn($c));Ne|=$}return go(S,Ne,N,he,xt)}),Rl=Ia(function(S,N,he){var Ne=R|L;if(he.length){var xt=Rs(he,Bn(Rl));Ne|=$}return go(N,Ne,S,he,xt)});function vf(S,N,he){N=he?i:N;var Ne=go(S,D,i,i,i,i,i,N);return Ne.placeholder=vf.placeholder,Ne}function nf(S,N,he){N=he?i:N;var Ne=go(S,B,i,i,i,i,i,N);return Ne.placeholder=nf.placeholder,Ne}function Wf(S,N,he){var Ne,xt,Yt,hr,Or,Vr,Pn=0,Dn=!1,jn=!1,Ai=!0;if(typeof S!="function")throw new Nr(o);N=Sc(N)||0,Ko(he)&&(Dn=!!he.leading,jn="maxWait"in he,Yt=jn?pi(Sc(he.maxWait)||0,N):Yt,Ai="trailing"in he?!!he.trailing:Ai);function ea(lu){var Uc=Ne,xf=xt;return Ne=xt=i,Pn=lu,hr=S.apply(xf,Uc),hr}function Sa(lu){return Pn=lu,Or=kl(vs,N),Dn?ea(lu):hr}function ns(lu){var Uc=lu-Vr,xf=lu-Pn,Od=N-Uc;return jn?ua(Od,Yt-xf):Od}function Aa(lu){var Uc=lu-Vr,xf=lu-Pn;return Vr===i||Uc>=N||Uc<0||jn&&xf>=Yt}function vs(){var lu=Hf();if(Aa(lu))return Cs(lu);Or=kl(vs,ns(lu))}function Cs(lu){return Or=i,Ai&&Ne?ea(lu):(Ne=xt=i,hr)}function ic(){Or!==i&&Yu(Or),Pn=0,Ne=Vr=xt=Or=i}function vl(){return Or===i?hr:Cs(Hf())}function ac(){var lu=Hf(),Uc=Aa(lu);if(Ne=arguments,xt=this,Vr=lu,Uc){if(Or===i)return Sa(Vr);if(jn)return Yu(Or),Or=kl(vs,N),ea(Vr)}return Or===i&&(Or=kl(vs,N)),hr}return ac.cancel=ic,ac.flush=vl,ac}var Mf=Ia(function(S,N){return Xo(S,1,N)}),Kf=Ia(function(S,N,he){return Xo(S,Sc(N)||0,he)});function Of(S){return go(S,W)}function kf(S,N){if(typeof S!="function"||N!=null&&typeof N!="function")throw new Nr(o);var he=function(){var Ne=arguments,xt=N?N.apply(this,Ne):Ne[0],Yt=he.cache;if(Yt.has(xt))return Yt.get(xt);var hr=S.apply(this,Ne);return he.cache=Yt.set(xt,hr)||Yt,hr};return he.cache=new(kf.Cache||pu),he}kf.Cache=pu;function Ff(S){if(typeof S!="function")throw new Nr(o);return function(){var N=arguments;switch(N.length){case 0:return!S.call(this);case 1:return!S.call(this,N[0]);case 2:return!S.call(this,N[0],N[1]);case 3:return!S.call(this,N[0],N[1],N[2])}return!S.apply(this,N)}}function Yf(S){return ml(2,S)}var Xf=Du(function(S,N){N=N.length==1&&Za(N[0])?Li(N[0],cs(cn())):Li(ks(N,1),cs(cn()));var he=N.length;return Ia(function(Ne){for(var xt=-1,Yt=ua(Ne.length,he);++xt<Yt;)Ne[xt]=N[xt].call(this,Ne[xt]);return Pa(S,this,Ne)})}),gf=Ia(function(S,N){var he=Rs(N,Bn(gf));return go(S,$,i,N,he)}),hd=Ia(function(S,N){var he=Rs(N,Bn(hd));return go(S,j,i,N,he)}),Ld=O(function(S,N){return go(S,V,i,i,i,N)});function Md(S,N){if(typeof S!="function")throw new Nr(o);return N=N===i?N:Qa(N),Ia(S,N)}function Fd(S,N){if(typeof S!="function")throw new Nr(o);return N=N==null?0:pi(Qa(N),0),Ia(function(he){var Ne=he[N],xt=so(he,0,N);return Ne&&Da(xt,Ne),Pa(S,this,xt)})}function Bd(S,N,he){var Ne=!0,xt=!0;if(typeof S!="function")throw new Nr(o);return Ko(he)&&(Ne="leading"in he?!!he.leading:Ne,xt="trailing"in he?!!he.trailing:xt),Wf(S,N,{leading:Ne,maxWait:N,trailing:xt})}function Nd(S){return Su(S,1)}function $d(S,N){return gf(Dc(N),S)}function jd(){if(!arguments.length)return[];var S=arguments[0];return Za(S)?S:[S]}function Ud(S){return _i(S,_)}function zd(S,N){return N=typeof N=="function"?N:i,_i(S,_,N)}function Zd(S){return _i(S,p|_)}function Hd(S,N){return N=typeof N=="function"?N:i,_i(S,p|_,N)}function Wd(S,N){return N==null||ms(S,N,Lu(N))}function jc(S,N){return S===N||S!==S&&N!==N}var Gd=Xl(Qo),Vd=Xl(function(S,N){return S>=N}),Rf=sc(function(){return arguments}())?sc:function(S){return eu(S)&&ui.call(S,"callee")&&!Vt.call(S,"callee")},Za=yr.isArray,Kd=qa?cs(qa):eo;function Ll(S){return S!=null&&Qf(S.length)&&!yf(S)}function uu(S){return eu(S)&&Ll(S)}function Yd(S){return S===!0||S===!1||eu(S)&&zs(S)==Ft}var Af=Fi||dd,Xd=Ha?cs(Ha):Ac;function Qd(S){return eu(S)&&S.nodeType===1&&!Gf(S)}function qd(S){if(S==null)return!0;if(Ll(S)&&(Za(S)||typeof S=="string"||typeof S.splice=="function"||Af(S)||Bf(S)||Rf(S)))return!S.length;var N=os(S);if(N==Xe||N==Ue)return!S.size;if(fl(S))return!El(S).length;for(var he in S)if(ui.call(S,he))return!1;return!0}function Jd(S,N){return fu(S,N)}function e0(S,N,he){he=typeof he=="function"?he:i;var Ne=he?he(S,N):i;return Ne===i?fu(S,N,i,he):!!Ne}function rd(S){if(!eu(S))return!1;var N=zs(S);return N==Qt||N==Pt||typeof S.message=="string"&&typeof S.name=="string"&&!Gf(S)}function t0(S){return typeof S=="number"&&yi(S)}function yf(S){if(!Ko(S))return!1;var N=zs(S);return N==Jt||N==qt||N==Fe||N==ht}function pd(S){return typeof S=="number"&&S==Qa(S)}function Qf(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=ee}function Ko(S){var N=typeof S;return S!=null&&(N=="object"||N=="function")}function eu(S){return S!=null&&typeof S=="object"}var _d=Ss?cs(Ss):$u;function r0(S,N){return S===N||jl(S,N,Ua(N))}function n0(S,N,he){return he=typeof he=="function"?he:i,jl(S,N,Ua(N),he)}function i0(S){return md(S)&&S!=+S}function a0(S){if(cl(S))throw new zn(f);return Ul(S)}function s0(S){return S===null}function o0(S){return S==null}function md(S){return typeof S=="number"||eu(S)&&zs(S)==It}function Gf(S){if(!eu(S)||zs(S)!=ot)return!1;var N=Qe(S);if(N===null)return!0;var he=ui.call(N,"constructor")&&N.constructor;return typeof he=="function"&&he instanceof he&&Ts.call(he)==ha}var nd=Bi?cs(Bi):mo;function u0(S){return pd(S)&&S>=-ee&&S<=ee}var vd=hs?cs(hs):zo;function qf(S){return typeof S=="string"||!Za(S)&&eu(S)&&zs(S)==ye}function nc(S){return typeof S=="symbol"||eu(S)&&zs(S)==Pe}var Bf=Ao?cs(Ao):af;function l0(S){return S===i}function c0(S){return eu(S)&&os(S)==$e}function f0(S){return eu(S)&&zs(S)==He}var d0=Xl(zl),h0=Xl(function(S,N){return S<=N});function gd(S){if(!S)return[];if(Ll(S))return qf(S)?ar(S):Ro(S);if(jr&&S[jr])return du(S[jr]());var N=os(S),he=N==Xe?Mo:N==Ue?Ds:Nf;return he(S)}function bf(S){if(!S)return S===0?S:0;if(S=Sc(S),S===ne||S===-ne){var N=S<0?-1:1;return N*ie}return S===S?S:0}function Qa(S){var N=bf(S),he=N%1;return N===N?he?N-he:N:0}function yd(S){return S?xs(Qa(S),0,M):0}function Sc(S){if(typeof S=="number")return S;if(nc(S))return F;if(Ko(S)){var N=typeof S.valueOf=="function"?S.valueOf():S;S=Ko(N)?N+"":N}if(typeof S!="string")return S===0?S:+S;S=Yo(S);var he=sr.test(S);return he||vt.test(S)?Mi(S.slice(2),he?2:8):on.test(S)?F:+S}function bd(S){return $o(S,Ml(S))}function p0(S){return S?xs(Qa(S),-ee,ee):S===0?S:0}function no(S){return S==null?"":Zo(S)}var _0=zu(function(S,N){if(fl(N)||Ll(N)){$o(N,Lu(N),S);return}for(var he in N)ui.call(N,he)&&Xi(S,he,N[he])}),xd=zu(function(S,N){$o(N,Ml(N),S)}),Jf=zu(function(S,N,he,Ne){$o(N,Ml(N),S,Ne)}),m0=zu(function(S,N,he,Ne){$o(N,Lu(N),S,Ne)}),v0=O(fs);function g0(S,N){var he=wr(S);return N==null?he:bs(he,N)}var y0=Ia(function(S,N){S=Hn(S);var he=-1,Ne=N.length,xt=Ne>2?N[2]:i;for(xt&&Zs(N[0],N[1],xt)&&(Ne=1);++he<Ne;)for(var Yt=N[he],hr=Ml(Yt),Or=-1,Vr=hr.length;++Or<Vr;){var Pn=hr[Or],Dn=S[Pn];(Dn===i||jc(Dn,Ti[Pn])&&!ui.call(S,Pn))&&(S[Pn]=Yt[Pn])}return S}),b0=Ia(function(S){return S.push(i,ql),Pa(Ed,i,S)});function x0(S,N){return ga(S,cn(N,3),Js)}function E0(S,N){return ga(S,cn(N,3),gl)}function w0(S,N){return S==null?S:Bu(S,cn(N,3),Ml)}function S0(S,N){return S==null?S:cu(S,cn(N,3),Ml)}function A0(S,N){return S&&Js(S,cn(N,3))}function C0(S,N){return S&&gl(S,cn(N,3))}function T0(S){return S==null?[]:yl(S,Lu(S))}function P0(S){return S==null?[]:yl(S,Ml(S))}function id(S,N,he){var Ne=S==null?i:Uo(S,N);return Ne===i?he:Ne}function I0(S,N){return S!=null&&ul(S,N,_u)}function ad(S,N){return S!=null&&ul(S,N,xl)}var D0=kc(function(S,N,he){N!=null&&typeof N.toString!="function"&&(N=Os.call(N)),S[N]=he},od(Fl)),O0=kc(function(S,N,he){N!=null&&typeof N.toString!="function"&&(N=Os.call(N)),ui.call(S,N)?S[N].push(he):S[N]=[he]},cn),k0=Ia(ii);function Lu(S){return Ll(S)?Rn(S):El(S)}function Ml(S){return Ll(S)?Rn(S,!0):Zc(S)}function R0(S,N){var he={};return N=cn(N,3),Js(S,function(Ne,xt,Yt){wa(he,N(Ne,xt,Yt),Ne)}),he}function L0(S,N){var he={};return N=cn(N,3),Js(S,function(Ne,xt,Yt){wa(he,xt,N(Ne,xt,Yt))}),he}var M0=zu(function(S,N,he){to(S,N,he)}),Ed=zu(function(S,N,he,Ne){to(S,N,he,Ne)}),F0=O(function(S,N){var he={};if(S==null)return he;var Ne=!1;N=Li(N,function(Yt){return Yt=Iu(Yt,S),Ne||(Ne=Yt.length>1),Yt}),$o(S,me(S),he),Ne&&(he=_i(he,p|y|_,_c));for(var xt=N.length;xt--;)Zl(he,N[xt]);return he});function B0(S,N){return wd(S,Ff(cn(N)))}var N0=O(function(S,N){return S==null?{}:ro(S,N)});function wd(S,N){if(S==null)return{};var he=Li(me(S),function(Ne){return[Ne]});return N=cn(N),uc(S,he,function(Ne,xt){return N(Ne,xt[0])})}function $0(S,N,he){N=Iu(N,S);var Ne=-1,xt=N.length;for(xt||(xt=1,S=i);++Ne<xt;){var Yt=S==null?i:S[ji(N[Ne])];Yt===i&&(Ne=xt,Yt=he),S=yf(Yt)?Yt.call(S):Yt}return S}function j0(S,N,he){return S==null?S:ju(S,N,he)}function U0(S,N,he,Ne){return Ne=typeof Ne=="function"?Ne:i,S==null?S:ju(S,N,he,Ne)}var Sd=Eu(Lu),Ad=Eu(Ml);function z0(S,N,he){var Ne=Za(S),xt=Ne||Af(S)||Bf(S);if(N=cn(N,4),he==null){var Yt=S&&S.constructor;xt?he=Ne?new Yt:[]:Ko(S)?he=yf(Yt)?wr(Qe(S)):{}:he={}}return(xt?Ma:Js)(S,function(hr,Or,Vr){return N(he,hr,Or,Vr)}),he}function Z0(S,N){return S==null?!0:Zl(S,N)}function H0(S,N,he){return S==null?S:Uu(S,N,Dc(he))}function W0(S,N,he,Ne){return Ne=typeof Ne=="function"?Ne:i,S==null?S:Uu(S,N,Dc(he),Ne)}function Nf(S){return S==null?[]:Io(S,Lu(S))}function G0(S){return S==null?[]:Io(S,Ml(S))}function V0(S,N,he){return he===i&&(he=N,N=i),he!==i&&(he=Sc(he),he=he===he?he:0),N!==i&&(N=Sc(N),N=N===N?N:0),xs(Sc(S),N,he)}function K0(S,N,he){return N=bf(N),he===i?(he=N,N=0):he=bf(he),S=Sc(S),qo(S,N,he)}function Y0(S,N,he){if(he&&typeof he!="boolean"&&Zs(S,N,he)&&(N=he=i),he===i&&(typeof N=="boolean"?(he=N,N=i):typeof S=="boolean"&&(he=S,S=i)),S===i&&N===i?(S=0,N=1):(S=bf(S),N===i?(N=S,S=0):N=bf(N)),S>N){var Ne=S;S=N,N=Ne}if(he||S%1||N%1){var xt=Zi();return ua(S+xt*(N-S+ai("1e-"+((xt+"").length-1))),N)}return vu(S,N)}var X0=bu(function(S,N,he){return N=N.toLowerCase(),S+(he?Cd(N):N)});function Cd(S){return sd(no(S).toLowerCase())}function Td(S){return S=no(S),S&&S.replace(Nt,lo).replace(br,"")}function Q0(S,N,he){S=no(S),N=Zo(N);var Ne=S.length;he=he===i?Ne:xs(Qa(he),0,Ne);var xt=he;return he-=N.length,he>=0&&S.slice(he,xt)==N}function q0(S){return S=no(S),S&&dt.test(S)?S.replace(Ot,Ks):S}function J0(S){return S=no(S),S&&Lt.test(S)?S.replace(gt,"\\$&"):S}var eh=bu(function(S,N,he){return S+(he?"-":"")+N.toLowerCase()}),th=bu(function(S,N,he){return S+(he?" ":"")+N.toLowerCase()}),rh=au("toLowerCase");function nh(S,N,he){S=no(S),N=Qa(N);var Ne=N?fr(S):0;if(!N||Ne>=N)return S;var xt=(N-Ne)/2;return Yl(wi(xt),he)+S+Yl(gi(xt),he)}function ih(S,N,he){S=no(S),N=Qa(N);var Ne=N?fr(S):0;return N&&Ne<N?S+Yl(N-Ne,he):S}function ah(S,N,he){S=no(S),N=Qa(N);var Ne=N?fr(S):0;return N&&Ne<N?Yl(N-Ne,he)+S:S}function sh(S,N,he){return he||N==null?N=0:N&&(N=+N),_s(no(S).replace(Be,""),N||0)}function oh(S,N,he){return(he?Zs(S,N,he):N===i)?N=1:N=Qa(N),rl(no(S),N)}function uh(){var S=arguments,N=no(S[0]);return S.length<3?N:N.replace(S[1],S[2])}var lh=bu(function(S,N,he){return S+(he?"_":"")+N.toLowerCase()});function ch(S,N,he){return he&&typeof he!="number"&&Zs(S,N,he)&&(N=he=i),he=he===i?M:he>>>0,he?(S=no(S),S&&(typeof N=="string"||N!=null&&!nd(N))&&(N=Zo(N),!N&&ko(S))?so(ar(S),0,he):S.split(N,he)):[]}var fh=bu(function(S,N,he){return S+(he?" ":"")+sd(N)});function dh(S,N,he){return S=no(S),he=he==null?0:xs(Qa(he),0,S.length),N=Zo(N),S.slice(he,he+N.length)==N}function hh(S,N,he){var Ne=Ce.templateSettings;he&&Zs(S,N,he)&&(N=i),S=no(S),N=Jf({},N,Ne,Il);var xt=Jf({},N.imports,Ne.imports,Il),Yt=Lu(xt),hr=Io(xt,Yt),Or,Vr,Pn=0,Dn=N.interpolate||Cr,jn="__p += '",Ai=oi((N.escape||Cr).source+"|"+Dn.source+"|"+(Dn===ke?$r:Cr).source+"|"+(N.evaluate||Cr).source+"|$","g"),ea="//# sourceURL="+(ui.call(N,"sourceURL")?(N.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tn+"]")+`
|
|
|
`;S.replace(Ai,function(Aa,vs,Cs,ic,vl,ac){return Cs||(Cs=ic),jn+=S.slice(Pn,ac).replace(vr,Mu),vs&&(Or=!0,jn+=`' +
|
|
|
__e(`+vs+`) +
|
|
|
'`),vl&&(Vr=!0,jn+=`';
|
|
|
`+vl+`;
|
|
|
__p += '`),Cs&&(jn+=`' +
|
|
|
((__t = (`+Cs+`)) == null ? '' : __t) +
|
|
|
'`),Pn=ac+Aa.length,Aa}),jn+=`';
|
|
|
`;var Sa=ui.call(N,"variable")&&N.variable;if(!Sa)jn=`with (obj) {
|
|
|
`+jn+`
|
|
|
}
|
|
|
`;else if(Mr.test(Sa))throw new zn(h);jn=(Vr?jn.replace(Kt,""):jn).replace(We,"$1").replace(fe,"$1;"),jn="function("+(Sa||"obj")+`) {
|
|
|
`+(Sa?"":`obj || (obj = {});
|
|
|
`)+"var __t, __p = ''"+(Or?", __e = _.escape":"")+(Vr?`, __j = Array.prototype.join;
|
|
|
function print() { __p += __j.call(arguments, '') }
|
|
|
`:`;
|
|
|
`)+jn+`return __p
|
|
|
}`;var ns=Id(function(){return ft(Yt,ea+"return "+jn).apply(i,hr)});if(ns.source=jn,rd(ns))throw ns;return ns}function ph(S){return no(S).toLowerCase()}function _h(S){return no(S).toUpperCase()}function mh(S,N,he){if(S=no(S),S&&(he||N===i))return Yo(S);if(!S||!(N=Zo(N)))return S;var Ne=ar(S),xt=ar(N),Yt=jo(Ne,xt),hr=Au(Ne,xt)+1;return so(Ne,Yt,hr).join("")}function vh(S,N,he){if(S=no(S),S&&(he||N===i))return S.slice(0,mr(S)+1);if(!S||!(N=Zo(N)))return S;var Ne=ar(S),xt=Au(Ne,ar(N))+1;return so(Ne,0,xt).join("")}function gh(S,N,he){if(S=no(S),S&&(he||N===i))return S.replace(Be,"");if(!S||!(N=Zo(N)))return S;var Ne=ar(S),xt=jo(Ne,ar(N));return so(Ne,xt).join("")}function yh(S,N){var he=oe,Ne=ae;if(Ko(N)){var xt="separator"in N?N.separator:xt;he="length"in N?Qa(N.length):he,Ne="omission"in N?Zo(N.omission):Ne}S=no(S);var Yt=S.length;if(ko(S)){var hr=ar(S);Yt=hr.length}if(he>=Yt)return S;var Or=he-fr(Ne);if(Or<1)return Ne;var Vr=hr?so(hr,0,Or).join(""):S.slice(0,Or);if(xt===i)return Vr+Ne;if(hr&&(Or+=Vr.length-Or),nd(xt)){if(S.slice(Or).search(xt)){var Pn,Dn=Vr;for(xt.global||(xt=oi(xt.source,no(nn.exec(xt))+"g")),xt.lastIndex=0;Pn=xt.exec(Dn);)var jn=Pn.index;Vr=Vr.slice(0,jn===i?Or:jn)}}else if(S.indexOf(Zo(xt),Or)!=Or){var Ai=Vr.lastIndexOf(xt);Ai>-1&&(Vr=Vr.slice(0,Ai))}return Vr+Ne}function bh(S){return S=no(S),S&&De.test(S)?S.replace(_e,xr):S}var xh=bu(function(S,N,he){return S+(he?" ":"")+N.toUpperCase()}),sd=au("toUpperCase");function Pd(S,N,he){return S=no(S),N=he?i:N,N===i?Ns(S)?$n(S):To(S):S.match(N)||[]}var Id=Ia(function(S,N){try{return Pa(S,i,N)}catch(he){return rd(he)?he:new zn(he)}}),Eh=O(function(S,N){return Ma(N,function(he){he=ji(he),wa(S,he,$c(S[he],S))}),S});function wh(S){var N=S==null?0:S.length,he=cn();return S=N?Li(S,function(Ne){if(typeof Ne[1]!="function")throw new Nr(o);return[he(Ne[0]),Ne[1]]}):[],Ia(function(Ne){for(var xt=-1;++xt<N;){var Yt=S[xt];if(Pa(Yt[0],this,Ne))return Pa(Yt[1],this,Ne)}})}function Sh(S){return Us(_i(S,p))}function od(S){return function(){return S}}function Ah(S,N){return S==null||S!==S?N:S}var Ch=vo(),Th=vo(!0);function Fl(S){return S}function ud(S){return Cc(typeof S=="function"?S:_i(S,p))}function Ph(S){return Pu(_i(S,p))}function Ih(S,N){return Fs(S,_i(N,p))}var Dh=Ia(function(S,N){return function(he){return ii(he,S,N)}}),Oh=Ia(function(S,N){return function(he){return ii(S,he,N)}});function ld(S,N,he){var Ne=Lu(N),xt=yl(N,Ne);he==null&&!(Ko(N)&&(xt.length||!Ne.length))&&(he=N,N=S,S=this,xt=yl(N,Lu(N)));var Yt=!(Ko(he)&&"chain"in he)||!!he.chain,hr=yf(S);return Ma(xt,function(Or){var Vr=N[Or];S[Or]=Vr,hr&&(S.prototype[Or]=function(){var Pn=this.__chain__;if(Yt||Pn){var Dn=S(this.__wrapped__),jn=Dn.__actions__=Ro(this.__actions__);return jn.push({func:Vr,args:arguments,thisArg:S}),Dn.__chain__=Pn,Dn}return Vr.apply(S,Da([this.value()],arguments))})}),S}function kh(){return oa._===this&&(oa._=Na),this}function cd(){}function Rh(S){return S=Qa(S),Ia(function(N){return oc(N,S)})}var Lh=Pl(Li),Mh=Pl(On),Fh=Pl(Ws);function Dd(S){return za(S)?li(ji(S)):lc(S)}function Bh(S){return function(N){return S==null?i:Uo(S,N)}}var Nh=uf(),$h=uf(!0);function fd(){return[]}function dd(){return!1}function jh(){return{}}function Uh(){return""}function zh(){return!0}function Zh(S,N){if(S=Qa(S),S<1||S>ee)return[];var he=M,Ne=ua(S,M);N=cn(N),S-=M;for(var xt=Gs(Ne,N);++he<S;)N(he);return xt}function Hh(S){return Za(S)?Li(S,ji):nc(S)?[S]:Ro(xa(no(S)))}function Wh(S){var N=++$s;return no(S)+N}var Gh=sl(function(S,N){return S+N},0),Vh=su("ceil"),Kh=sl(function(S,N){return S/N},1),Yh=su("floor");function Xh(S){return S&&S.length?Fu(S,Fl,Qo):i}function Qh(S,N){return S&&S.length?Fu(S,cn(N,2),Qo):i}function qh(S){return xo(S,Fl)}function Jh(S,N){return xo(S,cn(N,2))}function ep(S){return S&&S.length?Fu(S,Fl,zl):i}function tp(S,N){return S&&S.length?Fu(S,cn(N,2),zl):i}var rp=sl(function(S,N){return S*N},1),np=su("round"),ip=sl(function(S,N){return S-N},0);function ap(S){return S&&S.length?Ga(S,Fl):0}function sp(S,N){return S&&S.length?Ga(S,cn(N,2)):0}return Ce.after=Is,Ce.ary=Su,Ce.assign=_0,Ce.assignIn=xd,Ce.assignInWith=Jf,Ce.assignWith=m0,Ce.at=v0,Ce.before=ml,Ce.bind=$c,Ce.bindAll=Eh,Ce.bindKey=Rl,Ce.castArray=jd,Ce.chain=we,Ce.chunk=Gi,Ce.compact=us,Ce.concat=ku,Ce.cond=wh,Ce.conforms=Sh,Ce.constant=od,Ce.countBy=yn,Ce.create=g0,Ce.curry=vf,Ce.curryRight=nf,Ce.debounce=Wf,Ce.defaults=y0,Ce.defaultsDeep=b0,Ce.defer=Mf,Ce.delay=Kf,Ce.difference=Wu,Ce.differenceBy=Gu,Ce.differenceWith=Qu,Ce.drop=hl,Ce.dropRight=Cf,Ce.dropRightWhile=Ef,Ce.dropWhile=pl,Ce.fill=wf,Ce.filter=Vn,Ce.flatMap=ba,Ce.flatMapDeep=Ji,Ce.flatMapDepth=Ri,Ce.flatten=lf,Ce.flattenDeep=qu,Ce.flattenDepth=Tf,Ce.flip=Of,Ce.flow=Ch,Ce.flowRight=Th,Ce.fromPairs=Ru,Ce.functions=T0,Ce.functionsIn=P0,Ce.groupBy=Kn,Ce.initial=Go,Ce.intersection=Jc,Ce.intersectionBy=Bc,Ce.intersectionWith=Ju,Ce.invert=D0,Ce.invertBy=O0,Ce.invokeMap=Ta,Ce.iteratee=ud,Ce.keyBy=Ea,Ce.keys=Lu,Ce.keysIn=Ml,Ce.map=Ba,Ce.mapKeys=R0,Ce.mapValues=L0,Ce.matches=Ph,Ce.matchesProperty=Ih,Ce.memoize=kf,Ce.merge=M0,Ce.mergeWith=Ed,Ce.method=Dh,Ce.methodOf=Oh,Ce.mixin=ld,Ce.negate=Ff,Ce.nthArg=Rh,Ce.omit=F0,Ce.omitBy=B0,Ce.once=Yf,Ce.orderBy=As,Ce.over=Lh,Ce.overArgs=Xf,Ce.overEvery=Mh,Ce.overSome=Fh,Ce.partial=gf,Ce.partialRight=hd,Ce.partition=Bs,Ce.pick=N0,Ce.pickBy=wd,Ce.property=Dd,Ce.propertyOf=Bh,Ce.pull=Nc,Ce.pullAll=Ec,Ce.pullAllBy=ef,Ce.pullAllWith=tf,Ce.pullAt=hf,Ce.range=Nh,Ce.rangeRight=$h,Ce.rearg=Ld,Ce.reject=el,Ce.remove=Pf,Ce.rest=Md,Ce.reverse=wc,Ce.sampleSize=Vf,Ce.set=j0,Ce.setWith=U0,Ce.shuffle=ed,Ce.slice=$f,Ce.sortBy=Zf,Ce.sortedUniq=mf,Ce.sortedUniqBy=Uf,Ce.split=ch,Ce.spread=Fd,Ce.tail=Sf,Ce.take=v,Ce.takeRight=T,Ce.takeRightWhile=z,Ce.takeWhile=ge,Ce.tap=qe,Ce.throttle=Bd,Ce.thru=it,Ce.toArray=gd,Ce.toPairs=Sd,Ce.toPairsIn=Ad,Ce.toPath=Hh,Ce.toPlainObject=bd,Ce.transform=z0,Ce.unary=Nd,Ce.union=Le,Ce.unionBy=st,Ce.unionWith=w,Ce.uniq=t,Ce.uniqBy=n,Ce.uniqWith=s,Ce.unset=Z0,Ce.unzip=m,Ce.unzipWith=E,Ce.update=H0,Ce.updateWith=W0,Ce.values=Nf,Ce.valuesIn=G0,Ce.without=C,Ce.words=Pd,Ce.wrap=$d,Ce.xor=U,Ce.xorBy=G,Ce.xorWith=H,Ce.zip=se,Ce.zipObject=ue,Ce.zipObjectDeep=ve,Ce.zipWith=Ae,Ce.entries=Sd,Ce.entriesIn=Ad,Ce.extend=xd,Ce.extendWith=Jf,ld(Ce,Ce),Ce.add=Gh,Ce.attempt=Id,Ce.camelCase=X0,Ce.capitalize=Cd,Ce.ceil=Vh,Ce.clamp=V0,Ce.clone=Ud,Ce.cloneDeep=Zd,Ce.cloneDeepWith=Hd,Ce.cloneWith=zd,Ce.conformsTo=Wd,Ce.deburr=Td,Ce.defaultTo=Ah,Ce.divide=Kh,Ce.endsWith=Q0,Ce.eq=jc,Ce.escape=q0,Ce.escapeRegExp=J0,Ce.every=Kr,Ce.find=ci,Ce.findIndex=Mc,Ce.findKey=x0,Ce.findLast=rs,Ce.findLastIndex=qc,Ce.findLastKey=E0,Ce.floor=Yh,Ce.forEach=Qi,Ce.forEachRight=Ki,Ce.forIn=w0,Ce.forInRight=S0,Ce.forOwn=A0,Ce.forOwnRight=C0,Ce.get=id,Ce.gt=Gd,Ce.gte=Vd,Ce.has=I0,Ce.hasIn=ad,Ce.head=Fc,Ce.identity=Fl,Ce.includes=ri,Ce.indexOf=cf,Ce.inRange=K0,Ce.invoke=k0,Ce.isArguments=Rf,Ce.isArray=Za,Ce.isArrayBuffer=Kd,Ce.isArrayLike=Ll,Ce.isArrayLikeObject=uu,Ce.isBoolean=Yd,Ce.isBuffer=Af,Ce.isDate=Xd,Ce.isElement=Qd,Ce.isEmpty=qd,Ce.isEqual=Jd,Ce.isEqualWith=e0,Ce.isError=rd,Ce.isFinite=t0,Ce.isFunction=yf,Ce.isInteger=pd,Ce.isLength=Qf,Ce.isMap=_d,Ce.isMatch=r0,Ce.isMatchWith=n0,Ce.isNaN=i0,Ce.isNative=a0,Ce.isNil=o0,Ce.isNull=s0,Ce.isNumber=md,Ce.isObject=Ko,Ce.isObjectLike=eu,Ce.isPlainObject=Gf,Ce.isRegExp=nd,Ce.isSafeInteger=u0,Ce.isSet=vd,Ce.isString=qf,Ce.isSymbol=nc,Ce.isTypedArray=Bf,Ce.isUndefined=l0,Ce.isWeakMap=c0,Ce.isWeakSet=f0,Ce.join=_l,Ce.kebabCase=eh,Ce.last=Vo,Ce.lastIndexOf=ff,Ce.lowerCase=th,Ce.lowerFirst=rh,Ce.lt=d0,Ce.lte=h0,Ce.max=Xh,Ce.maxBy=Qh,Ce.mean=qh,Ce.meanBy=Jh,Ce.min=ep,Ce.minBy=tp,Ce.stubArray=fd,Ce.stubFalse=dd,Ce.stubObject=jh,Ce.stubString=Uh,Ce.stubTrue=zh,Ce.multiply=rp,Ce.nth=df,Ce.noConflict=kh,Ce.noop=cd,Ce.now=Hf,Ce.pad=nh,Ce.padEnd=ih,Ce.padStart=ah,Ce.parseInt=sh,Ce.random=Y0,Ce.reduce=oo,Ce.reduceRight=Vu,Ce.repeat=oh,Ce.replace=uh,Ce.result=$0,Ce.round=np,Ce.runInContext=or,Ce.sample=rf,Ce.size=td,Ce.snakeCase=lh,Ce.some=zf,Ce.sortedIndex=If,Ce.sortedIndexBy=pf,Ce.sortedIndexOf=jf,Ce.sortedLastIndex=_f,Ce.sortedLastIndexBy=Df,Ce.sortedLastIndexOf=Lf,Ce.startCase=fh,Ce.startsWith=dh,Ce.subtract=ip,Ce.sum=ap,Ce.sumBy=sp,Ce.template=hh,Ce.times=Zh,Ce.toFinite=bf,Ce.toInteger=Qa,Ce.toLength=yd,Ce.toLower=ph,Ce.toNumber=Sc,Ce.toSafeInteger=p0,Ce.toString=no,Ce.toUpper=_h,Ce.trim=mh,Ce.trimEnd=vh,Ce.trimStart=gh,Ce.truncate=yh,Ce.unescape=bh,Ce.uniqueId=Wh,Ce.upperCase=xh,Ce.upperFirst=sd,Ce.each=Qi,Ce.eachRight=Ki,Ce.first=Fc,ld(Ce,function(){var S={};return Js(Ce,function(N,he){ui.call(Ce.prototype,he)||(S[he]=N)}),S}(),{chain:!1}),Ce.VERSION=l,Ma(["bind","bindKey","curry","curryRight","partial","partialRight"],function(S){Ce[S].placeholder=Ce}),Ma(["drop","take"],function(S,N){Yr.prototype[S]=function(he){he=he===i?1:pi(Qa(he),0);var Ne=this.__filtered__&&!N?new Yr(this):this.clone();return Ne.__filtered__?Ne.__takeCount__=ua(he,Ne.__takeCount__):Ne.__views__.push({size:ua(he,M),type:S+(Ne.__dir__<0?"Right":"")}),Ne},Yr.prototype[S+"Right"]=function(he){return this.reverse()[S](he).reverse()}}),Ma(["filter","map","takeWhile"],function(S,N){var he=N+1,Ne=he==J||he==le;Yr.prototype[S]=function(xt){var Yt=this.clone();return Yt.__iteratees__.push({iteratee:cn(xt,3),type:he}),Yt.__filtered__=Yt.__filtered__||Ne,Yt}}),Ma(["head","last"],function(S,N){var he="take"+(N?"Right":"");Yr.prototype[S]=function(){return this[he](1).value()[0]}}),Ma(["initial","tail"],function(S,N){var he="drop"+(N?"":"Right");Yr.prototype[S]=function(){return this.__filtered__?new Yr(this):this[he](1)}}),Yr.prototype.compact=function(){return this.filter(Fl)},Yr.prototype.find=function(S){return this.filter(S).head()},Yr.prototype.findLast=function(S){return this.reverse().find(S)},Yr.prototype.invokeMap=Ia(function(S,N){return typeof S=="function"?new Yr(this):this.map(function(he){return ii(he,S,N)})}),Yr.prototype.reject=function(S){return this.filter(Ff(cn(S)))},Yr.prototype.slice=function(S,N){S=Qa(S);var he=this;return he.__filtered__&&(S>0||N<0)?new Yr(he):(S<0?he=he.takeRight(-S):S&&(he=he.drop(S)),N!==i&&(N=Qa(N),he=N<0?he.dropRight(-N):he.take(N-S)),he)},Yr.prototype.takeRightWhile=function(S){return this.reverse().takeWhile(S).reverse()},Yr.prototype.toArray=function(){return this.take(M)},Js(Yr.prototype,function(S,N){var he=/^(?:filter|find|map|reject)|While$/.test(N),Ne=/^(?:head|last)$/.test(N),xt=Ce[Ne?"take"+(N=="last"?"Right":""):N],Yt=Ne||/^find/.test(N);xt&&(Ce.prototype[N]=function(){var hr=this.__wrapped__,Or=Ne?[1]:arguments,Vr=hr instanceof Yr,Pn=Or[0],Dn=Vr||Za(hr),jn=function(vs){var Cs=xt.apply(Ce,Da([vs],Or));return Ne&&Ai?Cs[0]:Cs};Dn&&he&&typeof Pn=="function"&&Pn.length!=1&&(Vr=Dn=!1);var Ai=this.__chain__,ea=!!this.__actions__.length,Sa=Yt&&!Ai,ns=Vr&&!ea;if(!Yt&&Dn){hr=ns?hr:new Yr(this);var Aa=S.apply(hr,Or);return Aa.__actions__.push({func:it,args:[jn],thisArg:i}),new gr(Aa,Ai)}return Sa&&ns?S.apply(this,Or):(Aa=this.thru(jn),Sa?Ne?Aa.value()[0]:Aa.value():Aa)})}),Ma(["pop","push","shift","sort","splice","unshift"],function(S){var N=Hr[S],he=/^(?:push|sort|unshift)$/.test(S)?"tap":"thru",Ne=/^(?:pop|shift)$/.test(S);Ce.prototype[S]=function(){var xt=arguments;if(Ne&&!this.__chain__){var Yt=this.value();return N.apply(Za(Yt)?Yt:[],xt)}return this[he](function(hr){return N.apply(Za(hr)?hr:[],xt)})}}),Js(Yr.prototype,function(S,N){var he=Ce[N];if(he){var Ne=he.name+"";ui.call(co,Ne)||(co[Ne]=[]),co[Ne].push({name:N,func:he})}}),co[al(i,L).name]=[{name:"wrapper",func:i}],Yr.prototype.clone=Sn,Yr.prototype.reverse=ei,Yr.prototype.value=Oi,Ce.prototype.at=jt,Ce.prototype.chain=ir,Ce.prototype.commit=er,Ce.prototype.next=Fr,Ce.prototype.plant=ln,Ce.prototype.reverse=Wr,Ce.prototype.toJSON=Ce.prototype.valueOf=Ce.prototype.value=an,Ce.prototype.first=Ce.prototype.head,jr&&(Ce.prototype[jr]=Zr),Ce},Yn=kn();oa._=Yn,r=function(){return Yn}.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,o){r(c,f,o)});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(Ct,ke){for(var wt=0;wt<ke.length;wt++){var xe=ke[wt];xe.enumerable=xe.enumerable||!1,xe.configurable=!0,"value"in xe&&(xe.writable=!0),Object.defineProperty(Ct,xe.key,xe)}}function e(Ct,ke,wt){return ke&&g(Ct.prototype,ke),wt&&g(Ct,wt),Ct}function r(Ct,ke){if(Ct){if(typeof Ct=="string")return i(Ct,ke);var wt=Object.prototype.toString.call(Ct).slice(8,-1);if(wt==="Object"&&Ct.constructor&&(wt=Ct.constructor.name),wt==="Map"||wt==="Set")return Array.from(Ct);if(wt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(wt))return i(Ct,ke)}}function i(Ct,ke){(ke==null||ke>Ct.length)&&(ke=Ct.length);for(var wt=0,xe=new Array(ke);wt<ke;wt++)xe[wt]=Ct[wt];return xe}function l(Ct,ke){var wt=typeof Symbol!="undefined"&&Ct[Symbol.iterator]||Ct["@@iterator"];if(wt)return(wt=wt.call(Ct)).next.bind(wt);if(Array.isArray(Ct)||(wt=r(Ct))||ke&&Ct&&typeof Ct.length=="number"){wt&&(Ct=wt);var xe=0;return function(){return xe>=Ct.length?{done:!0}:{done:!1,value:Ct[xe++]}}}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 o(Ct){c.exports.defaults=Ct}c.exports={defaults:f(),getDefaults:f,changeDefaults:o};var h=/[&<>"']/,u=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,x=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},y=function(ke){return p[ke]};function _(Ct,ke){if(ke){if(h.test(Ct))return Ct.replace(u,y)}else if(a.test(Ct))return Ct.replace(x,y);return Ct}var b=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function A(Ct){return Ct.replace(b,function(ke,wt){return wt=wt.toLowerCase(),wt==="colon"?":":wt.charAt(0)==="#"?wt.charAt(1)==="x"?String.fromCharCode(parseInt(wt.substring(2),16)):String.fromCharCode(+wt.substring(1)):""})}var R=/(^|[^\[])\^/g;function L(Ct,ke){Ct=Ct.source||Ct,ke=ke||"";var wt={replace:function(Ke,gt){return gt=gt.source||gt,gt=gt.replace(R,"$1"),Ct=Ct.replace(Ke,gt),wt},getRegex:function(){return new RegExp(Ct,ke)}};return wt}var P=/[^\w:]/g,D=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function B(Ct,ke,wt){if(Ct){var xe;try{xe=decodeURIComponent(A(wt)).replace(P,"").toLowerCase()}catch(Ke){return null}if(xe.indexOf("javascript:")===0||xe.indexOf("vbscript:")===0||xe.indexOf("data:")===0)return null}ke&&!D.test(wt)&&(wt=W(ke,wt));try{wt=encodeURI(wt).replace(/%25/g,"%")}catch(Ke){return null}return wt}var $={},j=/^[^:]+:\/*[^/]*$/,K=/^([^:]+:)[\s\S]*$/,V=/^([^:]+:\/*[^/]*)[\s\S]*$/;function W(Ct,ke){$[" "+Ct]||(j.test(Ct)?$[" "+Ct]=Ct+"/":$[" "+Ct]=q(Ct,"/",!0)),Ct=$[" "+Ct];var wt=Ct.indexOf(":")===-1;return ke.substring(0,2)==="//"?wt?ke:Ct.replace(K,"$1")+ke:ke.charAt(0)==="/"?wt?ke:Ct.replace(V,"$1")+ke:Ct+ke}var oe={exec:function(){}};function ae(Ct){for(var ke=1,wt,xe;ke<arguments.length;ke++){wt=arguments[ke];for(xe in wt)Object.prototype.hasOwnProperty.call(wt,xe)&&(Ct[xe]=wt[xe])}return Ct}function ce(Ct,ke){var wt=Ct.replace(/\|/g,function(gt,Lt,Be){for(var Dr=!1,St=Lt;--St>=0&&Be[St]==="\\";)Dr=!Dr;return Dr?"|":" |"}),xe=wt.split(/ \|/),Ke=0;if(xe.length>ke)xe.splice(ke);else for(;xe.length<ke;)xe.push("");for(;Ke<xe.length;Ke++)xe[Ke]=xe[Ke].trim().replace(/\\\|/g,"|");return xe}function q(Ct,ke,wt){var xe=Ct.length;if(xe===0)return"";for(var Ke=0;Ke<xe;){var gt=Ct.charAt(xe-Ke-1);if(gt===ke&&!wt)Ke++;else if(gt!==ke&&wt)Ke++;else break}return Ct.substr(0,xe-Ke)}function J(Ct,ke){if(Ct.indexOf(ke[1])===-1)return-1;for(var wt=Ct.length,xe=0,Ke=0;Ke<wt;Ke++)if(Ct[Ke]==="\\")Ke++;else if(Ct[Ke]===ke[0])xe++;else if(Ct[Ke]===ke[1]&&(xe--,xe<0))return Ke;return-1}function Y(Ct){Ct&&Ct.sanitize&&!Ct.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 le(Ct,ke){if(ke<1)return"";for(var wt="";ke>1;)ke&1&&(wt+=Ct),ke>>=1,Ct+=Ct;return wt+Ct}var ne={escape:_,unescape:A,edit:L,cleanUrl:B,resolveUrl:W,noopTest:oe,merge:ae,splitCells:ce,rtrim:q,findClosingBracket:J,checkSanitizeDeprecation:Y,repeatString:le},ee=c.exports.defaults,ie=ne.rtrim,F=ne.splitCells,M=ne.escape,Q=ne.findClosingBracket;function de(Ct,ke,wt){var xe=ke.href,Ke=ke.title?M(ke.title):null,gt=Ct[1].replace(/\\([\[\]])/g,"$1");return Ct[0].charAt(0)!=="!"?{type:"link",raw:wt,href:xe,title:Ke,text:gt}:{type:"image",raw:wt,href:xe,title:Ke,text:M(gt)}}function Se(Ct,ke){var wt=Ct.match(/^(\s+)(?:```)/);if(wt===null)return ke;var xe=wt[1];return ke.split(`
|
|
|
`).map(function(Ke){var gt=Ke.match(/^\s+/);if(gt===null)return Ke;var Lt=gt[0];return Lt.length>=xe.length?Ke.slice(xe.length):Ke}).join(`
|
|
|
`)}var Ie=function(){function Ct(wt){this.options=wt||ee}var ke=Ct.prototype;return ke.space=function(xe){var Ke=this.rules.block.newline.exec(xe);if(Ke)return Ke[0].length>1?{type:"space",raw:Ke[0]}:{raw:`
|
|
|
`}},ke.code=function(xe){var Ke=this.rules.block.code.exec(xe);if(Ke){var gt=Ke[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Ke[0],codeBlockStyle:"indented",text:this.options.pedantic?gt:ie(gt,`
|
|
|
`)}}},ke.fences=function(xe){var Ke=this.rules.block.fences.exec(xe);if(Ke){var gt=Ke[0],Lt=Se(gt,Ke[3]||"");return{type:"code",raw:gt,lang:Ke[2]?Ke[2].trim():Ke[2],text:Lt}}},ke.heading=function(xe){var Ke=this.rules.block.heading.exec(xe);if(Ke){var gt=Ke[2].trim();if(/#$/.test(gt)){var Lt=ie(gt,"#");(this.options.pedantic||!Lt||/ $/.test(Lt))&&(gt=Lt.trim())}return{type:"heading",raw:Ke[0],depth:Ke[1].length,text:gt}}},ke.nptable=function(xe){var Ke=this.rules.block.nptable.exec(xe);if(Ke){var gt={type:"table",header:F(Ke[1].replace(/^ *| *\| *$/g,"")),align:Ke[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ke[3]?Ke[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:Ke[0]};if(gt.header.length===gt.align.length){var Lt=gt.align.length,Be;for(Be=0;Be<Lt;Be++)/^ *-+: *$/.test(gt.align[Be])?gt.align[Be]="right":/^ *:-+: *$/.test(gt.align[Be])?gt.align[Be]="center":/^ *:-+ *$/.test(gt.align[Be])?gt.align[Be]="left":gt.align[Be]=null;for(Lt=gt.cells.length,Be=0;Be<Lt;Be++)gt.cells[Be]=F(gt.cells[Be],gt.header.length);return gt}}},ke.hr=function(xe){var Ke=this.rules.block.hr.exec(xe);if(Ke)return{type:"hr",raw:Ke[0]}},ke.blockquote=function(xe){var Ke=this.rules.block.blockquote.exec(xe);if(Ke){var gt=Ke[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Ke[0],text:gt}}},ke.list=function(xe){var Ke=this.rules.block.list.exec(xe);if(Ke){var gt=Ke[0],Lt=Ke[2],Be=Lt.length>1,Dr={type:"list",raw:gt,ordered:Be,start:Be?+Lt.slice(0,-1):"",loose:!1,items:[]},St=Ke[0].match(this.rules.block.item),Gr=!1,Xr,Sr,Mr,pr,$r,nn,on,sr,Mt,vt=St.length;Mr=this.rules.block.listItemStart.exec(St[0]);for(var yt=0;yt<vt;yt++){if(Xr=St[yt],gt=Xr,this.options.pedantic||(Mt=Xr.match(new RegExp("\\n\\s*\\n {0,"+(Mr[0].length-1)+"}\\S")),Mt&&($r=Xr.length-Mt.index+St.slice(yt+1).join(`
|
|
|
`).length,Dr.raw=Dr.raw.substring(0,Dr.raw.length-$r),Xr=Xr.substring(0,Mt.index),gt=Xr,vt=yt+1)),yt!==vt-1){if(pr=this.rules.block.listItemStart.exec(St[yt+1]),this.options.pedantic?pr[1].length>Mr[1].length:pr[1].length>=Mr[0].length||pr[1].length>3){St.splice(yt,2,St[yt]+(!this.options.pedantic&&pr[1].length<Mr[0].length&&!St[yt].match(/\n$/)?"":`
|
|
|
`)+St[yt+1]),yt--,vt--;continue}else(!this.options.pedantic||this.options.smartLists?pr[2][pr[2].length-1]!==Lt[Lt.length-1]:Be===(pr[2].length===1))&&($r=St.slice(yt+1).join(`
|
|
|
`).length,Dr.raw=Dr.raw.substring(0,Dr.raw.length-$r),yt=vt-1);Mr=pr}Sr=Xr.length,Xr=Xr.replace(/^ *([*+-]|\d+[.)]) ?/,""),~Xr.indexOf(`
|
|
|
`)&&(Sr-=Xr.length,Xr=this.options.pedantic?Xr.replace(/^ {1,4}/gm,""):Xr.replace(new RegExp("^ {1,"+Sr+"}","gm"),"")),Xr=ie(Xr,`
|
|
|
`),yt!==vt-1&&(gt=gt+`
|
|
|
`),nn=Gr||/\n\n(?!\s*$)/.test(gt),yt!==vt-1&&(Gr=gt.slice(-2)===`
|
|
|
|
|
|
`,nn||(nn=Gr)),nn&&(Dr.loose=!0),this.options.gfm&&(on=/^\[[ xX]\] /.test(Xr),sr=void 0,on&&(sr=Xr[1]!==" ",Xr=Xr.replace(/^\[[ xX]\] +/,""))),Dr.items.push({type:"list_item",raw:gt,task:on,checked:sr,loose:nn,text:Xr})}return Dr}},ke.html=function(xe){var Ke=this.rules.block.html.exec(xe);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]):M(Ke[0]):Ke[0]}},ke.def=function(xe){var Ke=this.rules.block.def.exec(xe);if(Ke){Ke[3]&&(Ke[3]=Ke[3].substring(1,Ke[3].length-1));var gt=Ke[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:gt,raw:Ke[0],href:Ke[2],title:Ke[3]}}},ke.table=function(xe){var Ke=this.rules.block.table.exec(xe);if(Ke){var gt={type:"table",header:F(Ke[1].replace(/^ *| *\| *$/g,"")),align:Ke[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ke[3]?Ke[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(gt.header.length===gt.align.length){gt.raw=Ke[0];var Lt=gt.align.length,Be;for(Be=0;Be<Lt;Be++)/^ *-+: *$/.test(gt.align[Be])?gt.align[Be]="right":/^ *:-+: *$/.test(gt.align[Be])?gt.align[Be]="center":/^ *:-+ *$/.test(gt.align[Be])?gt.align[Be]="left":gt.align[Be]=null;for(Lt=gt.cells.length,Be=0;Be<Lt;Be++)gt.cells[Be]=F(gt.cells[Be].replace(/^ *\| *| *\| *$/g,""),gt.header.length);return gt}}},ke.lheading=function(xe){var Ke=this.rules.block.lheading.exec(xe);if(Ke)return{type:"heading",raw:Ke[0],depth:Ke[2].charAt(0)==="="?1:2,text:Ke[1]}},ke.paragraph=function(xe){var Ke=this.rules.block.paragraph.exec(xe);if(Ke)return{type:"paragraph",raw:Ke[0],text:Ke[1].charAt(Ke[1].length-1)===`
|
|
|
`?Ke[1].slice(0,-1):Ke[1]}},ke.text=function(xe){var Ke=this.rules.block.text.exec(xe);if(Ke)return{type:"text",raw:Ke[0],text:Ke[0]}},ke.escape=function(xe){var Ke=this.rules.inline.escape.exec(xe);if(Ke)return{type:"escape",raw:Ke[0],text:M(Ke[1])}},ke.tag=function(xe,Ke,gt){var Lt=this.rules.inline.tag.exec(xe);if(Lt)return!Ke&&/^<a /i.test(Lt[0])?Ke=!0:Ke&&/^<\/a>/i.test(Lt[0])&&(Ke=!1),!gt&&/^<(pre|code|kbd|script)(\s|>)/i.test(Lt[0])?gt=!0:gt&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Lt[0])&&(gt=!1),{type:this.options.sanitize?"text":"html",raw:Lt[0],inLink:Ke,inRawBlock:gt,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Lt[0]):M(Lt[0]):Lt[0]}},ke.link=function(xe){var Ke=this.rules.inline.link.exec(xe);if(Ke){var gt=Ke[2].trim();if(!this.options.pedantic&&/^</.test(gt)){if(!/>$/.test(gt))return;var Lt=ie(gt.slice(0,-1),"\\");if((gt.length-Lt.length)%2===0)return}else{var Be=Q(Ke[2],"()");if(Be>-1){var Dr=Ke[0].indexOf("!")===0?5:4,St=Dr+Ke[1].length+Be;Ke[2]=Ke[2].substring(0,Be),Ke[0]=Ke[0].substring(0,St).trim(),Ke[3]=""}}var Gr=Ke[2],Xr="";if(this.options.pedantic){var Sr=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Gr);Sr&&(Gr=Sr[1],Xr=Sr[3])}else Xr=Ke[3]?Ke[3].slice(1,-1):"";return Gr=Gr.trim(),/^</.test(Gr)&&(this.options.pedantic&&!/>$/.test(gt)?Gr=Gr.slice(1):Gr=Gr.slice(1,-1)),de(Ke,{href:Gr&&Gr.replace(this.rules.inline._escapes,"$1"),title:Xr&&Xr.replace(this.rules.inline._escapes,"$1")},Ke[0])}},ke.reflink=function(xe,Ke){var gt;if((gt=this.rules.inline.reflink.exec(xe))||(gt=this.rules.inline.nolink.exec(xe))){var Lt=(gt[2]||gt[1]).replace(/\s+/g," ");if(Lt=Ke[Lt.toLowerCase()],!Lt||!Lt.href){var Be=gt[0].charAt(0);return{type:"text",raw:Be,text:Be}}return de(gt,Lt,gt[0])}},ke.emStrong=function(xe,Ke,gt){gt===void 0&&(gt="");var Lt=this.rules.inline.emStrong.lDelim.exec(xe);if(Lt&&!(Lt[3]&>.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 Be=Lt[1]||Lt[2]||"";if(!Be||Be&&(gt===""||this.rules.inline.punctuation.exec(gt))){var Dr=Lt[0].length-1,St,Gr,Xr=Dr,Sr=0,Mr=Lt[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Mr.lastIndex=0,Ke=Ke.slice(-1*xe.length+Dr);(Lt=Mr.exec(Ke))!=null;)if(St=Lt[1]||Lt[2]||Lt[3]||Lt[4]||Lt[5]||Lt[6],!!St){if(Gr=St.length,Lt[3]||Lt[4]){Xr+=Gr;continue}else if((Lt[5]||Lt[6])&&Dr%3&&!((Dr+Gr)%3)){Sr+=Gr;continue}if(Xr-=Gr,!(Xr>0))return Gr=Math.min(Gr,Gr+Xr+Sr),Math.min(Dr,Gr)%2?{type:"em",raw:xe.slice(0,Dr+Lt.index+Gr+1),text:xe.slice(1,Dr+Lt.index+Gr)}:{type:"strong",raw:xe.slice(0,Dr+Lt.index+Gr+1),text:xe.slice(2,Dr+Lt.index+Gr-1)}}}}},ke.codespan=function(xe){var Ke=this.rules.inline.code.exec(xe);if(Ke){var gt=Ke[2].replace(/\n/g," "),Lt=/[^ ]/.test(gt),Be=/^ /.test(gt)&&/ $/.test(gt);return Lt&&Be&&(gt=gt.substring(1,gt.length-1)),gt=M(gt,!0),{type:"codespan",raw:Ke[0],text:gt}}},ke.br=function(xe){var Ke=this.rules.inline.br.exec(xe);if(Ke)return{type:"br",raw:Ke[0]}},ke.del=function(xe){var Ke=this.rules.inline.del.exec(xe);if(Ke)return{type:"del",raw:Ke[0],text:Ke[2]}},ke.autolink=function(xe,Ke){var gt=this.rules.inline.autolink.exec(xe);if(gt){var Lt,Be;return gt[2]==="@"?(Lt=M(this.options.mangle?Ke(gt[1]):gt[1]),Be="mailto:"+Lt):(Lt=M(gt[1]),Be=Lt),{type:"link",raw:gt[0],text:Lt,href:Be,tokens:[{type:"text",raw:Lt,text:Lt}]}}},ke.url=function(xe,Ke){var gt;if(gt=this.rules.inline.url.exec(xe)){var Lt,Be;if(gt[2]==="@")Lt=M(this.options.mangle?Ke(gt[0]):gt[0]),Be="mailto:"+Lt;else{var Dr;do Dr=gt[0],gt[0]=this.rules.inline._backpedal.exec(gt[0])[0];while(Dr!==gt[0]);Lt=M(gt[0]),gt[1]==="www."?Be="http://"+Lt:Be=Lt}return{type:"link",raw:gt[0],text:Lt,href:Be,tokens:[{type:"text",raw:Lt,text:Lt}]}}},ke.inlineText=function(xe,Ke,gt){var Lt=this.rules.inline.text.exec(xe);if(Lt){var Be;return Ke?Be=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Lt[0]):M(Lt[0]):Lt[0]:Be=M(this.options.smartypants?gt(Lt[0]):Lt[0]),{type:"text",raw:Lt[0],text:Be}}},Ct}(),je=ne.noopTest,Fe=ne.edit,Ft=ne.merge,_t={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:je,table:je,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};_t._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_t._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,_t.def=Fe(_t.def).replace("label",_t._label).replace("title",_t._title).getRegex(),_t.bullet=/(?:[*+-]|\d{1,9}[.)])/,_t.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,_t.item=Fe(_t.item,"gm").replace(/bull/g,_t.bullet).getRegex(),_t.listItemStart=Fe(/^( *)(bull) */).replace("bull",_t.bullet).getRegex(),_t.list=Fe(_t.list).replace(/bull/g,_t.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+_t.def.source+")").getRegex(),_t._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",_t._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,_t.html=Fe(_t.html,"i").replace("comment",_t._comment).replace("tag",_t._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_t.paragraph=Fe(_t._paragraph).replace("hr",_t.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",_t._tag).getRegex(),_t.blockquote=Fe(_t.blockquote).replace("paragraph",_t.paragraph).getRegex(),_t.normal=Ft({},_t),_t.gfm=Ft({},_t.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*|$)"}),_t.gfm.nptable=Fe(_t.gfm.nptable).replace("hr",_t.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",_t._tag).getRegex(),_t.gfm.table=Fe(_t.gfm.table).replace("hr",_t.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",_t._tag).getRegex(),_t.pedantic=Ft({},_t.normal,{html:Fe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",_t._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:je,paragraph:Fe(_t.normal._paragraph).replace("hr",_t.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",_t.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Pt={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:je,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:je,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};Pt._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Pt.punctuation=Fe(Pt.punctuation).replace(/punctuation/g,Pt._punctuation).getRegex(),Pt.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Pt.escapedEmSt=/\\\*|\\_/g,Pt._comment=Fe(_t._comment).replace("(?:-->|$)","-->").getRegex(),Pt.emStrong.lDelim=Fe(Pt.emStrong.lDelim).replace(/punct/g,Pt._punctuation).getRegex(),Pt.emStrong.rDelimAst=Fe(Pt.emStrong.rDelimAst,"g").replace(/punct/g,Pt._punctuation).getRegex(),Pt.emStrong.rDelimUnd=Fe(Pt.emStrong.rDelimUnd,"g").replace(/punct/g,Pt._punctuation).getRegex(),Pt._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Pt._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Pt._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])?)+(?![-_])/,Pt.autolink=Fe(Pt.autolink).replace("scheme",Pt._scheme).replace("email",Pt._email).getRegex(),Pt._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Pt.tag=Fe(Pt.tag).replace("comment",Pt._comment).replace("attribute",Pt._attribute).getRegex(),Pt._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Pt._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Pt._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Pt.link=Fe(Pt.link).replace("label",Pt._label).replace("href",Pt._href).replace("title",Pt._title).getRegex(),Pt.reflink=Fe(Pt.reflink).replace("label",Pt._label).getRegex(),Pt.reflinkSearch=Fe(Pt.reflinkSearch,"g").replace("reflink",Pt.reflink).replace("nolink",Pt.nolink).getRegex(),Pt.normal=Ft({},Pt),Pt.pedantic=Ft({},Pt.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:Fe(/^!?\[(label)\]\((.*?)\)/).replace("label",Pt._label).getRegex(),reflink:Fe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Pt._label).getRegex()}),Pt.gfm=Ft({},Pt.normal,{escape:Fe(Pt.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),Pt.gfm.url=Fe(Pt.gfm.url,"i").replace("email",Pt.gfm._extended_email).getRegex(),Pt.breaks=Ft({},Pt.gfm,{br:Fe(Pt.br).replace("{2,}","*").getRegex(),text:Fe(Pt.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Qt={block:_t,inline:Pt},Jt=Ie,qt=c.exports.defaults,Xe=Qt.block,It=Qt.inline,Ut=ne.repeatString;function ot(Ct){return Ct.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 bt(Ct){var ke="",wt,xe,Ke=Ct.length;for(wt=0;wt<Ke;wt++)xe=Ct.charCodeAt(wt),Math.random()>.5&&(xe="x"+xe.toString(16)),ke+="&#"+xe+";";return ke}var ht=function(){function Ct(wt){this.tokens=[],this.tokens.links=Object.create(null),this.options=wt||qt,this.options.tokenizer=this.options.tokenizer||new Jt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var xe={block:Xe.normal,inline:It.normal};this.options.pedantic?(xe.block=Xe.pedantic,xe.inline=It.pedantic):this.options.gfm&&(xe.block=Xe.gfm,this.options.breaks?xe.inline=It.breaks:xe.inline=It.gfm),this.tokenizer.rules=xe}Ct.lex=function(xe,Ke){var gt=new Ct(Ke);return gt.lex(xe)},Ct.lexInline=function(xe,Ke){var gt=new Ct(Ke);return gt.inlineTokens(xe)};var ke=Ct.prototype;return ke.lex=function(xe){return xe=xe.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(xe,this.tokens,!0),this.inline(this.tokens),this.tokens},ke.blockTokens=function(xe,Ke,gt){Ke===void 0&&(Ke=[]),gt===void 0&&(gt=!0),this.options.pedantic&&(xe=xe.replace(/^ +$/gm,""));for(var Lt,Be,Dr,St;xe;){if(Lt=this.tokenizer.space(xe)){xe=xe.substring(Lt.raw.length),Lt.type&&Ke.push(Lt);continue}if(Lt=this.tokenizer.code(xe)){xe=xe.substring(Lt.raw.length),St=Ke[Ke.length-1],St&&St.type==="paragraph"?(St.raw+=`
|
|
|
`+Lt.raw,St.text+=`
|
|
|
`+Lt.text):Ke.push(Lt);continue}if(Lt=this.tokenizer.fences(xe)){xe=xe.substring(Lt.raw.length),Ke.push(Lt);continue}if(Lt=this.tokenizer.heading(xe)){xe=xe.substring(Lt.raw.length),Ke.push(Lt);continue}if(Lt=this.tokenizer.nptable(xe)){xe=xe.substring(Lt.raw.length),Ke.push(Lt);continue}if(Lt=this.tokenizer.hr(xe)){xe=xe.substring(Lt.raw.length),Ke.push(Lt);continue}if(Lt=this.tokenizer.blockquote(xe)){xe=xe.substring(Lt.raw.length),Lt.tokens=this.blockTokens(Lt.text,[],gt),Ke.push(Lt);continue}if(Lt=this.tokenizer.list(xe)){for(xe=xe.substring(Lt.raw.length),Dr=Lt.items.length,Be=0;Be<Dr;Be++)Lt.items[Be].tokens=this.blockTokens(Lt.items[Be].text,[],!1);Ke.push(Lt);continue}if(Lt=this.tokenizer.html(xe)){xe=xe.substring(Lt.raw.length),Ke.push(Lt);continue}if(gt&&(Lt=this.tokenizer.def(xe))){xe=xe.substring(Lt.raw.length),this.tokens.links[Lt.tag]||(this.tokens.links[Lt.tag]={href:Lt.href,title:Lt.title});continue}if(Lt=this.tokenizer.table(xe)){xe=xe.substring(Lt.raw.length),Ke.push(Lt);continue}if(Lt=this.tokenizer.lheading(xe)){xe=xe.substring(Lt.raw.length),Ke.push(Lt);continue}if(gt&&(Lt=this.tokenizer.paragraph(xe))){xe=xe.substring(Lt.raw.length),Ke.push(Lt);continue}if(Lt=this.tokenizer.text(xe)){xe=xe.substring(Lt.raw.length),St=Ke[Ke.length-1],St&&St.type==="text"?(St.raw+=`
|
|
|
`+Lt.raw,St.text+=`
|
|
|
`+Lt.text):Ke.push(Lt);continue}if(xe){var Gr="Infinite loop on byte: "+xe.charCodeAt(0);if(this.options.silent){console.error(Gr);break}else throw new Error(Gr)}}return Ke},ke.inline=function(xe){var Ke,gt,Lt,Be,Dr,St,Gr=xe.length;for(Ke=0;Ke<Gr;Ke++)switch(St=xe[Ke],St.type){case"paragraph":case"text":case"heading":{St.tokens=[],this.inlineTokens(St.text,St.tokens);break}case"table":{for(St.tokens={header:[],cells:[]},Be=St.header.length,gt=0;gt<Be;gt++)St.tokens.header[gt]=[],this.inlineTokens(St.header[gt],St.tokens.header[gt]);for(Be=St.cells.length,gt=0;gt<Be;gt++)for(Dr=St.cells[gt],St.tokens.cells[gt]=[],Lt=0;Lt<Dr.length;Lt++)St.tokens.cells[gt][Lt]=[],this.inlineTokens(Dr[Lt],St.tokens.cells[gt][Lt]);break}case"blockquote":{this.inline(St.tokens);break}case"list":{for(Be=St.items.length,gt=0;gt<Be;gt++)this.inline(St.items[gt].tokens);break}}return xe},ke.inlineTokens=function(xe,Ke,gt,Lt){Ke===void 0&&(Ke=[]),gt===void 0&&(gt=!1),Lt===void 0&&(Lt=!1);var Be,Dr,St=xe,Gr,Xr,Sr;if(this.tokens.links){var Mr=Object.keys(this.tokens.links);if(Mr.length>0)for(;(Gr=this.tokenizer.rules.inline.reflinkSearch.exec(St))!=null;)Mr.includes(Gr[0].slice(Gr[0].lastIndexOf("[")+1,-1))&&(St=St.slice(0,Gr.index)+"["+Ut("a",Gr[0].length-2)+"]"+St.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Gr=this.tokenizer.rules.inline.blockSkip.exec(St))!=null;)St=St.slice(0,Gr.index)+"["+Ut("a",Gr[0].length-2)+"]"+St.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Gr=this.tokenizer.rules.inline.escapedEmSt.exec(St))!=null;)St=St.slice(0,Gr.index)+"++"+St.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;xe;){if(Xr||(Sr=""),Xr=!1,Be=this.tokenizer.escape(xe)){xe=xe.substring(Be.raw.length),Ke.push(Be);continue}if(Be=this.tokenizer.tag(xe,gt,Lt)){xe=xe.substring(Be.raw.length),gt=Be.inLink,Lt=Be.inRawBlock;var pr=Ke[Ke.length-1];pr&&Be.type==="text"&&pr.type==="text"?(pr.raw+=Be.raw,pr.text+=Be.text):Ke.push(Be);continue}if(Be=this.tokenizer.link(xe)){xe=xe.substring(Be.raw.length),Be.type==="link"&&(Be.tokens=this.inlineTokens(Be.text,[],!0,Lt)),Ke.push(Be);continue}if(Be=this.tokenizer.reflink(xe,this.tokens.links)){xe=xe.substring(Be.raw.length);var $r=Ke[Ke.length-1];Be.type==="link"?(Be.tokens=this.inlineTokens(Be.text,[],!0,Lt),Ke.push(Be)):$r&&Be.type==="text"&&$r.type==="text"?($r.raw+=Be.raw,$r.text+=Be.text):Ke.push(Be);continue}if(Be=this.tokenizer.emStrong(xe,St,Sr)){xe=xe.substring(Be.raw.length),Be.tokens=this.inlineTokens(Be.text,[],gt,Lt),Ke.push(Be);continue}if(Be=this.tokenizer.codespan(xe)){xe=xe.substring(Be.raw.length),Ke.push(Be);continue}if(Be=this.tokenizer.br(xe)){xe=xe.substring(Be.raw.length),Ke.push(Be);continue}if(Be=this.tokenizer.del(xe)){xe=xe.substring(Be.raw.length),Be.tokens=this.inlineTokens(Be.text,[],gt,Lt),Ke.push(Be);continue}if(Be=this.tokenizer.autolink(xe,bt)){xe=xe.substring(Be.raw.length),Ke.push(Be);continue}if(!gt&&(Be=this.tokenizer.url(xe,bt))){xe=xe.substring(Be.raw.length),Ke.push(Be);continue}if(Be=this.tokenizer.inlineText(xe,Lt,ot)){xe=xe.substring(Be.raw.length),Be.raw.slice(-1)!=="_"&&(Sr=Be.raw.slice(-1)),Xr=!0,Dr=Ke[Ke.length-1],Dr&&Dr.type==="text"?(Dr.raw+=Be.raw,Dr.text+=Be.text):Ke.push(Be);continue}if(xe){var nn="Infinite loop on byte: "+xe.charCodeAt(0);if(this.options.silent){console.error(nn);break}else throw new Error(nn)}}return Ke},e(Ct,null,[{key:"rules",get:function(){return{block:Xe,inline:It}}}]),Ct}(),et=c.exports.defaults,Ue=ne.cleanUrl,ye=ne.escape,Pe=function(){function Ct(wt){this.options=wt||et}var ke=Ct.prototype;return ke.code=function(xe,Ke,gt){var Lt=(Ke||"").match(/\S*/)[0];if(this.options.highlight){var Be=this.options.highlight(xe,Lt);Be!=null&&Be!==xe&&(gt=!0,xe=Be)}return xe=xe.replace(/\n$/,"")+`
|
|
|
`,Lt?'<pre><code class="'+this.options.langPrefix+ye(Lt,!0)+'">'+(gt?xe:ye(xe,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(gt?xe:ye(xe,!0))+`</code></pre>
|
|
|
`},ke.blockquote=function(xe){return`<blockquote>
|
|
|
`+xe+`</blockquote>
|
|
|
`},ke.html=function(xe){return xe},ke.heading=function(xe,Ke,gt,Lt){return this.options.headerIds?"<h"+Ke+' id="'+this.options.headerPrefix+Lt.slug(gt)+'">'+xe+"</h"+Ke+`>
|
|
|
`:"<h"+Ke+">"+xe+"</h"+Ke+`>
|
|
|
`},ke.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},ke.list=function(xe,Ke,gt){var Lt=Ke?"ol":"ul",Be=Ke&>!==1?' start="'+gt+'"':"";return"<"+Lt+Be+`>
|
|
|
`+xe+"</"+Lt+`>
|
|
|
`},ke.listitem=function(xe){return"<li>"+xe+`</li>
|
|
|
`},ke.checkbox=function(xe){return"<input "+(xe?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},ke.paragraph=function(xe){return"<p>"+xe+`</p>
|
|
|
`},ke.table=function(xe,Ke){return Ke&&(Ke="<tbody>"+Ke+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+xe+`</thead>
|
|
|
`+Ke+`</table>
|
|
|
`},ke.tablerow=function(xe){return`<tr>
|
|
|
`+xe+`</tr>
|
|
|
`},ke.tablecell=function(xe,Ke){var gt=Ke.header?"th":"td",Lt=Ke.align?"<"+gt+' align="'+Ke.align+'">':"<"+gt+">";return Lt+xe+"</"+gt+`>
|
|
|
`},ke.strong=function(xe){return"<strong>"+xe+"</strong>"},ke.em=function(xe){return"<em>"+xe+"</em>"},ke.codespan=function(xe){return"<code>"+xe+"</code>"},ke.br=function(){return this.options.xhtml?"<br/>":"<br>"},ke.del=function(xe){return"<del>"+xe+"</del>"},ke.link=function(xe,Ke,gt){if(xe=Ue(this.options.sanitize,this.options.baseUrl,xe),xe===null)return gt;var Lt='<a href="'+ye(xe)+'"';return Ke&&(Lt+=' title="'+Ke+'"'),Lt+=">"+gt+"</a>",Lt},ke.image=function(xe,Ke,gt){if(xe=Ue(this.options.sanitize,this.options.baseUrl,xe),xe===null)return gt;var Lt='<img src="'+xe+'" alt="'+gt+'"';return Ke&&(Lt+=' title="'+Ke+'"'),Lt+=this.options.xhtml?"/>":">",Lt},ke.text=function(xe){return xe},Ct}(),Me=function(){function Ct(){}var ke=Ct.prototype;return ke.strong=function(xe){return xe},ke.em=function(xe){return xe},ke.codespan=function(xe){return xe},ke.del=function(xe){return xe},ke.html=function(xe){return xe},ke.text=function(xe){return xe},ke.link=function(xe,Ke,gt){return""+gt},ke.image=function(xe,Ke,gt){return""+gt},ke.br=function(){return""},Ct}(),$e=function(){function Ct(){this.seen={}}var ke=Ct.prototype;return ke.serialize=function(xe){return xe.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},ke.getNextSafeSlug=function(xe,Ke){var gt=xe,Lt=0;if(this.seen.hasOwnProperty(gt)){Lt=this.seen[xe];do Lt++,gt=xe+"-"+Lt;while(this.seen.hasOwnProperty(gt))}return Ke||(this.seen[xe]=Lt,this.seen[gt]=0),gt},ke.slug=function(xe,Ke){Ke===void 0&&(Ke={});var gt=this.serialize(xe);return this.getNextSafeSlug(gt,Ke.dryrun)},Ct}(),He=Pe,nt=Me,ct=$e,Gt=c.exports.defaults,Ht=ne.unescape,Oe=function(){function Ct(wt){this.options=wt||Gt,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}Ct.parse=function(xe,Ke){var gt=new Ct(Ke);return gt.parse(xe)},Ct.parseInline=function(xe,Ke){var gt=new Ct(Ke);return gt.parseInline(xe)};var ke=Ct.prototype;return ke.parse=function(xe,Ke){Ke===void 0&&(Ke=!0);var gt="",Lt,Be,Dr,St,Gr,Xr,Sr,Mr,pr,$r,nn,on,sr,Mt,vt,yt,Nt,Cr,vr=xe.length;for(Lt=0;Lt<vr;Lt++)switch($r=xe[Lt],$r.type){case"space":continue;case"hr":{gt+=this.renderer.hr();continue}case"heading":{gt+=this.renderer.heading(this.parseInline($r.tokens),$r.depth,Ht(this.parseInline($r.tokens,this.textRenderer)),this.slugger);continue}case"code":{gt+=this.renderer.code($r.text,$r.lang,$r.escaped);continue}case"table":{for(Mr="",Sr="",St=$r.header.length,Be=0;Be<St;Be++)Sr+=this.renderer.tablecell(this.parseInline($r.tokens.header[Be]),{header:!0,align:$r.align[Be]});for(Mr+=this.renderer.tablerow(Sr),pr="",St=$r.cells.length,Be=0;Be<St;Be++){for(Xr=$r.tokens.cells[Be],Sr="",Gr=Xr.length,Dr=0;Dr<Gr;Dr++)Sr+=this.renderer.tablecell(this.parseInline(Xr[Dr]),{header:!1,align:$r.align[Dr]});pr+=this.renderer.tablerow(Sr)}gt+=this.renderer.table(Mr,pr);continue}case"blockquote":{pr=this.parse($r.tokens),gt+=this.renderer.blockquote(pr);continue}case"list":{for(nn=$r.ordered,on=$r.start,sr=$r.loose,St=$r.items.length,pr="",Be=0;Be<St;Be++)vt=$r.items[Be],yt=vt.checked,Nt=vt.task,Mt="",vt.task&&(Cr=this.renderer.checkbox(yt),sr?vt.tokens.length>0&&vt.tokens[0].type==="text"?(vt.tokens[0].text=Cr+" "+vt.tokens[0].text,vt.tokens[0].tokens&&vt.tokens[0].tokens.length>0&&vt.tokens[0].tokens[0].type==="text"&&(vt.tokens[0].tokens[0].text=Cr+" "+vt.tokens[0].tokens[0].text)):vt.tokens.unshift({type:"text",text:Cr}):Mt+=Cr),Mt+=this.parse(vt.tokens,sr),pr+=this.renderer.listitem(Mt,Nt,yt);gt+=this.renderer.list(pr,nn,on);continue}case"html":{gt+=this.renderer.html($r.text);continue}case"paragraph":{gt+=this.renderer.paragraph(this.parseInline($r.tokens));continue}case"text":{for(pr=$r.tokens?this.parseInline($r.tokens):$r.text;Lt+1<vr&&xe[Lt+1].type==="text";)$r=xe[++Lt],pr+=`
|
|
|
`+($r.tokens?this.parseInline($r.tokens):$r.text);gt+=Ke?this.renderer.paragraph(pr):pr;continue}default:{var ut='Token with "'+$r.type+'" type was not found.';if(this.options.silent){console.error(ut);return}else throw new Error(ut)}}return gt},ke.parseInline=function(xe,Ke){Ke=Ke||this.renderer;var gt="",Lt,Be,Dr=xe.length;for(Lt=0;Lt<Dr;Lt++)switch(Be=xe[Lt],Be.type){case"escape":{gt+=Ke.text(Be.text);break}case"html":{gt+=Ke.html(Be.text);break}case"link":{gt+=Ke.link(Be.href,Be.title,this.parseInline(Be.tokens,Ke));break}case"image":{gt+=Ke.image(Be.href,Be.title,Be.text);break}case"strong":{gt+=Ke.strong(this.parseInline(Be.tokens,Ke));break}case"em":{gt+=Ke.em(this.parseInline(Be.tokens,Ke));break}case"codespan":{gt+=Ke.codespan(Be.text);break}case"br":{gt+=Ke.br();break}case"del":{gt+=Ke.del(this.parseInline(Be.tokens,Ke));break}case"text":{gt+=Ke.text(Be.text);break}default:{var St='Token with "'+Be.type+'" type was not found.';if(this.options.silent){console.error(St);return}else throw new Error(St)}}return gt},Ct}(),Je=ht,Wt=Oe,kt=Ie,Zt=Pe,Bt=Me,At=$e,Kt=ne.merge,We=ne.checkSanitizeDeprecation,fe=ne.escape,_e=c.exports.getDefaults,Ot=c.exports.changeDefaults,De=c.exports.defaults;function dt(Ct,ke,wt){if(typeof Ct=="undefined"||Ct===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Ct!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Ct)+", string expected");if(typeof ke=="function"&&(wt=ke,ke=null),ke=Kt({},dt.defaults,ke||{}),We(ke),wt){var xe=ke.highlight,Ke;try{Ke=Je.lex(Ct,ke)}catch(Dr){return wt(Dr)}var gt=function(St){var Gr;if(!St)try{ke.walkTokens&&dt.walkTokens(Ke,ke.walkTokens),Gr=Wt.parse(Ke,ke)}catch(Xr){St=Xr}return ke.highlight=xe,St?wt(St):wt(null,Gr)};if(!xe||xe.length<3||(delete ke.highlight,!Ke.length))return gt();var Lt=0;dt.walkTokens(Ke,function(Dr){Dr.type==="code"&&(Lt++,setTimeout(function(){xe(Dr.text,Dr.lang,function(St,Gr){if(St)return gt(St);Gr!=null&&Gr!==Dr.text&&(Dr.text=Gr,Dr.escaped=!0),Lt--,Lt===0&>()})},0))}),Lt===0&>();return}try{var Be=Je.lex(Ct,ke);return ke.walkTokens&&dt.walkTokens(Be,ke.walkTokens),Wt.parse(Be,ke)}catch(Dr){if(Dr.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,ke.silent)return"<p>An error occurred:</p><pre>"+fe(Dr.message+"",!0)+"</pre>";throw Dr}}dt.options=dt.setOptions=function(Ct){return Kt(dt.defaults,Ct),Ot(dt.defaults),dt},dt.getDefaults=_e,dt.defaults=De,dt.use=function(Ct){var ke=Kt({},Ct);if(Ct.renderer&&function(){var xe=dt.defaults.renderer||new Zt,Ke=function(Be){var Dr=xe[Be];xe[Be]=function(){for(var St=arguments.length,Gr=new Array(St),Xr=0;Xr<St;Xr++)Gr[Xr]=arguments[Xr];var Sr=Ct.renderer[Be].apply(xe,Gr);return Sr===!1&&(Sr=Dr.apply(xe,Gr)),Sr}};for(var gt in Ct.renderer)Ke(gt);ke.renderer=xe}(),Ct.tokenizer&&function(){var xe=dt.defaults.tokenizer||new kt,Ke=function(Be){var Dr=xe[Be];xe[Be]=function(){for(var St=arguments.length,Gr=new Array(St),Xr=0;Xr<St;Xr++)Gr[Xr]=arguments[Xr];var Sr=Ct.tokenizer[Be].apply(xe,Gr);return Sr===!1&&(Sr=Dr.apply(xe,Gr)),Sr}};for(var gt in Ct.tokenizer)Ke(gt);ke.tokenizer=xe}(),Ct.walkTokens){var wt=dt.defaults.walkTokens;ke.walkTokens=function(xe){Ct.walkTokens(xe),wt&&wt(xe)}}dt.setOptions(ke)},dt.walkTokens=function(Ct,ke){for(var wt=l(Ct),xe;!(xe=wt()).done;){var Ke=xe.value;switch(ke(Ke),Ke.type){case"table":{for(var gt=l(Ke.tokens.header),Lt;!(Lt=gt()).done;){var Be=Lt.value;dt.walkTokens(Be,ke)}for(var Dr=l(Ke.tokens.cells),St;!(St=Dr()).done;)for(var Gr=St.value,Xr=l(Gr),Sr;!(Sr=Xr()).done;){var Mr=Sr.value;dt.walkTokens(Mr,ke)}break}case"list":{dt.walkTokens(Ke.items,ke);break}default:Ke.tokens&&dt.walkTokens(Ke.tokens,ke)}}},dt.parseInline=function(Ct,ke){if(typeof Ct=="undefined"||Ct===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof Ct!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(Ct)+", string expected");ke=Kt({},dt.defaults,ke||{}),We(ke);try{var wt=Je.lexInline(Ct,ke);return ke.walkTokens&&dt.walkTokens(wt,ke.walkTokens),Wt.parseInline(wt,ke)}catch(xe){if(xe.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,ke.silent)return"<p>An error occurred:</p><pre>"+fe(xe.message+"",!0)+"</pre>";throw xe}},dt.Parser=Wt,dt.parser=Wt.parse,dt.Renderer=Zt,dt.TextRenderer=Bt,dt.Lexer=Je,dt.lexer=Je.lex,dt.Tokenizer=kt,dt.Slugger=At,dt.parse=dt;var zt=dt;return zt})},11690:function(d){const g=/[&<>"']/,e=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},c=W=>l[W];function f(W,oe){if(oe){if(g.test(W))return W.replace(e,c)}else if(r.test(W))return W.replace(i,c);return W}const o=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(W){return W.replace(o,(oe,ae)=>(ae=ae.toLowerCase(),ae==="colon"?":":ae.charAt(0)==="#"?ae.charAt(1)==="x"?String.fromCharCode(parseInt(ae.substring(2),16)):String.fromCharCode(+ae.substring(1)):""))}const u=/(^|[^\[])\^/g;function a(W,oe){W=W.source||W,oe=oe||"";const ae={replace:(ce,q)=>(q=q.source||q,q=q.replace(u,"$1"),W=W.replace(ce,q),ae),getRegex:()=>new RegExp(W,oe)};return ae}const x=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(W,oe,ae){if(W){let ce;try{ce=decodeURIComponent(h(ae)).replace(x,"").toLowerCase()}catch(q){return null}if(ce.indexOf("javascript:")===0||ce.indexOf("vbscript:")===0||ce.indexOf("data:")===0)return null}oe&&!p.test(ae)&&(ae=L(oe,ae));try{ae=encodeURI(ae).replace(/%25/g,"%")}catch(ce){return null}return ae}const _={},b=/^[^:]+:\/*[^/]*$/,A=/^([^:]+:)[\s\S]*$/,R=/^([^:]+:\/*[^/]*)[\s\S]*$/;function L(W,oe){_[" "+W]||(b.test(W)?_[" "+W]=W+"/":_[" "+W]=$(W,"/",!0)),W=_[" "+W];const ae=W.indexOf(":")===-1;return oe.substring(0,2)==="//"?ae?oe:W.replace(A,"$1")+oe:oe.charAt(0)==="/"?ae?oe:W.replace(R,"$1")+oe:W+oe}const P={exec:function(){}};function D(W){let oe=1,ae,ce;for(;oe<arguments.length;oe++){ae=arguments[oe];for(ce in ae)Object.prototype.hasOwnProperty.call(ae,ce)&&(W[ce]=ae[ce])}return W}function B(W,oe){const ae=W.replace(/\|/g,(J,Y,le)=>{let ne=!1,ee=Y;for(;--ee>=0&&le[ee]==="\\";)ne=!ne;return ne?"|":" |"}),ce=ae.split(/ \|/);let q=0;if(ce.length>oe)ce.splice(oe);else for(;ce.length<oe;)ce.push("");for(;q<ce.length;q++)ce[q]=ce[q].trim().replace(/\\\|/g,"|");return ce}function $(W,oe,ae){const ce=W.length;if(ce===0)return"";let q=0;for(;q<ce;){const J=W.charAt(ce-q-1);if(J===oe&&!ae)q++;else if(J!==oe&&ae)q++;else break}return W.substr(0,ce-q)}function j(W,oe){if(W.indexOf(oe[1])===-1)return-1;const ae=W.length;let ce=0,q=0;for(;q<ae;q++)if(W[q]==="\\")q++;else if(W[q]===oe[0])ce++;else if(W[q]===oe[1]&&(ce--,ce<0))return q;return-1}function K(W){W&&W.sanitize&&!W.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 V(W,oe){if(oe<1)return"";let ae="";for(;oe>1;)oe&1&&(ae+=W),oe>>=1,W+=W;return ae+W}d.exports={escape:f,unescape:h,edit:a,cleanUrl:y,resolveUrl:L,noopTest:P,merge:D,splitCells:B,rtrim:$,findClosingBracket:j,checkSanitizeDeprecation:K,repeatString:V}},93735:function(d,g,e){(function(){var r=e(75041),i=e(67751).utf8,l=e(78034),c=e(67751).bin,f=function(o,h){o.constructor==String?h&&h.encoding==="binary"?o=c.stringToBytes(o):o=i.stringToBytes(o):l(o)?o=Array.prototype.slice.call(o,0):!Array.isArray(o)&&o.constructor!==Uint8Array&&(o=o.toString());for(var u=r.bytesToWords(o),a=o.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 A=f._ff,R=f._gg,L=f._hh,P=f._ii,b=0;b<u.length;b+=16){var D=x,B=p,$=y,j=_;x=A(x,p,y,_,u[b+0],7,-680876936),_=A(_,x,p,y,u[b+1],12,-389564586),y=A(y,_,x,p,u[b+2],17,606105819),p=A(p,y,_,x,u[b+3],22,-1044525330),x=A(x,p,y,_,u[b+4],7,-176418897),_=A(_,x,p,y,u[b+5],12,1200080426),y=A(y,_,x,p,u[b+6],17,-1473231341),p=A(p,y,_,x,u[b+7],22,-45705983),x=A(x,p,y,_,u[b+8],7,1770035416),_=A(_,x,p,y,u[b+9],12,-1958414417),y=A(y,_,x,p,u[b+10],17,-42063),p=A(p,y,_,x,u[b+11],22,-1990404162),x=A(x,p,y,_,u[b+12],7,1804603682),_=A(_,x,p,y,u[b+13],12,-40341101),y=A(y,_,x,p,u[b+14],17,-1502002290),p=A(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=P(x,p,y,_,u[b+0],6,-198630844),_=P(_,x,p,y,u[b+7],10,1126891415),y=P(y,_,x,p,u[b+14],15,-1416354905),p=P(p,y,_,x,u[b+5],21,-57434055),x=P(x,p,y,_,u[b+12],6,1700485571),_=P(_,x,p,y,u[b+3],10,-1894986606),y=P(y,_,x,p,u[b+10],15,-1051523),p=P(p,y,_,x,u[b+1],21,-2054922799),x=P(x,p,y,_,u[b+8],6,1873313359),_=P(_,x,p,y,u[b+15],10,-30611744),y=P(y,_,x,p,u[b+6],15,-1560198380),p=P(p,y,_,x,u[b+13],21,1309151649),x=P(x,p,y,_,u[b+4],6,-145523070),_=P(_,x,p,y,u[b+11],10,-1120210379),y=P(y,_,x,p,u[b+2],15,718787259),p=P(p,y,_,x,u[b+9],21,-343485551),x=x+D>>>0,p=p+B>>>0,y=y+$>>>0,_=_+j>>>0}return r.endian([x,p,y,_])};f._ff=function(o,h,u,a,x,p,y){var _=o+(h&u|~h&a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._gg=function(o,h,u,a,x,p,y){var _=o+(h&a|u&~a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._hh=function(o,h,u,a,x,p,y){var _=o+(h^u^a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._ii=function(o,h,u,a,x,p,y){var _=o+(u^(h|~a))+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._blocksize=16,f._digestsize=16,d.exports=function(o,h){if(o==null)throw new Error("Illegal argument "+o);var u=r.wordsToBytes(f(o,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 o},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(A){return A instanceof y?A:new y(function(R){R(A)})}return new(y||(y=Promise))(function(A,R){function L(B){try{D(_.next(B))}catch($){R($)}}function P(B){try{D(_.throw(B))}catch($){R($)}}function D(B){B.done?A(B.value):b(B.value).then(L,P)}D((_=_.apply(x,p||[])).next())})};class f extends i.JT{constructor(p,y="",_="",b=!0,A){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=A}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 o 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 o},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 o(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 A=x.exec(b.id);if(!A)return p(h.error);let[,R,L]=A;const P=["codicon","codicon-"+R];return L&&P.push("codicon-modifier-"+L.substr(1)),P}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 A=y.stacktrace||y.stack;return{$isError:!0,name:_,message:b,stack:A}}return y}const o="Canceled";function h(y){return y instanceof Error&&y.name===o&&y.message===o}function u(){const y=new Error(o);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 A(le){return(ne,ee=null,ie)=>{let F=!1,M;return M=le(Q=>{if(!F)return M?M.dispose():F=!0,ne.call(ee,Q)},null,ie),F&&M.dispose(),M}}b.once=A;function R(le,ne){return j((ee,ie=null,F)=>le(M=>ee.call(ie,ne(M)),null,F))}b.map=R;function L(le,ne){return j((ee,ie=null,F)=>le(M=>{ne(M),ee.call(ie,M)},null,F))}b.forEach=L;function P(le,ne){return j((ee,ie=null,F)=>le(M=>ne(M)&&ee.call(ie,M),null,F))}b.filter=P;function D(le){return le}b.signal=D;function B(...le){return(ne,ee=null,ie)=>(0,i.F8)(...le.map(F=>F(M=>ne.call(ee,M),null,ie)))}b.any=B;function $(le,ne,ee){let ie=ee;return R(le,F=>(ie=ne(ie,F),ie))}b.reduce=$;function j(le){let ne;const ee=new a({onFirstListenerAdd(){ne=le(ee.fire,ee)},onLastListenerRemove(){ne.dispose()}});return ee.event}function K(le,ne,ee=100,ie=!1,F){let M,Q,de,Se=0;const Ie=new a({leakWarningThreshold:F,onFirstListenerAdd(){M=le(je=>{Se++,Q=ne(Q,je),ie&&!de&&(Ie.fire(Q),Q=void 0),clearTimeout(de),de=setTimeout(()=>{const Fe=Q;Q=void 0,de=void 0,(!ie||Se>1)&&Ie.fire(Fe),Se=0},ee)})},onLastListenerRemove(){M.dispose()}});return Ie.event}b.debounce=K;function V(le,ne=(ee,ie)=>ee===ie){let ee=!0,ie;return P(le,F=>{const M=ee||!ne(F,ie);return ee=!1,ie=F,M})}b.latch=V;function W(le,ne){return[b.filter(le,ne),b.filter(le,ee=>!ne(ee))]}b.split=W;function oe(le,ne=!1,ee=[]){let ie=ee.slice(),F=le(de=>{ie?ie.push(de):Q.fire(de)});const M=()=>{ie&&ie.forEach(de=>Q.fire(de)),ie=null},Q=new a({onFirstListenerAdd(){F||(F=le(de=>Q.fire(de)))},onFirstListenerDidAdd(){ie&&(ne?setTimeout(M):M())},onLastListenerRemove(){F&&F.dispose(),F=null}});return Q.event}b.buffer=oe;class ae{constructor(ne){this.event=ne}map(ne){return new ae(R(this.event,ne))}forEach(ne){return new ae(L(this.event,ne))}filter(ne){return new ae(P(this.event,ne))}reduce(ne,ee){return new ae($(this.event,ne,ee))}latch(){return new ae(V(this.event))}debounce(ne,ee=100,ie=!1,F){return new ae(K(this.event,ne,ee,ie,F))}on(ne,ee,ie){return this.event(ne,ee,ie)}once(ne,ee,ie){return A(this.event)(ne,ee,ie)}}function ce(le){return new ae(le)}b.chain=ce;function q(le,ne,ee=ie=>ie){const ie=(...de)=>Q.fire(ee(...de)),F=()=>le.on(ne,ie),M=()=>le.removeListener(ne,ie),Q=new a({onFirstListenerAdd:F,onLastListenerRemove:M});return Q.event}b.fromNodeEventEmitter=q;function J(le,ne,ee=ie=>ie){const ie=(...de)=>Q.fire(ee(...de)),F=()=>le.addEventListener(ne,ie),M=()=>le.removeEventListener(ne,ie),Q=new a({onFirstListenerAdd:F,onLastListenerRemove:M});return Q.event}b.fromDOMEventEmitter=J;function Y(le){return new Promise(ne=>A(le)(ne))}b.toPromise=Y})(f||(f={}));class o{constructor(A){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${A}_${o._idPool++}`}start(A){this._stopWatch=new c.G(!0),this._listenerCount=A}stop(){if(this._stopWatch){const A=this._stopWatch.elapsed();this._elapsedOverall+=A,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${A.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}o._idPool=0;let h=-1;class u{constructor(A,R=Math.random().toString(18).slice(2,5)){this.customThreshold=A,this.name=R,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(A){let R=h;if(typeof this.customThreshold=="number"&&(R=this.customThreshold),R<=0||A<R)return;this._stacks||(this._stacks=new Map);const L=new Error().stack.split(`
|
|
|
`).slice(3).join(`
|
|
|
`),P=this._stacks.get(L)||0;if(this._stacks.set(L,P+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=R*.5;let D,B=0;for(const[$,j]of this._stacks)(!D||B<j)&&(D=$,B=j);console.warn(`[${this.name}] potential listener LEAK detected, having ${A} listeners already. MOST frequent listener (${B}):`),console.warn(D)}return()=>{const D=this._stacks.get(L)||0;this._stacks.set(L,D-1)}}}class a{constructor(A){var R;this._disposed=!1,this._options=A,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 o(this._options._profName):void 0}get event(){return this._event||(this._event=(A,R,L)=>{var P;this._listeners||(this._listeners=new l.S);const D=this._listeners.isEmpty();D&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const B=this._listeners.push(R?[A,R]:A);D&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,A,R);const $=(P=this._leakageMon)===null||P===void 0?void 0:P.check(this._listeners.size),j=(0,i.OF)(()=>{$&&$(),this._disposed||(B(),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(A){var R,L;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new l.S);for(let P of this._listeners)this._deliveryQueue.push([P,A]);for((R=this._perfMon)===null||R===void 0||R.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[P,D]=this._deliveryQueue.shift();try{typeof P=="function"?P.call(void 0,D):P[0].call(P[1],D)}catch(B){(0,r.dL)(B)}}(L=this._perfMon)===null||L===void 0||L.stop()}}dispose(){var A,R,L,P,D;this._disposed||(this._disposed=!0,(A=this._listeners)===null||A===void 0||A.clear(),(R=this._deliveryQueue)===null||R===void 0||R.clear(),(P=(L=this._options)===null||L===void 0?void 0:L.onLastListenerRemove)===null||P===void 0||P.call(L),(D=this._leakageMon)===null||D===void 0||D.dispose())}}class x extends a{constructor(A){super(A),this._isPaused=0,this._eventQueue=new l.S,this._mergeFn=A==null?void 0:A.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const A=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(A))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(A){this._listeners&&(this._isPaused!==0?this._eventQueue.push(A):super.fire(A))}}class p extends x{constructor(A){var R;super(A),this._delay=(R=A.delay)!==null&&R!==void 0?R:100}fire(A){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(A)}}class y{constructor(){this.buffers=[]}wrapEvent(A){return(R,L,P)=>A(D=>{const B=this.buffers[this.buffers.length-1];B?B.push(()=>R.call(L,D)):R.call(L,D)},void 0,P)}bufferEvents(A){const R=[];this.buffers.push(R);const L=A();return this.buffers.pop(),R.forEach(P=>P()),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(A){this.inputEvent=A,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=A(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(B){return B&&typeof B=="object"&&typeof B[Symbol.iterator]=="function"}i.is=l;const c=Object.freeze([]);function f(){return c}i.empty=f;function*o(B){yield B}i.single=o;function h(B){return B||c}i.from=h;function u(B){return!B||B[Symbol.iterator]().next().done===!0}i.isEmpty=u;function a(B){return B[Symbol.iterator]().next().value}i.first=a;function x(B,$){for(const j of B)if($(j))return!0;return!1}i.some=x;function p(B,$){for(const j of B)if($(j))return j}i.find=p;function*y(B,$){for(const j of B)$(j)&&(yield j)}i.filter=y;function*_(B,$){let j=0;for(const K of B)yield $(K,j++)}i.map=_;function*b(...B){for(const $ of B)for(const j of $)yield j}i.concat=b;function*A(B){for(const $ of B)for(const j of $)yield j}i.concatNested=A;function R(B,$,j){let K=j;for(const V of B)K=$(K,V);return K}i.reduce=R;function*L(B,$,j=B.length){for($<0&&($+=B.length),j<0?j+=B.length:j>B.length&&(j=B.length);$<j;$++)yield B[$]}i.slice=L;function P(B,$=Number.POSITIVE_INFINITY){const j=[];if($===0)return[j,B];const K=B[Symbol.iterator]();for(let V=0;V<$;V++){const W=K.next();if(W.done)return[j,i.empty()];j.push(W.value)}return[j,{[Symbol.iterator](){return K}}]}i.consume=P;function D(B,$,j=(K,V)=>K===V){const K=B[Symbol.iterator](),V=$[Symbol.iterator]();for(;;){const W=K.next(),oe=V.next();if(W.done!==oe.done)return!1;if(W.done)return!0;if(!j(W.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 A},SL:function(){return R},Wf:function(){return y},XK:function(){return P},dk:function(){return x}});var r=e(17845),i=e(88226);const l=!1;let c=null;function f(B){c=B}if(l){const B="__is_disposable_tracked__";f(new class{trackDisposable($){const j=new Error("Potentially leaked disposable").stack;setTimeout(()=>{$[B]||console.log(j)},3e3)}setParent($,j){if($&&$!==L.None)try{$[B]=!0}catch(K){}}markAsDisposed($){if($&&$!==L.None)try{$[B]=!0}catch(j){}}markAsSingleton($){}})}function o(B){return c==null||c.trackDisposable(B),B}function h(B){c==null||c.markAsDisposed(B)}function u(B,$){c==null||c.setParent(B,$)}function a(B,$){if(c)for(const j of B)c.setParent(j,$)}function x(B){return c==null||c.markAsSingleton(B),B}class p extends Error{constructor($){super(`Encountered errors while disposing of store. Errors: [${$.join(", ")}]`),this.errors=$}}function y(B){return typeof B.dispose=="function"&&B.dispose.length===0}function _(B){if(i.$.is(B)){let $=[];for(const j of B)if(j)try{j.dispose()}catch(K){$.push(K)}if($.length===1)throw $[0];if($.length>1)throw new p($);return Array.isArray(B)?[]:B}else if(B)return B.dispose(),B}function b(...B){const $=A(()=>_(B));return a(B,$),$}function A(B){const $=o({dispose:(0,r.I)(()=>{h($),B()})});return $}class R{constructor(){this._toDispose=new Set,this._isDisposed=!1,o(this)}dispose(){this._isDisposed||(h(this),this._isDisposed=!0,this.clear())}clear(){try{_(this._toDispose.values())}finally{this._toDispose.clear()}}add($){if(!$)return $;if($===this)throw new Error("Cannot register a disposable on itself!");return u($,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($),$}}R.DISABLE_DISPOSED_WARNING=!1;class L{constructor(){this._store=new R,o(this),u(this._store,this)}dispose(){h(this),this._store.dispose()}_register($){if($===this)throw new Error("Cannot register a disposable on itself!");return this._store.add($)}}L.None=Object.freeze({dispose(){}});class P{constructor(){this._isDisposed=!1,o(this)}get value(){return this._isDisposed?void 0:this._value}set value($){var j;this._isDisposed||$===this._value||((j=this._value)===null||j===void 0||j.dispose(),$&&u($,this),this._value=$)}clear(){this.value=void 0}dispose(){var $;this._isDisposed=!0,h(this),($=this._value)===null||$===void 0||$.dispose(),this._value=void 0}clearAndLeak(){const $=this._value;return this._value=void 0,$&&u($,null),$}}class D{constructor($){this.object=$}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 o=new r(c);if(this._first===r.Undefined)this._first=o,this._last=o;else if(f){const u=this._last;this._last=o,o.prev=u,u.next=o}else{const u=this._first;this._first=o,o.next=u,u.prev=o}this._size+=1;let h=!1;return()=>{h||(h=!0,this._remove(o))}}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 K},ED:function(){return D},IJ:function(){return $},OS:function(){return ae},WE:function(){return W},dz:function(){return B},gn:function(){return V},li:function(){return A},r:function(){return J},tY:function(){return j},xS:function(){return oe}});var r=e(97671),i;const l="en";let c=!1,f=!1,o=!1,h=!1,u=!1,a=!1,x=!1,p,y=null,_=null,b;const A=typeof self=="object"?self:typeof e.g=="object"?e.g:{};let R;typeof A.vscode!="undefined"&&typeof A.vscode.process!="undefined"?R=A.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,o=b.indexOf("Linux")>=0,a=!0,p=navigator.language,y=p;else if(typeof R=="object"){c=R.platform==="win32",f=R.platform==="darwin",o=R.platform==="linux",h=o&&!!R.env.SNAP&&!!R.env.SNAP_REVISION,p=l,y=l;const Y=R.env.VSCODE_NLS_CONFIG;if(Y)try{const le=JSON.parse(Y),ne=le.availableLanguages["*"];p=le.locale,y=ne||l,_=le._translationsConfigFile}catch(le){}u=!0}else console.error("Unable to resolve platform.");let P=0;f?P=1:c?P=3:o&&(P=2);const D=c,B=f,$=o,j=u,K=a,V=x,W=b,oe=function(){if(A.setImmediate)return A.setImmediate.bind(A);if(typeof A.postMessage=="function"&&!A.importScripts){let ne=[];A.addEventListener("message",ie=>{if(ie.data&&ie.data.vscodeSetImmediateId)for(let F=0,M=ne.length;F<M;F++){const Q=ne[F];if(Q.id===ie.data.vscodeSetImmediateId){ne.splice(F,1),Q.callback();return}}});let ee=0;return ie=>{const F=++ee;ne.push({id:F,callback:ie}),A.postMessage({vscodeSetImmediateId:F},"*")}}if(typeof(R==null?void 0:R.nextTick)=="function")return R.nextTick.bind(R);const le=Promise.resolve();return ne=>le.then(ne)}(),ae=f||x?2:c?1:3;let ce=!0,q=!1;function J(){if(!q){q=!0;const Y=new Uint8Array(2);Y[0]=1,Y[1]=2,ce=new Uint16Array(Y.buffer)[0]===513}return ce}},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 Se},C8:function(){return _t},GF:function(){return p},HO:function(){return ee},IO:function(){return y},K7:function(){return Ft},Kw:function(){return Jt},LC:function(){return A},Mh:function(){return oe},P1:function(){return ae},PJ:function(){return qt},Qe:function(){return Ie},R1:function(){return x},RP:function(){return Q},S6:function(){return Xe},TT:function(){return D},Ut:function(){return F},V8:function(){return R},WU:function(){return l},YK:function(){return q},YU:function(){return c},ZG:function(){return ce},ZH:function(){return Y},ab:function(){return je},c1:function(){return Pt},df:function(){return K},ec:function(){return f},fi:function(){return It},fy:function(){return o},j3:function(){return h},j_:function(){return $},m5:function(){return r},mK:function(){return j},mr:function(){return _},oH:function(){return bt},oL:function(){return u},ok:function(){return W},ow:function(){return L},qq:function(){return V},qu:function(){return P},rL:function(){return J},uS:function(){return Qt},un:function(){return a},uq:function(){return b},vH:function(){return ne},xe:function(){return Fe},zY:function(){return B}});function r(ye){return!ye||typeof ye!="string"?!0:ye.trim().length===0}const i=/{(\d+)}/g;function l(ye,...Pe){return Pe.length===0?ye:ye.replace(i,function(Me,$e){const He=parseInt($e,10);return isNaN(He)||He<0||He>=Pe.length?Me:Pe[He]})}function c(ye){return ye.replace(/[<>&]/g,function(Pe){switch(Pe){case"<":return"<";case">":return">";case"&":return"&";default:return Pe}})}function f(ye){return ye.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function o(ye,Pe=" "){const Me=h(ye,Pe);return u(Me,Pe)}function h(ye,Pe){if(!ye||!Pe)return ye;const Me=Pe.length;if(Me===0||ye.length===0)return ye;let $e=0;for(;ye.indexOf(Pe,$e)===$e;)$e=$e+Me;return ye.substring($e)}function u(ye,Pe){if(!ye||!Pe)return ye;const Me=Pe.length,$e=ye.length;if(Me===0||$e===0)return ye;let He=$e,nt=-1;for(;nt=ye.lastIndexOf(Pe,He-1),!(nt===-1||nt+Me!==He);){if(nt===0)return"";He=nt}return ye.substring(0,He)}function a(ye){return ye.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function x(ye){return ye.replace(/\*/g,"")}function p(ye,Pe,Me={}){if(!ye)throw new Error("Cannot create regex from empty string");Pe||(ye=f(ye)),Me.wholeWord&&(/\B/.test(ye.charAt(0))||(ye="\\b"+ye),/\B/.test(ye.charAt(ye.length-1))||(ye=ye+"\\b"));let $e="";return Me.global&&($e+="g"),Me.matchCase||($e+="i"),Me.multiline&&($e+="m"),Me.unicode&&($e+="u"),new RegExp(ye,$e)}function y(ye){return ye.source==="^"||ye.source==="^$"||ye.source==="$"||ye.source==="^\\s*$"?!1:!!(ye.exec("")&&ye.lastIndex===0)}function _(ye){return(ye.global?"g":"")+(ye.ignoreCase?"i":"")+(ye.multiline?"m":"")+(ye.unicode?"u":"")}function b(ye){return ye.split(/\r\n|\r|\n/)}function A(ye){for(let Pe=0,Me=ye.length;Pe<Me;Pe++){const $e=ye.charCodeAt(Pe);if($e!==32&&$e!==9)return Pe}return-1}function R(ye,Pe=0,Me=ye.length){for(let $e=Pe;$e<Me;$e++){const He=ye.charCodeAt($e);if(He!==32&&He!==9)return ye.substring(Pe,$e)}return ye.substring(Pe,Me)}function L(ye,Pe=ye.length-1){for(let Me=Pe;Me>=0;Me--){const $e=ye.charCodeAt(Me);if($e!==32&&$e!==9)return Me}return-1}function P(ye,Pe){return ye<Pe?-1:ye>Pe?1:0}function D(ye,Pe,Me=0,$e=ye.length,He=0,nt=Pe.length){for(;Me<$e&&He<nt;Me++,He++){let Ht=ye.charCodeAt(Me),Oe=Pe.charCodeAt(He);if(Ht<Oe)return-1;if(Ht>Oe)return 1}const ct=$e-Me,Gt=nt-He;return ct<Gt?-1:ct>Gt?1:0}function B(ye,Pe){return $(ye,Pe,0,ye.length,0,Pe.length)}function $(ye,Pe,Me=0,$e=ye.length,He=0,nt=Pe.length){for(;Me<$e&&He<nt;Me++,He++){let Ht=ye.charCodeAt(Me),Oe=Pe.charCodeAt(He);if(Ht===Oe)continue;if(Ht>=128||Oe>=128)return D(ye.toLowerCase(),Pe.toLowerCase(),Me,$e,He,nt);j(Ht)&&(Ht-=32),j(Oe)&&(Oe-=32);const Je=Ht-Oe;if(Je!==0)return Je}const ct=$e-Me,Gt=nt-He;return ct<Gt?-1:ct>Gt?1:0}function j(ye){return ye>=97&&ye<=122}function K(ye){return ye>=65&&ye<=90}function V(ye,Pe){return ye.length===Pe.length&&$(ye,Pe)===0}function W(ye,Pe){const Me=Pe.length;return Pe.length>ye.length?!1:$(ye,Pe,0,Me)===0}function oe(ye,Pe){let Me,$e=Math.min(ye.length,Pe.length);for(Me=0;Me<$e;Me++)if(ye.charCodeAt(Me)!==Pe.charCodeAt(Me))return Me;return $e}function ae(ye,Pe){let Me,$e=Math.min(ye.length,Pe.length);const He=ye.length-1,nt=Pe.length-1;for(Me=0;Me<$e;Me++)if(ye.charCodeAt(He-Me)!==Pe.charCodeAt(nt-Me))return Me;return $e}function ce(ye){return 55296<=ye&&ye<=56319}function q(ye){return 56320<=ye&&ye<=57343}function J(ye,Pe){return(ye-55296<<10)+(Pe-56320)+65536}function Y(ye,Pe,Me){const $e=ye.charCodeAt(Me);if(ce($e)&&Me+1<Pe){const He=ye.charCodeAt(Me+1);if(q(He))return J($e,He)}return $e}function le(ye,Pe){const Me=ye.charCodeAt(Pe-1);if(q(Me)&&Pe>1){const $e=ye.charCodeAt(Pe-2);if(ce($e))return J($e,Me)}return Me}function ne(ye,Pe){const Me=Ut.getInstance(),$e=Pe,He=ye.length,nt=Y(ye,He,Pe);Pe+=nt>=65536?2:1;let ct=Me.getGraphemeBreakType(nt);for(;Pe<He;){const Gt=Y(ye,He,Pe),Ht=Me.getGraphemeBreakType(Gt);if(It(ct,Ht))break;Pe+=Gt>=65536?2:1,ct=Ht}return Pe-$e}function ee(ye,Pe){const Me=Ut.getInstance(),$e=Pe,He=le(ye,Pe);Pe-=He>=65536?2:1;let nt=Me.getGraphemeBreakType(He);for(;Pe>0;){const ct=le(ye,Pe),Gt=Me.getGraphemeBreakType(ct);if(It(Gt,nt))break;Pe-=ct>=65536?2:1,nt=Gt}return $e-Pe}const ie=/(?:[\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 F(ye){return ie.test(ye)}const M=/(?:[\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 Q(ye){return M.test(ye)}const de=/^[\t\n\r\x20-\x7E]*$/;function Se(ye){return de.test(ye)}const Ie=/[\u2028\u2029]/;function je(ye){return Ie.test(ye)}function Fe(ye){for(let Pe=0,Me=ye.length;Pe<Me;Pe++)if(Ft(ye.charCodeAt(Pe)))return!0;return!1}function Ft(ye){return ye=+ye,ye>=11904&&ye<=55215||ye>=63744&&ye<=64255||ye>=65281&&ye<=65374}function _t(ye){return ye>=127462&&ye<=127487||ye===8986||ye===8987||ye===9200||ye===9203||ye>=9728&&ye<=10175||ye===11088||ye===11093||ye>=127744&&ye<=128591||ye>=128640&&ye<=128764||ye>=128992&&ye<=129003||ye>=129280&&ye<=129535||ye>=129648&&ye<=129750}const Pt="\uFEFF";function Qt(ye){return!!(ye&&ye.length>0&&ye.charCodeAt(0)===65279)}function Jt(ye,Pe=!1){return ye?(Pe&&(ye=ye.replace(/\\./g,"")),ye.toLowerCase()!==ye):!1}function qt(ye){return ye=ye%52,ye<26?String.fromCharCode(97+ye):String.fromCharCode(65+ye-26)}function Xe(ye){return Ut.getInstance().getGraphemeBreakType(ye)}function It(ye,Pe){return ye===0?Pe!==5&&Pe!==7:ye===2&&Pe===3?!1:ye===4||ye===2||ye===3||Pe===4||Pe===2||Pe===3?!0:!(ye===8&&(Pe===8||Pe===9||Pe===11||Pe===12)||(ye===11||ye===9)&&(Pe===9||Pe===10)||(ye===12||ye===10)&&Pe===10||Pe===5||Pe===13||Pe===7||ye===1||ye===13&&Pe===14||ye===6&&Pe===6)}class Ut{constructor(){this._data=ot()}static getInstance(){return Ut._INSTANCE||(Ut._INSTANCE=new Ut),Ut._INSTANCE}getGraphemeBreakType(Pe){if(Pe<32)return Pe===10?3:Pe===13?2:4;if(Pe<127)return 0;const Me=this._data,$e=Me.length/3;let He=1;for(;He<=$e;)if(Pe<Me[3*He])He=2*He;else if(Pe>Me[3*He+1])He=2*He+1;else return Me[3*He+2];return 0}}Ut._INSTANCE=null;function ot(){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 bt(ye,Pe){if(ye===0)return 0;const Me=ht(ye,Pe);if(Me!==void 0)return Me;const $e=le(Pe,ye);return ye-=et($e),ye}function ht(ye,Pe){let Me=le(Pe,ye);for(ye-=et(Me);Ue(Me)||Me===65039||Me===8419;){if(ye===0)return;Me=le(Pe,ye),ye-=et(Me)}if(_t(Me)){if(ye>=0){const $e=le(Pe,ye);$e===8205&&(ye-=et($e))}return ye}}function et(ye){return ye>=65536?2:1}function Ue(ye){return 127995<=ye&&ye<=127999}},72999:function(d,g,e){"use strict";e.d(g,{$E:function(){return A},$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 o},p_:function(){return a},vE:function(){return P}});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 o(D){return typeof D=="undefined"}function h(D){return!u(D)}function u(D){return o(D)||D===null}function a(D,B){if(!D)throw new Error(B?`Unexpected type, expected '${B}'`:"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,B){const $=Math.min(D.length,B.length);for(let j=0;j<$;j++)_(D[j],B[j])}function _(D,B){if(i(B)){if(typeof D!==B)throw new Error(`argument does not match constraint: typeof ${B}`)}else if(p(B)){try{if(D instanceof B)return}catch($){}if(!u(D)&&D.constructor===B||B.length===1&&B.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 B=[],$=Object.getPrototypeOf(D);for(;Object.prototype!==$;)B=B.concat(Object.getOwnPropertyNames($)),$=Object.getPrototypeOf($);return B}function A(D){const B=[];for(const $ of b(D))typeof D[$]=="function"&&B.push($);return B}function R(D,B){const $=K=>function(){const V=Array.prototype.slice.call(arguments,0);return B(K,V)};let j={};for(const K of D)j[K]=$(K);return j}function L(D){return D===null?void 0:D}function P(D,B="Unreachable"){throw new Error(B)}},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(o,h){const u=h[0];return typeof c[u]!="undefined"?c[u]:o}),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 P},co:function(){return A},eH:function(){return b},vr:function(){return _}});var r=e(75918),i=e(52615),l=e(4348),c=e(88226),f=e(69323),o=e(34502),h=e(35884),u=e(90689),a=e(16925),x=e(49055),p=function(D,B,$,j){var K=arguments.length,V=K<3?B:j===null?j=Object.getOwnPropertyDescriptor(B,$):j,W;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")V=Reflect.decorate(D,B,$,j);else for(var oe=D.length-1;oe>=0;oe--)(W=D[oe])&&(V=(K<3?W(V):K>3?W(B,$,V):W(B,$))||V);return K>3&&V&&Object.defineProperty(B,$,V),V},y=function(D,B){return function($,j){B($,j,D)}};function _(D){return D.command!==void 0}class b{constructor(B){this.id=b._idPool++,this._debugName=B}}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 A=(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 B of D)this._commands.set(B.id,B);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,f.OF)(()=>{let B=!1;for(const $ of D)B=this._commands.delete($.id)||B;B&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(D){return this._commands.get(D)}getCommands(){const D=new Map;return this._commands.forEach((B,$)=>D.set($,B)),D}appendMenuItem(D,B){return this.appendMenuItems(c.$.single({id:D,item:B}))}appendMenuItems(D){const B=new Set,$=new o.S;for(const{id:j,item:K}of D){let V=this._menuItems.get(j);V||(V=new o.S,this._menuItems.set(j,V)),$.push(V.push(K)),B.add(j)}return this._onDidChangeMenu.fire(B),(0,f.OF)(()=>{if($.size>0){for(let j of $)j();this._onDidChangeMenu.fire(B),$.clear()}})}getMenuItems(D){let B;return this._menuItems.has(D)?B=[...this._menuItems.get(D)]:B=[],D===b.CommandPalette&&this._appendImplicitItems(B),B}_appendImplicitItems(D){const B=new Set;for(const $ of D)_($)&&(B.add($.command.id),$.alt&&B.add($.alt.id));this._commands.forEach(($,j)=>{B.has(j)||D.push({command:$})})}};class L extends r.wY{constructor(B,$,j,K){super(`submenuitem.${B.submenu.id}`,typeof B.title=="string"?B.title:B.title.value,[],"submenu"),this.item=B,this._menuService=$,this._contextKeyService=j,this._options=K}get actions(){const B=[],$=this._menuService.createMenu(this.item.submenu,this._contextKeyService),j=$.getActions(this._options);$.dispose();for(const[,K]of j)K.length>0&&(B.push(...K),B.push(new r.Z0));return B.length&&B.pop(),B}}let P=class Rd{constructor(B,$,j,K,V){var W,oe;if(this._commandService=V,this.id=B.id,this.label=j!=null&&j.renderShortTitle&&B.shortTitle?typeof B.shortTitle=="string"?B.shortTitle:B.shortTitle.value:typeof B.title=="string"?B.title:B.title.value,this.tooltip=(oe=typeof B.tooltip=="string"?B.tooltip:(W=B.tooltip)===null||W===void 0?void 0:W.value)!==null&&oe!==void 0?oe:"",this.enabled=!B.precondition||K.contextMatchesRules(B.precondition),this.checked=void 0,B.toggled){const ae=B.toggled.condition?B.toggled:{condition:B.toggled};this.checked=K.contextMatchesRules(ae.condition),this.checked&&ae.tooltip&&(this.tooltip=typeof ae.tooltip=="string"?ae.tooltip:ae.tooltip.value),ae.title&&(this.label=typeof ae.title=="string"?ae.title:ae.title.value)}this.item=B,this.alt=$?new Rd($,void 0,j,K,V):void 0,this._options=j,x.kS.isThemeIcon(B.icon)&&(this.class=i.dT.asClassName(B.icon))}dispose(){}run(...B){var $,j;let K=[];return!(($=this._options)===null||$===void 0)&&$.arg&&(K=[...K,this._options.arg]),!((j=this._options)===null||j===void 0)&&j.shouldForwardArgs&&(K=[...K,...B]),this._commandService.executeCommand(this.id,...K)}};P=p([y(3,u.i6),y(4,h.H)],P)},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),o=e(16925);const h=(0,o.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 A=[];for(let L of a.description.args)A.push(L.constraint);const R=a.handler;a.handler=function(L,...P){return(0,f.D8)(P,A),R(L,...P)}}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 A=this._commands.get(p);A!=null&&A.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 J},Fb:function(){return u},K8:function(){return ne},i6:function(){return q},uy:function(){return ce}});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 o=Object.prototype.hasOwnProperty;class h{static has(F){return y.create(F)}static equals(F,M){return _.create(F,M)}static regex(F,M){return K.create(F,M)}static not(F){return L.create(F)}static and(...F){return oe.create(F,null)}static or(...F){return ae.create(F,null,!0)}static deserialize(F,M=!1){if(F)return this._deserializeOrExpression(F,M)}static _deserializeOrExpression(F,M){let Q=F.split("||");return ae.create(Q.map(de=>this._deserializeAndExpression(de,M)),null,!0)}static _deserializeAndExpression(F,M){let Q=F.split("&&");return oe.create(Q.map(de=>this._deserializeOne(de,M)),null)}static _deserializeOne(F,M){if(F=F.trim(),F.indexOf("!=")>=0){let Q=F.split("!=");return R.create(Q[0].trim(),this._deserializeValue(Q[1],M))}if(F.indexOf("==")>=0){let Q=F.split("==");return _.create(Q[0].trim(),this._deserializeValue(Q[1],M))}if(F.indexOf("=~")>=0){let Q=F.split("=~");return K.create(Q[0].trim(),this._deserializeRegexValue(Q[1],M))}if(F.indexOf(" in ")>=0){let Q=F.split(" in ");return b.create(Q[0].trim(),Q[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(F)){const Q=F.split(">=");return B.create(Q[0].trim(),Q[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(F)){const Q=F.split(">");return D.create(Q[0].trim(),Q[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(F)){const Q=F.split("<=");return j.create(Q[0].trim(),Q[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(F)){const Q=F.split("<");return $.create(Q[0].trim(),Q[1].trim())}return/^\!\s*/.test(F)?L.create(F.substr(1).trim()):y.create(F)}static _deserializeValue(F,M){if(F=F.trim(),F==="true")return!0;if(F==="false")return!1;let Q=/^'([^']*)'$/.exec(F);return Q?Q[1].trim():F}static _deserializeRegexValue(F,M){if((0,i.m5)(F)){if(M)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let Q=F.indexOf("/"),de=F.lastIndexOf("/");if(Q===de||Q<0){if(M)throw new Error(`bad regexp-value '${F}', missing /-enclosure`);return console.warn(`bad regexp-value '${F}', missing /-enclosure`),null}let Se=F.slice(Q+1,de),Ie=F[de+1]==="i"?"i":"";try{return new RegExp(Se,Ie)}catch(je){if(M)throw new Error(`bad regexp-value '${F}', parse error: ${je}`);return console.warn(`bad regexp-value '${F}', parse error: ${je}`),null}}}function u(ie,F){const M=ie?ie.substituteConstants():void 0,Q=F?F.substituteConstants():void 0;return!M&&!Q?!0:!M||!Q?!1:M.equals(Q)}function a(ie,F){return ie.cmp(F)}class x{constructor(){this.type=0}cmp(F){return this.type-F.type}equals(F){return F.type===this.type}substituteConstants(){return this}evaluate(F){return!1}serialize(){return"false"}keys(){return[]}negate(){return p.INSTANCE}}x.INSTANCE=new x;class p{constructor(){this.type=1}cmp(F){return this.type-F.type}equals(F){return F.type===this.type}substituteConstants(){return this}evaluate(F){return!0}serialize(){return"true"}keys(){return[]}negate(){return x.INSTANCE}}p.INSTANCE=new p;class y{constructor(F,M){this.key=F,this.negated=M,this.type=2}static create(F,M=null){const Q=f.get(F);return typeof Q=="boolean"?Q?p.INSTANCE:x.INSTANCE:new y(F,M)}cmp(F){return F.type!==this.type?this.type-F.type:Y(this.key,F.key)}equals(F){return F.type===this.type?this.key===F.key:!1}substituteConstants(){const F=f.get(this.key);return typeof F=="boolean"?F?p.INSTANCE:x.INSTANCE:this}evaluate(F){return!!F.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(F,M,Q){this.key=F,this.value=M,this.negated=Q,this.type=4}static create(F,M,Q=null){if(typeof M=="boolean")return M?y.create(F,Q):L.create(F,Q);const de=f.get(F);return typeof de=="boolean"?M===(de?"true":"false")?p.INSTANCE:x.INSTANCE:new _(F,M,Q)}cmp(F){return F.type!==this.type?this.type-F.type:le(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){const F=f.get(this.key);if(typeof F=="boolean"){const M=F?"true":"false";return this.value===M?p.INSTANCE:x.INSTANCE}return this}evaluate(F){return F.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(F,M){this.key=F,this.valueKey=M,this.type=10,this.negated=null}static create(F,M){return new b(F,M)}cmp(F){return F.type!==this.type?this.type-F.type:le(this.key,this.valueKey,F.key,F.valueKey)}equals(F){return F.type===this.type?this.key===F.key&&this.valueKey===F.valueKey:!1}substituteConstants(){return this}evaluate(F){const M=F.getValue(this.valueKey),Q=F.getValue(this.key);return Array.isArray(M)?M.indexOf(Q)>=0:typeof Q=="string"&&typeof M=="object"&&M!==null?o.call(M,Q):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=A.create(this)),this.negated}}class A{constructor(F){this._actual=F,this.type=11}static create(F){return new A(F)}cmp(F){return F.type!==this.type?this.type-F.type:this._actual.cmp(F._actual)}equals(F){return F.type===this.type?this._actual.equals(F._actual):!1}substituteConstants(){return this}evaluate(F){return!this._actual.evaluate(F)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class R{constructor(F,M,Q){this.key=F,this.value=M,this.negated=Q,this.type=5}static create(F,M,Q=null){if(typeof M=="boolean")return M?L.create(F,Q):y.create(F,Q);const de=f.get(F);return typeof de=="boolean"?M===(de?"true":"false")?x.INSTANCE:p.INSTANCE:new R(F,M,Q)}cmp(F){return F.type!==this.type?this.type-F.type:le(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){const F=f.get(this.key);if(typeof F=="boolean"){const M=F?"true":"false";return this.value===M?x.INSTANCE:p.INSTANCE}return this}evaluate(F){return F.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(F,M){this.key=F,this.negated=M,this.type=3}static create(F,M=null){const Q=f.get(F);return typeof Q=="boolean"?Q?x.INSTANCE:p.INSTANCE:new L(F,M)}cmp(F){return F.type!==this.type?this.type-F.type:Y(this.key,F.key)}equals(F){return F.type===this.type?this.key===F.key:!1}substituteConstants(){const F=f.get(this.key);return typeof F=="boolean"?F?x.INSTANCE:p.INSTANCE:this}evaluate(F){return!F.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 P(ie,F){if(typeof ie=="string"){const M=parseFloat(ie);isNaN(M)||(ie=M)}return typeof ie=="string"||typeof ie=="number"?F(ie):x.INSTANCE}class D{constructor(F,M,Q){this.key=F,this.value=M,this.negated=Q,this.type=12}static create(F,M,Q=null){return P(M,de=>new D(F,de,Q))}cmp(F){return F.type!==this.type?this.type-F.type:le(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){return this}evaluate(F){return typeof this.value=="string"?!1:parseFloat(F.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 B{constructor(F,M,Q){this.key=F,this.value=M,this.negated=Q,this.type=13}static create(F,M,Q=null){return P(M,de=>new B(F,de,Q))}cmp(F){return F.type!==this.type?this.type-F.type:le(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){return this}evaluate(F){return typeof this.value=="string"?!1:parseFloat(F.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 ${constructor(F,M,Q){this.key=F,this.value=M,this.negated=Q,this.type=14}static create(F,M,Q=null){return P(M,de=>new $(F,de,Q))}cmp(F){return F.type!==this.type?this.type-F.type:le(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){return this}evaluate(F){return typeof this.value=="string"?!1:parseFloat(F.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=B.create(this.key,this.value,this)),this.negated}}class j{constructor(F,M,Q){this.key=F,this.value=M,this.negated=Q,this.type=15}static create(F,M,Q=null){return P(M,de=>new j(F,de,Q))}cmp(F){return F.type!==this.type?this.type-F.type:le(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){return this}evaluate(F){return typeof this.value=="string"?!1:parseFloat(F.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 K{constructor(F,M){this.key=F,this.regexp=M,this.type=7,this.negated=null}static create(F,M){return new K(F,M)}cmp(F){if(F.type!==this.type)return this.type-F.type;if(this.key<F.key)return-1;if(this.key>F.key)return 1;const M=this.regexp?this.regexp.source:"",Q=F.regexp?F.regexp.source:"";return M<Q?-1:M>Q?1:0}equals(F){if(F.type===this.type){const M=this.regexp?this.regexp.source:"",Q=F.regexp?F.regexp.source:"";return this.key===F.key&&M===Q}return!1}substituteConstants(){return this}evaluate(F){let M=F.getValue(this.key);return this.regexp?this.regexp.test(M):!1}serialize(){const F=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${F}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=V.create(this)),this.negated}}class V{constructor(F){this._actual=F,this.type=8}static create(F){return new V(F)}cmp(F){return F.type!==this.type?this.type-F.type:this._actual.cmp(F._actual)}equals(F){return F.type===this.type?this._actual.equals(F._actual):!1}substituteConstants(){return this}evaluate(F){return!this._actual.evaluate(F)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function W(ie){let F=null;for(let M=0,Q=ie.length;M<Q;M++){const de=ie[M].substituteConstants();if(ie[M]!==de&&F===null){F=[];for(let Se=0;Se<M;Se++)F[Se]=ie[Se]}F!==null&&(F[M]=de)}return F===null?ie:F}class oe{constructor(F,M){this.expr=F,this.negated=M,this.type=6}static create(F,M){return oe._normalizeArr(F,M)}cmp(F){if(F.type!==this.type)return this.type-F.type;if(this.expr.length<F.expr.length)return-1;if(this.expr.length>F.expr.length)return 1;for(let M=0,Q=this.expr.length;M<Q;M++){const de=a(this.expr[M],F.expr[M]);if(de!==0)return de}return 0}equals(F){if(F.type===this.type){if(this.expr.length!==F.expr.length)return!1;for(let M=0,Q=this.expr.length;M<Q;M++)if(!this.expr[M].equals(F.expr[M]))return!1;return!0}return!1}substituteConstants(){const F=W(this.expr);return F===this.expr?this:oe.create(F,this.negated)}evaluate(F){for(let M=0,Q=this.expr.length;M<Q;M++)if(!this.expr[M].evaluate(F))return!1;return!0}static _normalizeArr(F,M){const Q=[];let de=!1;for(const Se of F)if(Se){if(Se.type===1){de=!0;continue}if(Se.type===0)return x.INSTANCE;if(Se.type===6){Q.push(...Se.expr);continue}Q.push(Se)}if(Q.length===0&&de)return p.INSTANCE;if(Q.length!==0){if(Q.length===1)return Q[0];Q.sort(a);for(let Se=1;Se<Q.length;Se++)Q[Se-1].equals(Q[Se])&&(Q.splice(Se,1),Se--);if(Q.length===1)return Q[0];for(;Q.length>1;){const Se=Q[Q.length-1];if(Se.type!==9)break;Q.pop();const Ie=Q.pop(),je=Q.length===0,Fe=ae.create(Se.expr.map(Ft=>oe.create([Ft,Ie],null)),null,je);Fe&&(Q.push(Fe),Q.sort(a))}return Q.length===1?Q[0]:new oe(Q,M)}}serialize(){return this.expr.map(F=>F.serialize()).join(" && ")}keys(){const F=[];for(let M of this.expr)F.push(...M.keys());return F}negate(){if(!this.negated){const F=[];for(let M of this.expr)F.push(M.negate());this.negated=ae.create(F,this,!0)}return this.negated}}class ae{constructor(F,M){this.expr=F,this.negated=M,this.type=9}static create(F,M,Q){return ae._normalizeArr(F,M,Q)}cmp(F){if(F.type!==this.type)return this.type-F.type;if(this.expr.length<F.expr.length)return-1;if(this.expr.length>F.expr.length)return 1;for(let M=0,Q=this.expr.length;M<Q;M++){const de=a(this.expr[M],F.expr[M]);if(de!==0)return de}return 0}equals(F){if(F.type===this.type){if(this.expr.length!==F.expr.length)return!1;for(let M=0,Q=this.expr.length;M<Q;M++)if(!this.expr[M].equals(F.expr[M]))return!1;return!0}return!1}substituteConstants(){const F=W(this.expr);return F===this.expr?this:ae.create(F,this.negated,!1)}evaluate(F){for(let M=0,Q=this.expr.length;M<Q;M++)if(this.expr[M].evaluate(F))return!0;return!1}static _normalizeArr(F,M,Q){let de=[],Se=!1;if(F){for(let Ie=0,je=F.length;Ie<je;Ie++){const Fe=F[Ie];if(Fe){if(Fe.type===0){Se=!0;continue}if(Fe.type===1)return p.INSTANCE;if(Fe.type===9){de=de.concat(Fe.expr);continue}de.push(Fe)}}if(de.length===0&&Se)return x.INSTANCE;de.sort(a)}if(de.length!==0){if(de.length===1)return de[0];for(let Ie=1;Ie<de.length;Ie++)de[Ie-1].equals(de[Ie])&&(de.splice(Ie,1),Ie--);if(de.length===1)return de[0];if(Q){for(let Ie=0;Ie<de.length;Ie++)for(let je=Ie+1;je<de.length;je++)ne(de[Ie],de[je])&&(de.splice(je,1),je--);if(de.length===1)return de[0]}return new ae(de,M)}}serialize(){return this.expr.map(F=>F.serialize()).join(" || ")}keys(){const F=[];for(let M of this.expr)F.push(...M.keys());return F}negate(){if(!this.negated){let F=[];for(let M of this.expr)F.push(M.negate());for(;F.length>1;){const M=F.shift(),Q=F.shift(),de=[];for(const Ie of ee(M))for(const je of ee(Q))de.push(oe.create([Ie,je],null));const Se=F.length===0;F.unshift(ae.create(de,null,Se))}this.negated=F[0]}return this.negated}}class ce extends y{constructor(F,M,Q){super(F,null),this._defaultValue=M,typeof Q=="object"?ce._info.push(Object.assign(Object.assign({},Q),{key:F})):Q!==!0&&ce._info.push({key:F,description:Q,type:M!=null?typeof M:void 0})}static all(){return ce._info.values()}bindTo(F){return F.createKey(this.key,this._defaultValue)}getValue(F){return F.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(F){return _.create(this.key,F)}}ce._info=[];const q=(0,l.yh)("contextKeyService"),J="setContext";function Y(ie,F){return ie<F?-1:ie>F?1:0}function le(ie,F,M,Q){return ie<M?-1:ie>M?1:F<Q?-1:F>Q?1:0}function ne(ie,F){if(F.type===6&&ie.type!==9&&ie.type!==6){for(const de of F.expr)if(ie.equals(de))return!0}const M=ie.negate(),Q=ee(M).concat(ee(F));Q.sort(a);for(let de=0;de<Q.length;de++){const Ie=Q[de].negate();for(let je=de+1;je<Q.length;je++){const Fe=Q[je];if(Ie.equals(Fe))return!0}}return!1}function ee(ie){return ie.type===9?ie.expr:[ie]}},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(o){o.serviceIds=new Map,o.DI_TARGET="$di$target",o.DI_DEPENDENCIES="$di$dependencies";function h(u){return u[o.DI_DEPENDENCIES]||[]}o.getServiceDependencies=h})(r||(r={}));const i=c("instantiationService");function l(o,h,u,a){h[r.DI_TARGET]===h?h[r.DI_DEPENDENCIES].push({id:o,index:u,optional:a}):(h[r.DI_DEPENDENCIES]=[{id:o,index:u,optional:a}],h[r.DI_TARGET]=h)}function c(o){if(r.serviceIds.has(o))return r.serviceIds.get(o);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=()=>o,r.serviceIds.set(o,h),h}function f(o){return function(h,u,a){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");l(o,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(o,h){r.ok(i.HD(o)),r.ok(i.Kn(h)),r.ok(!this.data.has(o),"There is already an extension with this id"),this.data.set(o,h)}as(o){return this.data.get(o)||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 A},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),o=e(66213);const h=(0,c.yh)("themeService");var u;(function(L){function P(D){return D&&typeof D=="object"&&typeof D.id=="string"}L.isThemeColor=P})(u||(u={}));function a(L){return{id:L}}var x;(function(L){function P(V){return V&&typeof V=="object"&&typeof V.id=="string"&&(typeof V.color=="undefined"||u.isThemeColor(V.color))}L.isThemeIcon=P;const D=new RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);function B(V){const W=D.exec(V);if(!W)return;let[,oe]=W;return{id:oe}}L.fromString=B;function $(V,W){let oe=V.id;const ae=oe.lastIndexOf("~");return ae!==-1&&(oe=oe.substring(0,ae)),W&&(oe=`${oe}~${W}`),{id:oe}}L.modify=$;function j(V,W){var oe,ae;return V.id===W.id&&((oe=V.color)===null||oe===void 0?void 0:oe.id)===((ae=W.color)===null||ae===void 0?void 0:ae.id)}L.isEqual=j;function K(V,W){return{id:V.id,color:W?a(W):void 0}}L.asThemeIcon=K,L.asClassNameArray=r.dT.asClassNameArray,L.asClassName=r.dT.asClassName,L.asCSSSelector=r.dT.asCSSSelector})(x||(x={}));function p(L){switch(L){case o.e.DARK:return"vs-dark";case o.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(P){return this.themingParticipants.push(P),this.onThemingParticipantAddedEmitter.fire(P),(0,l.OF)(()=>{const D=this.themingParticipants.indexOf(P);this.themingParticipants.splice(D,1)})}getThemingParticipants(){return this.themingParticipants}}let b=new _;f.B.add(y.ThemingContribution,b);function A(L){return b.onColorThemeChange(L)}class R extends l.JT{constructor(P){super(),this.themeService=P,this.theme=P.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(D=>this.onThemeChange(D)))}onThemeChange(P){this.theme=P,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={},o=0;o<10;o++)f["_"+String.fromCharCode(o)]=o;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 o,h=i(c),u,a=1;a<arguments.length;a++){o=Object(arguments[a]);for(var x in o)e.call(o,x)&&(h[x]=o[x]);if(g){u=g(o);for(var p=0;p<u.length;p++)r.call(o,u[p])&&(h[u[p]]=o[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(A){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(A){try{return r.call(null,b)}catch(R){return r.call(this,b)}}}var o=[],h=!1,u,a=-1;function x(){!h||!u||(h=!1,u.length?o=u.concat(o):a=-1,o.length&&p())}function p(){if(!h){var b=c(x);h=!0;for(var A=o.length;A;){for(u=o,o=[];++a<A;)u&&u[a].run();a=-1,A=o.length}u=null,h=!1,f(b)}}g.nextTick=function(b){var A=new Array(arguments.length-1);if(arguments.length>1)for(var R=1;R<arguments.length;R++)A[R-1]=arguments[R];o.push(new y(b,A)),o.length===1&&!h&&c(p)};function y(b,A){this.fun=b,this.array=A}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 o={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 o.PropTypes=o,o}},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 $},Z:function(){return ce}});var r=e(72308),i=e(52487),l=e(43403),c=e(59301),f=c.createContext({}),o=e(77321),h=e(92310),u=e.n(h),a=e(48519),x=e(80402),p=e(10228),y=e(26112);function _(q,J,Y){var le=J;return!le&&Y&&(le="".concat(q,"-").concat(Y)),le}function b(q,J){var Y=q["page".concat(J?"Y":"X","Offset")],le="scroll".concat(J?"Top":"Left");if(typeof Y!="number"){var ne=q.document;Y=ne.documentElement[le],typeof Y!="number"&&(Y=ne.body[le])}return Y}function A(q){var J=q.getBoundingClientRect(),Y={left:J.left,top:J.top},le=q.ownerDocument,ne=le.defaultView||le.parentWindow;return Y.left+=b(ne),Y.top+=b(ne,!0),Y}var R=e(77900),L=e(8654),P=c.memo(function(q){var J=q.children;return J},function(q,J){var Y=J.shouldUpdate;return!Y}),D={width:0,height:0,overflow:"hidden",outline:"none"},B=c.forwardRef(function(q,J){var Y=q.prefixCls,le=q.className,ne=q.style,ee=q.title,ie=q.ariaId,F=q.footer,M=q.closable,Q=q.closeIcon,de=q.onClose,Se=q.children,Ie=q.bodyStyle,je=q.bodyProps,Fe=q.modalRender,Ft=q.onMouseDown,_t=q.onMouseUp,Pt=q.holderRef,Qt=q.visible,Jt=q.forceRender,qt=q.width,Xe=q.height,It=c.useContext(f),Ut=It.panel,ot=(0,L.x1)(Pt,Ut),bt=(0,c.useRef)(),ht=(0,c.useRef)();c.useImperativeHandle(J,function(){return{focus:function(){var He;(He=bt.current)===null||He===void 0||He.focus()},changeActive:function(He){var nt=document,ct=nt.activeElement;He&&ct===ht.current?bt.current.focus():!He&&ct===bt.current&&ht.current.focus()}}});var et={};qt!==void 0&&(et.width=qt),Xe!==void 0&&(et.height=Xe);var Ue;F&&(Ue=c.createElement("div",{className:"".concat(Y,"-footer")},F));var ye;ee&&(ye=c.createElement("div",{className:"".concat(Y,"-header")},c.createElement("div",{className:"".concat(Y,"-title"),id:ie},ee)));var Pe;M&&(Pe=c.createElement("button",{type:"button",onClick:de,"aria-label":"Close",className:"".concat(Y,"-close")},Q||c.createElement("span",{className:"".concat(Y,"-close-x")})));var Me=c.createElement("div",{className:"".concat(Y,"-content")},Pe,ye,c.createElement("div",(0,r.Z)({className:"".concat(Y,"-body"),style:Ie},je),Se),Ue);return c.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":ee?ie:null,"aria-modal":"true",ref:ot,style:(0,o.Z)((0,o.Z)({},ne),et),className:u()(Y,le),onMouseDown:Ft,onMouseUp:_t},c.createElement("div",{tabIndex:0,ref:bt,style:D,"aria-hidden":"true"}),c.createElement(P,{shouldUpdate:Qt||Jt},Fe?Fe(Me):Me),c.createElement("div",{tabIndex:0,ref:ht,style:D,"aria-hidden":"true"}))}),$=B,j=c.forwardRef(function(q,J){var Y=q.prefixCls,le=q.title,ne=q.style,ee=q.className,ie=q.visible,F=q.forceRender,M=q.destroyOnClose,Q=q.motionName,de=q.ariaId,Se=q.onVisibleChanged,Ie=q.mousePosition,je=(0,c.useRef)(),Fe=c.useState(),Ft=(0,i.Z)(Fe,2),_t=Ft[0],Pt=Ft[1],Qt={};_t&&(Qt.transformOrigin=_t);function Jt(){var qt=A(je.current);Pt(Ie?"".concat(Ie.x-qt.left,"px ").concat(Ie.y-qt.top,"px"):"")}return c.createElement(R.default,{visible:ie,onVisibleChanged:Se,onAppearPrepare:Jt,onEnterPrepare:Jt,forceRender:F,motionName:Q,removeOnLeave:M,ref:je},function(qt,Xe){var It=qt.className,Ut=qt.style;return c.createElement($,(0,r.Z)({},q,{ref:J,title:le,ariaId:de,prefixCls:Y,holderRef:Xe,style:(0,o.Z)((0,o.Z)((0,o.Z)({},Ut),ne),Qt),className:u()(ee,It)}))})});j.displayName="Content";var K=j;function V(q){var J=q.prefixCls,Y=q.style,le=q.visible,ne=q.maskProps,ee=q.motionName;return c.createElement(R.default,{key:"mask",visible:le,motionName:ee,leavedClassName:"".concat(J,"-mask-hidden")},function(ie,F){var M=ie.className,Q=ie.style;return c.createElement("div",(0,r.Z)({ref:F,style:(0,o.Z)((0,o.Z)({},Q),Y),className:u()("".concat(J,"-mask"),M)},ne))})}function W(q){var J=q.prefixCls,Y=J===void 0?"rc-dialog":J,le=q.zIndex,ne=q.visible,ee=ne===void 0?!1:ne,ie=q.keyboard,F=ie===void 0?!0:ie,M=q.focusTriggerAfterClose,Q=M===void 0?!0:M,de=q.wrapStyle,Se=q.wrapClassName,Ie=q.wrapProps,je=q.onClose,Fe=q.afterOpenChange,Ft=q.afterClose,_t=q.transitionName,Pt=q.animation,Qt=q.closable,Jt=Qt===void 0?!0:Qt,qt=q.mask,Xe=qt===void 0?!0:qt,It=q.maskTransitionName,Ut=q.maskAnimation,ot=q.maskClosable,bt=ot===void 0?!0:ot,ht=q.maskStyle,et=q.maskProps,Ue=q.rootClassName,ye=(0,c.useRef)(),Pe=(0,c.useRef)(),Me=(0,c.useRef)(),$e=c.useState(ee),He=(0,i.Z)($e,2),nt=He[0],ct=He[1],Gt=(0,x.Z)();function Ht(){(0,a.Z)(Pe.current,document.activeElement)||(ye.current=document.activeElement)}function Oe(){if(!(0,a.Z)(Pe.current,document.activeElement)){var fe;(fe=Me.current)===null||fe===void 0||fe.focus()}}function Je(fe){if(fe)Oe();else{if(ct(!1),Xe&&ye.current&&Q){try{ye.current.focus({preventScroll:!0})}catch(_e){}ye.current=null}nt&&(Ft==null||Ft())}Fe==null||Fe(fe)}function Wt(fe){je==null||je(fe)}var kt=(0,c.useRef)(!1),Zt=(0,c.useRef)(),Bt=function(){clearTimeout(Zt.current),kt.current=!0},At=function(){Zt.current=setTimeout(function(){kt.current=!1})},Kt=null;bt&&(Kt=function(_e){kt.current?kt.current=!1:Pe.current===_e.target&&Wt(_e)});function We(fe){if(F&&fe.keyCode===p.Z.ESC){fe.stopPropagation(),Wt(fe);return}ee&&fe.keyCode===p.Z.TAB&&Me.current.changeActive(!fe.shiftKey)}return(0,c.useEffect)(function(){ee&&(ct(!0),Ht())},[ee]),(0,c.useEffect)(function(){return function(){clearTimeout(Zt.current)}},[]),c.createElement("div",(0,r.Z)({className:u()("".concat(Y,"-root"),Ue)},(0,y.Z)(q,{data:!0})),c.createElement(V,{prefixCls:Y,visible:Xe&&ee,motionName:_(Y,It,Ut),style:(0,o.Z)({zIndex:le},ht),maskProps:et}),c.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:We,className:u()("".concat(Y,"-wrap"),Se),ref:Pe,onClick:Kt,style:(0,o.Z)((0,o.Z)({zIndex:le},de),{},{display:nt?null:"none"})},Ie),c.createElement(K,(0,r.Z)({},q,{onMouseDown:Bt,onMouseUp:At,ref:Me,closable:Jt,ariaId:Gt,prefixCls:Y,visible:ee&&nt,onClose:Wt,onVisibleChanged:Je,motionName:_(Y,_t,Pt)}))))}var oe=function(J){var Y=J.visible,le=J.getContainer,ne=J.forceRender,ee=J.destroyOnClose,ie=ee===void 0?!1:ee,F=J.afterClose,M=J.panelRef,Q=c.useState(Y),de=(0,i.Z)(Q,2),Se=de[0],Ie=de[1],je=c.useMemo(function(){return{panel:M}},[M]);return c.useEffect(function(){Y&&Ie(!0)},[Y]),!ne&&ie&&!Se?null:c.createElement(f.Provider,{value:je},c.createElement(l.Z,{open:Y||ne||Se,autoDestroy:!1,getContainer:le,autoLock:Y||Se},c.createElement(W,(0,r.Z)({},J,{destroyOnClose:ie,afterClose:function(){F==null||F(),Ie(!1)}}))))};oe.displayName="Dialog";var ae=oe,ce=ae},95013:function(d,g,e){"use strict";e.r(g),e.d(g,{Field:function(){return Rr},FieldContext:function(){return B},FormProvider:function(){return Yi},List:function(){return Un},ListContext:function(){return j},default:function(){return bn},useForm:function(){return vi},useWatch:function(){return Wi}});var r=e(59301),i=e(72308),l=e(74416),c=e(65736),f=e(72633),o=e(77321),h=e(80702),u=e(96949),a=e(55090),x=e(80237),p=e(77205),y=e(38793),_=e(49618),b=e(11592),A=e(13697),R=e(48736),L="RC_FORM_INTERNAL_HOOKS",P=function(){(0,R.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},D=r.createContext({getFieldValue:P,getFieldsValue:P,getFieldError:P,getFieldWarning:P,getFieldsError:P,isFieldsTouched:P,isFieldTouched:P,isFieldValidating:P,isFieldsValidating:P,resetFields:P,setFields:P,setFieldValue:P,setFieldsValue:P,validateFields:P,submit:P,getInternalHooks:function(){return P(),{dispatch:P,initEntityValue:P,registerField:P,useSubscribe:P,setInitialValues:P,destroyForm:P,setCallbacks:P,registerWatch:P,getFields:P,setValidateMessages:P,setPreserve:P,getInitialValue:P}}}),B=D,$=r.createContext(null),j=$;function K(tr){return tr==null?[]:Array.isArray(tr)?tr:[tr]}function V(tr){return tr&&!!tr._init}var W=e(97671);function oe(){return oe=Object.assign?Object.assign.bind():function(tr){for(var mt=1;mt<arguments.length;mt++){var rt=arguments[mt];for(var Dt in rt)Object.prototype.hasOwnProperty.call(rt,Dt)&&(tr[Dt]=rt[Dt])}return tr},oe.apply(this,arguments)}function ae(tr,mt){tr.prototype=Object.create(mt.prototype),tr.prototype.constructor=tr,q(tr,mt)}function ce(tr){return ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(rt){return rt.__proto__||Object.getPrototypeOf(rt)},ce(tr)}function q(tr,mt){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Dt,pt){return Dt.__proto__=pt,Dt},q(tr,mt)}function J(){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 Y(tr,mt,rt){return J()?Y=Reflect.construct.bind():Y=function(pt,ur,cr){var Tr=[null];Tr.push.apply(Tr,ur);var Ur=Function.bind.apply(pt,Tr),Ze=new Ur;return cr&&q(Ze,cr.prototype),Ze},Y.apply(null,arguments)}function le(tr){return Function.toString.call(tr).indexOf("[native code]")!==-1}function ne(tr){var mt=typeof Map=="function"?new Map:void 0;return ne=function(Dt){if(Dt===null||!le(Dt))return Dt;if(typeof Dt!="function")throw new TypeError("Super expression must either be null or a function");if(typeof mt!="undefined"){if(mt.has(Dt))return mt.get(Dt);mt.set(Dt,pt)}function pt(){return Y(Dt,arguments,ce(this).constructor)}return pt.prototype=Object.create(Dt.prototype,{constructor:{value:pt,enumerable:!1,writable:!0,configurable:!0}}),q(pt,Dt)},ne(tr)}var ee=/%[sdj%]/g,ie=function(){};function F(tr){if(!tr||!tr.length)return null;var mt={};return tr.forEach(function(rt){var Dt=rt.field;mt[Dt]=mt[Dt]||[],mt[Dt].push(rt)}),mt}function M(tr){for(var mt=arguments.length,rt=new Array(mt>1?mt-1:0),Dt=1;Dt<mt;Dt++)rt[Dt-1]=arguments[Dt];var pt=0,ur=rt.length;if(typeof tr=="function")return tr.apply(null,rt);if(typeof tr=="string"){var cr=tr.replace(ee,function(Tr){if(Tr==="%%")return"%";if(pt>=ur)return Tr;switch(Tr){case"%s":return String(rt[pt++]);case"%d":return Number(rt[pt++]);case"%j":try{return JSON.stringify(rt[pt++])}catch(Ur){return"[Circular]"}break;default:return Tr}});return cr}return tr}function Q(tr){return tr==="string"||tr==="url"||tr==="hex"||tr==="email"||tr==="date"||tr==="pattern"}function de(tr,mt){return!!(tr==null||mt==="array"&&Array.isArray(tr)&&!tr.length||Q(mt)&&typeof tr=="string"&&!tr)}function Se(tr,mt,rt){var Dt=[],pt=0,ur=tr.length;function cr(Tr){Dt.push.apply(Dt,Tr||[]),pt++,pt===ur&&rt(Dt)}tr.forEach(function(Tr){mt(Tr,cr)})}function Ie(tr,mt,rt){var Dt=0,pt=tr.length;function ur(cr){if(cr&&cr.length){rt(cr);return}var Tr=Dt;Dt=Dt+1,Tr<pt?mt(tr[Tr],ur):rt([])}ur([])}function je(tr){var mt=[];return Object.keys(tr).forEach(function(rt){mt.push.apply(mt,tr[rt]||[])}),mt}var Fe=function(tr){ae(mt,tr);function mt(rt,Dt){var pt;return pt=tr.call(this,"Async Validation Error")||this,pt.errors=rt,pt.fields=Dt,pt}return mt}(ne(Error));function Ft(tr,mt,rt,Dt,pt){if(mt.first){var ur=new Promise(function(at,nr){var Pr=function(Br){return Dt(Br),Br.length?nr(new Fe(Br,F(Br))):at(pt)},br=je(tr);Ie(br,rt,Pr)});return ur.catch(function(at){return at}),ur}var cr=mt.firstFields===!0?Object.keys(tr):mt.firstFields||[],Tr=Object.keys(tr),Ur=Tr.length,Ze=0,tt=[],Ee=new Promise(function(at,nr){var Pr=function(Ir){if(tt.push.apply(tt,Ir),Ze++,Ze===Ur)return Dt(tt),tt.length?nr(new Fe(tt,F(tt))):at(pt)};Tr.length||(Dt(tt),at(pt)),Tr.forEach(function(br){var Ir=tr[br];cr.indexOf(br)!==-1?Ie(Ir,rt,Pr):Se(Ir,rt,Pr)})});return Ee.catch(function(at){return at}),Ee}function _t(tr){return!!(tr&&tr.message!==void 0)}function Pt(tr,mt){for(var rt=tr,Dt=0;Dt<mt.length;Dt++){if(rt==null)return rt;rt=rt[mt[Dt]]}return rt}function Qt(tr,mt){return function(rt){var Dt;return tr.fullFields?Dt=Pt(mt,tr.fullFields):Dt=mt[rt.field||tr.fullField],_t(rt)?(rt.field=rt.field||tr.fullField,rt.fieldValue=Dt,rt):{message:typeof rt=="function"?rt():rt,fieldValue:Dt,field:rt.field||tr.fullField}}}function Jt(tr,mt){if(mt){for(var rt in mt)if(mt.hasOwnProperty(rt)){var Dt=mt[rt];typeof Dt=="object"&&typeof tr[rt]=="object"?tr[rt]=oe({},tr[rt],Dt):tr[rt]=Dt}}return tr}var qt=function(mt,rt,Dt,pt,ur,cr){mt.required&&(!Dt.hasOwnProperty(mt.field)||de(rt,cr||mt.type))&&pt.push(M(ur.messages.required,mt.fullField))},Xe=function(mt,rt,Dt,pt,ur){(/^\s+$/.test(rt)||rt==="")&&pt.push(M(ur.messages.whitespace,mt.fullField))},It,Ut=function(){if(It)return It;var tr="[a-fA-F\\d:]",mt=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}",Dt="[a-fA-F\\d]{1,4}",pt=(`
|
|
|
(?:
|
|
|
(?:`+Dt+":){7}(?:"+Dt+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
|
(?:`+Dt+":){6}(?:"+rt+"|:"+Dt+`|:)| // 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
|
|
|
(?:`+Dt+":){5}(?::"+rt+"|(?::"+Dt+`){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
|
|
|
(?:`+Dt+":){4}(?:(?::"+Dt+"){0,1}:"+rt+"|(?::"+Dt+`){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
|
|
|
(?:`+Dt+":){3}(?:(?::"+Dt+"){0,2}:"+rt+"|(?::"+Dt+`){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
|
|
|
(?:`+Dt+":){2}(?:(?::"+Dt+"){0,3}:"+rt+"|(?::"+Dt+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
|
(?:`+Dt+":){1}(?:(?::"+Dt+"){0,4}:"+rt+"|(?::"+Dt+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
|
(?::(?:(?::`+Dt+"){0,5}:"+rt+"|(?::"+Dt+`){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(),ur=new RegExp("(?:^"+rt+"$)|(?:^"+pt+"$)"),cr=new RegExp("^"+rt+"$"),Tr=new RegExp("^"+pt+"$"),Ur=function(un){return un&&un.exact?ur:new RegExp("(?:"+mt(un)+rt+mt(un)+")|(?:"+mt(un)+pt+mt(un)+")","g")};Ur.v4=function(Er){return Er&&Er.exact?cr:new RegExp(""+mt(Er)+rt+mt(Er),"g")},Ur.v6=function(Er){return Er&&Er.exact?Tr:new RegExp(""+mt(Er)+pt+mt(Er),"g")};var Ze="(?:(?:[a-z]+:)?//)",tt="(?:\\S+(?::\\S*)?@)?",Ee=Ur.v4().source,at=Ur.v6().source,nr="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",Pr="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",br="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Ir="(?::\\d{2,5})?",Br='(?:[/?#][^\\s"]*)?',mn="(?:"+Ze+"|www\\.)"+tt+"(?:localhost|"+Ee+"|"+at+"|"+nr+Pr+br+")"+Ir+Br;return It=new RegExp("(?:^"+mn+"$)","i"),It},ot={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},bt={integer:function(mt){return bt.number(mt)&&parseInt(mt,10)===mt},float:function(mt){return bt.number(mt)&&!bt.integer(mt)},array:function(mt){return Array.isArray(mt)},regexp:function(mt){if(mt instanceof RegExp)return!0;try{return!!new RegExp(mt)}catch(rt){return!1}},date:function(mt){return typeof mt.getTime=="function"&&typeof mt.getMonth=="function"&&typeof mt.getYear=="function"&&!isNaN(mt.getTime())},number:function(mt){return isNaN(mt)?!1:typeof mt=="number"},object:function(mt){return typeof mt=="object"&&!bt.array(mt)},method:function(mt){return typeof mt=="function"},email:function(mt){return typeof mt=="string"&&mt.length<=320&&!!mt.match(ot.email)},url:function(mt){return typeof mt=="string"&&mt.length<=2048&&!!mt.match(Ut())},hex:function(mt){return typeof mt=="string"&&!!mt.match(ot.hex)}},ht=function(mt,rt,Dt,pt,ur){if(mt.required&&rt===void 0){qt(mt,rt,Dt,pt,ur);return}var cr=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Tr=mt.type;cr.indexOf(Tr)>-1?bt[Tr](rt)||pt.push(M(ur.messages.types[Tr],mt.fullField,mt.type)):Tr&&typeof rt!==mt.type&&pt.push(M(ur.messages.types[Tr],mt.fullField,mt.type))},et=function(mt,rt,Dt,pt,ur){var cr=typeof mt.len=="number",Tr=typeof mt.min=="number",Ur=typeof mt.max=="number",Ze=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tt=rt,Ee=null,at=typeof rt=="number",nr=typeof rt=="string",Pr=Array.isArray(rt);if(at?Ee="number":nr?Ee="string":Pr&&(Ee="array"),!Ee)return!1;Pr&&(tt=rt.length),nr&&(tt=rt.replace(Ze,"_").length),cr?tt!==mt.len&&pt.push(M(ur.messages[Ee].len,mt.fullField,mt.len)):Tr&&!Ur&&tt<mt.min?pt.push(M(ur.messages[Ee].min,mt.fullField,mt.min)):Ur&&!Tr&&tt>mt.max?pt.push(M(ur.messages[Ee].max,mt.fullField,mt.max)):Tr&&Ur&&(tt<mt.min||tt>mt.max)&&pt.push(M(ur.messages[Ee].range,mt.fullField,mt.min,mt.max))},Ue="enum",ye=function(mt,rt,Dt,pt,ur){mt[Ue]=Array.isArray(mt[Ue])?mt[Ue]:[],mt[Ue].indexOf(rt)===-1&&pt.push(M(ur.messages[Ue],mt.fullField,mt[Ue].join(", ")))},Pe=function(mt,rt,Dt,pt,ur){if(mt.pattern){if(mt.pattern instanceof RegExp)mt.pattern.lastIndex=0,mt.pattern.test(rt)||pt.push(M(ur.messages.pattern.mismatch,mt.fullField,rt,mt.pattern));else if(typeof mt.pattern=="string"){var cr=new RegExp(mt.pattern);cr.test(rt)||pt.push(M(ur.messages.pattern.mismatch,mt.fullField,rt,mt.pattern))}}},Me={required:qt,whitespace:Xe,type:ht,range:et,enum:ye,pattern:Pe},$e=function(mt,rt,Dt,pt,ur){var cr=[],Tr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Tr){if(de(rt,"string")&&!mt.required)return Dt();Me.required(mt,rt,pt,cr,ur,"string"),de(rt,"string")||(Me.type(mt,rt,pt,cr,ur),Me.range(mt,rt,pt,cr,ur),Me.pattern(mt,rt,pt,cr,ur),mt.whitespace===!0&&Me.whitespace(mt,rt,pt,cr,ur))}Dt(cr)},He=function(mt,rt,Dt,pt,ur){var cr=[],Tr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Tr){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,cr,ur),rt!==void 0&&Me.type(mt,rt,pt,cr,ur)}Dt(cr)},nt=function(mt,rt,Dt,pt,ur){var cr=[],Tr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Tr){if(rt===""&&(rt=void 0),de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,cr,ur),rt!==void 0&&(Me.type(mt,rt,pt,cr,ur),Me.range(mt,rt,pt,cr,ur))}Dt(cr)},ct=function(mt,rt,Dt,pt,ur){var cr=[],Tr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Tr){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,cr,ur),rt!==void 0&&Me.type(mt,rt,pt,cr,ur)}Dt(cr)},Gt=function(mt,rt,Dt,pt,ur){var cr=[],Tr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Tr){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,cr,ur),de(rt)||Me.type(mt,rt,pt,cr,ur)}Dt(cr)},Ht=function(mt,rt,Dt,pt,ur){var cr=[],Tr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Tr){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,cr,ur),rt!==void 0&&(Me.type(mt,rt,pt,cr,ur),Me.range(mt,rt,pt,cr,ur))}Dt(cr)},Oe=function(mt,rt,Dt,pt,ur){var cr=[],Tr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Tr){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,cr,ur),rt!==void 0&&(Me.type(mt,rt,pt,cr,ur),Me.range(mt,rt,pt,cr,ur))}Dt(cr)},Je=function(mt,rt,Dt,pt,ur){var cr=[],Tr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Tr){if(rt==null&&!mt.required)return Dt();Me.required(mt,rt,pt,cr,ur,"array"),rt!=null&&(Me.type(mt,rt,pt,cr,ur),Me.range(mt,rt,pt,cr,ur))}Dt(cr)},Wt=function(mt,rt,Dt,pt,ur){var cr=[],Tr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Tr){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,cr,ur),rt!==void 0&&Me.type(mt,rt,pt,cr,ur)}Dt(cr)},kt="enum",Zt=function(mt,rt,Dt,pt,ur){var cr=[],Tr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Tr){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,cr,ur),rt!==void 0&&Me[kt](mt,rt,pt,cr,ur)}Dt(cr)},Bt=function(mt,rt,Dt,pt,ur){var cr=[],Tr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Tr){if(de(rt,"string")&&!mt.required)return Dt();Me.required(mt,rt,pt,cr,ur),de(rt,"string")||Me.pattern(mt,rt,pt,cr,ur)}Dt(cr)},At=function(mt,rt,Dt,pt,ur){var cr=[],Tr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Tr){if(de(rt,"date")&&!mt.required)return Dt();if(Me.required(mt,rt,pt,cr,ur),!de(rt,"date")){var Ur;rt instanceof Date?Ur=rt:Ur=new Date(rt),Me.type(mt,Ur,pt,cr,ur),Ur&&Me.range(mt,Ur.getTime(),pt,cr,ur)}}Dt(cr)},Kt=function(mt,rt,Dt,pt,ur){var cr=[],Tr=Array.isArray(rt)?"array":typeof rt;Me.required(mt,rt,pt,cr,ur,Tr),Dt(cr)},We=function(mt,rt,Dt,pt,ur){var cr=mt.type,Tr=[],Ur=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ur){if(de(rt,cr)&&!mt.required)return Dt();Me.required(mt,rt,pt,Tr,ur,cr),de(rt,cr)||Me.type(mt,rt,pt,Tr,ur)}Dt(Tr)},fe=function(mt,rt,Dt,pt,ur){var cr=[],Tr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Tr){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,cr,ur)}Dt(cr)},_e={string:$e,method:He,number:nt,boolean:ct,regexp:Gt,integer:Ht,float:Oe,array:Je,object:Wt,enum:Zt,pattern:Bt,date:At,url:We,hex:We,email:We,required:Kt,any:fe};function Ot(){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 mt=JSON.parse(JSON.stringify(this));return mt.clone=this.clone,mt}}}var De=Ot(),dt=function(){function tr(rt){this.rules=null,this._messages=De,this.define(rt)}var mt=tr.prototype;return mt.define=function(Dt){var pt=this;if(!Dt)throw new Error("Cannot configure a schema with no rules");if(typeof Dt!="object"||Array.isArray(Dt))throw new Error("Rules must be an object");this.rules={},Object.keys(Dt).forEach(function(ur){var cr=Dt[ur];pt.rules[ur]=Array.isArray(cr)?cr:[cr]})},mt.messages=function(Dt){return Dt&&(this._messages=Jt(Ot(),Dt)),this._messages},mt.validate=function(Dt,pt,ur){var cr=this;pt===void 0&&(pt={}),ur===void 0&&(ur=function(){});var Tr=Dt,Ur=pt,Ze=ur;if(typeof Ur=="function"&&(Ze=Ur,Ur={}),!this.rules||Object.keys(this.rules).length===0)return Ze&&Ze(null,Tr),Promise.resolve(Tr);function tt(br){var Ir=[],Br={};function mn(un){if(Array.isArray(un)){var tn;Ir=(tn=Ir).concat.apply(tn,un)}else Ir.push(un)}for(var Er=0;Er<br.length;Er++)mn(br[Er]);Ir.length?(Br=F(Ir),Ze(Ir,Br)):Ze(null,Tr)}if(Ur.messages){var Ee=this.messages();Ee===De&&(Ee=Ot()),Jt(Ee,Ur.messages),Ur.messages=Ee}else Ur.messages=this.messages();var at={},nr=Ur.keys||Object.keys(this.rules);nr.forEach(function(br){var Ir=cr.rules[br],Br=Tr[br];Ir.forEach(function(mn){var Er=mn;typeof Er.transform=="function"&&(Tr===Dt&&(Tr=oe({},Tr)),Br=Tr[br]=Er.transform(Br)),typeof Er=="function"?Er={validator:Er}:Er=oe({},Er),Er.validator=cr.getValidationMethod(Er),Er.validator&&(Er.field=br,Er.fullField=Er.fullField||br,Er.type=cr.getType(Er),at[br]=at[br]||[],at[br].push({rule:Er,value:Br,source:Tr,field:br}))})});var Pr={};return Ft(at,Ur,function(br,Ir){var Br=br.rule,mn=(Br.type==="object"||Br.type==="array")&&(typeof Br.fields=="object"||typeof Br.defaultField=="object");mn=mn&&(Br.required||!Br.required&&br.value),Br.field=br.field;function Er(sn,wn){return oe({},wn,{fullField:Br.fullField+"."+sn,fullFields:Br.fullFields?[].concat(Br.fullFields,[sn]):[sn]})}function un(sn){sn===void 0&&(sn=[]);var wn=Array.isArray(sn)?sn:[sn];!Ur.suppressWarning&&wn.length&&tr.warning("async-validator:",wn),wn.length&&Br.message!==void 0&&(wn=[].concat(Br.message));var fa=wn.map(Qt(Br,Tr));if(Ur.first&&fa.length)return Pr[Br.field]=1,Ir(fa);if(!mn)Ir(fa);else{if(Br.required&&!br.value)return Br.message!==void 0?fa=[].concat(Br.message).map(Qt(Br,Tr)):Ur.error&&(fa=[Ur.error(Br,M(Ur.messages.required,Br.field))]),Ir(fa);var Ci={};Br.defaultField&&Object.keys(br.value).map(function(ai){Ci[ai]=Br.defaultField}),Ci=oe({},Ci,br.rule.fields);var fi={};Object.keys(Ci).forEach(function(ai){var Mi=Ci[ai],sa=Array.isArray(Mi)?Mi:[Mi];fi[ai]=sa.map(Er.bind(null,ai))});var hn=new tr(fi);hn.messages(Ur.messages),br.rule.options&&(br.rule.options.messages=Ur.messages,br.rule.options.error=Ur.error),hn.validate(br.value,br.rule.options||Ur,function(ai){var Mi=[];fa&&fa.length&&Mi.push.apply(Mi,fa),ai&&ai.length&&Mi.push.apply(Mi,ai),Ir(Mi.length?Mi:null)})}}var tn;if(Br.asyncValidator)tn=Br.asyncValidator(Br,br.value,un,br.source,Ur);else if(Br.validator){try{tn=Br.validator(Br,br.value,un,br.source,Ur)}catch(sn){console.error==null||console.error(sn),Ur.suppressValidatorError||setTimeout(function(){throw sn},0),un(sn.message)}tn===!0?un():tn===!1?un(typeof Br.message=="function"?Br.message(Br.fullField||Br.field):Br.message||(Br.fullField||Br.field)+" fails"):tn instanceof Array?un(tn):tn instanceof Error&&un(tn.message)}tn&&tn.then&&tn.then(function(){return un()},function(sn){return un(sn)})},function(br){tt(br)},Tr)},mt.getType=function(Dt){if(Dt.type===void 0&&Dt.pattern instanceof RegExp&&(Dt.type="pattern"),typeof Dt.validator!="function"&&Dt.type&&!_e.hasOwnProperty(Dt.type))throw new Error(M("Unknown rule type %s",Dt.type));return Dt.type||"string"},mt.getValidationMethod=function(Dt){if(typeof Dt.validator=="function")return Dt.validator;var pt=Object.keys(Dt),ur=pt.indexOf("message");return ur!==-1&&pt.splice(ur,1),pt.length===1&&pt[0]==="required"?_e.required:_e[this.getType(Dt)]||void 0},tr}();dt.register=function(mt,rt){if(typeof rt!="function")throw new Error("Cannot register a validator by type, validator is not a function");_e[mt]=rt},dt.warning=ie,dt.messages=De,dt.validators=_e;var zt="'${name}' is not a valid ${type}",Ct={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}"}},ke=e(24434),wt=dt;function xe(tr,mt){return tr.replace(/\$\{\w+\}/g,function(rt){var Dt=rt.slice(2,-1);return mt[Dt]})}var Ke="CODE_LOGIC_ERROR";function gt(tr,mt,rt,Dt,pt){return Lt.apply(this,arguments)}function Lt(){return Lt=(0,f.Z)((0,c.Z)().mark(function tr(mt,rt,Dt,pt,ur){var cr,Tr,Ur,Ze,tt,Ee,at,nr,Pr;return(0,c.Z)().wrap(function(Ir){for(;;)switch(Ir.prev=Ir.next){case 0:return cr=(0,o.Z)({},Dt),delete cr.ruleIndex,wt.warning=function(){},cr.validator&&(Tr=cr.validator,cr.validator=function(){try{return Tr.apply(void 0,arguments)}catch(Br){return console.error(Br),Promise.reject(Ke)}}),Ur=null,cr&&cr.type==="array"&&cr.defaultField&&(Ur=cr.defaultField,delete cr.defaultField),Ze=new wt((0,_.Z)({},mt,[cr])),tt=(0,ke.T)(Ct,pt.validateMessages),Ze.messages(tt),Ee=[],Ir.prev=10,Ir.next=13,Promise.resolve(Ze.validate((0,_.Z)({},mt,rt),(0,o.Z)({},pt)));case 13:Ir.next=18;break;case 15:Ir.prev=15,Ir.t0=Ir.catch(10),Ir.t0.errors&&(Ee=Ir.t0.errors.map(function(Br,mn){var Er=Br.message,un=Er===Ke?tt.default:Er;return r.isValidElement(un)?r.cloneElement(un,{key:"error_".concat(mn)}):un}));case 18:if(!(!Ee.length&&Ur)){Ir.next=23;break}return Ir.next=21,Promise.all(rt.map(function(Br,mn){return gt("".concat(mt,".").concat(mn),Br,Ur,pt,ur)}));case 21:return at=Ir.sent,Ir.abrupt("return",at.reduce(function(Br,mn){return[].concat((0,h.Z)(Br),(0,h.Z)(mn))},[]));case 23:return nr=(0,o.Z)((0,o.Z)({},Dt),{},{name:mt,enum:(Dt.enum||[]).join(", ")},ur),Pr=Ee.map(function(Br){return typeof Br=="string"?xe(Br,nr):Br}),Ir.abrupt("return",Pr);case 26:case"end":return Ir.stop()}},tr,null,[[10,15]])})),Lt.apply(this,arguments)}function Be(tr,mt,rt,Dt,pt,ur){var cr=tr.join("."),Tr=rt.map(function(tt,Ee){var at=tt.validator,nr=(0,o.Z)((0,o.Z)({},tt),{},{ruleIndex:Ee});return at&&(nr.validator=function(Pr,br,Ir){var Br=!1,mn=function(){for(var tn=arguments.length,sn=new Array(tn),wn=0;wn<tn;wn++)sn[wn]=arguments[wn];Promise.resolve().then(function(){(0,R.ZP)(!Br,"Your validator function has already return a promise. `callback` will be ignored."),Br||Ir.apply(void 0,sn)})},Er=at(Pr,br,mn);Br=Er&&typeof Er.then=="function"&&typeof Er.catch=="function",(0,R.ZP)(Br,"`callback` is deprecated. Please return a promise instead."),Br&&Er.then(function(){Ir()}).catch(function(un){Ir(un||" ")})}),nr}).sort(function(tt,Ee){var at=tt.warningOnly,nr=tt.ruleIndex,Pr=Ee.warningOnly,br=Ee.ruleIndex;return!!at==!!Pr?nr-br:at?1:-1}),Ur;if(pt===!0)Ur=new Promise(function(){var tt=(0,f.Z)((0,c.Z)().mark(function Ee(at,nr){var Pr,br,Ir;return(0,c.Z)().wrap(function(mn){for(;;)switch(mn.prev=mn.next){case 0:Pr=0;case 1:if(!(Pr<Tr.length)){mn.next=12;break}return br=Tr[Pr],mn.next=5,gt(cr,mt,br,Dt,ur);case 5:if(Ir=mn.sent,!Ir.length){mn.next=9;break}return nr([{errors:Ir,rule:br}]),mn.abrupt("return");case 9:Pr+=1,mn.next=1;break;case 12:at([]);case 13:case"end":return mn.stop()}},Ee)}));return function(Ee,at){return tt.apply(this,arguments)}}());else{var Ze=Tr.map(function(tt){return gt(cr,mt,tt,Dt,ur).then(function(Ee){return{errors:Ee,rule:tt}})});Ur=(pt?Gr(Ze):Dr(Ze)).then(function(tt){return Promise.reject(tt)})}return Ur.catch(function(tt){return tt}),Ur}function Dr(tr){return St.apply(this,arguments)}function St(){return St=(0,f.Z)((0,c.Z)().mark(function tr(mt){return(0,c.Z)().wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:return Dt.abrupt("return",Promise.all(mt).then(function(pt){var ur,cr=(ur=[]).concat.apply(ur,(0,h.Z)(pt));return cr}));case 1:case"end":return Dt.stop()}},tr)})),St.apply(this,arguments)}function Gr(tr){return Xr.apply(this,arguments)}function Xr(){return Xr=(0,f.Z)((0,c.Z)().mark(function tr(mt){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(ur){mt.forEach(function(cr){cr.then(function(Tr){Tr.errors.length&&ur([Tr]),rt+=1,rt===mt.length&&ur([])})})}));case 2:case"end":return pt.stop()}},tr)})),Xr.apply(this,arguments)}var Sr=e(62853),Mr=e(97938);function pr(tr){return K(tr)}function $r(tr,mt){var rt={};return mt.forEach(function(Dt){var pt=(0,Mr.Z)(tr,Dt);rt=(0,ke.Z)(rt,Dt,pt)}),rt}function nn(tr,mt){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return tr&&tr.some(function(Dt){return on(mt,Dt,rt)})}function on(tr,mt){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!tr||!mt||!rt&&tr.length!==mt.length?!1:mt.every(function(Dt,pt){return tr[pt]===Dt})}function sr(tr,mt){if(tr===mt)return!0;if(!tr&&mt||tr&&!mt||!tr||!mt||(0,Sr.Z)(tr)!=="object"||(0,Sr.Z)(mt)!=="object")return!1;var rt=Object.keys(tr),Dt=Object.keys(mt),pt=new Set([].concat(rt,Dt));return(0,h.Z)(pt).every(function(ur){var cr=tr[ur],Tr=mt[ur];return typeof cr=="function"&&typeof Tr=="function"?!0:cr===Tr})}function Mt(tr){var mt=arguments.length<=1?void 0:arguments[1];return mt&&mt.target&&(0,Sr.Z)(mt.target)==="object"&&tr in mt.target?mt.target[tr]:mt}function vt(tr,mt,rt){var Dt=tr.length;if(mt<0||mt>=Dt||rt<0||rt>=Dt)return tr;var pt=tr[mt],ur=mt-rt;return ur>0?[].concat((0,h.Z)(tr.slice(0,rt)),[pt],(0,h.Z)(tr.slice(rt,mt)),(0,h.Z)(tr.slice(mt+1,Dt))):ur<0?[].concat((0,h.Z)(tr.slice(0,mt)),(0,h.Z)(tr.slice(mt+1,rt+1)),[pt],(0,h.Z)(tr.slice(rt+1,Dt))):tr}var yt=["name"],Nt=[];function Cr(tr,mt,rt,Dt,pt,ur){return typeof tr=="function"?tr(mt,rt,"source"in ur?{source:ur.source}:{}):Dt!==pt}var vr=function(tr){(0,p.Z)(rt,tr);var mt=(0,y.Z)(rt);function rt(Dt){var pt;if((0,u.Z)(this,rt),pt=mt.call(this,Dt),(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",Nt),(0,_.Z)((0,x.Z)(pt),"warnings",Nt),(0,_.Z)((0,x.Z)(pt),"cancelRegister",function(){var Ur=pt.props,Ze=Ur.preserve,tt=Ur.isListField,Ee=Ur.name;pt.cancelRegisterFunc&&pt.cancelRegisterFunc(tt,Ze,pr(Ee)),pt.cancelRegisterFunc=null}),(0,_.Z)((0,x.Z)(pt),"getNamePath",function(){var Ur=pt.props,Ze=Ur.name,tt=Ur.fieldContext,Ee=tt.prefixName,at=Ee===void 0?[]:Ee;return Ze!==void 0?[].concat((0,h.Z)(at),(0,h.Z)(Ze)):[]}),(0,_.Z)((0,x.Z)(pt),"getRules",function(){var Ur=pt.props,Ze=Ur.rules,tt=Ze===void 0?[]:Ze,Ee=Ur.fieldContext;return tt.map(function(at){return typeof at=="function"?at(Ee):at})}),(0,_.Z)((0,x.Z)(pt),"refresh",function(){pt.mounted&&pt.setState(function(Ur){var Ze=Ur.resetCount;return{resetCount:Ze+1}})}),(0,_.Z)((0,x.Z)(pt),"metaCache",null),(0,_.Z)((0,x.Z)(pt),"triggerMetaEvent",function(Ur){var Ze=pt.props.onMetaChange;if(Ze){var tt=(0,o.Z)((0,o.Z)({},pt.getMeta()),{},{destroy:Ur});(0,A.Z)(pt.metaCache,tt)||Ze(tt),pt.metaCache=tt}else pt.metaCache=null}),(0,_.Z)((0,x.Z)(pt),"onStoreChange",function(Ur,Ze,tt){var Ee=pt.props,at=Ee.shouldUpdate,nr=Ee.dependencies,Pr=nr===void 0?[]:nr,br=Ee.onReset,Ir=tt.store,Br=pt.getNamePath(),mn=pt.getValue(Ur),Er=pt.getValue(Ir),un=Ze&&nn(Ze,Br);switch(tt.type==="valueUpdate"&&tt.source==="external"&&mn!==Er&&(pt.touched=!0,pt.dirty=!0,pt.validatePromise=null,pt.errors=Nt,pt.warnings=Nt,pt.triggerMetaEvent()),tt.type){case"reset":if(!Ze||un){pt.touched=!1,pt.dirty=!1,pt.validatePromise=void 0,pt.errors=Nt,pt.warnings=Nt,pt.triggerMetaEvent(),br==null||br(),pt.refresh();return}break;case"remove":{if(at){pt.reRender();return}break}case"setField":{var tn=tt.data;if(un){"touched"in tn&&(pt.touched=tn.touched),"validating"in tn&&!("originRCField"in tn)&&(pt.validatePromise=tn.validating?Promise.resolve([]):null),"errors"in tn&&(pt.errors=tn.errors||Nt),"warnings"in tn&&(pt.warnings=tn.warnings||Nt),pt.dirty=!0,pt.triggerMetaEvent(),pt.reRender();return}else if("value"in tn&&nn(Ze,Br,!0)){pt.reRender();return}if(at&&!Br.length&&Cr(at,Ur,Ir,mn,Er,tt)){pt.reRender();return}break}case"dependenciesUpdate":{var sn=Pr.map(pr);if(sn.some(function(wn){return nn(tt.relatedFields,wn)})){pt.reRender();return}break}default:if(un||(!Pr.length||Br.length||at)&&Cr(at,Ur,Ir,mn,Er,tt)){pt.reRender();return}break}at===!0&&pt.reRender()}),(0,_.Z)((0,x.Z)(pt),"validateRules",function(Ur){var Ze=pt.getNamePath(),tt=pt.getValue(),Ee=Ur||{},at=Ee.triggerName,nr=Ee.validateOnly,Pr=nr===void 0?!1:nr,br=Promise.resolve().then((0,f.Z)((0,c.Z)().mark(function Ir(){var Br,mn,Er,un,tn,sn,wn;return(0,c.Z)().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:if(pt.mounted){Ci.next=2;break}return Ci.abrupt("return",[]);case 2:if(Br=pt.props,mn=Br.validateFirst,Er=mn===void 0?!1:mn,un=Br.messageVariables,tn=Br.validateDebounce,sn=pt.getRules(),at&&(sn=sn.filter(function(fi){return fi}).filter(function(fi){var hn=fi.validateTrigger;if(!hn)return!0;var ai=K(hn);return ai.includes(at)})),!(tn&&at)){Ci.next=10;break}return Ci.next=8,new Promise(function(fi){setTimeout(fi,tn)});case 8:if(pt.validatePromise===br){Ci.next=10;break}return Ci.abrupt("return",[]);case 10:return wn=Be(Ze,tt,sn,Ur,Er,un),wn.catch(function(fi){return fi}).then(function(){var fi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Nt;if(pt.validatePromise===br){var hn;pt.validatePromise=null;var ai=[],Mi=[];(hn=fi.forEach)===null||hn===void 0||hn.call(fi,function(sa){var Es=sa.rule.warningOnly,oa=sa.errors,ds=oa===void 0?Nt:oa;Es?Mi.push.apply(Mi,(0,h.Z)(ds)):ai.push.apply(ai,(0,h.Z)(ds))}),pt.errors=ai,pt.warnings=Mi,pt.triggerMetaEvent(),pt.reRender()}}),Ci.abrupt("return",wn);case 13:case"end":return Ci.stop()}},Ir)})));return Pr||(pt.validatePromise=br,pt.dirty=!0,pt.errors=Nt,pt.warnings=Nt,pt.triggerMetaEvent(),pt.reRender()),br}),(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 Ur=pt.props.fieldContext,Ze=Ur.getInternalHooks(L),tt=Ze.getInitialValue;return tt(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 Ur={touched:pt.isFieldTouched(),validating:pt.prevValidating,errors:pt.errors,warnings:pt.warnings,name:pt.getNamePath(),validated:pt.validatePromise===null};return Ur}),(0,_.Z)((0,x.Z)(pt),"getOnlyChild",function(Ur){if(typeof Ur=="function"){var Ze=pt.getMeta();return(0,o.Z)((0,o.Z)({},pt.getOnlyChild(Ur(pt.getControlled(),Ze,pt.props.fieldContext))),{},{isFunction:!0})}var tt=(0,b.Z)(Ur);return tt.length!==1||!r.isValidElement(tt[0])?{child:tt,isFunction:!1}:{child:tt[0],isFunction:!1}}),(0,_.Z)((0,x.Z)(pt),"getValue",function(Ur){var Ze=pt.props.fieldContext.getFieldsValue,tt=pt.getNamePath();return(0,Mr.Z)(Ur||Ze(!0),tt)}),(0,_.Z)((0,x.Z)(pt),"getControlled",function(){var Ur=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ze=pt.props,tt=Ze.trigger,Ee=Ze.validateTrigger,at=Ze.getValueFromEvent,nr=Ze.normalize,Pr=Ze.valuePropName,br=Ze.getValueProps,Ir=Ze.fieldContext,Br=Ee!==void 0?Ee:Ir.validateTrigger,mn=pt.getNamePath(),Er=Ir.getInternalHooks,un=Ir.getFieldsValue,tn=Er(L),sn=tn.dispatch,wn=pt.getValue(),fa=br||function(ai){return(0,_.Z)({},Pr,ai)},Ci=Ur[tt],fi=(0,o.Z)((0,o.Z)({},Ur),fa(wn));fi[tt]=function(){pt.touched=!0,pt.dirty=!0,pt.triggerMetaEvent();for(var ai,Mi=arguments.length,sa=new Array(Mi),Es=0;Es<Mi;Es++)sa[Es]=arguments[Es];at?ai=at.apply(void 0,sa):ai=Mt.apply(void 0,[Pr].concat(sa)),nr&&(ai=nr(ai,wn,un(!0))),sn({type:"updateValue",namePath:mn,value:ai}),Ci&&Ci.apply(void 0,sa)};var hn=K(Br||[]);return hn.forEach(function(ai){var Mi=fi[ai];fi[ai]=function(){Mi&&Mi.apply(void 0,arguments);var sa=pt.props.rules;sa&&sa.length&&sn({type:"validateField",namePath:mn,triggerName:ai})}}),fi}),Dt.fieldContext){var ur=Dt.fieldContext.getInternalHooks,cr=ur(L),Tr=cr.initEntityValue;Tr((0,x.Z)(pt))}return pt}return(0,a.Z)(rt,[{key:"componentDidMount",value:function(){var pt=this.props,ur=pt.shouldUpdate,cr=pt.fieldContext;if(this.mounted=!0,cr){var Tr=cr.getInternalHooks,Ur=Tr(L),Ze=Ur.registerField;this.cancelRegisterFunc=Ze(this)}ur===!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,ur=this.props.children,cr=this.getOnlyChild(ur),Tr=cr.child,Ur=cr.isFunction,Ze;return Ur?Ze=Tr:r.isValidElement(Tr)?Ze=r.cloneElement(Tr,this.getControlled(Tr.props)):((0,R.ZP)(!Tr,"`children` of Field is not validate ReactElement."),Ze=Tr),r.createElement(r.Fragment,{key:pt},Ze)}}]),rt}(r.Component);(0,_.Z)(vr,"contextType",B),(0,_.Z)(vr,"defaultProps",{trigger:"onChange",valuePropName:"value"});function ut(tr){var mt=tr.name,rt=(0,l.Z)(tr,yt),Dt=r.useContext(B),pt=r.useContext(j),ur=mt!==void 0?pr(mt):void 0,cr="keep";return rt.isListField||(cr="_".concat((ur||[]).join("_"))),r.createElement(vr,(0,i.Z)({key:cr,name:ur,isListField:!!pt},rt,{fieldContext:Dt}))}var Rr=ut;function _n(tr){var mt=tr.name,rt=tr.initialValue,Dt=tr.children,pt=tr.rules,ur=tr.validateTrigger,cr=tr.isListField,Tr=r.useContext(B),Ur=r.useContext(j),Ze=r.useRef({keys:[],id:0}),tt=Ze.current,Ee=r.useMemo(function(){var br=pr(Tr.prefixName)||[];return[].concat((0,h.Z)(br),(0,h.Z)(pr(mt)))},[Tr.prefixName,mt]),at=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},Tr),{},{prefixName:Ee})},[Tr,Ee]),nr=r.useMemo(function(){return{getKey:function(Ir){var Br=Ee.length,mn=Ir[Br];return[tt.keys[mn],Ir.slice(Br+1)]}}},[Ee]);if(typeof Dt!="function")return(0,R.ZP)(!1,"Form.List only accepts function as children."),null;var Pr=function(Ir,Br,mn){var Er=mn.source;return Er==="internal"?!1:Ir!==Br};return r.createElement(j.Provider,{value:nr},r.createElement(B.Provider,{value:at},r.createElement(Rr,{name:[],shouldUpdate:Pr,rules:pt,validateTrigger:ur,initialValue:rt,isList:!0,isListField:cr!=null?cr:!!Ur},function(br,Ir){var Br=br.value,mn=Br===void 0?[]:Br,Er=br.onChange,un=Tr.getFieldValue,tn=function(){var Ci=un(Ee||[]);return Ci||[]},sn={add:function(Ci,fi){var hn=tn();fi>=0&&fi<=hn.length?(tt.keys=[].concat((0,h.Z)(tt.keys.slice(0,fi)),[tt.id],(0,h.Z)(tt.keys.slice(fi))),Er([].concat((0,h.Z)(hn.slice(0,fi)),[Ci],(0,h.Z)(hn.slice(fi))))):(tt.keys=[].concat((0,h.Z)(tt.keys),[tt.id]),Er([].concat((0,h.Z)(hn),[Ci]))),tt.id+=1},remove:function(Ci){var fi=tn(),hn=new Set(Array.isArray(Ci)?Ci:[Ci]);hn.size<=0||(tt.keys=tt.keys.filter(function(ai,Mi){return!hn.has(Mi)}),Er(fi.filter(function(ai,Mi){return!hn.has(Mi)})))},move:function(Ci,fi){if(Ci!==fi){var hn=tn();Ci<0||Ci>=hn.length||fi<0||fi>=hn.length||(tt.keys=vt(tt.keys,Ci,fi),Er(vt(hn,Ci,fi)))}}},wn=mn||[];return Array.isArray(wn)||(wn=[]),Dt(wn.map(function(fa,Ci){var fi=tt.keys[Ci];return fi===void 0&&(tt.keys[Ci]=tt.id,fi=tt.keys[Ci],tt.id+=1),{name:Ci,key:fi,isListField:!0}}),sn,Ir)})))}var Un=_n,_r=e(52487);function Jr(tr){var mt=!1,rt=tr.length,Dt=[];return tr.length?new Promise(function(pt,ur){tr.forEach(function(cr,Tr){cr.catch(function(Ur){return mt=!0,Ur}).then(function(Ur){rt-=1,Dt[Tr]=Ur,!(rt>0)&&(mt&&ur(Dt),pt(Dt))})})}):Promise.resolve([])}var dn="__@field_split__";function Mn(tr){return tr.map(function(mt){return"".concat((0,Sr.Z)(mt),":").concat(mt)}).join(dn)}var Jn=function(){function tr(){(0,u.Z)(this,tr),(0,_.Z)(this,"kvs",new Map)}return(0,a.Z)(tr,[{key:"set",value:function(rt,Dt){this.kvs.set(Mn(rt),Dt)}},{key:"get",value:function(rt){return this.kvs.get(Mn(rt))}},{key:"update",value:function(rt,Dt){var pt=this.get(rt),ur=Dt(pt);ur?this.set(rt,ur):this.delete(rt)}},{key:"delete",value:function(rt){this.kvs.delete(Mn(rt))}},{key:"map",value:function(rt){return(0,h.Z)(this.kvs.entries()).map(function(Dt){var pt=(0,_r.Z)(Dt,2),ur=pt[0],cr=pt[1],Tr=ur.split(dn);return rt({key:Tr.map(function(Ur){var Ze=Ur.match(/^([^:]*):(.*)$/),tt=(0,_r.Z)(Ze,3),Ee=tt[1],at=tt[2];return Ee==="number"?Number(at):at}),value:cr})})}},{key:"toJSON",value:function(){var rt={};return this.map(function(Dt){var pt=Dt.key,ur=Dt.value;return rt[pt.join(".")]=ur,null}),rt}}]),tr}(),Nn=Jn,Ui=["name"],mi=(0,a.Z)(function tr(mt){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(Dt){return Dt===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(Dt){rt.subscribable=Dt}),(0,_.Z)(this,"prevWithoutPreserves",null),(0,_.Z)(this,"setInitialValues",function(Dt,pt){if(rt.initialValues=Dt||{},pt){var ur,cr=(0,ke.T)(Dt,rt.store);(ur=rt.prevWithoutPreserves)===null||ur===void 0||ur.map(function(Tr){var Ur=Tr.key;cr=(0,ke.Z)(cr,Ur,(0,Mr.Z)(Dt,Ur))}),rt.prevWithoutPreserves=null,rt.updateStore(cr)}}),(0,_.Z)(this,"destroyForm",function(){var Dt=new Nn;rt.getFieldEntities(!0).forEach(function(pt){rt.isMergedPreserve(pt.isPreserve())||Dt.set(pt.getNamePath(),!0)}),rt.prevWithoutPreserves=Dt}),(0,_.Z)(this,"getInitialValue",function(Dt){var pt=(0,Mr.Z)(rt.initialValues,Dt);return Dt.length?(0,ke.T)(pt):pt}),(0,_.Z)(this,"setCallbacks",function(Dt){rt.callbacks=Dt}),(0,_.Z)(this,"setValidateMessages",function(Dt){rt.validateMessages=Dt}),(0,_.Z)(this,"setPreserve",function(Dt){rt.preserve=Dt}),(0,_.Z)(this,"watchList",[]),(0,_.Z)(this,"registerWatch",function(Dt){return rt.watchList.push(Dt),function(){rt.watchList=rt.watchList.filter(function(pt){return pt!==Dt})}}),(0,_.Z)(this,"notifyWatch",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(rt.watchList.length){var pt=rt.getFieldsValue(),ur=rt.getFieldsValue(!0);rt.watchList.forEach(function(cr){cr(pt,ur,Dt)})}}),(0,_.Z)(this,"timeoutId",null),(0,_.Z)(this,"warningUnhooked",function(){}),(0,_.Z)(this,"updateStore",function(Dt){rt.store=Dt}),(0,_.Z)(this,"getFieldEntities",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Dt?rt.fieldEntities.filter(function(pt){return pt.getNamePath().length}):rt.fieldEntities}),(0,_.Z)(this,"getFieldsMap",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,pt=new Nn;return rt.getFieldEntities(Dt).forEach(function(ur){var cr=ur.getNamePath();pt.set(cr,ur)}),pt}),(0,_.Z)(this,"getFieldEntitiesForNamePathList",function(Dt){if(!Dt)return rt.getFieldEntities(!0);var pt=rt.getFieldsMap(!0);return Dt.map(function(ur){var cr=pr(ur);return pt.get(cr)||{INVALIDATE_NAME_PATH:pr(ur)}})}),(0,_.Z)(this,"getFieldsValue",function(Dt,pt){rt.warningUnhooked();var ur,cr,Tr;if(Dt===!0||Array.isArray(Dt)?(ur=Dt,cr=pt):Dt&&(0,Sr.Z)(Dt)==="object"&&(Tr=Dt.strict,cr=Dt.filter),ur===!0&&!cr)return rt.store;var Ur=rt.getFieldEntitiesForNamePathList(Array.isArray(ur)?ur:null),Ze=[];return Ur.forEach(function(tt){var Ee,at,nr="INVALIDATE_NAME_PATH"in tt?tt.INVALIDATE_NAME_PATH:tt.getNamePath();if(Tr){var Pr,br;if((Pr=(br=tt).isList)!==null&&Pr!==void 0&&Pr.call(br))return}else if(!ur&&(Ee=(at=tt).isListField)!==null&&Ee!==void 0&&Ee.call(at))return;if(!cr)Ze.push(nr);else{var Ir="getMeta"in tt?tt.getMeta():null;cr(Ir)&&Ze.push(nr)}}),$r(rt.store,Ze.map(pr))}),(0,_.Z)(this,"getFieldValue",function(Dt){rt.warningUnhooked();var pt=pr(Dt);return(0,Mr.Z)(rt.store,pt)}),(0,_.Z)(this,"getFieldsError",function(Dt){rt.warningUnhooked();var pt=rt.getFieldEntitiesForNamePathList(Dt);return pt.map(function(ur,cr){return ur&&!("INVALIDATE_NAME_PATH"in ur)?{name:ur.getNamePath(),errors:ur.getErrors(),warnings:ur.getWarnings()}:{name:pr(Dt[cr]),errors:[],warnings:[]}})}),(0,_.Z)(this,"getFieldError",function(Dt){rt.warningUnhooked();var pt=pr(Dt),ur=rt.getFieldsError([pt])[0];return ur.errors}),(0,_.Z)(this,"getFieldWarning",function(Dt){rt.warningUnhooked();var pt=pr(Dt),ur=rt.getFieldsError([pt])[0];return ur.warnings}),(0,_.Z)(this,"isFieldsTouched",function(){rt.warningUnhooked();for(var Dt=arguments.length,pt=new Array(Dt),ur=0;ur<Dt;ur++)pt[ur]=arguments[ur];var cr=pt[0],Tr=pt[1],Ur,Ze=!1;pt.length===0?Ur=null:pt.length===1?Array.isArray(cr)?(Ur=cr.map(pr),Ze=!1):(Ur=null,Ze=cr):(Ur=cr.map(pr),Ze=Tr);var tt=rt.getFieldEntities(!0),Ee=function(Ir){return Ir.isFieldTouched()};if(!Ur)return Ze?tt.every(Ee):tt.some(Ee);var at=new Nn;Ur.forEach(function(br){at.set(br,[])}),tt.forEach(function(br){var Ir=br.getNamePath();Ur.forEach(function(Br){Br.every(function(mn,Er){return Ir[Er]===mn})&&at.update(Br,function(mn){return[].concat((0,h.Z)(mn),[br])})})});var nr=function(Ir){return Ir.some(Ee)},Pr=at.map(function(br){var Ir=br.value;return Ir});return Ze?Pr.every(nr):Pr.some(nr)}),(0,_.Z)(this,"isFieldTouched",function(Dt){return rt.warningUnhooked(),rt.isFieldsTouched([Dt])}),(0,_.Z)(this,"isFieldsValidating",function(Dt){rt.warningUnhooked();var pt=rt.getFieldEntities();if(!Dt)return pt.some(function(cr){return cr.isFieldValidating()});var ur=Dt.map(pr);return pt.some(function(cr){var Tr=cr.getNamePath();return nn(ur,Tr)&&cr.isFieldValidating()})}),(0,_.Z)(this,"isFieldValidating",function(Dt){return rt.warningUnhooked(),rt.isFieldsValidating([Dt])}),(0,_.Z)(this,"resetWithFieldInitialValue",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pt=new Nn,ur=rt.getFieldEntities(!0);ur.forEach(function(Ur){var Ze=Ur.props.initialValue,tt=Ur.getNamePath();if(Ze!==void 0){var Ee=pt.get(tt)||new Set;Ee.add({entity:Ur,value:Ze}),pt.set(tt,Ee)}});var cr=function(Ze){Ze.forEach(function(tt){var Ee=tt.props.initialValue;if(Ee!==void 0){var at=tt.getNamePath(),nr=rt.getInitialValue(at);if(nr!==void 0)(0,R.ZP)(!1,"Form already set 'initialValues' with path '".concat(at.join("."),"'. Field can not overwrite it."));else{var Pr=pt.get(at);if(Pr&&Pr.size>1)(0,R.ZP)(!1,"Multiple Field with path '".concat(at.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(Pr){var br=rt.getFieldValue(at);(!Dt.skipExist||br===void 0)&&rt.updateStore((0,ke.Z)(rt.store,at,(0,h.Z)(Pr)[0].value))}}}})},Tr;Dt.entities?Tr=Dt.entities:Dt.namePathList?(Tr=[],Dt.namePathList.forEach(function(Ur){var Ze=pt.get(Ur);if(Ze){var tt;(tt=Tr).push.apply(tt,(0,h.Z)((0,h.Z)(Ze).map(function(Ee){return Ee.entity})))}})):Tr=ur,cr(Tr)}),(0,_.Z)(this,"resetFields",function(Dt){rt.warningUnhooked();var pt=rt.store;if(!Dt){rt.updateStore((0,ke.T)(rt.initialValues)),rt.resetWithFieldInitialValue(),rt.notifyObservers(pt,null,{type:"reset"}),rt.notifyWatch();return}var ur=Dt.map(pr);ur.forEach(function(cr){var Tr=rt.getInitialValue(cr);rt.updateStore((0,ke.Z)(rt.store,cr,Tr))}),rt.resetWithFieldInitialValue({namePathList:ur}),rt.notifyObservers(pt,ur,{type:"reset"}),rt.notifyWatch(ur)}),(0,_.Z)(this,"setFields",function(Dt){rt.warningUnhooked();var pt=rt.store,ur=[];Dt.forEach(function(cr){var Tr=cr.name,Ur=(0,l.Z)(cr,Ui),Ze=pr(Tr);ur.push(Ze),"value"in Ur&&rt.updateStore((0,ke.Z)(rt.store,Ze,Ur.value)),rt.notifyObservers(pt,[Ze],{type:"setField",data:cr})}),rt.notifyWatch(ur)}),(0,_.Z)(this,"getFields",function(){var Dt=rt.getFieldEntities(!0),pt=Dt.map(function(ur){var cr=ur.getNamePath(),Tr=ur.getMeta(),Ur=(0,o.Z)((0,o.Z)({},Tr),{},{name:cr,value:rt.getFieldValue(cr)});return Object.defineProperty(Ur,"originRCField",{value:!0}),Ur});return pt}),(0,_.Z)(this,"initEntityValue",function(Dt){var pt=Dt.props.initialValue;if(pt!==void 0){var ur=Dt.getNamePath(),cr=(0,Mr.Z)(rt.store,ur);cr===void 0&&rt.updateStore((0,ke.Z)(rt.store,ur,pt))}}),(0,_.Z)(this,"isMergedPreserve",function(Dt){var pt=Dt!==void 0?Dt:rt.preserve;return pt!=null?pt:!0}),(0,_.Z)(this,"registerField",function(Dt){rt.fieldEntities.push(Dt);var pt=Dt.getNamePath();if(rt.notifyWatch([pt]),Dt.props.initialValue!==void 0){var ur=rt.store;rt.resetWithFieldInitialValue({entities:[Dt],skipExist:!0}),rt.notifyObservers(ur,[Dt.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(cr,Tr){var Ur=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(rt.fieldEntities=rt.fieldEntities.filter(function(Ee){return Ee!==Dt}),!rt.isMergedPreserve(Tr)&&(!cr||Ur.length>1)){var Ze=cr?void 0:rt.getInitialValue(pt);if(pt.length&&rt.getFieldValue(pt)!==Ze&&rt.fieldEntities.every(function(Ee){return!on(Ee.getNamePath(),pt)})){var tt=rt.store;rt.updateStore((0,ke.Z)(tt,pt,Ze,!0)),rt.notifyObservers(tt,[pt],{type:"remove"}),rt.triggerDependenciesUpdate(tt,pt)}}rt.notifyWatch([pt])}}),(0,_.Z)(this,"dispatch",function(Dt){switch(Dt.type){case"updateValue":{var pt=Dt.namePath,ur=Dt.value;rt.updateValue(pt,ur);break}case"validateField":{var cr=Dt.namePath,Tr=Dt.triggerName;rt.validateFields([cr],{triggerName:Tr});break}default:}}),(0,_.Z)(this,"notifyObservers",function(Dt,pt,ur){if(rt.subscribable){var cr=(0,o.Z)((0,o.Z)({},ur),{},{store:rt.getFieldsValue(!0)});rt.getFieldEntities().forEach(function(Tr){var Ur=Tr.onStoreChange;Ur(Dt,pt,cr)})}else rt.forceRootUpdate()}),(0,_.Z)(this,"triggerDependenciesUpdate",function(Dt,pt){var ur=rt.getDependencyChildrenFields(pt);return ur.length&&rt.validateFields(ur),rt.notifyObservers(Dt,ur,{type:"dependenciesUpdate",relatedFields:[pt].concat((0,h.Z)(ur))}),ur}),(0,_.Z)(this,"updateValue",function(Dt,pt){var ur=pr(Dt),cr=rt.store;rt.updateStore((0,ke.Z)(rt.store,ur,pt)),rt.notifyObservers(cr,[ur],{type:"valueUpdate",source:"internal"}),rt.notifyWatch([ur]);var Tr=rt.triggerDependenciesUpdate(cr,ur),Ur=rt.callbacks.onValuesChange;if(Ur){var Ze=$r(rt.store,[ur]);Ur(Ze,rt.getFieldsValue())}rt.triggerOnFieldsChange([ur].concat((0,h.Z)(Tr)))}),(0,_.Z)(this,"setFieldsValue",function(Dt){rt.warningUnhooked();var pt=rt.store;if(Dt){var ur=(0,ke.T)(rt.store,Dt);rt.updateStore(ur)}rt.notifyObservers(pt,null,{type:"valueUpdate",source:"external"}),rt.notifyWatch()}),(0,_.Z)(this,"setFieldValue",function(Dt,pt){rt.setFields([{name:Dt,value:pt}])}),(0,_.Z)(this,"getDependencyChildrenFields",function(Dt){var pt=new Set,ur=[],cr=new Nn;rt.getFieldEntities().forEach(function(Ur){var Ze=Ur.props.dependencies;(Ze||[]).forEach(function(tt){var Ee=pr(tt);cr.update(Ee,function(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return at.add(Ur),at})})});var Tr=function Ur(Ze){var tt=cr.get(Ze)||new Set;tt.forEach(function(Ee){if(!pt.has(Ee)){pt.add(Ee);var at=Ee.getNamePath();Ee.isFieldDirty()&&at.length&&(ur.push(at),Ur(at))}})};return Tr(Dt),ur}),(0,_.Z)(this,"triggerOnFieldsChange",function(Dt,pt){var ur=rt.callbacks.onFieldsChange;if(ur){var cr=rt.getFields();if(pt){var Tr=new Nn;pt.forEach(function(Ze){var tt=Ze.name,Ee=Ze.errors;Tr.set(tt,Ee)}),cr.forEach(function(Ze){Ze.errors=Tr.get(Ze.name)||Ze.errors})}var Ur=cr.filter(function(Ze){var tt=Ze.name;return nn(Dt,tt)});Ur.length&&ur(Ur,cr)}}),(0,_.Z)(this,"validateFields",function(Dt,pt){var ur;rt.warningUnhooked();var cr,Tr;Array.isArray(Dt)||typeof Dt=="string"||typeof pt=="string"?(cr=Dt,Tr=pt):Tr=Dt;var Ur=!!cr,Ze=Ur?cr.map(pr):[],tt=[],Ee=String(Date.now()),at=new Set,nr=(ur=Tr)===null||ur===void 0?void 0:ur.recursive;rt.getFieldEntities(!0).forEach(function(Br){if(Ur||Ze.push(Br.getNamePath()),!(!Br.props.rules||!Br.props.rules.length)){var mn=Br.getNamePath();if(at.add(mn.join(Ee)),!Ur||nn(Ze,mn,nr)){var Er=Br.validateRules((0,o.Z)({validateMessages:(0,o.Z)((0,o.Z)({},Ct),rt.validateMessages)},Tr));tt.push(Er.then(function(){return{name:mn,errors:[],warnings:[]}}).catch(function(un){var tn,sn=[],wn=[];return(tn=un.forEach)===null||tn===void 0||tn.call(un,function(fa){var Ci=fa.rule.warningOnly,fi=fa.errors;Ci?wn.push.apply(wn,(0,h.Z)(fi)):sn.push.apply(sn,(0,h.Z)(fi))}),sn.length?Promise.reject({name:mn,errors:sn,warnings:wn}):{name:mn,errors:sn,warnings:wn}}))}}});var Pr=Jr(tt);rt.lastValidatePromise=Pr,Pr.catch(function(Br){return Br}).then(function(Br){var mn=Br.map(function(Er){var un=Er.name;return un});rt.notifyObservers(rt.store,mn,{type:"validateFinish"}),rt.triggerOnFieldsChange(mn,Br)});var br=Pr.then(function(){return rt.lastValidatePromise===Pr?Promise.resolve(rt.getFieldsValue(Ze)):Promise.reject([])}).catch(function(Br){var mn=Br.filter(function(Er){return Er&&Er.errors.length});return Promise.reject({values:rt.getFieldsValue(Ze),errorFields:mn,outOfDate:rt.lastValidatePromise!==Pr})});br.catch(function(Br){return Br});var Ir=Ze.filter(function(Br){return at.has(Br.join(Ee))});return rt.triggerOnFieldsChange(Ir),br}),(0,_.Z)(this,"submit",function(){rt.warningUnhooked(),rt.validateFields().then(function(Dt){var pt=rt.callbacks.onFinish;if(pt)try{pt(Dt)}catch(ur){console.error(ur)}}).catch(function(Dt){var pt=rt.callbacks.onFinishFailed;pt&&pt(Dt)})}),this.forceRootUpdate=mt});function bi(tr){var mt=r.useRef(),rt=r.useState({}),Dt=(0,_r.Z)(rt,2),pt=Dt[1];if(!mt.current)if(tr)mt.current=tr;else{var ur=function(){pt({})},cr=new mi(ur);mt.current=cr.getForm()}return[mt.current]}var vi=bi,di=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Yi=function(mt){var rt=mt.validateMessages,Dt=mt.onFormChange,pt=mt.onFormFinish,ur=mt.children,cr=r.useContext(di),Tr=r.useRef({});return r.createElement(di.Provider,{value:(0,o.Z)((0,o.Z)({},cr),{},{validateMessages:(0,o.Z)((0,o.Z)({},cr.validateMessages),rt),triggerFormChange:function(Ze,tt){Dt&&Dt(Ze,{changedFields:tt,forms:Tr.current}),cr.triggerFormChange(Ze,tt)},triggerFormFinish:function(Ze,tt){pt&&pt(Ze,{values:tt,forms:Tr.current}),cr.triggerFormFinish(Ze,tt)},registerForm:function(Ze,tt){Ze&&(Tr.current=(0,o.Z)((0,o.Z)({},Tr.current),{},(0,_.Z)({},Ze,tt))),cr.registerForm(Ze,tt)},unregisterForm:function(Ze){var tt=(0,o.Z)({},Tr.current);delete tt[Ze],Tr.current=tt,cr.unregisterForm(Ze)}})},ur)},Xn=di,Vi=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Et=function(mt,rt){var Dt=mt.name,pt=mt.initialValues,ur=mt.fields,cr=mt.form,Tr=mt.preserve,Ur=mt.children,Ze=mt.component,tt=Ze===void 0?"form":Ze,Ee=mt.validateMessages,at=mt.validateTrigger,nr=at===void 0?"onChange":at,Pr=mt.onValuesChange,br=mt.onFieldsChange,Ir=mt.onFinish,Br=mt.onFinishFailed,mn=(0,l.Z)(mt,Vi),Er=r.useContext(Xn),un=vi(cr),tn=(0,_r.Z)(un,1),sn=tn[0],wn=sn.getInternalHooks(L),fa=wn.useSubscribe,Ci=wn.setInitialValues,fi=wn.setCallbacks,hn=wn.setValidateMessages,ai=wn.setPreserve,Mi=wn.destroyForm;r.useImperativeHandle(rt,function(){return sn}),r.useEffect(function(){return Er.registerForm(Dt,sn),function(){Er.unregisterForm(Dt)}},[Er,sn,Dt]),hn((0,o.Z)((0,o.Z)({},Er.validateMessages),Ee)),fi({onValuesChange:Pr,onFieldsChange:function(qa){if(Er.triggerFormChange(Dt,qa),br){for(var Ha=arguments.length,Ss=new Array(Ha>1?Ha-1:0),Bi=1;Bi<Ha;Bi++)Ss[Bi-1]=arguments[Bi];br.apply(void 0,[qa].concat(Ss))}},onFinish:function(qa){Er.triggerFormFinish(Dt,qa),Ir&&Ir(qa)},onFinishFailed:Br}),ai(Tr);var sa=r.useRef(null);Ci(pt,!sa.current),sa.current||(sa.current=!0),r.useEffect(function(){return Mi},[]);var Es,oa=typeof Ur=="function";if(oa){var ds=sn.getFieldsValue(!0);Es=Ur(ds,sn)}else Es=Ur;fa(!oa);var ws=r.useRef();r.useEffect(function(){sr(ws.current||[],ur||[])||sn.setFields(ur||[]),ws.current=ur},[ur,sn]);var ka=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},sn),{},{validateTrigger:nr})},[sn,nr]),gs=r.createElement(j.Provider,{value:null},r.createElement(B.Provider,{value:ka},Es));return tt===!1?gs:r.createElement(tt,(0,i.Z)({},mn,{onSubmit:function(qa){qa.preventDefault(),qa.stopPropagation(),sn.submit()},onReset:function(qa){var Ha;qa.preventDefault(),sn.resetFields(),(Ha=mn.onReset)===null||Ha===void 0||Ha.call(mn,qa)}}),gs)},lt=Et;function Qn(tr){try{return JSON.stringify(tr)}catch(mt){return Math.random()}}var xi=function(){};function qn(){for(var tr=arguments.length,mt=new Array(tr),rt=0;rt<tr;rt++)mt[rt]=arguments[rt];var Dt=mt[0],pt=Dt===void 0?[]:Dt,ur=mt[1],cr=ur===void 0?{}:ur,Tr=V(cr)?{form:cr}:cr,Ur=Tr.form,Ze=(0,r.useState)(),tt=(0,_r.Z)(Ze,2),Ee=tt[0],at=tt[1],nr=(0,r.useMemo)(function(){return Qn(Ee)},[Ee]),Pr=(0,r.useRef)(nr);Pr.current=nr;var br=(0,r.useContext)(B),Ir=Ur||br,Br=Ir&&Ir._init,mn=pr(pt),Er=(0,r.useRef)(mn);return Er.current=mn,xi(mn),(0,r.useEffect)(function(){if(Br){var un=Ir.getFieldsValue,tn=Ir.getInternalHooks,sn=tn(L),wn=sn.registerWatch,fa=wn(function(fi,hn){var ai=(0,Mr.Z)(Tr.preserve?hn:fi,Er.current),Mi=Qn(ai);Pr.current!==Mi&&(Pr.current=Mi,at(ai))}),Ci=(0,Mr.Z)(Tr.preserve?un(!0):un(),Er.current);return Ee!==Ci&&at(Ci),fa}},[Br]),Ee}var Wi=qn,hi=r.forwardRef(lt),ni=hi;ni.FormProvider=Yi,ni.Field=Rr,ni.List=Un,ni.useForm=vi,ni.useWatch=Wi;var bn=ni},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(49618),i=e(77321),l=e(52487),c=e(62853),f=e(92310),o=e.n(f),h=e(76846),u=e(8654),a=e(59301),x=e(74416),p=["children"],y=a.createContext({});function _(_e){var Ot=_e.children,De=(0,x.Z)(_e,p);return a.createElement(y.Provider,{value:De},Ot)}var b=e(96949),A=e(55090),R=e(77205),L=e(38793),P=function(_e){(0,R.Z)(De,_e);var Ot=(0,L.Z)(De);function De(){return(0,b.Z)(this,De),Ot.apply(this,arguments)}return(0,A.Z)(De,[{key:"render",value:function(){return this.props.children}}]),De}(a.Component),D=P,B=e(70425),$=e(41799),j=e(6089);function K(_e){var Ot=a.useReducer(function(wt){return wt+1},0),De=(0,l.Z)(Ot,2),dt=De[1],zt=a.useRef(_e),Ct=(0,j.Z)(function(){return zt.current}),ke=(0,j.Z)(function(wt){zt.current=typeof wt=="function"?wt(zt.current):wt,dt()});return[Ct,ke]}var V="none",W="appear",oe="enter",ae="leave",ce="none",q="prepare",J="start",Y="active",le="end",ne="prepared",ee=e(47273);function ie(_e,Ot){var De={};return De[_e.toLowerCase()]=Ot.toLowerCase(),De["Webkit".concat(_e)]="webkit".concat(Ot),De["Moz".concat(_e)]="moz".concat(Ot),De["ms".concat(_e)]="MS".concat(Ot),De["O".concat(_e)]="o".concat(Ot.toLowerCase()),De}function F(_e,Ot){var De={animationend:ie("Animation","AnimationEnd"),transitionend:ie("Transition","TransitionEnd")};return _e&&("AnimationEvent"in Ot||delete De.animationend.animation,"TransitionEvent"in Ot||delete De.transitionend.transition),De}var M=F((0,ee.Z)(),typeof window!="undefined"?window:{}),Q={};if((0,ee.Z)()){var de=document.createElement("div");Q=de.style}var Se={};function Ie(_e){if(Se[_e])return Se[_e];var Ot=M[_e];if(Ot)for(var De=Object.keys(Ot),dt=De.length,zt=0;zt<dt;zt+=1){var Ct=De[zt];if(Object.prototype.hasOwnProperty.call(Ot,Ct)&&Ct in Q)return Se[_e]=Ot[Ct],Se[_e]}return""}var je=Ie("animationend"),Fe=Ie("transitionend"),Ft=!!(je&&Fe),_t=je||"animationend",Pt=Fe||"transitionend";function Qt(_e,Ot){if(!_e)return null;if((0,c.Z)(_e)==="object"){var De=Ot.replace(/-\w/g,function(dt){return dt[1].toUpperCase()});return _e[De]}return"".concat(_e,"-").concat(Ot)}var Jt=function(_e){var Ot=(0,a.useRef)();function De(zt){zt&&(zt.removeEventListener(Pt,_e),zt.removeEventListener(_t,_e))}function dt(zt){Ot.current&&Ot.current!==zt&&De(Ot.current),zt&&zt!==Ot.current&&(zt.addEventListener(Pt,_e),zt.addEventListener(_t,_e),Ot.current=zt)}return a.useEffect(function(){return function(){De(Ot.current)}},[]),[dt,De]},qt=(0,ee.Z)()?a.useLayoutEffect:a.useEffect,Xe=qt,It=e(16089),Ut=function(){var _e=a.useRef(null);function Ot(){It.Z.cancel(_e.current)}function De(dt){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Ot();var Ct=(0,It.Z)(function(){zt<=1?dt({isCanceled:function(){return Ct!==_e.current}}):De(dt,zt-1)});_e.current=Ct}return a.useEffect(function(){return function(){Ot()}},[]),[De,Ot]},ot=[q,J,Y,le],bt=[q,ne],ht=!1,et=!0;function Ue(_e){return _e===Y||_e===le}var ye=function(_e,Ot,De){var dt=(0,$.Z)(ce),zt=(0,l.Z)(dt,2),Ct=zt[0],ke=zt[1],wt=Ut(),xe=(0,l.Z)(wt,2),Ke=xe[0],gt=xe[1];function Lt(){ke(q,!0)}var Be=Ot?bt:ot;return Xe(function(){if(Ct!==ce&&Ct!==le){var Dr=Be.indexOf(Ct),St=Be[Dr+1],Gr=De(Ct);Gr===ht?ke(St,!0):St&&Ke(function(Xr){function Sr(){Xr.isCanceled()||ke(St,!0)}Gr===!0?Sr():Promise.resolve(Gr).then(Sr)})}},[_e,Ct]),a.useEffect(function(){return function(){gt()}},[]),[Lt,Ct]};function Pe(_e,Ot,De,dt){var zt=dt.motionEnter,Ct=zt===void 0?!0:zt,ke=dt.motionAppear,wt=ke===void 0?!0:ke,xe=dt.motionLeave,Ke=xe===void 0?!0:xe,gt=dt.motionDeadline,Lt=dt.motionLeaveImmediately,Be=dt.onAppearPrepare,Dr=dt.onEnterPrepare,St=dt.onLeavePrepare,Gr=dt.onAppearStart,Xr=dt.onEnterStart,Sr=dt.onLeaveStart,Mr=dt.onAppearActive,pr=dt.onEnterActive,$r=dt.onLeaveActive,nn=dt.onAppearEnd,on=dt.onEnterEnd,sr=dt.onLeaveEnd,Mt=dt.onVisibleChanged,vt=(0,$.Z)(),yt=(0,l.Z)(vt,2),Nt=yt[0],Cr=yt[1],vr=K(V),ut=(0,l.Z)(vr,2),Rr=ut[0],_n=ut[1],Un=(0,$.Z)(null),_r=(0,l.Z)(Un,2),Jr=_r[0],dn=_r[1],Mn=Rr(),Jn=(0,a.useRef)(!1),Nn=(0,a.useRef)(null);function Ui(){return De()}var mi=(0,a.useRef)(!1);function bi(){_n(V),dn(null,!0)}var vi=(0,B.useEvent)(function(tr){var mt=Rr();if(mt!==V){var rt=Ui();if(!(tr&&!tr.deadline&&tr.target!==rt)){var Dt=mi.current,pt;mt===W&&Dt?pt=nn==null?void 0:nn(rt,tr):mt===oe&&Dt?pt=on==null?void 0:on(rt,tr):mt===ae&&Dt&&(pt=sr==null?void 0:sr(rt,tr)),Dt&&pt!==!1&&bi()}}}),di=Jt(vi),Yi=(0,l.Z)(di,1),Xn=Yi[0],Vi=function(mt){switch(mt){case W:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Be),J,Gr),Y,Mr);case oe:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Dr),J,Xr),Y,pr);case ae:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,St),J,Sr),Y,$r);default:return{}}},Et=a.useMemo(function(){return Vi(Mn)},[Mn]),lt=ye(Mn,!_e,function(tr){if(tr===q){var mt=Et[q];return mt?mt(Ui()):ht}if(qn in Et){var rt;dn(((rt=Et[qn])===null||rt===void 0?void 0:rt.call(Et,Ui(),null))||null)}return qn===Y&&Mn!==V&&(Xn(Ui()),gt>0&&(clearTimeout(Nn.current),Nn.current=setTimeout(function(){vi({deadline:!0})},gt))),qn===ne&&bi(),et}),Qn=(0,l.Z)(lt,2),xi=Qn[0],qn=Qn[1],Wi=Ue(qn);mi.current=Wi;var hi=(0,a.useRef)(null);Xe(function(){if(!(Jn.current&&hi.current===Ot)){Cr(Ot);var tr=Jn.current;Jn.current=!0;var mt;!tr&&Ot&&wt&&(mt=W),tr&&Ot&&Ct&&(mt=oe),(tr&&!Ot&&Ke||!tr&&Lt&&!Ot&&Ke)&&(mt=ae);var rt=Vi(mt);mt&&(_e||rt[q])?(_n(mt),xi()):_n(V),hi.current=Ot}},[Ot]),(0,a.useEffect)(function(){(Mn===W&&!wt||Mn===oe&&!Ct||Mn===ae&&!Ke)&&_n(V)},[wt,Ct,Ke]),(0,a.useEffect)(function(){return function(){Jn.current=!1,clearTimeout(Nn.current)}},[]);var ni=a.useRef(!1);(0,a.useEffect)(function(){Nt&&(ni.current=!0),Nt!==void 0&&Mn===V&&((ni.current||Nt)&&(Mt==null||Mt(Nt)),ni.current=!0)},[Nt,Mn]);var bn=Jr;return Et[q]&&qn===J&&(bn=(0,i.Z)({transition:"none"},bn)),[Mn,qn,bn,Nt!=null?Nt:Ot]}function Me(_e){var Ot=_e;(0,c.Z)(_e)==="object"&&(Ot=_e.transitionSupport);function De(zt,Ct){return!!(zt.motionName&&Ot&&Ct!==!1)}var dt=a.forwardRef(function(zt,Ct){var ke=zt.visible,wt=ke===void 0?!0:ke,xe=zt.removeOnLeave,Ke=xe===void 0?!0:xe,gt=zt.forceRender,Lt=zt.children,Be=zt.motionName,Dr=zt.leavedClassName,St=zt.eventProps,Gr=a.useContext(y),Xr=Gr.motion,Sr=De(zt,Xr),Mr=(0,a.useRef)(),pr=(0,a.useRef)();function $r(){try{return Mr.current instanceof HTMLElement?Mr.current:(0,h.ZP)(pr.current)}catch(_r){return null}}var nn=Pe(Sr,wt,$r,zt),on=(0,l.Z)(nn,4),sr=on[0],Mt=on[1],vt=on[2],yt=on[3],Nt=a.useRef(yt);yt&&(Nt.current=!0);var Cr=a.useCallback(function(_r){Mr.current=_r,(0,u.mH)(Ct,_r)},[Ct]),vr,ut=(0,i.Z)((0,i.Z)({},St),{},{visible:wt});if(!Lt)vr=null;else if(sr===V)yt?vr=Lt((0,i.Z)({},ut),Cr):!Ke&&Nt.current&&Dr?vr=Lt((0,i.Z)((0,i.Z)({},ut),{},{className:Dr}),Cr):gt||!Ke&&!Dr?vr=Lt((0,i.Z)((0,i.Z)({},ut),{},{style:{display:"none"}}),Cr):vr=null;else{var Rr;Mt===q?Rr="prepare":Ue(Mt)?Rr="active":Mt===J&&(Rr="start");var _n=Qt(Be,"".concat(sr,"-").concat(Rr));vr=Lt((0,i.Z)((0,i.Z)({},ut),{},{className:o()(Qt(Be,sr),(0,r.Z)((0,r.Z)({},_n,_n&&Rr),Be,typeof Be=="string")),style:vt}),Cr)}if(a.isValidElement(vr)&&(0,u.Yr)(vr)){var Un=(0,u.C4)(vr);Un||(vr=a.cloneElement(vr,{ref:Cr}))}return a.createElement(D,{ref:pr},vr)});return dt.displayName="CSSMotion",dt}var $e=Me(Ft),He=e(72308),nt=e(80237),ct="add",Gt="keep",Ht="remove",Oe="removed";function Je(_e){var Ot;return _e&&(0,c.Z)(_e)==="object"&&"key"in _e?Ot=_e:Ot={key:_e},(0,i.Z)((0,i.Z)({},Ot),{},{key:String(Ot.key)})}function Wt(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return _e.map(Je)}function kt(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],De=[],dt=0,zt=Ot.length,Ct=Wt(_e),ke=Wt(Ot);Ct.forEach(function(Ke){for(var gt=!1,Lt=dt;Lt<zt;Lt+=1){var Be=ke[Lt];if(Be.key===Ke.key){dt<Lt&&(De=De.concat(ke.slice(dt,Lt).map(function(Dr){return(0,i.Z)((0,i.Z)({},Dr),{},{status:ct})})),dt=Lt),De.push((0,i.Z)((0,i.Z)({},Be),{},{status:Gt})),dt+=1,gt=!0;break}}gt||De.push((0,i.Z)((0,i.Z)({},Ke),{},{status:Ht}))}),dt<zt&&(De=De.concat(ke.slice(dt).map(function(Ke){return(0,i.Z)((0,i.Z)({},Ke),{},{status:ct})})));var wt={};De.forEach(function(Ke){var gt=Ke.key;wt[gt]=(wt[gt]||0)+1});var xe=Object.keys(wt).filter(function(Ke){return wt[Ke]>1});return xe.forEach(function(Ke){De=De.filter(function(gt){var Lt=gt.key,Be=gt.status;return Lt!==Ke||Be!==Ht}),De.forEach(function(gt){gt.key===Ke&&(gt.status=Gt)})}),De}var Zt=["component","children","onVisibleChanged","onAllRemoved"],Bt=["status"],At=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Kt(_e){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e,De=function(dt){(0,R.Z)(Ct,dt);var zt=(0,L.Z)(Ct);function Ct(){var ke;(0,b.Z)(this,Ct);for(var wt=arguments.length,xe=new Array(wt),Ke=0;Ke<wt;Ke++)xe[Ke]=arguments[Ke];return ke=zt.call.apply(zt,[this].concat(xe)),(0,r.Z)((0,nt.Z)(ke),"state",{keyEntities:[]}),(0,r.Z)((0,nt.Z)(ke),"removeKey",function(gt){ke.setState(function(Lt){var Be=Lt.keyEntities.map(function(Dr){return Dr.key!==gt?Dr:(0,i.Z)((0,i.Z)({},Dr),{},{status:Oe})});return{keyEntities:Be}},function(){var Lt=ke.state.keyEntities,Be=Lt.filter(function(Dr){var St=Dr.status;return St!==Oe}).length;Be===0&&ke.props.onAllRemoved&&ke.props.onAllRemoved()})}),ke}return(0,A.Z)(Ct,[{key:"render",value:function(){var wt=this,xe=this.state.keyEntities,Ke=this.props,gt=Ke.component,Lt=Ke.children,Be=Ke.onVisibleChanged,Dr=Ke.onAllRemoved,St=(0,x.Z)(Ke,Zt),Gr=gt||a.Fragment,Xr={};return At.forEach(function(Sr){Xr[Sr]=St[Sr],delete St[Sr]}),delete St.keys,a.createElement(Gr,St,xe.map(function(Sr,Mr){var pr=Sr.status,$r=(0,x.Z)(Sr,Bt),nn=pr===ct||pr===Gt;return a.createElement(Ot,(0,He.Z)({},Xr,{key:$r.key,visible:nn,eventProps:$r,onVisibleChanged:function(sr){Be==null||Be(sr,{key:$r.key}),sr||wt.removeKey($r.key)}}),function(on,sr){return Lt((0,i.Z)((0,i.Z)({},on),{},{index:Mr}),sr)})}))}}],[{key:"getDerivedStateFromProps",value:function(wt,xe){var Ke=wt.keys,gt=xe.keyEntities,Lt=Wt(Ke),Be=kt(gt,Lt);return{keyEntities:Be.filter(function(Dr){var St=gt.find(function(Gr){var Xr=Gr.key;return Dr.key===Xr});return!(St&&St.status===Oe&&Dr.status===Ht)})}}}]),Ct}(a.Component);return(0,r.Z)(De,"defaultProps",{component:"div"}),De}var We=Kt(Ft),fe=$e},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(80702),i=e(52487),l=e(74416),c=e(59301),f=e(77321),o=e(4676),h=e(72308),u=e(92310),a=e.n(u),x=e(77900),p=e(49618),y=e(10228),_=c.forwardRef(function(ae,ce){var q=ae.prefixCls,J=ae.style,Y=ae.className,le=ae.duration,ne=le===void 0?4.5:le,ee=ae.eventKey,ie=ae.content,F=ae.closable,M=ae.closeIcon,Q=M===void 0?"x":M,de=ae.props,Se=ae.onClick,Ie=ae.onNoticeClose,je=ae.times,Fe=c.useState(!1),Ft=(0,i.Z)(Fe,2),_t=Ft[0],Pt=Ft[1],Qt=function(){Ie(ee)},Jt=function(It){(It.key==="Enter"||It.code==="Enter"||It.keyCode===y.Z.ENTER)&&Qt()};c.useEffect(function(){if(!_t&&ne>0){var Xe=setTimeout(function(){Qt()},ne*1e3);return function(){clearTimeout(Xe)}}},[ne,_t,je]);var qt="".concat(q,"-notice");return c.createElement("div",(0,h.Z)({},de,{ref:ce,className:a()(qt,Y,(0,p.Z)({},"".concat(qt,"-closable"),F)),style:J,onMouseEnter:function(){Pt(!0)},onMouseLeave:function(){Pt(!1)},onClick:Se}),c.createElement("div",{className:"".concat(qt,"-content")},ie),F&&c.createElement("a",{tabIndex:0,className:"".concat(qt,"-close"),onKeyDown:Jt,onClick:function(It){It.preventDefault(),It.stopPropagation(),Qt()}},Q))}),b=_,A=c.createContext({}),R=function(ce){var q=ce.children,J=ce.classNames;return c.createElement(A.Provider,{value:{classNames:J}},q)},L=R,P=function(ce){var q=ce.configList,J=ce.placement,Y=ce.prefixCls,le=ce.className,ne=ce.style,ee=ce.motion,ie=ce.onAllNoticeRemoved,F=ce.onNoticeClose,M=(0,c.useContext)(A),Q=M.classNames,de=q.map(function(Ie){return{config:Ie,key:Ie.key}}),Se=typeof ee=="function"?ee(J):ee;return c.createElement(x.CSSMotionList,(0,h.Z)({key:J,className:a()(Y,"".concat(Y,"-").concat(J),Q==null?void 0:Q.list,le),style:ne,keys:de,motionAppear:!0},Se,{onAllRemoved:function(){ie(J)}}),function(Ie,je){var Fe=Ie.config,Ft=Ie.className,_t=Ie.style,Pt=Fe,Qt=Pt.key,Jt=Pt.times,qt=Fe,Xe=qt.className,It=qt.style;return c.createElement(b,(0,h.Z)({},Fe,{ref:je,prefixCls:Y,className:a()(Ft,Xe,Q==null?void 0:Q.notice),style:(0,f.Z)((0,f.Z)({},_t),It),times:Jt,key:Qt,eventKey:Qt,onNoticeClose:F}))})},D=P,B=c.forwardRef(function(ae,ce){var q=ae.prefixCls,J=q===void 0?"rc-notification":q,Y=ae.container,le=ae.motion,ne=ae.maxCount,ee=ae.className,ie=ae.style,F=ae.onAllRemoved,M=ae.renderNotifications,Q=c.useState([]),de=(0,i.Z)(Q,2),Se=de[0],Ie=de[1],je=function(It){var Ut,ot=Se.find(function(bt){return bt.key===It});ot==null||(Ut=ot.onClose)===null||Ut===void 0||Ut.call(ot),Ie(function(bt){return bt.filter(function(ht){return ht.key!==It})})};c.useImperativeHandle(ce,function(){return{open:function(It){Ie(function(Ut){var ot=(0,r.Z)(Ut),bt=ot.findIndex(function(Ue){return Ue.key===It.key}),ht=(0,f.Z)({},It);if(bt>=0){var et;ht.times=(((et=Ut[bt])===null||et===void 0?void 0:et.times)||0)+1,ot[bt]=ht}else ht.times=0,ot.push(ht);return ne>0&&ot.length>ne&&(ot=ot.slice(-ne)),ot})},close:function(It){je(It)},destroy:function(){Ie([])}}});var Fe=c.useState({}),Ft=(0,i.Z)(Fe,2),_t=Ft[0],Pt=Ft[1];c.useEffect(function(){var Xe={};Se.forEach(function(It){var Ut=It.placement,ot=Ut===void 0?"topRight":Ut;ot&&(Xe[ot]=Xe[ot]||[],Xe[ot].push(It))}),Object.keys(_t).forEach(function(It){Xe[It]=Xe[It]||[]}),Pt(Xe)},[Se]);var Qt=function(It){Pt(function(Ut){var ot=(0,f.Z)({},Ut),bt=ot[It]||[];return bt.length||delete ot[It],ot})},Jt=c.useRef(!1);if(c.useEffect(function(){Object.keys(_t).length>0?Jt.current=!0:Jt.current&&(F==null||F(),Jt.current=!1)},[_t]),!Y)return null;var qt=Object.keys(_t);return(0,o.createPortal)(c.createElement(c.Fragment,null,qt.map(function(Xe){var It=_t[Xe],Ut=c.createElement(D,{key:Xe,configList:It,placement:Xe,prefixCls:J,className:ee==null?void 0:ee(Xe),style:ie==null?void 0:ie(Xe),motion:le,onNoticeClose:je,onAllNoticeRemoved:Qt});return M?M(Ut,{prefixCls:J,key:Xe}):Ut})),Y)}),$=B,j=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],K=function(){return document.body},V=0;function W(){for(var ae={},ce=arguments.length,q=new Array(ce),J=0;J<ce;J++)q[J]=arguments[J];return q.forEach(function(Y){Y&&Object.keys(Y).forEach(function(le){var ne=Y[le];ne!==void 0&&(ae[le]=ne)})}),ae}function oe(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ce=ae.getContainer,q=ce===void 0?K:ce,J=ae.motion,Y=ae.prefixCls,le=ae.maxCount,ne=ae.className,ee=ae.style,ie=ae.onAllRemoved,F=ae.renderNotifications,M=(0,l.Z)(ae,j),Q=c.useState(),de=(0,i.Z)(Q,2),Se=de[0],Ie=de[1],je=c.useRef(),Fe=c.createElement($,{container:Se,ref:je,prefixCls:Y,motion:J,maxCount:le,className:ne,style:ee,onAllRemoved:ie,renderNotifications:F}),Ft=c.useState([]),_t=(0,i.Z)(Ft,2),Pt=_t[0],Qt=_t[1],Jt=c.useMemo(function(){return{open:function(Xe){var It=W(M,Xe);(It.key===null||It.key===void 0)&&(It.key="rc-notification-".concat(V),V+=1),Qt(function(Ut){return[].concat((0,r.Z)(Ut),[{type:"open",config:It}])})},close:function(Xe){Qt(function(It){return[].concat((0,r.Z)(It),[{type:"close",key:Xe}])})},destroy:function(){Qt(function(Xe){return[].concat((0,r.Z)(Xe),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){Ie(q())}),c.useEffect(function(){je.current&&Pt.length&&(Pt.forEach(function(qt){switch(qt.type){case"open":je.current.open(qt.config);break;case"close":je.current.close(qt.key);break;case"destroy":je.current.destroy();break}}),Qt(function(qt){return qt.filter(function(Xe){return!Pt.includes(Xe)})}))},[Pt]),[Jt,Fe]}},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 J}});var r=e(72308),i=e(59301),l=e(11592),c=e(48736),f=e(77321),o=e(62853),h=e(76846),u=e(8654),a=i.createContext(null);function x(Y){var le=Y.children,ne=Y.onBatchResize,ee=i.useRef(0),ie=i.useRef([]),F=i.useContext(a),M=i.useCallback(function(Q,de,Se){ee.current+=1;var Ie=ee.current;ie.current.push({size:Q,element:de,data:Se}),Promise.resolve().then(function(){Ie===ee.current&&(ne==null||ne(ie.current),ie.current=[])}),F==null||F(Q,de,Se)},[ne,F]);return i.createElement(a.Provider,{value:M},le)}var p=e(76374),y=new Map;function _(Y){Y.forEach(function(le){var ne,ee=le.target;(ne=y.get(ee))===null||ne===void 0||ne.forEach(function(ie){return ie(ee)})})}var b=new p.Z(_),A=null,R=null;function L(Y,le){y.has(Y)||(y.set(Y,new Set),b.observe(Y)),y.get(Y).add(le)}function P(Y,le){y.has(Y)&&(y.get(Y).delete(le),y.get(Y).size||(b.unobserve(Y),y.delete(Y)))}var D=e(96949),B=e(55090),$=e(77205),j=e(38793),K=function(Y){(0,$.Z)(ne,Y);var le=(0,j.Z)(ne);function ne(){return(0,D.Z)(this,ne),le.apply(this,arguments)}return(0,B.Z)(ne,[{key:"render",value:function(){return this.props.children}}]),ne}(i.Component);function V(Y,le){var ne=Y.children,ee=Y.disabled,ie=i.useRef(null),F=i.useRef(null),M=i.useContext(a),Q=typeof ne=="function",de=Q?ne(ie):ne,Se=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Ie=!Q&&i.isValidElement(de)&&(0,u.Yr)(de),je=Ie?(0,u.C4)(de):null,Fe=(0,u.x1)(je,ie),Ft=function(){var Jt;return(0,h.ZP)(ie.current)||(ie.current&&(0,o.Z)(ie.current)==="object"?(0,h.ZP)((Jt=ie.current)===null||Jt===void 0?void 0:Jt.nativeElement):null)||(0,h.ZP)(F.current)};i.useImperativeHandle(le,function(){return Ft()});var _t=i.useRef(Y);_t.current=Y;var Pt=i.useCallback(function(Qt){var Jt=_t.current,qt=Jt.onResize,Xe=Jt.data,It=Qt.getBoundingClientRect(),Ut=It.width,ot=It.height,bt=Qt.offsetWidth,ht=Qt.offsetHeight,et=Math.floor(Ut),Ue=Math.floor(ot);if(Se.current.width!==et||Se.current.height!==Ue||Se.current.offsetWidth!==bt||Se.current.offsetHeight!==ht){var ye={width:et,height:Ue,offsetWidth:bt,offsetHeight:ht};Se.current=ye;var Pe=bt===Math.round(Ut)?Ut:bt,Me=ht===Math.round(ot)?ot:ht,$e=(0,f.Z)((0,f.Z)({},ye),{},{offsetWidth:Pe,offsetHeight:Me});M==null||M($e,Qt,Xe),qt&&Promise.resolve().then(function(){qt($e,Qt)})}},[]);return i.useEffect(function(){var Qt=Ft();return Qt&&!ee&&L(Qt,Pt),function(){return P(Qt,Pt)}},[ie.current,ee]),i.createElement(K,{ref:F},Ie?i.cloneElement(de,{ref:Fe}):de)}var W=i.forwardRef(V),oe=W,ae="rc-observer-key";function ce(Y,le){var ne=Y.children,ee=typeof ne=="function"?[ne]:(0,l.Z)(ne);return ee.map(function(ie,F){var M=(ie==null?void 0:ie.key)||"".concat(ae,"-").concat(F);return i.createElement(oe,(0,r.Z)({},Y,{key:M,ref:F===0?le:void 0}),ie)})}var q=i.forwardRef(ce);q.Collection=x;var J=q},55477:function(d,g,e){"use strict";e.d(g,{G:function(){return _},Z:function(){return L}});var r=e(72308),i=e(77321),l=e(74416),c=e(35593),f=e(59301),o={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:o,offset:[0,-4],targetOffset:u},bottom:{points:["tc","bc"],overflow:o,offset:[0,4],targetOffset:u},topLeft:{points:["bl","tl"],overflow:o,offset:[0,-4],targetOffset:u},leftTop:{points:["tr","tl"],overflow:h,offset:[-4,0],targetOffset:u},topRight:{points:["br","tr"],overflow:o,offset:[0,-4],targetOffset:u},rightTop:{points:["tl","tr"],overflow:h,offset:[4,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:o,offset:[0,4],targetOffset:u},rightBottom:{points:["bl","br"],overflow:h,offset:[4,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:o,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 _(P){var D=P.children,B=P.prefixCls,$=P.id,j=P.overlayInnerStyle,K=P.className,V=P.style;return f.createElement("div",{className:y()("".concat(B,"-content"),K),style:V},f.createElement("div",{className:"".concat(B,"-inner"),id:$,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"],A=function(D,B){var $=D.overlayClassName,j=D.trigger,K=j===void 0?["hover"]:j,V=D.mouseEnterDelay,W=V===void 0?0:V,oe=D.mouseLeaveDelay,ae=oe===void 0?.1:oe,ce=D.overlayStyle,q=D.prefixCls,J=q===void 0?"rc-tooltip":q,Y=D.children,le=D.onVisibleChange,ne=D.afterVisibleChange,ee=D.transitionName,ie=D.animation,F=D.motion,M=D.placement,Q=M===void 0?"right":M,de=D.align,Se=de===void 0?{}:de,Ie=D.destroyTooltipOnHide,je=Ie===void 0?!1:Ie,Fe=D.defaultVisible,Ft=D.getTooltipContainer,_t=D.overlayInnerStyle,Pt=D.arrowContent,Qt=D.overlay,Jt=D.id,qt=D.showArrow,Xe=qt===void 0?!0:qt,It=(0,l.Z)(D,b),Ut=(0,f.useRef)(null);(0,f.useImperativeHandle)(B,function(){return Ut.current});var ot=(0,i.Z)({},It);"visible"in D&&(ot.popupVisible=D.visible);var bt=function(){return f.createElement(_,{key:"content",prefixCls:J,id:Jt,overlayInnerStyle:_t},Qt)};return f.createElement(c.Z,(0,r.Z)({popupClassName:$,prefixCls:J,popup:bt,action:K,builtinPlacements:a,popupPlacement:Q,ref:Ut,popupAlign:Se,getPopupContainer:Ft,onPopupVisibleChange:le,afterPopupVisibleChange:ne,popupTransitionName:ee,popupAnimation:ie,popupMotion:F,defaultPopupVisible:Fe,autoDestroy:je,mouseLeaveDelay:ae,popupStyle:ce,mouseEnterDelay:W,arrow:Xe},ot),Y)},R=(0,f.forwardRef)(A),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]:{},o=[];return i.Children.forEach(c,function(h){h==null&&!f.keepEmpty||(Array.isArray(h)?o=o.concat(l(h)):(0,r.Z)(h)&&h.props?o=o.concat(l(h.props.children,f)):o.push(h))}),o}},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(77321),i=e(47273),l=e(48519),c="data-rc-order",f="data-rc-priority",o="rc-util-key",h=new Map;function u(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=P.mark;return D?D.startsWith("data-")?D:"data-".concat(D):o}function a(P){if(P.attachTo)return P.attachTo;var D=document.querySelector("head");return D||document.body}function x(P){return P==="queue"?"prependQueue":P?"prepend":"append"}function p(P){return Array.from((h.get(P)||P).children).filter(function(D){return D.tagName==="STYLE"})}function y(P){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.Z)())return null;var B=D.csp,$=D.prepend,j=D.priority,K=j===void 0?0:j,V=x($),W=V==="prependQueue",oe=document.createElement("style");oe.setAttribute(c,V),W&&K&&oe.setAttribute(f,"".concat(K)),B!=null&&B.nonce&&(oe.nonce=B==null?void 0:B.nonce),oe.innerHTML=P;var ae=a(D),ce=ae.firstChild;if($){if(W){var q=(D.styles||p(ae)).filter(function(J){if(!["prepend","prependQueue"].includes(J.getAttribute(c)))return!1;var Y=Number(J.getAttribute(f)||0);return K>=Y});if(q.length)return ae.insertBefore(oe,q[q.length-1].nextSibling),oe}ae.insertBefore(oe,ce)}else ae.appendChild(oe);return oe}function _(P){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=a(D);return(D.styles||p(B)).find(function($){return $.getAttribute(u(D))===P})}function b(P){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=_(P,D);if(B){var $=a(D);$.removeChild(B)}}function A(P,D){var B=h.get(P);if(!B||!(0,l.Z)(document,B)){var $=y("",D),j=$.parentNode;h.set(P,j),P.removeChild($)}}function R(){h.clear()}function L(P,D){var B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},$=a(B),j=p($),K=(0,r.Z)((0,r.Z)({},B),{},{styles:j});A($,K);var V=_(D,K);if(V){var W,oe;if((W=K.csp)!==null&&W!==void 0&&W.nonce&&V.nonce!==((oe=K.csp)===null||oe===void 0?void 0:oe.nonce)){var ae;V.nonce=(ae=K.csp)===null||ae===void 0?void 0:ae.nonce}return V.innerHTML!==P&&(V.innerHTML=P),V}var ce=y(P,K);return ce.setAttribute(u(K),D),ce}},76846:function(d,g,e){"use strict";e.d(g,{Sh:function(){return c},ZP:function(){return o}});var r=e(62853),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 o(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,o=c.height;if(f||o)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(62853),i=Symbol.for("react.element"),l=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function f(o){return o&&(0,r.Z)(o)==="object"&&(o.$$typeof===i||o.$$typeof===l)&&o.type===c}},1585:function(d,g,e){"use strict";var r;e.d(g,{s:function(){return P},v:function(){return K}});var i=e(65736),l=e(72633),c=e(62853),f=e(77321),o=e(4676),h=(0,f.Z)({},r||(r=e.t(o,2))),u=h.version,a=h.render,x=h.unmountComponentAtNode,p;try{var y=Number((u||"").split(".")[0]);y>=18&&(p=h.createRoot)}catch(W){}function _(W){var oe=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;oe&&(0,c.Z)(oe)==="object"&&(oe.usingClientEntryPoint=W)}var b="__rc_react_root__";function A(W,oe){_(!0);var ae=oe[b]||p(oe);_(!1),ae.render(W),oe[b]=ae}function R(W,oe){a==null||a(W,oe)}function L(W,oe){}function P(W,oe){if(p){A(W,oe);return}R(W,oe)}function D(W){return B.apply(this,arguments)}function B(){return B=(0,l.Z)((0,i.Z)().mark(function W(oe){return(0,i.Z)().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.abrupt("return",Promise.resolve().then(function(){var q;(q=oe[b])===null||q===void 0||q.unmount(),delete oe[b]}));case 1:case"end":return ce.stop()}},W)})),B.apply(this,arguments)}function $(W){x(W)}function j(W){}function K(W){return V.apply(this,arguments)}function V(){return V=(0,l.Z)((0,i.Z)().mark(function W(oe){return(0,i.Z)().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:if(p===void 0){ce.next=2;break}return ce.abrupt("return",D(oe));case 2:$(oe);case 3:case"end":return ce.stop()}},W)})),V.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(o){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(o){var y=getComputedStyle(o);a.scrollbarColor=y.scrollbarColor,a.scrollbarWidth=y.scrollbarWidth;var _=getComputedStyle(o,"::-webkit-scrollbar"),b=parseInt(_.width,10),A=parseInt(_.height,10);try{var R=b?"width: ".concat(_.width,";"):"",L=A?"height: ".concat(_.height,";"):"";(0,r.hq)(`
|
|
|
#`.concat(h,`::-webkit-scrollbar {
|
|
|
`).concat(R,`
|
|
|
`).concat(L,`
|
|
|
}`),h)}catch(B){console.error(B),x=b,p=A}}document.body.appendChild(u);var P=o&&x&&!isNaN(x)?x:u.offsetWidth-u.clientWidth,D=o&&p&&!isNaN(p)?p:u.offsetHeight-u.clientHeight;return document.body.removeChild(u),(0,r.jL)(h),{width:P,height:D}}function c(o){return typeof document=="undefined"?0:((o||i===void 0)&&(i=l()),i.width)}function f(o){return typeof document=="undefined"||!o||!(o instanceof Element)?{width:0,height:0}:l(o)}},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 o,h=arguments.length,u=new Array(h),a=0;a<h;a++)u[a]=arguments[a];return(o=c.current)===null||o===void 0?void 0:o.call.apply(o,[c].concat(u))},[]);return f}},80402:function(d,g,e){"use strict";var r,i=e(52487),l=e(77321),c=e(59301);function f(){var a=(0,l.Z)({},r||(r=e.t(c,2)));return a.useId}var o=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 A=o;o+=1,b("rc_unique_".concat(A))},[]),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 o=r.useRef({});return(!("value"in o.current)||f(o.current.condition,c))&&(o.current.value=l(),o.current.condition=c),o.current.value}},18929:function(d,g,e){"use strict";e.d(g,{Z:function(){return o}});var r=e(52487),i=e(6089),l=e(34280),c=e(41799);function f(h){return h!==void 0}function o(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}),A=(0,r.Z)(b,2),R=A[0],L=A[1],P=p!==void 0?p:R,D=_?_(P):P,B=(0,i.Z)(y),$=(0,c.Z)([P]),j=(0,r.Z)($,2),K=j[0],V=j[1];(0,l.o)(function(){var oe=K[0];R!==oe&&B(R,oe)},[K]),(0,l.o)(function(){f(p)||L(p)},[p]);var W=(0,i.Z)(function(oe,ae){L(oe,ae),V([P],ae)});return[D,W]}},41799:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(52487),i=e(59301);function l(c){var f=i.useRef(!1),o=i.useState(c),h=(0,r.Z)(o,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 o.ZP}});var r=e(6089),i=e(18929),l=e(8654),c=e(97938),f=e(24434),o=e(48736)},13697:function(d,g,e){"use strict";var r=e(62853),i=e(48736);function l(c,f){var o=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(o&&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 A=Object.keys(a);return A.length!==Object.keys(x).length?!1:A.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(77321),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-",o="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(_,o)||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(o){l.delete(o)}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(o){var h=l.get(o);return c(o),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(62853),i=e(59301),l=e(23265),c=e(80547),f=e(34678),o=Number(i.version.split(".")[0]),h=function(A,R){typeof A=="function"?A(R):(0,r.Z)(A)==="object"&&A&&"current"in A&&(A.current=R)},u=function(){for(var A=arguments.length,R=new Array(A),L=0;L<A;L++)R[L]=arguments[L];var P=R.filter(Boolean);return P.length<=1?P[0]:function(D){R.forEach(function(B){h(B,D)})}},a=function(){for(var A=arguments.length,R=new Array(A),L=0;L<A;L++)R[L]=arguments[L];return(0,c.Z)(function(){return u.apply(void 0,R)},R,function(P,D){return P.length!==D.length||P.every(function(B,$){return B!==D[$]})})},x=function(A){var R,L;if(!A)return!1;if(p(A)&&o>=19)return!0;var P=(0,l.isMemo)(A)?A.type.type:A.type;return!(typeof P=="function"&&!((R=P.prototype)!==null&&R!==void 0&&R.render)&&P.$$typeof!==l.ForwardRef||typeof A=="function"&&!((L=A.prototype)!==null&&L!==void 0&&L.render)&&A.$$typeof!==l.ForwardRef)};function p(b){return(0,i.isValidElement)(b)&&!(0,f.Z)(b)}var y=function(A){return p(A)&&x(A)},_=function(A){if(A&&p(A)){var R=A;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(62853),i=e(77321),l=e(80702),c=e(68413),f=e(97938);function o(y,_,b,A){if(!_.length)return b;var R=(0,c.Z)(_),L=R[0],P=R.slice(1),D;return!y&&typeof L=="number"?D=[]:Array.isArray(y)?D=(0,l.Z)(y):D=(0,i.Z)({},y),A&&b===void 0&&P.length===1?delete D[L][P[0]]:D[L]=o(D[L],P,b,A),D}function h(y,_,b){var A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return _.length&&A&&b===void 0&&!(0,f.Z)(y,_.slice(0,-1))?y:o(y,_,b,A)}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 A=a(_[0]);return _.forEach(function(R){function L(P,D){var B=new Set(D),$=(0,f.Z)(R,P),j=Array.isArray($);if(j||u($)){if(!B.has($)){B.add($);var K=(0,f.Z)(A,P);j?A=h(A,P,[]):(!K||(0,r.Z)(K)!=="object")&&(A=h(A,P,a($))),x($).forEach(function(V){L([].concat((0,l.Z)(P),[V]),B)})}}else A=h(A,P,$)}L([])}),A}},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 o(){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=o,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($){return typeof $}:c=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},c(D)}function f(D,B){var $=Object.keys(D);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(D);B&&(j=j.filter(function(K){return Object.getOwnPropertyDescriptor(D,K).enumerable})),$.push.apply($,j)}return $}function o(D){for(var B=1;B<arguments.length;B++){var $=arguments[B]!=null?arguments[B]:{};B%2?f($,!0).forEach(function(j){L(D,j,$[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors($)):f($).forEach(function(j){Object.defineProperty(D,j,Object.getOwnPropertyDescriptor($,j))})}return D}function h(D,B){if(D==null)return{};var $=u(D,B),j,K;if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(D);for(K=0;K<V.length;K++)j=V[K],!(B.indexOf(j)>=0)&&Object.prototype.propertyIsEnumerable.call(D,j)&&($[j]=D[j])}return $}function u(D,B){if(D==null)return{};var $={},j=Object.keys(D),K,V;for(V=0;V<j.length;V++)K=j[V],!(B.indexOf(K)>=0)&&($[K]=D[K]);return $}function a(D,B){if(!(D instanceof B))throw new TypeError("Cannot call a class as a function")}function x(D,B){for(var $=0;$<B.length;$++){var j=B[$];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(D,j.key,j)}}function p(D,B,$){return B&&x(D.prototype,B),$&&x(D,$),D}function y(D,B){return B&&(c(B)==="object"||typeof B=="function")?B:b(D)}function _(D){return _=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},_(D)}function b(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function A(D,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(B&&B.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),B&&R(D,B)}function R(D,B){return R=Object.setPrototypeOf||function(j,K){return j.__proto__=K,j},R(D,B)}function L(D,B,$){return B in D?Object.defineProperty(D,B,{value:$,enumerable:!0,configurable:!0,writable:!0}):D[B]=$,D}var P=function(D){A(B,D);function B(){var $,j;a(this,B);for(var K=arguments.length,V=new Array(K),W=0;W<K;W++)V[W]=arguments[W];return j=y(this,($=_(B)).call.apply($,[this].concat(V))),L(b(j),"onClick",function(oe){var ae=j.props,ce=ae.text,q=ae.onCopy,J=ae.children,Y=ae.options,le=r.default.Children.only(J),ne=(0,i.default)(ce,Y);q&&q(ce,ne),le&&le.props&&typeof le.props.onClick=="function"&&le.props.onClick(oe)}),j}return p(B,[{key:"render",value:function(){var j=this.props,K=j.text,V=j.onCopy,W=j.options,oe=j.children,ae=h(j,["text","onCopy","options","children"]),ce=r.default.Children.only(oe);return r.default.cloneElement(ce,o({},ae,{onClick:this.onClick}))}}]),B}(r.default.PureComponent);g.CopyToClipboard=P,L(P,"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 T="https://reactjs.org/docs/error-decoder.html?invariant="+v,z=1;z<arguments.length;z++)T+="&args[]="+encodeURIComponent(arguments[z]);return"Minified React error #"+v+"; visit "+T+" 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,o={};function h(v,T){u(v,T),u(v+"Capture",T)}function u(v,T){for(o[v]=T,v=0;v<T.length;v++)f.add(T[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 A(v,T,z,ge){if(z!==null&&z.type===0)return!1;switch(typeof T){case"function":case"symbol":return!0;case"boolean":return ge?!1:z!==null?!z.acceptsBooleans:(v=v.toLowerCase().slice(0,5),v!=="data-"&&v!=="aria-");default:return!1}}function R(v,T,z,ge){if(T===null||typeof T=="undefined"||A(v,T,z,ge))return!0;if(ge)return!1;if(z!==null)switch(z.type){case 3:return!T;case 4:return T===!1;case 5:return isNaN(T);case 6:return isNaN(T)||1>T}return!1}function L(v,T,z,ge,Le,st,w){this.acceptsBooleans=T===2||T===3||T===4,this.attributeName=ge,this.attributeNamespace=Le,this.mustUseProperty=z,this.propertyName=v,this.type=T,this.sanitizeURL=st,this.removeEmptyString=w}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(v){P[v]=new L(v,0,!1,v,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(v){var T=v[0];P[T]=new L(T,1,!1,v[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(v){P[v]=new L(v,2,!1,v.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(v){P[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){P[v]=new L(v,3,!1,v.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(v){P[v]=new L(v,3,!0,v,null,!1,!1)}),["capture","download"].forEach(function(v){P[v]=new L(v,4,!1,v,null,!1,!1)}),["cols","rows","size","span"].forEach(function(v){P[v]=new L(v,6,!1,v,null,!1,!1)}),["rowSpan","start"].forEach(function(v){P[v]=new L(v,5,!1,v.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function B(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 T=v.replace(D,B);P[T]=new L(T,1,!1,v,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(v){var T=v.replace(D,B);P[T]=new L(T,1,!1,v,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(v){var T=v.replace(D,B);P[T]=new L(T,1,!1,v,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(v){P[v]=new L(v,1,!1,v.toLowerCase(),null,!1,!1)}),P.xlinkHref=new L("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(v){P[v]=new L(v,1,!1,v.toLowerCase(),null,!0,!0)});function $(v,T,z,ge){var Le=P.hasOwnProperty(T)?P[T]:null,st=Le!==null?Le.type===0:ge?!1:!(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N");st||(R(T,z,Le,ge)&&(z=null),ge||Le===null?b(T)&&(z===null?v.removeAttribute(T):v.setAttribute(T,""+z)):Le.mustUseProperty?v[Le.propertyName]=z===null?Le.type===3?!1:"":z:(T=Le.attributeName,ge=Le.attributeNamespace,z===null?v.removeAttribute(T):(Le=Le.type,z=Le===3||Le===4&&z===!0?"":""+z,ge?v.setAttributeNS(ge,T,z):v.setAttribute(T,z))))}var j=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,K=60103,V=60106,W=60107,oe=60108,ae=60114,ce=60109,q=60110,J=60112,Y=60113,le=60120,ne=60115,ee=60116,ie=60121,F=60128,M=60129,Q=60130,de=60131;if(typeof Symbol=="function"&&Symbol.for){var Se=Symbol.for;K=Se("react.element"),V=Se("react.portal"),W=Se("react.fragment"),oe=Se("react.strict_mode"),ae=Se("react.profiler"),ce=Se("react.provider"),q=Se("react.context"),J=Se("react.forward_ref"),Y=Se("react.suspense"),le=Se("react.suspense_list"),ne=Se("react.memo"),ee=Se("react.lazy"),ie=Se("react.block"),Se("react.scope"),F=Se("react.opaque.id"),M=Se("react.debug_trace_mode"),Q=Se("react.offscreen"),de=Se("react.legacy_hidden")}var Ie=typeof Symbol=="function"&&Symbol.iterator;function je(v){return v===null||typeof v!="object"?null:(v=Ie&&v[Ie]||v["@@iterator"],typeof v=="function"?v:null)}var Fe;function Ft(v){if(Fe===void 0)try{throw Error()}catch(z){var T=z.stack.trim().match(/\n( *(at )?)/);Fe=T&&T[1]||""}return`
|
|
|
`+Fe+v}var _t=!1;function Pt(v,T){if(!v||_t)return"";_t=!0;var z=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(T)if(T=function(){throw Error()},Object.defineProperty(T.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(T,[])}catch(n){var ge=n}Reflect.construct(v,[],T)}else{try{T.call()}catch(n){ge=n}v.call(T.prototype)}else{try{throw Error()}catch(n){ge=n}v()}}catch(n){if(n&&ge&&typeof n.stack=="string"){for(var Le=n.stack.split(`
|
|
|
`),st=ge.stack.split(`
|
|
|
`),w=Le.length-1,t=st.length-1;1<=w&&0<=t&&Le[w]!==st[t];)t--;for(;1<=w&&0<=t;w--,t--)if(Le[w]!==st[t]){if(w!==1||t!==1)do if(w--,t--,0>t||Le[w]!==st[t])return`
|
|
|
`+Le[w].replace(" at new "," at ");while(1<=w&&0<=t);break}}}finally{_t=!1,Error.prepareStackTrace=z}return(v=v?v.displayName||v.name:"")?Ft(v):""}function Qt(v){switch(v.tag){case 5:return Ft(v.type);case 16:return Ft("Lazy");case 13:return Ft("Suspense");case 19:return Ft("SuspenseList");case 0:case 2:case 15:return v=Pt(v.type,!1),v;case 11:return v=Pt(v.type.render,!1),v;case 22:return v=Pt(v.type._render,!1),v;case 1:return v=Pt(v.type,!0),v;default:return""}}function Jt(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 W:return"Fragment";case V:return"Portal";case ae:return"Profiler";case oe:return"StrictMode";case Y:return"Suspense";case le:return"SuspenseList"}if(typeof v=="object")switch(v.$$typeof){case q:return(v.displayName||"Context")+".Consumer";case ce:return(v._context.displayName||"Context")+".Provider";case J:var T=v.render;return T=T.displayName||T.name||"",v.displayName||(T!==""?"ForwardRef("+T+")":"ForwardRef");case ne:return Jt(v.type);case ie:return Jt(v._render);case ee:T=v._payload,v=v._init;try{return Jt(v(T))}catch(z){}}return null}function qt(v){switch(typeof v){case"boolean":case"number":case"object":case"string":case"undefined":return v;default:return""}}function Xe(v){var T=v.type;return(v=v.nodeName)&&v.toLowerCase()==="input"&&(T==="checkbox"||T==="radio")}function It(v){var T=Xe(v)?"checked":"value",z=Object.getOwnPropertyDescriptor(v.constructor.prototype,T),ge=""+v[T];if(!v.hasOwnProperty(T)&&typeof z!="undefined"&&typeof z.get=="function"&&typeof z.set=="function"){var Le=z.get,st=z.set;return Object.defineProperty(v,T,{configurable:!0,get:function(){return Le.call(this)},set:function(w){ge=""+w,st.call(this,w)}}),Object.defineProperty(v,T,{enumerable:z.enumerable}),{getValue:function(){return ge},setValue:function(w){ge=""+w},stopTracking:function(){v._valueTracker=null,delete v[T]}}}}function Ut(v){v._valueTracker||(v._valueTracker=It(v))}function ot(v){if(!v)return!1;var T=v._valueTracker;if(!T)return!0;var z=T.getValue(),ge="";return v&&(ge=Xe(v)?v.checked?"true":"false":v.value),v=ge,v!==z?(T.setValue(v),!0):!1}function bt(v){if(v=v||(typeof document!="undefined"?document:void 0),typeof v=="undefined")return null;try{return v.activeElement||v.body}catch(T){return v.body}}function ht(v,T){var z=T.checked;return i({},T,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:z!=null?z:v._wrapperState.initialChecked})}function et(v,T){var z=T.defaultValue==null?"":T.defaultValue,ge=T.checked!=null?T.checked:T.defaultChecked;z=qt(T.value!=null?T.value:z),v._wrapperState={initialChecked:ge,initialValue:z,controlled:T.type==="checkbox"||T.type==="radio"?T.checked!=null:T.value!=null}}function Ue(v,T){T=T.checked,T!=null&&$(v,"checked",T,!1)}function ye(v,T){Ue(v,T);var z=qt(T.value),ge=T.type;if(z!=null)ge==="number"?(z===0&&v.value===""||v.value!=z)&&(v.value=""+z):v.value!==""+z&&(v.value=""+z);else if(ge==="submit"||ge==="reset"){v.removeAttribute("value");return}T.hasOwnProperty("value")?Me(v,T.type,z):T.hasOwnProperty("defaultValue")&&Me(v,T.type,qt(T.defaultValue)),T.checked==null&&T.defaultChecked!=null&&(v.defaultChecked=!!T.defaultChecked)}function Pe(v,T,z){if(T.hasOwnProperty("value")||T.hasOwnProperty("defaultValue")){var ge=T.type;if(!(ge!=="submit"&&ge!=="reset"||T.value!==void 0&&T.value!==null))return;T=""+v._wrapperState.initialValue,z||T===v.value||(v.value=T),v.defaultValue=T}z=v.name,z!==""&&(v.name=""),v.defaultChecked=!!v._wrapperState.initialChecked,z!==""&&(v.name=z)}function Me(v,T,z){(T!=="number"||bt(v.ownerDocument)!==v)&&(z==null?v.defaultValue=""+v._wrapperState.initialValue:v.defaultValue!==""+z&&(v.defaultValue=""+z))}function $e(v){var T="";return r.Children.forEach(v,function(z){z!=null&&(T+=z)}),T}function He(v,T){return v=i({children:void 0},T),(T=$e(T.children))&&(v.children=T),v}function nt(v,T,z,ge){if(v=v.options,T){T={};for(var Le=0;Le<z.length;Le++)T["$"+z[Le]]=!0;for(z=0;z<v.length;z++)Le=T.hasOwnProperty("$"+v[z].value),v[z].selected!==Le&&(v[z].selected=Le),Le&&ge&&(v[z].defaultSelected=!0)}else{for(z=""+qt(z),T=null,Le=0;Le<v.length;Le++){if(v[Le].value===z){v[Le].selected=!0,ge&&(v[Le].defaultSelected=!0);return}T!==null||v[Le].disabled||(T=v[Le])}T!==null&&(T.selected=!0)}}function ct(v,T){if(T.dangerouslySetInnerHTML!=null)throw Error(c(91));return i({},T,{value:void 0,defaultValue:void 0,children:""+v._wrapperState.initialValue})}function Gt(v,T){var z=T.value;if(z==null){if(z=T.children,T=T.defaultValue,z!=null){if(T!=null)throw Error(c(92));if(Array.isArray(z)){if(!(1>=z.length))throw Error(c(93));z=z[0]}T=z}T==null&&(T=""),z=T}v._wrapperState={initialValue:qt(z)}}function Ht(v,T){var z=qt(T.value),ge=qt(T.defaultValue);z!=null&&(z=""+z,z!==v.value&&(v.value=z),T.defaultValue==null&&v.defaultValue!==z&&(v.defaultValue=z)),ge!=null&&(v.defaultValue=""+ge)}function Oe(v){var T=v.textContent;T===v._wrapperState.initialValue&&T!==""&&T!==null&&(v.value=T)}var Je={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Wt(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,T){return v==null||v==="http://www.w3.org/1999/xhtml"?Wt(T):v==="http://www.w3.org/2000/svg"&&T==="foreignObject"?"http://www.w3.org/1999/xhtml":v}var Zt,Bt=function(v){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(T,z,ge,Le){MSApp.execUnsafeLocalFunction(function(){return v(T,z,ge,Le)})}:v}(function(v,T){if(v.namespaceURI!==Je.svg||"innerHTML"in v)v.innerHTML=T;else{for(Zt=Zt||document.createElement("div"),Zt.innerHTML="<svg>"+T.valueOf().toString()+"</svg>",T=Zt.firstChild;v.firstChild;)v.removeChild(v.firstChild);for(;T.firstChild;)v.appendChild(T.firstChild)}});function At(v,T){if(T){var z=v.firstChild;if(z&&z===v.lastChild&&z.nodeType===3){z.nodeValue=T;return}}v.textContent=T}var Kt={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(Kt).forEach(function(v){We.forEach(function(T){T=T+v.charAt(0).toUpperCase()+v.substring(1),Kt[T]=Kt[v]})});function fe(v,T,z){return T==null||typeof T=="boolean"||T===""?"":z||typeof T!="number"||T===0||Kt.hasOwnProperty(v)&&Kt[v]?(""+T).trim():T+"px"}function _e(v,T){v=v.style;for(var z in T)if(T.hasOwnProperty(z)){var ge=z.indexOf("--")===0,Le=fe(z,T[z],ge);z==="float"&&(z="cssFloat"),ge?v.setProperty(z,Le):v[z]=Le}}var Ot=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 De(v,T){if(T){if(Ot[v]&&(T.children!=null||T.dangerouslySetInnerHTML!=null))throw Error(c(137,v));if(T.dangerouslySetInnerHTML!=null){if(T.children!=null)throw Error(c(60));if(!(typeof T.dangerouslySetInnerHTML=="object"&&"__html"in T.dangerouslySetInnerHTML))throw Error(c(61))}if(T.style!=null&&typeof T.style!="object")throw Error(c(62))}}function dt(v,T){if(v.indexOf("-")===-1)return typeof T.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 Ct=null,ke=null,wt=null;function xe(v){if(v=Va(v)){if(typeof Ct!="function")throw Error(c(280));var T=v.stateNode;T&&(T=Ya(T),Ct(v.stateNode,v.type,T))}}function Ke(v){ke?wt?wt.push(v):wt=[v]:ke=v}function gt(){if(ke){var v=ke,T=wt;if(wt=ke=null,xe(v),T)for(v=0;v<T.length;v++)xe(T[v])}}function Lt(v,T){return v(T)}function Be(v,T,z,ge,Le){return v(T,z,ge,Le)}function Dr(){}var St=Lt,Gr=!1,Xr=!1;function Sr(){(ke!==null||wt!==null)&&(Dr(),gt())}function Mr(v,T,z){if(Xr)return v(T,z);Xr=!0;try{return St(v,T,z)}finally{Xr=!1,Sr()}}function pr(v,T){var z=v.stateNode;if(z===null)return null;var ge=Ya(z);if(ge===null)return null;z=ge[T];e:switch(T){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(ge=!ge.disabled)||(v=v.type,ge=!(v==="button"||v==="input"||v==="select"||v==="textarea")),v=!ge;break e;default:v=!1}if(v)return null;if(z&&typeof z!="function")throw Error(c(231,T,typeof z));return z}var $r=!1;if(a)try{var nn={};Object.defineProperty(nn,"passive",{get:function(){$r=!0}}),window.addEventListener("test",nn,nn),window.removeEventListener("test",nn,nn)}catch(v){$r=!1}function on(v,T,z,ge,Le,st,w,t,n){var s=Array.prototype.slice.call(arguments,3);try{T.apply(z,s)}catch(m){this.onError(m)}}var sr=!1,Mt=null,vt=!1,yt=null,Nt={onError:function(v){sr=!0,Mt=v}};function Cr(v,T,z,ge,Le,st,w,t,n){sr=!1,Mt=null,on.apply(Nt,arguments)}function vr(v,T,z,ge,Le,st,w,t,n){if(Cr.apply(this,arguments),sr){if(sr){var s=Mt;sr=!1,Mt=null}else throw Error(c(198));vt||(vt=!0,yt=s)}}function ut(v){var T=v,z=v;if(v.alternate)for(;T.return;)T=T.return;else{v=T;do T=v,T.flags&1026&&(z=T.return),v=T.return;while(v)}return T.tag===3?z:null}function Rr(v){if(v.tag===13){var T=v.memoizedState;if(T===null&&(v=v.alternate,v!==null&&(T=v.memoizedState)),T!==null)return T.dehydrated}return null}function _n(v){if(ut(v)!==v)throw Error(c(188))}function Un(v){var T=v.alternate;if(!T){if(T=ut(v),T===null)throw Error(c(188));return T!==v?null:v}for(var z=v,ge=T;;){var Le=z.return;if(Le===null)break;var st=Le.alternate;if(st===null){if(ge=Le.return,ge!==null){z=ge;continue}break}if(Le.child===st.child){for(st=Le.child;st;){if(st===z)return _n(Le),v;if(st===ge)return _n(Le),T;st=st.sibling}throw Error(c(188))}if(z.return!==ge.return)z=Le,ge=st;else{for(var w=!1,t=Le.child;t;){if(t===z){w=!0,z=Le,ge=st;break}if(t===ge){w=!0,ge=Le,z=st;break}t=t.sibling}if(!w){for(t=st.child;t;){if(t===z){w=!0,z=st,ge=Le;break}if(t===ge){w=!0,ge=st,z=Le;break}t=t.sibling}if(!w)throw Error(c(189))}}if(z.alternate!==ge)throw Error(c(190))}if(z.tag!==3)throw Error(c(188));return z.stateNode.current===z?v:T}function _r(v){if(v=Un(v),!v)return null;for(var T=v;;){if(T.tag===5||T.tag===6)return T;if(T.child)T.child.return=T,T=T.child;else{if(T===v)break;for(;!T.sibling;){if(!T.return||T.return===v)return null;T=T.return}T.sibling.return=T.return,T=T.sibling}}return null}function Jr(v,T){for(var z=v.alternate;T!==null;){if(T===v||T===z)return!0;T=T.return}return!1}var dn,Mn,Jn,Nn,Ui=!1,mi=[],bi=null,vi=null,di=null,Yi=new Map,Xn=new Map,Vi=[],Et="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 lt(v,T,z,ge,Le){return{blockedOn:v,domEventName:T,eventSystemFlags:z|16,nativeEvent:Le,targetContainers:[ge]}}function Qn(v,T){switch(v){case"focusin":case"focusout":bi=null;break;case"dragenter":case"dragleave":vi=null;break;case"mouseover":case"mouseout":di=null;break;case"pointerover":case"pointerout":Yi.delete(T.pointerId);break;case"gotpointercapture":case"lostpointercapture":Xn.delete(T.pointerId)}}function xi(v,T,z,ge,Le,st){return v===null||v.nativeEvent!==st?(v=lt(T,z,ge,Le,st),T!==null&&(T=Va(T),T!==null&&Mn(T)),v):(v.eventSystemFlags|=ge,T=v.targetContainers,Le!==null&&T.indexOf(Le)===-1&&T.push(Le),v)}function qn(v,T,z,ge,Le){switch(T){case"focusin":return bi=xi(bi,v,T,z,ge,Le),!0;case"dragenter":return vi=xi(vi,v,T,z,ge,Le),!0;case"mouseover":return di=xi(di,v,T,z,ge,Le),!0;case"pointerover":var st=Le.pointerId;return Yi.set(st,xi(Yi.get(st)||null,v,T,z,ge,Le)),!0;case"gotpointercapture":return st=Le.pointerId,Xn.set(st,xi(Xn.get(st)||null,v,T,z,ge,Le)),!0}return!1}function Wi(v){var T=$a(v.target);if(T!==null){var z=ut(T);if(z!==null){if(T=z.tag,T===13){if(T=Rr(z),T!==null){v.blockedOn=T,Nn(v.lanePriority,function(){l.unstable_runWithPriority(v.priority,function(){Jn(z)})});return}}else if(T===3&&z.stateNode.hydrate){v.blockedOn=z.tag===3?z.stateNode.containerInfo:null;return}}}v.blockedOn=null}function hi(v){if(v.blockedOn!==null)return!1;for(var T=v.targetContainers;0<T.length;){var z=gs(v.domEventName,v.eventSystemFlags,T[0],v.nativeEvent);if(z!==null)return T=Va(z),T!==null&&Mn(T),v.blockedOn=z,!1;T.shift()}return!0}function ni(v,T,z){hi(v)&&z.delete(T)}function bn(){for(Ui=!1;0<mi.length;){var v=mi[0];if(v.blockedOn!==null){v=Va(v.blockedOn),v!==null&&dn(v);break}for(var T=v.targetContainers;0<T.length;){var z=gs(v.domEventName,v.eventSystemFlags,T[0],v.nativeEvent);if(z!==null){v.blockedOn=z;break}T.shift()}v.blockedOn===null&&mi.shift()}bi!==null&&hi(bi)&&(bi=null),vi!==null&&hi(vi)&&(vi=null),di!==null&&hi(di)&&(di=null),Yi.forEach(ni),Xn.forEach(ni)}function tr(v,T){v.blockedOn===T&&(v.blockedOn=null,Ui||(Ui=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,bn)))}function mt(v){function T(Le){return tr(Le,v)}if(0<mi.length){tr(mi[0],v);for(var z=1;z<mi.length;z++){var ge=mi[z];ge.blockedOn===v&&(ge.blockedOn=null)}}for(bi!==null&&tr(bi,v),vi!==null&&tr(vi,v),di!==null&&tr(di,v),Yi.forEach(T),Xn.forEach(T),z=0;z<Vi.length;z++)ge=Vi[z],ge.blockedOn===v&&(ge.blockedOn=null);for(;0<Vi.length&&(z=Vi[0],z.blockedOn===null);)Wi(z),z.blockedOn===null&&Vi.shift()}function rt(v,T){var z={};return z[v.toLowerCase()]=T.toLowerCase(),z["Webkit"+v]="webkit"+T,z["Moz"+v]="moz"+T,z}var Dt={animationend:rt("Animation","AnimationEnd"),animationiteration:rt("Animation","AnimationIteration"),animationstart:rt("Animation","AnimationStart"),transitionend:rt("Transition","TransitionEnd")},pt={},ur={};a&&(ur=document.createElement("div").style,"AnimationEvent"in window||(delete Dt.animationend.animation,delete Dt.animationiteration.animation,delete Dt.animationstart.animation),"TransitionEvent"in window||delete Dt.transitionend.transition);function cr(v){if(pt[v])return pt[v];if(!Dt[v])return v;var T=Dt[v],z;for(z in T)if(T.hasOwnProperty(z)&&z in ur)return pt[v]=T[z];return v}var Tr=cr("animationend"),Ur=cr("animationiteration"),Ze=cr("animationstart"),tt=cr("transitionend"),Ee=new Map,at=new Map,nr=["abort","abort",Tr,"animationEnd",Ur,"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",tt,"transitionEnd","waiting","waiting"];function Pr(v,T){for(var z=0;z<v.length;z+=2){var ge=v[z],Le=v[z+1];Le="on"+(Le[0].toUpperCase()+Le.slice(1)),at.set(ge,T),Ee.set(ge,Le),h(Le,[ge])}}var br=l.unstable_now;br();var Ir=8;function Br(v){if(1&v)return Ir=15,1;if(2&v)return Ir=14,2;if(4&v)return Ir=13,4;var T=24&v;return T!==0?(Ir=12,T):v&32?(Ir=11,32):(T=192&v,T!==0?(Ir=10,T):v&256?(Ir=9,256):(T=3584&v,T!==0?(Ir=8,T):v&4096?(Ir=7,4096):(T=4186112&v,T!==0?(Ir=6,T):(T=62914560&v,T!==0?(Ir=5,T):v&67108864?(Ir=4,67108864):v&134217728?(Ir=3,134217728):(T=805306368&v,T!==0?(Ir=2,T):1073741824&v?(Ir=1,1073741824):(Ir=8,v))))))}function mn(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 Er(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,T){var z=v.pendingLanes;if(z===0)return Ir=0;var ge=0,Le=0,st=v.expiredLanes,w=v.suspendedLanes,t=v.pingedLanes;if(st!==0)ge=st,Le=Ir=15;else if(st=z&134217727,st!==0){var n=st&~w;n!==0?(ge=Br(n),Le=Ir):(t&=st,t!==0&&(ge=Br(t),Le=Ir))}else st=z&~w,st!==0?(ge=Br(st),Le=Ir):t!==0&&(ge=Br(t),Le=Ir);if(ge===0)return 0;if(ge=31-fi(ge),ge=z&((0>ge?0:1<<ge)<<1)-1,T!==0&&T!==ge&&!(T&w)){if(Br(T),Le<=Ir)return T;Ir=Le}if(T=v.entangledLanes,T!==0)for(v=v.entanglements,T&=ge;0<T;)z=31-fi(T),Le=1<<z,ge|=v[z],T&=~Le;return ge}function tn(v){return v=v.pendingLanes&-1073741825,v!==0?v:v&1073741824?1073741824:0}function sn(v,T){switch(v){case 15:return 1;case 14:return 2;case 12:return v=wn(24&~T),v===0?sn(10,T):v;case 10:return v=wn(192&~T),v===0?sn(8,T):v;case 8:return v=wn(3584&~T),v===0&&(v=wn(4186112&~T),v===0&&(v=512)),v;case 2:return T=wn(805306368&~T),T===0&&(T=268435456),T}throw Error(c(358,v))}function wn(v){return v&-v}function fa(v){for(var T=[],z=0;31>z;z++)T.push(v);return T}function Ci(v,T,z){v.pendingLanes|=T;var ge=T-1;v.suspendedLanes&=ge,v.pingedLanes&=ge,v=v.eventTimes,T=31-fi(T),v[T]=z}var fi=Math.clz32?Math.clz32:Mi,hn=Math.log,ai=Math.LN2;function Mi(v){return v===0?32:31-(hn(v)/ai|0)|0}var sa=l.unstable_UserBlockingPriority,Es=l.unstable_runWithPriority,oa=!0;function ds(v,T,z,ge){Gr||Dr();var Le=ka,st=Gr;Gr=!0;try{Be(Le,v,T,z,ge)}finally{(Gr=st)||Sr()}}function ws(v,T,z,ge){Es(sa,ka.bind(null,v,T,z,ge))}function ka(v,T,z,ge){if(oa){var Le;if((Le=(T&4)===0)&&0<mi.length&&-1<Et.indexOf(v))v=lt(null,v,T,z,ge),mi.push(v);else{var st=gs(v,T,z,ge);if(st===null)Le&&Qn(v,ge);else{if(Le){if(-1<Et.indexOf(v)){v=lt(st,v,T,z,ge),mi.push(v);return}if(qn(st,v,T,z,ge))return;Qn(v,ge)}jr(v,T,ge,null,z)}}}}function gs(v,T,z,ge){var Le=zt(ge);if(Le=$a(Le),Le!==null){var st=ut(Le);if(st===null)Le=null;else{var w=st.tag;if(w===13){if(Le=Rr(st),Le!==null)return Le;Le=null}else if(w===3){if(st.stateNode.hydrate)return st.tag===3?st.stateNode.containerInfo:null;Le=null}else st!==Le&&(Le=null)}}return jr(v,T,ge,Le,z),null}var Zn=null,qa=null,Ha=null;function Ss(){if(Ha)return Ha;var v,T=qa,z=T.length,ge,Le="value"in Zn?Zn.value:Zn.textContent,st=Le.length;for(v=0;v<z&&T[v]===Le[v];v++);var w=z-v;for(ge=1;ge<=w&&T[z-ge]===Le[st-ge];ge++);return Ha=Le.slice(v,1<ge?1-ge:void 0)}function Bi(v){var T=v.keyCode;return"charCode"in v?(v=v.charCode,v===0&&T===13&&(v=13)):v=T,v===10&&(v=13),32<=v||v===13?v:0}function hs(){return!0}function Ao(){return!1}function Pa(v){function T(z,ge,Le,st,w){this._reactName=z,this._targetInst=Le,this.type=ge,this.nativeEvent=st,this.target=w,this.currentTarget=null;for(var t in v)v.hasOwnProperty(t)&&(z=v[t],this[t]=z?z(st):st[t]);return this.isDefaultPrevented=(st.defaultPrevented!=null?st.defaultPrevented:st.returnValue===!1)?hs:Ao,this.isPropagationStopped=Ao,this}return i(T.prototype,{preventDefault:function(){this.defaultPrevented=!0;var z=this.nativeEvent;z&&(z.preventDefault?z.preventDefault():typeof z.returnValue!="unknown"&&(z.returnValue=!1),this.isDefaultPrevented=hs)},stopPropagation:function(){var z=this.nativeEvent;z&&(z.stopPropagation?z.stopPropagation():typeof z.cancelBubble!="unknown"&&(z.cancelBubble=!0),this.isPropagationStopped=hs)},persist:function(){},isPersistent:hs}),T}var ta={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(v){return v.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ma=Pa(ta),Hs=i({},ta,{view:0,detail:0}),On=Pa(Hs),Ra,is,as,Li=i({},Hs,{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!==as&&(as&&v.type==="mousemove"?(Ra=v.screenX-as.screenX,is=v.screenY-as.screenY):is=Ra=0,as=v),Ra)},movementY:function(v){return"movementY"in v?v.movementY:is}}),Da=Pa(Li),Ca=i({},Li,{dataTransfer:0}),ls=Pa(Ca),Ws=i({},Hs,{relatedTarget:0}),bo=Pa(Ws),Co=i({},ta,{animationName:0,elapsedTime:0,pseudoElement:0}),To=Pa(Co),ga=i({},ta,{clipboardData:function(v){return"clipboardData"in v?v.clipboardData:window.clipboardData}}),Ka=Pa(ga),uo=i({},ta,{data:0}),ho=Pa(uo),Po={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xo={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"},li={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function si(v){var T=this.nativeEvent;return T.getModifierState?T.getModifierState(v):(v=li[v])?!!T[v]:!1}function Fa(){return si}var Wa=i({},Hs,{key:function(v){if(v.key){var T=Po[v.key]||v.key;if(T!=="Unidentified")return T}return v.type==="keypress"?(v=Bi(v),v===13?"Enter":String.fromCharCode(v)):v.type==="keydown"||v.type==="keyup"?xo[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"?Bi(v):0},keyCode:function(v){return v.type==="keydown"||v.type==="keyup"?v.keyCode:0},which:function(v){return v.type==="keypress"?Bi(v):v.type==="keydown"||v.type==="keyup"?v.keyCode:0}}),Ga=Pa(Wa),Gs=i({},Li,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Vs=Pa(Gs),Yo=i({},Hs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fa}),cs=Pa(Yo),Io=i({},ta,{propertyName:0,elapsedTime:0,pseudoElement:0}),Do=Pa(Io),jo=i({},Li,{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}),Au=Pa(jo),Eo=[9,13,27,32],lo=a&&"CompositionEvent"in window,Ks=null;a&&"documentMode"in document&&(Ks=document.documentMode);var Mu=a&&"TextEvent"in window&&!Ks,Oo=a&&(!lo||Ks&&8<Ks&&11>=Ks),ko=" ",Ns=!1;function du(v,T){switch(v){case"keyup":return Eo.indexOf(T.keyCode)!==-1;case"keydown":return T.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Mo(v){return v=v.detail,typeof v=="object"&&"data"in v?v.data:null}var wo=!1;function Rs(v,T){switch(v){case"compositionend":return Mo(T);case"keypress":return T.which!==32?null:(Ns=!0,ko);case"textInput":return v=T.data,v===ko&&Ns?null:v;default:return null}}function Ds(v,T){if(wo)return v==="compositionend"||!lo&&du(v,T)?(v=Ss(),Ha=qa=Zn=null,wo=!1,v):null;switch(v){case"paste":return null;case"keypress":if(!(T.ctrlKey||T.altKey||T.metaKey)||T.ctrlKey&&T.altKey){if(T.char&&1<T.char.length)return T.char;if(T.which)return String.fromCharCode(T.which)}return null;case"compositionend":return Oo&&T.locale!=="ko"?null:T.data;default:return null}}var hu={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 Cu(v){var T=v&&v.nodeName&&v.nodeName.toLowerCase();return T==="input"?!!hu[v.type]:T==="textarea"}function Xt(v,T,z,ge){Ke(ge),T=en(T,"onChange"),0<T.length&&(z=new Ma("onChange","change",null,z,ge),v.push({event:z,listeners:T}))}var fr=null,ar=null;function mr(v){Ye(v,0)}function xr(v){var T=io(v);if(ot(T))return v}function vn(v,T){if(v==="change")return T}var xn=!1;if(a){var $n;if(a){var kn="oninput"in document;if(!kn){var Yn=document.createElement("div");Yn.setAttribute("oninput","return;"),kn=typeof Yn.oninput=="function"}$n=kn}else $n=!1;xn=$n&&(!document.documentMode||9<document.documentMode)}function or(){fr&&(fr.detachEvent("onpropertychange",Lr),ar=fr=null)}function Lr(v){if(v.propertyName==="value"&&xr(ar)){var T=[];if(Xt(T,ar,v,zt(v)),v=mr,Gr)v(T);else{Gr=!0;try{Lt(v,T)}finally{Gr=!1,Sr()}}}}function yr(v,T,z){v==="focusin"?(or(),fr=T,ar=z,fr.attachEvent("onpropertychange",Lr)):v==="focusout"&&or()}function fn(v){if(v==="selectionchange"||v==="keyup"||v==="keydown")return xr(ar)}function zn(v,T){if(v==="click")return xr(T)}function ft(v,T){if(v==="input"||v==="change")return xr(T)}function Cn(v,T){return v===T&&(v!==0||1/v===1/T)||v!==v&&T!==T}var Hn=typeof Object.is=="function"?Object.is:Cn,oi=Object.prototype.hasOwnProperty;function zi(v,T){if(Hn(v,T))return!0;if(typeof v!="object"||v===null||typeof T!="object"||T===null)return!1;var z=Object.keys(v),ge=Object.keys(T);if(z.length!==ge.length)return!1;for(ge=0;ge<z.length;ge++)if(!oi.call(T,z[ge])||!Hn(v[z[ge]],T[z[ge]]))return!1;return!0}function Nr(v){for(;v&&v.firstChild;)v=v.firstChild;return v}function Hr(v,T){var z=Nr(v);v=0;for(var ge;z;){if(z.nodeType===3){if(ge=v+z.textContent.length,v<=T&&ge>=T)return{node:z,offset:T-v};v=ge}e:{for(;z;){if(z.nextSibling){z=z.nextSibling;break e}z=z.parentNode}z=void 0}z=Nr(z)}}function da(v,T){return v&&T?v===T?!0:v&&v.nodeType===3?!1:T&&T.nodeType===3?da(v,T.parentNode):"contains"in v?v.contains(T):v.compareDocumentPosition?!!(v.compareDocumentPosition(T)&16):!1:!1}function Ti(){for(var v=window,T=bt();T instanceof v.HTMLIFrameElement;){try{var z=typeof T.contentWindow.location.href=="string"}catch(ge){z=!1}if(z)v=T.contentWindow;else break;T=bt(v.document)}return T}function ra(v){var T=v&&v.nodeName&&v.nodeName.toLowerCase();return T&&(T==="input"&&(v.type==="text"||v.type==="search"||v.type==="tel"||v.type==="url"||v.type==="password")||T==="textarea"||v.contentEditable==="true")}var Ts=a&&"documentMode"in document&&11>=document.documentMode,ui=null,$s=null,Fo=null,Os=!1;function ha(v,T,z){var ge=z.window===z?z.document:z.nodeType===9?z:z.ownerDocument;Os||ui==null||ui!==bt(ge)||(ge=ui,"selectionStart"in ge&&ra(ge)?ge={start:ge.selectionStart,end:ge.selectionEnd}:(ge=(ge.ownerDocument&&ge.ownerDocument.defaultView||window).getSelection(),ge={anchorNode:ge.anchorNode,anchorOffset:ge.anchorOffset,focusNode:ge.focusNode,focusOffset:ge.focusOffset}),Fo&&zi(Fo,ge)||(Fo=ge,ge=en($s,"onSelect"),0<ge.length&&(T=new Ma("onSelect","select",null,T,z),v.push({event:T,listeners:ge}),T.target=ui)))}Pr("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),Pr("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),Pr(nr,2);for(var Na="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),ps=0;ps<Na.length;ps++)at.set(Na[ps],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 Ln="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ls=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ln));function Ms(v,T,z){var ge=v.type||"unknown-event";v.currentTarget=z,vr(ge,T,void 0,v),v.currentTarget=null}function Ye(v,T){T=(T&4)!==0;for(var z=0;z<v.length;z++){var ge=v[z],Le=ge.event;ge=ge.listeners;e:{var st=void 0;if(T)for(var w=ge.length-1;0<=w;w--){var t=ge[w],n=t.instance,s=t.currentTarget;if(t=t.listener,n!==st&&Le.isPropagationStopped())break e;Ms(Le,t,s),st=n}else for(w=0;w<ge.length;w++){if(t=ge[w],n=t.instance,s=t.currentTarget,t=t.listener,n!==st&&Le.isPropagationStopped())break e;Ms(Le,t,s),st=n}}}if(vt)throw v=yt,vt=!1,yt=null,v}function Qe(v,T){var z=co(T),ge=v+"__bubble";z.has(ge)||(kr(T,v,2,!1),z.add(ge))}var Rt="_reactListening"+Math.random().toString(36).slice(2);function Vt(v){v[Rt]||(v[Rt]=!0,f.forEach(function(T){Ls.has(T)||dr(T,!1,v,null),dr(T,!0,v,null)}))}function dr(v,T,z,ge){var Le=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,st=z;if(v==="selectionchange"&&z.nodeType!==9&&(st=z.ownerDocument),ge!==null&&!T&&Ls.has(v)){if(v!=="scroll")return;Le|=2,st=ge}var w=co(st),t=v+"__"+(T?"capture":"bubble");w.has(t)||(T&&(Le|=4),kr(st,v,Le,T),w.add(t))}function kr(v,T,z,ge){var Le=at.get(T);switch(Le===void 0?2:Le){case 0:Le=ds;break;case 1:Le=ws;break;default:Le=ka}z=Le.bind(null,T,z,v),Le=void 0,!$r||T!=="touchstart"&&T!=="touchmove"&&T!=="wheel"||(Le=!0),ge?Le!==void 0?v.addEventListener(T,z,{capture:!0,passive:Le}):v.addEventListener(T,z,!0):Le!==void 0?v.addEventListener(T,z,{passive:Le}):v.addEventListener(T,z,!1)}function jr(v,T,z,ge,Le){var st=ge;if(!(T&1)&&!(T&2)&&ge!==null)e:for(;;){if(ge===null)return;var w=ge.tag;if(w===3||w===4){var t=ge.stateNode.containerInfo;if(t===Le||t.nodeType===8&&t.parentNode===Le)break;if(w===4)for(w=ge.return;w!==null;){var n=w.tag;if((n===3||n===4)&&(n=w.stateNode.containerInfo,n===Le||n.nodeType===8&&n.parentNode===Le))return;w=w.return}for(;t!==null;){if(w=$a(t),w===null)return;if(n=w.tag,n===5||n===6){ge=st=w;continue e}t=t.parentNode}}ge=ge.return}Mr(function(){var s=st,m=zt(z),E=[];e:{var C=Ee.get(v);if(C!==void 0){var U=Ma,G=v;switch(v){case"keypress":if(Bi(z)===0)break e;case"keydown":case"keyup":U=Ga;break;case"focusin":G="focus",U=bo;break;case"focusout":G="blur",U=bo;break;case"beforeblur":case"afterblur":U=bo;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":U=Da;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=ls;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=cs;break;case Tr:case Ur:case Ze:U=To;break;case tt:U=Do;break;case"scroll":U=On;break;case"wheel":U=Au;break;case"copy":case"cut":case"paste":U=Ka;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=Vs}var H=(T&4)!==0,se=!H&&v==="scroll",ue=H?C!==null?C+"Capture":null:C;H=[];for(var ve=s,Ae;ve!==null;){Ae=ve;var we=Ae.stateNode;if(Ae.tag===5&&we!==null&&(Ae=we,ue!==null&&(we=pr(ve,ue),we!=null&&H.push(pn(ve,we,Ae)))),se)break;ve=ve.return}0<H.length&&(C=new U(C,G,null,z,m),E.push({event:C,listeners:H}))}}if(!(T&7)){e:{if(C=v==="mouseover"||v==="pointerover",U=v==="mouseout"||v==="pointerout",C&&!(T&16)&&(G=z.relatedTarget||z.fromElement)&&($a(G)||G[Ii]))break e;if((U||C)&&(C=m.window===m?m:(C=m.ownerDocument)?C.defaultView||C.parentWindow:window,U?(G=z.relatedTarget||z.toElement,U=s,G=G?$a(G):null,G!==null&&(se=ut(G),G!==se||G.tag!==5&&G.tag!==6)&&(G=null)):(U=null,G=s),U!==G)){if(H=Da,we="onMouseLeave",ue="onMouseEnter",ve="mouse",(v==="pointerout"||v==="pointerover")&&(H=Vs,we="onPointerLeave",ue="onPointerEnter",ve="pointer"),se=U==null?C:io(U),Ae=G==null?C:io(G),C=new H(we,ve+"leave",U,z,m),C.target=se,C.relatedTarget=Ae,we=null,$a(m)===s&&(H=new H(ue,ve+"enter",G,z,m),H.target=Ae,H.relatedTarget=se,we=H),se=we,U&&G)t:{for(H=U,ue=G,ve=0,Ae=H;Ae;Ae=gn(Ae))ve++;for(Ae=0,we=ue;we;we=gn(we))Ae++;for(;0<ve-Ae;)H=gn(H),ve--;for(;0<Ae-ve;)ue=gn(ue),Ae--;for(;ve--;){if(H===ue||ue!==null&&H===ue.alternate)break t;H=gn(H),ue=gn(ue)}H=null}else H=null;U!==null&&Wn(E,C,U,H,!1),G!==null&&se!==null&&Wn(E,se,G,H,!0)}}e:{if(C=s?io(s):window,U=C.nodeName&&C.nodeName.toLowerCase(),U==="select"||U==="input"&&C.type==="file")var qe=vn;else if(Cu(C))if(xn)qe=ft;else{qe=fn;var it=yr}else(U=C.nodeName)&&U.toLowerCase()==="input"&&(C.type==="checkbox"||C.type==="radio")&&(qe=zn);if(qe&&(qe=qe(v,s))){Xt(E,qe,z,m);break e}it&&it(v,C,s),v==="focusout"&&(it=C._wrapperState)&&it.controlled&&C.type==="number"&&Me(C,"number",C.value)}switch(it=s?io(s):window,v){case"focusin":(Cu(it)||it.contentEditable==="true")&&(ui=it,$s=s,Fo=null);break;case"focusout":Fo=$s=ui=null;break;case"mousedown":Os=!0;break;case"contextmenu":case"mouseup":case"dragend":Os=!1,ha(E,z,m);break;case"selectionchange":if(Ts)break;case"keydown":case"keyup":ha(E,z,m)}var jt;if(lo)e:{switch(v){case"compositionstart":var ir="onCompositionStart";break e;case"compositionend":ir="onCompositionEnd";break e;case"compositionupdate":ir="onCompositionUpdate";break e}ir=void 0}else wo?du(v,z)&&(ir="onCompositionEnd"):v==="keydown"&&z.keyCode===229&&(ir="onCompositionStart");ir&&(Oo&&z.locale!=="ko"&&(wo||ir!=="onCompositionStart"?ir==="onCompositionEnd"&&wo&&(jt=Ss()):(Zn=m,qa="value"in Zn?Zn.value:Zn.textContent,wo=!0)),it=en(s,ir),0<it.length&&(ir=new ho(ir,v,null,z,m),E.push({event:ir,listeners:it}),jt?ir.data=jt:(jt=Mo(z),jt!==null&&(ir.data=jt)))),(jt=Mu?Rs(v,z):Ds(v,z))&&(s=en(s,"onBeforeInput"),0<s.length&&(m=new ho("onBeforeInput","beforeinput",null,z,m),E.push({event:m,listeners:s}),m.data=jt))}Ye(E,T)})}function pn(v,T,z){return{instance:v,listener:T,currentTarget:z}}function en(v,T){for(var z=T+"Capture",ge=[];v!==null;){var Le=v,st=Le.stateNode;Le.tag===5&&st!==null&&(Le=st,st=pr(v,z),st!=null&&ge.unshift(pn(v,st,Le)),st=pr(v,T),st!=null&&ge.push(pn(v,st,Le))),v=v.return}return ge}function gn(v){if(v===null)return null;do v=v.return;while(v&&v.tag!==5);return v||null}function Wn(v,T,z,ge,Le){for(var st=T._reactName,w=[];z!==null&&z!==ge;){var t=z,n=t.alternate,s=t.stateNode;if(n!==null&&n===ge)break;t.tag===5&&s!==null&&(t=s,Le?(n=pr(z,st),n!=null&&w.unshift(pn(z,n,t))):Le||(n=pr(z,st),n!=null&&w.push(pn(z,n,t)))),z=z.return}w.length!==0&&v.push({event:T,listeners:w})}function ti(){}var gi=null,wi=null;function Ni(v,T){switch(v){case"button":case"input":case"select":case"textarea":return!!T.autoFocus}return!1}function Fi(v,T){return v==="textarea"||v==="option"||v==="noscript"||typeof T.children=="string"||typeof T.children=="number"||typeof T.dangerouslySetInnerHTML=="object"&&T.dangerouslySetInnerHTML!==null&&T.dangerouslySetInnerHTML.__html!=null}var yi=typeof setTimeout=="function"?setTimeout:void 0,pa=typeof clearTimeout=="function"?clearTimeout:void 0;function Pi(v){v.nodeType===1?v.textContent="":v.nodeType===9&&(v=v.body,v!=null&&(v.textContent=""))}function pi(v){for(;v!=null;v=v.nextSibling){var T=v.nodeType;if(T===1||T===3)break}return v}function ua(v){v=v.previousSibling;for(var T=0;v;){if(v.nodeType===8){var z=v.data;if(z==="$"||z==="$!"||z==="$?"){if(T===0)return v;T--}else z==="/$"&&T++}v=v.previousSibling}return null}var Ys=0;function _s(v){return{$$typeof:F,toString:v,valueOf:v}}var Zi=Math.random().toString(36).slice(2),Oa="__reactFiber$"+Zi,qi="__reactProps$"+Zi,Ii="__reactContainer$"+Zi,ya="__reactEvents$"+Zi;function $a(v){var T=v[Oa];if(T)return T;for(var z=v.parentNode;z;){if(T=z[Ii]||z[Oa]){if(z=T.alternate,T.child!==null||z!==null&&z.child!==null)for(v=ua(v);v!==null;){if(z=v[Oa])return z;v=ua(v)}return T}v=z,z=v.parentNode}return null}function Va(v){return v=v[Oa]||v[Ii],!v||v.tag!==5&&v.tag!==6&&v.tag!==13&&v.tag!==3?null:v}function io(v){if(v.tag===5||v.tag===6)return v.stateNode;throw Error(c(33))}function Ya(v){return v[qi]||null}function co(v){var T=v[ya];return T===void 0&&(T=v[ya]=new Set),T}var La=[],Xs=-1;function js(v){return{current:v}}function na(v){0>Xs||(v.current=La[Xs],La[Xs]=null,Xs--)}function ja(v,T){Xs++,La[Xs]=v.current,v.current=T}var ys={},Hi=js(ys),be=js(!1),Ce=ys;function wr(v,T){var z=v.type.contextTypes;if(!z)return ys;var ge=v.stateNode;if(ge&&ge.__reactInternalMemoizedUnmaskedChildContext===T)return ge.__reactInternalMemoizedMaskedChildContext;var Le={},st;for(st in z)Le[st]=T[st];return ge&&(v=v.stateNode,v.__reactInternalMemoizedUnmaskedChildContext=T,v.__reactInternalMemoizedMaskedChildContext=Le),Le}function Qr(v){return v=v.childContextTypes,v!=null}function gr(){na(be),na(Hi)}function Yr(v,T,z){if(Hi.current!==ys)throw Error(c(168));ja(Hi,T),ja(be,z)}function Sn(v,T,z){var ge=v.stateNode;if(v=T.childContextTypes,typeof ge.getChildContext!="function")return z;ge=ge.getChildContext();for(var Le in ge)if(!(Le in v))throw Error(c(108,Jt(T)||"Unknown",Le));return i({},z,ge)}function ei(v){return v=(v=v.stateNode)&&v.__reactInternalMemoizedMergedChildContext||ys,Ce=Hi.current,ja(Hi,v),ja(be,be.current),!0}function Oi(v,T,z){var ge=v.stateNode;if(!ge)throw Error(c(169));z?(v=Sn(v,T,Ce),ge.__reactInternalMemoizedMergedChildContext=v,na(be),na(Hi),ja(Hi,v)):na(be),ja(be,z)}var In=null,Tn=null,Fn=l.unstable_runWithPriority,la=l.unstable_scheduleCallback,$i=l.unstable_cancelCallback,po=l.unstable_shouldYield,Qs=l.unstable_requestPaint,tu=l.unstable_now,tl=l.unstable_getCurrentPriorityLevel,Ku=l.unstable_ImmediatePriority,Tu=l.unstable_UserBlockingPriority,zc=l.unstable_NormalPriority,pu=l.unstable_LowPriority,Ve=l.unstable_IdlePriority,Z={},X=Qs!==void 0?Qs:function(){},te=null,pe=null,Te=!1,Ge=tu(),Tt=1e4>Ge?tu:function(){return tu()-Ge};function $t(){switch(tl()){case Ku:return 99;case Tu:return 98;case zc:return 97;case pu:return 96;case Ve:return 95;default:throw Error(c(332))}}function rr(v){switch(v){case 99:return Ku;case 98:return Tu;case 97:return zc;case 96:return pu;case 95:return Ve;default:throw Error(c(332))}}function Ar(v,T){return v=rr(v),Fn(v,T)}function zr(v,T,z){return v=rr(v),la(v,T,z)}function qr(){if(pe!==null){var v=pe;pe=null,$i(v)}En()}function En(){if(!Te&&te!==null){Te=!0;var v=0;try{var T=te;Ar(99,function(){for(;v<T.length;v++){var z=T[v];do z=z(!0);while(z!==null)}}),te=null}catch(z){throw te!==null&&(te=te.slice(v+1)),la(Ku,qr),z}finally{Te=!1}}}var Rn=j.ReactCurrentBatchConfig;function lr(v,T){if(v&&v.defaultProps){T=i({},T),v=v.defaultProps;for(var z in v)T[z]===void 0&&(T[z]=v[z]);return T}return T}var Ei=js(null),ia=null,aa=null,Xi=null;function Ja(){Xi=aa=ia=null}function ss(v){var T=Ei.current;na(Ei),v.type._context._currentValue=T}function bs(v,T){for(;v!==null;){var z=v.alternate;if((v.childLanes&T)===T){if(z===null||(z.childLanes&T)===T)break;z.childLanes|=T}else v.childLanes|=T,z!==null&&(z.childLanes|=T);v=v.return}}function es(v,T){ia=v,Xi=aa=null,v=v.dependencies,v!==null&&v.firstContext!==null&&(v.lanes&T&&(Du=!0),v.firstContext=null)}function wa(v,T){if(Xi!==v&&T!==!1&&T!==0)if((typeof T!="number"||T===1073741823)&&(Xi=v,T=1073741823),T={context:v,observedBits:T,next:null},aa===null){if(ia===null)throw Error(c(308));aa=T,ia.dependencies={lanes:0,firstContext:T,responders:null}}else aa=aa.next=T;return v._currentValue}var fs=!1;function xs(v){v.updateQueue={baseState:v.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function _i(v,T){v=v.updateQueue,T.updateQueue===v&&(T.updateQueue={baseState:v.baseState,firstBaseUpdate:v.firstBaseUpdate,lastBaseUpdate:v.lastBaseUpdate,shared:v.shared,effects:v.effects})}function Us(v,T){return{eventTime:v,lane:T,tag:0,payload:null,callback:null,next:null}}function ms(v,T){if(v=v.updateQueue,v!==null){v=v.shared;var z=v.pending;z===null?T.next=T:(T.next=z.next,z.next=T),v.pending=T}}function Xo(v,T){var z=v.updateQueue,ge=v.alternate;if(ge!==null&&(ge=ge.updateQueue,z===ge)){var Le=null,st=null;if(z=z.firstBaseUpdate,z!==null){do{var w={eventTime:z.eventTime,lane:z.lane,tag:z.tag,payload:z.payload,callback:z.callback,next:null};st===null?Le=st=w:st=st.next=w,z=z.next}while(z!==null);st===null?Le=st=T:st=st.next=T}else Le=st=T;z={baseState:ge.baseState,firstBaseUpdate:Le,lastBaseUpdate:st,shared:ge.shared,effects:ge.effects},v.updateQueue=z;return}v=z.lastBaseUpdate,v===null?z.firstBaseUpdate=T:v.next=T,z.lastBaseUpdate=T}function Ps(v,T,z,ge){var Le=v.updateQueue;fs=!1;var st=Le.firstBaseUpdate,w=Le.lastBaseUpdate,t=Le.shared.pending;if(t!==null){Le.shared.pending=null;var n=t,s=n.next;n.next=null,w===null?st=s:w.next=s,w=n;var m=v.alternate;if(m!==null){m=m.updateQueue;var E=m.lastBaseUpdate;E!==w&&(E===null?m.firstBaseUpdate=s:E.next=s,m.lastBaseUpdate=n)}}if(st!==null){E=Le.baseState,w=0,m=s=n=null;do{t=st.lane;var C=st.eventTime;if((ge&t)===t){m!==null&&(m=m.next={eventTime:C,lane:0,tag:st.tag,payload:st.payload,callback:st.callback,next:null});e:{var U=v,G=st;switch(t=T,C=z,G.tag){case 1:if(U=G.payload,typeof U=="function"){E=U.call(C,E,t);break e}E=U;break e;case 3:U.flags=U.flags&-4097|64;case 0:if(U=G.payload,t=typeof U=="function"?U.call(C,E,t):U,t==null)break e;E=i({},E,t);break e;case 2:fs=!0}}st.callback!==null&&(v.flags|=32,t=Le.effects,t===null?Le.effects=[st]:t.push(st))}else C={eventTime:C,lane:t,tag:st.tag,payload:st.payload,callback:st.callback,next:null},m===null?(s=m=C,n=E):m=m.next=C,w|=t;if(st=st.next,st===null){if(t=Le.shared.pending,t===null)break;st=t.next,t.next=null,Le.lastBaseUpdate=t,Le.shared.pending=null}}while(!0);m===null&&(n=E),Le.baseState=n,Le.firstBaseUpdate=s,Le.lastBaseUpdate=m,fo|=w,v.lanes=w,v.memoizedState=E}}function _o(v,T,z){if(v=T.effects,T.effects=null,v!==null)for(T=0;T<v.length;T++){var ge=v[T],Le=ge.callback;if(Le!==null){if(ge.callback=null,ge=z,typeof Le!="function")throw Error(c(191,Le));Le.call(ge)}}}var qs=new r.Component().refs;function Bl(v,T,z,ge){T=v.memoizedState,z=z(ge,T),z=z==null?T:i({},T,z),v.memoizedState=z,v.lanes===0&&(v.updateQueue.baseState=z)}var Fu={isMounted:function(v){return(v=v._reactInternals)?ut(v)===v:!1},enqueueSetState:function(v,T,z){v=v._reactInternals;var ge=ou(),Le=Hu(v),st=Us(ge,Le);st.payload=T,z!=null&&(st.callback=z),ms(v,st),Ol(v,Le,ge)},enqueueReplaceState:function(v,T,z){v=v._reactInternals;var ge=ou(),Le=Hu(v),st=Us(ge,Le);st.tag=1,st.payload=T,z!=null&&(st.callback=z),ms(v,st),Ol(v,Le,ge)},enqueueForceUpdate:function(v,T){v=v._reactInternals;var z=ou(),ge=Hu(v),Le=Us(z,ge);Le.tag=2,T!=null&&(Le.callback=T),ms(v,Le),Ol(v,ge,z)}};function Bo(v,T,z,ge,Le,st,w){return v=v.stateNode,typeof v.shouldComponentUpdate=="function"?v.shouldComponentUpdate(ge,st,w):T.prototype&&T.prototype.isPureReactComponent?!zi(z,ge)||!zi(Le,st):!0}function ru(v,T,z){var ge=!1,Le=ys,st=T.contextType;return typeof st=="object"&&st!==null?st=wa(st):(Le=Qr(T)?Ce:Hi.current,ge=T.contextTypes,st=(ge=ge!=null)?wr(v,Le):ys),T=new T(z,st),v.memoizedState=T.state!==null&&T.state!==void 0?T.state:null,T.updater=Fu,v.stateNode=T,T._reactInternals=v,ge&&(v=v.stateNode,v.__reactInternalMemoizedUnmaskedChildContext=Le,v.__reactInternalMemoizedMaskedChildContext=st),T}function ks(v,T,z,ge){v=T.state,typeof T.componentWillReceiveProps=="function"&&T.componentWillReceiveProps(z,ge),typeof T.UNSAFE_componentWillReceiveProps=="function"&&T.UNSAFE_componentWillReceiveProps(z,ge),T.state!==v&&Fu.enqueueReplaceState(T,T.state,null)}function Bu(v,T,z,ge){var Le=v.stateNode;Le.props=z,Le.state=v.memoizedState,Le.refs=qs,xs(v);var st=T.contextType;typeof st=="object"&&st!==null?Le.context=wa(st):(st=Qr(T)?Ce:Hi.current,Le.context=wr(v,st)),Ps(v,z,Le,ge),Le.state=v.memoizedState,st=T.getDerivedStateFromProps,typeof st=="function"&&(Bl(v,T,st,z),Le.state=v.memoizedState),typeof T.getDerivedStateFromProps=="function"||typeof Le.getSnapshotBeforeUpdate=="function"||typeof Le.UNSAFE_componentWillMount!="function"&&typeof Le.componentWillMount!="function"||(T=Le.state,typeof Le.componentWillMount=="function"&&Le.componentWillMount(),typeof Le.UNSAFE_componentWillMount=="function"&&Le.UNSAFE_componentWillMount(),T!==Le.state&&Fu.enqueueReplaceState(Le,Le.state,null),Ps(v,z,Le,ge),Le.state=v.memoizedState),typeof Le.componentDidMount=="function"&&(v.flags|=4)}var cu=Array.isArray;function Js(v,T,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 ge=z.stateNode}if(!ge)throw Error(c(147,v));var Le=""+v;return T!==null&&T.ref!==null&&typeof T.ref=="function"&&T.ref._stringRef===Le?T.ref:(T=function(st){var w=ge.refs;w===qs&&(w=ge.refs={}),st===null?delete w[Le]:w[Le]=st},T._stringRef=Le,T)}if(typeof v!="string")throw Error(c(284));if(!z._owner)throw Error(c(290,v))}return v}function gl(v,T){if(v.type!=="textarea")throw Error(c(31,Object.prototype.toString.call(T)==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":T))}function yl(v){function T(se,ue){if(v){var ve=se.lastEffect;ve!==null?(ve.nextEffect=ue,se.lastEffect=ue):se.firstEffect=se.lastEffect=ue,ue.nextEffect=null,ue.flags=8}}function z(se,ue){if(!v)return null;for(;ue!==null;)T(se,ue),ue=ue.sibling;return null}function ge(se,ue){for(se=new Map;ue!==null;)ue.key!==null?se.set(ue.key,ue):se.set(ue.index,ue),ue=ue.sibling;return se}function Le(se,ue){return se=Ju(se,ue),se.index=0,se.sibling=null,se}function st(se,ue,ve){return se.index=ve,v?(ve=se.alternate,ve!==null?(ve=ve.index,ve<ue?(se.flags=2,ue):ve):(se.flags=2,ue)):ue}function w(se){return v&&se.alternate===null&&(se.flags=2),se}function t(se,ue,ve,Ae){return ue===null||ue.tag!==6?(ue=df(ve,se.mode,Ae),ue.return=se,ue):(ue=Le(ue,ve),ue.return=se,ue)}function n(se,ue,ve,Ae){return ue!==null&&ue.elementType===ve.type?(Ae=Le(ue,ve.props),Ae.ref=Js(se,ue,ve),Ae.return=se,Ae):(Ae=_l(ve.type,ve.key,ve.props,null,se.mode,Ae),Ae.ref=Js(se,ue,ve),Ae.return=se,Ae)}function s(se,ue,ve,Ae){return ue===null||ue.tag!==4||ue.stateNode.containerInfo!==ve.containerInfo||ue.stateNode.implementation!==ve.implementation?(ue=Nc(ve,se.mode,Ae),ue.return=se,ue):(ue=Le(ue,ve.children||[]),ue.return=se,ue)}function m(se,ue,ve,Ae,we){return ue===null||ue.tag!==7?(ue=Vo(ve,se.mode,Ae,we),ue.return=se,ue):(ue=Le(ue,ve),ue.return=se,ue)}function E(se,ue,ve){if(typeof ue=="string"||typeof ue=="number")return ue=df(""+ue,se.mode,ve),ue.return=se,ue;if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case K:return ve=_l(ue.type,ue.key,ue.props,null,se.mode,ve),ve.ref=Js(se,null,ue),ve.return=se,ve;case V:return ue=Nc(ue,se.mode,ve),ue.return=se,ue}if(cu(ue)||je(ue))return ue=Vo(ue,se.mode,ve,null),ue.return=se,ue;gl(se,ue)}return null}function C(se,ue,ve,Ae){var we=ue!==null?ue.key:null;if(typeof ve=="string"||typeof ve=="number")return we!==null?null:t(se,ue,""+ve,Ae);if(typeof ve=="object"&&ve!==null){switch(ve.$$typeof){case K:return ve.key===we?ve.type===W?m(se,ue,ve.props.children,Ae,we):n(se,ue,ve,Ae):null;case V:return ve.key===we?s(se,ue,ve,Ae):null}if(cu(ve)||je(ve))return we!==null?null:m(se,ue,ve,Ae,null);gl(se,ve)}return null}function U(se,ue,ve,Ae,we){if(typeof Ae=="string"||typeof Ae=="number")return se=se.get(ve)||null,t(ue,se,""+Ae,we);if(typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case K:return se=se.get(Ae.key===null?ve:Ae.key)||null,Ae.type===W?m(ue,se,Ae.props.children,we,Ae.key):n(ue,se,Ae,we);case V:return se=se.get(Ae.key===null?ve:Ae.key)||null,s(ue,se,Ae,we)}if(cu(Ae)||je(Ae))return se=se.get(ve)||null,m(ue,se,Ae,we,null);gl(ue,Ae)}return null}function G(se,ue,ve,Ae){for(var we=null,qe=null,it=ue,jt=ue=0,ir=null;it!==null&&jt<ve.length;jt++){it.index>jt?(ir=it,it=null):ir=it.sibling;var er=C(se,it,ve[jt],Ae);if(er===null){it===null&&(it=ir);break}v&&it&&er.alternate===null&&T(se,it),ue=st(er,ue,jt),qe===null?we=er:qe.sibling=er,qe=er,it=ir}if(jt===ve.length)return z(se,it),we;if(it===null){for(;jt<ve.length;jt++)it=E(se,ve[jt],Ae),it!==null&&(ue=st(it,ue,jt),qe===null?we=it:qe.sibling=it,qe=it);return we}for(it=ge(se,it);jt<ve.length;jt++)ir=U(it,se,jt,ve[jt],Ae),ir!==null&&(v&&ir.alternate!==null&&it.delete(ir.key===null?jt:ir.key),ue=st(ir,ue,jt),qe===null?we=ir:qe.sibling=ir,qe=ir);return v&&it.forEach(function(Fr){return T(se,Fr)}),we}function H(se,ue,ve,Ae){var we=je(ve);if(typeof we!="function")throw Error(c(150));if(ve=we.call(ve),ve==null)throw Error(c(151));for(var qe=we=null,it=ue,jt=ue=0,ir=null,er=ve.next();it!==null&&!er.done;jt++,er=ve.next()){it.index>jt?(ir=it,it=null):ir=it.sibling;var Fr=C(se,it,er.value,Ae);if(Fr===null){it===null&&(it=ir);break}v&&it&&Fr.alternate===null&&T(se,it),ue=st(Fr,ue,jt),qe===null?we=Fr:qe.sibling=Fr,qe=Fr,it=ir}if(er.done)return z(se,it),we;if(it===null){for(;!er.done;jt++,er=ve.next())er=E(se,er.value,Ae),er!==null&&(ue=st(er,ue,jt),qe===null?we=er:qe.sibling=er,qe=er);return we}for(it=ge(se,it);!er.done;jt++,er=ve.next())er=U(it,se,jt,er.value,Ae),er!==null&&(v&&er.alternate!==null&&it.delete(er.key===null?jt:er.key),ue=st(er,ue,jt),qe===null?we=er:qe.sibling=er,qe=er);return v&&it.forEach(function(Zr){return T(se,Zr)}),we}return function(se,ue,ve,Ae){var we=typeof ve=="object"&&ve!==null&&ve.type===W&&ve.key===null;we&&(ve=ve.props.children);var qe=typeof ve=="object"&&ve!==null;if(qe)switch(ve.$$typeof){case K:e:{for(qe=ve.key,we=ue;we!==null;){if(we.key===qe){switch(we.tag){case 7:if(ve.type===W){z(se,we.sibling),ue=Le(we,ve.props.children),ue.return=se,se=ue;break e}break;default:if(we.elementType===ve.type){z(se,we.sibling),ue=Le(we,ve.props),ue.ref=Js(se,we,ve),ue.return=se,se=ue;break e}}z(se,we);break}else T(se,we);we=we.sibling}ve.type===W?(ue=Vo(ve.props.children,se.mode,Ae,ve.key),ue.return=se,se=ue):(Ae=_l(ve.type,ve.key,ve.props,null,se.mode,Ae),Ae.ref=Js(se,ue,ve),Ae.return=se,se=Ae)}return w(se);case V:e:{for(we=ve.key;ue!==null;){if(ue.key===we)if(ue.tag===4&&ue.stateNode.containerInfo===ve.containerInfo&&ue.stateNode.implementation===ve.implementation){z(se,ue.sibling),ue=Le(ue,ve.children||[]),ue.return=se,se=ue;break e}else{z(se,ue);break}else T(se,ue);ue=ue.sibling}ue=Nc(ve,se.mode,Ae),ue.return=se,se=ue}return w(se)}if(typeof ve=="string"||typeof ve=="number")return ve=""+ve,ue!==null&&ue.tag===6?(z(se,ue.sibling),ue=Le(ue,ve),ue.return=se,se=ue):(z(se,ue),ue=df(ve,se.mode,Ae),ue.return=se,se=ue),w(se);if(cu(ve))return G(se,ue,ve,Ae);if(je(ve))return H(se,ue,ve,Ae);if(qe&&gl(se,ve),typeof ve=="undefined"&&!we)switch(se.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,Jt(se.type)||"Component"))}return z(se,ue)}}var Uo=yl(!0),bl=yl(!1),zs={},Qo=js(zs),_u=js(zs),xl=js(zs);function qo(v){if(v===zs)throw Error(c(174));return v}function Nl(v,T){switch(ja(xl,T),ja(_u,v),ja(Qo,zs),v=T.nodeType,v){case 9:case 11:T=(T=T.documentElement)?T.namespaceURI:kt(null,"");break;default:v=v===8?T.parentNode:T,T=v.namespaceURI||null,v=v.tagName,T=kt(T,v)}na(Qo),ja(Qo,T)}function $l(){na(Qo),na(_u),na(xl)}function ii(v){qo(xl.current);var T=qo(Qo.current),z=kt(T,v.type);T!==z&&(ja(_u,v),ja(Qo,z))}function sc(v){_u.current===v&&(na(Qo),na(_u))}var eo=js(0);function Ac(v){for(var T=v;T!==null;){if(T.tag===13){var z=T.memoizedState;if(z!==null&&(z=z.dehydrated,z===null||z.data==="$?"||z.data==="$!"))return T}else if(T.tag===19&&T.memoizedProps.revealOrder!==void 0){if(T.flags&64)return T}else if(T.child!==null){T.child.return=T,T=T.child;continue}if(T===v)break;for(;T.sibling===null;){if(T.return===null||T.return===v)return null;T=T.return}T.sibling.return=T.return,T=T.sibling}return null}var fu=null,Nu=null,$u=!1;function jl(v,T){var z=Go(5,null,null,0);z.elementType="DELETED",z.type="DELETED",z.stateNode=T,z.return=v,z.flags=8,v.lastEffect!==null?(v.lastEffect.nextEffect=z,v.lastEffect=z):v.firstEffect=v.lastEffect=z}function Ul(v,T){switch(v.tag){case 5:var z=v.type;return T=T.nodeType!==1||z.toLowerCase()!==T.nodeName.toLowerCase()?null:T,T!==null?(v.stateNode=T,!0):!1;case 6:return T=v.pendingProps===""||T.nodeType!==3?null:T,T!==null?(v.stateNode=T,!0):!1;case 13:return!1;default:return!1}}function mo(v){if($u){var T=Nu;if(T){var z=T;if(!Ul(v,T)){if(T=pi(z.nextSibling),!T||!Ul(v,T)){v.flags=v.flags&-1025|2,$u=!1,fu=v;return}jl(fu,z)}fu=v,Nu=pi(T.firstChild)}else v.flags=v.flags&-1025|2,$u=!1,fu=v}}function zo(v){for(v=v.return;v!==null&&v.tag!==5&&v.tag!==3&&v.tag!==13;)v=v.return;fu=v}function af(v){if(v!==fu)return!1;if(!$u)return zo(v),$u=!0,!1;var T=v.type;if(v.tag!==5||T!=="head"&&T!=="body"&&!Fi(T,v.memoizedProps))for(T=Nu;T;)jl(v,T),T=pi(T.nextSibling);if(zo(v),v.tag===13){if(v=v.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(c(317));e:{for(v=v.nextSibling,T=0;v;){if(v.nodeType===8){var z=v.data;if(z==="/$"){if(T===0){Nu=pi(v.nextSibling);break e}T--}else z!=="$"&&z!=="$!"&&z!=="$?"||T++}v=v.nextSibling}Nu=null}}else Nu=fu?pi(v.stateNode.nextSibling):null;return!0}function Cc(){Nu=fu=null,$u=!1}var El=[];function Zc(){for(var v=0;v<El.length;v++)El[v]._workInProgressVersionPrimary=null;El.length=0}var zl=j.ReactCurrentDispatcher,mu=j.ReactCurrentBatchConfig,Pu=0,Fs=null,to=null,No=null,oc=!1,wl=!1;function ro(){throw Error(c(321))}function uc(v,T){if(T===null)return!1;for(var z=0;z<T.length&&z<v.length;z++)if(!Hn(v[z],T[z]))return!1;return!0}function lc(v,T,z,ge,Le,st){if(Pu=st,Fs=T,T.memoizedState=null,T.updateQueue=null,T.lanes=0,zl.current=v===null||v.memoizedState===null?ao:Wl,v=z(ge,Le),wl){st=0;do{if(wl=!1,!(25>st))throw Error(c(301));st+=1,No=to=null,T.updateQueue=null,zl.current=Dc,v=z(ge,Le)}while(wl)}if(zl.current=Hl,T=to!==null&&to.next!==null,Pu=0,No=to=Fs=null,oc=!1,T)throw Error(c(300));return v}function nu(){var v={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return No===null?Fs.memoizedState=No=v:No=No.next=v,No}function Sl(){if(to===null){var v=Fs.alternate;v=v!==null?v.memoizedState:null}else v=to.next;var T=No===null?Fs.memoizedState:No.next;if(T!==null)No=T,to=v;else{if(v===null)throw Error(c(310));to=v,v={memoizedState:to.memoizedState,baseState:to.baseState,baseQueue:to.baseQueue,queue:to.queue,next:null},No===null?Fs.memoizedState=No=v:No=No.next=v}return No}function vu(v,T){return typeof T=="function"?T(v):T}function cc(v){var T=Sl(),z=T.queue;if(z===null)throw Error(c(311));z.lastRenderedReducer=v;var ge=to,Le=ge.baseQueue,st=z.pending;if(st!==null){if(Le!==null){var w=Le.next;Le.next=st.next,st.next=w}ge.baseQueue=Le=st,z.pending=null}if(Le!==null){Le=Le.next,ge=ge.baseState;var t=w=st=null,n=Le;do{var s=n.lane;if((Pu&s)===s)t!==null&&(t=t.next={lane:0,action:n.action,eagerReducer:n.eagerReducer,eagerState:n.eagerState,next:null}),ge=n.eagerReducer===v?n.eagerState:v(ge,n.action);else{var m={lane:s,action:n.action,eagerReducer:n.eagerReducer,eagerState:n.eagerState,next:null};t===null?(w=t=m,st=ge):t=t.next=m,Fs.lanes|=s,fo|=s}n=n.next}while(n!==null&&n!==Le);t===null?st=ge:t.next=w,Hn(ge,T.memoizedState)||(Du=!0),T.memoizedState=ge,T.baseState=st,T.baseQueue=t,z.lastRenderedState=ge}return[T.memoizedState,z.dispatch]}function rl(v){var T=Sl(),z=T.queue;if(z===null)throw Error(c(311));z.lastRenderedReducer=v;var ge=z.dispatch,Le=z.pending,st=T.memoizedState;if(Le!==null){z.pending=null;var w=Le=Le.next;do st=v(st,w.action),w=w.next;while(w!==Le);Hn(st,T.memoizedState)||(Du=!0),T.memoizedState=st,T.baseQueue===null&&(T.baseState=st),z.lastRenderedState=st}return[st,ge]}function Ia(v,T,z){var ge=T._getVersion;ge=ge(T._source);var Le=T._workInProgressVersionPrimary;if(Le!==null?v=Le===ge:(v=v.mutableReadLanes,(v=(Pu&v)===v)&&(T._workInProgressVersionPrimary=ge,El.push(T))),v)return z(T._source);throw El.push(T),Error(c(350))}function Hc(v,T,z,ge){var Le=rn;if(Le===null)throw Error(c(349));var st=T._getVersion,w=st(T._source),t=zl.current,n=t.useState(function(){return Ia(Le,T,z)}),s=n[1],m=n[0];n=No;var E=v.memoizedState,C=E.refs,U=C.getSnapshot,G=E.source;E=E.subscribe;var H=Fs;return v.memoizedState={refs:C,source:T,subscribe:ge},t.useEffect(function(){C.getSnapshot=z,C.setSnapshot=s;var se=st(T._source);if(!Hn(w,se)){se=z(T._source),Hn(m,se)||(s(se),se=Hu(H),Le.mutableReadLanes|=se&Le.pendingLanes),se=Le.mutableReadLanes,Le.entangledLanes|=se;for(var ue=Le.entanglements,ve=se;0<ve;){var Ae=31-fi(ve),we=1<<Ae;ue[Ae]|=se,ve&=~we}}},[z,T,ge]),t.useEffect(function(){return ge(T._source,function(){var se=C.getSnapshot,ue=C.setSnapshot;try{ue(se(T._source));var ve=Hu(H);Le.mutableReadLanes|=ve&Le.pendingLanes}catch(Ae){ue(function(){throw Ae})}})},[T,ge]),Hn(U,z)&&Hn(G,T)&&Hn(E,ge)||(v={pending:null,dispatch:null,lastRenderedReducer:vu,lastRenderedState:m},v.dispatch=s=Vc.bind(null,Fs,v),n.queue=v,n.baseQueue=null,m=Ia(Le,T,z),n.memoizedState=n.baseState=m),m}function Wc(v,T,z){var ge=Sl();return Hc(ge,v,T,z)}function ju(v){var T=nu();return typeof v=="function"&&(v=v()),T.memoizedState=T.baseState=v,v=T.queue={pending:null,dispatch:null,lastRenderedReducer:vu,lastRenderedState:v},v=v.dispatch=Vc.bind(null,Fs,v),[T.memoizedState,v]}function Tc(v,T,z,ge){return v={tag:v,create:T,destroy:z,deps:ge,next:null},T=Fs.updateQueue,T===null?(T={lastEffect:null},Fs.updateQueue=T,T.lastEffect=v.next=v):(z=T.lastEffect,z===null?T.lastEffect=v.next=v:(ge=z.next,z.next=v,v.next=ge,T.lastEffect=v)),v}function sf(v){var T=nu();return v={current:v},T.memoizedState=v}function fc(){return Sl().memoizedState}function iu(v,T,z,ge){var Le=nu();Fs.flags|=v,Le.memoizedState=Tc(1|T,z,void 0,ge===void 0?null:ge)}function Gc(v,T,z,ge){var Le=Sl();ge=ge===void 0?null:ge;var st=void 0;if(to!==null){var w=to.memoizedState;if(st=w.destroy,ge!==null&&uc(ge,w.deps)){Tc(T,z,st,ge);return}}Fs.flags|=v,Le.memoizedState=Tc(1|T,z,st,ge)}function dc(v,T){return iu(516,4,v,T)}function Al(v,T){return Gc(516,4,v,T)}function hc(v,T){return Gc(4,2,v,T)}function Pc(v,T){if(typeof T=="function")return v=v(),T(v),function(){T(null)};if(T!=null)return v=v(),T.current=v,function(){T.current=null}}function Zo(v,T,z){return z=z!=null?z.concat([v]):null,Gc(4,2,Pc.bind(null,T,v),z)}function gu(){}function Zl(v,T){var z=Sl();T=T===void 0?null:T;var ge=z.memoizedState;return ge!==null&&T!==null&&uc(T,ge[1])?ge[0]:(z.memoizedState=[v,T],v)}function Uu(v,T){var z=Sl();T=T===void 0?null:T;var ge=z.memoizedState;return ge!==null&&T!==null&&uc(T,ge[1])?ge[0]:(v=v(),z.memoizedState=[v,T],v)}function Ic(v,T){var z=$t();Ar(98>z?98:z,function(){v(!0)}),Ar(97<z?97:z,function(){var ge=mu.transition;mu.transition=1;try{v(!1),T()}finally{mu.transition=ge}})}function Vc(v,T,z){var ge=ou(),Le=Hu(v),st={lane:Le,action:z,eagerReducer:null,eagerState:null,next:null},w=T.pending;if(w===null?st.next=st:(st.next=w.next,w.next=st),T.pending=st,w=v.alternate,v===Fs||w!==null&&w===Fs)wl=oc=!0;else{if(v.lanes===0&&(w===null||w.lanes===0)&&(w=T.lastRenderedReducer,w!==null))try{var t=T.lastRenderedState,n=w(t,z);if(st.eagerReducer=w,st.eagerState=n,Hn(n,t))return}catch(s){}finally{}Ol(v,Le,ge)}}var Hl={readContext:wa,useCallback:ro,useContext:ro,useEffect:ro,useImperativeHandle:ro,useLayoutEffect:ro,useMemo:ro,useReducer:ro,useRef:ro,useState:ro,useDebugValue:ro,useDeferredValue:ro,useTransition:ro,useMutableSource:ro,useOpaqueIdentifier:ro,unstable_isNewReconciler:!1},ao={readContext:wa,useCallback:function(v,T){return nu().memoizedState=[v,T===void 0?null:T],v},useContext:wa,useEffect:dc,useImperativeHandle:function(v,T,z){return z=z!=null?z.concat([v]):null,iu(4,2,Pc.bind(null,T,v),z)},useLayoutEffect:function(v,T){return iu(4,2,v,T)},useMemo:function(v,T){var z=nu();return T=T===void 0?null:T,v=v(),z.memoizedState=[v,T],v},useReducer:function(v,T,z){var ge=nu();return T=z!==void 0?z(T):T,ge.memoizedState=ge.baseState=T,v=ge.queue={pending:null,dispatch:null,lastRenderedReducer:v,lastRenderedState:T},v=v.dispatch=Vc.bind(null,Fs,v),[ge.memoizedState,v]},useRef:sf,useState:ju,useDebugValue:gu,useDeferredValue:function(v){var T=ju(v),z=T[0],ge=T[1];return dc(function(){var Le=mu.transition;mu.transition=1;try{ge(v)}finally{mu.transition=Le}},[v]),z},useTransition:function(){var v=ju(!1),T=v[0];return v=Ic.bind(null,v[1]),sf(v),[v,T]},useMutableSource:function(v,T,z){var ge=nu();return ge.memoizedState={refs:{getSnapshot:T,setSnapshot:null},source:v,subscribe:z},Hc(ge,v,T,z)},useOpaqueIdentifier:function(){if($u){var v=!1,T=_s(function(){throw v||(v=!0,z("r:"+(Ys++).toString(36))),Error(c(355))}),z=ju(T)[1];return!(Fs.mode&2)&&(Fs.flags|=516,Tc(5,function(){z("r:"+(Ys++).toString(36))},void 0,null)),T}return T="r:"+(Ys++).toString(36),ju(T),T},unstable_isNewReconciler:!1},Wl={readContext:wa,useCallback:Zl,useContext:wa,useEffect:Al,useImperativeHandle:Zo,useLayoutEffect:hc,useMemo:Uu,useReducer:cc,useRef:fc,useState:function(){return cc(vu)},useDebugValue:gu,useDeferredValue:function(v){var T=cc(vu),z=T[0],ge=T[1];return Al(function(){var Le=mu.transition;mu.transition=1;try{ge(v)}finally{mu.transition=Le}},[v]),z},useTransition:function(){var v=cc(vu)[0];return[fc().current,v]},useMutableSource:Wc,useOpaqueIdentifier:function(){return cc(vu)[0]},unstable_isNewReconciler:!1},Dc={readContext:wa,useCallback:Zl,useContext:wa,useEffect:Al,useImperativeHandle:Zo,useLayoutEffect:hc,useMemo:Uu,useReducer:rl,useRef:fc,useState:function(){return rl(vu)},useDebugValue:gu,useDeferredValue:function(v){var T=rl(vu),z=T[0],ge=T[1];return Al(function(){var Le=mu.transition;mu.transition=1;try{ge(v)}finally{mu.transition=Le}},[v]),z},useTransition:function(){var v=rl(vu)[0];return[fc().current,v]},useMutableSource:Wc,useOpaqueIdentifier:function(){return rl(vu)[0]},unstable_isNewReconciler:!1},Iu=j.ReactCurrentOwner,Du=!1;function so(v,T,z,ge){T.child=v===null?bl(T,null,z,ge):Uo(T,v.child,z,ge)}function Yu(v,T,z,ge,Le){z=z.render;var st=T.ref;return es(T,Le),ge=lc(v,T,z,ge,st,Le),v!==null&&!Du?(T.updateQueue=v.updateQueue,T.flags&=-517,v.lanes&=~Le,Wo(v,T,Le)):(T.flags|=1,so(v,T,ge,Le),T.child)}function of(v,T,z,ge,Le,st){if(v===null){var w=z.type;return typeof w=="function"&&!Jc(w)&&w.defaultProps===void 0&&z.compare===null&&z.defaultProps===void 0?(T.tag=15,T.type=w,Oc(v,T,w,ge,Le,st)):(v=_l(z.type,null,ge,T,T.mode,st),v.ref=T.ref,v.return=T,T.child=v)}return w=v.child,!(Le&st)&&(Le=w.memoizedProps,z=z.compare,z=z!==null?z:zi,z(Le,ge)&&v.ref===T.ref)?Wo(v,T,st):(T.flags|=1,v=Ju(w,ge),v.ref=T.ref,v.return=T,T.child=v)}function Oc(v,T,z,ge,Le,st){if(v!==null&&zi(v.memoizedProps,ge)&&v.ref===T.ref)if(Du=!1,(st&Le)!==0)v.flags&16384&&(Du=!0);else return T.lanes=v.lanes,Wo(v,T,st);return So(v,T,z,ge,st)}function Kc(v,T,z){var ge=T.pendingProps,Le=ge.children,st=v!==null?v.memoizedState:null;if(ge.mode==="hidden"||ge.mode==="unstable-defer-without-hiding")if(!(T.mode&4))T.memoizedState={baseLanes:0},ji(T,z);else if(z&1073741824)T.memoizedState={baseLanes:0},ji(T,st!==null?st.baseLanes:z);else return v=st!==null?st.baseLanes|z:z,T.lanes=T.childLanes=1073741824,T.memoizedState={baseLanes:v},ji(T,v),null;else st!==null?(ge=st.baseLanes|z,T.memoizedState=null):ge=z,ji(T,ge);return so(v,T,Le,z),T.child}function nl(v,T){var z=T.ref;(v===null&&z!==null||v!==null&&v.ref!==z)&&(T.flags|=128)}function So(v,T,z,ge,Le){var st=Qr(z)?Ce:Hi.current;return st=wr(T,st),es(T,Le),z=lc(v,T,z,ge,st,Le),v!==null&&!Du?(T.updateQueue=v.updateQueue,T.flags&=-517,v.lanes&=~Le,Wo(v,T,Le)):(T.flags|=1,so(v,T,z,Le),T.child)}function Cl(v,T,z,ge,Le){if(Qr(z)){var st=!0;ei(T)}else st=!1;if(es(T,Le),T.stateNode===null)v!==null&&(v.alternate=null,T.alternate=null,T.flags|=2),ru(T,z,ge),Bu(T,z,ge,Le),ge=!0;else if(v===null){var w=T.stateNode,t=T.memoizedProps;w.props=t;var n=w.context,s=z.contextType;typeof s=="object"&&s!==null?s=wa(s):(s=Qr(z)?Ce:Hi.current,s=wr(T,s));var m=z.getDerivedStateFromProps,E=typeof m=="function"||typeof w.getSnapshotBeforeUpdate=="function";E||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(t!==ge||n!==s)&&ks(T,w,ge,s),fs=!1;var C=T.memoizedState;w.state=C,Ps(T,ge,w,Le),n=T.memoizedState,t!==ge||C!==n||be.current||fs?(typeof m=="function"&&(Bl(T,z,m,ge),n=T.memoizedState),(t=fs||Bo(T,z,t,ge,C,n,s))?(E||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(T.flags|=4)):(typeof w.componentDidMount=="function"&&(T.flags|=4),T.memoizedProps=ge,T.memoizedState=n),w.props=ge,w.state=n,w.context=s,ge=t):(typeof w.componentDidMount=="function"&&(T.flags|=4),ge=!1)}else{w=T.stateNode,_i(v,T),t=T.memoizedProps,s=T.type===T.elementType?t:lr(T.type,t),w.props=s,E=T.pendingProps,C=w.context,n=z.contextType,typeof n=="object"&&n!==null?n=wa(n):(n=Qr(z)?Ce:Hi.current,n=wr(T,n));var U=z.getDerivedStateFromProps;(m=typeof U=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(t!==E||C!==n)&&ks(T,w,ge,n),fs=!1,C=T.memoizedState,w.state=C,Ps(T,ge,w,Le);var G=T.memoizedState;t!==E||C!==G||be.current||fs?(typeof U=="function"&&(Bl(T,z,U,ge),G=T.memoizedState),(s=fs||Bo(T,z,s,ge,C,G,n))?(m||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(ge,G,n),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(ge,G,n)),typeof w.componentDidUpdate=="function"&&(T.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(T.flags|=256)):(typeof w.componentDidUpdate!="function"||t===v.memoizedProps&&C===v.memoizedState||(T.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||t===v.memoizedProps&&C===v.memoizedState||(T.flags|=256),T.memoizedProps=ge,T.memoizedState=G),w.props=ge,w.state=G,w.context=n,ge=s):(typeof w.componentDidUpdate!="function"||t===v.memoizedProps&&C===v.memoizedState||(T.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||t===v.memoizedProps&&C===v.memoizedState||(T.flags|=256),ge=!1)}return ze(v,T,z,ge,st,Le)}function ze(v,T,z,ge,Le,st){nl(v,T);var w=(T.flags&64)!==0;if(!ge&&!w)return Le&&Oi(T,z,!1),Wo(v,T,st);ge=T.stateNode,Iu.current=T;var t=w&&typeof z.getDerivedStateFromError!="function"?null:ge.render();return T.flags|=1,v!==null&&w?(T.child=Uo(T,v.child,null,st),T.child=Uo(T,null,t,st)):so(v,T,t,st),T.memoizedState=ge.state,Le&&Oi(T,z,!0),T.child}function yu(v){var T=v.stateNode;T.pendingContext?Yr(v,T.pendingContext,T.pendingContext!==T.context):T.context&&Yr(v,T.context,!1),Nl(v,T.containerInfo)}var Jo={dehydrated:null,retryLane:0};function Tl(v,T,z){var ge=T.pendingProps,Le=eo.current,st=!1,w;return(w=(T.flags&64)!==0)||(w=v!==null&&v.memoizedState===null?!1:(Le&2)!==0),w?(st=!0,T.flags&=-65):v!==null&&v.memoizedState===null||ge.fallback===void 0||ge.unstable_avoidThisFallback===!0||(Le|=1),ja(eo,Le&1),v===null?(ge.fallback!==void 0&&mo(T),v=ge.children,Le=ge.fallback,st?(v=Ro(T,v,Le,z),T.child.memoizedState={baseLanes:z},T.memoizedState=Jo,v):typeof ge.unstable_expectedLoadTime=="number"?(v=Ro(T,v,Le,z),T.child.memoizedState={baseLanes:z},T.memoizedState=Jo,T.lanes=33554432,v):(z=ff({mode:"visible",children:v},T.mode,z,null),z.return=T,T.child=z)):v.memoizedState!==null?st?(ge=Ho(v,T,ge.children,ge.fallback,z),st=T.child,Le=v.child.memoizedState,st.memoizedState=Le===null?{baseLanes:z}:{baseLanes:Le.baseLanes|z},st.childLanes=v.childLanes&~z,T.memoizedState=Jo,ge):(z=$o(v,T,ge.children,z),T.memoizedState=null,z):st?(ge=Ho(v,T,ge.children,ge.fallback,z),st=T.child,Le=v.child.memoizedState,st.memoizedState=Le===null?{baseLanes:z}:{baseLanes:Le.baseLanes|z},st.childLanes=v.childLanes&~z,T.memoizedState=Jo,ge):(z=$o(v,T,ge.children,z),T.memoizedState=null,z)}function Ro(v,T,z,ge){var Le=v.mode,st=v.child;return T={mode:"hidden",children:T},!(Le&2)&&st!==null?(st.childLanes=0,st.pendingProps=T):st=ff(T,Le,0,null),z=Vo(z,Le,ge,null),st.return=v,z.return=v,st.sibling=z,v.child=st,z}function $o(v,T,z,ge){var Le=v.child;return v=Le.sibling,z=Ju(Le,{mode:"visible",children:z}),!(T.mode&2)&&(z.lanes=ge),z.return=T,z.sibling=null,v!==null&&(v.nextEffect=null,v.flags=8,T.firstEffect=T.lastEffect=v),T.child=z}function Ho(v,T,z,ge,Le){var st=T.mode,w=v.child;v=w.sibling;var t={mode:"hidden",children:z};return!(st&2)&&T.child!==w?(z=T.child,z.childLanes=0,z.pendingProps=t,w=z.lastEffect,w!==null?(T.firstEffect=z.firstEffect,T.lastEffect=w,w.nextEffect=null):T.firstEffect=T.lastEffect=null):z=Ju(w,t),v!==null?ge=Ju(v,ge):(ge=Vo(ge,st,Le,null),ge.flags|=2),ge.return=T,z.return=T,z.sibling=ge,T.child=z,ge}function Gl(v,T){v.lanes|=T;var z=v.alternate;z!==null&&(z.lanes|=T),bs(v.return,T)}function Xu(v,T,z,ge,Le,st){var w=v.memoizedState;w===null?v.memoizedState={isBackwards:T,rendering:null,renderingStartTime:0,last:ge,tail:z,tailMode:Le,lastEffect:st}:(w.isBackwards=T,w.rendering=null,w.renderingStartTime=0,w.last=ge,w.tail=z,w.tailMode=Le,w.lastEffect=st)}function zu(v,T,z){var ge=T.pendingProps,Le=ge.revealOrder,st=ge.tail;if(so(v,T,ge.children,z),ge=eo.current,ge&2)ge=ge&1|2,T.flags|=64;else{if(v!==null&&v.flags&64)e:for(v=T.child;v!==null;){if(v.tag===13)v.memoizedState!==null&&Gl(v,z);else if(v.tag===19)Gl(v,z);else if(v.child!==null){v.child.return=v,v=v.child;continue}if(v===T)break e;for(;v.sibling===null;){if(v.return===null||v.return===T)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}ge&=1}if(ja(eo,ge),!(T.mode&2))T.memoizedState=null;else switch(Le){case"forwards":for(z=T.child,Le=null;z!==null;)v=z.alternate,v!==null&&Ac(v)===null&&(Le=z),z=z.sibling;z=Le,z===null?(Le=T.child,T.child=null):(Le=z.sibling,z.sibling=null),Xu(T,!1,Le,z,st,T.lastEffect);break;case"backwards":for(z=null,Le=T.child,T.child=null;Le!==null;){if(v=Le.alternate,v!==null&&Ac(v)===null){T.child=Le;break}v=Le.sibling,Le.sibling=z,z=Le,Le=v}Xu(T,!0,z,null,st,T.lastEffect);break;case"together":Xu(T,!1,null,null,void 0,T.lastEffect);break;default:T.memoizedState=null}return T.child}function Wo(v,T,z){if(v!==null&&(T.dependencies=v.dependencies),fo|=T.lanes,z&T.childLanes){if(v!==null&&T.child!==v.child)throw Error(c(153));if(T.child!==null){for(v=T.child,z=Ju(v,v.pendingProps),T.child=z,z.return=T;v.sibling!==null;)v=v.sibling,z=z.sibling=Ju(v,v.pendingProps),z.return=T;z.sibling=null}return T.child}return null}var Vl,Kl,au,bu;Vl=function(v,T){for(var z=T.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===T)break;for(;z.sibling===null;){if(z.return===null||z.return===T)return;z=z.return}z.sibling.return=z.return,z=z.sibling}},Kl=function(){},au=function(v,T,z,ge){var Le=v.memoizedProps;if(Le!==ge){v=T.stateNode,qo(Qo.current);var st=null;switch(z){case"input":Le=ht(v,Le),ge=ht(v,ge),st=[];break;case"option":Le=He(v,Le),ge=He(v,ge),st=[];break;case"select":Le=i({},Le,{value:void 0}),ge=i({},ge,{value:void 0}),st=[];break;case"textarea":Le=ct(v,Le),ge=ct(v,ge),st=[];break;default:typeof Le.onClick!="function"&&typeof ge.onClick=="function"&&(v.onclick=ti)}De(z,ge);var w;z=null;for(s in Le)if(!ge.hasOwnProperty(s)&&Le.hasOwnProperty(s)&&Le[s]!=null)if(s==="style"){var t=Le[s];for(w in t)t.hasOwnProperty(w)&&(z||(z={}),z[w]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(o.hasOwnProperty(s)?st||(st=[]):(st=st||[]).push(s,null));for(s in ge){var n=ge[s];if(t=Le!=null?Le[s]:void 0,ge.hasOwnProperty(s)&&n!==t&&(n!=null||t!=null))if(s==="style")if(t){for(w in t)!t.hasOwnProperty(w)||n&&n.hasOwnProperty(w)||(z||(z={}),z[w]="");for(w in n)n.hasOwnProperty(w)&&t[w]!==n[w]&&(z||(z={}),z[w]=n[w])}else z||(st||(st=[]),st.push(s,z)),z=n;else s==="dangerouslySetInnerHTML"?(n=n?n.__html:void 0,t=t?t.__html:void 0,n!=null&&t!==n&&(st=st||[]).push(s,n)):s==="children"?typeof n!="string"&&typeof n!="number"||(st=st||[]).push(s,""+n):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(o.hasOwnProperty(s)?(n!=null&&s==="onScroll"&&Qe("scroll",v),st||t===n||(st=[])):typeof n=="object"&&n!==null&&n.$$typeof===F?n.toString():(st=st||[]).push(s,n))}z&&(st=st||[]).push("style",z);var s=st;(T.updateQueue=s)&&(T.flags|=4)}},bu=function(v,T,z,ge){z!==ge&&(T.flags|=4)};function xu(v,T){if(!$u)switch(v.tailMode){case"hidden":T=v.tail;for(var z=null;T!==null;)T.alternate!==null&&(z=T),T=T.sibling;z===null?v.tail=null:z.sibling=null;break;case"collapsed":z=v.tail;for(var ge=null;z!==null;)z.alternate!==null&&(ge=z),z=z.sibling;ge===null?T||v.tail===null?v.tail=null:v.tail.sibling=null:ge.sibling=null}}function pc(v,T,z){var ge=T.pendingProps;switch(T.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 Qr(T.type)&&gr(),null;case 3:return $l(),na(be),na(Hi),Zc(),ge=T.stateNode,ge.pendingContext&&(ge.context=ge.pendingContext,ge.pendingContext=null),(v===null||v.child===null)&&(af(T)?T.flags|=4:ge.hydrate||(T.flags|=256)),Kl(T),null;case 5:sc(T);var Le=qo(xl.current);if(z=T.type,v!==null&&T.stateNode!=null)au(v,T,z,ge,Le),v.ref!==T.ref&&(T.flags|=128);else{if(!ge){if(T.stateNode===null)throw Error(c(166));return null}if(v=qo(Qo.current),af(T)){ge=T.stateNode,z=T.type;var st=T.memoizedProps;switch(ge[Oa]=T,ge[qi]=st,z){case"dialog":Qe("cancel",ge),Qe("close",ge);break;case"iframe":case"object":case"embed":Qe("load",ge);break;case"video":case"audio":for(v=0;v<Ln.length;v++)Qe(Ln[v],ge);break;case"source":Qe("error",ge);break;case"img":case"image":case"link":Qe("error",ge),Qe("load",ge);break;case"details":Qe("toggle",ge);break;case"input":et(ge,st),Qe("invalid",ge);break;case"select":ge._wrapperState={wasMultiple:!!st.multiple},Qe("invalid",ge);break;case"textarea":Gt(ge,st),Qe("invalid",ge)}De(z,st),v=null;for(var w in st)st.hasOwnProperty(w)&&(Le=st[w],w==="children"?typeof Le=="string"?ge.textContent!==Le&&(v=["children",Le]):typeof Le=="number"&&ge.textContent!==""+Le&&(v=["children",""+Le]):o.hasOwnProperty(w)&&Le!=null&&w==="onScroll"&&Qe("scroll",ge));switch(z){case"input":Ut(ge),Pe(ge,st,!0);break;case"textarea":Ut(ge),Oe(ge);break;case"select":case"option":break;default:typeof st.onClick=="function"&&(ge.onclick=ti)}ge=v,T.updateQueue=ge,ge!==null&&(T.flags|=4)}else{switch(w=Le.nodeType===9?Le:Le.ownerDocument,v===Je.html&&(v=Wt(z)),v===Je.html?z==="script"?(v=w.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild)):typeof ge.is=="string"?v=w.createElement(z,{is:ge.is}):(v=w.createElement(z),z==="select"&&(w=v,ge.multiple?w.multiple=!0:ge.size&&(w.size=ge.size))):v=w.createElementNS(v,z),v[Oa]=T,v[qi]=ge,Vl(v,T,!1,!1),T.stateNode=v,w=dt(z,ge),z){case"dialog":Qe("cancel",v),Qe("close",v),Le=ge;break;case"iframe":case"object":case"embed":Qe("load",v),Le=ge;break;case"video":case"audio":for(Le=0;Le<Ln.length;Le++)Qe(Ln[Le],v);Le=ge;break;case"source":Qe("error",v),Le=ge;break;case"img":case"image":case"link":Qe("error",v),Qe("load",v),Le=ge;break;case"details":Qe("toggle",v),Le=ge;break;case"input":et(v,ge),Le=ht(v,ge),Qe("invalid",v);break;case"option":Le=He(v,ge);break;case"select":v._wrapperState={wasMultiple:!!ge.multiple},Le=i({},ge,{value:void 0}),Qe("invalid",v);break;case"textarea":Gt(v,ge),Le=ct(v,ge),Qe("invalid",v);break;default:Le=ge}De(z,Le);var t=Le;for(st in t)if(t.hasOwnProperty(st)){var n=t[st];st==="style"?_e(v,n):st==="dangerouslySetInnerHTML"?(n=n?n.__html:void 0,n!=null&&Bt(v,n)):st==="children"?typeof n=="string"?(z!=="textarea"||n!=="")&&At(v,n):typeof n=="number"&&At(v,""+n):st!=="suppressContentEditableWarning"&&st!=="suppressHydrationWarning"&&st!=="autoFocus"&&(o.hasOwnProperty(st)?n!=null&&st==="onScroll"&&Qe("scroll",v):n!=null&&$(v,st,n,w))}switch(z){case"input":Ut(v),Pe(v,ge,!1);break;case"textarea":Ut(v),Oe(v);break;case"option":ge.value!=null&&v.setAttribute("value",""+qt(ge.value));break;case"select":v.multiple=!!ge.multiple,st=ge.value,st!=null?nt(v,!!ge.multiple,st,!1):ge.defaultValue!=null&&nt(v,!!ge.multiple,ge.defaultValue,!0);break;default:typeof Le.onClick=="function"&&(v.onclick=ti)}Ni(z,ge)&&(T.flags|=4)}T.ref!==null&&(T.flags|=128)}return null;case 6:if(v&&T.stateNode!=null)bu(v,T,v.memoizedProps,ge);else{if(typeof ge!="string"&&T.stateNode===null)throw Error(c(166));z=qo(xl.current),qo(Qo.current),af(T)?(ge=T.stateNode,z=T.memoizedProps,ge[Oa]=T,ge.nodeValue!==z&&(T.flags|=4)):(ge=(z.nodeType===9?z:z.ownerDocument).createTextNode(ge),ge[Oa]=T,T.stateNode=ge)}return null;case 13:return na(eo),ge=T.memoizedState,T.flags&64?(T.lanes=z,T):(ge=ge!==null,z=!1,v===null?T.memoizedProps.fallback!==void 0&&af(T):z=v.memoizedState!==null,ge&&!z&&T.mode&2&&(v===null&&T.memoizedProps.unstable_avoidThisFallback!==!0||eo.current&1?ma===0&&(ma=3):((ma===0||ma===3)&&(ma=4),rn===null||!(fo&134217727)&&!(os&134217727)||dl(rn,cn))),(ge||z)&&(T.flags|=4),null);case 4:return $l(),Kl(T),v===null&&Vt(T.stateNode.containerInfo),null;case 10:return ss(T),null;case 17:return Qr(T.type)&&gr(),null;case 19:if(na(eo),ge=T.memoizedState,ge===null)return null;if(st=(T.flags&64)!==0,w=ge.rendering,w===null)if(st)xu(ge,!1);else{if(ma!==0||v!==null&&v.flags&64)for(v=T.child;v!==null;){if(w=Ac(v),w!==null){for(T.flags|=64,xu(ge,!1),st=w.updateQueue,st!==null&&(T.updateQueue=st,T.flags|=4),ge.lastEffect===null&&(T.firstEffect=null),T.lastEffect=ge.lastEffect,ge=z,z=T.child;z!==null;)st=z,v=ge,st.flags&=2,st.nextEffect=null,st.firstEffect=null,st.lastEffect=null,w=st.alternate,w===null?(st.childLanes=0,st.lanes=v,st.child=null,st.memoizedProps=null,st.memoizedState=null,st.updateQueue=null,st.dependencies=null,st.stateNode=null):(st.childLanes=w.childLanes,st.lanes=w.lanes,st.child=w.child,st.memoizedProps=w.memoizedProps,st.memoizedState=w.memoizedState,st.updateQueue=w.updateQueue,st.type=w.type,v=w.dependencies,st.dependencies=v===null?null:{lanes:v.lanes,firstContext:v.firstContext}),z=z.sibling;return ja(eo,eo.current&1|2),T.child}v=v.sibling}ge.tail!==null&&Tt()>Rc&&(T.flags|=64,st=!0,xu(ge,!1),T.lanes=33554432)}else{if(!st)if(v=Ac(w),v!==null){if(T.flags|=64,st=!0,z=v.updateQueue,z!==null&&(T.updateQueue=z,T.flags|=4),xu(ge,!0),ge.tail===null&&ge.tailMode==="hidden"&&!w.alternate&&!$u)return T=T.lastEffect=ge.lastEffect,T!==null&&(T.nextEffect=null),null}else 2*Tt()-ge.renderingStartTime>Rc&&z!==1073741824&&(T.flags|=64,st=!0,xu(ge,!1),T.lanes=33554432);ge.isBackwards?(w.sibling=T.child,T.child=w):(z=ge.last,z!==null?z.sibling=w:T.child=w,ge.last=w)}return ge.tail!==null?(z=ge.tail,ge.rendering=z,ge.tail=z.sibling,ge.lastEffect=T.lastEffect,ge.renderingStartTime=Tt(),z.sibling=null,T=eo.current,ja(eo,st?T&1|2:T&1),z):null;case 23:case 24:return ca(),v!==null&&v.memoizedState!==null!=(T.memoizedState!==null)&&ge.mode!=="unstable-defer-without-hiding"&&(T.flags|=4),null}throw Error(c(156,T.tag))}function il(v){switch(v.tag){case 1:Qr(v.type)&&gr();var T=v.flags;return T&4096?(v.flags=T&-4097|64,v):null;case 3:if($l(),na(be),na(Hi),Zc(),T=v.flags,T&64)throw Error(c(285));return v.flags=T&-4097|64,v;case 5:return sc(v),null;case 13:return na(eo),T=v.flags,T&4096?(v.flags=T&-4097|64,v):null;case 19:return na(eo),null;case 4:return $l(),null;case 10:return ss(v),null;case 23:case 24:return ca(),null;default:return null}}function vo(v,T){try{var z="",ge=T;do z+=Qt(ge),ge=ge.return;while(ge);var Le=z}catch(st){Le=`
|
|
|
Error generating stack: `+st.message+`
|
|
|
`+st.stack}return{value:v,source:T,stack:Le}}function al(v,T){try{console.error(T.value)}catch(z){setTimeout(function(){throw z})}}var kc=typeof WeakMap=="function"?WeakMap:Map;function sl(v,T,z){z=Us(-1,z),z.tag=3,z.payload={element:null};var ge=T.value;return z.callback=function(){Jl||(Jl=!0,ec=ge),al(v,T)},z}function Pl(v,T,z){z=Us(-1,z),z.tag=3;var ge=v.type.getDerivedStateFromError;if(typeof ge=="function"){var Le=T.value;z.payload=function(){return al(v,T),ge(Le)}}var st=v.stateNode;return st!==null&&typeof st.componentDidCatch=="function"&&(z.callback=function(){typeof ge!="function"&&(Lo===null?Lo=new Set([this]):Lo.add(this),al(v,T));var w=T.stack;this.componentDidCatch(T.value,{componentStack:w!==null?w:""})}),z}var Yl=typeof WeakSet=="function"?WeakSet:Set;function ol(v){var T=v.ref;if(T!==null)if(typeof T=="function")try{T(null)}catch(z){qu(v,z)}else T.current=null}function uf(v,T){switch(T.tag){case 0:case 11:case 15:case 22:return;case 1:if(T.flags&256&&v!==null){var z=v.memoizedProps,ge=v.memoizedState;v=T.stateNode,T=v.getSnapshotBeforeUpdate(T.elementType===T.type?z:lr(T.type,z),ge),v.__reactInternalSnapshotBeforeUpdate=T}return;case 3:T.flags&256&&Pi(T.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(c(163))}function Xl(v,T,z){switch(z.tag){case 0:case 11:case 15:case 22:if(T=z.updateQueue,T=T!==null?T.lastEffect:null,T!==null){v=T=T.next;do{if((v.tag&3)===3){var ge=v.create;v.destroy=ge()}v=v.next}while(v!==T)}if(T=z.updateQueue,T=T!==null?T.lastEffect:null,T!==null){v=T=T.next;do{var Le=v;ge=Le.next,Le=Le.tag,Le&4&&Le&1&&(Mc(z,v),wf(z,v)),v=ge}while(v!==T)}return;case 1:v=z.stateNode,z.flags&4&&(T===null?v.componentDidMount():(ge=z.elementType===z.type?T.memoizedProps:lr(z.type,T.memoizedProps),v.componentDidUpdate(ge,T.memoizedState,v.__reactInternalSnapshotBeforeUpdate))),T=z.updateQueue,T!==null&&_o(z,T,v);return;case 3:if(T=z.updateQueue,T!==null){if(v=null,z.child!==null)switch(z.child.tag){case 5:v=z.child.stateNode;break;case 1:v=z.child.stateNode}_o(z,T,v)}return;case 5:v=z.stateNode,T===null&&z.flags&4&&Ni(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&&mt(z))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(c(163))}function Ql(v,T){for(var z=v;;){if(z.tag===5){var ge=z.stateNode;if(T)ge=ge.style,typeof ge.setProperty=="function"?ge.setProperty("display","none","important"):ge.display="none";else{ge=z.stateNode;var Le=z.memoizedProps.style;Le=Le!=null&&Le.hasOwnProperty("display")?Le.display:null,ge.style.display=fe("display",Le)}}else if(z.tag===6)z.stateNode.nodeValue=T?"":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 su(v,T){if(Tn&&typeof Tn.onCommitFiberUnmount=="function")try{Tn.onCommitFiberUnmount(In,T)}catch(st){}switch(T.tag){case 0:case 11:case 14:case 15:case 22:if(v=T.updateQueue,v!==null&&(v=v.lastEffect,v!==null)){var z=v=v.next;do{var ge=z,Le=ge.destroy;if(ge=ge.tag,Le!==void 0)if(ge&4)Mc(T,z);else{ge=T;try{Le()}catch(st){qu(ge,st)}}z=z.next}while(z!==v)}break;case 1:if(ol(T),v=T.stateNode,typeof v.componentWillUnmount=="function")try{v.props=T.memoizedProps,v.state=T.memoizedState,v.componentWillUnmount()}catch(st){qu(T,st)}break;case 5:ol(T);break;case 4:_c(v,T)}}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 Eu(v){return v.tag===5||v.tag===3||v.tag===4}function go(v){e:{for(var T=v.return;T!==null;){if(Eu(T))break e;T=T.return}throw Error(c(160))}var z=T;switch(T=z.stateNode,z.tag){case 5:var ge=!1;break;case 3:T=T.containerInfo,ge=!0;break;case 4:T=T.containerInfo,ge=!0;break;default:throw Error(c(161))}z.flags&16&&(At(T,""),z.flags&=-17);e:t:for(z=v;;){for(;z.sibling===null;){if(z.return===null||Eu(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}}ge?Il(v,z,T):ql(v,z,T)}function Il(v,T,z){var ge=v.tag,Le=ge===5||ge===6;if(Le)v=Le?v.stateNode:v.stateNode.instance,T?z.nodeType===8?z.parentNode.insertBefore(v,T):z.insertBefore(v,T):(z.nodeType===8?(T=z.parentNode,T.insertBefore(v,z)):(T=z,T.appendChild(v)),z=z._reactRootContainer,z!=null||T.onclick!==null||(T.onclick=ti));else if(ge!==4&&(v=v.child,v!==null))for(Il(v,T,z),v=v.sibling;v!==null;)Il(v,T,z),v=v.sibling}function ql(v,T,z){var ge=v.tag,Le=ge===5||ge===6;if(Le)v=Le?v.stateNode:v.stateNode.instance,T?z.insertBefore(v,T):z.appendChild(v);else if(ge!==4&&(v=v.child,v!==null))for(ql(v,T,z),v=v.sibling;v!==null;)ql(v,T,z),v=v.sibling}function _c(v,T){for(var z=T,ge=!1,Le,st;;){if(!ge){ge=z.return;e:for(;;){if(ge===null)throw Error(c(160));switch(Le=ge.stateNode,ge.tag){case 5:st=!1;break e;case 3:Le=Le.containerInfo,st=!0;break e;case 4:Le=Le.containerInfo,st=!0;break e}ge=ge.return}ge=!0}if(z.tag===5||z.tag===6){e:for(var w=v,t=z,n=t;;)if(su(w,n),n.child!==null&&n.tag!==4)n.child.return=n,n=n.child;else{if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}st?(w=Le,t=z.stateNode,w.nodeType===8?w.parentNode.removeChild(t):w.removeChild(t)):Le.removeChild(z.stateNode)}else if(z.tag===4){if(z.child!==null){Le=z.stateNode.containerInfo,st=!0,z.child.return=z,z=z.child;continue}}else if(su(v,z),z.child!==null){z.child.return=z,z=z.child;continue}if(z===T)break;for(;z.sibling===null;){if(z.return===null||z.return===T)return;z=z.return,z.tag===4&&(ge=!1)}z.sibling.return=z.return,z=z.sibling}}function mc(v,T){switch(T.tag){case 0:case 11:case 14:case 15:case 22:var z=T.updateQueue;if(z=z!==null?z.lastEffect:null,z!==null){var ge=z=z.next;do(ge.tag&3)===3&&(v=ge.destroy,ge.destroy=void 0,v!==void 0&&v()),ge=ge.next;while(ge!==z)}return;case 1:return;case 5:if(z=T.stateNode,z!=null){ge=T.memoizedProps;var Le=v!==null?v.memoizedProps:ge;v=T.type;var st=T.updateQueue;if(T.updateQueue=null,st!==null){for(z[qi]=ge,v==="input"&&ge.type==="radio"&&ge.name!=null&&Ue(z,ge),dt(v,Le),T=dt(v,ge),Le=0;Le<st.length;Le+=2){var w=st[Le],t=st[Le+1];w==="style"?_e(z,t):w==="dangerouslySetInnerHTML"?Bt(z,t):w==="children"?At(z,t):$(z,w,t,T)}switch(v){case"input":ye(z,ge);break;case"textarea":Ht(z,ge);break;case"select":v=z._wrapperState.wasMultiple,z._wrapperState.wasMultiple=!!ge.multiple,st=ge.value,st!=null?nt(z,!!ge.multiple,st,!1):v!==!!ge.multiple&&(ge.defaultValue!=null?nt(z,!!ge.multiple,ge.defaultValue,!0):nt(z,!!ge.multiple,ge.multiple?[]:"",!1))}}}return;case 6:if(T.stateNode===null)throw Error(c(162));T.stateNode.nodeValue=T.memoizedProps;return;case 3:z=T.stateNode,z.hydrate&&(z.hydrate=!1,mt(z.containerInfo));return;case 12:return;case 13:T.memoizedState!==null&&(ul=Tt(),Ql(T.child,!0)),Xc(T);return;case 19:Xc(T);return;case 17:return;case 23:case 24:Ql(T,T.memoizedState!==null);return}throw Error(c(163))}function Xc(v){var T=v.updateQueue;if(T!==null){v.updateQueue=null;var z=v.stateNode;z===null&&(z=v.stateNode=new Yl),T.forEach(function(ge){var Le=Ru.bind(null,v,ge);z.has(ge)||(z.add(ge),ge.then(Le,Le))})}}function I(v,T){return v!==null&&(v=v.memoizedState,v===null||v.dehydrated!==null)?(T=T.memoizedState,T!==null&&T.dehydrated===null):!1}var O=Math.ceil,k=j.ReactCurrentDispatcher,me=j.ReactCurrentOwner,Re=0,rn=null,Bn=null,cn=0,Di=0,Ua=js(0),ma=0,yo=null,ts=0,fo=0,os=0,vc=0,gc=null,ul=0,Rc=1/0;function ll(){Rc=Tt()+500}var Si=null,Jl=!1,ec=null,Lo=null,Zs=!1,za=null,Ou=90,Dl=[],tc=[],cl=null,fl=0,yc=null,Lc=-1,Zu=0,Qc=0,bc=null,xc=!1;function ou(){return Re&48?Tt():Lc!==-1?Lc:Lc=Tt()}function Hu(v){if(v=v.mode,!(v&2))return 1;if(!(v&4))return $t()===99?1:2;if(Zu===0&&(Zu=ts),Rn.transition!==0){Qc!==0&&(Qc=gc!==null?gc.pendingLanes:0),v=Zu;var T=4186112&~Qc;return T&=-T,T===0&&(v=4186112&~v,T=v&-v,T===0&&(T=8192)),T}return v=$t(),Re&4&&v===98?v=sn(12,Zu):(v=mn(v),v=sn(v,Zu)),v}function Ol(v,T,z){if(50<fl)throw fl=0,yc=null,Error(c(185));if(v=rc(v,T),v===null)return null;Ci(v,T,z),v===rn&&(os|=T,ma===4&&dl(v,cn));var ge=$t();T===1?Re&8&&!(Re&48)?An(v):(wu(v,z),Re===0&&(ll(),qr())):(!(Re&4)||ge!==98&&ge!==99||(cl===null?cl=new Set([v]):cl.add(v)),wu(v,z)),gc=v}function rc(v,T){v.lanes|=T;var z=v.alternate;for(z!==null&&(z.lanes|=T),z=v,v=v.return;v!==null;)v.childLanes|=T,z=v.alternate,z!==null&&(z.childLanes|=T),z=v,v=v.return;return z.tag===3?z.stateNode:null}function wu(v,T){for(var z=v.callbackNode,ge=v.suspendedLanes,Le=v.pingedLanes,st=v.expirationTimes,w=v.pendingLanes;0<w;){var t=31-fi(w),n=1<<t,s=st[t];if(s===-1){if(!(n&ge)||n&Le){s=T,Br(n);var m=Ir;st[t]=10<=m?s+250:6<=m?s+5e3:-1}}else s<=T&&(v.expiredLanes|=n);w&=~n}if(ge=un(v,v===rn?cn:0),T=Ir,ge===0)z!==null&&(z!==Z&&$i(z),v.callbackNode=null,v.callbackPriority=0);else{if(z!==null){if(v.callbackPriority===T)return;z!==Z&&$i(z)}T===15?(z=An.bind(null,v),te===null?(te=[z],pe=la(Ku,En)):te.push(z),z=Z):T===14?z=zr(99,An.bind(null,v)):(z=Er(T),z=zr(z,kl.bind(null,v))),v.callbackPriority=T,v.callbackNode=z}}function kl(v){if(Lc=-1,Qc=Zu=0,Re&48)throw Error(c(327));var T=v.callbackNode;if(pl()&&v.callbackNode!==T)return null;var z=un(v,v===rn?cn:0);if(z===0)return null;var ge=z,Le=Re;Re|=16;var st=Gi();(rn!==v||cn!==ge)&&(ll(),va(v,ge));do try{Wu();break}catch(t){Xa(v,t)}while(!0);if(Ja(),k.current=st,Re=Le,Bn!==null?ge=0:(rn=null,cn=0,ge=ma),ts&os)va(v,0);else if(ge!==0){if(ge===2&&(Re|=64,v.hydrate&&(v.hydrate=!1,Pi(v.containerInfo)),z=tn(v),z!==0&&(ge=us(v,z))),ge===1)throw T=yo,va(v,0),dl(v,z),wu(v,Tt()),T;switch(v.finishedWork=v.current.alternate,v.finishedLanes=z,ge){case 0:case 1:throw Error(c(345));case 2:hl(v);break;case 3:if(dl(v,z),(z&62914560)===z&&(ge=ul+500-Tt(),10<ge)){if(un(v,0)!==0)break;if(Le=v.suspendedLanes,(Le&z)!==z){ou(),v.pingedLanes|=v.suspendedLanes&Le;break}v.timeoutHandle=yi(hl.bind(null,v),ge);break}hl(v);break;case 4:if(dl(v,z),(z&4186112)===z)break;for(ge=v.eventTimes,Le=-1;0<z;){var w=31-fi(z);st=1<<w,w=ge[w],w>Le&&(Le=w),z&=~st}if(z=Le,z=Tt()-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=yi(hl.bind(null,v),z);break}hl(v);break;case 5:hl(v);break;default:throw Error(c(329))}}return wu(v,Tt()),v.callbackNode===T?kl.bind(null,v):null}function dl(v,T){for(T&=~vc,T&=~os,v.suspendedLanes|=T,v.pingedLanes&=~T,v=v.expirationTimes;0<T;){var z=31-fi(T),ge=1<<z;v[z]=-1,T&=~ge}}function An(v){if(Re&48)throw Error(c(327));if(pl(),v===rn&&v.expiredLanes&cn){var T=cn,z=us(v,T);ts&os&&(T=un(v,T),z=us(v,T))}else T=un(v,0),z=us(v,T);if(v.tag!==0&&z===2&&(Re|=64,v.hydrate&&(v.hydrate=!1,Pi(v.containerInfo)),T=tn(v),T!==0&&(z=us(v,T))),z===1)throw z=yo,va(v,0),dl(v,T),wu(v,Tt()),z;return v.finishedWork=v.current.alternate,v.finishedLanes=T,hl(v),wu(v,Tt()),null}function Gn(){if(cl!==null){var v=cl;cl=null,v.forEach(function(T){T.expiredLanes|=24&T.pendingLanes,wu(T,Tt())})}qr()}function ki(v,T){var z=Re;Re|=1;try{return v(T)}finally{Re=z,Re===0&&(ll(),qr())}}function xa(v,T){var z=Re;Re&=-2,Re|=8;try{return v(T)}finally{Re=z,Re===0&&(ll(),qr())}}function ji(v,T){ja(Ua,Di),Di|=T,ts|=T}function ca(){Di=Ua.current,na(Ua)}function va(v,T){v.finishedWork=null,v.finishedLanes=0;var z=v.timeoutHandle;if(z!==-1&&(v.timeoutHandle=-1,pa(z)),Bn!==null)for(z=Bn.return;z!==null;){var ge=z;switch(ge.tag){case 1:ge=ge.type.childContextTypes,ge!=null&&gr();break;case 3:$l(),na(be),na(Hi),Zc();break;case 5:sc(ge);break;case 4:$l();break;case 13:na(eo);break;case 19:na(eo);break;case 10:ss(ge);break;case 23:case 24:ca()}z=z.return}rn=v,Bn=Ju(v.current,null),cn=Di=ts=T,ma=0,yo=null,vc=os=fo=0}function Xa(v,T){do{var z=Bn;try{if(Ja(),zl.current=Hl,oc){for(var ge=Fs.memoizedState;ge!==null;){var Le=ge.queue;Le!==null&&(Le.pending=null),ge=ge.next}oc=!1}if(Pu=0,No=to=Fs=null,wl=!1,me.current=null,z===null||z.return===null){ma=1,yo=T,Bn=null;break}e:{var st=v,w=z.return,t=z,n=T;if(T=cn,t.flags|=2048,t.firstEffect=t.lastEffect=null,n!==null&&typeof n=="object"&&typeof n.then=="function"){var s=n;if(!(t.mode&2)){var m=t.alternate;m?(t.updateQueue=m.updateQueue,t.memoizedState=m.memoizedState,t.lanes=m.lanes):(t.updateQueue=null,t.memoizedState=null)}var E=(eo.current&1)!==0,C=w;do{var U;if(U=C.tag===13){var G=C.memoizedState;if(G!==null)U=G.dehydrated!==null;else{var H=C.memoizedProps;U=H.fallback===void 0?!1:H.unstable_avoidThisFallback!==!0?!0:!E}}if(U){var se=C.updateQueue;if(se===null){var ue=new Set;ue.add(s),C.updateQueue=ue}else se.add(s);if(!(C.mode&2)){if(C.flags|=64,t.flags|=16384,t.flags&=-2981,t.tag===1)if(t.alternate===null)t.tag=17;else{var ve=Us(-1,1);ve.tag=2,ms(t,ve)}t.lanes|=1;break e}n=void 0,t=T;var Ae=st.pingCache;if(Ae===null?(Ae=st.pingCache=new kc,n=new Set,Ae.set(s,n)):(n=Ae.get(s),n===void 0&&(n=new Set,Ae.set(s,n))),!n.has(t)){n.add(t);var we=Tf.bind(null,st,s,t);s.then(we,we)}C.flags|=4096,C.lanes=T;break e}C=C.return}while(C!==null);n=Error((Jt(t.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.`)}ma!==5&&(ma=2),n=vo(n,t),C=w;do{switch(C.tag){case 3:st=n,C.flags|=4096,T&=-T,C.lanes|=T;var qe=sl(C,st,T);Xo(C,qe);break e;case 1:st=n;var it=C.type,jt=C.stateNode;if(!(C.flags&64)&&(typeof it.getDerivedStateFromError=="function"||jt!==null&&typeof jt.componentDidCatch=="function"&&(Lo===null||!Lo.has(jt)))){C.flags|=4096,T&=-T,C.lanes|=T;var ir=Pl(C,st,T);Xo(C,ir);break e}}C=C.return}while(C!==null)}Qu(z)}catch(er){T=er,Bn===z&&z!==null&&(Bn=z=z.return);continue}break}while(!0)}function Gi(){var v=k.current;return k.current=Hl,v===null?Hl:v}function us(v,T){var z=Re;Re|=16;var ge=Gi();rn===v&&cn===T||va(v,T);do try{ku();break}catch(Le){Xa(v,Le)}while(!0);if(Ja(),Re=z,k.current=ge,Bn!==null)throw Error(c(261));return rn=null,cn=0,ma}function ku(){for(;Bn!==null;)Gu(Bn)}function Wu(){for(;Bn!==null&&!po();)Gu(Bn)}function Gu(v){var T=Fc(v.alternate,v,Di);v.memoizedProps=v.pendingProps,T===null?Qu(v):Bn=T,me.current=null}function Qu(v){var T=v;do{var z=T.alternate;if(v=T.return,T.flags&2048){if(z=il(T),z!==null){z.flags&=2047,Bn=z;return}v!==null&&(v.firstEffect=v.lastEffect=null,v.flags|=2048)}else{if(z=pc(z,T,Di),z!==null){Bn=z;return}if(z=T,z.tag!==24&&z.tag!==23||z.memoizedState===null||Di&1073741824||!(z.mode&4)){for(var ge=0,Le=z.child;Le!==null;)ge|=Le.lanes|Le.childLanes,Le=Le.sibling;z.childLanes=ge}v!==null&&!(v.flags&2048)&&(v.firstEffect===null&&(v.firstEffect=T.firstEffect),T.lastEffect!==null&&(v.lastEffect!==null&&(v.lastEffect.nextEffect=T.firstEffect),v.lastEffect=T.lastEffect),1<T.flags&&(v.lastEffect!==null?v.lastEffect.nextEffect=T:v.firstEffect=T,v.lastEffect=T))}if(T=T.sibling,T!==null){Bn=T;return}Bn=T=v}while(T!==null);ma===0&&(ma=5)}function hl(v){var T=$t();return Ar(99,Cf.bind(null,v,T)),null}function Cf(v,T){do pl();while(za!==null);if(Re&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 ge=z.lanes|z.childLanes,Le=ge,st=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 w=v.eventTimes,t=v.expirationTimes;0<st;){var n=31-fi(st),s=1<<n;Le[n]=0,w[n]=-1,t[n]=-1,st&=~s}if(cl!==null&&!(ge&24)&&cl.has(v)&&cl.delete(v),v===rn&&(Bn=rn=null,cn=0),1<z.flags?z.lastEffect!==null?(z.lastEffect.nextEffect=z,ge=z.firstEffect):ge=z:ge=z.firstEffect,ge!==null){if(Le=Re,Re|=32,me.current=null,gi=oa,w=Ti(),ra(w)){if("selectionStart"in w)t={start:w.selectionStart,end:w.selectionEnd};else e:if(t=(t=w.ownerDocument)&&t.defaultView||window,(s=t.getSelection&&t.getSelection())&&s.rangeCount!==0){t=s.anchorNode,st=s.anchorOffset,n=s.focusNode,s=s.focusOffset;try{t.nodeType,n.nodeType}catch(er){t=null;break e}var m=0,E=-1,C=-1,U=0,G=0,H=w,se=null;t:for(;;){for(var ue;H!==t||st!==0&&H.nodeType!==3||(E=m+st),H!==n||s!==0&&H.nodeType!==3||(C=m+s),H.nodeType===3&&(m+=H.nodeValue.length),(ue=H.firstChild)!==null;)se=H,H=ue;for(;;){if(H===w)break t;if(se===t&&++U===st&&(E=m),se===n&&++G===s&&(C=m),(ue=H.nextSibling)!==null)break;H=se,se=H.parentNode}H=ue}t=E===-1||C===-1?null:{start:E,end:C}}else t=null;t=t||{start:0,end:0}}else t=null;wi={focusedElem:w,selectionRange:t},oa=!1,bc=null,xc=!1,Si=ge;do try{Ef()}catch(er){if(Si===null)throw Error(c(330));qu(Si,er),Si=Si.nextEffect}while(Si!==null);bc=null,Si=ge;do try{for(w=v;Si!==null;){var ve=Si.flags;if(ve&16&&At(Si.stateNode,""),ve&128){var Ae=Si.alternate;if(Ae!==null){var we=Ae.ref;we!==null&&(typeof we=="function"?we(null):we.current=null)}}switch(ve&1038){case 2:go(Si),Si.flags&=-3;break;case 6:go(Si),Si.flags&=-3,mc(Si.alternate,Si);break;case 1024:Si.flags&=-1025;break;case 1028:Si.flags&=-1025,mc(Si.alternate,Si);break;case 4:mc(Si.alternate,Si);break;case 8:t=Si,_c(w,t);var qe=t.alternate;Yc(t),qe!==null&&Yc(qe)}Si=Si.nextEffect}}catch(er){if(Si===null)throw Error(c(330));qu(Si,er),Si=Si.nextEffect}while(Si!==null);if(we=wi,Ae=Ti(),ve=we.focusedElem,w=we.selectionRange,Ae!==ve&&ve&&ve.ownerDocument&&da(ve.ownerDocument.documentElement,ve)){for(w!==null&&ra(ve)&&(Ae=w.start,we=w.end,we===void 0&&(we=Ae),"selectionStart"in ve?(ve.selectionStart=Ae,ve.selectionEnd=Math.min(we,ve.value.length)):(we=(Ae=ve.ownerDocument||document)&&Ae.defaultView||window,we.getSelection&&(we=we.getSelection(),t=ve.textContent.length,qe=Math.min(w.start,t),w=w.end===void 0?qe:Math.min(w.end,t),!we.extend&&qe>w&&(t=w,w=qe,qe=t),t=Hr(ve,qe),st=Hr(ve,w),t&&st&&(we.rangeCount!==1||we.anchorNode!==t.node||we.anchorOffset!==t.offset||we.focusNode!==st.node||we.focusOffset!==st.offset)&&(Ae=Ae.createRange(),Ae.setStart(t.node,t.offset),we.removeAllRanges(),qe>w?(we.addRange(Ae),we.extend(st.node,st.offset)):(Ae.setEnd(st.node,st.offset),we.addRange(Ae)))))),Ae=[],we=ve;we=we.parentNode;)we.nodeType===1&&Ae.push({element:we,left:we.scrollLeft,top:we.scrollTop});for(typeof ve.focus=="function"&&ve.focus(),ve=0;ve<Ae.length;ve++)we=Ae[ve],we.element.scrollLeft=we.left,we.element.scrollTop=we.top}oa=!!gi,wi=gi=null,v.current=z,Si=ge;do try{for(ve=v;Si!==null;){var it=Si.flags;if(it&36&&Xl(ve,Si.alternate,Si),it&128){Ae=void 0;var jt=Si.ref;if(jt!==null){var ir=Si.stateNode;switch(Si.tag){case 5:Ae=ir;break;default:Ae=ir}typeof jt=="function"?jt(Ae):jt.current=Ae}}Si=Si.nextEffect}}catch(er){if(Si===null)throw Error(c(330));qu(Si,er),Si=Si.nextEffect}while(Si!==null);Si=null,X(),Re=Le}else v.current=z;if(Zs)Zs=!1,za=v,Ou=T;else for(Si=ge;Si!==null;)T=Si.nextEffect,Si.nextEffect=null,Si.flags&8&&(it=Si,it.sibling=null,it.stateNode=null),Si=T;if(ge=v.pendingLanes,ge===0&&(Lo=null),ge===1?v===yc?fl++:(fl=0,yc=v):fl=0,z=z.stateNode,Tn&&typeof Tn.onCommitFiberRoot=="function")try{Tn.onCommitFiberRoot(In,z,void 0,(z.current.flags&64)===64)}catch(er){}if(wu(v,Tt()),Jl)throw Jl=!1,v=ec,ec=null,v;return Re&8||qr(),null}function Ef(){for(;Si!==null;){var v=Si.alternate;xc||bc===null||(Si.flags&8?Jr(Si,bc)&&(xc=!0):Si.tag===13&&I(v,Si)&&Jr(Si,bc)&&(xc=!0));var T=Si.flags;T&256&&uf(v,Si),!(T&512)||Zs||(Zs=!0,zr(97,function(){return pl(),null})),Si=Si.nextEffect}}function pl(){if(Ou!==90){var v=97<Ou?97:Ou;return Ou=90,Ar(v,qc)}return!1}function wf(v,T){Dl.push(T,v),Zs||(Zs=!0,zr(97,function(){return pl(),null}))}function Mc(v,T){tc.push(T,v),Zs||(Zs=!0,zr(97,function(){return pl(),null}))}function qc(){if(za===null)return!1;var v=za;if(za=null,Re&48)throw Error(c(331));var T=Re;Re|=32;var z=tc;tc=[];for(var ge=0;ge<z.length;ge+=2){var Le=z[ge],st=z[ge+1],w=Le.destroy;if(Le.destroy=void 0,typeof w=="function")try{w()}catch(n){if(st===null)throw Error(c(330));qu(st,n)}}for(z=Dl,Dl=[],ge=0;ge<z.length;ge+=2){Le=z[ge],st=z[ge+1];try{var t=Le.create;Le.destroy=t()}catch(n){if(st===null)throw Error(c(330));qu(st,n)}}for(t=v.current.firstEffect;t!==null;)v=t.nextEffect,t.nextEffect=null,t.flags&8&&(t.sibling=null,t.stateNode=null),t=v;return Re=T,qr(),!0}function lf(v,T,z){T=vo(z,T),T=sl(v,T,1),ms(v,T),T=ou(),v=rc(v,1),v!==null&&(Ci(v,1,T),wu(v,T))}function qu(v,T){if(v.tag===3)lf(v,v,T);else for(var z=v.return;z!==null;){if(z.tag===3){lf(z,v,T);break}else if(z.tag===1){var ge=z.stateNode;if(typeof z.type.getDerivedStateFromError=="function"||typeof ge.componentDidCatch=="function"&&(Lo===null||!Lo.has(ge))){v=vo(T,v);var Le=Pl(z,v,1);if(ms(z,Le),Le=ou(),z=rc(z,1),z!==null)Ci(z,1,Le),wu(z,Le);else if(typeof ge.componentDidCatch=="function"&&(Lo===null||!Lo.has(ge)))try{ge.componentDidCatch(T,v)}catch(st){}break}}z=z.return}}function Tf(v,T,z){var ge=v.pingCache;ge!==null&&ge.delete(T),T=ou(),v.pingedLanes|=v.suspendedLanes&z,rn===v&&(cn&z)===z&&(ma===4||ma===3&&(cn&62914560)===cn&&500>Tt()-ul?va(v,0):vc|=z),wu(v,T)}function Ru(v,T){var z=v.stateNode;z!==null&&z.delete(T),T=0,T===0&&(T=v.mode,T&2?T&4?(Zu===0&&(Zu=ts),T=wn(62914560&~Zu),T===0&&(T=4194304)):T=$t()===99?1:2:T=1),z=ou(),v=rc(v,T),v!==null&&(Ci(v,T,z),wu(v,z))}var Fc;Fc=function(v,T,z){var ge=T.lanes;if(v!==null)if(v.memoizedProps!==T.pendingProps||be.current)Du=!0;else if(z&ge)Du=!!(v.flags&16384);else{switch(Du=!1,T.tag){case 3:yu(T),Cc();break;case 5:ii(T);break;case 1:Qr(T.type)&&ei(T);break;case 4:Nl(T,T.stateNode.containerInfo);break;case 10:ge=T.memoizedProps.value;var Le=T.type._context;ja(Ei,Le._currentValue),Le._currentValue=ge;break;case 13:if(T.memoizedState!==null)return z&T.child.childLanes?Tl(v,T,z):(ja(eo,eo.current&1),T=Wo(v,T,z),T!==null?T.sibling:null);ja(eo,eo.current&1);break;case 19:if(ge=(z&T.childLanes)!==0,v.flags&64){if(ge)return zu(v,T,z);T.flags|=64}if(Le=T.memoizedState,Le!==null&&(Le.rendering=null,Le.tail=null,Le.lastEffect=null),ja(eo,eo.current),ge)break;return null;case 23:case 24:return T.lanes=0,Kc(v,T,z)}return Wo(v,T,z)}else Du=!1;switch(T.lanes=0,T.tag){case 2:if(ge=T.type,v!==null&&(v.alternate=null,T.alternate=null,T.flags|=2),v=T.pendingProps,Le=wr(T,Hi.current),es(T,z),Le=lc(null,T,ge,v,Le,z),T.flags|=1,typeof Le=="object"&&Le!==null&&typeof Le.render=="function"&&Le.$$typeof===void 0){if(T.tag=1,T.memoizedState=null,T.updateQueue=null,Qr(ge)){var st=!0;ei(T)}else st=!1;T.memoizedState=Le.state!==null&&Le.state!==void 0?Le.state:null,xs(T);var w=ge.getDerivedStateFromProps;typeof w=="function"&&Bl(T,ge,w,v),Le.updater=Fu,T.stateNode=Le,Le._reactInternals=T,Bu(T,ge,v,z),T=ze(null,T,ge,!0,st,z)}else T.tag=0,so(null,T,Le,z),T=T.child;return T;case 16:Le=T.elementType;e:{switch(v!==null&&(v.alternate=null,T.alternate=null,T.flags|=2),v=T.pendingProps,st=Le._init,Le=st(Le._payload),T.type=Le,st=T.tag=Bc(Le),v=lr(Le,v),st){case 0:T=So(null,T,Le,v,z);break e;case 1:T=Cl(null,T,Le,v,z);break e;case 11:T=Yu(null,T,Le,v,z);break e;case 14:T=of(null,T,Le,lr(Le.type,v),ge,z);break e}throw Error(c(306,Le,""))}return T;case 0:return ge=T.type,Le=T.pendingProps,Le=T.elementType===ge?Le:lr(ge,Le),So(v,T,ge,Le,z);case 1:return ge=T.type,Le=T.pendingProps,Le=T.elementType===ge?Le:lr(ge,Le),Cl(v,T,ge,Le,z);case 3:if(yu(T),ge=T.updateQueue,v===null||ge===null)throw Error(c(282));if(ge=T.pendingProps,Le=T.memoizedState,Le=Le!==null?Le.element:null,_i(v,T),Ps(T,ge,null,z),ge=T.memoizedState.element,ge===Le)Cc(),T=Wo(v,T,z);else{if(Le=T.stateNode,(st=Le.hydrate)&&(Nu=pi(T.stateNode.containerInfo.firstChild),fu=T,st=$u=!0),st){if(v=Le.mutableSourceEagerHydrationData,v!=null)for(Le=0;Le<v.length;Le+=2)st=v[Le],st._workInProgressVersionPrimary=v[Le+1],El.push(st);for(z=bl(T,null,ge,z),T.child=z;z;)z.flags=z.flags&-3|1024,z=z.sibling}else so(v,T,ge,z),Cc();T=T.child}return T;case 5:return ii(T),v===null&&mo(T),ge=T.type,Le=T.pendingProps,st=v!==null?v.memoizedProps:null,w=Le.children,Fi(ge,Le)?w=null:st!==null&&Fi(ge,st)&&(T.flags|=16),nl(v,T),so(v,T,w,z),T.child;case 6:return v===null&&mo(T),null;case 13:return Tl(v,T,z);case 4:return Nl(T,T.stateNode.containerInfo),ge=T.pendingProps,v===null?T.child=Uo(T,null,ge,z):so(v,T,ge,z),T.child;case 11:return ge=T.type,Le=T.pendingProps,Le=T.elementType===ge?Le:lr(ge,Le),Yu(v,T,ge,Le,z);case 7:return so(v,T,T.pendingProps,z),T.child;case 8:return so(v,T,T.pendingProps.children,z),T.child;case 12:return so(v,T,T.pendingProps.children,z),T.child;case 10:e:{ge=T.type._context,Le=T.pendingProps,w=T.memoizedProps,st=Le.value;var t=T.type._context;if(ja(Ei,t._currentValue),t._currentValue=st,w!==null)if(t=w.value,st=Hn(t,st)?0:(typeof ge._calculateChangedBits=="function"?ge._calculateChangedBits(t,st):1073741823)|0,st===0){if(w.children===Le.children&&!be.current){T=Wo(v,T,z);break e}}else for(t=T.child,t!==null&&(t.return=T);t!==null;){var n=t.dependencies;if(n!==null){w=t.child;for(var s=n.firstContext;s!==null;){if(s.context===ge&&s.observedBits&st){t.tag===1&&(s=Us(-1,z&-z),s.tag=2,ms(t,s)),t.lanes|=z,s=t.alternate,s!==null&&(s.lanes|=z),bs(t.return,z),n.lanes|=z;break}s=s.next}}else w=t.tag===10&&t.type===T.type?null:t.child;if(w!==null)w.return=t;else for(w=t;w!==null;){if(w===T){w=null;break}if(t=w.sibling,t!==null){t.return=w.return,w=t;break}w=w.return}t=w}so(v,T,Le.children,z),T=T.child}return T;case 9:return Le=T.type,st=T.pendingProps,ge=st.children,es(T,z),Le=wa(Le,st.unstable_observedBits),ge=ge(Le),T.flags|=1,so(v,T,ge,z),T.child;case 14:return Le=T.type,st=lr(Le,T.pendingProps),st=lr(Le.type,st),of(v,T,Le,st,ge,z);case 15:return Oc(v,T,T.type,T.pendingProps,ge,z);case 17:return ge=T.type,Le=T.pendingProps,Le=T.elementType===ge?Le:lr(ge,Le),v!==null&&(v.alternate=null,T.alternate=null,T.flags|=2),T.tag=1,Qr(ge)?(v=!0,ei(T)):v=!1,es(T,z),ru(T,ge,Le),Bu(T,ge,Le,z),ze(null,T,ge,!0,v,z);case 19:return zu(v,T,z);case 23:return Kc(v,T,z);case 24:return Kc(v,T,z)}throw Error(c(156,T.tag))};function cf(v,T,z,ge){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=T,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=ge,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Go(v,T,z,ge){return new cf(v,T,z,ge)}function Jc(v){return v=v.prototype,!(!v||!v.isReactComponent)}function Bc(v){if(typeof v=="function")return Jc(v)?1:0;if(v!=null){if(v=v.$$typeof,v===J)return 11;if(v===ne)return 14}return 2}function Ju(v,T){var z=v.alternate;return z===null?(z=Go(v.tag,T,v.key,v.mode),z.elementType=v.elementType,z.type=v.type,z.stateNode=v.stateNode,z.alternate=v,v.alternate=z):(z.pendingProps=T,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,T=v.dependencies,z.dependencies=T===null?null:{lanes:T.lanes,firstContext:T.firstContext},z.sibling=v.sibling,z.index=v.index,z.ref=v.ref,z}function _l(v,T,z,ge,Le,st){var w=2;if(ge=v,typeof v=="function")Jc(v)&&(w=1);else if(typeof v=="string")w=5;else e:switch(v){case W:return Vo(z.children,Le,st,T);case M:w=8,Le|=16;break;case oe:w=8,Le|=1;break;case ae:return v=Go(12,z,T,Le|8),v.elementType=ae,v.type=ae,v.lanes=st,v;case Y:return v=Go(13,z,T,Le),v.type=Y,v.elementType=Y,v.lanes=st,v;case le:return v=Go(19,z,T,Le),v.elementType=le,v.lanes=st,v;case Q:return ff(z,Le,st,T);case de:return v=Go(24,z,T,Le),v.elementType=de,v.lanes=st,v;default:if(typeof v=="object"&&v!==null)switch(v.$$typeof){case ce:w=10;break e;case q:w=9;break e;case J:w=11;break e;case ne:w=14;break e;case ee:w=16,ge=null;break e;case ie:w=22;break e}throw Error(c(130,v==null?v:typeof v,""))}return T=Go(w,z,T,Le),T.elementType=v,T.type=ge,T.lanes=st,T}function Vo(v,T,z,ge){return v=Go(7,v,ge,T),v.lanes=z,v}function ff(v,T,z,ge){return v=Go(23,v,ge,T),v.elementType=Q,v.lanes=z,v}function df(v,T,z){return v=Go(6,v,null,T),v.lanes=z,v}function Nc(v,T,z){return T=Go(4,v.children!==null?v.children:[],v.key,T),T.lanes=z,T.stateNode={containerInfo:v.containerInfo,pendingChildren:null,implementation:v.implementation},T}function Ec(v,T,z){this.tag=T,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=fa(0),this.expirationTimes=fa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fa(0),this.mutableSourceEagerHydrationData=null}function ef(v,T,z){var ge=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:V,key:ge==null?null:""+ge,children:v,containerInfo:T,implementation:z}}function tf(v,T,z,ge){var Le=T.current,st=ou(),w=Hu(Le);e:if(z){z=z._reactInternals;t:{if(ut(z)!==z||z.tag!==1)throw Error(c(170));var t=z;do{switch(t.tag){case 3:t=t.stateNode.context;break t;case 1:if(Qr(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break t}}t=t.return}while(t!==null);throw Error(c(171))}if(z.tag===1){var n=z.type;if(Qr(n)){z=Sn(z,n,t);break e}}z=t}else z=ys;return T.context===null?T.context=z:T.pendingContext=z,T=Us(st,w),T.payload={element:v},ge=ge===void 0?null:ge,ge!==null&&(T.callback=ge),ms(Le,T),Ol(Le,w,st),w}function hf(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 Pf(v,T){if(v=v.memoizedState,v!==null&&v.dehydrated!==null){var z=v.retryLane;v.retryLane=z!==0&&z<T?z:T}}function wc(v,T){Pf(v,T),(v=v.alternate)&&Pf(v,T)}function $f(){return null}function If(v,T,z){var ge=z!=null&&z.hydrationOptions!=null&&z.hydrationOptions.mutableSources||null;if(z=new Ec(v,T,z!=null&&z.hydrate===!0),T=Go(3,null,null,T===2?7:T===1?3:0),z.current=T,T.stateNode=z,xs(T),v[Ii]=z.current,Vt(v.nodeType===8?v.parentNode:v),ge)for(v=0;v<ge.length;v++){T=ge[v];var Le=T._getVersion;Le=Le(T._source),z.mutableSourceEagerHydrationData==null?z.mutableSourceEagerHydrationData=[T,Le]:z.mutableSourceEagerHydrationData.push(T,Le)}this._internalRoot=z}If.prototype.render=function(v){tf(v,this._internalRoot,null,null)},If.prototype.unmount=function(){var v=this._internalRoot,T=v.containerInfo;tf(null,v,null,function(){T[Ii]=null})};function pf(v){return!(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11&&(v.nodeType!==8||v.nodeValue!==" react-mount-point-unstable "))}function jf(v,T){if(T||(T=v?v.nodeType===9?v.documentElement:v.firstChild:null,T=!(!T||T.nodeType!==1||!T.hasAttribute("data-reactroot"))),!T)for(var z;z=v.lastChild;)v.removeChild(z);return new If(v,0,T?{hydrate:!0}:void 0)}function _f(v,T,z,ge,Le){var st=z._reactRootContainer;if(st){var w=st._internalRoot;if(typeof Le=="function"){var t=Le;Le=function(){var s=hf(w);t.call(s)}}tf(T,w,v,Le)}else{if(st=z._reactRootContainer=jf(z,ge),w=st._internalRoot,typeof Le=="function"){var n=Le;Le=function(){var s=hf(w);n.call(s)}}xa(function(){tf(T,w,v,Le)})}return hf(w)}dn=function(v){if(v.tag===13){var T=ou();Ol(v,4,T),wc(v,4)}},Mn=function(v){if(v.tag===13){var T=ou();Ol(v,67108864,T),wc(v,67108864)}},Jn=function(v){if(v.tag===13){var T=ou(),z=Hu(v);Ol(v,z,T),wc(v,z)}},Nn=function(v,T){return T()},Ct=function(v,T,z){switch(T){case"input":if(ye(v,z),T=z.name,z.type==="radio"&&T!=null){for(z=v;z.parentNode;)z=z.parentNode;for(z=z.querySelectorAll("input[name="+JSON.stringify(""+T)+'][type="radio"]'),T=0;T<z.length;T++){var ge=z[T];if(ge!==v&&ge.form===v.form){var Le=Ya(ge);if(!Le)throw Error(c(90));ot(ge),ye(ge,Le)}}}break;case"textarea":Ht(v,z);break;case"select":T=z.value,T!=null&&nt(v,!!z.multiple,T,!1)}},Lt=ki,Be=function(v,T,z,ge,Le){var st=Re;Re|=4;try{return Ar(98,v.bind(null,T,z,ge,Le))}finally{Re=st,Re===0&&(ll(),qr())}},Dr=function(){!(Re&49)&&(Gn(),pl())},St=function(v,T){var z=Re;Re|=2;try{return v(T)}finally{Re=z,Re===0&&(ll(),qr())}};function Df(v,T){var z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!pf(T))throw Error(c(200));return ef(v,T,null,z)}var Lf={Events:[Va,io,Ya,Ke,gt,pl,{current:!1}]},mf={findFiberByHostInstance:$a,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Uf={bundleType:mf.bundleType,version:mf.version,rendererPackageName:mf.rendererPackageName,rendererConfig:mf.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=_r(v),v===null?null:v.stateNode},findFiberByHostInstance:mf.findFiberByHostInstance||$f,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Sf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Sf.isDisabled&&Sf.supportsFiber)try{In=Sf.inject(Uf),Tn=Sf}catch(v){}}g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Lf,g.createPortal=Df,g.findDOMNode=function(v){if(v==null)return null;if(v.nodeType===1)return v;var T=v._reactInternals;if(T===void 0)throw typeof v.render=="function"?Error(c(188)):Error(c(268,Object.keys(v)));return v=_r(T),v=v===null?null:v.stateNode,v},g.flushSync=function(v,T){var z=Re;if(z&48)return v(T);Re|=1;try{if(v)return Ar(99,v.bind(null,T))}finally{Re=z,qr()}},g.hydrate=function(v,T,z){if(!pf(T))throw Error(c(200));return _f(null,v,T,!0,z)},g.render=function(v,T,z){if(!pf(T))throw Error(c(200));return _f(null,v,T,!1,z)},g.unmountComponentAtNode=function(v){if(!pf(v))throw Error(c(40));return v._reactRootContainer?(xa(function(){_f(null,null,v,!1,function(){v._reactRootContainer=null,v[Ii]=null})}),!0):!1},g.unstable_batchedUpdates=ki,g.unstable_createPortal=function(v,T){return Df(v,T,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},g.unstable_renderSubtreeIntoContainer=function(v,T,z,ge){if(!pf(z))throw Error(c(200));if(v==null||v._reactInternals===void 0)throw Error(c(38));return _f(v,T,z,!1,ge)},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 o,h,u;if(Array.isArray(c)){if(o=c.length,o!=f.length)return!1;for(h=o;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(o=c.length,o!=f.length)return!1;for(h=o;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),o=u.length,o!==Object.keys(f).length)return!1;for(h=o;h--!==0;)if(!Object.prototype.hasOwnProperty.call(f,u[h]))return!1;if(g&&c instanceof Element)return!1;for(h=o;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,o){try{return l(f,o)}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,o=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,A=e?Symbol.for("react.block"):60121,R=e?Symbol.for("react.fundamental"):60117,L=e?Symbol.for("react.responder"):60118,P=e?Symbol.for("react.scope"):60119;function D($){if(typeof $=="object"&&$!==null){var j=$.$$typeof;switch(j){case r:switch($=$.type,$){case u:case a:case l:case f:case c:case p:return $;default:switch($=$&&$.$$typeof,$){case h:case x:case b:case _:case o:return $;default:return j}}case i:return j}}}function B($){return D($)===a}g.AsyncMode=u,g.ConcurrentMode=a,g.ContextConsumer=h,g.ContextProvider=o,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($){return B($)||D($)===u},g.isConcurrentMode=B,g.isContextConsumer=function($){return D($)===h},g.isContextProvider=function($){return D($)===o},g.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===r},g.isForwardRef=function($){return D($)===x},g.isFragment=function($){return D($)===l},g.isLazy=function($){return D($)===b},g.isMemo=function($){return D($)===_},g.isPortal=function($){return D($)===i},g.isProfiler=function($){return D($)===f},g.isStrictMode=function($){return D($)===c},g.isSuspense=function($){return D($)===p},g.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===l||$===a||$===f||$===c||$===p||$===y||typeof $=="object"&&$!==null&&($.$$typeof===b||$.$$typeof===_||$.$$typeof===o||$.$$typeof===h||$.$$typeof===x||$.$$typeof===R||$.$$typeof===L||$.$$typeof===P||$.$$typeof===A)},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"),o=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 A(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 o:case u:case y:case p:case f:return R;default:return L}}case r:return L}}}g.ContextConsumer=o,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 A(R)===o},g.isContextProvider=function(R){return A(R)===f},g.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===e},g.isForwardRef=function(R){return A(R)===u},g.isFragment=function(R){return A(R)===i},g.isLazy=function(R){return A(R)===y},g.isMemo=function(R){return A(R)===p},g.isPortal=function(R){return A(R)===r},g.isProfiler=function(R){return A(R)===c},g.isStrictMode=function(R){return A(R)===l},g.isSuspense=function(R){return A(R)===a},g.isSuspenseList=function(R){return A(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===o||R.$$typeof===u||R.$$typeof===b||R.getModuleId!==void 0)},g.typeOf=A},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(P){for(var D=1;D<arguments.length;D++){var B=arguments[D];for(var $ in B)Object.prototype.hasOwnProperty.call(B,$)&&(P[$]=B[$])}return P},c.apply(this,arguments)}function f(P,D){if(P==null)return{};var B={},$=Object.keys(P),j,K;for(K=0;K<$.length;K++)j=$[K],!(D.indexOf(j)>=0)&&(B[j]=P[j]);return B}const o=["onClick","reloadDocument","replace","state","target","to"],h=null;function u(P,D){if(!P){typeof console!="undefined"&&console.warn(D);try{throw new Error(D)}catch(B){}}}function a(P){let{basename:D,children:B,window:$}=P,j=useRef();j.current==null&&(j.current=createBrowserHistory({window:$}));let K=j.current,[V,W]=useState({action:K.action,location:K.location});return useLayoutEffect(()=>K.listen(W),[K]),createElement(Router,{basename:D,children:B,location:V.location,navigationType:V.action,navigator:K})}function x(P){let{basename:D,children:B,window:$}=P,j=useRef();j.current==null&&(j.current=createHashHistory({window:$}));let K=j.current,[V,W]=useState({action:K.action,location:K.location});return useLayoutEffect(()=>K.listen(W),[K]),createElement(Router,{basename:D,children:B,location:V.location,navigationType:V.action,navigator:K})}function p(P){let{basename:D,children:B,history:$}=P;const[j,K]=useState({action:$.action,location:$.location});return useLayoutEffect(()=>$.listen(K),[$]),createElement(Router,{basename:D,children:B,location:j.location,navigationType:j.action,navigator:$})}function y(P){return!!(P.metaKey||P.altKey||P.ctrlKey||P.shiftKey)}const _=(0,r.forwardRef)(function(D,B){let{onClick:$,reloadDocument:j,replace:K=!1,state:V,target:W,to:oe}=D,ae=f(D,o),ce=(0,i.oQ)(oe),q=A(oe,{replace:K,state:V,target:W});function J(Y){$&&$(Y),!Y.defaultPrevented&&!j&&q(Y)}return(0,r.createElement)("a",c({},ae,{href:ce,onClick:J,ref:B,target:W}))}),b=null;function A(P,D){let{target:B,replace:$,state:j}=D===void 0?{}:D,K=(0,i.s0)(),V=(0,i.TH)(),W=(0,i.WU)(P);return(0,r.useCallback)(oe=>{if(oe.button===0&&(!B||B==="_self")&&!y(oe)){oe.preventDefault();let ae=!!$||(0,l.Ep)(V)===(0,l.Ep)(W);K(P,{replace:ae,state:j})}},[V,K,W,$,j,B,P])}function R(P){let D=(0,r.useRef)(L(P)),B=(0,i.TH)(),$=(0,r.useMemo)(()=>{let V=L(B.search);for(let W of D.current.keys())V.has(W)||D.current.getAll(W).forEach(oe=>{V.append(W,oe)});return V},[B.search]),j=(0,i.s0)(),K=(0,r.useCallback)((V,W)=>{j("?"+L(V),W)},[j]);return[$,K]}function L(P){return P===void 0&&(P=""),new URLSearchParams(typeof P=="string"||Array.isArray(P)||P instanceof URLSearchParams?P:Object.keys(P).reduce((D,B)=>{let $=P[B];return D.concat(Array.isArray($)?$.map(j=>[B,j]):[[B,$]])},[]))}},35338:function(d,g,e){"use strict";e.d(g,{F0:function(){return ot},Fg:function(){return Xe},Gn:function(){return x},TH:function(){return Q},UO:function(){return _t},V$:function(){return Qt},WU:function(){return Pt},bx:function(){return Fe},fp:function(){return p},j3:function(){return It},oQ:function(){return F},s0:function(){return Ie}});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 o(Ue,ye){if(!Ue)throw new Error(ye)}function h(Ue,ye){if(!Ue){typeof console!="undefined"&&console.warn(ye);try{throw new Error(ye)}catch(Pe){}}}const u={};function a(Ue,ye,Pe){!ye&&!u[Ue]&&(u[Ue]=!0)}function x(Ue,ye){return ye===void 0&&(ye={}),Ue.replace(/:(\w+)/g,(Pe,Me)=>(ye[Me]==null&&o(!1),ye[Me])).replace(/\/*\*$/,Pe=>ye["*"]==null?"":ye["*"].replace(/^\/*/,"/"))}function p(Ue,ye,Pe){Pe===void 0&&(Pe="/");let Me=typeof ye=="string"?(0,r.cP)(ye):ye,$e=Y(Me.pathname||"/",Pe);if($e==null)return null;let He=y(Ue);_(He);let nt=null;for(let ct=0;nt==null&&ct<He.length;++ct)nt=K(He[ct],$e);return nt}function y(Ue,ye,Pe,Me){return ye===void 0&&(ye=[]),Pe===void 0&&(Pe=[]),Me===void 0&&(Me=""),Ue.forEach(($e,He)=>{let nt={relativePath:$e.path||"",caseSensitive:$e.caseSensitive===!0,childrenIndex:He,route:$e};nt.relativePath.startsWith("/")&&(nt.relativePath.startsWith(Me)||o(!1),nt.relativePath=nt.relativePath.slice(Me.length));let ct=le([Me,nt.relativePath]),Gt=Pe.concat(nt);$e.children&&$e.children.length>0&&($e.index===!0&&o(!1),y($e.children,ye,Gt,ct)),!($e.path==null&&!$e.index)&&ye.push({path:ct,score:$(ct,$e.index),routesMeta:Gt})}),ye}function _(Ue){Ue.sort((ye,Pe)=>ye.score!==Pe.score?Pe.score-ye.score:j(ye.routesMeta.map(Me=>Me.childrenIndex),Pe.routesMeta.map(Me=>Me.childrenIndex)))}const b=/^:\w+$/,A=3,R=2,L=1,P=10,D=-2,B=Ue=>Ue==="*";function $(Ue,ye){let Pe=Ue.split("/"),Me=Pe.length;return Pe.some(B)&&(Me+=D),ye&&(Me+=R),Pe.filter($e=>!B($e)).reduce(($e,He)=>$e+(b.test(He)?A:He===""?L:P),Me)}function j(Ue,ye){return Ue.length===ye.length&&Ue.slice(0,-1).every((Me,$e)=>Me===ye[$e])?Ue[Ue.length-1]-ye[ye.length-1]:0}function K(Ue,ye){let{routesMeta:Pe}=Ue,Me={},$e="/",He=[];for(let nt=0;nt<Pe.length;++nt){let ct=Pe[nt],Gt=nt===Pe.length-1,Ht=$e==="/"?ye:ye.slice($e.length)||"/",Oe=V({path:ct.relativePath,caseSensitive:ct.caseSensitive,end:Gt},Ht);if(!Oe)return null;Object.assign(Me,Oe.params);let Je=ct.route;He.push({params:Me,pathname:le([$e,Oe.pathname]),pathnameBase:ne(le([$e,Oe.pathnameBase])),route:Je}),Oe.pathnameBase!=="/"&&($e=le([$e,Oe.pathnameBase]))}return He}function V(Ue,ye){typeof Ue=="string"&&(Ue={path:Ue,caseSensitive:!1,end:!0});let[Pe,Me]=W(Ue.path,Ue.caseSensitive,Ue.end),$e=ye.match(Pe);if(!$e)return null;let He=$e[0],nt=He.replace(/(.)\/+$/,"$1"),ct=$e.slice(1);return{params:Me.reduce((Ht,Oe,Je)=>{if(Oe==="*"){let Wt=ct[Je]||"";nt=He.slice(0,He.length-Wt.length).replace(/(.)\/+$/,"$1")}return Ht[Oe]=oe(ct[Je]||"",Oe),Ht},{}),pathname:He,pathnameBase:nt,pattern:Ue}}function W(Ue,ye,Pe){ye===void 0&&(ye=!1),Pe===void 0&&(Pe=!0);let Me=[],$e="^"+Ue.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(nt,ct)=>(Me.push(ct),"([^\\/]+)"));return Ue.endsWith("*")?(Me.push("*"),$e+=Ue==="*"||Ue==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):$e+=Pe?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp($e,ye?void 0:"i"),Me]}function oe(Ue,ye){try{return decodeURIComponent(Ue)}catch(Pe){return Ue}}function ae(Ue,ye){ye===void 0&&(ye="/");let{pathname:Pe,search:Me="",hash:$e=""}=typeof Ue=="string"?(0,r.cP)(Ue):Ue;return{pathname:Pe?Pe.startsWith("/")?Pe:ce(Pe,ye):ye,search:ee(Me),hash:ie($e)}}function ce(Ue,ye){let Pe=ye.replace(/\/+$/,"").split("/");return Ue.split("/").forEach($e=>{$e===".."?Pe.length>1&&Pe.pop():$e!=="."&&Pe.push($e)}),Pe.length>1?Pe.join("/"):"/"}function q(Ue,ye,Pe){let Me=typeof Ue=="string"?(0,r.cP)(Ue):Ue,$e=Ue===""||Me.pathname===""?"/":Me.pathname,He;if($e==null)He=Pe;else{let ct=ye.length-1;if($e.startsWith("..")){let Gt=$e.split("/");for(;Gt[0]==="..";)Gt.shift(),ct-=1;Me.pathname=Gt.join("/")}He=ct>=0?ye[ct]:"/"}let nt=ae(Me,He);return $e&&$e!=="/"&&$e.endsWith("/")&&!nt.pathname.endsWith("/")&&(nt.pathname+="/"),nt}function J(Ue){return Ue===""||Ue.pathname===""?"/":typeof Ue=="string"?(0,r.cP)(Ue).pathname:Ue.pathname}function Y(Ue,ye){if(ye==="/")return Ue;if(!Ue.toLowerCase().startsWith(ye.toLowerCase()))return null;let Pe=Ue.charAt(ye.length);return Pe&&Pe!=="/"?null:Ue.slice(ye.length)||"/"}const le=Ue=>Ue.join("/").replace(/\/\/+/g,"/"),ne=Ue=>Ue.replace(/\/+$/,"").replace(/^\/*/,"/"),ee=Ue=>!Ue||Ue==="?"?"":Ue.startsWith("?")?Ue:"?"+Ue,ie=Ue=>!Ue||Ue==="#"?"":Ue.startsWith("#")?Ue:"#"+Ue;function F(Ue){M()||o(!1);let{basename:ye,navigator:Pe}=(0,i.useContext)(l),{hash:Me,pathname:$e,search:He}=Pt(Ue),nt=$e;if(ye!=="/"){let ct=J(Ue),Gt=ct!=null&&ct.endsWith("/");nt=$e==="/"?ye+(Gt?"/":""):le([ye,$e])}return Pe.createHref({pathname:nt,search:He,hash:Me})}function M(){return(0,i.useContext)(c)!=null}function Q(){return M()||o(!1),(0,i.useContext)(c).location}function de(){return useContext(c).navigationType}function Se(Ue){M()||o(!1);let{pathname:ye}=Q();return useMemo(()=>V(Ue,ye),[ye,Ue])}function Ie(){M()||o(!1);let{basename:Ue,navigator:ye}=(0,i.useContext)(l),{matches:Pe}=(0,i.useContext)(f),{pathname:Me}=Q(),$e=JSON.stringify(Pe.map(ct=>ct.pathnameBase)),He=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{He.current=!0}),(0,i.useCallback)(function(ct,Gt){if(Gt===void 0&&(Gt={}),!He.current)return;if(typeof ct=="number"){ye.go(ct);return}let Ht=q(ct,JSON.parse($e),Me);Ue!=="/"&&(Ht.pathname=le([Ue,Ht.pathname])),(Gt.replace?ye.replace:ye.push)(Ht,Gt.state)},[Ue,ye,$e,Me])}const je=(0,i.createContext)(null);function Fe(){return(0,i.useContext)(je)}function Ft(Ue){let ye=(0,i.useContext)(f).outlet;return ye&&(0,i.createElement)(je.Provider,{value:Ue},ye)}function _t(){let{matches:Ue}=(0,i.useContext)(f),ye=Ue[Ue.length-1];return ye?ye.params:{}}function Pt(Ue){let{matches:ye}=(0,i.useContext)(f),{pathname:Pe}=Q(),Me=JSON.stringify(ye.map($e=>$e.pathnameBase));return(0,i.useMemo)(()=>q(Ue,JSON.parse(Me),Pe),[Ue,Me,Pe])}function Qt(Ue,ye){M()||o(!1);let{matches:Pe}=(0,i.useContext)(f),Me=Pe[Pe.length-1],$e=Me?Me.params:{},He=Me?Me.pathname:"/",nt=Me?Me.pathnameBase:"/",ct=Me&&Me.route,Gt=Q(),Ht;if(ye){var Oe;let Zt=typeof ye=="string"?(0,r.cP)(ye):ye;nt==="/"||(Oe=Zt.pathname)!=null&&Oe.startsWith(nt)||o(!1),Ht=Zt}else Ht=Gt;let Je=Ht.pathname||"/",Wt=nt==="/"?Je:Je.slice(nt.length)||"/",kt=p(Ue,{pathname:Wt});return Jt(kt&&kt.map(Zt=>Object.assign({},Zt,{params:Object.assign({},$e,Zt.params),pathname:le([nt,Zt.pathname]),pathnameBase:Zt.pathnameBase==="/"?nt:le([nt,Zt.pathnameBase])})),Pe)}function Jt(Ue,ye){return ye===void 0&&(ye=[]),Ue==null?null:Ue.reduceRight((Pe,Me,$e)=>(0,i.createElement)(f.Provider,{children:Me.route.element!==void 0?Me.route.element:Pe,value:{outlet:Pe,matches:ye.concat(Ue.slice(0,$e+1))}}),null)}function qt(Ue){let{basename:ye,children:Pe,initialEntries:Me,initialIndex:$e}=Ue,He=useRef();He.current==null&&(He.current=createMemoryHistory({initialEntries:Me,initialIndex:$e}));let nt=He.current,[ct,Gt]=useState({action:nt.action,location:nt.location});return useLayoutEffect(()=>nt.listen(Gt),[nt]),createElement(ot,{basename:ye,children:Pe,location:ct.location,navigationType:ct.action,navigator:nt})}function Xe(Ue){let{to:ye,replace:Pe,state:Me}=Ue;M()||o(!1);let $e=Ie();return(0,i.useEffect)(()=>{$e(ye,{replace:Pe,state:Me})}),null}function It(Ue){return Ft(Ue.context)}function Ut(Ue){o(!1)}function ot(Ue){let{basename:ye="/",children:Pe=null,location:Me,navigationType:$e=r.aU.Pop,navigator:He,static:nt=!1}=Ue;M()&&o(!1);let ct=ne(ye),Gt=(0,i.useMemo)(()=>({basename:ct,navigator:He,static:nt}),[ct,He,nt]);typeof Me=="string"&&(Me=(0,r.cP)(Me));let{pathname:Ht="/",search:Oe="",hash:Je="",state:Wt=null,key:kt="default"}=Me,Zt=(0,i.useMemo)(()=>{let Bt=Y(Ht,ct);return Bt==null?null:{pathname:Bt,search:Oe,hash:Je,state:Wt,key:kt}},[ct,Ht,Oe,Je,Wt,kt]);return Zt==null?null:(0,i.createElement)(l.Provider,{value:Gt},(0,i.createElement)(c.Provider,{children:Pe,value:{location:Zt,navigationType:$e}}))}function bt(Ue){let{children:ye,location:Pe}=Ue;return Qt(ht(ye),Pe)}function ht(Ue){let ye=[];return Children.forEach(Ue,Pe=>{if(!isValidElement(Pe))return;if(Pe.type===Fragment){ye.push.apply(ye,ht(Pe.props.children));return}Pe.type!==Ut&&o(!1);let Me={caseSensitive:Pe.props.caseSensitive,element:Pe.props.element,index:Pe.props.index,path:Pe.props.path};Pe.props.children&&(Me.children=ht(Pe.props.children)),ye.push(Me)}),ye}function et(Ue){return Jt(Ue)}},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,o=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"),o=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(ee){return ee===null||typeof ee!="object"?null:(ee=x&&ee[x]||ee["@@iterator"],typeof ee=="function"?ee:null)}function y(ee){for(var ie="https://reactjs.org/docs/error-decoder.html?invariant="+ee,F=1;F<arguments.length;F++)ie+="&args[]="+encodeURIComponent(arguments[F]);return"Minified React error #"+ee+"; visit "+ie+" 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 A(ee,ie,F){this.props=ee,this.context=ie,this.refs=b,this.updater=F||_}A.prototype.isReactComponent={},A.prototype.setState=function(ee,ie){if(typeof ee!="object"&&typeof ee!="function"&&ee!=null)throw Error(y(85));this.updater.enqueueSetState(this,ee,ie,"setState")},A.prototype.forceUpdate=function(ee){this.updater.enqueueForceUpdate(this,ee,"forceUpdate")};function R(){}R.prototype=A.prototype;function L(ee,ie,F){this.props=ee,this.context=ie,this.refs=b,this.updater=F||_}var P=L.prototype=new R;P.constructor=L,r(P,A.prototype),P.isPureReactComponent=!0;var D={current:null},B=Object.prototype.hasOwnProperty,$={key:!0,ref:!0,__self:!0,__source:!0};function j(ee,ie,F){var M,Q={},de=null,Se=null;if(ie!=null)for(M in ie.ref!==void 0&&(Se=ie.ref),ie.key!==void 0&&(de=""+ie.key),ie)B.call(ie,M)&&!$.hasOwnProperty(M)&&(Q[M]=ie[M]);var Ie=arguments.length-2;if(Ie===1)Q.children=F;else if(1<Ie){for(var je=Array(Ie),Fe=0;Fe<Ie;Fe++)je[Fe]=arguments[Fe+2];Q.children=je}if(ee&&ee.defaultProps)for(M in Ie=ee.defaultProps,Ie)Q[M]===void 0&&(Q[M]=Ie[M]);return{$$typeof:i,type:ee,key:de,ref:Se,props:Q,_owner:D.current}}function K(ee,ie){return{$$typeof:i,type:ee.type,key:ie,ref:ee.ref,props:ee.props,_owner:ee._owner}}function V(ee){return typeof ee=="object"&&ee!==null&&ee.$$typeof===i}function W(ee){var ie={"=":"=0",":":"=2"};return"$"+ee.replace(/[=:]/g,function(F){return ie[F]})}var oe=/\/+/g;function ae(ee,ie){return typeof ee=="object"&&ee!==null&&ee.key!=null?W(""+ee.key):ie.toString(36)}function ce(ee,ie,F,M,Q){var de=typeof ee;(de==="undefined"||de==="boolean")&&(ee=null);var Se=!1;if(ee===null)Se=!0;else switch(de){case"string":case"number":Se=!0;break;case"object":switch(ee.$$typeof){case i:case l:Se=!0}}if(Se)return Se=ee,Q=Q(Se),ee=M===""?"."+ae(Se,0):M,Array.isArray(Q)?(F="",ee!=null&&(F=ee.replace(oe,"$&/")+"/"),ce(Q,ie,F,"",function(Fe){return Fe})):Q!=null&&(V(Q)&&(Q=K(Q,F+(!Q.key||Se&&Se.key===Q.key?"":(""+Q.key).replace(oe,"$&/")+"/")+ee)),ie.push(Q)),1;if(Se=0,M=M===""?".":M+":",Array.isArray(ee))for(var Ie=0;Ie<ee.length;Ie++){de=ee[Ie];var je=M+ae(de,Ie);Se+=ce(de,ie,F,je,Q)}else if(je=p(ee),typeof je=="function")for(ee=je.call(ee),Ie=0;!(de=ee.next()).done;)de=de.value,je=M+ae(de,Ie++),Se+=ce(de,ie,F,je,Q);else if(de==="object")throw ie=""+ee,Error(y(31,ie==="[object Object]"?"object with keys {"+Object.keys(ee).join(", ")+"}":ie));return Se}function q(ee,ie,F){if(ee==null)return ee;var M=[],Q=0;return ce(ee,M,"","",function(de){return ie.call(F,de,Q++)}),M}function J(ee){if(ee._status===-1){var ie=ee._result;ie=ie(),ee._status=0,ee._result=ie,ie.then(function(F){ee._status===0&&(F=F.default,ee._status=1,ee._result=F)},function(F){ee._status===0&&(ee._status=2,ee._result=F)})}if(ee._status===1)return ee._result;throw ee._result}var Y={current:null};function le(){var ee=Y.current;if(ee===null)throw Error(y(321));return ee}var ne={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:D,IsSomeRendererActing:{current:!1},assign:r};g.Children={map:q,forEach:function(ee,ie,F){q(ee,function(){ie.apply(this,arguments)},F)},count:function(ee){var ie=0;return q(ee,function(){ie++}),ie},toArray:function(ee){return q(ee,function(ie){return ie})||[]},only:function(ee){if(!V(ee))throw Error(y(143));return ee}},g.Component=A,g.PureComponent=L,g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ne,g.cloneElement=function(ee,ie,F){if(ee==null)throw Error(y(267,ee));var M=r({},ee.props),Q=ee.key,de=ee.ref,Se=ee._owner;if(ie!=null){if(ie.ref!==void 0&&(de=ie.ref,Se=D.current),ie.key!==void 0&&(Q=""+ie.key),ee.type&&ee.type.defaultProps)var Ie=ee.type.defaultProps;for(je in ie)B.call(ie,je)&&!$.hasOwnProperty(je)&&(M[je]=ie[je]===void 0&&Ie!==void 0?Ie[je]:ie[je])}var je=arguments.length-2;if(je===1)M.children=F;else if(1<je){Ie=Array(je);for(var Fe=0;Fe<je;Fe++)Ie[Fe]=arguments[Fe+2];M.children=Ie}return{$$typeof:i,type:ee.type,key:Q,ref:de,props:M,_owner:Se}},g.createContext=function(ee,ie){return ie===void 0&&(ie=null),ee={$$typeof:f,_calculateChangedBits:ie,_currentValue:ee,_currentValue2:ee,_threadCount:0,Provider:null,Consumer:null},ee.Provider={$$typeof:c,_context:ee},ee.Consumer=ee},g.createElement=j,g.createFactory=function(ee){var ie=j.bind(null,ee);return ie.type=ee,ie},g.createRef=function(){return{current:null}},g.forwardRef=function(ee){return{$$typeof:o,render:ee}},g.isValidElement=V,g.lazy=function(ee){return{$$typeof:u,_payload:{_status:-1,_result:ee},_init:J}},g.memo=function(ee,ie){return{$$typeof:h,type:ee,compare:ie===void 0?null:ie}},g.useCallback=function(ee,ie){return le().useCallback(ee,ie)},g.useContext=function(ee,ie){return le().useContext(ee,ie)},g.useDebugValue=function(){},g.useEffect=function(ee,ie){return le().useEffect(ee,ie)},g.useImperativeHandle=function(ee,ie,F){return le().useImperativeHandle(ee,ie,F)},g.useLayoutEffect=function(ee,ie){return le().useLayoutEffect(ee,ie)},g.useMemo=function(ee,ie){return le().useMemo(ee,ie)},g.useReducer=function(ee,ie,F){return le().useReducer(ee,ie,F)},g.useRef=function(ee){return le().useRef(ee)},g.useState=function(ee){return le().useState(ee)},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 $},qC:function(){return B}});var r=e(77321);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 o(j){if(typeof j!="object"||j===null)return!1;for(var K=j;Object.getPrototypeOf(K)!==null;)K=Object.getPrototypeOf(K);return Object.getPrototypeOf(j)===K}function h(j){if(j===void 0)return"undefined";if(j===null)return"null";var K=typeof j;switch(K){case"boolean":case"string":case"number":case"symbol":case"function":return K}if(Array.isArray(j))return"array";if(x(j))return"date";if(a(j))return"error";var V=u(j);switch(V){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return V}return K.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 K=typeof j;return K}function y(j,K,V){var W;if(typeof K=="function"&&typeof V=="function"||typeof V=="function"&&typeof arguments[3]=="function")throw new Error(i(0));if(typeof K=="function"&&typeof V=="undefined"&&(V=K,K=void 0),typeof V!="undefined"){if(typeof V!="function")throw new Error(i(1));return V(y)(j,K)}if(typeof j!="function")throw new Error(i(2));var oe=j,ae=K,ce=[],q=ce,J=!1;function Y(){q===ce&&(q=ce.slice())}function le(){if(J)throw new Error(i(3));return ae}function ne(M){if(typeof M!="function")throw new Error(i(4));if(J)throw new Error(i(5));var Q=!0;return Y(),q.push(M),function(){if(Q){if(J)throw new Error(i(6));Q=!1,Y();var Se=q.indexOf(M);q.splice(Se,1),ce=null}}}function ee(M){if(!o(M))throw new Error(i(7));if(typeof M.type=="undefined")throw new Error(i(8));if(J)throw new Error(i(9));try{J=!0,ae=oe(ae,M)}finally{J=!1}for(var Q=ce=q,de=0;de<Q.length;de++){var Se=Q[de];Se()}return M}function ie(M){if(typeof M!="function")throw new Error(i(10));oe=M,ee({type:f.REPLACE})}function F(){var M,Q=ne;return M={subscribe:function(Se){if(typeof Se!="object"||Se===null)throw new Error(i(11));function Ie(){Se.next&&Se.next(le())}Ie();var je=Q(Ie);return{unsubscribe:je}}},M[l]=function(){return this},M}return ee({type:f.INIT}),W={dispatch:ee,subscribe:ne,getState:le,replaceReducer:ie},W[l]=F,W}var _=null;function b(j){typeof console!="undefined"&&typeof console.error=="function"&&console.error(j);try{throw new Error(j)}catch(K){}}function A(j,K,V,W){var oe=Object.keys(K),ae=V&&V.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(!o(j))return"The "+ae+' has unexpected type of "'+p(j)+'". Expected argument to be an object with the following '+('keys: "'+oe.join('", "')+'"');var ce=Object.keys(j).filter(function(q){return!K.hasOwnProperty(q)&&!W[q]});if(ce.forEach(function(q){W[q]=!0}),!(V&&V.type===f.REPLACE)&&ce.length>0)return"Unexpected "+(ce.length>1?"keys":"key")+" "+('"'+ce.join('", "')+'" found in '+ae+". ")+"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(K){var V=j[K],W=V(void 0,{type:f.INIT});if(typeof W=="undefined")throw new Error(i(12));if(typeof V(void 0,{type:f.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(i(13))})}function L(j){for(var K=Object.keys(j),V={},W=0;W<K.length;W++){var oe=K[W];typeof j[oe]=="function"&&(V[oe]=j[oe])}var ae=Object.keys(V),ce,q;try{R(V)}catch(J){q=J}return function(Y,le){if(Y===void 0&&(Y={}),q)throw q;if(0)var ne;for(var ee=!1,ie={},F=0;F<ae.length;F++){var M=ae[F],Q=V[M],de=Y[M],Se=Q(de,le);if(typeof Se=="undefined"){var Ie=le&&le.type;throw new Error(i(14))}ie[M]=Se,ee=ee||Se!==de}return ee=ee||ae.length!==Object.keys(Y).length,ee?ie:Y}}function P(j,K){return function(){return K(j.apply(this,arguments))}}function D(j,K){if(typeof j=="function")return P(j,K);if(typeof j!="object"||j===null)throw new Error(i(16));var V={};for(var W in j){var oe=j[W];typeof oe=="function"&&(V[W]=P(oe,K))}return V}function B(){for(var j=arguments.length,K=new Array(j),V=0;V<j;V++)K[V]=arguments[V];return K.length===0?function(W){return W}:K.length===1?K[0]:K.reduce(function(W,oe){return function(){return W(oe.apply(void 0,arguments))}})}function $(){for(var j=arguments.length,K=new Array(j),V=0;V<j;V++)K[V]=arguments[V];return function(W){return function(){var oe=W.apply(void 0,arguments),ae=function(){throw new Error(i(15))},ce={getState:oe.getState,dispatch:function(){return ae.apply(void 0,arguments)}},q=K.map(function(J){return J(ce)});return ae=B.apply(void 0,q)(oe.dispatch),(0,r.Z)((0,r.Z)({},oe),{},{dispatch:ae})}}}},58246:function(d){var g=function(e){"use strict";var r=Object.prototype,i=r.hasOwnProperty,l=Object.defineProperty||function(ne,ee,ie){ne[ee]=ie.value},c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.asyncIterator||"@@asyncIterator",u=f.toStringTag||"@@toStringTag";function a(ne,ee,ie){return Object.defineProperty(ne,ee,{value:ie,enumerable:!0,configurable:!0,writable:!0}),ne[ee]}try{a({},"")}catch(ne){a=function(ee,ie,F){return ee[ie]=F}}function x(ne,ee,ie,F){var M=ee&&ee.prototype instanceof L?ee:L,Q=Object.create(M.prototype),de=new J(F||[]);return l(Q,"_invoke",{value:oe(ne,ie,de)}),Q}e.wrap=x;function p(ne,ee,ie){try{return{type:"normal",arg:ne.call(ee,ie)}}catch(F){return{type:"throw",arg:F}}}var y="suspendedStart",_="suspendedYield",b="executing",A="completed",R={};function L(){}function P(){}function D(){}var B={};a(B,o,function(){return this});var $=Object.getPrototypeOf,j=$&&$($(Y([])));j&&j!==r&&i.call(j,o)&&(B=j);var K=D.prototype=L.prototype=Object.create(B);P.prototype=D,l(K,"constructor",{value:D,configurable:!0}),l(D,"constructor",{value:P,configurable:!0}),P.displayName=a(D,u,"GeneratorFunction");function V(ne){["next","throw","return"].forEach(function(ee){a(ne,ee,function(ie){return this._invoke(ee,ie)})})}e.isGeneratorFunction=function(ne){var ee=typeof ne=="function"&&ne.constructor;return ee?ee===P||(ee.displayName||ee.name)==="GeneratorFunction":!1},e.mark=function(ne){return Object.setPrototypeOf?Object.setPrototypeOf(ne,D):(ne.__proto__=D,a(ne,u,"GeneratorFunction")),ne.prototype=Object.create(K),ne},e.awrap=function(ne){return{__await:ne}};function W(ne,ee){function ie(Q,de,Se,Ie){var je=p(ne[Q],ne,de);if(je.type==="throw")Ie(je.arg);else{var Fe=je.arg,Ft=Fe.value;return Ft&&typeof Ft=="object"&&i.call(Ft,"__await")?ee.resolve(Ft.__await).then(function(_t){ie("next",_t,Se,Ie)},function(_t){ie("throw",_t,Se,Ie)}):ee.resolve(Ft).then(function(_t){Fe.value=_t,Se(Fe)},function(_t){return ie("throw",_t,Se,Ie)})}}var F;function M(Q,de){function Se(){return new ee(function(Ie,je){ie(Q,de,Ie,je)})}return F=F?F.then(Se,Se):Se()}l(this,"_invoke",{value:M})}V(W.prototype),a(W.prototype,h,function(){return this}),e.AsyncIterator=W,e.async=function(ne,ee,ie,F,M){M===void 0&&(M=Promise);var Q=new W(x(ne,ee,ie,F),M);return e.isGeneratorFunction(ee)?Q:Q.next().then(function(de){return de.done?de.value:Q.next()})};function oe(ne,ee,ie){var F=y;return function(Q,de){if(F===b)throw new Error("Generator is already running");if(F===A){if(Q==="throw")throw de;return le()}for(ie.method=Q,ie.arg=de;;){var Se=ie.delegate;if(Se){var Ie=ae(Se,ie);if(Ie){if(Ie===R)continue;return Ie}}if(ie.method==="next")ie.sent=ie._sent=ie.arg;else if(ie.method==="throw"){if(F===y)throw F=A,ie.arg;ie.dispatchException(ie.arg)}else ie.method==="return"&&ie.abrupt("return",ie.arg);F=b;var je=p(ne,ee,ie);if(je.type==="normal"){if(F=ie.done?A:_,je.arg===R)continue;return{value:je.arg,done:ie.done}}else je.type==="throw"&&(F=A,ie.method="throw",ie.arg=je.arg)}}}function ae(ne,ee){var ie=ee.method,F=ne.iterator[ie];if(F===c)return ee.delegate=null,ie==="throw"&&ne.iterator.return&&(ee.method="return",ee.arg=c,ae(ne,ee),ee.method==="throw")||ie!=="return"&&(ee.method="throw",ee.arg=new TypeError("The iterator does not provide a '"+ie+"' method")),R;var M=p(F,ne.iterator,ee.arg);if(M.type==="throw")return ee.method="throw",ee.arg=M.arg,ee.delegate=null,R;var Q=M.arg;if(!Q)return ee.method="throw",ee.arg=new TypeError("iterator result is not an object"),ee.delegate=null,R;if(Q.done)ee[ne.resultName]=Q.value,ee.next=ne.nextLoc,ee.method!=="return"&&(ee.method="next",ee.arg=c);else return Q;return ee.delegate=null,R}V(K),a(K,u,"Generator"),a(K,o,function(){return this}),a(K,"toString",function(){return"[object Generator]"});function ce(ne){var ee={tryLoc:ne[0]};1 in ne&&(ee.catchLoc=ne[1]),2 in ne&&(ee.finallyLoc=ne[2],ee.afterLoc=ne[3]),this.tryEntries.push(ee)}function q(ne){var ee=ne.completion||{};ee.type="normal",delete ee.arg,ne.completion=ee}function J(ne){this.tryEntries=[{tryLoc:"root"}],ne.forEach(ce,this),this.reset(!0)}e.keys=function(ne){var ee=Object(ne),ie=[];for(var F in ee)ie.push(F);return ie.reverse(),function M(){for(;ie.length;){var Q=ie.pop();if(Q in ee)return M.value=Q,M.done=!1,M}return M.done=!0,M}};function Y(ne){if(ne){var ee=ne[o];if(ee)return ee.call(ne);if(typeof ne.next=="function")return ne;if(!isNaN(ne.length)){var ie=-1,F=function M(){for(;++ie<ne.length;)if(i.call(ne,ie))return M.value=ne[ie],M.done=!1,M;return M.value=c,M.done=!0,M};return F.next=F}}return{next:le}}e.values=Y;function le(){return{value:c,done:!0}}return J.prototype={constructor:J,reset:function(ne){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(q),!ne)for(var ee in this)ee.charAt(0)==="t"&&i.call(this,ee)&&!isNaN(+ee.slice(1))&&(this[ee]=c)},stop:function(){this.done=!0;var ne=this.tryEntries[0],ee=ne.completion;if(ee.type==="throw")throw ee.arg;return this.rval},dispatchException:function(ne){if(this.done)throw ne;var ee=this;function ie(Ie,je){return Q.type="throw",Q.arg=ne,ee.next=Ie,je&&(ee.method="next",ee.arg=c),!!je}for(var F=this.tryEntries.length-1;F>=0;--F){var M=this.tryEntries[F],Q=M.completion;if(M.tryLoc==="root")return ie("end");if(M.tryLoc<=this.prev){var de=i.call(M,"catchLoc"),Se=i.call(M,"finallyLoc");if(de&&Se){if(this.prev<M.catchLoc)return ie(M.catchLoc,!0);if(this.prev<M.finallyLoc)return ie(M.finallyLoc)}else if(de){if(this.prev<M.catchLoc)return ie(M.catchLoc,!0)}else if(Se){if(this.prev<M.finallyLoc)return ie(M.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(ne,ee){for(var ie=this.tryEntries.length-1;ie>=0;--ie){var F=this.tryEntries[ie];if(F.tryLoc<=this.prev&&i.call(F,"finallyLoc")&&this.prev<F.finallyLoc){var M=F;break}}M&&(ne==="break"||ne==="continue")&&M.tryLoc<=ee&&ee<=M.finallyLoc&&(M=null);var Q=M?M.completion:{};return Q.type=ne,Q.arg=ee,M?(this.method="next",this.next=M.finallyLoc,R):this.complete(Q)},complete:function(ne,ee){if(ne.type==="throw")throw ne.arg;return ne.type==="break"||ne.type==="continue"?this.next=ne.arg:ne.type==="return"?(this.rval=this.arg=ne.arg,this.method="return",this.next="end"):ne.type==="normal"&&ee&&(this.next=ee),R},finish:function(ne){for(var ee=this.tryEntries.length-1;ee>=0;--ee){var ie=this.tryEntries[ee];if(ie.finallyLoc===ne)return this.complete(ie.completion,ie.afterLoc),q(ie),R}},catch:function(ne){for(var ee=this.tryEntries.length-1;ee>=0;--ee){var ie=this.tryEntries[ee];if(ie.tryLoc===ne){var F=ie.completion;if(F.type==="throw"){var M=F.arg;q(ie)}return M}}throw new Error("illegal catch attempt")},delegateYield:function(ne,ee,ie){return this.delegate={iterator:Y(ne),resultName:ee,nextLoc:ie},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 J(Y,le){var ne=-1;return Y.some(function(ee,ie){return ee[0]===le?(ne=ie,!0):!1}),ne}return function(){function Y(){this.__entries__=[]}return Object.defineProperty(Y.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),Y.prototype.get=function(le){var ne=J(this.__entries__,le),ee=this.__entries__[ne];return ee&&ee[1]},Y.prototype.set=function(le,ne){var ee=J(this.__entries__,le);~ee?this.__entries__[ee][1]=ne:this.__entries__.push([le,ne])},Y.prototype.delete=function(le){var ne=this.__entries__,ee=J(ne,le);~ee&&ne.splice(ee,1)},Y.prototype.has=function(le){return!!~J(this.__entries__,le)},Y.prototype.clear=function(){this.__entries__.splice(0)},Y.prototype.forEach=function(le,ne){ne===void 0&&(ne=null);for(var ee=0,ie=this.__entries__;ee<ie.length;ee++){var F=ie[ee];le.call(ne,F[1],F[0])}},Y}()}(),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(J){return setTimeout(function(){return J(Date.now())},1e3/60)}}(),f=2;function o(J,Y){var le=!1,ne=!1,ee=0;function ie(){le&&(le=!1,J()),ne&&M()}function F(){c(ie)}function M(){var Q=Date.now();if(le){if(Q-ee<f)return;ne=!0}else le=!0,ne=!1,setTimeout(F,Y);ee=Q}return M}var h=20,u=["top","right","bottom","left","width","height","size","weight"],a=typeof MutationObserver!="undefined",x=function(){function J(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=o(this.refresh.bind(this),h)}return J.prototype.addObserver=function(Y){~this.observers_.indexOf(Y)||this.observers_.push(Y),this.connected_||this.connect_()},J.prototype.removeObserver=function(Y){var le=this.observers_,ne=le.indexOf(Y);~ne&&le.splice(ne,1),!le.length&&this.connected_&&this.disconnect_()},J.prototype.refresh=function(){var Y=this.updateObservers_();Y&&this.refresh()},J.prototype.updateObservers_=function(){var Y=this.observers_.filter(function(le){return le.gatherActive(),le.hasActive()});return Y.forEach(function(le){return le.broadcastActive()}),Y.length>0},J.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)},J.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)},J.prototype.onTransitionEnd_=function(Y){var le=Y.propertyName,ne=le===void 0?"":le,ee=u.some(function(ie){return!!~ne.indexOf(ie)});ee&&this.refresh()},J.getInstance=function(){return this.instance_||(this.instance_=new J),this.instance_},J.instance_=null,J}(),p=function(J,Y){for(var le=0,ne=Object.keys(Y);le<ne.length;le++){var ee=ne[le];Object.defineProperty(J,ee,{value:Y[ee],enumerable:!1,writable:!1,configurable:!0})}return J},y=function(J){var Y=J&&J.ownerDocument&&J.ownerDocument.defaultView;return Y||l},_=K(0,0,0,0);function b(J){return parseFloat(J)||0}function A(J){for(var Y=[],le=1;le<arguments.length;le++)Y[le-1]=arguments[le];return Y.reduce(function(ne,ee){var ie=J["border-"+ee+"-width"];return ne+b(ie)},0)}function R(J){for(var Y=["top","right","bottom","left"],le={},ne=0,ee=Y;ne<ee.length;ne++){var ie=ee[ne],F=J["padding-"+ie];le[ie]=b(F)}return le}function L(J){var Y=J.getBBox();return K(0,0,Y.width,Y.height)}function P(J){var Y=J.clientWidth,le=J.clientHeight;if(!Y&&!le)return _;var ne=y(J).getComputedStyle(J),ee=R(ne),ie=ee.left+ee.right,F=ee.top+ee.bottom,M=b(ne.width),Q=b(ne.height);if(ne.boxSizing==="border-box"&&(Math.round(M+ie)!==Y&&(M-=A(ne,"left","right")+ie),Math.round(Q+F)!==le&&(Q-=A(ne,"top","bottom")+F)),!B(J)){var de=Math.round(M+ie)-Y,Se=Math.round(Q+F)-le;Math.abs(de)!==1&&(M-=de),Math.abs(Se)!==1&&(Q-=Se)}return K(ee.left,ee.top,M,Q)}var D=function(){return typeof SVGGraphicsElement!="undefined"?function(J){return J instanceof y(J).SVGGraphicsElement}:function(J){return J instanceof y(J).SVGElement&&typeof J.getBBox=="function"}}();function B(J){return J===y(J).document.documentElement}function $(J){return i?D(J)?L(J):P(J):_}function j(J){var Y=J.x,le=J.y,ne=J.width,ee=J.height,ie=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,F=Object.create(ie.prototype);return p(F,{x:Y,y:le,width:ne,height:ee,top:le,right:Y+ne,bottom:ee+le,left:Y}),F}function K(J,Y,le,ne){return{x:J,y:Y,width:le,height:ne}}var V=function(){function J(Y){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=K(0,0,0,0),this.target=Y}return J.prototype.isActive=function(){var Y=$(this.target);return this.contentRect_=Y,Y.width!==this.broadcastWidth||Y.height!==this.broadcastHeight},J.prototype.broadcastRect=function(){var Y=this.contentRect_;return this.broadcastWidth=Y.width,this.broadcastHeight=Y.height,Y},J}(),W=function(){function J(Y,le){var ne=j(le);p(this,{target:Y,contentRect:ne})}return J}(),oe=function(){function J(Y,le,ne){if(this.activeObservations_=[],this.observations_=new r,typeof Y!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=Y,this.controller_=le,this.callbackCtx_=ne}return J.prototype.observe=function(Y){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(Y instanceof y(Y).Element))throw new TypeError('parameter 1 is not of type "Element".');var le=this.observations_;le.has(Y)||(le.set(Y,new V(Y)),this.controller_.addObserver(this),this.controller_.refresh())}},J.prototype.unobserve=function(Y){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(Y instanceof y(Y).Element))throw new TypeError('parameter 1 is not of type "Element".');var le=this.observations_;le.has(Y)&&(le.delete(Y),le.size||this.controller_.removeObserver(this))}},J.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},J.prototype.gatherActive=function(){var Y=this;this.clearActive(),this.observations_.forEach(function(le){le.isActive()&&Y.activeObservations_.push(le)})},J.prototype.broadcastActive=function(){if(this.hasActive()){var Y=this.callbackCtx_,le=this.activeObservations_.map(function(ne){return new W(ne.target,ne.broadcastRect())});this.callback_.call(Y,le,Y),this.clearActive()}},J.prototype.clearActive=function(){this.activeObservations_.splice(0)},J.prototype.hasActive=function(){return this.activeObservations_.length>0},J}(),ae=typeof WeakMap!="undefined"?new WeakMap:new r,ce=function(){function J(Y){if(!(this instanceof J))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var le=x.getInstance(),ne=new oe(Y,le,this);ae.set(this,ne)}return J}();["observe","unobserve","disconnect"].forEach(function(J){ce.prototype[J]=function(){var Y;return(Y=ae.get(this))[J].apply(Y,arguments)}});var q=function(){return typeof l.ResizeObserver!="undefined"?l.ResizeObserver:ce}();g.Z=q},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,o=f.now();g.unstable_now=function(){return f.now()-o}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var h=null,u=null,a=function(){if(h!==null)try{var F=g.unstable_now();h(!0,F),h=null}catch(M){throw setTimeout(a,0),M}};e=function(F){h!==null?setTimeout(e,0,F):(h=F,setTimeout(a,0))},r=function(F,M){u=setTimeout(F,M)},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,A=-1,R=5,L=0;g.unstable_shouldYield=function(){return g.unstable_now()>=L},l=function(){},g.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<F?Math.floor(1e3/F):5};var P=new MessageChannel,D=P.port2;P.port1.onmessage=function(){if(b!==null){var F=g.unstable_now();L=F+R;try{b(!0,F)?D.postMessage(null):(_=!1,b=null)}catch(M){throw D.postMessage(null),M}}else _=!1},e=function(F){b=F,_||(_=!0,D.postMessage(null))},r=function(F,M){A=x(function(){F(g.unstable_now())},M)},i=function(){p(A),A=-1}}function B(F,M){var Q=F.length;F.push(M);e:for(;;){var de=Q-1>>>1,Se=F[de];if(Se!==void 0&&0<K(Se,M))F[de]=M,F[Q]=Se,Q=de;else break e}}function $(F){return F=F[0],F===void 0?null:F}function j(F){var M=F[0];if(M!==void 0){var Q=F.pop();if(Q!==M){F[0]=Q;e:for(var de=0,Se=F.length;de<Se;){var Ie=2*(de+1)-1,je=F[Ie],Fe=Ie+1,Ft=F[Fe];if(je!==void 0&&0>K(je,Q))Ft!==void 0&&0>K(Ft,je)?(F[de]=Ft,F[Fe]=Q,de=Fe):(F[de]=je,F[Ie]=Q,de=Ie);else if(Ft!==void 0&&0>K(Ft,Q))F[de]=Ft,F[Fe]=Q,de=Fe;else break e}}return M}return null}function K(F,M){var Q=F.sortIndex-M.sortIndex;return Q!==0?Q:F.id-M.id}var V=[],W=[],oe=1,ae=null,ce=3,q=!1,J=!1,Y=!1;function le(F){for(var M=$(W);M!==null;){if(M.callback===null)j(W);else if(M.startTime<=F)j(W),M.sortIndex=M.expirationTime,B(V,M);else break;M=$(W)}}function ne(F){if(Y=!1,le(F),!J)if($(V)!==null)J=!0,e(ee);else{var M=$(W);M!==null&&r(ne,M.startTime-F)}}function ee(F,M){J=!1,Y&&(Y=!1,i()),q=!0;var Q=ce;try{for(le(M),ae=$(V);ae!==null&&(!(ae.expirationTime>M)||F&&!g.unstable_shouldYield());){var de=ae.callback;if(typeof de=="function"){ae.callback=null,ce=ae.priorityLevel;var Se=de(ae.expirationTime<=M);M=g.unstable_now(),typeof Se=="function"?ae.callback=Se:ae===$(V)&&j(V),le(M)}else j(V);ae=$(V)}if(ae!==null)var Ie=!0;else{var je=$(W);je!==null&&r(ne,je.startTime-M),Ie=!1}return Ie}finally{ae=null,ce=Q,q=!1}}var ie=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(F){F.callback=null},g.unstable_continueExecution=function(){J||q||(J=!0,e(ee))},g.unstable_getCurrentPriorityLevel=function(){return ce},g.unstable_getFirstCallbackNode=function(){return $(V)},g.unstable_next=function(F){switch(ce){case 1:case 2:case 3:var M=3;break;default:M=ce}var Q=ce;ce=M;try{return F()}finally{ce=Q}},g.unstable_pauseExecution=function(){},g.unstable_requestPaint=ie,g.unstable_runWithPriority=function(F,M){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var Q=ce;ce=F;try{return M()}finally{ce=Q}},g.unstable_scheduleCallback=function(F,M,Q){var de=g.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?de+Q:de):Q=de,F){case 1:var Se=-1;break;case 2:Se=250;break;case 5:Se=1073741823;break;case 4:Se=1e4;break;default:Se=5e3}return Se=Q+Se,F={id:oe++,callback:M,priorityLevel:F,startTime:Q,expirationTime:Se,sortIndex:-1},Q>de?(F.sortIndex=Q,B(W,F),$(V)===null&&F===$(W)&&(Y?i():Y=!0,r(ne,Q-de))):(F.sortIndex=Se,B(V,F),J||q||(J=!0,e(ee))),F},g.unstable_wrapCallback=function(F){var M=ce;return function(){var Q=ce;ce=M;try{return F.apply(this,arguments)}finally{ce=Q}}}},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 o=i[f];if(e[o]!==r[o]||!Object.prototype.hasOwnProperty.call(r,o))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),o=Object.keys(r);if(f.length!==o.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,o=r.useLayoutEffect,h=r.useDebugValue;function u(y,_){var b=_(),A=c({inst:{value:b,getSnapshot:_}}),R=A[0].inst,L=A[1];return o(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(A){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,o=r.useRef,h=r.useEffect,u=r.useMemo,a=r.useDebugValue;g.useSyncExternalStoreWithSelector=function(x,p,y,_,b){var A=o(null);if(A.current===null){var R={hasValue:!1,value:null};A.current=R}else R=A.current;A=u(function(){function P(K){if(!D){if(D=!0,B=K,K=_(K),b!==void 0&&R.hasValue){var V=R.value;if(b(V,K))return $=V}return $=K}if(V=$,c(B,K))return V;var W=_(K);return b!==void 0&&b(V,W)?(B=K,V):(B=K,$=W)}var D=!1,B,$,j=y===void 0?null:y;return[function(){return P(p())},j===null?void 0:function(){return P(j())}]},[p,y,_,b]);var L=f(x,A[0],A[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 o=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,A=(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(!o(A))throw TypeError("Stringified UUID is invalid");return A}var x=a;function p(_,b,A){_=_||{};var R=_.random||(_.rng||l)();if(R[6]=R[6]&15|64,R[8]=R[8]&63|128,b){A=A||0;for(var L=0;L<16;++L)b[A+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 o=1;o<f;o++)c[o-1]=arguments[o];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 o=2;o<f;o++)c[o-2]=arguments[o];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(){},32021:function(d,g,e){var r=e(85163).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,o=f.hasOwnProperty,h=Object.defineProperty||function(ie,F,M){ie[F]=M.value},u=typeof Symbol=="function"?Symbol:{},a=u.iterator||"@@iterator",x=u.asyncIterator||"@@asyncIterator",p=u.toStringTag||"@@toStringTag";function y(ie,F,M){return Object.defineProperty(ie,F,{value:M,enumerable:!0,configurable:!0,writable:!0}),ie[F]}try{y({},"")}catch(ie){y=function(M,Q,de){return M[Q]=de}}function _(ie,F,M,Q){var de=F&&F.prototype instanceof B?F:B,Se=Object.create(de.prototype),Ie=new ne(Q||[]);return h(Se,"_invoke",{value:q(ie,M,Ie)}),Se}function b(ie,F,M){try{return{type:"normal",arg:ie.call(F,M)}}catch(Q){return{type:"throw",arg:Q}}}c.wrap=_;var A="suspendedStart",R="suspendedYield",L="executing",P="completed",D={};function B(){}function $(){}function j(){}var K={};y(K,a,function(){return this});var V=Object.getPrototypeOf,W=V&&V(V(ee([])));W&&W!==f&&o.call(W,a)&&(K=W);var oe=j.prototype=B.prototype=Object.create(K);function ae(ie){["next","throw","return"].forEach(function(F){y(ie,F,function(M){return this._invoke(F,M)})})}function ce(ie,F){function M(de,Se,Ie,je){var Fe=b(ie[de],ie,Se);if(Fe.type!=="throw"){var Ft=Fe.arg,_t=Ft.value;return _t&&r(_t)=="object"&&o.call(_t,"__await")?F.resolve(_t.__await).then(function(Pt){M("next",Pt,Ie,je)},function(Pt){M("throw",Pt,Ie,je)}):F.resolve(_t).then(function(Pt){Ft.value=Pt,Ie(Ft)},function(Pt){return M("throw",Pt,Ie,je)})}je(Fe.arg)}var Q;h(this,"_invoke",{value:function(Se,Ie){function je(){return new F(function(Fe,Ft){M(Se,Ie,Fe,Ft)})}return Q=Q?Q.then(je,je):je()}})}function q(ie,F,M){var Q=A;return function(de,Se){if(Q===L)throw Error("Generator is already running");if(Q===P){if(de==="throw")throw Se;return{value:l,done:!0}}for(M.method=de,M.arg=Se;;){var Ie=M.delegate;if(Ie){var je=J(Ie,M);if(je){if(je===D)continue;return je}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(Q===A)throw Q=P,M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);Q=L;var Fe=b(ie,F,M);if(Fe.type==="normal"){if(Q=M.done?P:R,Fe.arg===D)continue;return{value:Fe.arg,done:M.done}}Fe.type==="throw"&&(Q=P,M.method="throw",M.arg=Fe.arg)}}}function J(ie,F){var M=F.method,Q=ie.iterator[M];if(Q===l)return F.delegate=null,M==="throw"&&ie.iterator.return&&(F.method="return",F.arg=l,J(ie,F),F.method==="throw")||M!=="return"&&(F.method="throw",F.arg=new TypeError("The iterator does not provide a '"+M+"' method")),D;var de=b(Q,ie.iterator,F.arg);if(de.type==="throw")return F.method="throw",F.arg=de.arg,F.delegate=null,D;var Se=de.arg;return Se?Se.done?(F[ie.resultName]=Se.value,F.next=ie.nextLoc,F.method!=="return"&&(F.method="next",F.arg=l),F.delegate=null,D):Se:(F.method="throw",F.arg=new TypeError("iterator result is not an object"),F.delegate=null,D)}function Y(ie){var F={tryLoc:ie[0]};1 in ie&&(F.catchLoc=ie[1]),2 in ie&&(F.finallyLoc=ie[2],F.afterLoc=ie[3]),this.tryEntries.push(F)}function le(ie){var F=ie.completion||{};F.type="normal",delete F.arg,ie.completion=F}function ne(ie){this.tryEntries=[{tryLoc:"root"}],ie.forEach(Y,this),this.reset(!0)}function ee(ie){if(ie||ie===""){var F=ie[a];if(F)return F.call(ie);if(typeof ie.next=="function")return ie;if(!isNaN(ie.length)){var M=-1,Q=function de(){for(;++M<ie.length;)if(o.call(ie,M))return de.value=ie[M],de.done=!1,de;return de.value=l,de.done=!0,de};return Q.next=Q}}throw new TypeError(r(ie)+" is not iterable")}return $.prototype=j,h(oe,"constructor",{value:j,configurable:!0}),h(j,"constructor",{value:$,configurable:!0}),$.displayName=y(j,p,"GeneratorFunction"),c.isGeneratorFunction=function(ie){var F=typeof ie=="function"&&ie.constructor;return!!F&&(F===$||(F.displayName||F.name)==="GeneratorFunction")},c.mark=function(ie){return Object.setPrototypeOf?Object.setPrototypeOf(ie,j):(ie.__proto__=j,y(ie,p,"GeneratorFunction")),ie.prototype=Object.create(oe),ie},c.awrap=function(ie){return{__await:ie}},ae(ce.prototype),y(ce.prototype,x,function(){return this}),c.AsyncIterator=ce,c.async=function(ie,F,M,Q,de){de===void 0&&(de=Promise);var Se=new ce(_(ie,F,M,Q),de);return c.isGeneratorFunction(F)?Se:Se.next().then(function(Ie){return Ie.done?Ie.value:Se.next()})},ae(oe),y(oe,p,"Generator"),y(oe,a,function(){return this}),y(oe,"toString",function(){return"[object Generator]"}),c.keys=function(ie){var F=Object(ie),M=[];for(var Q in F)M.push(Q);return M.reverse(),function de(){for(;M.length;){var Se=M.pop();if(Se in F)return de.value=Se,de.done=!1,de}return de.done=!0,de}},c.values=ee,ne.prototype={constructor:ne,reset:function(F){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(le),!F)for(var M in this)M.charAt(0)==="t"&&o.call(this,M)&&!isNaN(+M.slice(1))&&(this[M]=l)},stop:function(){this.done=!0;var F=this.tryEntries[0].completion;if(F.type==="throw")throw F.arg;return this.rval},dispatchException:function(F){if(this.done)throw F;var M=this;function Q(Ft,_t){return Ie.type="throw",Ie.arg=F,M.next=Ft,_t&&(M.method="next",M.arg=l),!!_t}for(var de=this.tryEntries.length-1;de>=0;--de){var Se=this.tryEntries[de],Ie=Se.completion;if(Se.tryLoc==="root")return Q("end");if(Se.tryLoc<=this.prev){var je=o.call(Se,"catchLoc"),Fe=o.call(Se,"finallyLoc");if(je&&Fe){if(this.prev<Se.catchLoc)return Q(Se.catchLoc,!0);if(this.prev<Se.finallyLoc)return Q(Se.finallyLoc)}else if(je){if(this.prev<Se.catchLoc)return Q(Se.catchLoc,!0)}else{if(!Fe)throw Error("try statement without catch or finally");if(this.prev<Se.finallyLoc)return Q(Se.finallyLoc)}}}},abrupt:function(F,M){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var de=this.tryEntries[Q];if(de.tryLoc<=this.prev&&o.call(de,"finallyLoc")&&this.prev<de.finallyLoc){var Se=de;break}}Se&&(F==="break"||F==="continue")&&Se.tryLoc<=M&&M<=Se.finallyLoc&&(Se=null);var Ie=Se?Se.completion:{};return Ie.type=F,Ie.arg=M,Se?(this.method="next",this.next=Se.finallyLoc,D):this.complete(Ie)},complete:function(F,M){if(F.type==="throw")throw F.arg;return F.type==="break"||F.type==="continue"?this.next=F.arg:F.type==="return"?(this.rval=this.arg=F.arg,this.method="return",this.next="end"):F.type==="normal"&&M&&(this.next=M),D},finish:function(F){for(var M=this.tryEntries.length-1;M>=0;--M){var Q=this.tryEntries[M];if(Q.finallyLoc===F)return this.complete(Q.completion,Q.afterLoc),le(Q),D}},catch:function(F){for(var M=this.tryEntries.length-1;M>=0;--M){var Q=this.tryEntries[M];if(Q.tryLoc===F){var de=Q.completion;if(de.type==="throw"){var Se=de.arg;le(Q)}return Se}}throw Error("illegal catch attempt")},delegateYield:function(F,M,Q){return this.delegate={iterator:ee(F),resultName:M,nextLoc:Q},this.method==="next"&&(this.arg=l),D}},c}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},85163: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},14759:function(d,g,e){var r=e(32021)();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 o="",h=0;h<arguments.length;h++){var u=arguments[h];u&&(o=f(o,c(u)))}return o}function c(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return l.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var h="";for(var u in o)i.call(o,u)&&o[u]&&(h=f(h,u));return h}function f(o,h){return h?o?o+" "+h:o+h:o}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),o=e(4112),h=e(53776),u=e(59893),a=u("asyncDispose"),x=u("dispose"),p=i([].push),y=function(b,A){if(A==="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,A,R){return arguments.length<3&&!o(b)&&(R=f(y(c(b),A))),R===void 0?function(){}:l(R,b)};d.exports=function(b,A,R,L){var P;if(arguments.length<4){if(o(A)&&R==="sync-dispose")return;P=_(A,R)}else P=_(void 0,R,L);p(b.stack,P)}},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(o){f[c][o]=!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),o=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,A=p.prototype,R=i(b.slice),L=l(b,"resizable","get"),P=l(b,"maxByteLength","get"),D=i(A.getInt8),B=i(A.setInt8);d.exports=(u||h)&&function($,j,K){var V=o($),W=j===void 0?V:c(j),oe=!L||!L($),ae;if(f($))throw new y("ArrayBuffer is detached");if(u&&($=a($,{transfer:[$]}),V===W&&(K||oe)))return $;if(V>=W&&(!K||oe))ae=R($,0,W);else{var ce=K&&!oe&&P?{maxByteLength:P($)}:void 0;ae=new x(W,ce);for(var q=new p($),J=new p(ae),Y=_(W,V),le=0;le<Y;le++)B(J,le,D(q,le))}return u||h($),ae}},58261:function(d,g,e){"use strict";var r=e(3737),i=e(35454),l=e(92916),c=e(55327),f=e(31946),o=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),A=e(59893),R=e(6145),L=e(94844),P=L.enforce,D=L.get,B=l.Int8Array,$=B&&B.prototype,j=l.Uint8ClampedArray,K=j&&j.prototype,V=B&&_(B),W=$&&_($),oe=Object.prototype,ae=l.TypeError,ce=A("toStringTag"),q=R("TYPED_ARRAY_TAG"),J="TypedArrayConstructor",Y=r&&!!b&&h(l.opera)!=="Opera",le=!1,ne,ee,ie,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},M={BigInt64Array:8,BigUint64Array:8},Q=function(Pt){if(!f(Pt))return!1;var Qt=h(Pt);return Qt==="DataView"||o(F,Qt)||o(M,Qt)},de=function(_t){var Pt=_(_t);if(f(Pt)){var Qt=D(Pt);return Qt&&o(Qt,J)?Qt[J]:de(Pt)}},Se=function(_t){if(!f(_t))return!1;var Pt=h(_t);return o(F,Pt)||o(M,Pt)},Ie=function(_t){if(Se(_t))return _t;throw new ae("Target is not a typed array")},je=function(_t){if(c(_t)&&(!b||y(V,_t)))return _t;throw new ae(u(_t)+" is not a typed array constructor")},Fe=function(_t,Pt,Qt,Jt){if(i){if(Qt)for(var qt in F){var Xe=l[qt];if(Xe&&o(Xe.prototype,_t))try{delete Xe.prototype[_t]}catch(It){try{Xe.prototype[_t]=Pt}catch(Ut){}}}(!W[_t]||Qt)&&x(W,_t,Qt?Pt:Y&&$[_t]||Pt,Jt)}},Ft=function(_t,Pt,Qt){var Jt,qt;if(i){if(b){if(Qt){for(Jt in F)if(qt=l[Jt],qt&&o(qt,_t))try{delete qt[_t]}catch(Xe){}}if(!V[_t]||Qt)try{return x(V,_t,Qt?Pt:Y&&V[_t]||Pt)}catch(Xe){}else return}for(Jt in F)qt=l[Jt],qt&&(!qt[_t]||Qt)&&x(qt,_t,Pt)}};for(ne in F)ee=l[ne],ie=ee&&ee.prototype,ie?P(ie)[J]=ee:Y=!1;for(ne in M)ee=l[ne],ie=ee&&ee.prototype,ie&&(P(ie)[J]=ee);if((!Y||!c(V)||V===Function.prototype)&&(V=function(){throw new ae("Incorrect invocation")},Y))for(ne in F)l[ne]&&b(l[ne],V);if((!Y||!W||W===oe)&&(W=V.prototype,Y))for(ne in F)l[ne]&&b(l[ne].prototype,W);if(Y&&_(K)!==W&&b(K,W),i&&!o(W,ce)){le=!0,p(W,ce,{configurable:!0,get:function(){return f(this)?this[q]:void 0}});for(ne in F)l[ne]&&a(l[ne],q,ne)}d.exports={NATIVE_ARRAY_BUFFER_VIEWS:Y,TYPED_ARRAY_TAG:le&&q,aTypedArray:Ie,aTypedArrayConstructor:je,exportTypedArrayMethod:Fe,exportTypedArrayStaticMethod:Ft,getTypedArrayConstructor:de,isView:Q,isTypedArray:Se,TypedArray:V,TypedArrayPrototype:W}},91669:function(d,g,e){"use strict";var r=e(92916),i=e(94237),l=e(35454),c=e(3737),f=e(8090),o=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),A=e(61618),R=e(53456),L=e(58218),P=e(80689).f,D=e(75202),B=e(71698),$=e(94573),j=e(94844),K=f.PROPER,V=f.CONFIGURABLE,W="ArrayBuffer",oe="DataView",ae="prototype",ce="Wrong length",q="Wrong index",J=j.getterFor(W),Y=j.getterFor(oe),le=j.set,ne=r[W],ee=ne,ie=ee&&ee[ae],F=r[oe],M=F&&F[ae],Q=Object.prototype,de=r.Array,Se=r.RangeError,Ie=i(D),je=i([].reverse),Fe=A.pack,Ft=A.unpack,_t=function(Me){return[Me&255]},Pt=function(Me){return[Me&255,Me>>8&255]},Qt=function(Me){return[Me&255,Me>>8&255,Me>>16&255,Me>>24&255]},Jt=function(Me){return Me[3]<<24|Me[2]<<16|Me[1]<<8|Me[0]},qt=function(Me){return Fe(b(Me),23,4)},Xe=function(Me){return Fe(Me,52,8)},It=function(Me,$e,He){h(Me[ae],$e,{configurable:!0,get:function(){return He(this)[$e]}})},Ut=function(Me,$e,He,nt){var ct=Y(Me),Gt=_(He),Ht=!!nt;if(Gt+$e>ct.byteLength)throw new Se(q);var Oe=ct.bytes,Je=Gt+ct.byteOffset,Wt=B(Oe,Je,Je+$e);return Ht?Wt:je(Wt)},ot=function(Me,$e,He,nt,ct,Gt){var Ht=Y(Me),Oe=_(He),Je=nt(+ct),Wt=!!Gt;if(Oe+$e>Ht.byteLength)throw new Se(q);for(var kt=Ht.bytes,Zt=Oe+Ht.byteOffset,Bt=0;Bt<$e;Bt++)kt[Zt+Bt]=Je[Wt?Bt:$e-Bt-1]};if(!c)ee=function($e){x(this,ie);var He=_($e);le(this,{type:W,bytes:Ie(de(He),0),byteLength:He}),l||(this.byteLength=He,this.detached=!1)},ie=ee[ae],F=function($e,He,nt){x(this,M),x($e,ie);var ct=J($e),Gt=ct.byteLength,Ht=p(He);if(Ht<0||Ht>Gt)throw new Se("Wrong offset");if(nt=nt===void 0?Gt-Ht:y(nt),Ht+nt>Gt)throw new Se(ce);le(this,{type:oe,buffer:$e,byteLength:nt,byteOffset:Ht,bytes:ct.bytes}),l||(this.buffer=$e,this.byteLength=nt,this.byteOffset=Ht)},M=F[ae],l&&(It(ee,"byteLength",J),It(F,"buffer",Y),It(F,"byteLength",Y),It(F,"byteOffset",Y)),u(M,{getInt8:function($e){return Ut(this,1,$e)[0]<<24>>24},getUint8:function($e){return Ut(this,1,$e)[0]},getInt16:function($e){var He=Ut(this,2,$e,arguments.length>1?arguments[1]:!1);return(He[1]<<8|He[0])<<16>>16},getUint16:function($e){var He=Ut(this,2,$e,arguments.length>1?arguments[1]:!1);return He[1]<<8|He[0]},getInt32:function($e){return Jt(Ut(this,4,$e,arguments.length>1?arguments[1]:!1))},getUint32:function($e){return Jt(Ut(this,4,$e,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function($e){return Ft(Ut(this,4,$e,arguments.length>1?arguments[1]:!1),23)},getFloat64:function($e){return Ft(Ut(this,8,$e,arguments.length>1?arguments[1]:!1),52)},setInt8:function($e,He){ot(this,1,$e,_t,He)},setUint8:function($e,He){ot(this,1,$e,_t,He)},setInt16:function($e,He){ot(this,2,$e,Pt,He,arguments.length>2?arguments[2]:!1)},setUint16:function($e,He){ot(this,2,$e,Pt,He,arguments.length>2?arguments[2]:!1)},setInt32:function($e,He){ot(this,4,$e,Qt,He,arguments.length>2?arguments[2]:!1)},setUint32:function($e,He){ot(this,4,$e,Qt,He,arguments.length>2?arguments[2]:!1)},setFloat32:function($e,He){ot(this,4,$e,qt,He,arguments.length>2?arguments[2]:!1)},setFloat64:function($e,He){ot(this,8,$e,Xe,He,arguments.length>2?arguments[2]:!1)}});else{var bt=K&&ne.name!==W;if(!a(function(){ne(1)})||!a(function(){new ne(-1)})||a(function(){return new ne,new ne(1.5),new ne(NaN),ne.length!==1||bt&&!V})){ee=function($e){return x(this,ie),new ne(_($e))},ee[ae]=ie;for(var ht=P(ne),et=0,Ue;ht.length>et;)(Ue=ht[et++])in ee||o(ee,Ue,ne[Ue]);ie.constructor=ee}else bt&&V&&o(ne,"name",W);L&&R(M)!==Q&&L(M,Q);var ye=new F(new ee(2)),Pe=i(M.setInt8);ye.setInt8(0,2147483648),ye.setInt8(1,2147483649),(ye.getInt8(0)||!ye.getInt8(1))&&u(M,{setInt8:function($e,He){Pe(this,$e,He<<24>>24)},setUint8:function($e,He){Pe(this,$e,He<<24>>24)}},{unsafe:!0})}$(ee,W),$(F,oe),d.exports={ArrayBuffer:ee,DataView:F}},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),A=1;for(y<p&&p<y+b&&(A=-1,y+=b-1,p+=b-1);b-- >0;)y in a?a[p]=a[y]:c(a,p),p+=A,y+=A;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 o=r(this),h=l(o),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;)o[a++]=f;return o}},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),o=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,A=y("asyncIterator"),R=i(p("Array","values")),L=i(R([]).next),P=function(){return new D(this)},D=function(B){this.iterator=R(B)};D.prototype.next=function(){return L(this.iterator)},d.exports=function($){var j=this,K=arguments.length,V=K>1?arguments[1]:void 0,W=K>2?arguments[2]:void 0;return new(x("Promise"))(function(oe){var ae=l($);V!==void 0&&(V=r(V,W));var ce=a(ae,A),q=ce?void 0:u(ae)||P,J=c(j)?new j:[],Y=ce?f(ae,ce):new _(h(o(ae,q)));oe(b(Y,V,J))})}},69478:function(d,g,e){"use strict";var r=e(82762);d.exports=function(i,l,c){for(var f=0,o=arguments.length>2?c:r(l),h=new i(o);o>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),o=e(39812),h=e(82762),u=e(69392),a=e(85428),x=e(26006),p=Array;d.exports=function(_){var b=l(_),A=o(this),R=arguments.length,L=R>1?arguments[1]:void 0,P=L!==void 0;P&&(L=r(L,R>2?arguments[2]:void 0));var D=x(b),B=0,$,j,K,V,W,oe;if(D&&!(this===p&&f(D)))for(V=a(b,D),W=V.next,j=A?new this:[];!(K=i(W,V)).done;B++)oe=P?c(V,L,[K.value,B],!0):K.value,u(j,B,oe);else for($=h(b),j=A?new this($):p($);$>B;B++)oe=P?L(b[B],B):b[B],u(j,B,oe);return j.length=B,j}},33940:function(d,g,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(82762),o=e(2786),h=o.Map,u=o.get,a=o.has,x=o.set,p=i([].push);d.exports=function(_){for(var b=c(this),A=l(b),R=r(_,arguments.length>1?arguments[1]:void 0),L=new h,P=f(A),D=0,B,$;P>D;D++)$=A[D],B=R($,D,b),a(L,B)?p(u(L,B),$):x(L,B,[$]);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),o=e(82762),h=e(20132),u=e(69478),a=Array,x=i([].push);d.exports=function(p,y,_,b){for(var A=c(p),R=l(A),L=r(y,_),P=h(null),D=o(R),B=0,$,j,K;D>B;B++)K=R[B],j=f(L(K,B,A)),j in P?x(P[j],K):P[j]=[K];if(b&&($=b(A),$!==a))for(j in P)P[j]=u($,P[j]);return P}},22999:function(d,g,e){"use strict";var r=e(80524),i=e(51981),l=e(82762),c=function(f){return function(o,h,u){var a=r(o),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(o){var h=o===1;return function(u,a,x){for(var p=l(u),y=i(p),_=c(y),b=r(a,x),A,R;_-- >0;)if(A=y[_],R=b(A,_,p),R)switch(o){case 0:return A;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),o=e(81427),h=i([].push),u=function(a){var x=a===1,p=a===2,y=a===3,_=a===4,b=a===6,A=a===7,R=a===5||b;return function(L,P,D,B){for(var $=c(L),j=l($),K=f(j),V=r(P,D),W=0,oe=B||o,ae=x?oe(L,K):p||A?oe(L,0):void 0,ce,q;K>W;W++)if((R||W in j)&&(ce=j[W],q=V(ce,W,$),a))if(x)ae[W]=q;else if(q)switch(a){case 3:return!0;case 5:return ce;case 6:return W;case 2:h(ae,ce)}else switch(a){case 4:return!1;case 7:h(ae,ce)}return b?-1:y||_?_:ae}};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),o=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(_),A=b-1;for(arguments.length>1&&(A=o(A,l(arguments[1]))),A<0&&(A=b+A);A>=0;A--)if(A in _&&_[A]===y)return A||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 o=[],h=o.constructor={};return h[c]=function(){return{foo:1}},o[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,o=function(h){return function(u,a,x,p){var y=i(u),_=l(y),b=c(y);r(a);var A=h?b-1:0,R=h?-1:1;if(x<2)for(;;){if(A in _){p=_[A],A+=R;break}if(A+=R,h?A<0:b<=A)throw new f("Reduce of empty array with no initial value")}for(;h?A>=0:b>A;A+=R)A in _&&(p=a(p,_[A],A,y));return p}};d.exports={left:o(!1),right:o(!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(o){return o instanceof TypeError}}();d.exports=f?function(o,h){if(i(o)&&!c(o,"length").writable)throw new l("Cannot set read only .length");return o.length=h}:function(o,h){return o.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(o,h,u){for(var a=i(o),x=r(h,a),p=r(u===void 0?a:u,a),y=c(f(p-x,0)),_=0;x<p;x++,_++)l(y,_,o[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(o,h){var u=o.length,a=i(u/2);return u<8?c(o,h):f(o,l(r(o,0,a),h),l(r(o,a),h),h)},c=function(o,h){for(var u=o.length,a=1,x,p;a<u;){for(p=a,x=o[a];p&&h(o[p-1],x)>0;)o[p]=o[--p];p!==a++&&(o[p]=x)}return o},f=function(o,h,u,a){for(var x=h.length,p=u.length,y=0,_=0;y<x||_<p;)o[y+_]=y<x&&_<p?a(h[y],u[_])<=0?h[y++]:u[_++]:y<x?h[y++]:u[_++];return o};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"),o=Array;d.exports=function(h){var u;return r(h)&&(u=h.constructor,i(u)&&(u===o||r(u.prototype))?u=void 0:l(u)&&(u=u[f],u===null&&(u=void 0))),u===void 0?o: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),o=0;o<c;o++)f[o]=i[c-o-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),o=e(2786),h=e(95037),u=o.Map,a=o.has,x=o.set,p=r([].push);d.exports=function(_){var b=f(this),A=c(b),R=[],L=new u,P=l(_)?function(j){return j}:i(_),D,B,$;for(D=0;D<A;D++)B=b[D],$=P(B),a(L,$)||x(L,$,B);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,o,h){var u=r(c),a=i(o),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),o=e(94844),h=e(65911),u=e(14052),a=e(25587),x=h("Promise"),p="AsyncFromSyncIterator",y=o.set,_=o.getterFor(p),b=function(R,L,P){var D=R.done;x.resolve(R.value).then(function(B){L(a(B,D))},P)},A=function(L){L.type=p,y(this,L)};A.prototype=f(l(u),{next:function(){var L=_(this);return new x(function(P,D){var B=i(r(L.next,L.iterator));b(B,P,D)})},return:function(){var R=_(this).iterator;return new x(function(L,P){var D=c(R,"return");if(D===void 0)return L(a(void 0,!0));var B=i(r(D,R));b(B,L,P)})}}),d.exports=A},28255:function(d,g,e){"use strict";var r=e(89945),i=e(65911),l=e(53776);d.exports=function(c,f,o,h){try{var u=l(c,"return");if(u)return i("Promise").resolve(r(u,c)).then(function(){f(o)},function(a){h(a)})}catch(a){return h(a)}f(o)}},31342:function(d,g,e){"use strict";var r=e(89945),i=e(80734),l=e(80449),c=e(20132),f=e(68151),o=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"),A=h("toStringTag"),R="AsyncIteratorHelper",L="WrapForValidAsyncIterator",P=u.set,D=function(j){var K=!j,V=u.getterFor(j?L:R),W=function(oe){var ae=i(function(){return V(oe)}),ce=ae.error,q=ae.value;return ce||K&&q.done?{exit:!0,value:ce?b.reject(q):b.resolve(y(void 0,!0))}:{exit:!1,value:q}};return o(c(p),{next:function(){var ae=W(this),ce=ae.value;if(ae.exit)return ce;var q=i(function(){return l(ce.nextHandler(b))}),J=q.error,Y=q.value;return J&&(ce.done=!0),J?b.reject(Y):b.resolve(Y)},return:function(){var oe=W(this),ae=oe.value;if(oe.exit)return ae;ae.done=!0;var ce=ae.iterator,q,J,Y=i(function(){if(ae.inner)try{_(ae.inner.iterator,"normal")}catch(le){return _(ce,"throw",le)}return x(ce,"return")});return q=J=Y.value,Y.error?b.reject(J):q===void 0?b.resolve(y(void 0,!0)):(Y=i(function(){return r(q,ce)}),J=Y.value,Y.error?b.reject(J):j?b.resolve(J):b.resolve(J).then(function(le){return l(le),y(void 0,!0)}))}})},B=D(!0),$=D(!1);f($,A,"Async Iterator Helper"),d.exports=function(j,K){var V=function(oe,ae){ae?(ae.iterator=oe.iterator,ae.next=oe.next):ae=oe,ae.type=K?L:R,ae.nextHandler=j,ae.counter=0,ae.done=!1,P(this,ae)};return V.prototype=K?B:$,V}},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),o=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(A,R,L){l(A);var P=R!==void 0;(P||!p)&&i(R);var D=h(A),B=o("Promise"),$=D.iterator,j=D.next,K=0;return new B(function(V,W){var oe=function(ce){u($,W,ce,W)},ae=function(){try{if(P)try{f(K)}catch(ce){oe(ce)}B.resolve(l(r(j,$))).then(function(ce){try{if(l(ce).done)p?(L.length=K,V(L)):V(b?!1:_||void 0);else{var q=ce.value;try{if(P){var J=R(q,K),Y=function(le){if(y)ae();else if(_)le?ae():u($,V,!1,W);else if(p)try{L[K++]=le,ae()}catch(ne){oe(ne)}else le?u($,V,b||q,W):ae()};c(J)?B.resolve(J).then(Y,oe):Y(J)}else L[K++]=q,ae()}catch(le){oe(le)}}}catch(le){W(le)}},W)}catch(ce){W(ce)}};ae()})}};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),o=e(31342),h=e(25587),u=e(28255),a=o(function(x){var p=this,y=p.iterator,_=p.mapper;return new x(function(b,A){var R=function(P){p.done=!0,A(P)},L=function(P){u(y,R,P,R)};x.resolve(l(r(p.next,y))).then(function(P){try{if(l(P).done)p.done=!0,b(h(void 0,!0));else{var D=P.value;try{var B=_(D,p.counter++),$=function(j){b(h(j,!1))};c(B)?x.resolve(B).then($,L):$(B)}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),o=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(A){}_?u&&(_=c(_)):_={},l(_[x])||o(_,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,o){try{return o?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(o){}d.exports=function(o,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}}}},o(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"),o=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=o(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),o=e(62003),h=[].push;d.exports=function(a){var x=arguments.length,p=x>1?arguments[1]:void 0,y,_,b,A;return c(this),y=p!==void 0,y&&l(p),f(a)?new this:(_=[],y?(b=0,A=r(p,x>2?arguments[2]:void 0),o(a,function(R){i(h,_,A(R,b++))})):o(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),o=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,A=_.getterFor;d.exports={getConstructor:function(R,L,P,D){var B=R(function(W,oe){f(W,$),b(W,{type:L,index:r(null),first:void 0,last:void 0,size:0}),p||(W.size=0),o(oe)||h(oe,W[D],{that:W,AS_ENTRIES:P})}),$=B.prototype,j=A(L),K=function(W,oe,ae){var ce=j(W),q=V(W,oe),J,Y;return q?q.value=ae:(ce.last=q={index:Y=y(oe,!0),key:oe,value:ae,previous:J=ce.last,next:void 0,removed:!1},ce.first||(ce.first=q),J&&(J.next=q),p?ce.size++:W.size++,Y!=="F"&&(ce.index[Y]=q)),W},V=function(W,oe){var ae=j(W),ce=y(oe),q;if(ce!=="F")return ae.index[ce];for(q=ae.first;q;q=q.next)if(q.key===oe)return q};return l($,{clear:function(){for(var oe=this,ae=j(oe),ce=ae.index,q=ae.first;q;)q.removed=!0,q.previous&&(q.previous=q.previous.next=void 0),delete ce[q.index],q=q.next;ae.first=ae.last=void 0,p?ae.size=0:oe.size=0},delete:function(W){var oe=this,ae=j(oe),ce=V(oe,W);if(ce){var q=ce.next,J=ce.previous;delete ae.index[ce.index],ce.removed=!0,J&&(J.next=q),q&&(q.previous=J),ae.first===ce&&(ae.first=q),ae.last===ce&&(ae.last=J),p?ae.size--:oe.size--}return!!ce},forEach:function(oe){for(var ae=j(this),ce=c(oe,arguments.length>1?arguments[1]:void 0),q;q=q?q.next:ae.first;)for(ce(q.value,q.key,this);q&&q.removed;)q=q.previous},has:function(oe){return!!V(this,oe)}}),l($,P?{get:function(oe){var ae=V(this,oe);return ae&&ae.value},set:function(oe,ae){return K(this,oe===0?0:oe,ae)}}:{add:function(oe){return K(this,oe=oe===0?0:oe,oe)}}),p&&i($,"size",{configurable:!0,get:function(){return j(this).size}}),B},setStrong:function(R,L,P){var D=L+" Iterator",B=A(L),$=A(D);u(R,L,function(j,K){b(this,{type:D,target:j,state:B(j),kind:K,last:void 0})},function(){for(var j=$(this),K=j.kind,V=j.last;V&&V.removed;)V=V.previous;return!j.target||!(j.last=V=V?V.next:j.state.first)?(j.target=void 0,a(void 0,!0)):a(K==="keys"?V.key:K==="values"?V.value:[V.key,V.value],!1)},P?"entries":"values",!P,!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),o=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,A=a.findIndex,R=r([].splice),L=0,P=function($){return $.frozen||($.frozen=new D)},D=function(){this.entries=[]},B=function($,j){return b($.entries,function(K){return K[0]===j})};D.prototype={get:function($){var j=B(this,$);if(j)return j[1]},has:function($){return!!B(this,$)},set:function($,j){var K=B(this,$);K?K[1]=j:this.entries.push([$,j])},delete:function($){var j=A(this.entries,function(K){return K[0]===$});return~j&&R(this.entries,j,1),!!~j}},d.exports={getConstructor:function($,j,K,V){var W=$(function(q,J){c(q,oe),y(q,{type:j,id:L++,frozen:void 0}),o(J)||u(J,q[V],{that:q,AS_ENTRIES:K})}),oe=W.prototype,ae=_(j),ce=function(q,J,Y){var le=ae(q),ne=l(f(J),!0);return ne===!0?P(le).set(J,Y):ne[le.id]=Y,q};return i(oe,{delete:function(q){var J=ae(this);if(!h(q))return!1;var Y=l(q);return Y===!0?P(J).delete(q):Y&&x(Y,J.id)&&delete Y[J.id]},has:function(J){var Y=ae(this);if(!h(J))return!1;var le=l(J);return le===!0?P(Y).has(J):le&&x(le,Y.id)}}),i(oe,K?{get:function(J){var Y=ae(this);if(h(J)){var le=l(J);return le===!0?P(Y).get(J):le?le[Y.id]:void 0}},set:function(J,Y){return ce(this,J,Y)}}:{add:function(J){return ce(this,J,!0)}}),W}}},48059:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(20865),f=e(2291),o=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),A=e(25576);d.exports=function(R,L,P){var D=R.indexOf("Map")!==-1,B=R.indexOf("Weak")!==-1,$=D?"set":"add",j=i[R],K=j&&j.prototype,V=j,W={},oe=function(ne){var ee=l(K[ne]);f(K,ne,ne==="add"?function(F){return ee(this,F===0?0:F),this}:ne==="delete"?function(ie){return B&&!p(ie)?!1:ee(this,ie===0?0:ie)}:ne==="get"?function(F){return B&&!p(F)?void 0:ee(this,F===0?0:F)}:ne==="has"?function(F){return B&&!p(F)?!1:ee(this,F===0?0:F)}:function(F,M){return ee(this,F===0?0:F,M),this})},ae=c(R,!a(j)||!(B||K.forEach&&!y(function(){new j().entries().next()})));if(ae)V=P.getConstructor(L,R,D,$),o.enable();else if(c(R,!0)){var ce=new V,q=ce[$](B?{}:-0,1)!==ce,J=y(function(){ce.has(1)}),Y=_(function(ne){new j(ne)}),le=!B&&y(function(){for(var ne=new j,ee=5;ee--;)ne[$](ee,ee);return!ne.has(-0)});Y||(V=L(function(ne,ee){u(ne,K);var ie=A(new j,ne,V);return x(ee)||h(ee,ie[$],{that:ie,AS_ENTRIES:D}),ie}),V.prototype=K,K.constructor=V),(J||le)&&(oe("delete"),oe("has"),D&&oe("get")),(le||q)&&oe($),B&&K.clear&&delete K.clear}return W[R]=V,r({global:!0,constructor:!0,forced:V!==j},W),b(V,R),B||P.setStrong(V,R,D),V}},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,o=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 o),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,o,h){for(var u=i(o),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(o,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(o){}}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(o,h,u,a){var x=l(i(o)),p="<"+h;return u!==""&&(p+=" "+u+'="'+f(l(a),c,""")+'"'),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,o){return i.f(c,f,l(1,o))}:function(c,f,o){return c[f]=o,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,o){var h=r(f);h in c?i.f(c,h,l(0,o)):c[h]=o}},32494:function(d,g,e){"use strict";var r=e(94237),i=e(3338),l=e(85571).start,c=RangeError,f=isFinite,o=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),A=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 P=this,D=p(P),B=_(P),$=D<0?"-":D>9999?"+":"";return $+l(o(D),$?6:4,0)+"-"+l(A(P)+1,2,0)+"-"+l(x(P),2,0)+"T"+l(y(P),2,0)+":"+l(b(P),2,0)+":"+l(R(P),2,0)+"."+l(B,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,o,h,u){u||(u={});var a=u.enumerable,x=u.name!==void 0?u.name:o;if(r(h)&&l(h,x,u),u.global)a?f[o]=h:c(o,h);else{try{u.unsafe?f[o]&&(a=!0):delete f[o]}catch(p){}a?f[o]=h:i.f(f,o,{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,o=r.MessageChannel,h=!1,u,a,x,p;if(l)h=function(y){c(y,{transfer:[y]})};else if(f)try{o||(u=i("worker_threads"),u&&(o=u.MessageChannel)),o&&(a=new o,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,o=f&&f.v8,h,u;o&&(h=o.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]*/,o=f.test(c);d.exports=function(h,u){if(o&&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,o,h,u){l&&(c?c(f,o):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,o=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=o?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),o=e(24538),h=e(20865);d.exports=function(u,a){var x=u.target,p=u.global,y=u.stat,_,b,A,R,L,P;if(p?b=r:y?b=r[x]||f(x,{}):b=(r[x]||{}).prototype,b)for(A in a){if(L=a[A],u.dontCallGetSet?(P=i(b,A),R=P&&P.value):R=b[A],_=h(p?A:x+(y?".":"#")+A,u.forced),!_&&R!==void 0){if(typeof L==typeof R)continue;o(L,R)}(u.sham||R&&R.sham)&&l(L,"sham",!0),c(b,A,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),o=e(68151),h=f("species"),u=RegExp.prototype;d.exports=function(a,x,p,y){var _=f(a),b=!c(function(){var P={};return P[_]=function(){return 7},""[a](P)!==7}),A=b&&!c(function(){var P=!1,D=/a/;return a==="split"&&(D={},D.constructor={},D.constructor[h]=function(){return D},D.flags="",D[_]=/./[_]),D.exec=function(){return P=!0,null},D[_](""),!P});if(!b||!A||p){var R=r(/./[_]),L=x(_,""[a],function(P,D,B,$,j){var K=r(P),V=D.exec;return V===l||V===u.exec?b&&!j?{done:!0,value:R(D,B,$)}:{done:!0,value:K(B,D,$)}:{done:!1}});i(String.prototype,a,L[0]),i(u,_,L[1])}y&&o(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(o,h,u,a,x,p,y,_){for(var b=x,A=0,R=y?c(y,_):!1,L,P;A<a;)A in u&&(L=R?R(u[A],A,h):u[A],p>0&&r(L)?(P=i(L),b=f(o,h,L,P,b,p-1)-1):(l(b+1),o[b]=L),b++),A++;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,o){return i(f),o===void 0?f:l?c(f,o):function(){return f.apply(o,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),o=e(40486),h=Function,u=r([].concat),a=r([].join),x={},p=function(y,_,b){if(!c(x,_)){for(var A=[],R=0;R<_;R++)A[R]="a["+R+"]";x[_]=h("C,a","return new C("+a(A,",")+")")}return x[_](y,b)};d.exports=o?h.bind:function(_){var b=i(this),A=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(A)&&(L.prototype=A),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"),o=f&&function(){}.name==="something",h=f&&(!r||r&&c(l,"name").configurable);d.exports={EXISTS:f,PROPER:o,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(o){}}},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),o=e(53776),h=e(59893),u=e(57975),a=h("asyncIterator");d.exports=function(x){var p=l(x),y=!0,_=o(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),o=e(53776),h=e(59893),u=h("asyncIterator");d.exports=function(a,x){var p=arguments.length<2?o(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,o){(!o||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),o=f("iterator");d.exports=function(h){if(!l(h))return i(h,o)||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),o=TypeError;d.exports=function(h,u){var a=arguments.length<2?f(h):u;if(i(a))return l(r(a,h));throw new o(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),o=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"?o(a,p):(typeof p=="number"||c(p)==="Number"||c(p)==="String")&&o(a,f(p))}var y=a.length,_=!0;return function(b,A){if(_)return _=!1,A;if(i(this))return A;for(var R=0;R<y;R++)if(a[R]===b)return A}}}},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),o="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(o);var _=c(y);if(_<0)throw new h(o);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),o=r("".slice),h=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;d.exports=function(a,x,p,y,_,b){var A=p+a.length,R=y.length,L=u;return _!==void 0&&(_=i(_),L=h),f(b,L,function(P,D){var B;switch(c(D,0)){case"$":return"$";case"&":return a;case"`":return o(x,0,p);case"'":return o(x,A);case"<":B=_[o(D,1,-1)];break;default:var $=+D;if($===0)return P;if($>R){var j=l($/10);return j===0?P:j<=R?y[j-1]===void 0?c(D,1):y[j-1]+c(D,1):P}B=y[$-1]}return B===void 0?"":B})}},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,o){return l(i(f),o)}},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,A=h<0||h===0&&1/h<0?1:0,R=0,L,P,D;for(h=e(h),h!==h||h===1/0?(P=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?(P=0,L=y):L+_>=1?(P=(h*D-1)*r(2,u),L+=_):(P=h*r(2,_-1)*r(2,u),L=0));u>=8;)x[R++]=P&255,P/=256,u-=8;for(L=L<<u|P,p+=u;p>0;)x[R++]=L&255,L/=256,p-=8;return x[--R]|=A*128,x},o=function(h,u){var a=h.length,x=a*8-u-1,p=(1<<x)-1,y=p>>1,_=x-7,b=a-1,A=h[b--],R=A&127,L;for(A>>=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:A?-1/0:1/0;L+=r(2,u),R-=y}return(A?-1:1)*L*r(2,R-u)};d.exports={pack:f,unpack:o}},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(o){return l(o)==="String"?f(o,""):c(o)}:c},25576:function(d,g,e){"use strict";var r=e(55327),i=e(31946),l=e(58218);d.exports=function(c,f,o){var h,u;return l&&r(h=f.constructor)&&h!==o&&i(u=h.prototype)&&u!==o.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),o=e(37691).f,h=e(80689),u=e(53393),a=e(12477),x=e(6145),p=e(13247),y=!1,_=x("meta"),b=0,A=function($){o($,_,{value:{objectID:"O"+b++,weakData:{}}})},R=function($,j){if(!c($))return typeof $=="symbol"?$:(typeof $=="string"?"S":"P")+$;if(!f($,_)){if(!a($))return"F";if(!j)return"E";A($)}return $[_].objectID},L=function($,j){if(!f($,_)){if(!a($))return!0;if(!j)return!1;A($)}return $[_].weakData},P=function($){return p&&y&&a($)&&!f($,_)&&A($),$},D=function(){B.enable=function(){},y=!0;var $=h.f,j=i([].splice),K={};K[_]=1,$(K).length&&(h.f=function(V){for(var W=$(V),oe=0,ae=W.length;oe<ae;oe++)if(W[oe]===_){j(W,oe,1);break}return W},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},B=d.exports={enable:D,fastKey:R,getWeakData:L,onFreeze:P};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),o=e(77398),h=e(11898),u=e(54406),a="Object already initialized",x=i.TypeError,p=i.WeakMap,y,_,b,A=function(D){return b(D)?_(D):y(D,{})},R=function(D){return function(B){var $;if(!l(B)||($=_(B)).type!==D)throw new x("Incompatible receiver, "+D+" required");return $}};if(r||o.state){var L=o.state||(o.state=new p);L.get=L.get,L.has=L.has,L.set=L.set,y=function(D,B){if(L.has(D))throw new x(a);return B.facade=D,L.set(D,B),B},_=function(D){return L.get(D)||{}},b=function(D){return L.has(D)}}else{var P=h("state");u[P]=!0,y=function(D,B){if(f(D,P))throw new x(a);return B.facade=D,c(D,P,B),B},_=function(D){return f(D,P)?D[P]:{}},b=function(D){return f(D,P)}}d.exports={set:y,get:_,has:b,enforce:A,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),o=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,o(R))}catch(L){return!0}};b.sham=!0,d.exports=!a||i(function(){var A;return _(_.call)||!_(Object)||!_(function(){A=!0})||A})?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=o[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()},o=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),o=c("iterator"),h=Object;d.exports=function(u){if(l(u))return!1;var a=h(u);return a[o]!==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 o;return r(f)&&((o=f[c])!==void 0?!!o: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(o){return typeof o=="symbol"}:function(o){var h=r("Symbol");return i(h)&&l(h.prototype,f(o))}},43545:function(d,g,e){"use strict";var r=e(89945);d.exports=function(i,l,c){for(var f=c?i:i.iterator,o=i.next,h,u;!(h=r(o,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),o=e(82762),h=e(16332),u=e(85428),a=e(26006),x=e(67996),p=TypeError,y=function(b,A){this.stopped=b,this.result=A},_=y.prototype;d.exports=function(b,A,R){var L=R&&R.that,P=!!(R&&R.AS_ENTRIES),D=!!(R&&R.IS_RECORD),B=!!(R&&R.IS_ITERATOR),$=!!(R&&R.INTERRUPTED),j=r(A,L),K,V,W,oe,ae,ce,q,J=function(le){return K&&x(K,"normal",le),new y(!0,le)},Y=function(le){return P?(l(le),$?j(le[0],le[1],J):j(le[0],le[1])):$?j(le,J):j(le)};if(D)K=b.iterator;else if(B)K=b;else{if(V=a(b),!V)throw new p(c(b)+" is not iterable");if(f(V)){for(W=0,oe=o(b);oe>W;W++)if(ae=Y(b[W]),ae&&h(_,ae))return ae;return new y(!1)}K=u(b,V)}for(ce=D?b.next:K.next;!(q=i(ce,K)).done;){try{ae=Y(q.value)}catch(le){x(K,"throw",le)}if(typeof ae=="object"&&ae&&h(_,ae))return ae}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,o){var h,u;i(c);try{if(h=l(c,"return"),!h){if(f==="throw")throw o;return o}h=r(h,c)}catch(a){u=!0,h=a}if(f==="throw")throw o;if(u)throw h;return i(h),o}},83126:function(d,g,e){"use strict";var r=e(46571).IteratorPrototype,i=e(20132),l=e(35012),c=e(94573),f=e(48074),o=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]=o,h}},20547:function(d,g,e){"use strict";var r=e(89945),i=e(20132),l=e(68151),c=e(66477),f=e(59893),o=e(94844),h=e(53776),u=e(46571).IteratorPrototype,a=e(25587),x=e(67996),p=f("toStringTag"),y="IteratorHelper",_="WrapForValidIterator",b=o.set,A=function(P){var D=o.getterFor(P?_:y);return c(i(u),{next:function(){var $=D(this);if(P)return $.nextHandler();try{var j=$.done?void 0:$.nextHandler();return a(j,$.done)}catch(K){throw $.done=!0,K}},return:function(){var B=D(this),$=B.iterator;if(B.done=!0,P){var j=h($,"return");return j?r(j,$):a(void 0,!0)}if(B.inner)try{x(B.inner.iterator,"normal")}catch(K){return x($,"throw",K)}return x($,"normal"),a(void 0,!0)}})},R=A(!0),L=A(!1);l(L,p,"Iterator Helper"),d.exports=function(P,D){var B=function(j,K){K?(K.iterator=j.iterator,K.next=j.next):K=j,K.type=D?_:y,K.nextHandler=P,K.counter=0,K.done=!1,b(this,K)};return B.prototype=D?R:L,B}},24019:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(16697),c=e(8090),f=e(55327),o=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),A=c.PROPER,R=c.CONFIGURABLE,L=b.IteratorPrototype,P=b.BUGGY_SAFARI_ITERATORS,D=y("iterator"),B="keys",$="values",j="entries",K=function(){return this};d.exports=function(V,W,oe,ae,ce,q,J){o(oe,W,ae);var Y=function(Ie){if(Ie===ce&&F)return F;if(!P&&Ie&&Ie in ee)return ee[Ie];switch(Ie){case B:return function(){return new oe(this,Ie)};case $:return function(){return new oe(this,Ie)};case j:return function(){return new oe(this,Ie)}}return function(){return new oe(this)}},le=W+" Iterator",ne=!1,ee=V.prototype,ie=ee[D]||ee["@@iterator"]||ce&&ee[ce],F=!P&&ie||Y(ce),M=W==="Array"&&ee.entries||ie,Q,de,Se;if(M&&(Q=h(M.call(new V)),Q!==Object.prototype&&Q.next&&(!l&&h(Q)!==L&&(u?u(Q,L):f(Q[D])||p(Q,D,K)),a(Q,le,!0,!0),l&&(_[le]=K))),A&&ce===$&&ie&&ie.name!==$&&(!l&&R?x(ee,"name",$):(ne=!0,F=function(){return i(ie,this)})),ce)if(de={values:Y($),keys:q?F:Y(B),entries:Y(j)},J)for(Se in de)(P||ne||!(Se in ee))&&p(ee,Se,de[Se]);else r({target:W,proto:!0,forced:P||ne},de);return(!l||J)&&ee[D]!==F&&p(ee,D,F,{name:ce}),_[W]=F,de}},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),o=e(46319),h=f(function(){var u=this.iterator,a=l(r(this.next,u)),x=this.done=!!a.done;if(!x)return o(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),o=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 A={};return p[a].call(A)!==A});b?p={}:u&&(p=c(p)),i(p[a])||o(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),o=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),A=r([].join),R=f&&!i(function(){return y(function(){},"length",{value:8}).length!==8}),L=String(String).split("String"),P=d.exports=function(D,B,$){_(p(B),0,7)==="Symbol("&&(B="["+b(p(B),/^Symbol\(([^)]*)\)/,"$1")+"]"),$&&$.getter&&(B="get "+B),$&&$.setter&&(B="set "+B),(!c(D,"name")||o&&D.name!==B)&&(f?y(D,"name",{value:B,configurable:!0}):D.name=B),R&&$&&c($,"arity")&&D.length!==$.arity&&y(D,"length",{value:$.arity});try{$&&c($,"constructor")&&$.constructor?f&&y(D,"prototype",{writable:!1}):D.prototype&&(D.prototype=void 0)}catch(K){}var j=a(D);return c(j,"source")||(j.source=A(L,typeof B=="string"?B:"")),D};Function.prototype.toString=P(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,o=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])}):o(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(o){return r(o,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(o){return o+c-c};d.exports=function(o,h,u,a){var x=+o,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(o){return r(o,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,o=+r,h=+i,u=+l,a=+c;return f!==f||o!==o||h!==h||u!==u||a!==a?NaN:f===1/0||f===-1/0?f:(f-o)*(a-u)/(h-o)+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),o=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"),A=b&&b.value,R,L,P,D,B;if(!A){var $=new f,j=function(){var K,V;for(a&&(K=y.domain)&&K.exit();V=$.get();)try{V()}catch(W){throw $.head&&R(),W}K&&K.enter()};!o&&!a&&!u&&x&&p?(L=!0,P=p.createTextNode(""),new x(j).observe(P,{characterData:!0}),R=function(){P.data=L=!L}):!h&&_&&_.resolve?(D=_.resolve(void 0),D.constructor=_,B=i(D.then,D),R=function(){B(j)}):a?R=function(){y.nextTick(j)}:(c=i(c,r),R=function(){c(j)}),A=function(K){$.head||R(),$.add(K)}}d.exports=A},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,o;this.promise=new c(function(h,u){if(f!==void 0||o!==void 0)throw new i("Bad Promise constructor");f=h,o=u}),this.resolve=r(f),this.reject=r(o)};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,o=e(19268),h=l("".charAt),u=r.parseFloat,a=r.Symbol,x=a&&a.iterator,p=1/u(o+"-0")!==-1/0||x&&!i(function(){u(Object(x))});d.exports=p?function(_){var b=f(c(_)),A=u(b);return A===0&&h(b,0)==="-"?-0:A}: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,o=e(19268),h=r.parseInt,u=r.Symbol,a=u&&u.iterator,x=/^[+-]?0x/i,p=l(x.exec),y=h(o+"08")!==8||h(o+"0x16")!==22||a&&!i(function(){h(Object(a))});d.exports=y?function(b,A){var R=f(c(b));return h(R,A>>>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),o=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,P,D,B,$,j){if(typeof L!=B||P!==1/0&&P!==-1/0&&typeof P!=B)throw new _(u);if(L===1/0||L===-1/0)throw new y(u);var K=P>L,V=!1,W;if(D===void 0)W=void 0;else if(f(D))W=D.step,V=!!D.inclusive;else if(typeof D==B)W=D;else throw new _(u);if(c(W)&&(W=K?j:-j),typeof W!=B)throw new _(u);if(W===1/0||W===-1/0||W===$&&L!==P)throw new y(u);var oe=L!==L||P!==P||W!==W||P>L!=W>$;x(this,{type:a,start:L,end:P,step:W,inclusive:V,hitsEnd:oe,currentCount:$,zero:$}),h||(this.start=L,this.end=P,this.step=W,this.inclusive=V)},a,function(){var L=p(this);if(L.hitsEnd)return l(void 0,!0);var P=L.start,D=L.end,B=L.step,$=P+B*L.currentCount++;$===D&&(L.hitsEnd=!0);var j=L.inclusive,K;return D>P?K=j?$>D:$>=D:K=j?D>$:D>=$,K?(L.hitsEnd=!0,l(void 0,!0)):l($,!1)}),A=function(R){o(b.prototype,R,{get:function(){return p(this)[R]},set:function(){},configurable:!0,enumerable:!1})};h&&(A("start"),A("end"),A("inclusive"),A("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),o=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={},A=Symbol("assign detection"),R="abcdefghijklmnopqrst";return _[A]=7,R.split("").forEach(function(L){b[L]=L}),x({},_)[A]!==7||f(x({},b)).join("")!==R})?function(b,A){for(var R=u(b),L=arguments.length,P=1,D=o.f,B=h.f;L>P;)for(var $=a(arguments[P++]),j=D?y(f($),D($)):f($),K=j.length,V=0,W;K>V;)W=j[V++],(!r||l(B,$,W))&&(R[W]=$[W]);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),o=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},A=function(D){D.write(b("")),D.close();var B=D.parentWindow.Object;return D=null,B},R=function(){var D=o("iframe"),B="java"+p+":",$;return D.style.display="none",f.appendChild(D),D.src=String(B),$=D.contentWindow.document,$.open(),$.write(b("document.F=Object")),$.close(),$.F},L,P=function(){try{L=new ActiveXObject("htmlfile")}catch(B){}P=typeof document!="undefined"?document.domain&&L?A(L):R():A(L);for(var D=l.length;D--;)delete P[x][l[D]];return P()};c[y]=!0,d.exports=Object.create||function(B,$){var j;return B!==null?(_[x]=r(B),j=new _,_[x]=null,j[y]=B):j=P(),$===void 0?j:i.f(j,$)}},55666:function(d,g,e){"use strict";var r=e(35454),i=e(93199),l=e(37691),c=e(80449),f=e(80524),o=e(7733);g.f=r&&!i?Object.defineProperties:function(u,a){c(u);for(var x=f(a),p=o(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),o=TypeError,h=Object.defineProperty,u=Object.getOwnPropertyDescriptor,a="enumerable",x="configurable",p="writable";g.f=r?l?function(_,b,A){if(c(_),b=f(b),c(A),typeof _=="function"&&b==="prototype"&&"value"in A&&p in A&&!A[p]){var R=u(_,b);R&&R[p]&&(_[b]=A.value,A={configurable:x in A?A[x]:R[x],enumerable:a in A?A[a]:R[a],writable:!1})}return h(_,b,A)}:h:function(_,b,A){if(c(_),b=f(b),c(A),i)try{return h(_,b,A)}catch(R){}if("get"in A||"set"in A)throw new o("Accessors not supported");return"value"in A&&(_[b]=A.value),_}},71256:function(d,g,e){"use strict";var r=e(35454),i=e(89945),l=e(27597),c=e(35012),f=e(80524),o=e(17818),h=e(32621),u=e(46796),a=Object.getOwnPropertyDescriptor;g.f=r?a:function(p,y){if(p=f(p),y=o(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):[],o=function(h){try{return l(h)}catch(u){return c(f)}};d.exports.f=function(u){return f&&r(u)==="Window"?o(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),o=c("IE_PROTO"),h=Object,u=h.prototype;d.exports=f?h.getPrototypeOf:function(a){var x=l(a);if(r(x,o))return x[o];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,o=r(function(){f(1)});d.exports=o||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),o=e(94029),h="Object Iterator",u=r.set,a=r.getterFor(h);d.exports=i(function(p,y){var _=o(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),o=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)&&o(p,y);for(;u.length>x;)i(a,y=u[x++])&&(~c(p,y)||o(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={},o;try{o=r(Object.prototype,"__proto__","set"),o(f,[]),c=f instanceof Array}catch(h){}return function(u,a){return i(u),l(a),c?o(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),o=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=o(_),A=f(b),R=x&&c(b)===null,L=A.length,P=0,D=[],B;L>P;)B=A[P++],(!r||(R?B in b:u(b,B)))&&a(D,y?[B,b[B]]:b[B]);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,o){var h,u;if(o==="string"&&i(h=f.toString)&&!l(u=r(h,f))||i(h=f.valueOf)&&!l(u=r(h,f))||o!=="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),o=i([].concat);d.exports=r("Reflect","ownKeys")||function(u){var a=l.f(f(u)),x=c.f;return x?o(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,o=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,A="";_<y.length;){var R=o(y,_);if(R==="\\"){var L=h(y,_,_+2);if(i(a,L))A+=a[L],_+=2;else if(L==="\\u"){_+=2;var P=h(y,_,_+4);if(!u(x,P))throw new l("Bad Unicode escape at: "+_);A+=f(c(P,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: "+_);A+=R,_++}}if(b)throw new l("Unterminated string at: "+_);return{value:A,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),o=e(59893),h=e(66994),u=e(91821),a=e(16697),x=e(46573),p=i&&i.prototype,y=o("species"),_=!1,b=l(r.PromiseRejectionEvent),A=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 P=new i(function($){$(1)}),D=function($){$(function(){},function(){})},B=P.constructor={};if(B[y]=D,_=P.then(function(){})instanceof D,!_)return!0}return!L&&(h||u)&&!b});d.exports={CONSTRUCTOR:A,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 o=l.f(c),h=o.resolve;return h(f),o.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"),o=i([].push),h=l("metadata"),u=h.store||(h.store=new f),a=function(A,R,L){var P=u.get(A);if(!P){if(!L)return;u.set(A,P=new c)}var D=P.get(R);if(!D){if(!L)return;P.set(R,D=new c)}return D},x=function(A,R,L){var P=a(R,L,!1);return P===void 0?!1:P.has(A)},p=function(A,R,L){var P=a(R,L,!1);return P===void 0?void 0:P.get(A)},y=function(A,R,L,P){a(L,P,!0).set(A,R)},_=function(A,R){var L=a(A,R,!1),P=[];return L&&L.forEach(function(D,B){o(P,B)}),P},b=function(A){return A===void 0||typeof A=="symbol"?A:String(A)};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),o=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 o("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),o=e(77898),h=e(20132),u=e(94844).get,a=e(6041),x=e(51224),p=o("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,_=y,b=i("".charAt),A=i("".indexOf),R=i("".replace),L=i("".slice),P=function(){var j=/a/,K=/b*/g;return r(y,j,"a"),r(y,K,"a"),j.lastIndex!==0||K.lastIndex!==0}(),D=f.BROKEN_CARET,B=/()??/.exec("")[1]!==void 0,$=P||B||D||a||x;$&&(_=function(K){var V=this,W=u(V),oe=l(K),ae=W.raw,ce,q,J,Y,le,ne,ee;if(ae)return ae.lastIndex=V.lastIndex,ce=r(_,ae,oe),V.lastIndex=ae.lastIndex,ce;var ie=W.groups,F=D&&V.sticky,M=r(c,V),Q=V.source,de=0,Se=oe;if(F&&(M=R(M,"y",""),A(M,"g")===-1&&(M+="g"),Se=L(oe,V.lastIndex),V.lastIndex>0&&(!V.multiline||V.multiline&&b(oe,V.lastIndex-1)!==`
|
|
|
`)&&(Q="(?: "+Q+")",Se=" "+Se,de++),q=new RegExp("^(?:"+Q+")",M)),B&&(q=new RegExp("^"+Q+"$(?!\\s)",M)),P&&(J=V.lastIndex),Y=r(y,F?q:V,Se),F?Y?(Y.input=L(Y.input,de),Y[0]=L(Y[0],de),Y.index=V.lastIndex,V.lastIndex+=Y[0].length):V.lastIndex=0:P&&Y&&(V.lastIndex=V.global?Y.index+Y[0].length:J),B&&Y&&Y.length>1&&r(p,Y[0],q,function(){for(le=1;le<arguments.length-2;le++)arguments[le]===void 0&&(Y[le]=void 0)}),Y&&ie)for(Y.groups=ne=h(null),le=0;le<ie.length;le++)ee=ie[le],ne[ee[0]]=Y[ee[1]];return Y}),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(o){var h=o.flags;return h===void 0&&!("flags"in f)&&!i(o,"flags")&&l(f,o)?r(c,o):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}),o=c||r(function(){var h=l("^r","gy");return h.lastIndex=2,h.exec("str")!==null});d.exports={BROKEN_CARET:o,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),o=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 A=h(arguments.length,1)>y,R=l(_)?_:u(_),L=A?o(arguments,y):[],P=A?function(){i(R,this,L)}:R;return p?x(P,b):x(P)}: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 o=new l;return i(f,function(h){c(o,h)}),o}},10038:function(d,g,e){"use strict";var r=e(17442),i=e(19691),l=e(61838),c=e(108),f=e(88203),o=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?o(y,function(A){_.includes(A)&&a(b,A)}):h(_.getIterator(),function(A){u(y,A)&&a(b,A)}),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),o=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?o(_.getIterator(),function(A){a(y,A)&&u(b,A)}):f(y,function(A){_.includes(A)&&u(b,A)}),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),o=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 o(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(o){var h=r(this),u=c(o);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),o=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 o(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,o=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):o(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(o){var h=r(o);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),o=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):o(_,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,o,h){f&&!h&&(f=f.prototype),f&&!i(f,c)&&r(f,c,{configurable:!0,value:o})}},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(o,h){var u=r(o).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,o=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 A=x[b++];if(A===void 0)throw new f("Incorrect template");if(o(_,l(A)),b===p)return h(_,"");b<y&&o(_,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),o=r("".charCodeAt),h=r("".slice),u=function(a){return function(x,p){var y=l(c(x)),_=i(p),b=y.length,A,R;return _<0||_>=b?a?"":void 0:(A=o(y,_),A<55296||A>56319||_+1===b||(R=o(y,_+1))<56320||R>57343?a?f(y,_):A:a?h(y,_,_+2):(A-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),o=r(c),h=r("".slice),u=Math.ceil,a=function(x){return function(p,y,_){var b=l(f(p)),A=i(y),R=b.length,L=_===void 0?" ":l(_),P,D;return A<=R||L===""?b:(P=A-R,D=o(L,u(P/L.length)),D.length>P&&(D=h(D,0,P)),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),o=i("".charCodeAt),h=i("".indexOf),u=i("".slice),a=48,x=57,p=97,y=102,_=65,b=70,A=function(P,D){var B=o(P,D);return B>=a&&B<=x},R=function(P,D,B){if(B>=P.length)return-1;for(var $=0;D<B;D++){var j=L(o(P,D));if(j===-1)return-1;$=$*16+j}return $},L=function(P){return P>=a&&P<=x?P-a:P>=p&&P<=y?P-p+10:P>=_&&P<=b?P-_+10:-1};d.exports=function(P){for(var D="",B=0,$=0,j;($=h(P,"\\",$))>-1;){if(D+=u(P,B,$),++$===P.length)return;var K=f(P,$++);switch(K){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":$<P.length&&f(P,$)===`
|
|
|
`&&++$;case`
|
|
|
`:case"\u2028":case"\u2029":break;case"0":if(A(P,$))return;D+="\0";break;case"x":if(j=R(P,$,$+2),j===-1)return;$+=2,D+=l(j);break;case"u":if($<P.length&&f(P,$)==="{"){var V=h(P,"}",++$);if(V===-1)return;j=R(P,$,V),$=V+1}else j=R(P,$,$+4),$+=4;if(j===-1||j>1114111)return;D+=c(j);break;default:if(A(K,0))return;D+=K}B=$}return D+u(P,B)}},93245:function(d,g,e){"use strict";var r=e(94237),i=2147483647,l=36,c=1,f=26,o=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,A=RangeError,R=r(y.exec),L=Math.floor,P=String.fromCharCode,D=r("".charCodeAt),B=r([].join),$=r([].push),j=r("".replace),K=r("".split),V=r("".toLowerCase),W=function(q){for(var J=[],Y=0,le=q.length;Y<le;){var ne=D(q,Y++);if(ne>=55296&&ne<=56319&&Y<le){var ee=D(q,Y++);(ee&64512)===56320?$(J,((ne&1023)<<10)+(ee&1023)+65536):($(J,ne),Y--)}else $(J,ne)}return J},oe=function(q){return q+22+75*(q<26)},ae=function(q,J,Y){var le=0;for(q=Y?L(q/h):q>>1,q+=L(q/J);q>b*f>>1;)q=L(q/b),le+=l;return L(le+(b+1)*q/(q+o))},ce=function(q){var J=[];q=W(q);var Y=q.length,le=a,ne=0,ee=u,ie,F;for(ie=0;ie<q.length;ie++)F=q[ie],F<128&&$(J,P(F));var M=J.length,Q=M;for(M&&$(J,x);Q<Y;){var de=i;for(ie=0;ie<q.length;ie++)F=q[ie],F>=le&&F<de&&(de=F);var Se=Q+1;if(de-le>L((i-ne)/Se))throw new A(_);for(ne+=(de-le)*Se,le=de,ie=0;ie<q.length;ie++){if(F=q[ie],F<le&&++ne>i)throw new A(_);if(F===le){for(var Ie=ne,je=l;;){var Fe=je<=ee?c:je>=ee+f?f:je-ee;if(Ie<Fe)break;var Ft=Ie-Fe,_t=l-Fe;$(J,P(oe(Fe+Ft%_t))),Ie=L(Ft/_t),je+=l}$(J,P(oe(Ie))),ee=ae(ne,Se,Q===M),ne=0,Q++}}ne++,le++}return B(J,"")};d.exports=function(q){var J=[],Y=K(j(V(q),y,"."),"."),le,ne;for(le=0;le<Y.length;le++)ne=Y[le],$(J,R(p,ne)?"xn--"+ce(ne):ne);return B(J,".")}},71049:function(d,g,e){"use strict";var r=e(56902),i=e(69905),l=e(95955),c=RangeError;d.exports=function(o){var h=i(l(this)),u="",a=r(o);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),o=RegExp("^["+c+"]+"),h=RegExp("(^|[^"+c+"])["+c+"]+$"),u=function(a){return function(x){var p=l(i(x));return a&1&&(p=f(p,o,"")),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),o=e(90946),h=r.structuredClone;d.exports=!!h&&!i(function(){if(f&&l>92||o&&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"),o=f&&f.prototype,h=o&&o.valueOf,u=l("toPrimitive");o&&!o[u]&&c(o,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),o=i("Symbol"),h=o.isWellKnownSymbol,u=i("Object","getOwnPropertyNames"),a=l(o.prototype.valueOf),x=r("wks"),p=0,y=u(o),_=y.length;p<_;p++)try{var b=y[p];c(o[b])&&f(b)}catch(A){}d.exports=function(R){if(h&&h(R))return!0;try{for(var L=a(R),P=0,D=u(x),B=D.length;P<B;P++)if(x[D[P]]==L)return!0}catch($){}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),o=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,A=r.process,R=r.Dispatch,L=r.Function,P=r.MessageChannel,D=r.String,B=0,$={},j="onreadystatechange",K,V,W,oe;o(function(){K=r.location});var ae=function(Y){if(f($,Y)){var le=$[Y];delete $[Y],le()}},ce=function(Y){return function(){ae(Y)}},q=function(Y){ae(Y.data)},J=function(Y){r.postMessage(D(Y),K.protocol+"//"+K.host)};(!_||!b)&&(_=function(le){x(arguments.length,1);var ne=c(le)?le:L(le),ee=u(arguments,1);return $[++B]=function(){i(ne,void 0,ee)},V(B),B},b=function(le){delete $[le]},y?V=function(Y){A.nextTick(ce(Y))}:R&&R.now?V=function(Y){R.now(ce(Y))}:P&&!p?(W=new P,oe=W.port2,W.port1.onmessage=q,V=l(oe.postMessage,oe)):r.addEventListener&&c(r.postMessage)&&!r.importScripts&&K&&K.protocol!=="file:"&&!o(J)?(V=J,r.addEventListener("message",q,!1)):j in a("script")?V=function(Y){h.appendChild(a("script"))[j]=function(){h.removeChild(this),ae(Y)}}:V=function(Y){setTimeout(ce(Y),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 o=r(c);return o<0?i(o+f,0):l(o,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),o=i(f);if(f!==o)throw new l("Wrong length or index");return o}},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),o=e(59893),h=TypeError,u=o("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"),o=function(h){return c(h)&&typeof h.size=="number"&&i(h.has)&&i(h.keys)};d.exports=function(h){return o(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),o=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),A=e(86350),R=e(17818),L=e(32621),P=e(97607),D=e(31946),B=e(18446),$=e(20132),j=e(16332),K=e(58218),V=e(80689).f,W=e(50706),oe=e(90560).forEach,ae=e(51996),ce=e(64110),q=e(37691),J=e(71256),Y=e(94844),le=e(25576),ne=Y.get,ee=Y.set,ie=Y.enforce,F=q.f,M=J.f,Q=i.RangeError,de=h.ArrayBuffer,Se=de.prototype,Ie=h.DataView,je=o.NATIVE_ARRAY_BUFFER_VIEWS,Fe=o.TYPED_ARRAY_TAG,Ft=o.TypedArray,_t=o.TypedArrayPrototype,Pt=o.aTypedArrayConstructor,Qt=o.isTypedArray,Jt="BYTES_PER_ELEMENT",qt="Wrong length",Xe=function(et,Ue){Pt(et);for(var ye=0,Pe=Ue.length,Me=new et(Pe);Pe>ye;)Me[ye]=Ue[ye++];return Me},It=function(et,Ue){ce(et,Ue,{configurable:!0,get:function(){return ne(this)[Ue]}})},Ut=function(et){var Ue;return j(Se,et)||(Ue=P(et))==="ArrayBuffer"||Ue==="SharedArrayBuffer"},ot=function(et,Ue){return Qt(et)&&!B(Ue)&&Ue in et&&p(+Ue)&&Ue>=0},bt=function(Ue,ye){return ye=R(ye),ot(Ue,ye)?a(2,Ue[ye]):M(Ue,ye)},ht=function(Ue,ye,Pe){return ye=R(ye),ot(Ue,ye)&&D(Pe)&&L(Pe,"value")&&!L(Pe,"get")&&!L(Pe,"set")&&!Pe.configurable&&(!L(Pe,"writable")||Pe.writable)&&(!L(Pe,"enumerable")||Pe.enumerable)?(Ue[ye]=Pe.value,Ue):F(Ue,ye,Pe)};c?(je||(J.f=bt,q.f=ht,It(_t,"buffer"),It(_t,"byteOffset"),It(_t,"byteLength"),It(_t,"length")),r({target:"Object",stat:!0,forced:!je},{getOwnPropertyDescriptor:bt,defineProperty:ht}),d.exports=function(et,Ue,ye){var Pe=et.match(/\d+/)[0]/8,Me=et+(ye?"Clamped":"")+"Array",$e="get"+et,He="set"+et,nt=i[Me],ct=nt,Gt=ct&&ct.prototype,Ht={},Oe=function(Zt,Bt){var At=ne(Zt);return At.view[$e](Bt*Pe+At.byteOffset,!0)},Je=function(Zt,Bt,At){var Kt=ne(Zt);Kt.view[He](Bt*Pe+Kt.byteOffset,ye?A(At):At,!0)},Wt=function(Zt,Bt){F(Zt,Bt,{get:function(){return Oe(this,Bt)},set:function(At){return Je(this,Bt,At)},enumerable:!0})};je?f&&(ct=Ue(function(Zt,Bt,At,Kt){return u(Zt,Gt),le(function(){return D(Bt)?Ut(Bt)?Kt!==void 0?new nt(Bt,b(At,Pe),Kt):At!==void 0?new nt(Bt,b(At,Pe)):new nt(Bt):Qt(Bt)?Xe(ct,Bt):l(W,ct,Bt):new nt(_(Bt))}(),Zt,ct)}),K&&K(ct,Ft),oe(V(nt),function(Zt){Zt in ct||x(ct,Zt,nt[Zt])}),ct.prototype=Gt):(ct=Ue(function(Zt,Bt,At,Kt){u(Zt,Gt);var We=0,fe=0,_e,Ot,De;if(!D(Bt))De=_(Bt),Ot=De*Pe,_e=new de(Ot);else if(Ut(Bt)){_e=Bt,fe=b(At,Pe);var dt=Bt.byteLength;if(Kt===void 0){if(dt%Pe)throw new Q(qt);if(Ot=dt-fe,Ot<0)throw new Q(qt)}else if(Ot=y(Kt)*Pe,Ot+fe>dt)throw new Q(qt);De=Ot/Pe}else return Qt(Bt)?Xe(ct,Bt):l(W,ct,Bt);for(ee(Zt,{buffer:_e,byteOffset:fe,byteLength:Ot,length:De,view:new Ie(_e)});We<De;)Wt(Zt,We++)}),K&&K(ct,Ft),Gt=ct.prototype=$(_t)),Gt.constructor!==ct&&x(Gt,"constructor",ct),ie(Gt).TypedArrayConstructor=ct,Fe&&x(Gt,Fe,Me);var kt=ct!==nt;Ht[Me]=ct,r({global:!0,constructor:!0,forced:kt,sham:!je},Ht),Jt in ct||x(ct,Jt,Pe),Jt in Gt||x(Gt,Jt,Pe),ae(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,o=r.Int8Array;d.exports=!c||!i(function(){o(1)})||!i(function(){new o(-1)})||!l(function(h){new o,new o(null),new o(1.5),new o(h)},!0)||i(function(){return new o(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),o=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),A=c(_),R=arguments.length,L=R>1?arguments[1]:void 0,P=L!==void 0,D=h(A),B,$,j,K,V,W,oe,ae;if(D&&!u(D))for(oe=o(A,D),ae=oe.next,A=[];!(W=i(ae,oe)).done;)A.push(W.value);for(P&&R>2&&(L=r(L,arguments[2])),$=f(A),j=new(x(b))($),K=a(j),B=0;$>B;B++)V=P?L(A[B],B):A[B],j[B]=K?p(V):+V;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 o=new URL("b?a=1&b=2&c=3","http://a"),h=o.searchParams,u=new URLSearchParams("a=1&a=2&b=3"),a="";return o.pathname="c%20d",h.forEach(function(x,p){h.delete("b"),a+=p+x}),u.delete("a",2),u.delete("b",void 0),c&&(!o.toJSON||!u.has("a",1)||u.has("a",2)||!u.has("a",void 0)||u.has("b"))||!h.size&&(c||!l)||!h.sort||o.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 o=r.Symbol||(r.Symbol={});i(o,f)||c(o,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),o=e(14417),h=r.Symbol,u=i("wks"),a=o?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),o=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,A,R,L){var P="stackTraceLimit",D=L?2:1,B=b.split("."),$=B[B.length-1],j=r.apply(null,B);if(j){var K=j.prototype;if(!_&&i(K,"cause")&&delete K.cause,!R)return j;var V=r("Error"),W=A(function(oe,ae){var ce=a(L?ae:oe,void 0),q=L?new j(oe):new j;return ce!==void 0&&l(q,"message",ce),p(q,W,q.stack,2),this&&c(K,this)&&u(q,this,W),arguments.length>D&&x(q,arguments[D]),q});if(W.prototype=K,$!=="Error"?f?f(W,V):o(W,V,{name:!0}):y&&P in j&&(h(W,j,P),h(W,j,"prepareStackTrace")),o(W,j),!_)try{K.name!==$&&l(K,"name",$),K.constructor=W}catch(oe){}return W}}},93074:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(3338),f=e(78540),o="AggregateError",h=i(o),u=!c(function(){return h([1]).errors[0]!==1})&&c(function(){return h([1],o,{cause:7}).cause!==7});r({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:f(o,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),o=e(20132),h=e(68151),u=e(35012),a=e(73068),x=e(61888),p=e(62003),y=e(7825),_=e(59893),b=_("toStringTag"),A=Error,R=[].push,L=function(B,$){var j=i(P,this),K;c?K=c(new A,j?l(this):P):(K=j?this:o(P),h(K,b,"Error")),$!==void 0&&h(K,"message",y($)),x(K,L,K.stack,1),arguments.length>2&&a(K,arguments[2]);var V=[];return p(B,R,{that:V}),h(K,"errors",V),K};c?c(L,A):f(L,A,{name:!0});var P=L.prototype=o(A.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",o=l[f],h=i[f];r({global:!0,constructor:!0,forced:h!==o},{ArrayBuffer:o}),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),o=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),A=l(function(){return!new a(2).slice(1,void 0).byteLength});r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:A},{slice:function(L,P){if(y&&P===void 0)return y(f(this),L);for(var D=f(this).byteLength,B=o(L,D),$=o(P===void 0?D:P,D),j=new(u(this,a))(h($-B)),K=new x(this),V=new x(j),W=0;B<$;)b(V,W++,_(K,B++));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),o=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}),A=function(L){if(!c(L))return!1;var P=L[_];return P!==void 0?!!P:l(L)},R=!b||!x("concat");r({target:"Array",proto:!0,arity:1,forced:R},{concat:function(P){var D=f(this),B=a(D,0),$=0,j,K,V,W,oe;for(j=-1,V=arguments.length;j<V;j++)if(oe=j===-1?D:arguments[j],A(oe))for(W=o(oe),h($+W),K=0;K<W;K++,$++)K in oe&&u(B,$,oe[K]);else h($+1),u(B,$++,oe);return B.length=$,B}})},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(o){return i(this,o,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(o){return i(this,o,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),o=e(81427);r({target:"Array",proto:!0},{flatMap:function(u){var a=c(this),x=f(a),p;return l(u),p=o(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),o=e(81427);r({target:"Array",proto:!0},{flat:function(){var u=arguments.length?arguments[0]:void 0,a=l(this),x=c(a),p=o(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),o=!!f&&1/f([1],1,-0)<0,h=o||!c("indexOf");r({target:"Array",proto:!0,forced:h},{indexOf:function(a){var x=arguments.length>1?arguments[1]:void 0;return o?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,o=e(24019),h=e(25587),u=e(16697),a=e(35454),x="Array Iterator",p=c.set,y=c.getterFor(x);d.exports=o(Array,"Array",function(b,A){p(this,{type:x,target:r(b),index:0,kind:A})},function(){var b=y(this),A=b.target,R=b.index++;if(!A||R>=A.length)return b.target=void 0,h(void 0,!0);switch(b.kind){case"keys":return h(R,!1);case"values":return h(A[R],!1)}return h([R,A[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),o=i([].join),h=l!==Object,u=h||!f("join",",");r({target:"Array",proto:!0,forced:u},{join:function(x){return o(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(o){return i(this,o,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,o=i(function(){function h(){}return!(f.of.call(h)instanceof h)});r({target:"Array",stat:!0,forced:o},{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),o=e(3338),h=o(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 A=0;A<b;A++)y[_]=arguments[A],_++;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),o=!f&&c>79&&c<83,h=o||!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),o=!f&&c>79&&c<83,h=o||!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),o=e(82762),h=e(80524),u=e(69392),a=e(59893),x=e(17480),p=e(30867),y=x("slice"),_=a("species"),b=Array,A=Math.max;r({target:"Array",proto:!0,forced:!y},{slice:function(L,P){var D=h(this),B=o(D),$=f(L,B),j=f(P===void 0?B:P,B),K,V,W;if(i(D)&&(K=D.constructor,l(K)&&(K===b||i(K.prototype))?K=void 0:c(K)&&(K=K[_],K===null&&(K=void 0)),K===b||K===void 0))return p(D,$,j);for(V=new(K===void 0?b:K)(A(j-$,0)),W=0;$<j;$++,W++)$ in D&&u(V,W,D[$]);return V.length=W,V}})},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(o){return i(this,o,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),o=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),A=[],R=i(A.sort),L=i(A.push),P=u(function(){A.sort(void 0)}),D=u(function(){A.sort(null)}),B=x("sort"),$=!u(function(){if(_)return _<70;if(!(p&&p>3)){if(y)return!0;if(b)return b<603;var V="",W,oe,ae,ce;for(W=65;W<76;W++){switch(oe=String.fromCharCode(W),W){case 66:case 69:case 70:case 72:ae=3;break;case 68:case 71:ae=4;break;default:ae=2}for(ce=0;ce<47;ce++)A.push({k:oe+ce,v:ae})}for(A.sort(function(q,J){return J.v-q.v}),ce=0;ce<A.length;ce++)oe=A[ce].k.charAt(0),V.charAt(V.length-1)!==oe&&(V+=oe);return V!=="DGBEFHACIJK"}}),j=P||!D||!B||!$,K=function(V){return function(W,oe){return oe===void 0?-1:W===void 0?1:V!==void 0?+V(W,oe)||0:h(W)>h(oe)?1:-1}};r({target:"Array",proto:!0,forced:j},{sort:function(W){W!==void 0&&l(W);var oe=c(this);if($)return W===void 0?R(oe):R(oe,W);var ae=[],ce=f(oe),q,J;for(J=0;J<ce;J++)J in oe&&L(ae,oe[J]);for(a(ae,K(W)),q=f(ae),J=0;J<q;)oe[J]=ae[J++];for(;J<ce;)o(oe,J++);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),o=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 P=i(this),D=f(P),B=l(R,D),$=arguments.length,j,K,V,W,oe,ae;for($===0?j=K=0:$===1?(j=0,K=D-B):(j=$-2,K=b(_(c(L),0),D-B)),h(D+j-K),V=u(P,K),W=0;W<K;W++)oe=B+W,oe in P&&a(V,W,P[oe]);if(V.length=K,j<K){for(W=B;W<D-K;W++)oe=W+K,ae=W+j,oe in P?P[ae]=P[oe]:x(P,ae);for(W=D;W>D-K+j;W--)x(P,W-1)}else if(j>K)for(W=D-K;W>B;W--)oe=W+K-1,ae=W+j-1,oe in P?P[ae]=P[oe]:x(P,ae);for(W=0;W<j;W++)P[W+B]=arguments[W+2];return o(P,D-K+j),V}})},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),o=e(55174),h=e(81181),u=Array,a=i(o("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),o=e(80524),h=e(56902),u=Array,a=Math.max,x=Math.min;r({target:"Array",proto:!0},{toSpliced:function(y,_){var b=o(this),A=c(b),R=f(y,A),L=arguments.length,P=0,D,B,$,j;for(L===0?D=B=0:L===1?(D=0,B=A-R):(D=L-2,B=x(a(h(_),0),A-R)),$=l(A+D-B),j=u($);P<R;P++)j[P]=b[P];for(;P<R+D;P++)j[P]=arguments[P-R+2];for(;P<$;P++)j[P]=b[P+B-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),o=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){o(_+b);for(var A=_;A--;){var R=A+b;A in y?y[R]=y[A]: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,o){return i(l(this),c,f,o)}})},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),o=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 o(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"),o=Date.prototype;r(o,f)||i(o,f,l)},76880:function(d,g,e){"use strict";var r=e(94237),i=e(2291),l=Date.prototype,c="Invalid Date",f="toString",o=r(l[f]),h=r(l.getTime);String(new Date(NaN))!==c&&i(l,f,function(){var a=h(this);return a===a?o(this):c})},31808:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(13743),c=e(78540),f="WebAssembly",o=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(o&&o[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),o=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="",A=_.length,R=0,L,P;R<A;)L=c(_,R++),o(a,L)?b+=L:(P=f(L,0),P<256?b+="%"+x(P,2):b+="%u"+u(x(P,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),o=e(86528),h=f("hasInstance"),u=Function.prototype;h in u||l.f(u,h,{value:o(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,o=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,o(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),o=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),A=f("".charAt),R=f("".charCodeAt),L=f("".replace),P=f(1 .toString),D=/[\uD800-\uDFFF]/g,B=/^[\uD800-\uDBFF]$/,$=/^[\uDC00-\uDFFF]$/,j=!p||o(function(){var oe=i("Symbol")("stringify detection");return _([oe])!=="[null]"||_({a:oe})!=="{}"||_(Object(oe))!=="{}"}),K=o(function(){return _("\uDF06\uD834")!=='"\\udf06\\ud834"'||_("\uDEAD")!=='"\\udead"'}),V=function(oe,ae){var ce=a(arguments),q=x(ae);if(!(!h(q)&&(oe===void 0||u(oe))))return ce[1]=function(J,Y){if(h(q)&&(Y=c(q,this,y(J),Y)),!u(Y))return Y},l(_,null,ce)},W=function(oe,ae,ce){var q=A(ce,ae-1),J=A(ce,ae+1);return b(B,oe)&&!b($,J)||b($,oe)&&!b(B,q)?"\\u"+P(R(oe,0),16):oe};_&&r({target:"JSON",stat:!0,arity:3,forced:j||K},{stringify:function(ae,ce,q){var J=a(arguments),Y=l(j?V:_,null,J);return K&&typeof Y=="string"?L(Y,D,W):Y}})},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),o=e(2786),h=e(16697),u=o.Map,a=o.has,x=o.get,p=o.set,y=i([].push);r({target:"Map",stat:!0,forced:h},{groupBy:function(b,A){c(b),l(A);var R=new u,L=0;return f(b,function(P){var D=A(P,L++);a(R,D)?y(x(R,D),P):p(R,D,[P])}),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,o=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)+o: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 o=!(i&&1/i(0)>0);r({target:"Math",stat:!0,forced:o},{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(o){var h=+o;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(o){var h=+o;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(o){var h=o>>>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,o=!l||l(710)===1/0;r({target:"Math",stat:!0,forced:o},{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(o,h){var u=65535,a=+o,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,o=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))*(o/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 o=+f,h=i(o),u=i(-o);return h===1/0?1:u===1/0?-1:(h-u)/(l(o)+l(-o))}})},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),o=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,A=e(71256).f,R=e(37691).f,L=e(49228),P=e(52971).trim,D="Number",B=c[D],$=f[D],j=B.prototype,K=c.TypeError,V=o("".slice),W=o("".charCodeAt),oe=function(le){var ne=y(le,"number");return typeof ne=="bigint"?ne:ae(ne)},ae=function(le){var ne=y(le,"number"),ee,ie,F,M,Q,de,Se,Ie;if(p(ne))throw new K("Cannot convert a Symbol value to a number");if(typeof ne=="string"&&ne.length>2){if(ne=P(ne),ee=W(ne,0),ee===43||ee===45){if(ie=W(ne,2),ie===88||ie===120)return NaN}else if(ee===48){switch(W(ne,1)){case 66:case 98:F=2,M=49;break;case 79:case 111:F=8,M=55;break;default:return+ne}for(Q=V(ne,2),de=Q.length,Se=0;Se<de;Se++)if(Ie=W(Q,Se),Ie<48||Ie>M)return NaN;return parseInt(Q,F)}}return+ne},ce=h(D,!B(" 0o1")||!B("0b1")||B("+0x1")),q=function(le){return x(j,le)&&_(function(){L(le)})},J=function(ne){var ee=arguments.length<1?0:B(oe(ne));return q(this)?a(Object(ee),this,J):ee};J.prototype=j,ce&&!i&&(j.constructor=J),r({global:!0,constructor:!0,wrap:!0,forced:ce},{Number:J});var Y=function(le,ne){for(var ee=l?b(ne):"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(","),ie=0,F;ee.length>ie;ie++)u(ne,F=ee[ie])&&!u(le,F)&&R(le,F,A(ne,F))};i&&$&&Y(f[D],$),(ce||i)&&Y(f[D],B)},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),o=e(53309),h=e(3338),u=RangeError,a=String,x=isFinite,p=Math.abs,y=Math.floor,_=Math.pow,b=Math.round,A=i(1 .toExponential),R=i(f),L=i("".slice),P=A(-69e-12,4)==="-6.9000e-11"&&A(1.255,2)==="1.25e+0"&&A(12345,3)==="1.235e+4"&&A(25,0)==="3e+1",D=function(){return h(function(){A(1,1/0)})&&h(function(){A(1,-1/0)})},B=function(){return!h(function(){A(1/0,1/0),A(NaN,1/0)})},$=!P||!D()||!B();r({target:"Number",proto:!0,forced:$},{toExponential:function(K){var V=c(this);if(K===void 0)return A(V);var W=l(K);if(!x(V))return String(V);if(W<0||W>20)throw new u("Incorrect fraction digits");if(P)return A(V,W);var oe="",ae="",ce=0,q="",J="";if(V<0&&(oe="-",V=-V),V===0)ce=0,ae=R("0",W+1);else{var Y=o(V);ce=y(Y);var le=0,ne=_(10,ce-W);le=b(V/ne),2*V>=(2*le+1)*ne&&(le+=1),le>=_(10,W+1)&&(le/=10,ce+=1),ae=a(le)}return W!==0&&(ae=L(ae,0,1)+"."+L(ae,1)),ce===0?(q="+",J="0"):(q=ce>0?"+":"-",J=a(p(ce))),ae+="e"+q+J,oe+ae}})},58055:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),o=e(3338),h=RangeError,u=String,a=Math.floor,x=i(f),p=i("".slice),y=i(1 .toFixed),_=function(D,B,$){return B===0?$:B%2===1?_(D,B-1,$*D):_(D*D,B/2,$)},b=function(D){for(var B=0,$=D;$>=4096;)B+=12,$/=4096;for(;$>=2;)B+=1,$/=2;return B},A=function(D,B,$){for(var j=-1,K=$;++j<6;)K+=B*D[j],D[j]=K%1e7,K=a(K/1e7)},R=function(D,B){for(var $=6,j=0;--$>=0;)j+=D[$],D[$]=a(j/B),j=j%B*1e7},L=function(D){for(var B=6,$="";--B>=0;)if($!==""||B===0||D[B]!==0){var j=u(D[B]);$=$===""?j:$+x("0",7-j.length)+j}return $},P=o(function(){return y(8e-5,3)!=="0.000"||y(.9,0)!=="1"||y(1.255,2)!=="1.25"||y(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!o(function(){y({})});r({target:"Number",proto:!0,forced:P},{toFixed:function(B){var $=c(this),j=l(B),K=[0,0,0,0,0,0],V="",W="0",oe,ae,ce,q;if(j<0||j>20)throw new h("Incorrect fraction digits");if($!==$)return"NaN";if($<=-1e21||$>=1e21)return u($);if($<0&&(V="-",$=-$),$>1e-21)if(oe=b($*_(2,69,1))-69,ae=oe<0?$*_(2,-oe,1):$/_(2,oe,1),ae*=4503599627370496,oe=52-oe,oe>0){for(A(K,0,ae),ce=j;ce>=7;)A(K,1e7,0),ce-=7;for(A(K,_(10,ce,1),0),ce=oe-1;ce>=23;)R(K,8388608),ce-=23;R(K,1<<ce),A(K,1,1),R(K,2),W=L(K)}else A(K,0,ae),A(K,1<<-oe,0),W=L(K)+x("0",j);return j>0?(q=W.length,W=V+(q<=j?"0."+x("0",j-q)+W:p(W,0,q-j)+"."+p(W,q-j))):W=V+W,W}})},93547:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(3338),c=e(49228),f=i(1 .toPrecision),o=l(function(){return f(1,void 0)!=="1"})||!l(function(){f({})});r({target:"Number",proto:!0,forced:o},{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),o=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineGetter__:function(u,a){o.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),o=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineSetter__:function(u,a){o.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,o=Object.freeze,h=l(function(){o(1)});r({target:"Object",stat:!0,forced:h,sham:!i},{freeze:function(a){return o&&c(a)?o(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 o={};return i(f,function(h,u){l(o,h,u)},{AS_ENTRIES:!0}),o}})},55639:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(80524),c=e(71256).f,f=e(35454),o=!f||i(function(){c(1)});r({target:"Object",stat:!0,forced:o,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),o=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,A;p.length>_;)A=x(a,b=p[_++]),A!==void 0&&o(y,b,A);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),o=!i||l(function(){c.f(1)});r({target:"Object",stat:!0,forced:o},{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),o=i(function(){c(1)});r({target:"Object",stat:!0,forced:o,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),o=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(A){var R=o(y(A,b++));R in _?a(_[R],A):_[R]=[A]}),_}})},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),o=Object.isFrozen,h=f||i(function(){o(1)});r({target:"Object",stat:!0,forced:h},{isFrozen:function(a){return!l(a)||f&&c(a)==="ArrayBuffer"?!0:o?o(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),o=Object.isSealed,h=f||i(function(){o(1)});r({target:"Object",stat:!0,forced:h},{isSealed:function(a){return!l(a)||f&&c(a)==="ArrayBuffer"?!0:o?o(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),o=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=o(x))}})},14645:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(94029),f=e(17818),o=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=o(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),o=Object.preventExtensions,h=f(function(){o(1)});r({target:"Object",stat:!0,forced:h,sham:!c},{preventExtensions:function(a){return o&&i(a)?o(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),o=Object.getPrototypeOf,h=Object.setPrototypeOf,u=Object.prototype,a="__proto__";if(r&&o&&h&&!(a in u))try{i(u,a,{configurable:!0,get:function(){return o(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),o=Object.seal,h=f(function(){o(1)});r({target:"Object",stat:!0,forced:h,sham:!c},{seal:function(a){return o&&i(a)?o(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),o=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 A=l(x.resolve),R=[],L=0,P=1;o(a,function(D){var B=L++,$=!1;P++,i(A,x,D).then(function(j){$||($=!0,R[B]={status:"fulfilled",value:j},--P||y(R))},function(j){$||($=!0,R[B]={status:"rejected",reason:j},--P||y(R))})}),--P||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),o=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 A=l(x.resolve),R=[],L=0,P=1;o(a,function(D){var B=L++,$=!1;P++,i(A,x,D).then(function(j){$||($=!0,R[B]=j,--P||y(R))},_)}),--P||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),o=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),A=b.resolve,R=b.reject,L=o(function(){var P=l(y.resolve),D=[],B=0,$=1,j=!1;h(p,function(K){var V=B++,W=!1;$++,i(P,y,K).then(function(oe){W||j||(j=!0,A(oe))},function(oe){W||j||(W=!0,D[V]=oe,--$||R(new _(D,a)))})}),--$||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),o=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&&o(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),o=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),A=e(28887).set,R=e(72933),L=e(61810),P=e(80734),D=e(66790),B=e(94844),$=e(2451),j=e(82830),K=e(73446),V="Promise",W=j.CONSTRUCTOR,oe=j.REJECTION_EVENT,ae=j.SUBCLASSING,ce=B.getterFor(V),q=B.set,J=$&&$.prototype,Y=$,le=J,ne=c.TypeError,ee=c.document,ie=c.process,F=K.f,M=F,Q=!!(ee&&ee.createEvent&&c.dispatchEvent),de="unhandledrejection",Se="rejectionhandled",Ie=0,je=1,Fe=2,Ft=1,_t=2,Pt,Qt,Jt,qt,Xe=function(Me){var $e;return y(Me)&&p($e=Me.then)?$e:!1},It=function(Me,$e){var He=$e.value,nt=$e.state===je,ct=nt?Me.ok:Me.fail,Gt=Me.resolve,Ht=Me.reject,Oe=Me.domain,Je,Wt,kt;try{ct?(nt||($e.rejection===_t&&et($e),$e.rejection=Ft),ct===!0?Je=He:(Oe&&Oe.enter(),Je=ct(He),Oe&&(Oe.exit(),kt=!0)),Je===Me.promise?Ht(new ne("Promise-chain cycle")):(Wt=Xe(Je))?f(Wt,Je,Gt,Ht):Gt(Je)):Ht(He)}catch(Zt){Oe&&!kt&&Oe.exit(),Ht(Zt)}},Ut=function(Me,$e){Me.notified||(Me.notified=!0,R(function(){for(var He=Me.reactions,nt;nt=He.get();)It(nt,Me);Me.notified=!1,$e&&!Me.rejection&&bt(Me)}))},ot=function(Me,$e,He){var nt,ct;Q?(nt=ee.createEvent("Event"),nt.promise=$e,nt.reason=He,nt.initEvent(Me,!1,!0),c.dispatchEvent(nt)):nt={promise:$e,reason:He},!oe&&(ct=c["on"+Me])?ct(nt):Me===de&&L("Unhandled promise rejection",He)},bt=function(Me){f(A,c,function(){var $e=Me.facade,He=Me.value,nt=ht(Me),ct;if(nt&&(ct=P(function(){l?ie.emit("unhandledRejection",He,$e):ot(de,$e,He)}),Me.rejection=l||ht(Me)?_t:Ft,ct.error))throw ct.value})},ht=function(Me){return Me.rejection!==Ft&&!Me.parent},et=function(Me){f(A,c,function(){var $e=Me.facade;l?ie.emit("rejectionHandled",$e):ot(Se,$e,Me.value)})},Ue=function(Me,$e,He){return function(nt){Me($e,nt,He)}},ye=function(Me,$e,He){Me.done||(Me.done=!0,He&&(Me=He),Me.value=$e,Me.state=Fe,Ut(Me,!0))},Pe=function(Me,$e,He){if(!Me.done){Me.done=!0,He&&(Me=He);try{if(Me.facade===$e)throw new ne("Promise can't be resolved itself");var nt=Xe($e);nt?R(function(){var ct={done:!1};try{f(nt,$e,Ue(Pe,ct,Me),Ue(ye,ct,Me))}catch(Gt){ye(ct,Gt,Me)}}):(Me.value=$e,Me.state=je,Ut(Me,!1))}catch(ct){ye({done:!1},ct,Me)}}};if(W&&(Y=function($e){_(this,le),x($e),f(Pt,this);var He=ce(this);try{$e(Ue(Pe,He),Ue(ye,He))}catch(nt){ye(He,nt)}},le=Y.prototype,Pt=function($e){q(this,{type:V,done:!1,notified:!1,parent:!1,reactions:new D,rejection:!1,state:Ie,value:void 0})},Pt.prototype=o(le,"then",function($e,He){var nt=ce(this),ct=F(b(this,Y));return nt.parent=!0,ct.ok=p($e)?$e:!0,ct.fail=p(He)&&He,ct.domain=l?ie.domain:void 0,nt.state===Ie?nt.reactions.add(ct):R(function(){It(ct,nt)}),ct.promise}),Qt=function(){var Me=new Pt,$e=ce(Me);this.promise=Me,this.resolve=Ue(Pe,$e),this.reject=Ue(ye,$e)},K.f=F=function(Me){return Me===Y||Me===Jt?new Qt(Me):M(Me)},!i&&p($)&&J!==Object.prototype)){qt=J.then,ae||o(J,"then",function($e,He){var nt=this;return new Y(function(ct,Gt){f(qt,nt,ct,Gt)}).then($e,He)},{unsafe:!0});try{delete J.constructor}catch(Me){}h&&h(J,le)}r({global:!0,constructor:!0,wrap:!0,forced:W},{Promise:Y}),u(Y,V,!1,!0),a(V)},43595:function(d,g,e){"use strict";var r=e(94488),i=e(16697),l=e(2451),c=e(3338),f=e(65911),o=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")),A=o(_);return this.then(A?function(R){return u(b,_()).then(function(){return R})}:_,A?function(R){return u(b,_()).then(function(){throw R})}:_)}}),!i&&o(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),o=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);o(a,function(A){i(b,x,A).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(o){var h=l.f(this);return i(h.reject,void 0,o),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,o=e(15597),h=i("Promise"),u=l&&!f;r({target:"Promise",stat:!0,forced:l||f},{resolve:function(x){return o(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),o=!f(function(){Reflect.apply(function(){})});r({target:"Reflect",stat:!0,forced:o},{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),o=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(){})}),A=_||b;r({target:"Reflect",stat:!0,forced:A,sham:A},{construct:function(L,P){f(L),o(P);var D=arguments.length<3?L:f(arguments[2]);if(b&&!_)return x(L,P,D);if(L===D){switch(P.length){case 0:return new L;case 1:return new L(P[0]);case 2:return new L(P[0],P[1]);case 3:return new L(P[0],P[1],P[2]);case 4:return new L(P[0],P[1],P[2],P[3])}var B=[null];return l(y,B,P),new(l(c,L,B))}var $=D.prototype,j=u(h($)?$:p),K=l(L,j,P);return h(K)?K:j}})},57891:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(80449),c=e(17818),f=e(37691),o=e(3338),h=o(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,o){var h=l(i(f),o);return h&&!h.configurable?!1:delete f[o]}})},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(o,h){return c.f(l(o),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(o){return l(i(o))}})},51832:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(31946),c=e(80449),f=e(60516),o=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=o.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(o){l(o);try{var h=i("Object","preventExtensions");return h&&h(o),!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(o,h){i(o),l(h);try{return c(o,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),o=e(3338),h=e(37691),u=e(71256),a=e(53456),x=e(35012);function p(_,b,A){var R=arguments.length<4?_:arguments[3],L=u.f(l(_),b),P,D,B;if(!L){if(c(D=a(_)))return p(D,b,A,R);L=x(0)}if(f(L)){if(L.writable===!1||!c(R))return!1;if(P=u.f(R,b)){if(P.get||P.set||P.writable===!1)return!1;P.value=A,h.f(R,b,P)}else h.f(R,b,x(0,A))}else{if(B=L.set,B===void 0)return!1;i(B,R,A)}return!0}var y=o(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),o=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),A=e(2291),R=e(3338),L=e(32621),P=e(94844).enforce,D=e(51996),B=e(59893),$=e(6041),j=e(51224),K=B("match"),V=i.RegExp,W=V.prototype,oe=i.SyntaxError,ae=l(W.exec),ce=l("".charAt),q=l("".replace),J=l("".indexOf),Y=l("".slice),le=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ne=/a/g,ee=/a/g,ie=new V(ne)!==ne,F=_.MISSED_STICKY,M=_.UNSUPPORTED_Y,Q=r&&(!ie||F||$||j||R(function(){return ee[K]=!1,V(ne)!==ne||V(ee)===ee||String(V(ne,"i"))!=="/a/i"})),de=function(Ft){for(var _t=Ft.length,Pt=0,Qt="",Jt=!1,qt;Pt<=_t;Pt++){if(qt=ce(Ft,Pt),qt==="\\"){Qt+=qt+ce(Ft,++Pt);continue}!Jt&&qt==="."?Qt+="[\\s\\S]":(qt==="["?Jt=!0:qt==="]"&&(Jt=!1),Qt+=qt)}return Qt},Se=function(Ft){for(var _t=Ft.length,Pt=0,Qt="",Jt=[],qt=h(null),Xe=!1,It=!1,Ut=0,ot="",bt;Pt<=_t;Pt++){if(bt=ce(Ft,Pt),bt==="\\")bt+=ce(Ft,++Pt);else if(bt==="]")Xe=!1;else if(!Xe)switch(!0){case bt==="[":Xe=!0;break;case bt==="(":ae(le,Y(Ft,Pt+1))&&(Pt+=2,It=!0),Qt+=bt,Ut++;continue;case(bt===">"&&It):if(ot===""||L(qt,ot))throw new oe("Invalid capture group name");qt[ot]=!0,Jt[Jt.length]=[ot,Ut],It=!1,ot="";continue}It?ot+=bt:Qt+=bt}return[Qt,Jt]};if(c("RegExp",Q)){for(var Ie=function(_t,Pt){var Qt=a(W,this),Jt=x(_t),qt=Pt===void 0,Xe=[],It=_t,Ut,ot,bt,ht,et,Ue;if(!Qt&&Jt&&qt&&_t.constructor===Ie)return _t;if((Jt||a(W,_t))&&(_t=_t.source,qt&&(Pt=y(It))),_t=_t===void 0?"":p(_t),Pt=Pt===void 0?"":p(Pt),It=_t,$&&"dotAll"in ne&&(ot=!!Pt&&J(Pt,"s")>-1,ot&&(Pt=q(Pt,/s/g,""))),Ut=Pt,F&&"sticky"in ne&&(bt=!!Pt&&J(Pt,"y")>-1,bt&&M&&(Pt=q(Pt,/y/g,""))),j&&(ht=Se(_t),_t=ht[0],Xe=ht[1]),et=f(V(_t,Pt),Qt?this:W,Ie),(ot||bt||Xe.length)&&(Ue=P(et),ot&&(Ue.dotAll=!0,Ue.raw=Ie(de(_t),Ut)),bt&&(Ue.sticky=!0),Xe.length&&(Ue.groups=Xe)),_t!==It)try{o(et,"source",It===""?"(?:)":It)}catch(ye){}return et},je=u(V),Fe=0;je.length>Fe;)b(Ie,V,je[Fe++]);W.constructor=Ie,Ie.prototype=W,A(i,"RegExp",Ie,{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,o=RegExp.prototype,h=TypeError;r&&i&&c(o,"dotAll",{configurable:!0,get:function(){if(this!==o){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),o=r.RegExp,h=o.prototype,u=i&&f(function(){var a=!0;try{o(".","d")}catch(L){a=!1}var x={},p="",y=a?"dgimsy":"gimsy",_=function(L,P){Object.defineProperty(x,L,{get:function(){return p+=P,!0}})},b={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};a&&(b.hasIndices="d");for(var A in b)_(A,b[A]);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,o=RegExp.prototype,h=TypeError;r&&i&&c(o,"sticky",{configurable:!0,get:function(){if(this!==o){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),o=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:!o},{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),o=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),A=c(o(_));return"/"+b+"/"+A},{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),o=e(3338),h=i("".charAt),u=o(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),o=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 A=l(String.prototype,"endsWith");return A&&!A.writable}();r({target:"String",proto:!0,forced:!b&&!_},{endsWith:function(R){var L=f(h(this));o(R);var P=arguments.length>1?arguments[1]:void 0,D=L.length,B=P===void 0?D:y(c(P),D),$=f(R);return x?x(L,$,B):p(L,B-$.length,B)===$}})},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,o=String.fromCodePoint,h=i([].join),u=!!o&&o.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),o=e(86266),h=i("".indexOf);r({target:"String",proto:!0,forced:!o("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),o="String Iterator",h=l.set,u=l.getterFor(o);c(String,"String",function(a){h(this,{type:o,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),o=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),A=e(2291),R=e(3338),L=e(59893),P=e(60473),D=e(52216),B=e(94338),$=e(94844),j=e(16697),K=L("matchAll"),V="RegExp String",W=V+" Iterator",oe=$.set,ae=$.getterFor(W),ce=RegExp.prototype,q=TypeError,J=l("".indexOf),Y=l("".matchAll),le=!!Y&&!R(function(){Y("a",/./)}),ne=c(function(F,M,Q,de){oe(this,{type:W,regexp:F,string:M,global:Q,unicode:de,done:!1})},V,function(){var F=ae(this);if(F.done)return f(void 0,!0);var M=F.regexp,Q=F.string,de=B(M,Q);return de===null?(F.done=!0,f(void 0,!0)):F.global?(u(de[0])===""&&(M.lastIndex=D(Q,h(M.lastIndex),F.unicode)),f(de,!1)):(F.done=!0,f(de,!1))}),ee=function(ie){var F=a(this),M=u(ie),Q=P(F,RegExp),de=u(_(F)),Se,Ie,je;return Se=new Q(Q===RegExp?F.source:F,de),Ie=!!~J(de,"g"),je=!!~J(de,"u"),Se.lastIndex=h(F.lastIndex),new ne(Se,M,Ie,je)};r({target:"String",proto:!0,forced:le},{matchAll:function(F){var M=o(this),Q,de,Se,Ie;if(x(F)){if(le)return Y(M,F)}else{if(y(F)&&(Q=u(o(_(F))),!~J(Q,"g")))throw new q("`.matchAll` does not allow non-global regexes");if(le)return Y(M,F);if(Se=b(F,K),Se===void 0&&j&&p(F)==="RegExp"&&(Se=ee),Se)return i(Se,F,M)}return de=u(M),Ie=new RegExp(F,"g"),j?i(ee,Ie,de):Ie[K](de)}}),j||K in ce||A(ce,K,ee)},46302:function(d,g,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(61578),o=e(69905),h=e(95955),u=e(53776),a=e(52216),x=e(94338);i("match",function(p,y,_){return[function(A){var R=h(this),L=c(A)?void 0:u(A,p);return L?r(L,A,R):new RegExp(A)[p](o(R))},function(b){var A=l(this),R=o(b),L=_(y,A,R);if(L.done)return L.value;if(!A.global)return x(A,R);var P=A.unicode;A.lastIndex=0;for(var D=[],B=0,$;($=x(A,R))!==null;){var j=o($[0]);D[B]=j,j===""&&(A.lastIndex=a(R,f(A.lastIndex),P)),B++}return B===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),o=e(82762),h=i([].push),u=i([].join);r({target:"String",stat:!0},{raw:function(x){var p=l(c(x).raw),y=o(p);if(!y)return"";for(var _=arguments.length,b=[],A=0;;){if(h(b,f(p[A++])),A===y)return u(b,"");A<_&&h(b,f(arguments[A]))}}})},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),o=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"),A=TypeError,R=l("".indexOf),L=l("".replace),P=l("".slice),D=Math.max,B=function($,j,K){return K>$.length?-1:j===""?K:R($,j,K)};r({target:"String",proto:!0},{replaceAll:function(j,K){var V=c(this),W,oe,ae,ce,q,J,Y,le,ne,ee=0,ie=0,F="";if(!o(j)){if(W=h(j),W&&(oe=u(c(x(j))),!~R(oe,"g")))throw new A("`.replaceAll` does not allow non-global regexes");if(ae=a(j,b),ae)return i(ae,j,V,K);if(_&&W)return L(u(V),j,K)}for(ce=u(V),q=u(j),J=f(K),J||(K=u(K)),Y=q.length,le=D(1,Y),ee=B(ce,q,0);ee!==-1;)ne=J?u(K(q,ee,ce)):p(q,ce,ee,[],void 0,K),F+=P(ce,ie,ee)+ne,ie=ee+Y,ee=B(ce,q,ee+le);return ie<ce.length&&(F+=P(ce,ie)),F}})},5658:function(d,g,e){"use strict";var r=e(13743),i=e(89945),l=e(94237),c=e(8662),f=e(3338),o=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),A=e(23011),R=e(94338),L=e(59893),P=L("replace"),D=Math.max,B=Math.min,$=l([].concat),j=l([].push),K=l("".indexOf),V=l("".slice),W=function(q){return q===void 0?q:String(q)},oe=function(){return"a".replace(/./,"$0")==="$0"}(),ae=function(){return/./[P]?/./[P]("a","$0")==="":!1}(),ce=!f(function(){var q=/./;return q.exec=function(){var J=[];return J.groups={a:"7"},J},"".replace(q,"$<a>")!=="7"});c("replace",function(q,J,Y){var le=ae?"$":"$0";return[function(ee,ie){var F=y(this),M=u(ee)?void 0:b(ee,P);return M?i(M,ee,F,ie):i(J,p(F),ee,ie)},function(ne,ee){var ie=o(this),F=p(ne);if(typeof ee=="string"&&K(ee,le)===-1&&K(ee,"$<")===-1){var M=Y(J,ie,F,ee);if(M.done)return M.value}var Q=h(ee);Q||(ee=p(ee));var de=ie.global,Se;de&&(Se=ie.unicode,ie.lastIndex=0);for(var Ie=[],je;je=R(ie,F),!(je===null||(j(Ie,je),!de));){var Fe=p(je[0]);Fe===""&&(ie.lastIndex=_(F,x(ie.lastIndex),Se))}for(var Ft="",_t=0,Pt=0;Pt<Ie.length;Pt++){je=Ie[Pt];for(var Qt=p(je[0]),Jt=D(B(a(je.index),F.length),0),qt=[],Xe,It=1;It<je.length;It++)j(qt,W(je[It]));var Ut=je.groups;if(Q){var ot=$([Qt],qt,Jt,F);Ut!==void 0&&j(ot,Ut),Xe=p(r(ee,void 0,ot))}else Xe=A(Qt,F,Jt,qt,Ut,ee);Jt>=_t&&(Ft+=V(F,_t,Jt)+Xe,_t=Jt+Qt.length)}return Ft+V(F,_t)}]},!ce||!oe||ae)},62925:function(d,g,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(95955),o=e(5370),h=e(69905),u=e(53776),a=e(94338);i("search",function(x,p,y){return[function(b){var A=f(this),R=c(b)?void 0:u(b,x);return R?r(R,b,A):new RegExp(b)[x](h(A))},function(_){var b=l(this),A=h(_),R=y(p,b,A);if(R.done)return R.value;var L=b.lastIndex;o(L,0)||(b.lastIndex=0);var P=a(b,A);return o(b.lastIndex,L)||(b.lastIndex=L),P===null?-1:P.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),o=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),A=e(94338),R=e(88736),L=e(19286),P=e(3338),D=L.UNSUPPORTED_Y,B=4294967295,$=Math.min,j=[].push,K=l(/./.exec),V=l(j),W=l("".slice),oe=!P(function(){var ae=/(?:)/,ce=ae.exec;ae.exec=function(){return ce.apply(this,arguments)};var q="ab".split(ae);return q.length!==2||q[0]!=="a"||q[1]!=="b"});c("split",function(ae,ce,q){var J;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?J=function(Y,le){var ne=y(u(this)),ee=le===void 0?B:le>>>0;if(ee===0)return[];if(Y===void 0)return[ne];if(!h(Y))return i(ce,ne,Y,ee);for(var ie=[],F=(Y.ignoreCase?"i":"")+(Y.multiline?"m":"")+(Y.unicode?"u":"")+(Y.sticky?"y":""),M=0,Q=new RegExp(Y.source,F+"g"),de,Se,Ie;(de=i(R,Q,ne))&&(Se=Q.lastIndex,!(Se>M&&(V(ie,W(ne,M,de.index)),de.length>1&&de.index<ne.length&&r(j,ie,b(de,1)),Ie=de[0].length,M=Se,ie.length>=ee)));)Q.lastIndex===de.index&&Q.lastIndex++;return M===ne.length?(Ie||!K(Q,""))&&V(ie,""):V(ie,W(ne,M)),ie.length>ee?b(ie,0,ee):ie}:"0".split(void 0,0).length?J=function(Y,le){return Y===void 0&&le===0?[]:i(ce,this,Y,le)}:J=ce,[function(le,ne){var ee=u(this),ie=o(le)?void 0:_(le,ae);return ie?i(ie,le,ee,ne):i(J,y(ee),le,ne)},function(Y,le){var ne=f(this),ee=y(Y),ie=q(J,ne,ee,le,J!==ce);if(ie.done)return ie.value;var F=a(ne,RegExp),M=ne.unicode,Q=(ne.ignoreCase?"i":"")+(ne.multiline?"m":"")+(ne.unicode?"u":"")+(D?"g":"y"),de=new F(D?"^(?:"+ne.source+")":ne,Q),Se=le===void 0?B:le>>>0;if(Se===0)return[];if(ee.length===0)return A(de,ee)===null?[ee]:[];for(var Ie=0,je=0,Fe=[];je<ee.length;){de.lastIndex=D?0:je;var Ft=A(de,D?W(ee,je):ee),_t;if(Ft===null||(_t=$(p(de.lastIndex+(D?je:0)),ee.length))===Ie)je=x(ee,je,M);else{if(V(Fe,W(ee,Ie,je)),Fe.length===Se)return Fe;for(var Pt=1;Pt<=Ft.length-1;Pt++)if(V(Fe,Ft[Pt]),Fe.length===Se)return Fe;je=Ie=_t}}return V(Fe,W(ee,Ie)),Fe}]},!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),o=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 A=l(String.prototype,"startsWith");return A&&!A.writable}();r({target:"String",proto:!0,forced:!b&&!_},{startsWith:function(R){var L=f(h(this));o(R);var P=c(y(arguments.length>1?arguments[1]:void 0,L.length)),D=f(R);return x?x(L,D,P):p(L,P,P+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),o=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,A=c(p),R,L;return A===1/0&&(A=0),A<0&&(A=h(b+A,0)),R=y===void 0?b:c(y),R<=0||R===1/0?"":(L=u(A+R,b),A>=L?"":o(_,A,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),o=e(3338),h=Array,u=l("".charAt),a=l("".charCodeAt),x=l([].join),p="".toWellFormed,y="\uFFFD",_=p&&o(function(){return i(p,1)!=="1"});r({target:"String",proto:!0,forced:_},{toWellFormed:function(){var A=f(c(this));if(_)return i(p,A);for(var R=A.length,L=h(R),P=0;P<R;P++){var D=a(A,P);(D&63488)!==55296?L[P]=u(A,P):D>=56320||P+1>=R||(a(A,P+1)&64512)!==56320?L[P]=y:(L[P]=u(A,P),L[++P]=u(A,P))}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),o=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),A=e(35012),R=e(20132),L=e(7733),P=e(80689),D=e(53393),B=e(92635),$=e(71256),j=e(37691),K=e(55666),V=e(27597),W=e(2291),oe=e(64110),ae=e(77898),ce=e(11898),q=e(54406),J=e(6145),Y=e(59893),le=e(38282),ne=e(94674),ee=e(14311),ie=e(94573),F=e(94844),M=e(90560).forEach,Q=ce("hidden"),de="Symbol",Se="prototype",Ie=F.set,je=F.getterFor(de),Fe=Object[Se],Ft=i.Symbol,_t=Ft&&Ft[Se],Pt=i.RangeError,Qt=i.TypeError,Jt=i.QObject,qt=$.f,Xe=j.f,It=D.f,Ut=V.f,ot=c([].push),bt=ae("symbols"),ht=ae("op-symbols"),et=ae("wks"),Ue=!Jt||!Jt[Se]||!Jt[Se].findChild,ye=function(Je,Wt,kt){var Zt=qt(Fe,Wt);Zt&&delete Fe[Wt],Xe(Je,Wt,kt),Zt&&Je!==Fe&&Xe(Fe,Wt,Zt)},Pe=o&&u(function(){return R(Xe({},"a",{get:function(){return Xe(this,"a",{value:7}).a}})).a!==7})?ye:Xe,Me=function(Je,Wt){var kt=bt[Je]=R(_t);return Ie(kt,{type:de,tag:Je,description:Wt}),o||(kt.description=Wt),kt},$e=function(Wt,kt,Zt){Wt===Fe&&$e(ht,kt,Zt),p(Wt);var Bt=_(kt);return p(Zt),a(bt,Bt)?(Zt.enumerable?(a(Wt,Q)&&Wt[Q][Bt]&&(Wt[Q][Bt]=!1),Zt=R(Zt,{enumerable:A(0,!1)})):(a(Wt,Q)||Xe(Wt,Q,A(1,{})),Wt[Q][Bt]=!0),Pe(Wt,Bt,Zt)):Xe(Wt,Bt,Zt)},He=function(Wt,kt){p(Wt);var Zt=y(kt),Bt=L(Zt).concat(Oe(Zt));return M(Bt,function(At){(!o||l(ct,Zt,At))&&$e(Wt,At,Zt[At])}),Wt},nt=function(Wt,kt){return kt===void 0?R(Wt):He(R(Wt),kt)},ct=function(Wt){var kt=_(Wt),Zt=l(Ut,this,kt);return this===Fe&&a(bt,kt)&&!a(ht,kt)?!1:Zt||!a(this,kt)||!a(bt,kt)||a(this,Q)&&this[Q][kt]?Zt:!0},Gt=function(Wt,kt){var Zt=y(Wt),Bt=_(kt);if(!(Zt===Fe&&a(bt,Bt)&&!a(ht,Bt))){var At=qt(Zt,Bt);return At&&a(bt,Bt)&&!(a(Zt,Q)&&Zt[Q][Bt])&&(At.enumerable=!0),At}},Ht=function(Wt){var kt=It(y(Wt)),Zt=[];return M(kt,function(Bt){!a(bt,Bt)&&!a(q,Bt)&&ot(Zt,Bt)}),Zt},Oe=function(Je){var Wt=Je===Fe,kt=It(Wt?ht:y(Je)),Zt=[];return M(kt,function(Bt){a(bt,Bt)&&(!Wt||a(Fe,Bt))&&ot(Zt,bt[Bt])}),Zt};h||(Ft=function(){if(x(_t,this))throw new Qt("Symbol is not a constructor");var Wt=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),kt=J(Wt),Zt=function(Bt){var At=this===void 0?i:this;At===Fe&&l(Zt,ht,Bt),a(At,Q)&&a(At[Q],kt)&&(At[Q][kt]=!1);var Kt=A(1,Bt);try{Pe(At,kt,Kt)}catch(We){if(!(We instanceof Pt))throw We;ye(At,kt,Kt)}};return o&&Ue&&Pe(Fe,kt,{configurable:!0,set:Zt}),Me(kt,Wt)},_t=Ft[Se],W(_t,"toString",function(){return je(this).tag}),W(Ft,"withoutSetter",function(Je){return Me(J(Je),Je)}),V.f=ct,j.f=$e,K.f=He,$.f=Gt,P.f=D.f=Ht,B.f=Oe,le.f=function(Je){return Me(Y(Je),Je)},o&&(oe(_t,"description",{configurable:!0,get:function(){return je(this).description}}),f||W(Fe,"propertyIsEnumerable",ct,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Ft}),M(L(et),function(Je){ne(Je)}),r({target:de,stat:!0,forced:!h},{useSetter:function(){Ue=!0},useSimple:function(){Ue=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!o},{create:nt,defineProperty:$e,defineProperties:He,getOwnPropertyDescriptor:Gt}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Ht}),ee(),ie(Ft,de),q[Q]=!0},44852:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(92916),c=e(94237),f=e(32621),o=e(55327),h=e(16332),u=e(69905),a=e(64110),x=e(24538),p=l.Symbol,y=p&&p.prototype;if(i&&o(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]),K=h(y,this)?new p(j):j===void 0?p():p(j);return j===""&&(_[K]=!0),K};x(b,p),b.prototype=y,y.constructor=b;var A=String(p("description detection"))==="Symbol(description detection)",R=c(y.valueOf),L=c(y.toString),P=/^Symbol\((.*)\)[^)]+$/,D=c("".replace),B=c("".slice);a(y,"description",{configurable:!0,get:function(){var j=R(this);if(f(_,j))return"";var K=L(j),V=A?B(K,7,-1):D(K,P,"$1");return V===""?void 0:V}}),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),o=e(60798),h=f("string-to-symbol-registry"),u=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!o},{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),o=e(60798),h=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!o},{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,o=i.exportTypedArrayMethod;o("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(o){return i(l(this),o,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),o=e(94237),h=e(3338),u=r.aTypedArray,a=r.exportTypedArrayMethod,x=o("".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 A=x(c(this),0,3)==="Big"?l(_):+_;return f(i,this,A,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(o){return i(l(this),o,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(o){return i(l(this),o,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(o){return i(l(this),o,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(o){return i(l(this),o,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,o){return i(this,c,f,o)}})},59022:function(d,g,e){"use strict";var r=e(69733);r("Float64",function(i){return function(c,f,o){return i(this,c,f,o)}})},5316:function(d,g,e){"use strict";var r=e(58261),i=e(90560).forEach,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("forEach",function(o){i(l(this),o,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(o){return i(l(this),o,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(o){return i(l(this),o,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,o){return i(this,c,f,o)}})},60330:function(d,g,e){"use strict";var r=e(69733);r("Int32",function(i){return function(c,f,o){return i(this,c,f,o)}})},19363:function(d,g,e){"use strict";var r=e(69733);r("Int8",function(i){return function(c,f,o){return i(this,c,f,o)}})},91927:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(58261),f=e(11005),o=e(59893),h=o("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,A=!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))},A),_("keys",function(){return x(y(this))},A),_("values",L,A||!R,{name:"values"}),_(h,L,A||!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 o=0,h=arguments.length,u=new(l(this))(h);h>o;)u[o]=arguments[o++];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(o){var h=arguments.length;return i(l(this),o,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(o){var h=arguments.length;return i(l(this),o,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 o=this,h=i(o).length,u=c(h/2),a=0,x;a<u;)x=o[a],o[a++]=o[--h],o[h]=x;return o})},89466:function(d,g,e){"use strict";var r=e(92916),i=e(89945),l=e(58261),c=e(82762),f=e(64135),o=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}),A=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 P=f(arguments.length>1?arguments[1]:void 0,1),D=o(L);if(b)return i(p,this,D,P);var B=this.length,$=c(D),j=0;if($+P>B)throw new u("Wrong length");for(;j<$;)this[P+j]=D[j++]},!b||A)},69653:function(d,g,e){"use strict";var r=e(58261),i=e(31384),l=e(3338),c=e(30867),f=r.aTypedArray,o=r.exportTypedArrayMethod,h=l(function(){new Int8Array(1).slice()});o("slice",function(a,x){for(var p=c(f(this),a,x),y=i(this),_=0,b=p.length,A=new y(b);b>_;)A[_]=p[_++];return A},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(o){return i(l(this),o,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),o=e(58261),h=e(78177),u=e(17687),a=e(46573),x=e(19684),p=o.aTypedArray,y=o.exportTypedArrayMethod,_=r.Uint16Array,b=_&&i(_.prototype.sort),A=!!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 P=new _(516),D=Array(516),B,$;for(B=0;B<516;B++)$=B%4,P[B]=515-B,D[B]=B-2*$+3;for(b(P,function(j,K){return(j/4|0)-(K/4|0)}),B=0;B<516;B++)if(P[B]!==D[B])return!0}),L=function(P){return function(D,B){return P!==void 0?+P(D,B)||0:B!==B?-1:D!==D?1:D===0&&B===0?1/D>0&&1/B<0?1:-1:D>B}};y("sort",function(D){return D!==void 0&&c(D),R?b(this,D):f(p(this),L(D))},!R||A)},63079:function(d,g,e){"use strict";var r=e(58261),i=e(61578),l=e(51981),c=e(31384),f=r.aTypedArray,o=r.exportTypedArrayMethod;o("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),o=r.Int8Array,h=l.aTypedArray,u=l.exportTypedArrayMethod,a=[].toLocaleString,x=!!o&&c(function(){a.call(new o(1))}),p=c(function(){return[1,2].toLocaleString()!==new o([1,2]).toLocaleString()})||!c(function(){o.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,o=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(o(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,o=f&&f.prototype||{},h=[].toString,u=c([].join);i(function(){h.call({})})&&(h=function(){return u(this)});var a=o.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,o){return i(this,c,f,o)}})},63914:function(d,g,e){"use strict";var r=e(69733);r("Uint32",function(i){return function(c,f,o){return i(this,c,f,o)}})},55234:function(d,g,e){"use strict";var r=e(69733);r("Uint8",function(i){return function(c,f,o){return i(this,c,f,o)}})},88104:function(d,g,e){"use strict";var r=e(69733);r("Uint8",function(i){return function(c,f,o){return i(this,c,f,o)}},!0)},77517:function(d,g,e){"use strict";var r=e(82041),i=e(58261),l=e(75406),c=e(56902),f=e(93303),o=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=o(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),o=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,A=0,R,L;A<b;){if(R=f(y,A++),R==="%"){if(f(y,A)==="u"){if(L=h(y,A+1,A+5),o(a,L)){_+=c(parseInt(L,16)),A+=5;continue}}else if(L=h(y,A,A+2),o(u,L)){_+=c(parseInt(L,16)),A+=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),o=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,A=y.isFrozen,R=y.isSealed,L=y.freeze,P=y.seal,D={},B={},$=!i.ActiveXObject&&"ActiveXObject"in i,j,K=function(Y){return function(){return Y(this,arguments.length?arguments[0]:void 0)}},V=o("WeakMap",K,h),W=V.prototype,oe=l(W.set),ae=function(){return r&&x(function(){var Y=L([]);return oe(new V,Y,1),!A(Y)})};if(p)if($){j=h.getConstructor(K,"WeakMap",!0),f.enable();var ce=l(W.delete),q=l(W.has),J=l(W.get);c(W,{delete:function(Y){if(u(Y)&&!b(Y)){var le=a(this);return le.frozen||(le.frozen=new j),ce(this,Y)||le.frozen.delete(Y)}return ce(this,Y)},has:function(le){if(u(le)&&!b(le)){var ne=a(this);return ne.frozen||(ne.frozen=new j),q(this,le)||ne.frozen.has(le)}return q(this,le)},get:function(le){if(u(le)&&!b(le)){var ne=a(this);return ne.frozen||(ne.frozen=new j),q(this,le)?J(this,le):ne.frozen.get(le)}return J(this,le)},set:function(le,ne){if(u(le)&&!b(le)){var ee=a(this);ee.frozen||(ee.frozen=new j),q(this,le)?oe(this,le,ne):ee.frozen.set(le,ne)}else oe(this,le,ne);return this}})}else ae()&&c(W,{set:function(le,ne){var ee;return _(le)&&(A(le)?ee=D:R(le)&&(ee=B)),oe(this,le,ne),ee===D&&L(le),ee===B&&P(le),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(o){var h=arguments.length>1?arguments[1]:void 0;return i(this,o,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 o=arguments.length>1?arguments[1]:void 0;return i(this,f,o)}}),l("group")},1905:function(d,g,e){"use strict";var r=e(94488),i=e(18589),l=Object.isFrozen,c=function(f,o){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"||o&&a===void 0))return!1;return u!==0};r({target:"Array",stat:!0,sham:!0,forced:!0},{isTemplateObject:function(o){if(!c(o,!0))return!1;var h=o.raw;return h.length===o.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),o=e(2291),h=e(66477),u=e(64110),a=e(59893),x=e(94844),p=e(5978),y=l("Promise"),_=l("SuppressedError"),b=ReferenceError,A=a("asyncDispose"),R=a("toStringTag"),L="AsyncDisposableStack",P=x.set,D=x.getterFor(L),B="async-dispose",$="disposed",j="pending",K=function(oe){var ae=D(oe);if(ae.state===$)throw new b(L+" already disposed");return ae},V=function(){P(f(this,W),{type:L,state:j,stack:[]}),i||(this.disposed=!1)},W=V.prototype;h(W,{disposeAsync:function(){var ae=this;return new y(function(ce,q){var J=D(ae);if(J.state===$)return ce(void 0);J.state=$,i||(ae.disposed=!0);var Y=J.stack,le=Y.length,ne=!1,ee,ie=function(M){ne?ee=new _(M,ee):(ne=!0,ee=M),F()},F=function(){if(le){var M=Y[--le];Y[le]=null;try{y.resolve(M()).then(F,ie)}catch(Q){ie(Q)}}else J.stack=null,ne?q(ee):ce(void 0)};F()})},use:function(ae){return p(K(this),ae,B),ae},adopt:function(ae,ce){var q=K(this);return c(ce),p(q,void 0,B,function(){return ce(ae)}),ae},defer:function(ae){var ce=K(this);c(ae),p(ce,void 0,B,ae)},move:function(){var ae=K(this),ce=new V;return D(ce).stack=ae.stack,ae.stack=[],ae.state=$,i||(this.disposed=!0),ce}}),i&&u(W,"disposed",{configurable:!0,get:function(){return D(this).state===$}}),o(W,A,W.disposeAsync,{name:"disposeAsync"}),o(W,R,L,{nonWritable:!0}),r({global:!0,constructor:!0},{AsyncDisposableStack:V})},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),o=e(59893),h=e(14052),u=o("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),o=e(59893),h=e(14052),u=e(16697),a=o("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),o=e(51358),h=e(31342),u=e(25587),a=e(16697),x=h(function(p){var y=this;return new p(function(_,b){var A=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(P){A(P)}},A)}catch(L){A(L)}};R()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:a},{drop:function(y){l(this);var _=o(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),o=e(10731),h=e(31342),u=e(25587),a=e(28255),x=e(16697),p=h(function(y){var _=this,b=_.iterator,A=_.predicate;return new y(function(R,L){var P=function($){_.done=!0,L($)},D=function($){a(b,P,$,P)},B=function(){try{y.resolve(c(i(_.next,b))).then(function($){try{if(c($).done)_.done=!0,R(u(void 0,!0));else{var j=$.value;try{var K=A(j,_.counter++),V=function(W){W?R(u(j,!1)):B()};f(K)?y.resolve(K).then(V,D):V(K)}catch(W){D(W)}}}catch(W){P(W)}},P)}catch($){P($)}};B()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:x},{filter:function(_){return c(this),l(_),new p(o(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),o=e(10731),h=e(31342),u=e(25587),a=e(38116),x=e(28255),p=e(16697),y=h(function(_){var b=this,A=b.iterator,R=b.mapper;return new _(function(L,P){var D=function(K){b.done=!0,P(K)},B=function(K){x(A,D,K,D)},$=function(){try{_.resolve(c(i(b.next,A))).then(function(K){try{if(c(K).done)b.done=!0,L(u(void 0,!0));else{var V=K.value;try{var W=R(V,b.counter++),oe=function(ae){try{b.inner=a(ae),j()}catch(ce){B(ce)}};f(W)?_.resolve(W).then(oe,B):oe(W)}catch(ae){B(ae)}}}catch(ae){D(ae)}},D)}catch(K){D(K)}},j=function(){var K=b.inner;if(K)try{_.resolve(c(i(K.next,K.iterator))).then(function(V){try{c(V).done?(b.inner=null,$()):L(u(V.value,!1))}catch(W){B(W)}},B)}catch(V){B(V)}else $()};j()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:p},{flatMap:function(b){return c(this),l(b),new y(o(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),o=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 o(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),o=e(65911),h=e(10731),u=e(28255),a=o("Promise"),x=TypeError;r({target:"AsyncIterator",proto:!0,real:!0},{reduce:function(y){c(this),l(y);var _=h(this),b=_.iterator,A=_.next,R=arguments.length<2,L=R?void 0:arguments[1],P=0;return new a(function(D,B){var $=function(K){u(b,B,K,B)},j=function(){try{a.resolve(c(i(A,b))).then(function(K){try{if(c(K).done)R?B(new x("Reduce of empty iterator with no initial value")):D(L);else{var V=K.value;if(R)R=!1,L=V,j();else try{var W=y(L,V,P),oe=function(ae){L=ae,j()};f(W)?a.resolve(W).then(oe,$):oe(W)}catch(ae){$(ae)}}P++}catch(ae){B(ae)}},B)}catch(K){B(K)}};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),o=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 A=u(void 0,!0);return y.done=!0,b=_.return,b!==void 0?p.resolve(i(b,_,void 0)).then(function(){return A}):A}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 _=o(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,o){return new i(c,f,o,"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),o=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,o,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(o){var h=c(this,o,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,o=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(o(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),o=TypeError,h=i(DataView.prototype.setUint8);r({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(a,x){if(l(this)!=="DataView")throw new o("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),o=e(2291),h=e(66477),u=e(64110),a=e(59893),x=e(94844),p=e(5978),y=l("SuppressedError"),_=ReferenceError,b=a("dispose"),A=a("toStringTag"),R="DisposableStack",L=x.set,P=x.getterFor(R),D="sync-dispose",B="disposed",$="pending",j=function(W){var oe=P(W);if(oe.state===B)throw new _(R+" already disposed");return oe},K=function(){L(f(this,V),{type:R,state:$,stack:[]}),i||(this.disposed=!1)},V=K.prototype;h(V,{dispose:function(){var oe=P(this);if(oe.state!==B){oe.state=B,i||(this.disposed=!0);for(var ae=oe.stack,ce=ae.length,q=!1,J;ce;){var Y=ae[--ce];ae[ce]=null;try{Y()}catch(le){q?J=new y(le,J):(q=!0,J=le)}}if(oe.stack=null,q)throw J}},use:function(oe){return p(j(this),oe,D),oe},adopt:function(oe,ae){var ce=j(this);return c(ae),p(ce,void 0,D,function(){ae(oe)}),oe},defer:function(oe){var ae=j(this);c(oe),p(ae,void 0,D,oe)},move:function(){var oe=j(this),ae=new K;return P(ae).stack=oe.stack,oe.stack=[],oe.state=B,i||(this.disposed=!0),ae}}),i&&u(V,"disposed",{configurable:!0,get:function(){return P(this).state===B}}),o(V,b,V.dispose,{name:"dispose"}),o(V,A,R,{nonWritable:!0}),r({global:!0,constructor:!0},{DisposableStack:K})},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),o=e(35454),h=Object.getOwnPropertyDescriptor,u=/^\s*class\b/,a=i(u.exec),x=function(p){try{if(!o||!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),o=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),A="constructor",R="Iterator",L=p("toStringTag"),P=TypeError,D=i[R],B=b||!f(D)||D.prototype!==y||!a(function(){D({})}),$=function(){if(l(this,y),o(this)===y)throw new P("Abstract class Iterator not directly constructable")},j=function(K,V){_?h(y,K,{configurable:!0,get:function(){return V},set:function(W){if(c(this),this===y)throw new P("You can't redefine this property");x(this,K)?this[K]=W:u(this,K,W)}}):y[K]=V};x(y,L)||j(L,R),(B||!x(y,A)||y[A]===Object)&&j(A,$),$.prototype=y,r({global:!0,constructor:!0,forced:B},{Iterator:$})},46304:function(d,g,e){"use strict";var r=e(89945),i=e(2291),l=e(53776),c=e(32621),f=e(59893),o=e(46571).IteratorPrototype,h=f("dispose");c(o,h)||i(o,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),o=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=o(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),o=e(20547),h=e(46319),u=e(16697),a=o(function(){for(var x=this.iterator,p=this.predicate,y=this.next,_,b,A;;){if(_=c(i(y,x)),b=this.done=!!_.done,b)return;if(A=_.value,h(x,p,[A,this.counter++],!0))return A}});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),o=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(A){u(p,"throw",A)}if(_=c(i(this.next,p)),this.done=!!_.done)return;try{this.inner=o(y(_.value,this.counter++),!1)}catch(A){u(p,"throw",A)}}});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,o=e(20547),h=e(7157),u=e(16697),a=o(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,o,h){if(typeof f=="number")return new i(f,o,h,"number",0,1);if(typeof f=="bigint")return new i(f,o,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),o=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 o("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),o=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 _=o(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),o=e(16697);r({target:"Iterator",proto:!0,real:!0,forced:o},{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),o=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),A=e(70913),R=e(42820),L=l.JSON,P=l.Number,D=l.SyntaxError,B=L&&L.parse,$=c("Object","keys"),j=Object.getOwnPropertyDescriptor,K=f("".charAt),V=f("".slice),W=f(/./.exec),oe=f([].push),ae=/^\d$/,ce=/^[1-9]$/,q=/^(?:-|\d)$/,J=/^[\t\n\r ]$/,Y=0,le=1,ne=function(Se,Ie){Se=p(Se);var je=new M(Se,0,""),Fe=je.parse(),Ft=Fe.value,_t=je.skip(J,Fe.end);if(_t<Se.length)throw new D('Unexpected extra character: "'+K(Se,_t)+'" after the parsed data at: '+_t);return h(Ie)?ee({"":Ft},"",Ie,Fe):Ft},ee=function(Se,Ie,je,Fe){var Ft=Se[Ie],_t=Fe&&Ft===Fe.value,Pt=_t&&typeof Fe.source=="string"?{source:Fe.source}:{},Qt,Jt,qt,Xe,It;if(u(Ft)){var Ut=a(Ft),ot=_t?Fe.nodes:Ut?[]:{};if(Ut)for(Qt=ot.length,qt=y(Ft),Xe=0;Xe<qt;Xe++)ie(Ft,Xe,ee(Ft,""+Xe,je,Xe<Qt?ot[Xe]:void 0));else for(Jt=$(Ft),qt=y(Jt),Xe=0;Xe<qt;Xe++)It=Jt[Xe],ie(Ft,It,ee(Ft,It,je,x(ot,It)?ot[It]:void 0))}return o(je,Se,Ie,Ft,Pt)},ie=function(Se,Ie,je){if(i){var Fe=j(Se,Ie);if(Fe&&!Fe.configurable)return}je===void 0?delete Se[Ie]:_(Se,Ie,je)},F=function(Se,Ie,je,Fe){this.value=Se,this.end=Ie,this.source=je,this.nodes=Fe},M=function(Se,Ie){this.source=Se,this.index=Ie};M.prototype={fork:function(Se){return new M(this.source,Se)},parse:function(){var Se=this.source,Ie=this.skip(J,this.index),je=this.fork(Ie),Fe=K(Se,Ie);if(W(q,Fe))return je.number();switch(Fe){case"{":return je.object();case"[":return je.array();case'"':return je.string();case"t":return je.keyword(!0);case"f":return je.keyword(!1);case"n":return je.keyword(null)}throw new D('Unexpected character: "'+Fe+'" at: '+Ie)},node:function(Se,Ie,je,Fe,Ft){return new F(Ie,Fe,Se?null:V(this.source,je,Fe),Ft)},object:function(){for(var Se=this.source,Ie=this.index+1,je=!1,Fe={},Ft={};Ie<Se.length;){if(Ie=this.until(['"',"}"],Ie),K(Se,Ie)==="}"&&!je){Ie++;break}var _t=this.fork(Ie).string(),Pt=_t.value;Ie=_t.end,Ie=this.until([":"],Ie)+1,Ie=this.skip(J,Ie),_t=this.fork(Ie).parse(),_(Ft,Pt,_t),_(Fe,Pt,_t.value),Ie=this.until([",","}"],_t.end);var Qt=K(Se,Ie);if(Qt===",")je=!0,Ie++;else if(Qt==="}"){Ie++;break}}return this.node(le,Fe,this.index,Ie,Ft)},array:function(){for(var Se=this.source,Ie=this.index+1,je=!1,Fe=[],Ft=[];Ie<Se.length;){if(Ie=this.skip(J,Ie),K(Se,Ie)==="]"&&!je){Ie++;break}var _t=this.fork(Ie).parse();if(oe(Ft,_t),oe(Fe,_t.value),Ie=this.until([",","]"],_t.end),K(Se,Ie)===",")je=!0,Ie++;else if(K(Se,Ie)==="]"){Ie++;break}}return this.node(le,Fe,this.index,Ie,Ft)},string:function(){var Se=this.index,Ie=A(this.source,this.index+1);return this.node(Y,Ie.value,Se,Ie.end)},number:function(){var Se=this.source,Ie=this.index,je=Ie;if(K(Se,je)==="-"&&je++,K(Se,je)==="0")je++;else if(W(ce,K(Se,je)))je=this.skip(ae,++je);else throw new D("Failed to parse number at: "+je);if(K(Se,je)==="."&&(je=this.skip(ae,++je)),K(Se,je)==="e"||K(Se,je)==="E"){je++,(K(Se,je)==="+"||K(Se,je)==="-")&&je++;var Fe=je;if(je=this.skip(ae,je),Fe===je)throw new D("Failed to parse number's exponent value at: "+je)}return this.node(Y,P(V(Se,Ie,je)),Ie,je)},keyword:function(Se){var Ie=""+Se,je=this.index,Fe=je+Ie.length;if(V(this.source,je,Fe)!==Ie)throw new D("Failed to parse value at: "+je);return this.node(Y,Se,je,Fe)},skip:function(Se,Ie){for(var je=this.source;Ie<je.length&&W(Se,K(je,Ie));Ie++);return Ie},until:function(Se,Ie){Ie=this.skip(J,Ie);for(var je=K(this.source,Ie),Fe=0;Fe<Se.length;Fe++)if(Se[Fe]===je)return Ie;throw new D('Unexpected character: "'+je+'" at: '+Ie)}};var Q=b(function(){var Se="9007199254740993",Ie;return B(Se,function(je,Fe,Ft){Ie=Ft.source}),Ie!==Se}),de=R&&!b(function(){return 1/B("-0 ")!==-1/0});r({target:"JSON",stat:!0,forced:Q},{parse:function(Ie,je){return de&&!h(je)?B(Ie):ne(Ie,je)}})},9196:function(d,g,e){"use strict";var r=e(94488),i=e(13247),l=e(82778),c=e(65911),f=e(89945),o=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,A=String,R=SyntaxError,L=c("JSON","parse"),P=c("JSON","stringify"),D=c("Object","create"),B=c("Object","freeze"),$=o("".charAt),j=o("".slice),K=o(/./.exec),V=o([].push),W=_(),oe=W.length,ae="Unacceptable as raw JSON",ce=/^[\t\n\r ]$/;r({target:"JSON",stat:!0,forced:!l},{rawJSON:function(J){var Y=a(J);if(Y===""||K(ce,$(Y,0))||K(ce,$(Y,Y.length-1)))throw new R(ae);var le=L(Y);if(typeof le=="object"&&le!==null)throw new R(ae);var ne=D(null);return b(ne,{type:"RawJSON"}),x(ne,"rawJSON",Y),i?B(ne):ne}}),P&&r({target:"JSON",stat:!0,arity:3,forced:!l},{stringify:function(J,Y,le){var ne=y(Y),ee=[],ie=P(J,function(je,Fe){var Ft=h(ne)?f(ne,this,A(je),Fe):Fe;return u(Ft)?W+(V(ee,Ft.rawJSON)-1):Ft},le);if(typeof ie!="string")return ie;for(var F="",M=ie.length,Q=0;Q<M;Q++){var de=$(ie,Q);if(de==='"'){var Se=p(ie,++Q).end-1,Ie=j(ie,Q,Se);F+=j(Ie,0,oe)===W?ee[j(Ie,oe)]:'"'+Ie+'"',Q=Se}else F+=de}return F}})},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),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},26259:function(d,g,e){"use strict";var r=e(94488),i=e(42683),l=e(2786),c=l.get,f=l.has,o=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),o(x,u,p)),p):(y=a.insert(u,x),o(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(o){var h=l(this),u=i(o,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),o=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 o;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(o){var h=l(this),u=i(o,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(o){var h=l(this),u=i(o,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(o){return c(l(this),function(h){if(i(h,o))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),o=e(2786).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(u,a){var x=c(this)?this:o,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 o=l(i(this),function(h,u){if(h===f)return{key:u}},!0);return o&&o.key}})},83543:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),o=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 o;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),o=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 o;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(o){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(o){var h=l(this),u=i(o,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,o=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 A=b?o(y,x):i(_>2?arguments[2]:void 0)(x,y);return u(y,x,p(A,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,o,h){return i(h,l(o,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,o,h,u,a){return l(i(f,o,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,o){var h=l>>>0,u=c>>>0,a=f>>>0;return u+(o>>>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,o=+l,h=+c,u=o&f,a=h&f,x=o>>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,o){var h=l>>>0,u=c>>>0,a=f>>>0;return u-(o>>>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),o=e(94844),h="Seeded Random",u=h+" Generator",a='Math.seededPRNG() argument should have a "seed" field with a finite value.',x=o.set,p=o.getterFor(u),y=TypeError,_=c(function(A){x(this,{type:u,seed:A%2147483647})},h,function(){var A=p(this),R=A.seed=(A.seed*1103515245+12345)%2147483647;return f((R&1073741823)/1073741823,!1)});r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(A){var R=i(A).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,o=+l,h=+c,u=o&f,a=h&f,x=o>>>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",o=RangeError,h=SyntaxError,u=TypeError,a=parseInt,x=Math.pow,p=/^[\d.a-z]+$/,y=i("".charAt),_=i(p.exec),b=i(1 .toString),A=i("".slice),R=i("".split);r({target:"Number",stat:!0,forced:!0},{fromString:function(P,D){var B=1;if(typeof P!="string")throw new u(c);if(!P.length)throw new h(c);if(y(P,0)==="-"&&(B=-1,P=A(P,1),!P.length))throw new h(c);var $=D===void 0?10:l(D);if($<2||$>36)throw new o(f);if(!_(p,P))throw new h(c);var j=R(P,"."),K=a(j[0],$);if(j.length>1&&(K+=a(j[1],$)/x($,j[1].length)),$===10&&b(K,$)!==P)throw new h(c);return B*K}})},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,o){return new i(c,f,o,"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),o=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),A=e(61810),R=e(59893),L=e(94844),P=R("observable"),D="Observable",B="Subscription",$="SubscriptionObserver",j=L.getterFor,K=L.set,V=j(D),W=j(B),oe=j($),ae=function(le){this.observer=o(le),this.cleanup=void 0,this.subscriptionObserver=void 0};ae.prototype={type:B,clean:function(){var le=this.cleanup;if(le){this.cleanup=void 0;try{le()}catch(ne){A(ne)}}},close:function(){if(!l){var le=this.facade,ne=this.subscriptionObserver;le.closed=!0,ne&&(ne.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var ce=function(le,ne){var ee=K(this,new ae(le)),ie;l||(this.closed=!1);try{(ie=p(le,"start"))&&i(ie,le,this)}catch(de){A(de)}if(!ee.isClosed()){var F=ee.subscriptionObserver=new q(ee);try{var M=ne(F),Q=M;a(M)||(ee.cleanup=u(M.unsubscribe)?function(){Q.unsubscribe()}:f(M))}catch(de){F.error(de);return}ee.isClosed()&&ee.clean()}};ce.prototype=_({},{unsubscribe:function(){var ne=W(this);ne.isClosed()||(ne.close(),ne.clean())}}),l&&b(ce.prototype,"closed",{configurable:!0,get:function(){return W(this).isClosed()}});var q=function(le){K(this,{type:$,subscriptionState:le}),l||(this.closed=!1)};q.prototype=_({},{next:function(ne){var ee=oe(this).subscriptionState;if(!ee.isClosed()){var ie=ee.observer;try{var F=p(ie,"next");F&&i(F,ie,ne)}catch(M){A(M)}}},error:function(ne){var ee=oe(this).subscriptionState;if(!ee.isClosed()){var ie=ee.observer;ee.close();try{var F=p(ie,"error");F?i(F,ie,ne):A(ne)}catch(M){A(M)}ee.clean()}},complete:function(){var ne=oe(this).subscriptionState;if(!ne.isClosed()){var ee=ne.observer;ne.close();try{var ie=p(ee,"complete");ie&&i(ie,ee)}catch(F){A(F)}ne.clean()}}}),l&&b(q.prototype,"closed",{configurable:!0,get:function(){return oe(this).subscriptionState.isClosed()}});var J=function(ne){h(this,Y),K(this,{type:D,subscriber:f(ne)})},Y=J.prototype;_(Y,{subscribe:function(ne){var ee=arguments.length;return new ce(u(ne)?{next:ne,error:ee>1?arguments[1]:void 0,complete:ee>2?arguments[2]:void 0}:x(ne)?ne:{},V(this).subscriber)}}),y(Y,P,function(){return this}),r({global:!0,constructor:!0,forced:!0},{Observable:J}),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),o=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 A=c(l(b,y));return A.constructor===_?A:new _(function(L){return A.subscribe(L)})}var R=o(y);return new _(function(L){u(R,function(P,D){if(L.next(P),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 o=l(this)?this:i("Observable"),h=arguments.length,u=c(h),a=0;a<h;)u[a]=arguments[a++];return new o(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),o=l(c);return(o.error?f.reject:f.resolve)(o.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,o=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=o.get(a);return y.delete(x),!!y.size||o.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),o=e(65621),h=i(o),u=i([].concat),a=l.keys,x=l.toKey,p=function(y,_){var b=a(y,_),A=f(y);if(A===null)return b;var R=p(A,_);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,o=i.get,h=i.toKey,u=function(a,x,p){var y=f(a,x,p);if(y)return o(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,o=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:o(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),o=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":"")+o(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),o=0,h=arguments.length;o<h;o++)l(f,arguments[o]);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),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},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(o){return i(c,this,l(o))}})},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(o){var h=l(this),u=i(o,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),o=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 o;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(o){var h=l(this),u=i(o,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(o){return i(c,this,l(o))}})},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(o){return i(c,this,l(o))}})},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(o){return i(c,this,l(o))}})},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(o){return i(c,this,l(o))}})},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),o=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,_)}),o(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),o=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 o;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(o){var h=l(this),u=i(o,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(o){return i(c,this,l(o))}})},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(o){return i(c,this,l(o))}})},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),o=e(94844),h=e(13764),u=h.codeAt,a=h.charAt,x="String Iterator",p=o.set,y=o.getterFor(x),_=i(function(A){p(this,{type:x,string:A,index:0})},"String",function(){var A=y(this),R=A.string,L=A.index,P;return L>=R.length?l(void 0,!0):(P=a(R,L),A.index+=P.length,l({codePoint:u(P,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),o=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),A=e(19268),R=new y.WeakMap,L=y.get,P=y.has,D=y.set,B=Array,$=TypeError,j=Object.freeze||Object,K=Object.isFrozen,V=Math.min,W=c("".charAt),oe=c("".slice),ae=c("".split),ce=c(/./.exec),q=/([\n\u2028\u2029]|\r\n?)/g,J=RegExp("^["+A+"]*"),Y=RegExp("[^"+A+"]"),le="Invalid tag",ne="Invalid opening line",ee="Invalid closing line",ie=function(Ie){var je=Ie.raw;if(r&&!K(je))throw new $("Raw template should be frozen");if(P(R,je))return L(R,je);var Fe=F(je),Ft=Q(Fe);return x(Ft,"raw",{value:j(Fe)}),j(Ft),D(R,je,Ft),Ft},F=function(Ie){var je=h(Ie),Fe=a(je),Ft=B(Fe),_t=B(Fe),Pt=0,Qt,Jt,qt,Xe;if(!Fe)throw new $(le);for(;Pt<Fe;Pt++){var It=je[Pt];if(typeof It=="string")Ft[Pt]=ae(It,q);else throw new $(le)}for(Pt=0;Pt<Fe;Pt++){var Ut=Pt+1===Fe;if(Qt=Ft[Pt],Pt===0){if(Qt.length===1||Qt[0].length>0)throw new $(ne);Qt[1]=""}if(Ut){if(Qt.length===1||ce(Y,Qt[Qt.length-1]))throw new $(ee);Qt[Qt.length-2]="",Qt[Qt.length-1]=""}for(var ot=2;ot<Qt.length;ot+=2){var bt=Qt[ot],ht=ot+1===Qt.length&&!Ut,et=ce(J,bt)[0];if(!ht&&et.length===bt.length){Qt[ot]="";continue}Jt=M(et,Jt)}}var Ue=Jt?Jt.length:0;for(Pt=0;Pt<Fe;Pt++){for(Qt=Ft[Pt],qt=Qt[0],Xe=1;Xe<Qt.length;Xe+=2)qt+=Qt[Xe]+oe(Qt[Xe+1],Ue);_t[Pt]=qt}return _t},M=function(Ie,je){if(je===void 0||Ie===je)return Ie;for(var Fe=0,Ft=V(Ie.length,je.length);Fe<Ft&&W(Ie,Fe)===W(je,Fe);Fe++);return oe(Ie,0,Fe)},Q=function(Ie){for(var je=0,Fe=Ie.length,Ft=B(Fe);je<Fe;je++)Ft[je]=b(Ie[je]);return Ft},de=function(Ie){return l(function(je){var Fe=p(arguments);return Fe[0]=ie(o(je)),f(Ie,this,Fe)},"")},Se=de(_);i({target:"String",stat:!0,forced:!0},{dedent:function(je){return o(je),u(je)?de(je):f(Se,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),o=e(20132),h=e(68151),u=e(35012),a=e(61888),x=e(7825),p=e(59893),y=p("toStringTag"),_=Error,b=function(L,P,D){var B=i(A,this),$;return c?$=c(new _,B?l(this):A):($=B?this:o(A),h($,y,"Error")),D!==void 0&&h($,"message",x(D)),a($,b,$.stack,1),h($,"error",L),h($,"suppressed",P),$};c?c(b,_):f(b,_,{name:!0});var A=b.prototype=o(_.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 o=c(f,"asyncDispose");o.enumerable&&o.configurable&&o.writable&&l(f,"asyncDispose",{value:o.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 o=c(f,"dispose");o.enumerable&&o.configurable&&o.writable&&l(f,"dispose",{value:o.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),o=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(o(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),o=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]),A=b.toSpliced(1,0,{valueOf:function(){return b[0]=2,3}});return A[0]!==2||A[1]!==3});x("toSpliced",function(A,R){var L=u(this),P=a(L),D=i(L),B=c(A,D),$=arguments.length,j=0,K,V,W,oe,ae,ce,q;if($===0)K=V=0;else if($===1)K=0,V=D-B;else if(V=y(p(o(R),0),D-B),K=$-2,K){oe=new P(K),W=l(oe);for(var J=2;J<$;J++)ae=arguments[J],oe[J-2]=W?f(ae):+ae}for(ce=D+K-V,q=new P(ce);j<B;j++)q[j]=L[j];for(;j<B+K;j++)q[j]=oe[j-B];for(;j<ce;j++)q[j]=L[j+V-K];return q},!_)},17230:function(d,g,e){"use strict";var r=e(94237),i=e(58261),l=e(69478),c=e(65621),f=i.aTypedArray,o=i.getTypedArrayConstructor,h=i.exportTypedArrayMethod,u=r(c);h("uniqueBy",function(x){return f(this),l(o(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),o=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),A=l("".replace),R=l("".slice),L=l([].push),P=/[\t\n\f\r ]/g,D="Extra bits";y&&r({target:"Uint8Array",stat:!0,forced:!0},{fromBase64:function($){f($);var j=arguments.length>1?c(arguments[1]):void 0,K=a(j)==="base64"?x:p,V=j?!!j.strict:!1,W=V?$:A($,P,"");if(W.length%4===0)R(W,-2)==="=="?W=R(W,0,-2):R(W,-1)==="="&&(W=R(W,0,-1));else if(V)throw new _("Input is not correctly padded");var oe=W.length%4;switch(oe){case 1:throw new _("Bad input length");case 2:W+="AA";break;case 3:W+="A"}for(var ae=[],ce=0,q=W.length,J=function(ne){var ee=b(W,ce+ne);if(!o(K,ee))throw new _('Bad char in input: "'+ee+'"');return K[ee]<<18-6*ne};ce<q;ce+=4){var Y=J(0)+J(1)+J(2)+J(3);L(ae,Y>>16&255,Y>>8&255,Y&255)}var le=ae.length;if(oe===2){if(V&&ae[le-2]!==0)throw new _(D);le-=2}else if(oe===3){if(V&&ae[le-1]!==0)throw new _(D);le--}return h(y,ae,le)}})},57151:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(79606),f=i.Uint8Array,o=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 o("String should have an even number of characters");if(a(u,y))throw new o("String should only contain hex characters");for(var b=new f(_/2),A=0;A<_;A+=2)b[A/2]=h(x(y,A,A+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),o=e(66244),h=e(81750),u=o.i2c,a=o.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,A=h(b)==="base64"?u:a,R="",L=0,P=_.length,D,B=function($){return p(A,D>>6*$&63)};L+2<P;L+=3)D=(_[L]<<16)+(_[L+1]<<8)+_[L+2],R+=B(3)+B(2)+B(1)+B(0);return L+2===P?(D=(_[L]<<16)+(_[L+1]<<8),R+=B(3)+B(2)+B(1)+"="):L+1===P&&(D=_[L]<<16,R+=B(3)+B(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,o=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=o(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),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},90965:function(d,g,e){"use strict";var r=e(94488),i=e(63619),l=e(42530),c=l.get,f=l.has,o=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),o(x,u,p)),p):(y=a.insert(u,x),o(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),o=0,h=arguments.length;o<h;o++)l(f,arguments[o]);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),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},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),o=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,A=c("".charAt),R=c("".replace),L=c(x.exec),P=!!_&&!o(function(){return _("aGk=")!=="hi"}),D=P&&o(function(){return _(" ")!==""}),B=P&&!o(function(){_("a")}),$=P&&!o(function(){_()}),j=P&&_.length!==1,K=!P||D||B||$||j;r({global:!0,bind:!0,enumerable:!0,forced:K},{atob:function(W){if(u(arguments.length,1),P&&!D&&!B)return f(_,i,W);var oe=R(h(W),p,""),ae="",ce=0,q=0,J,Y,le;if(oe.length%4===0&&(oe=R(oe,y,"")),J=oe.length,J%4===1||L(x,oe))throw new(l("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;ce<J;)Y=A(oe,ce++),le=q%4?le*64+a[Y]:a[Y],q++%4&&(ae+=b(255&le>>(-2*q&6)));return ae}})},55182:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(94237),f=e(89945),o=e(3338),h=e(69905),u=e(57106),a=e(66244).i2c,x=l("btoa"),p=c("".charAt),y=c("".charCodeAt),_=!!x&&!o(function(){return x("hi")!=="aGk="}),b=_&&!o(function(){x()}),A=_&&o(function(){return x(null)!=="bnVsbA=="}),R=_&&x.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!_||b||A||R},{btoa:function(P){if(u(arguments.length,1),_)return f(x,i,h(P));for(var D=h(P),B="",$=0,j=a,K,V;p(D,$)||(j="=",$%1);){if(V=y(D,$+=.75),V>255)throw new(l("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");K=K<<8|V,B+=p(j,63&K>>8-$%1*8)}return B}})},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),o=function(u){if(u&&u.forEach!==c)try{f(u,"forEach",c)}catch(a){u.forEach=c}};for(var h in i)i[h]&&o(r[h]&&r[h].prototype);o(l)},85425:function(d,g,e){"use strict";var r=e(92916),i=e(66749),l=e(9518),c=e(11005),f=e(68151),o=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(A){y[u]=a}if(o(y,_,!0),i[_]){for(var b in c)if(y[b]!==c[b])try{f(y,b,c[b])}catch(A){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),o=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),A=e(52109),R=e(80739),L=e(94844),P=e(35454),D=e(16697),B="DOMException",$="DATA_CLONE_ERR",j=l("Error"),K=l(B)||function(){try{var _t=l("MessageChannel")||i("worker_threads").MessageChannel;new _t().port1.postMessage(new WeakMap)}catch(Pt){if(Pt.name===$&&Pt.code===25)return Pt.constructor}}(),V=K&&K.prototype,W=j.prototype,oe=L.set,ae=L.getterFor(B),ce="stack"in new j(B),q=function(_t){return x(A,_t)&&A[_t].m?A[_t].c:0},J=function(){p(this,Y);var Pt=arguments.length,Qt=b(Pt<1?void 0:arguments[0]),Jt=b(Pt<2?void 0:arguments[1],"Error"),qt=q(Jt);if(oe(this,{type:B,name:Jt,message:Qt,code:qt}),P||(this.name=Jt,this.message=Qt,this.code=qt),ce){var Xe=new j(Qt);Xe.name=B,h(this,"stack",o(1,R(Xe.stack,1)))}},Y=J.prototype=f(W),le=function(_t){return{enumerable:!0,configurable:!0,get:_t}},ne=function(_t){return le(function(){return ae(this)[_t]})};P&&(a(Y,"code",ne("code")),a(Y,"message",ne("message")),a(Y,"name",ne("name"))),h(Y,"constructor",o(1,J));var ee=c(function(){return!(new K instanceof j)}),ie=ee||c(function(){return W.toString!==_||String(new K(1,2))!=="2: 1"}),F=ee||c(function(){return new K(1,"DataCloneError").code!==25}),M=ee||K[$]!==25||V[$]!==25,Q=D?ie||F||M:ee;r({global:!0,constructor:!0,forced:Q},{DOMException:Q?J:K});var de=l(B),Se=de.prototype;ie&&(D||K===de)&&u(Se,"toString",_),F&&P&&K===de&&a(Se,"code",le(function(){return q(y(this).name)}));for(var Ie in A)if(x(A,Ie)){var je=A[Ie],Fe=je.s,Ft=o(6,je.c);x(de,Fe)||h(de,Fe,Ft),x(Se,Fe)||h(Se,Fe,Ft)}},41599:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(35012),f=e(37691).f,o=e(32621),h=e(56472),u=e(25576),a=e(7825),x=e(52109),p=e(80739),y=e(35454),_=e(16697),b="DOMException",A=l("Error"),R=l(b),L=function(){h(this,P);var J=arguments.length,Y=a(J<1?void 0:arguments[0]),le=a(J<2?void 0:arguments[1],"Error"),ne=new R(Y,le),ee=new A(Y);return ee.name=b,f(ne,"stack",c(1,p(ee.stack,1))),u(ne,this,L),ne},P=L.prototype=R.prototype,D="stack"in new A(b),B="stack"in new R(1,2),$=R&&y&&Object.getOwnPropertyDescriptor(i,b),j=!!$&&!($.writable&&$.configurable),K=D&&!j&&!B;r({global:!0,constructor:!0,forced:_||K},{DOMException:K?L:R});var V=l(b),W=V.prototype;if(W.constructor!==V){_||f(W,"constructor",c(1,V));for(var oe in x)if(o(x,oe)){var ae=x[oe],ce=ae.s;o(V,ce)||f(V,ce,c(6,ae.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),o=e(90946),h=i.process;r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(a){f(arguments.length,1),c(a);var x=o&&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,o=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");o(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),o=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),A=e(97607),R=e(32621),L=e(69392),P=e(68151),D=e(82762),B=e(57106),$=e(81644),j=e(2786),K=e(19691),V=e(57002),W=e(39311),oe=e(25406),ae=e(80426),ce=l.Object,q=l.Array,J=l.Date,Y=l.Error,le=l.TypeError,ne=l.PerformanceMark,ee=c("DOMException"),ie=j.Map,F=j.has,M=j.get,Q=j.set,de=K.Set,Se=K.add,Ie=K.has,je=c("Object","keys"),Fe=f([].push),Ft=f((!0).valueOf),_t=f(1 .valueOf),Pt=f("".valueOf),Qt=f(J.prototype.getTime),Jt=h("structuredClone"),qt="DataCloneError",Xe="Transferring",It=function(Oe){return!o(function(){var Je=new l.Set([7]),Wt=Oe(Je),kt=Oe(ce(7));return Wt===Je||!Wt.has(7)||!p(kt)||+kt!=7})&&Oe},Ut=function(Oe,Je){return!o(function(){var Wt=new Je,kt=Oe({a:Wt,b:Wt});return!(kt&&kt.a===kt.b&&kt.a instanceof Je&&kt.a.stack===Wt.stack)})},ot=function(Oe){return!o(function(){var Je=Oe(new l.AggregateError([1],Jt,{cause:3}));return Je.name!=="AggregateError"||Je.errors[0]!==1||Je.message!==Jt||Je.cause!==3})},bt=l.structuredClone,ht=r||!Ut(bt,Y)||!Ut(bt,ee)||!ot(bt),et=!bt&&It(function(Oe){return new ne(Jt,{detail:Oe}).detail}),Ue=It(bt)||et,ye=function(Oe){throw new ee("Uncloneable type: "+Oe,qt)},Pe=function(Oe,Je){throw new ee((Je||"Cloning")+" of "+Oe+" cannot be properly polyfilled in this engine",qt)},Me=function(Oe,Je){return Ue||Pe(Je),Ue(Oe)},$e=function(){var Oe;try{Oe=new l.DataTransfer}catch(Je){try{Oe=new l.ClipboardEvent("").clipboardData}catch(Wt){}}return Oe&&Oe.items&&Oe.files?Oe:null},He=function(Oe,Je,Wt){if(F(Je,Oe))return M(Je,Oe);var kt=Wt||A(Oe),Zt,Bt,At,Kt,We,fe;if(kt==="SharedArrayBuffer")Ue?Zt=Ue(Oe):Zt=Oe;else{var _e=l.DataView;!_e&&!u(Oe.slice)&&Pe("ArrayBuffer");try{if(u(Oe.slice)&&!Oe.resizable)Zt=Oe.slice(0);else for(Bt=Oe.byteLength,At=("maxByteLength"in Oe)?{maxByteLength:Oe.maxByteLength}:void 0,Zt=new ArrayBuffer(Bt,At),Kt=new _e(Oe),We=new _e(Zt),fe=0;fe<Bt;fe++)We.setUint8(fe,Kt.getUint8(fe))}catch(Ot){throw new ee("ArrayBuffer is detached",qt)}}return Q(Je,Oe,Zt),Zt},nt=function(Oe,Je,Wt,kt,Zt){var Bt=l[Je];return p(Bt)||Pe(Je),new Bt(He(Oe.buffer,Zt),Wt,kt)},ct=function(Oe,Je){if(y(Oe)&&ye("Symbol"),!p(Oe))return Oe;if(Je){if(F(Je,Oe))return M(Je,Oe)}else Je=new ie;var Wt=A(Oe),kt,Zt,Bt,At,Kt,We,fe,_e;switch(Wt){case"Array":Bt=q(D(Oe));break;case"Object":Bt={};break;case"Map":Bt=new ie;break;case"Set":Bt=new de;break;case"RegExp":Bt=new RegExp(Oe.source,$(Oe));break;case"Error":switch(Zt=Oe.name,Zt){case"AggregateError":Bt=new(c(Zt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":Bt=new(c(Zt));break;case"CompileError":case"LinkError":case"RuntimeError":Bt=new(c("WebAssembly",Zt));break;default:Bt=new Y}break;case"DOMException":Bt=new ee(Oe.message,Oe.name);break;case"ArrayBuffer":case"SharedArrayBuffer":Bt=He(Oe,Je,Wt);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=Wt==="DataView"?Oe.byteLength:Oe.length,Bt=nt(Oe,Wt,Oe.byteOffset,We,Je);break;case"DOMQuad":try{Bt=new DOMQuad(ct(Oe.p1,Je),ct(Oe.p2,Je),ct(Oe.p3,Je),ct(Oe.p4,Je))}catch(Ot){Bt=Me(Oe,Wt)}break;case"File":if(Ue)try{Bt=Ue(Oe),A(Bt)!==Wt&&(Bt=void 0)}catch(Ot){}if(!Bt)try{Bt=new File([Oe],Oe.name,Oe)}catch(Ot){}Bt||Pe(Wt);break;case"FileList":if(At=$e(),At){for(Kt=0,We=D(Oe);Kt<We;Kt++)At.items.add(ct(Oe[Kt],Je));Bt=At.files}else Bt=Me(Oe,Wt);break;case"ImageData":try{Bt=new ImageData(ct(Oe.data,Je),Oe.width,Oe.height,{colorSpace:Oe.colorSpace})}catch(Ot){Bt=Me(Oe,Wt)}break;default:if(Ue)Bt=Ue(Oe);else switch(Wt){case"BigInt":Bt=ce(Oe.valueOf());break;case"Boolean":Bt=ce(Ft(Oe));break;case"Number":Bt=ce(_t(Oe));break;case"String":Bt=ce(Pt(Oe));break;case"Date":Bt=new J(Qt(Oe));break;case"Blob":try{Bt=Oe.slice(0,Oe.size,Oe.type)}catch(Ot){Pe(Wt)}break;case"DOMPoint":case"DOMPointReadOnly":kt=l[Wt];try{Bt=kt.fromPoint?kt.fromPoint(Oe):new kt(Oe.x,Oe.y,Oe.z,Oe.w)}catch(Ot){Pe(Wt)}break;case"DOMRect":case"DOMRectReadOnly":kt=l[Wt];try{Bt=kt.fromRect?kt.fromRect(Oe):new kt(Oe.x,Oe.y,Oe.width,Oe.height)}catch(Ot){Pe(Wt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":kt=l[Wt];try{Bt=kt.fromMatrix?kt.fromMatrix(Oe):new kt(Oe)}catch(Ot){Pe(Wt)}break;case"AudioData":case"VideoFrame":u(Oe.clone)||Pe(Wt);try{Bt=Oe.clone()}catch(Ot){ye(Wt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":Pe(Wt);default:ye(Wt)}}switch(Q(Je,Oe,Bt),Wt){case"Array":case"Object":for(fe=je(Oe),Kt=0,We=D(fe);Kt<We;Kt++)_e=fe[Kt],L(Bt,_e,ct(Oe[_e],Je));break;case"Map":Oe.forEach(function(Ot,De){Q(Bt,ct(De,Je),ct(Ot,Je))});break;case"Set":Oe.forEach(function(Ot){Se(Bt,ct(Ot,Je))});break;case"Error":P(Bt,"message",ct(Oe.message,Je)),R(Oe,"cause")&&P(Bt,"cause",ct(Oe.cause,Je)),Zt==="AggregateError"?Bt.errors=ct(Oe.errors,Je):Zt==="SuppressedError"&&(Bt.error=ct(Oe.error,Je),Bt.suppressed=ct(Oe.suppressed,Je));case"DOMException":oe&&P(Bt,"stack",ct(Oe.stack,Je))}return Bt},Gt=function(Oe,Je){if(!p(Oe))throw new le("Transfer option cannot be converted to a sequence");var Wt=[];_(Oe,function(De){Fe(Wt,b(De))});for(var kt=0,Zt=D(Wt),Bt=new de,At,Kt,We,fe,_e,Ot;kt<Zt;){if(At=Wt[kt++],Kt=A(At),Kt==="ArrayBuffer"?Ie(Bt,At):F(Je,At))throw new ee("Duplicate transferable",qt);if(Kt==="ArrayBuffer"){Se(Bt,At);continue}if(ae)fe=bt(At,{transfer:[At]});else switch(Kt){case"ImageBitmap":We=l.OffscreenCanvas,a(We)||Pe(Kt,Xe);try{_e=new We(At.width,At.height),Ot=_e.getContext("bitmaprenderer"),Ot.transferFromImageBitmap(At),fe=_e.transferToImageBitmap()}catch(De){}break;case"AudioData":case"VideoFrame":(!u(At.clone)||!u(At.close))&&Pe(Kt,Xe);try{fe=At.clone(),At.close()}catch(De){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":Pe(Kt,Xe)}if(fe===void 0)throw new ee("This object cannot be transferred: "+Kt,qt);Q(Je,At,fe)}return Bt},Ht=function(Oe){V(Oe,function(Je){ae?Ue(Je,{transfer:[Je]}):u(Je.transfer)?Je.transfer():W?W(Je):Pe("ArrayBuffer",Xe)})};i({global:!0,enumerable:!0,sham:!ae,forced:ht},{structuredClone:function(Je){var Wt=B(arguments.length,1)>1&&!x(arguments[1])?b(arguments[1]):void 0,kt=Wt?Wt.transfer:void 0,Zt,Bt;kt!==void 0&&(Zt=new ie,Bt=Gt(kt,Zt));var At=ct(Je,Zt);return Bt&&Ht(Bt),At}})},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),o=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),A=e(32621),R=e(80666),L=e(97607),P=e(80449),D=e(31946),B=e(69905),$=e(20132),j=e(35012),K=e(85428),V=e(26006),W=e(25587),oe=e(57106),ae=e(59893),ce=e(63668),q=ae("iterator"),J="URLSearchParams",Y=J+"Iterator",le=y.set,ne=y.getterFor(J),ee=y.getterFor(Y),ie=Object.getOwnPropertyDescriptor,F=function(Zt){if(!f)return i[Zt];var Bt=ie(i,Zt);return Bt&&Bt.value},M=F("fetch"),Q=F("Request"),de=F("Headers"),Se=Q&&Q.prototype,Ie=de&&de.prototype,je=i.RegExp,Fe=i.TypeError,Ft=i.decodeURIComponent,_t=i.encodeURIComponent,Pt=c("".charAt),Qt=c([].join),Jt=c([].push),qt=c("".replace),Xe=c([].shift),It=c([].splice),Ut=c("".split),ot=c("".slice),bt=/\+/g,ht=Array(4),et=function(Zt){return ht[Zt-1]||(ht[Zt-1]=je("((?:%[\\da-f]{2}){"+Zt+"})","gi"))},Ue=function(Zt){try{return Ft(Zt)}catch(Bt){return Zt}},ye=function(Zt){var Bt=qt(Zt,bt," "),At=4;try{return Ft(Bt)}catch(Kt){for(;At;)Bt=qt(Bt,et(At--),Ue);return Bt}},Pe=/[!'()~]|%20/g,Me={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},$e=function(Zt){return Me[Zt]},He=function(Zt){return qt(_t(Zt),Pe,$e)},nt=p(function(Bt,At){le(this,{type:Y,target:ne(Bt).entries,index:0,kind:At})},J,function(){var Bt=ee(this),At=Bt.target,Kt=Bt.index++;if(!At||Kt>=At.length)return Bt.target=void 0,W(void 0,!0);var We=At[Kt];switch(Bt.kind){case"keys":return W(We.key,!1);case"values":return W(We.value,!1)}return W([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"?Pt(Zt,0)==="?"?ot(Zt,1):Zt:B(Zt)))};ct.prototype={type:J,bindURL:function(Zt){this.url=Zt,this.update()},parseObject:function(Zt){var Bt=this.entries,At=V(Zt),Kt,We,fe,_e,Ot,De,dt;if(At)for(Kt=K(Zt,At),We=Kt.next;!(fe=l(We,Kt)).done;){if(_e=K(P(fe.value)),Ot=_e.next,(De=l(Ot,_e)).done||(dt=l(Ot,_e)).done||!l(Ot,_e).done)throw new Fe("Expected sequence with length 2");Jt(Bt,{key:B(De.value),value:B(dt.value)})}else for(var zt in Zt)A(Zt,zt)&&Jt(Bt,{key:zt,value:B(Zt[zt])})},parseQuery:function(Zt){if(Zt)for(var Bt=this.entries,At=Ut(Zt,"&"),Kt=0,We,fe;Kt<At.length;)We=At[Kt++],We.length&&(fe=Ut(We,"="),Jt(Bt,{key:ye(Xe(fe)),value:ye(Qt(fe,"="))}))},serialize:function(){for(var Zt=this.entries,Bt=[],At=0,Kt;At<Zt.length;)Kt=Zt[At++],Jt(Bt,He(Kt.key)+"="+He(Kt.value));return Qt(Bt,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Gt=function(){_(this,Ht);var Bt=arguments.length>0?arguments[0]:void 0,At=le(this,new ct(Bt));f||(this.size=At.entries.length)},Ht=Gt.prototype;if(a(Ht,{append:function(Bt,At){var Kt=ne(this);oe(arguments.length,2),Jt(Kt.entries,{key:B(Bt),value:B(At)}),f||this.length++,Kt.updateURL()},delete:function(Zt){for(var Bt=ne(this),At=oe(arguments.length,1),Kt=Bt.entries,We=B(Zt),fe=At<2?void 0:arguments[1],_e=fe===void 0?fe:B(fe),Ot=0;Ot<Kt.length;){var De=Kt[Ot];if(De.key===We&&(_e===void 0||De.value===_e)){if(It(Kt,Ot,1),_e!==void 0)break}else Ot++}f||(this.size=Kt.length),Bt.updateURL()},get:function(Bt){var At=ne(this).entries;oe(arguments.length,1);for(var Kt=B(Bt),We=0;We<At.length;We++)if(At[We].key===Kt)return At[We].value;return null},getAll:function(Bt){var At=ne(this).entries;oe(arguments.length,1);for(var Kt=B(Bt),We=[],fe=0;fe<At.length;fe++)At[fe].key===Kt&&Jt(We,At[fe].value);return We},has:function(Bt){for(var At=ne(this).entries,Kt=oe(arguments.length,1),We=B(Bt),fe=Kt<2?void 0:arguments[1],_e=fe===void 0?fe:B(fe),Ot=0;Ot<At.length;){var De=At[Ot++];if(De.key===We&&(_e===void 0||De.value===_e))return!0}return!1},set:function(Bt,At){var Kt=ne(this);oe(arguments.length,1);for(var We=Kt.entries,fe=!1,_e=B(Bt),Ot=B(At),De=0,dt;De<We.length;De++)dt=We[De],dt.key===_e&&(fe?It(We,De--,1):(fe=!0,dt.value=Ot));fe||Jt(We,{key:_e,value:Ot}),f||(this.size=We.length),Kt.updateURL()},sort:function(){var Bt=ne(this);ce(Bt.entries,function(At,Kt){return At.key>Kt.key?1:-1}),Bt.updateURL()},forEach:function(Bt){for(var At=ne(this).entries,Kt=R(Bt,arguments.length>1?arguments[1]:void 0),We=0,fe;We<At.length;)fe=At[We++],Kt(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(Ht,q,Ht.entries,{name:"entries"}),h(Ht,"toString",function(){return ne(this).serialize()},{enumerable:!0}),f&&u(Ht,"size",{get:function(){return ne(this).entries.length},configurable:!0,enumerable:!0}),x(Gt,J),r({global:!0,constructor:!0,forced:!o},{URLSearchParams:Gt}),!o&&b(de)){var Oe=c(Ie.has),Je=c(Ie.set),Wt=function(Zt){if(D(Zt)){var Bt=Zt.body,At;if(L(Bt)===J)return At=Zt.headers?new de(Zt.headers):new de,Oe(At,"content-type")||Je(At,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),$(Zt,{body:j(0,B(Bt)),headers:j(0,At)})}return Zt};if(b(M)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Bt){return M(Bt,arguments.length>1?Wt(arguments[1]):{})}}),b(Q)){var kt=function(Bt){return _(this,Se),new Q(Bt,arguments.length>1?Wt(arguments[1]):{})};Se.constructor=kt,kt.prototype=Se,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:kt})}}d.exports={URLSearchParams:Gt,getState:ne}},4890:function(d,g,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,o=f.prototype,h=i(o.append),u=i(o.delete),a=i(o.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(o,"delete",function(y){var _=arguments.length,b=_<2?void 0:arguments[1];if(_&&b===void 0)return u(this,y);var A=[];a(this,function(K,V){x(A,{key:V,value:K})}),c(_,1);for(var R=l(y),L=l(b),P=0,D=0,B=!1,$=A.length,j;P<$;)j=A[P++],B||j.key===R?(B=!0,u(this,j.key)):D++;for(;D<$;)j=A[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,o=f.prototype,h=i(o.getAll),u=i(o.has),a=new f("a=1");(a.has("a",2)||!a.has("a",void 0))&&r(o,"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 A=l(_),R=0;R<b.length;)if(b[R++]===A)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),o=e(3299),h=i("URL"),u=o&&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),o=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,A=e(93245),R=e(69905),L=e(94573),P=e(57106),D=e(91340),B=e(94844),$=B.set,j=B.getterFor("URL"),K=D.URLSearchParams,V=D.getState,W=c.URL,oe=c.TypeError,ae=c.parseInt,ce=Math.floor,q=Math.pow,J=o("".charAt),Y=o(/./.exec),le=o([].join),ne=o(1 .toString),ee=o([].pop),ie=o([].push),F=o("".replace),M=o([].shift),Q=o("".split),de=o("".slice),Se=o("".toLowerCase),Ie=o([].unshift),je="Invalid authority",Fe="Invalid scheme",Ft="Invalid host",_t="Invalid port",Pt=/[a-z]/i,Qt=/[\d+-.a-z]/i,Jt=/\d/,qt=/^0x/i,Xe=/^[0-7]+$/,It=/^\d+$/,Ut=/^[\da-f]+$/i,ot=/[\0\t\n\r #%/:<>?@[\\\]^|]/,bt=/[\0\t\n\r #/:<>?@[\\\]^|]/,ht=/^[\u0000-\u0020]+/,et=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ue=/[\t\n\r]/g,ye,Pe=function(sr){var Mt=Q(sr,"."),vt,yt,Nt,Cr,vr,ut,Rr;if(Mt.length&&Mt[Mt.length-1]===""&&Mt.length--,vt=Mt.length,vt>4)return sr;for(yt=[],Nt=0;Nt<vt;Nt++){if(Cr=Mt[Nt],Cr==="")return sr;if(vr=10,Cr.length>1&&J(Cr,0)==="0"&&(vr=Y(qt,Cr)?16:8,Cr=de(Cr,vr===8?1:2)),Cr==="")ut=0;else{if(!Y(vr===10?It:vr===8?Xe:Ut,Cr))return sr;ut=ae(Cr,vr)}ie(yt,ut)}for(Nt=0;Nt<vt;Nt++)if(ut=yt[Nt],Nt===vt-1){if(ut>=q(256,5-vt))return null}else if(ut>255)return null;for(Rr=ee(yt),Nt=0;Nt<yt.length;Nt++)Rr+=yt[Nt]*q(256,3-Nt);return Rr},Me=function(sr){var Mt=[0,0,0,0,0,0,0,0],vt=0,yt=null,Nt=0,Cr,vr,ut,Rr,_n,Un,_r,Jr=function(){return J(sr,Nt)};if(Jr()===":"){if(J(sr,1)!==":")return;Nt+=2,vt++,yt=vt}for(;Jr();){if(vt===8)return;if(Jr()===":"){if(yt!==null)return;Nt++,vt++,yt=vt;continue}for(Cr=vr=0;vr<4&&Y(Ut,Jr());)Cr=Cr*16+ae(Jr(),16),Nt++,vr++;if(Jr()==="."){if(vr===0||(Nt-=vr,vt>6))return;for(ut=0;Jr();){if(Rr=null,ut>0)if(Jr()==="."&&ut<4)Nt++;else return;if(!Y(Jt,Jr()))return;for(;Y(Jt,Jr());){if(_n=ae(Jr(),10),Rr===null)Rr=_n;else{if(Rr===0)return;Rr=Rr*10+_n}if(Rr>255)return;Nt++}Mt[vt]=Mt[vt]*256+Rr,ut++,(ut===2||ut===4)&&vt++}if(ut!==4)return;break}else if(Jr()===":"){if(Nt++,!Jr())return}else if(Jr())return;Mt[vt++]=Cr}if(yt!==null)for(Un=vt-yt,vt=7;vt!==0&&Un>0;)_r=Mt[vt],Mt[vt--]=Mt[yt+Un-1],Mt[yt+--Un]=_r;else if(vt!==8)return;return Mt},$e=function(sr){for(var Mt=null,vt=1,yt=null,Nt=0,Cr=0;Cr<8;Cr++)sr[Cr]!==0?(Nt>vt&&(Mt=yt,vt=Nt),yt=null,Nt=0):(yt===null&&(yt=Cr),++Nt);return Nt>vt&&(Mt=yt,vt=Nt),Mt},He=function(sr){var Mt,vt,yt,Nt;if(typeof sr=="number"){for(Mt=[],vt=0;vt<4;vt++)Ie(Mt,sr%256),sr=ce(sr/256);return le(Mt,".")}else if(typeof sr=="object"){for(Mt="",yt=$e(sr),vt=0;vt<8;vt++)Nt&&sr[vt]===0||(Nt&&(Nt=!1),yt===vt?(Mt+=vt?":":"::",Nt=!0):(Mt+=ne(sr[vt],16),vt<7&&(Mt+=":")));return"["+Mt+"]"}return sr},nt={},ct=p({},nt,{" ":1,'"':1,"<":1,">":1,"`":1}),Gt=p({},ct,{"#":1,"?":1,"{":1,"}":1}),Ht=p({},Gt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Oe=function(sr,Mt){var vt=b(sr,0);return vt>32&&vt<127&&!x(Mt,sr)?sr:encodeURIComponent(sr)},Je={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Wt=function(sr,Mt){var vt;return sr.length===2&&Y(Pt,J(sr,0))&&((vt=J(sr,1))===":"||!Mt&&vt==="|")},kt=function(sr){var Mt;return sr.length>1&&Wt(de(sr,0,2))&&(sr.length===2||(Mt=J(sr,2))==="/"||Mt==="\\"||Mt==="?"||Mt==="#")},Zt=function(sr){return sr==="."||Se(sr)==="%2e"},Bt=function(sr){return sr=Se(sr),sr===".."||sr==="%2e."||sr===".%2e"||sr==="%2e%2e"},At={},Kt={},We={},fe={},_e={},Ot={},De={},dt={},zt={},Ct={},ke={},wt={},xe={},Ke={},gt={},Lt={},Be={},Dr={},St={},Gr={},Xr={},Sr=function(sr,Mt,vt){var yt=R(sr),Nt,Cr,vr;if(Mt){if(Cr=this.parse(yt),Cr)throw new oe(Cr);this.searchParams=null}else{if(vt!==void 0&&(Nt=new Sr(vt,!0)),Cr=this.parse(yt,null,Nt),Cr)throw new oe(Cr);vr=V(new K),vr.bindURL(this),this.searchParams=vr}};Sr.prototype={type:"URL",parse:function(sr,Mt,vt){var yt=this,Nt=Mt||At,Cr=0,vr="",ut=!1,Rr=!1,_n=!1,Un,_r,Jr,dn;for(sr=R(sr),Mt||(yt.scheme="",yt.username="",yt.password="",yt.host=null,yt.port=null,yt.path=[],yt.query=null,yt.fragment=null,yt.cannotBeABaseURL=!1,sr=F(sr,ht,""),sr=F(sr,et,"$1")),sr=F(sr,Ue,""),Un=y(sr);Cr<=Un.length;){switch(_r=Un[Cr],Nt){case At:if(_r&&Y(Pt,_r))vr+=Se(_r),Nt=Kt;else{if(Mt)return Fe;Nt=We;continue}break;case Kt:if(_r&&(Y(Qt,_r)||_r==="+"||_r==="-"||_r==="."))vr+=Se(_r);else if(_r===":"){if(Mt&&(yt.isSpecial()!==x(Je,vr)||vr==="file"&&(yt.includesCredentials()||yt.port!==null)||yt.scheme==="file"&&!yt.host))return;if(yt.scheme=vr,Mt){yt.isSpecial()&&Je[yt.scheme]===yt.port&&(yt.port=null);return}vr="",yt.scheme==="file"?Nt=Ke:yt.isSpecial()&&vt&&vt.scheme===yt.scheme?Nt=fe:yt.isSpecial()?Nt=dt:Un[Cr+1]==="/"?(Nt=_e,Cr++):(yt.cannotBeABaseURL=!0,ie(yt.path,""),Nt=St)}else{if(Mt)return Fe;vr="",Nt=We,Cr=0;continue}break;case We:if(!vt||vt.cannotBeABaseURL&&_r!=="#")return Fe;if(vt.cannotBeABaseURL&&_r==="#"){yt.scheme=vt.scheme,yt.path=_(vt.path),yt.query=vt.query,yt.fragment="",yt.cannotBeABaseURL=!0,Nt=Xr;break}Nt=vt.scheme==="file"?Ke:Ot;continue;case fe:if(_r==="/"&&Un[Cr+1]==="/")Nt=zt,Cr++;else{Nt=Ot;continue}break;case _e:if(_r==="/"){Nt=Ct;break}else{Nt=Dr;continue}case Ot:if(yt.scheme=vt.scheme,_r===ye)yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,yt.path=_(vt.path),yt.query=vt.query;else if(_r==="/"||_r==="\\"&&yt.isSpecial())Nt=De;else if(_r==="?")yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,yt.path=_(vt.path),yt.query="",Nt=Gr;else if(_r==="#")yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,yt.path=_(vt.path),yt.query=vt.query,yt.fragment="",Nt=Xr;else{yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,yt.path=_(vt.path),yt.path.length--,Nt=Dr;continue}break;case De:if(yt.isSpecial()&&(_r==="/"||_r==="\\"))Nt=zt;else if(_r==="/")Nt=Ct;else{yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,Nt=Dr;continue}break;case dt:if(Nt=zt,_r!=="/"||J(vr,Cr+1)!=="/")continue;Cr++;break;case zt:if(_r!=="/"&&_r!=="\\"){Nt=Ct;continue}break;case Ct:if(_r==="@"){ut&&(vr="%40"+vr),ut=!0,Jr=y(vr);for(var Mn=0;Mn<Jr.length;Mn++){var Jn=Jr[Mn];if(Jn===":"&&!_n){_n=!0;continue}var Nn=Oe(Jn,Ht);_n?yt.password+=Nn:yt.username+=Nn}vr=""}else if(_r===ye||_r==="/"||_r==="?"||_r==="#"||_r==="\\"&&yt.isSpecial()){if(ut&&vr==="")return je;Cr-=y(vr).length+1,vr="",Nt=ke}else vr+=_r;break;case ke:case wt:if(Mt&&yt.scheme==="file"){Nt=Lt;continue}else if(_r===":"&&!Rr){if(vr==="")return Ft;if(dn=yt.parseHost(vr),dn)return dn;if(vr="",Nt=xe,Mt===wt)return}else if(_r===ye||_r==="/"||_r==="?"||_r==="#"||_r==="\\"&&yt.isSpecial()){if(yt.isSpecial()&&vr==="")return Ft;if(Mt&&vr===""&&(yt.includesCredentials()||yt.port!==null))return;if(dn=yt.parseHost(vr),dn)return dn;if(vr="",Nt=Be,Mt)return;continue}else _r==="["?Rr=!0:_r==="]"&&(Rr=!1),vr+=_r;break;case xe:if(Y(Jt,_r))vr+=_r;else if(_r===ye||_r==="/"||_r==="?"||_r==="#"||_r==="\\"&&yt.isSpecial()||Mt){if(vr!==""){var Ui=ae(vr,10);if(Ui>65535)return _t;yt.port=yt.isSpecial()&&Ui===Je[yt.scheme]?null:Ui,vr=""}if(Mt)return;Nt=Be;continue}else return _t;break;case Ke:if(yt.scheme="file",_r==="/"||_r==="\\")Nt=gt;else if(vt&&vt.scheme==="file")switch(_r){case ye:yt.host=vt.host,yt.path=_(vt.path),yt.query=vt.query;break;case"?":yt.host=vt.host,yt.path=_(vt.path),yt.query="",Nt=Gr;break;case"#":yt.host=vt.host,yt.path=_(vt.path),yt.query=vt.query,yt.fragment="",Nt=Xr;break;default:kt(le(_(Un,Cr),""))||(yt.host=vt.host,yt.path=_(vt.path),yt.shortenPath()),Nt=Dr;continue}else{Nt=Dr;continue}break;case gt:if(_r==="/"||_r==="\\"){Nt=Lt;break}vt&&vt.scheme==="file"&&!kt(le(_(Un,Cr),""))&&(Wt(vt.path[0],!0)?ie(yt.path,vt.path[0]):yt.host=vt.host),Nt=Dr;continue;case Lt:if(_r===ye||_r==="/"||_r==="\\"||_r==="?"||_r==="#"){if(!Mt&&Wt(vr))Nt=Dr;else if(vr===""){if(yt.host="",Mt)return;Nt=Be}else{if(dn=yt.parseHost(vr),dn)return dn;if(yt.host==="localhost"&&(yt.host=""),Mt)return;vr="",Nt=Be}continue}else vr+=_r;break;case Be:if(yt.isSpecial()){if(Nt=Dr,_r!=="/"&&_r!=="\\")continue}else if(!Mt&&_r==="?")yt.query="",Nt=Gr;else if(!Mt&&_r==="#")yt.fragment="",Nt=Xr;else if(_r!==ye&&(Nt=Dr,_r!=="/"))continue;break;case Dr:if(_r===ye||_r==="/"||_r==="\\"&&yt.isSpecial()||!Mt&&(_r==="?"||_r==="#")){if(Bt(vr)?(yt.shortenPath(),_r!=="/"&&!(_r==="\\"&&yt.isSpecial())&&ie(yt.path,"")):Zt(vr)?_r!=="/"&&!(_r==="\\"&&yt.isSpecial())&&ie(yt.path,""):(yt.scheme==="file"&&!yt.path.length&&Wt(vr)&&(yt.host&&(yt.host=""),vr=J(vr,0)+":"),ie(yt.path,vr)),vr="",yt.scheme==="file"&&(_r===ye||_r==="?"||_r==="#"))for(;yt.path.length>1&&yt.path[0]==="";)M(yt.path);_r==="?"?(yt.query="",Nt=Gr):_r==="#"&&(yt.fragment="",Nt=Xr)}else vr+=Oe(_r,Gt);break;case St:_r==="?"?(yt.query="",Nt=Gr):_r==="#"?(yt.fragment="",Nt=Xr):_r!==ye&&(yt.path[0]+=Oe(_r,nt));break;case Gr:!Mt&&_r==="#"?(yt.fragment="",Nt=Xr):_r!==ye&&(_r==="'"&&yt.isSpecial()?yt.query+="%27":_r==="#"?yt.query+="%23":yt.query+=Oe(_r,nt));break;case Xr:_r!==ye&&(yt.fragment+=Oe(_r,ct));break}Cr++}},parseHost:function(sr){var Mt,vt,yt;if(J(sr,0)==="["){if(J(sr,sr.length-1)!=="]"||(Mt=Me(de(sr,1,-1)),!Mt))return Ft;this.host=Mt}else if(this.isSpecial()){if(sr=A(sr),Y(ot,sr)||(Mt=Pe(sr),Mt===null))return Ft;this.host=Mt}else{if(Y(bt,sr))return Ft;for(Mt="",vt=y(sr),yt=0;yt<vt.length;yt++)Mt+=Oe(vt[yt],nt);this.host=Mt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return x(Je,this.scheme)},shortenPath:function(){var sr=this.path,Mt=sr.length;Mt&&(this.scheme!=="file"||Mt!==1||!Wt(sr[0],!0))&&sr.length--},serialize:function(){var sr=this,Mt=sr.scheme,vt=sr.username,yt=sr.password,Nt=sr.host,Cr=sr.port,vr=sr.path,ut=sr.query,Rr=sr.fragment,_n=Mt+":";return Nt!==null?(_n+="//",sr.includesCredentials()&&(_n+=vt+(yt?":"+yt:"")+"@"),_n+=He(Nt),Cr!==null&&(_n+=":"+Cr)):Mt==="file"&&(_n+="//"),_n+=sr.cannotBeABaseURL?vr[0]:vr.length?"/"+le(vr,"/"):"",ut!==null&&(_n+="?"+ut),Rr!==null&&(_n+="#"+Rr),_n},setHref:function(sr){var Mt=this.parse(sr);if(Mt)throw new oe(Mt);this.searchParams.update()},getOrigin:function(){var sr=this.scheme,Mt=this.port;if(sr==="blob")try{return new Mr(sr.path[0]).origin}catch(vt){return"null"}return sr==="file"||!this.isSpecial()?"null":sr+"://"+He(this.host)+(Mt!==null?":"+Mt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(sr){this.parse(R(sr)+":",At)},getUsername:function(){return this.username},setUsername:function(sr){var Mt=y(R(sr));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var vt=0;vt<Mt.length;vt++)this.username+=Oe(Mt[vt],Ht)}},getPassword:function(){return this.password},setPassword:function(sr){var Mt=y(R(sr));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var vt=0;vt<Mt.length;vt++)this.password+=Oe(Mt[vt],Ht)}},getHost:function(){var sr=this.host,Mt=this.port;return sr===null?"":Mt===null?He(sr):He(sr)+":"+Mt},setHost:function(sr){this.cannotBeABaseURL||this.parse(sr,ke)},getHostname:function(){var sr=this.host;return sr===null?"":He(sr)},setHostname:function(sr){this.cannotBeABaseURL||this.parse(sr,wt)},getPort:function(){var sr=this.port;return sr===null?"":R(sr)},setPort:function(sr){this.cannotHaveUsernamePasswordPort()||(sr=R(sr),sr===""?this.port=null:this.parse(sr,xe))},getPathname:function(){var sr=this.path;return this.cannotBeABaseURL?sr[0]:sr.length?"/"+le(sr,"/"):""},setPathname:function(sr){this.cannotBeABaseURL||(this.path=[],this.parse(sr,Be))},getSearch:function(){var sr=this.query;return sr?"?"+sr:""},setSearch:function(sr){sr=R(sr),sr===""?this.query=null:(J(sr,0)==="?"&&(sr=de(sr,1)),this.query="",this.parse(sr,Gr)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var sr=this.fragment;return sr?"#"+sr:""},setHash:function(sr){if(sr=R(sr),sr===""){this.fragment=null;return}J(sr,0)==="#"&&(sr=de(sr,1)),this.fragment="",this.parse(sr,Xr)},update:function(){this.query=this.searchParams.serialize()||null}};var Mr=function(Mt){var vt=a(this,pr),yt=P(arguments.length,1)>1?arguments[1]:void 0,Nt=$(vt,new Sr(Mt,!1,yt));i||(vt.href=Nt.serialize(),vt.origin=Nt.getOrigin(),vt.protocol=Nt.getProtocol(),vt.username=Nt.getUsername(),vt.password=Nt.getPassword(),vt.host=Nt.getHost(),vt.hostname=Nt.getHostname(),vt.port=Nt.getPort(),vt.pathname=Nt.getPathname(),vt.search=Nt.getSearch(),vt.searchParams=Nt.getSearchParams(),vt.hash=Nt.getHash())},pr=Mr.prototype,$r=function(sr,Mt){return{get:function(){return j(this)[sr]()},set:Mt&&function(vt){return j(this)[Mt](vt)},configurable:!0,enumerable:!0}};if(i&&(u(pr,"href",$r("serialize","setHref")),u(pr,"origin",$r("getOrigin")),u(pr,"protocol",$r("getProtocol","setProtocol")),u(pr,"username",$r("getUsername","setUsername")),u(pr,"password",$r("getPassword","setPassword")),u(pr,"host",$r("getHost","setHost")),u(pr,"hostname",$r("getHostname","setHostname")),u(pr,"port",$r("getPort","setPort")),u(pr,"pathname",$r("getPathname","setPathname")),u(pr,"search",$r("getSearch","setSearch")),u(pr,"searchParams",$r("getSearchParams")),u(pr,"hash",$r("getHash","setHash"))),h(pr,"toJSON",function(){return j(this).serialize()},{enumerable:!0}),h(pr,"toString",function(){return j(this).serialize()},{enumerable:!0}),W){var nn=W.createObjectURL,on=W.revokeObjectURL;nn&&h(Mr,"createObjectURL",f(nn,W)),on&&h(Mr,"revokeObjectURL",f(on,W))}L(Mr,"URL"),r({global:!0,constructor:!0,forced:!l,sham:!i},{URL:Mr})},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 o=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),o.push.apply(o,h)}return o}function l(c){for(var f=1;f<arguments.length;f++){var o=arguments[f]!=null?arguments[f]:{};f%2?i(Object(o),!0).forEach(function(h){(0,r.Z)(c,h,o[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(o,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={},o=Object.keys(l),h,u;for(u=0;u<o.length;u++)h=o[u],!(c.indexOf(h)>=0)&&(f[h]=l[h]);return f}function i(l,c){if(l==null)return{};var f=r(l,c),o,h;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(h=0;h<u.length;h++)o=u[h],!(c.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(l,o)&&(f[o]=l[o])}return f}},87296:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(73825);function i(o,h){var u=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,A=!1;try{if(p=(u=u.call(o)).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){A=!0,x=R}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(A)throw x}}return _}}var l=e(99227),c=e(66160);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,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 o=c[Symbol.toPrimitive];if(o!==void 0){var h=o.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,o=new Array(c);f<c;f++)o[f]=l[f];return o}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)}}},56243: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}},29675:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},80237: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}},72633:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});function r(l,c,f,o,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(o,h)}function i(l){return function(){var c=this,f=arguments;return new Promise(function(o,h){var u=l.apply(c,f);function a(p){r(u,o,h,a,x,"next",p)}function x(p){r(u,o,h,a,x,"throw",p)}a(void 0)})}}},96949: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")}},55090:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(60254);function i(c,f){for(var o=0;o<f.length;o++){var h=f[o];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,o){return f&&i(c.prototype,f),o&&i(c,o),Object.defineProperty(c,"prototype",{writable:!1}),c}},38793:function(d,g,e){"use strict";e.d(g,{Z:function(){return c}});var r=e(75841),i=e(47123),l=e(73447);function c(f){var o=(0,i.Z)();return function(){var h,u=(0,r.Z)(f);if(o){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)}}},49618:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(60254);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}},72308: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)}},75841: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)}},77205:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(60039);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)}},47123: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})()}},97591: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)}},49787: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.`)}},39564:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(49618);function i(l){for(var c=1;c<arguments.length;c++){var f=arguments[c]!=null?Object(arguments[c]):{},o=Object.keys(f);typeof Object.getOwnPropertySymbols=="function"&&o.push.apply(o,Object.getOwnPropertySymbols(f).filter(function(h){return Object.getOwnPropertyDescriptor(f,h).enumerable})),o.forEach(function(h){(0,r.Z)(l,h,f[h])})}return l}},77321:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(49618);function i(c,f){var o=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),o.push.apply(o,h)}return o}function l(c){for(var f=1;f<arguments.length;f++){var o=arguments[f]!=null?arguments[f]:{};f%2?i(Object(o),!0).forEach(function(h){(0,r.Z)(c,h,o[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(o,h))})}return c}},74416:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(87488);function i(l,c){if(l==null)return{};var f,o,h=(0,r.Z)(l,c);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(o=0;o<u.length;o++)f=u[o],c.indexOf(f)===-1&&{}.propertyIsEnumerable.call(l,f)&&(h[f]=l[f])}return h}},87488: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}},73447:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(62853),i=e(80237);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)}},65736:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(62853);function i(){"use strict";i=function(){return c};var l,c={},f=Object.prototype,o=f.hasOwnProperty,h=Object.defineProperty||function(ie,F,M){ie[F]=M.value},u=typeof Symbol=="function"?Symbol:{},a=u.iterator||"@@iterator",x=u.asyncIterator||"@@asyncIterator",p=u.toStringTag||"@@toStringTag";function y(ie,F,M){return Object.defineProperty(ie,F,{value:M,enumerable:!0,configurable:!0,writable:!0}),ie[F]}try{y({},"")}catch(ie){y=function(M,Q,de){return M[Q]=de}}function _(ie,F,M,Q){var de=F&&F.prototype instanceof B?F:B,Se=Object.create(de.prototype),Ie=new ne(Q||[]);return h(Se,"_invoke",{value:q(ie,M,Ie)}),Se}function b(ie,F,M){try{return{type:"normal",arg:ie.call(F,M)}}catch(Q){return{type:"throw",arg:Q}}}c.wrap=_;var A="suspendedStart",R="suspendedYield",L="executing",P="completed",D={};function B(){}function $(){}function j(){}var K={};y(K,a,function(){return this});var V=Object.getPrototypeOf,W=V&&V(V(ee([])));W&&W!==f&&o.call(W,a)&&(K=W);var oe=j.prototype=B.prototype=Object.create(K);function ae(ie){["next","throw","return"].forEach(function(F){y(ie,F,function(M){return this._invoke(F,M)})})}function ce(ie,F){function M(de,Se,Ie,je){var Fe=b(ie[de],ie,Se);if(Fe.type!=="throw"){var Ft=Fe.arg,_t=Ft.value;return _t&&(0,r.Z)(_t)=="object"&&o.call(_t,"__await")?F.resolve(_t.__await).then(function(Pt){M("next",Pt,Ie,je)},function(Pt){M("throw",Pt,Ie,je)}):F.resolve(_t).then(function(Pt){Ft.value=Pt,Ie(Ft)},function(Pt){return M("throw",Pt,Ie,je)})}je(Fe.arg)}var Q;h(this,"_invoke",{value:function(Se,Ie){function je(){return new F(function(Fe,Ft){M(Se,Ie,Fe,Ft)})}return Q=Q?Q.then(je,je):je()}})}function q(ie,F,M){var Q=A;return function(de,Se){if(Q===L)throw Error("Generator is already running");if(Q===P){if(de==="throw")throw Se;return{value:l,done:!0}}for(M.method=de,M.arg=Se;;){var Ie=M.delegate;if(Ie){var je=J(Ie,M);if(je){if(je===D)continue;return je}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(Q===A)throw Q=P,M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);Q=L;var Fe=b(ie,F,M);if(Fe.type==="normal"){if(Q=M.done?P:R,Fe.arg===D)continue;return{value:Fe.arg,done:M.done}}Fe.type==="throw"&&(Q=P,M.method="throw",M.arg=Fe.arg)}}}function J(ie,F){var M=F.method,Q=ie.iterator[M];if(Q===l)return F.delegate=null,M==="throw"&&ie.iterator.return&&(F.method="return",F.arg=l,J(ie,F),F.method==="throw")||M!=="return"&&(F.method="throw",F.arg=new TypeError("The iterator does not provide a '"+M+"' method")),D;var de=b(Q,ie.iterator,F.arg);if(de.type==="throw")return F.method="throw",F.arg=de.arg,F.delegate=null,D;var Se=de.arg;return Se?Se.done?(F[ie.resultName]=Se.value,F.next=ie.nextLoc,F.method!=="return"&&(F.method="next",F.arg=l),F.delegate=null,D):Se:(F.method="throw",F.arg=new TypeError("iterator result is not an object"),F.delegate=null,D)}function Y(ie){var F={tryLoc:ie[0]};1 in ie&&(F.catchLoc=ie[1]),2 in ie&&(F.finallyLoc=ie[2],F.afterLoc=ie[3]),this.tryEntries.push(F)}function le(ie){var F=ie.completion||{};F.type="normal",delete F.arg,ie.completion=F}function ne(ie){this.tryEntries=[{tryLoc:"root"}],ie.forEach(Y,this),this.reset(!0)}function ee(ie){if(ie||ie===""){var F=ie[a];if(F)return F.call(ie);if(typeof ie.next=="function")return ie;if(!isNaN(ie.length)){var M=-1,Q=function de(){for(;++M<ie.length;)if(o.call(ie,M))return de.value=ie[M],de.done=!1,de;return de.value=l,de.done=!0,de};return Q.next=Q}}throw new TypeError((0,r.Z)(ie)+" is not iterable")}return $.prototype=j,h(oe,"constructor",{value:j,configurable:!0}),h(j,"constructor",{value:$,configurable:!0}),$.displayName=y(j,p,"GeneratorFunction"),c.isGeneratorFunction=function(ie){var F=typeof ie=="function"&&ie.constructor;return!!F&&(F===$||(F.displayName||F.name)==="GeneratorFunction")},c.mark=function(ie){return Object.setPrototypeOf?Object.setPrototypeOf(ie,j):(ie.__proto__=j,y(ie,p,"GeneratorFunction")),ie.prototype=Object.create(oe),ie},c.awrap=function(ie){return{__await:ie}},ae(ce.prototype),y(ce.prototype,x,function(){return this}),c.AsyncIterator=ce,c.async=function(ie,F,M,Q,de){de===void 0&&(de=Promise);var Se=new ce(_(ie,F,M,Q),de);return c.isGeneratorFunction(F)?Se:Se.next().then(function(Ie){return Ie.done?Ie.value:Se.next()})},ae(oe),y(oe,p,"Generator"),y(oe,a,function(){return this}),y(oe,"toString",function(){return"[object Generator]"}),c.keys=function(ie){var F=Object(ie),M=[];for(var Q in F)M.push(Q);return M.reverse(),function de(){for(;M.length;){var Se=M.pop();if(Se in F)return de.value=Se,de.done=!1,de}return de.done=!0,de}},c.values=ee,ne.prototype={constructor:ne,reset:function(F){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(le),!F)for(var M in this)M.charAt(0)==="t"&&o.call(this,M)&&!isNaN(+M.slice(1))&&(this[M]=l)},stop:function(){this.done=!0;var F=this.tryEntries[0].completion;if(F.type==="throw")throw F.arg;return this.rval},dispatchException:function(F){if(this.done)throw F;var M=this;function Q(Ft,_t){return Ie.type="throw",Ie.arg=F,M.next=Ft,_t&&(M.method="next",M.arg=l),!!_t}for(var de=this.tryEntries.length-1;de>=0;--de){var Se=this.tryEntries[de],Ie=Se.completion;if(Se.tryLoc==="root")return Q("end");if(Se.tryLoc<=this.prev){var je=o.call(Se,"catchLoc"),Fe=o.call(Se,"finallyLoc");if(je&&Fe){if(this.prev<Se.catchLoc)return Q(Se.catchLoc,!0);if(this.prev<Se.finallyLoc)return Q(Se.finallyLoc)}else if(je){if(this.prev<Se.catchLoc)return Q(Se.catchLoc,!0)}else{if(!Fe)throw Error("try statement without catch or finally");if(this.prev<Se.finallyLoc)return Q(Se.finallyLoc)}}}},abrupt:function(F,M){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var de=this.tryEntries[Q];if(de.tryLoc<=this.prev&&o.call(de,"finallyLoc")&&this.prev<de.finallyLoc){var Se=de;break}}Se&&(F==="break"||F==="continue")&&Se.tryLoc<=M&&M<=Se.finallyLoc&&(Se=null);var Ie=Se?Se.completion:{};return Ie.type=F,Ie.arg=M,Se?(this.method="next",this.next=Se.finallyLoc,D):this.complete(Ie)},complete:function(F,M){if(F.type==="throw")throw F.arg;return F.type==="break"||F.type==="continue"?this.next=F.arg:F.type==="return"?(this.rval=this.arg=F.arg,this.method="return",this.next="end"):F.type==="normal"&&M&&(this.next=M),D},finish:function(F){for(var M=this.tryEntries.length-1;M>=0;--M){var Q=this.tryEntries[M];if(Q.finallyLoc===F)return this.complete(Q.completion,Q.afterLoc),le(Q),D}},catch:function(F){for(var M=this.tryEntries.length-1;M>=0;--M){var Q=this.tryEntries[M];if(Q.tryLoc===F){var de=Q.completion;if(de.type==="throw"){var Se=de.arg;le(Q)}return Se}}throw Error("illegal catch attempt")},delegateYield:function(F,M,Q){return this.delegate={iterator:ee(F),resultName:M,nextLoc:Q},this.method==="next"&&(this.arg=l),D}},c}},60039: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)}},52487:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(29675);function i(o,h){var u=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,A=!1;try{if(p=(u=u.call(o)).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){A=!0,x=R}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(A)throw x}}return _}}var l=e(13873),c=e(49787);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,h)||(0,c.Z)()}},68413:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(29675),i=e(97591),l=e(13873),c=e(49787);function f(o){return(0,r.Z)(o)||(0,i.Z)(o)||(0,l.Z)(o)||(0,c.Z)()}},80702:function(d,g,e){"use strict";e.d(g,{Z:function(){return o}});var r=e(56243);function i(h){if(Array.isArray(h))return(0,r.Z)(h)}var l=e(97591),c=e(13873);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 o(h){return i(h)||(0,l.Z)(h)||(0,c.Z)(h)||f()}},60254:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(62853);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var h=o.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+""}},62853: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)}},13873:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(56243);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}}},65157:function(d,g,e){"use strict";e.d(g,{ZP:function(){return st}});const r=Number.isFinite||function(w){return typeof w=="number"&&isFinite(w)},i=Number.isSafeInteger||function(w){return typeof w=="number"&&Math.abs(w)<=l},l=Number.MAX_SAFE_INTEGER||9007199254740991;let c=function(w){return w.NETWORK_ERROR="networkError",w.MEDIA_ERROR="mediaError",w.KEY_SYSTEM_ERROR="keySystemError",w.MUX_ERROR="muxError",w.OTHER_ERROR="otherError",w}({}),f=function(w){return w.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",w.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",w.KEY_SYSTEM_NO_SESSION="keySystemNoSession",w.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",w.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",w.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",w.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",w.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",w.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",w.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",w.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",w.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",w.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",w.MANIFEST_LOAD_ERROR="manifestLoadError",w.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",w.MANIFEST_PARSING_ERROR="manifestParsingError",w.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",w.LEVEL_EMPTY_ERROR="levelEmptyError",w.LEVEL_LOAD_ERROR="levelLoadError",w.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",w.LEVEL_PARSING_ERROR="levelParsingError",w.LEVEL_SWITCH_ERROR="levelSwitchError",w.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",w.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",w.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",w.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",w.FRAG_LOAD_ERROR="fragLoadError",w.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",w.FRAG_DECRYPT_ERROR="fragDecryptError",w.FRAG_PARSING_ERROR="fragParsingError",w.FRAG_GAP="fragGap",w.REMUX_ALLOC_ERROR="remuxAllocError",w.KEY_LOAD_ERROR="keyLoadError",w.KEY_LOAD_TIMEOUT="keyLoadTimeOut",w.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",w.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",w.BUFFER_APPEND_ERROR="bufferAppendError",w.BUFFER_APPENDING_ERROR="bufferAppendingError",w.BUFFER_STALLED_ERROR="bufferStalledError",w.BUFFER_FULL_ERROR="bufferFullError",w.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",w.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",w.ASSET_LIST_LOAD_ERROR="assetListLoadError",w.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",w.ASSET_LIST_PARSING_ERROR="assetListParsingError",w.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",w.INTERNAL_EXCEPTION="internalException",w.INTERNAL_ABORTED="aborted",w.ATTACH_MEDIA_ERROR="attachMediaError",w.UNKNOWN="unknown",w}({}),o=function(w){return w.MEDIA_ATTACHING="hlsMediaAttaching",w.MEDIA_ATTACHED="hlsMediaAttached",w.MEDIA_DETACHING="hlsMediaDetaching",w.MEDIA_DETACHED="hlsMediaDetached",w.MEDIA_ENDED="hlsMediaEnded",w.STALL_RESOLVED="hlsStallResolved",w.BUFFER_RESET="hlsBufferReset",w.BUFFER_CODECS="hlsBufferCodecs",w.BUFFER_CREATED="hlsBufferCreated",w.BUFFER_APPENDING="hlsBufferAppending",w.BUFFER_APPENDED="hlsBufferAppended",w.BUFFER_EOS="hlsBufferEos",w.BUFFERED_TO_END="hlsBufferedToEnd",w.BUFFER_FLUSHING="hlsBufferFlushing",w.BUFFER_FLUSHED="hlsBufferFlushed",w.MANIFEST_LOADING="hlsManifestLoading",w.MANIFEST_LOADED="hlsManifestLoaded",w.MANIFEST_PARSED="hlsManifestParsed",w.LEVEL_SWITCHING="hlsLevelSwitching",w.LEVEL_SWITCHED="hlsLevelSwitched",w.LEVEL_LOADING="hlsLevelLoading",w.LEVEL_LOADED="hlsLevelLoaded",w.LEVEL_UPDATED="hlsLevelUpdated",w.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",w.LEVELS_UPDATED="hlsLevelsUpdated",w.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",w.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",w.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",w.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",w.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",w.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",w.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",w.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",w.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",w.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",w.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",w.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",w.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",w.CUES_PARSED="hlsCuesParsed",w.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",w.INIT_PTS_FOUND="hlsInitPtsFound",w.FRAG_LOADING="hlsFragLoading",w.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",w.FRAG_LOADED="hlsFragLoaded",w.FRAG_DECRYPTED="hlsFragDecrypted",w.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",w.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",w.FRAG_PARSING_METADATA="hlsFragParsingMetadata",w.FRAG_PARSED="hlsFragParsed",w.FRAG_BUFFERED="hlsFragBuffered",w.FRAG_CHANGED="hlsFragChanged",w.FPS_DROP="hlsFpsDrop",w.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",w.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",w.ERROR="hlsError",w.DESTROYING="hlsDestroying",w.KEY_LOADING="hlsKeyLoading",w.KEY_LOADED="hlsKeyLoaded",w.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",w.BACK_BUFFER_REACHED="hlsBackBufferReached",w.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",w.ASSET_LIST_LOADING="hlsAssetListLoading",w.ASSET_LIST_LOADED="hlsAssetListLoaded",w.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",w.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",w.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",w.INTERSTITIAL_STARTED="hlsInterstitialStarted",w.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",w.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",w.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",w.INTERSTITIAL_ENDED="hlsInterstitialEnded",w.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",w.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",w.EVENT_CUE_ENTER="hlsEventCueEnter",w}({});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,s=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_=s}sample(t,n){const s=Math.pow(this.alpha_,t);this.estimate_=n*(1-s)+s*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,s,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_=s,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_:s,fast_:m,ttfb_:E}=this;s.halfLife!==t&&(this.slow_=new a(t,s.getEstimate(),s.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 s=8*n,m=t/1e3,E=s/m;this.fast_.sample(m,E),this.slow_.sample(m,E)}sampleTTFB(t){const n=t/1e3,s=Math.sqrt(2)*Math.exp(-Math.pow(n,2)/2);this.ttfb_.sample(s,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(w,t,n){return(t=R(t))in w?Object.defineProperty(w,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):w[t]=n,w}function y(){return y=Object.assign?Object.assign.bind():function(w){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(w[s]=n[s])}return w},y.apply(null,arguments)}function _(w,t){var n=Object.keys(w);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(w);t&&(s=s.filter(function(m){return Object.getOwnPropertyDescriptor(w,m).enumerable})),n.push.apply(n,s)}return n}function b(w){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(s){p(w,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(s){Object.defineProperty(w,s,Object.getOwnPropertyDescriptor(n,s))})}return w}function A(w,t){if(typeof w!="object"||!w)return w;var n=w[Symbol.toPrimitive];if(n!==void 0){var s=n.call(w,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(w)}function R(w){var t=A(w,"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 s=`[${t}]:`;this.trace=P,this.debug=n.debug.bind(null,s),this.log=n.log.bind(null,s),this.warn=n.warn.bind(null,s),this.info=n.info.bind(null,s),this.error=n.error.bind(null,s)}}const P=function(){},D={trace:P,debug:P,log:P,warn:P,info:P,error:P};function B(){return y({},D)}function $(w,t){const n=self.console[w];return n?n.bind(self.console,`${t?"["+t+"] ":""}[${w}] >`):P}function j(w,t,n){return t[w]?t[w].bind(t):$(w,n)}const K=B();function V(w,t,n){const s=B();if(typeof console=="object"&&w===!0||typeof w=="object"){const m=["debug","log","info","warn","error"];m.forEach(E=>{s[E]=j(E,w,n)});try{s.log(`Debug logs enabled for "${t}" in hls.js version 1.6.0`)}catch(E){return B()}m.forEach(E=>{K[E]=j(E,w)})}else y(K,s);return s}const W=K;function oe(w=!0){return typeof self=="undefined"?void 0:(w||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ae(w){return typeof self!="undefined"&&w===self.ManagedMediaSource}function ce(w,t){const n=Object.keys(w),s=Object.keys(t),m=n.length,E=s.length;return!m||!E||m===E&&!n.some(C=>s.indexOf(C)===-1)}function q(w,t=!1){if(typeof TextDecoder!="undefined"){const H=new TextDecoder("utf-8").decode(w);if(t){const se=H.indexOf("\0");return se!==-1?H.substring(0,se):H}return H.replace(/\0/g,"")}const n=w.length;let s,m,E,C="",U=0;for(;U<n;){if(s=w[U++],s===0&&t)return C;if(s===0||s===3)continue;switch(s>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:C+=String.fromCharCode(s);break;case 12:case 13:m=w[U++],C+=String.fromCharCode((s&31)<<6|m&63);break;case 14:m=w[U++],E=w[U++],C+=String.fromCharCode((s&15)<<12|(m&63)<<6|(E&63)<<0);break}}return C}const J={hexDump:function(w){let t="";for(let n=0;n<w.length;n++){let s=w[n].toString(16);s.length<2&&(s="0"+s),t+=s}return t}};function Y(w){return w&&w.__esModule&&Object.prototype.hasOwnProperty.call(w,"default")?w.default:w}var le={exports:{}},ne;function ee(){return ne||(ne=1,function(w,t){(function(n){var s=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,m=/^(?=([^\/?#]*))\1([^]*)$/,E=/(?:\/|^)\.(?=\/)/g,C=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,U={buildAbsoluteURL:function(G,H,se){if(se=se||{},G=G.trim(),H=H.trim(),!H){if(!se.alwaysNormalize)return G;var ue=U.parseURL(G);if(!ue)throw new Error("Error trying to parse base URL.");return ue.path=U.normalizePath(ue.path),U.buildURLFromParts(ue)}var ve=U.parseURL(H);if(!ve)throw new Error("Error trying to parse relative URL.");if(ve.scheme)return se.alwaysNormalize?(ve.path=U.normalizePath(ve.path),U.buildURLFromParts(ve)):H;var Ae=U.parseURL(G);if(!Ae)throw new Error("Error trying to parse base URL.");if(!Ae.netLoc&&Ae.path&&Ae.path[0]!=="/"){var we=m.exec(Ae.path);Ae.netLoc=we[1],Ae.path=we[2]}Ae.netLoc&&!Ae.path&&(Ae.path="/");var qe={scheme:Ae.scheme,netLoc:ve.netLoc,path:null,params:ve.params,query:ve.query,fragment:ve.fragment};if(!ve.netLoc&&(qe.netLoc=Ae.netLoc,ve.path[0]!=="/"))if(!ve.path)qe.path=Ae.path,ve.params||(qe.params=Ae.params,ve.query||(qe.query=Ae.query));else{var it=Ae.path,jt=it.substring(0,it.lastIndexOf("/")+1)+ve.path;qe.path=U.normalizePath(jt)}return qe.path===null&&(qe.path=se.alwaysNormalize?U.normalizePath(ve.path):ve.path),U.buildURLFromParts(qe)},parseURL:function(G){var H=s.exec(G);return H?{scheme:H[1]||"",netLoc:H[2]||"",path:H[3]||"",params:H[4]||"",query:H[5]||"",fragment:H[6]||""}:null},normalizePath:function(G){for(G=G.split("").reverse().join("").replace(E,"");G.length!==(G=G.replace(C,"")).length;);return G.split("").reverse().join("")},buildURLFromParts:function(G){return G.scheme+G.netLoc+G.path+G.params+G.query+G.fragment}};w.exports=U})()}(le)),le.exports}var ie=ee();class F{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 M={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class Q{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,Fe(this,"stats")}setByteRange(t,n){const s=t.split("@",2);let m;s.length===1?m=(n==null?void 0:n.byteRangeEndOffset)||0:m=parseInt(s[1]),this._byteRange=[m,parseInt(s[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={[M.AUDIO]:null,[M.VIDEO]:null,[M.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 F),this._stats}set stats(t){this._stats=t}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=ie.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(t){this._url=t}clearElementaryStreamInfo(){const{elementaryStreams:t}=this;t[M.AUDIO]=null,t[M.VIDEO]=null,t[M.AUDIOVIDEO]=null}}function de(w){return w.sn!=="initSegment"}class Se extends Q{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 s=Object.keys(this.levelkeys);if(s.length===1)return this._decryptdata=this.levelkeys[s[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),s=n.length;if(s>1||s===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 de(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,s,m,E,C=!1){const{elementaryStreams:U}=this,G=U[t];if(!G){U[t]={startPTS:n,endPTS:s,startDTS:m,endDTS:E,partial:C};return}G.startPTS=Math.min(G.startPTS,n),G.endPTS=Math.max(G.endPTS,s),G.startDTS=Math.min(G.startDTS,m),G.endDTS=Math.max(G.endDTS,E)}}class Ie extends Q{constructor(t,n,s,m,E){super(s),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 je(w,t){const n=Object.getPrototypeOf(w);if(n){const s=Object.getOwnPropertyDescriptor(n,t);return s||je(n,t)}}function Fe(w,t){const n=je(w,t);n&&(n.enumerable=!0,Object.defineProperty(w,t,n))}const Ft=Math.pow(2,32)-1,_t=[].push,Pt={video:1,audio:2,id3:3,text:4};function Qt(w){return String.fromCharCode.apply(null,w)}function Jt(w,t){const n=w[t]<<8|w[t+1];return n<0?65536+n:n}function qt(w,t){const n=It(w,t);return n<0?4294967296+n:n}function Xe(w,t){let n=qt(w,t);return n*=Math.pow(2,32),n+=qt(w,t+4),n}function It(w,t){return w[t]<<24|w[t+1]<<16|w[t+2]<<8|w[t+3]}function Ut(w,t,n){w[t]=n>>24,w[t+1]=n>>16&255,w[t+2]=n>>8&255,w[t+3]=n&255}function ot(w){const t=w.byteLength;for(let n=0;n<t;){const s=qt(w,n);if(s>8&&w[n+4]===109&&w[n+5]===111&&w[n+6]===111&&w[n+7]===102)return!0;n=s>1?n+s:t}return!1}function bt(w,t){const n=[];if(!t.length)return n;const s=w.byteLength;for(let m=0;m<s;){const E=qt(w,m),C=Qt(w.subarray(m+4,m+8)),U=E>1?m+E:s;if(C===t[0])if(t.length===1)n.push(w.subarray(m+8,U));else{const G=bt(w.subarray(m+8,U),t.slice(1));G.length&&_t.apply(n,G)}m=U}return n}function ht(w){const t=[],n=w[0];let s=8;const m=qt(w,s);s+=4;let E=0,C=0;n===0?(E=qt(w,s),C=qt(w,s+4),s+=8):(E=Xe(w,s),C=Xe(w,s+8),s+=16),s+=2;let U=w.length+C;const G=Jt(w,s);s+=2;for(let H=0;H<G;H++){let se=s;const ue=qt(w,se);se+=4;const ve=ue&2147483647;if((ue&2147483648)>>>31===1)return W.warn("SIDX has hierarchical references (not supported)"),null;const we=qt(w,se);se+=4,t.push({referenceSize:ve,subsegmentDuration:we,info:{duration:we/m,start:U,end:U+ve-1}}),U+=ve,se+=4,s=se}return{earliestPresentationTime:E,timescale:m,version:n,referencesCount:G,references:t}}function et(w){const t=[],n=bt(w,["moov","trak"]);for(let m=0;m<n.length;m++){const E=n[m],C=bt(E,["tkhd"])[0];if(C){let U=C[0];const G=qt(C,U===0?12:20),H=bt(E,["mdia","mdhd"])[0];if(H){U=H[0];const se=qt(H,U===0?12:20),ue=bt(E,["mdia","hdlr"])[0];if(ue){const ve=Qt(ue.subarray(8,12)),Ae={soun:M.AUDIO,vide:M.VIDEO}[ve],we=bt(E,["mdia","minf","stbl","stsd"])[0],qe=Ue(we);Ae?(t[G]={timescale:se,type:Ae,stsd:qe},t[Ae]=b({timescale:se,id:G},qe)):t[G]={timescale:se,type:ve,stsd:qe}}}}}return bt(w,["moov","mvex","trex"]).forEach(m=>{const E=qt(m,4),C=t[E];C&&(C.default={duration:qt(m,12),flags:qt(m,20)})}),t}function Ue(w){const t=w.subarray(8),n=t.subarray(86),s=Qt(t.subarray(4,8));let m=s,E;const C=s==="enca"||s==="encv";if(C){const H=bt(t,[s])[0].subarray(s==="enca"?28:78);bt(H,["sinf"]).forEach(ue=>{const ve=bt(ue,["schm"])[0];if(ve){const Ae=Qt(ve.subarray(4,8));if(Ae==="cbcs"||Ae==="cenc"){const we=bt(ue,["frma"])[0];we&&(m=Qt(we))}}})}const U=m;switch(m){case"avc1":case"avc2":case"avc3":case"avc4":{const G=bt(n,["avcC"])[0];m+="."+Me(G[1])+Me(G[2])+Me(G[3]),E=ye(U==="avc1"?"dva1":"dvav",n);break}case"mp4a":{const G=bt(t,[s])[0],H=bt(G.subarray(28),["esds"])[0];if(H&&H.length>7){let se=4;if(H[se++]!==3)break;se=Pe(H,se),se+=2;const ue=H[se++];if(ue&128&&(se+=2),ue&64&&(se+=H[se++]),H[se++]!==4)break;se=Pe(H,se);const ve=H[se++];if(ve===64)m+="."+Me(ve);else break;if(se+=12,H[se++]!==5)break;se=Pe(H,se);const Ae=H[se++];let we=(Ae&248)>>3;we===31&&(we+=1+((Ae&7)<<3)+((H[se]&224)>>5)),m+="."+we}break}case"hvc1":case"hev1":{const G=bt(n,["hvcC"]);if(G){const H=G[0],se=H[1],ue=["","A","B","C"][se>>6],ve=se&31,Ae=qt(H,2),we=(se&32)>>5?"H":"L",qe=H[12],it=H.subarray(6,12);m+="."+ue+ve,m+="."+Ae.toString(16).toUpperCase(),m+="."+we+qe;let jt="";for(let ir=it.length;ir--;){const er=it[ir];(er||jt)&&(jt="."+er.toString(16).toUpperCase()+jt)}m+=jt}E=ye(U=="hev1"?"dvhe":"dvh1",n);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{m=ye(m,n)||m;break}case"vp09":{const G=bt(n,["vpcC"])[0],H=G[4],se=G[5],ue=G[6]>>4&15;m+="."+$e(H)+"."+$e(se)+"."+$e(ue);break}case"av01":{const G=bt(n,["av1C"])[0],H=G[1]>>>5,se=G[1]&31,ue=G[2]>>>7?"H":"M",ve=(G[2]&64)>>6,Ae=(G[2]&32)>>5,we=H===2&&ve?Ae?12:10:ve?10:8,qe=(G[2]&16)>>4,it=(G[2]&8)>>3,jt=(G[2]&4)>>2,ir=G[2]&3;m+="."+H+"."+$e(se)+ue+"."+$e(we)+"."+qe+"."+it+jt+ir+"."+$e(1)+"."+$e(1)+"."+$e(1)+"."+0,E=ye("dav1",n);break}}return{codec:m,encrypted:C,supplemental:E}}function ye(w,t){const n=bt(t,["dvvC"]),s=n.length?n[0]:bt(t,["dvcC"])[0];if(s){const m=s[2]>>1&127,E=s[2]<<5&32|s[3]>>3&31;return w+"."+$e(m)+"."+$e(E)}}function Pe(w,t){const n=t+5;for(;w[t++]&128&&t<n;);return t}function Me(w){return("0"+w.toString(16).toUpperCase()).slice(-2)}function $e(w){return(w<10?"0":"")+w}function He(w,t){if(!w||!t)return w;const n=t.keyId;return n&&t.isCommonEncryption&&bt(w,["moov","trak"]).forEach(m=>{const C=bt(m,["mdia","minf","stbl","stsd"])[0].subarray(8);let U=bt(C,["enca"]);const G=U.length>0;G||(U=bt(C,["encv"])),U.forEach(H=>{const se=G?H.subarray(28):H.subarray(78);bt(se,["sinf"]).forEach(ve=>{const Ae=nt(ve);if(Ae){const we=Ae.subarray(8,24);we.some(qe=>qe!==0)||(W.log(`[eme] Patching keyId in 'enc${G?"a":"v"}>sinf>>tenc' box: ${J.hexDump(we)} -> ${J.hexDump(n)}`),Ae.set(n,8))}})})}),w}function nt(w){const t=bt(w,["schm"])[0];if(t){const n=Qt(t.subarray(4,8));if(n==="cbcs"||n==="cenc")return bt(w,["schi","tenc"])[0]}return null}function ct(w,t){return bt(t,["moof","traf"]).reduce((n,s)=>{const m=bt(s,["tfdt"])[0],E=m[0],C=bt(s,["tfhd"]).reduce((U,G)=>{const H=qt(G,4),se=w[H];if(se){let ue=qt(m,4);if(E===1){if(ue===Ft)return W.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),U;ue*=Ft+1,ue+=qt(m,8)}const ve=se.timescale||9e4,Ae=ue/ve;if(r(Ae)&&(U===null||Ae<U))return Ae}return U},null);return C!==null&&r(C)&&(n===null||C<n)?C:n},null)}function Gt(w,t){let n=0,s=0,m=0;const E=bt(w,["moof","traf"]);for(let C=0;C<E.length;C++){const U=E[C],G=bt(U,["tfhd"])[0],H=qt(G,4),se=t[H];if(!se)continue;const ue=se.default,ve=qt(G,0)|(ue==null?void 0:ue.flags);let Ae=ue==null?void 0:ue.duration;ve&8&&(ve&2?Ae=qt(G,12):Ae=qt(G,8));const we=se.timescale||9e4,qe=bt(U,["trun"]);for(let it=0;it<qe.length;it++){if(n=Ht(qe[it]),!n&&Ae){const jt=qt(qe[it],4);n=Ae*jt}se.type===M.VIDEO?s+=n/we:se.type===M.AUDIO&&(m+=n/we)}}if(s===0&&m===0){let C=1/0,U=0,G=0;const H=bt(w,["sidx"]);for(let se=0;se<H.length;se++){const ue=ht(H[se]);if(ue!=null&&ue.references){C=Math.min(C,ue.earliestPresentationTime/ue.timescale);const ve=ue.references.reduce((Ae,we)=>Ae+we.info.duration||0,0);U=Math.max(U,ve+ue.earliestPresentationTime/ue.timescale),G=U-C}}if(G&&r(G))return G}return s||m}function Ht(w){const t=qt(w,0);let n=8;t&1&&(n+=4),t&4&&(n+=4);let s=0;const m=qt(w,4);for(let E=0;E<m;E++){if(t&256){const C=qt(w,n);s+=C,n+=4}t&512&&(n+=4),t&1024&&(n+=4),t&2048&&(n+=4)}return s}function Oe(w,t,n){bt(t,["moof","traf"]).forEach(s=>{bt(s,["tfhd"]).forEach(m=>{const E=qt(m,4),C=w[E];if(!C)return;const U=C.timescale||9e4;bt(s,["tfdt"]).forEach(G=>{const H=G[0],se=n*U;if(se){let ue=qt(G,4);if(H===0)ue-=se,ue=Math.max(ue,0),Ut(G,4,ue);else{ue*=Math.pow(2,32),ue+=qt(G,8),ue-=se,ue=Math.max(ue,0);const ve=Math.floor(ue/(Ft+1)),Ae=Math.floor(ue%(Ft+1));Ut(G,4,ve),Ut(G,8,Ae)}}})})})}function Je(w){const t={valid:null,remainder:null},n=bt(w,["moof"]);if(n.length<2)return t.remainder=w,t;const s=n[n.length-1];return t.valid=w.slice(0,s.byteOffset-8),t.remainder=w.slice(s.byteOffset-8),t}function Wt(w,t){const n=new Uint8Array(w.length+t.length);return n.set(w),n.set(t,w.length),n}function kt(w,t){const n=[],s=t.samples,m=t.timescale,E=t.id;let C=!1;return bt(s,["moof"]).map(G=>{const H=G.byteOffset-8;bt(G,["traf"]).map(ue=>{const ve=bt(ue,["tfdt"]).map(Ae=>{const we=Ae[0];let qe=qt(Ae,4);return we===1&&(qe*=Math.pow(2,32),qe+=qt(Ae,8)),qe/m})[0];return ve!==void 0&&(w=ve),bt(ue,["tfhd"]).map(Ae=>{const we=qt(Ae,4),qe=qt(Ae,0)&16777215,it=(qe&1)!==0,jt=(qe&2)!==0,ir=(qe&8)!==0;let er=0;const Fr=(qe&16)!==0;let Zr=0;const ln=(qe&32)!==0;let Wr=8;we===E&&(it&&(Wr+=8),jt&&(Wr+=4),ir&&(er=qt(Ae,Wr),Wr+=4),Fr&&(Zr=qt(Ae,Wr),Wr+=4),ln&&(Wr+=4),t.type==="video"&&(C=Zt(t.codec)),bt(ue,["trun"]).map(an=>{const yn=an[0],Kr=qt(an,0)&16777215,Vn=(Kr&1)!==0;let ci=0;const rs=(Kr&4)!==0,ba=(Kr&256)!==0;let Ji=0;const Ri=(Kr&512)!==0;let Qi=0;const Ki=(Kr&1024)!==0,Kn=(Kr&2048)!==0;let ri=0;const Ta=qt(an,4);let Ea=8;Vn&&(ci=qt(an,Ea),Ea+=4),rs&&(Ea+=4);let Ba=ci+H;for(let As=0;As<Ta;As++){if(ba?(Ji=qt(an,Ea),Ea+=4):Ji=er,Ri?(Qi=qt(an,Ea),Ea+=4):Qi=Zr,Ki&&(Ea+=4),Kn&&(yn===0?ri=qt(an,Ea):ri=It(an,Ea),Ea+=4),t.type===M.VIDEO){let Bs=0;for(;Bs<Qi;){const oo=qt(s,Ba);if(Ba+=4,Bt(C,s[Ba])){const Vu=s.subarray(Ba,Ba+oo);At(Vu,C?2:1,w+ri/m,n)}Ba+=oo,Bs+=oo+4}}w+=Ji/m}}))})})}),n}function Zt(w){if(!w)return!1;const t=w.substring(0,4);return t==="hvc1"||t==="hev1"||t==="dvh1"||t==="dvhe"}function Bt(w,t){if(w){const n=t>>1&63;return n===39||n===40}else return(t&31)===6}function At(w,t,n,s){const m=Kt(w);let E=0;E+=t;let C=0,U=0,G=0;for(;E<m.length;){C=0;do{if(E>=m.length)break;G=m[E++],C+=G}while(G===255);U=0;do{if(E>=m.length)break;G=m[E++],U+=G}while(G===255);const H=m.length-E;let se=E;if(U<H)E+=U;else if(U>H){W.error(`Malformed SEI payload. ${U} is too small, only ${H} bytes left to parse.`);break}if(C===4){if(m[se++]===181){const ve=Jt(m,se);if(se+=2,ve===49){const Ae=qt(m,se);if(se+=4,Ae===1195456820){const we=m[se++];if(we===3){const qe=m[se++],it=31&qe,jt=64&qe,ir=jt?2+it*3:0,er=new Uint8Array(ir);if(jt){er[0]=qe;for(let Fr=1;Fr<ir;Fr++)er[Fr]=m[se++]}s.push({type:we,payloadType:C,pts:n,bytes:er})}}}}}else if(C===5&&U>16){const ue=[];for(let we=0;we<16;we++){const qe=m[se++].toString(16);ue.push(qe.length==1?"0"+qe:qe),(we===3||we===5||we===7||we===9)&&ue.push("-")}const ve=U-16,Ae=new Uint8Array(ve);for(let we=0;we<ve;we++)Ae[we]=m[se++];s.push({payloadType:C,pts:n,uuid:ue.join(""),userData:q(Ae),userDataBytes:Ae})}}}function Kt(w){const t=w.byteLength,n=[];let s=1;for(;s<t-2;)w[s]===0&&w[s+1]===0&&w[s+2]===3?(n.push(s+2),s+=2):s++;if(n.length===0)return w;const m=t-n.length,E=new Uint8Array(m);let C=0;for(s=0;s<m;C++,s++)C===n[0]&&(C++,n.shift()),E[s]=w[C];return E}function We(w){const t=w[0];let n="",s="",m=0,E=0,C=0,U=0,G=0,H=0;if(t===0){for(;Qt(w.subarray(H,H+1))!=="\0";)n+=Qt(w.subarray(H,H+1)),H+=1;for(n+=Qt(w.subarray(H,H+1)),H+=1;Qt(w.subarray(H,H+1))!=="\0";)s+=Qt(w.subarray(H,H+1)),H+=1;s+=Qt(w.subarray(H,H+1)),H+=1,m=qt(w,12),E=qt(w,16),U=qt(w,20),G=qt(w,24),H=28}else if(t===1){H+=4,m=qt(w,H),H+=4;const ue=qt(w,H);H+=4;const ve=qt(w,H);for(H+=4,C=4294967296*ue+ve,i(C)||(C=Number.MAX_SAFE_INTEGER,W.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),U=qt(w,H),H+=4,G=qt(w,H),H+=4;Qt(w.subarray(H,H+1))!=="\0";)n+=Qt(w.subarray(H,H+1)),H+=1;for(n+=Qt(w.subarray(H,H+1)),H+=1;Qt(w.subarray(H,H+1))!=="\0";)s+=Qt(w.subarray(H,H+1)),H+=1;s+=Qt(w.subarray(H,H+1)),H+=1}const se=w.subarray(H,w.byteLength);return{schemeIdUri:n,value:s,timeScale:m,presentationTime:C,presentationTimeDelta:E,eventDuration:U,id:G,payload:se}}function fe(w,...t){const n=t.length;let s=8,m=n;for(;m--;)s+=t[m].byteLength;const E=new Uint8Array(s);for(E[0]=s>>24&255,E[1]=s>>16&255,E[2]=s>>8&255,E[3]=s&255,E.set(w,4),m=0,s=8;m<n;m++)E.set(t[m],s),s+=t[m].byteLength;return E}function _e(w,t,n){if(w.byteLength!==16)throw new RangeError("Invalid system id");let s,m;s=0,m=new Uint8Array;let E;s>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([s,0,0,0]),w,E,m,C,n||new Uint8Array)}function Ot(w){const t=[];if(w instanceof ArrayBuffer){const n=w.byteLength;let s=0;for(;s+32<n;){const m=new DataView(w,s),E=De(m);t.push(E),s+=E.size}}return t}function De(w){const t=w.getUint32(0),n=w.byteOffset,s=w.byteLength;if(s<t)return{offset:n,size:s};if(w.getUint32(4)!==1886614376)return{offset:n,size:t};const E=w.getUint32(8)>>>24;if(E!==0&&E!==1)return{offset:n,size:t};const C=w.buffer,U=J.hexDump(new Uint8Array(C,n+12,16)),G=w.getUint32(28);let H=null,se=null;if(E===0){if(t-32<G||G<22)return{offset:n,size:t};se=new Uint8Array(C,n+32,G)}else if(E===1){if(!G||s<n+32+G*16+16)return{offset:n,size:t};H=[];for(let ue=0;ue<G;ue++)H.push(new Uint8Array(C,n+32+ue*16,16))}return{version:E,systemId:U,kids:H,data:se,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 Ct(w,t){const n=zt[t];return!!n&&!!n[w.slice(0,4)]}function ke(w,t,n=!0){return!w.split(",").some(s=>!wt(s,t,n))}function wt(w,t,n=!0){var s;const m=oe(n);return(s=m==null?void 0:m.isTypeSupported(xe(w,t)))!=null?s:!1}function xe(w,t){return`${t}/mp4;codecs=${w}`}function Ke(w){if(w){const t=w.substring(0,4);return zt.video[t]}return 2}function gt(w){const t=dt();return w.split(",").reduce((n,s)=>{const E=t&&Zt(s)?9:zt.video[s];return E?(E*2+n)/(n?3:2):(zt.audio[s]+n)/(n?2:1)},0)}const Lt={};function Be(w,t=!0){if(Lt[w])return Lt[w];const n={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[w];for(let m=0;m<n.length;m++){var s;if(wt(n[m],"audio",t))return Lt[w]=n[m],n[m];if(n[m]==="mp3"&&(s=oe(t))!=null&&s.isTypeSupported("audio/mpeg"))return""}return w}const Dr=/flac|opus|mp4a\.40\.34/i;function St(w,t=!0){return w.replace(Dr,n=>Be(n.toLowerCase(),t))}function Gr(w,t){const n=[];if(w){const s=w.split(",");for(let m=0;m<s.length;m++)Ct(s[m],"video")||n.push(s[m])}return t&&n.push(t),n.join(",")}function Xr(w,t){if(w&&(w.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(w)!==-1))return w;if(t){const n=t.split(",");if(n.length>1){if(w){for(let s=n.length;s--;)if(n[s].substring(0,4)===w.substring(0,4))return n[s]}return n[0]}}return t||w}function Sr(w){const t=w.split(",");for(let n=0;n<t.length;n++){const s=t[n].split(".");if(s.length>2){let m=s.shift()+".";m+=parseInt(s.shift()).toString(16),m+=("000"+parseInt(s.shift()).toString(16)).slice(-4),t[n]=m}}return t.join(",")}function Mr(w){if(w.startsWith("av01.")){const t=w.split("."),n=["0","111","01","01","01","0"];for(let s=t.length;s>4&&s<10;s++)t[s]=n[s-4];return t.join(".")}return w}function pr(w){const t=oe(w)||{isTypeSupported:()=>!1};return{mpeg:t.isTypeSupported("audio/mpeg"),mp3:t.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:t.isTypeSupported('audio/mp4; codecs="ac-3"')}}function $r(w){return w.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const nn={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function on(w,t){return{supported:!1,configurations:t,decodingInfoResults:[{supported:!1,smooth:!1,powerEfficient:!1}],error:w}}const sr={};function Mt(w,t,n,s,m,E){const C=w.audioCodec?w.audioGroups:null,U=E==null?void 0:E.audioCodec,G=E==null?void 0:E.channels,H=G?parseInt(G):U?1/0:2;let se=null;if(C!=null&&C.length)try{C.length===1&&C[0]?se=t.groups[C[0]].channels:se=C.reduce((ue,ve)=>{if(ve){const Ae=t.groups[ve];if(!Ae)throw new Error(`Audio track group ${ve} not found`);Object.keys(Ae.channels).forEach(we=>{ue[we]=(ue[we]||0)+Ae.channels[we]})}return ue},{2:0})}catch(ue){return!0}return w.videoCodec!==void 0&&(w.width>1920&&w.height>1088||w.height>1920&&w.width>1088||w.frameRate>Math.max(s,30)||w.videoRange!=="SDR"&&w.videoRange!==n||w.bitrate>Math.max(m,8e6))||!!se&&r(H)&&Object.keys(se).some(ue=>parseInt(ue)>H)}function vt(w,t,n){const s=w.videoCodec,m=w.audioCodec;if(!s&&!m||!n)return Promise.resolve(nn);const E=[];if(s){const C={width:w.width,height:w.height,bitrate:Math.ceil(Math.max(w.bitrate*.9,w.averageBitrate)),framerate:w.frameRate||30},U=w.videoRange;U!=="SDR"&&(C.transferFunction=U.toLowerCase());const G=s.split(","),H=navigator.userAgent;if(G.some(se=>Zt(se))&&dt())return Promise.resolve(on(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent sting: (${H})`),E));E.push.apply(E,G.map(se=>({type:"media-source",video:b(b({},C),{},{contentType:xe(Mr(se),"video")})})))}return m&&w.audioGroups&&w.audioGroups.forEach(C=>{var U;C&&((U=t.groups[C])==null||U.tracks.forEach(G=>{if(G.groupId===C){const H=G.channels||"",se=parseFloat(H);r(se)&&se>2&&E.push.apply(E,m.split(",").map(ue=>({type:"media-source",audio:{contentType:xe(ue,"audio"),channels:""+se}})))}}))}),Promise.all(E.map(C=>{const U=yt(C);return sr[U]||(sr[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 yt(w){const{audio:t,video:n}=w,s=n||t;if(s){const m=$r(s.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 Nt=["NONE","TYPE-0","TYPE-1",null];function Cr(w){return Nt.indexOf(w)>-1}const vr=["SDR","PQ","HLG"];function ut(w){return!!w&&vr.indexOf(w)>-1}var Rr={No:"",Yes:"YES",v2:"v2"};function _n(w){const{canSkipUntil:t,canSkipDateRanges:n,age:s}=w,m=s<t/2;return t&&m?n?Rr.v2:Rr.Yes:Rr.No}class Un{constructor(t,n,s){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=t,this.part=n,this.skip=s}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 _r{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(s=>!!s).map(s=>s.substring(0,4)).join(","),"supplemental"in t){var n;this.supplemental=t.supplemental;const s=(n=t.supplemental)==null?void 0:n.videoCodec;s&&s!==t.videoCodec&&(this.codecSet+=`,${s.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 Jr(this._audioGroups,t)}hasSubtitleGroup(t){return Jr(this._subtitleGroups,t)}get audioGroups(){return this._audioGroups}get subtitleGroups(){return this._subtitleGroups}addGroupId(t,n){if(n){if(t==="audio"){let s=this._audioGroups;s||(s=this._audioGroups=[]),s.indexOf(n)===-1&&s.push(n)}else if(t==="text"){let s=this._subtitleGroups;s||(s=this._subtitleGroups=[]),s.indexOf(n)===-1&&s.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 Jr(w,t){return!t||!w?!1:w.indexOf(t)!==-1}function dn(){if(typeof matchMedia=="function"){const w=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(w.media!==t.media)return w.matches===!0}return!1}function Mn(w,t){let n=!1,s=[];if(w&&(n=w!=="SDR",s=[w]),t){s=t.allowedVideoRanges||vr.slice(0);const m=s.join("")!=="SDR"&&!t.videoCodec;n=t.preferHDR!==void 0?t.preferHDR:m&&dn(),n||(s=["SDR"])}return{preferHDR:n,allowedVideoRanges:s}}const Jn=w=>{const t=new WeakSet;return(n,s)=>{if(w&&(s=w(n,s)),typeof s=="object"&&s!==null){if(t.has(s))return;t.add(s)}return s}},Nn=(w,t)=>JSON.stringify(w,Jn(t));function Ui(w,t,n,s,m){const E=Object.keys(w),C=s==null?void 0:s.channels,U=s==null?void 0:s.audioCodec,G=m==null?void 0:m.videoCodec,H=C&&parseInt(C)===2;let se=!1,ue=!1,ve=1/0,Ae=1/0,we=1/0,qe=1/0,it=0,jt=[];const{preferHDR:ir,allowedVideoRanges:er}=Mn(t,m);for(let an=E.length;an--;){const yn=w[E[an]];se||(se=yn.channels[2]>0),ve=Math.min(ve,yn.minHeight),Ae=Math.min(Ae,yn.minFramerate),we=Math.min(we,yn.minBitrate),er.filter(Vn=>yn.videoRanges[Vn]>0).length>0&&(ue=!0)}ve=r(ve)?ve:0,Ae=r(Ae)?Ae:0;const Fr=Math.max(1080,ve),Zr=Math.max(30,Ae);we=r(we)?we:n,n=Math.max(we,n),ue||(t=void 0);const ln=E.length>1;return{codecSet:E.reduce((an,yn)=>{const Kr=w[yn];if(yn===an)return an;if(jt=ue?er.filter(Vn=>Kr.videoRanges[Vn]>0):[],ln){if(Kr.minBitrate>n)return mi(yn,`min bitrate of ${Kr.minBitrate} > current estimate of ${n}`),an;if(!Kr.hasDefaultAudio)return mi(yn,"no renditions with default or auto-select sound found"),an;if(U&&yn.indexOf(U.substring(0,4))%5!==0)return mi(yn,`audio codec preference "${U}" not found`),an;if(C&&!H){if(!Kr.channels[C])return mi(yn,`no renditions with ${C} channel sound found (channels options: ${Object.keys(Kr.channels)})`),an}else if((!U||H)&&se&&Kr.channels[2]===0)return mi(yn,"no renditions with stereo sound found"),an;if(Kr.minHeight>Fr)return mi(yn,`min resolution of ${Kr.minHeight} > maximum of ${Fr}`),an;if(Kr.minFramerate>Zr)return mi(yn,`min framerate of ${Kr.minFramerate} > maximum of ${Zr}`),an;if(!jt.some(Vn=>Kr.videoRanges[Vn]>0))return mi(yn,`no variants with VIDEO-RANGE of ${Nn(jt)} found`),an;if(G&&yn.indexOf(G.substring(0,4))%5!==0)return mi(yn,`video codec preference "${G}" not found`),an;if(Kr.maxScore<it)return mi(yn,`max score of ${Kr.maxScore} < selected max of ${it}`),an}return an&&(gt(yn)>=gt(an)||Kr.fragmentError>w[an].fragmentError)?an:(qe=Kr.minIndex,it=Kr.maxScore,yn)},void 0),videoRanges:jt,preferHDR:ir,minFramerate:Ae,minBitrate:we,minIndex:qe}}function mi(w,t){W.log(`[abr] start candidates with "${w}" ignored because ${t}`)}function bi(w){return w.reduce((t,n)=>{let s=t.groups[n.groupId];s||(s=t.groups[n.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),s.tracks.push(n);const m=n.channels||"2";return s.channels[m]=(s.channels[m]||0)+1,s.hasDefault=s.hasDefault||n.default,s.hasAutoSelect=s.hasAutoSelect||n.autoselect,s.hasDefault&&(t.hasDefaultAudio=!0),s.hasAutoSelect&&(t.hasAutoSelectAudio=!0),t},{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}function vi(w,t,n,s){return w.slice(n,s+1).reduce((m,E,C)=>{if(!E.codecSet)return m;const U=E.audioGroups;let G=m[E.codecSet];G||(m[E.codecSet]=G={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:C,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!U,fragmentError:0}),G.minBitrate=Math.min(G.minBitrate,E.bitrate);const H=Math.min(E.height,E.width);return G.minHeight=Math.min(G.minHeight,H),G.minFramerate=Math.min(G.minFramerate,E.frameRate),G.minIndex=Math.min(G.minIndex,C),G.maxScore=Math.max(G.maxScore,E.score),G.fragmentError+=E.fragmentError,G.videoRanges[E.videoRange]=(G.videoRanges[E.videoRange]||0)+1,U&&U.forEach(se=>{if(!se)return;const ue=t.groups[se];ue&&(G.hasDefaultAudio=G.hasDefaultAudio||t.hasDefaultAudio?ue.hasDefault:ue.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(ue.channels).forEach(ve=>{G.channels[ve]=(G.channels[ve]||0)+ue.channels[ve]}))}),m},{})}function di(w){if(!w)return w;const{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:E}=w;return{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:E}}function Yi(w,t,n){if("attrs"in w){const s=t.indexOf(w);if(s!==-1)return s}for(let s=0;s<t.length;s++){const m=t[s];if(Xn(w,m,n))return s}return-1}function Xn(w,t,n){const{groupId:s,name:m,lang:E,assocLang:C,default:U}=w,G=w.forced;return(s===void 0||t.groupId===s)&&(m===void 0||t.name===m)&&(E===void 0||Vi(E,t.lang))&&(E===void 0||t.assocLang===C)&&(U===void 0||t.default===U)&&(G===void 0||t.forced===G)&&(!("characteristics"in w)||Et(w.characteristics||"",t.characteristics))&&(n===void 0||n(w,t))}function Vi(w,t="--"){return w.length===t.length?w===t:w.startsWith(t)||t.startsWith(w)}function Et(w,t=""){const n=w.split(","),s=t.split(",");return n.length===s.length&&!n.some(m=>s.indexOf(m)===-1)}function lt(w,t){const{audioCodec:n,channels:s}=w;return(n===void 0||(t.audioCodec||"").substring(0,4)===n.substring(0,4))&&(s===void 0||s===(t.channels||"2"))}function Qn(w,t,n,s,m){const E=t[s],U=t.reduce((ve,Ae,we)=>{const qe=Ae.uri;return(ve[qe]||(ve[qe]=[])).push(we),ve},{})[E.uri];U.length>1&&(s=Math.max.apply(Math,U));const G=E.videoRange,H=E.frameRate,se=E.codecSet.substring(0,4),ue=xi(t,s,ve=>{if(ve.videoRange!==G||ve.frameRate!==H||ve.codecSet.substring(0,4)!==se)return!1;const Ae=ve.audioGroups,we=n.filter(qe=>!Ae||Ae.indexOf(qe.groupId)!==-1);return Yi(w,we,m)>-1});return ue>-1?ue:xi(t,s,ve=>{const Ae=ve.audioGroups,we=n.filter(qe=>!Ae||Ae.indexOf(qe.groupId)!==-1);return Yi(w,we,m)>-1})}function xi(w,t,n){for(let s=t;s>-1;s--)if(n(w[s]))return s;for(let s=t+1;s<w.length;s++)if(n(w[s]))return s;return-1}function qn(w,t){var n;return!!w&&w!==((n=t.loadLevelObj)==null?void 0:n.uri)}class Wi 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 s;const{fragCurrent:m,partCurrent:E,hls:C}=this,{autoLevelEnabled:U,media:G}=C;if(!m||!G)return;const H=performance.now(),se=E?E.stats:m.stats,ue=E?E.duration:m.duration,ve=H-se.loading.start,Ae=C.minAutoLevel,we=m.level,qe=this._nextAutoLevel;if(se.aborted||se.loaded&&se.loaded===se.total||we<=Ae){this.clearTimer(),this._nextAutoLevel=-1;return}if(!U)return;const it=qe>-1&&qe!==we,jt=!!n||it;if(!jt&&(G.paused||!G.playbackRate||!G.readyState))return;const ir=C.mainForwardBufferInfo;if(!jt&&ir===null)return;const er=this.bwEstimator.getEstimateTTFB(),Fr=Math.abs(G.playbackRate);if(ve<=Math.max(er,1e3*(ue/(Fr*2))))return;const Zr=ir?ir.len/Fr:0,ln=se.loading.first?se.loading.first-se.loading.start:-1,Wr=se.loaded&&ln>-1,an=this.getBwEstimate(),yn=C.levels,Kr=yn[we],Vn=Math.max(se.loaded,Math.round(ue*(m.bitrate||Kr.averageBitrate)/8));let ci=Wr?ve-ln:ve;ci<1&&Wr&&(ci=Math.min(ve,se.loaded*8/an));const rs=Wr?se.loaded*1e3/ci:0,ba=er/1e3,Ji=rs?(Vn-se.loaded)/rs:Vn*8/an+ba;if(Ji<=Zr)return;const Ri=rs?rs*8:an,Qi=((s=(n==null?void 0:n.details)||this.hls.latestLevelDetails)==null?void 0:s.live)===!0,Ki=this.hls.config.abrBandWidthUpFactor;let Kn=Number.POSITIVE_INFINITY,ri;for(ri=we-1;ri>Ae;ri--){const As=yn[ri].maxBitrate,Bs=!yn[ri].details||Qi;if(Kn=this.getTimeToLoadFrag(ba,Ri,ue*As,Bs),Kn<Math.min(Zr,ue+ba))break}if(Kn>=Ji||Kn>ue*10)return;Wr?this.bwEstimator.sample(ve-Math.min(er,ln),se.loaded):this.bwEstimator.sampleTTFB(ve);const Ta=yn[ri].maxBitrate;this.getBwEstimate()*Ki>Ta&&this.resetEstimator(Ta);const Ea=this.findBestLevel(Ta,Ae,ri,0,Zr,1,1);Ea>-1&&(ri=Ea),this.warn(`Fragment ${m.sn}${E?" part "+E.index:""} of level ${we} is loading too slowly;
|
|
|
Fragment duration: ${m.duration.toFixed(3)}
|
|
|
Time to underbuffer: ${Zr.toFixed(3)} s
|
|
|
Estimated load time for current fragment: ${Ji.toFixed(3)} s
|
|
|
Estimated load time for down switch fragment: ${Kn.toFixed(3)} s
|
|
|
TTFB estimate: ${ln|0} ms
|
|
|
Current BW estimate: ${r(an)?an|0:"Unknown"} bps
|
|
|
New BW estimate: ${this.getBwEstimate()|0} bps
|
|
|
Switching to level ${ri} @ ${Ta|0} bps`),C.nextLoadLevel=C.nextAutoLevel=ri,this.clearTimer();const Ba=()=>{if(this.clearTimer(),this.fragCurrent===m&&this.hls.loadLevel===ri&&ri>0){const As=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${ri>0?"and switching down":""}
|
|
|
Fragment duration: ${m.duration.toFixed(3)} s
|
|
|
Time to underbuffer: ${As.toFixed(3)} s`),m.abortRequests(),this.fragCurrent=this.partCurrent=null,ri>Ae){let Bs=this.findBestLevel(this.hls.levels[Ae].bitrate,Ae,ri,0,As,1,1);Bs===-1&&(Bs=Ae),this.hls.nextLoadLevel=this.hls.nextAutoLevel=Bs,this.resetEstimator(this.hls.levels[Bs].bitrate)}}};it||Ji>Kn*2?Ba():this.timer=self.setInterval(Ba,Kn*1e3),C.trigger(o.FRAG_LOAD_EMERGENCY_ABORTED,{frag:m,part:E,stats:se})},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(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.off(o.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 s=n.frag;if(!this.ignoreFragment(s)){if(!s.bitrateTest){var m;this.fragCurrent=s,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 s=n.frag,{fragCurrent:m,partCurrent:E}=this;if(s&&m&&s.sn===m.sn&&s.level===m.level){const C=performance.now(),U=E?E.stats:s.stats,G=C-U.loading.start,H=U.loading.first?U.loading.first-U.loading.start:-1;if(U.loaded&&H>-1){const ue=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(G-Math.min(ue,H),U.loaded)}else this.bwEstimator.sampleTTFB(G)}break}}}getTimeToLoadFrag(t,n,s,m){const E=t+s/n,C=m?t+this.lastLevelLoadSec:0;return E+C}onLevelLoaded(t,n){const s=this.hls.config,{loading:m}=n.stats,E=m.end-m.first;r(E)&&(this.lastLevelLoadSec=E/1e3),n.details.live?this.bwEstimator.update(s.abrEwmaSlowLive,s.abrEwmaFastLive):this.bwEstimator.update(s.abrEwmaSlowVoD,s.abrEwmaFastVoD),this.timer>-1&&this._abandonRulesCheck(n.levelInfo)}onFragLoaded(t,{frag:n,part:s}){const m=s?s.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=s?s.duration:n.duration,C=this.hls.levels[n.level],U=(C.loaded?C.loaded.bytes:0)+m.loaded,G=(C.loaded?C.loaded.duration:0)+E;C.loaded={bytes:U,duration:G},C.realBitrate=Math.round(8*U/G)}if(n.bitrateTest){const E={stats:m,frag:n,part:s,id:n.type};this.onFragBuffered(o.FRAG_BUFFERED,E),n.bitrateTest=!1}else this.lastLoadedFragLevel=n.level}}onFragBuffered(t,n){const{frag:s,part:m}=n,E=m!=null&&m.stats.loaded?m.stats:s.stats;if(E.aborted||this.ignoreFragment(s))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(),s.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,s=this.getBwEstimate(),m=this.hls.config.maxStarvationDelay,E=this.findBestLevel(s,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,s=this.bwEstimator.canEstimate(),m=this.lastLoadedFragLevel>-1;if(t!==-1&&(!s||!m||this.nextAutoLevelKey===this.getAutoLevelKey()))return t;const E=s&&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:s}=this;if(s.levels.length<=1)return s.loadLevel;const{maxAutoLevel:m,config:E,minAutoLevel:C}=s,U=n?n.duration:t?t.duration:0,G=this.getBwEstimate(),H=this.getStarvationDelay();let se=E.abrBandWidthFactor,ue=E.abrBandWidthUpFactor;if(H){const it=this.findBestLevel(G,C,m,H,0,se,ue);if(it>=0)return this.rebufferNotice=-1,it}let ve=U?Math.min(U,E.maxStarvationDelay):E.maxStarvationDelay;if(!H){const it=this.bitrateTestDelay;it&&(ve=(U?Math.min(U,E.maxLoadingDelay):E.maxLoadingDelay)-it,this.info(`bitrate test took ${Math.round(1e3*it)}ms, set first fragment max fetchDuration to ${Math.round(1e3*ve)} ms`),se=ue=1)}const Ae=this.findBestLevel(G,C,m,H,ve,se,ue);if(this.rebufferNotice!==Ae&&(this.rebufferNotice=Ae,this.info(`${H?"rebuffering expected":"buffer is empty"}, optimal quality level ${Ae}`)),Ae>-1)return Ae;const we=s.levels[C],qe=s.loadLevelObj;return qe&&(we==null?void 0:we.bitrate)<qe.bitrate?C:s.loadLevel}getStarvationDelay(){const t=this.hls,n=t.media;if(!n)return 1/0;const s=n&&n.playbackRate!==0?Math.abs(n.playbackRate):1,m=t.mainForwardBufferInfo;return(m?m.len:0)/s}getBwEstimate(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate}findBestLevel(t,n,s,m,E,C,U){var G;const H=m+E,se=this.lastLoadedFragLevel,ue=se===-1?this.hls.firstLevel:se,{fragCurrent:ve,partCurrent:Ae}=this,{levels:we,allAudioTracks:qe,loadLevel:it,config:jt}=this.hls;if(we.length===1)return 0;const ir=we[ue],er=!!((G=this.hls.latestLevelDetails)!=null&&G.live),Fr=it===-1||se===-1;let Zr,ln="SDR",Wr=(ir==null?void 0:ir.frameRate)||0;const{audioPreference:an,videoPreference:yn}=jt,Kr=this.audioTracksByGroup||(this.audioTracksByGroup=bi(qe));let Vn=-1;if(Fr){if(this.firstSelection!==-1)return this.firstSelection;const Ri=this.codecTiers||(this.codecTiers=vi(we,Kr,n,s)),Qi=Ui(Ri,ln,t,an,yn),{codecSet:Ki,videoRanges:Kn,minFramerate:ri,minBitrate:Ta,minIndex:Ea,preferHDR:Ba}=Qi;Vn=Ea,Zr=Ki,ln=Ba?Kn[Kn.length-1]:Kn[0],Wr=ri,t=Math.max(t,Ta),this.log(`picked start tier ${Nn(Qi)}`)}else Zr=ir==null?void 0:ir.codecSet,ln=ir==null?void 0:ir.videoRange;const ci=Ae?Ae.duration:ve?ve.duration:0,rs=this.bwEstimator.getEstimateTTFB()/1e3,ba=[];for(let Ri=s;Ri>=n;Ri--){var Ji;const Qi=we[Ri],Ki=Ri>ue;if(!Qi)continue;if(jt.useMediaCapabilities&&!Qi.supportedResult&&!Qi.supportedPromise){const Bs=navigator.mediaCapabilities;typeof(Bs==null?void 0:Bs.decodingInfo)=="function"&&(Mt(Qi,Kr,ln,Wr,t,an)||Zt(Qi.videoCodec))?(Qi.supportedPromise=vt(Qi,Kr,Bs),Qi.supportedPromise.then(oo=>{if(!this.hls)return;Qi.supportedResult=oo;const Vu=this.hls.levels,el=Vu.indexOf(Qi);oo.error?this.warn(`MediaCapabilities decodingInfo error: "${oo.error}" for level ${el} ${Nn(oo)}`):oo.supported||(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${el} ${Nn(oo)}`),el>-1&&Vu.length>1&&(this.log(`Removing unsupported level ${el}`),this.hls.removeLevel(el),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))})):Qi.supportedResult=nn}if((Zr&&Qi.codecSet!==Zr||ln&&Qi.videoRange!==ln||Ki&&Wr>Qi.frameRate||!Ki&&Wr>0&&Wr<Qi.frameRate||Qi.supportedResult&&!((Ji=Qi.supportedResult.decodingInfoResults)!=null&&Ji[0].smooth))&&(!Fr||Ri!==Vn)){ba.push(Ri);continue}const Kn=Qi.details,ri=(Ae?Kn==null?void 0:Kn.partTarget:Kn==null?void 0:Kn.averagetargetduration)||ci;let Ta;Ki?Ta=U*t:Ta=C*t;const Ea=ci&&m>=ci*2&&E===0?Qi.averageBitrate:Qi.maxBitrate,Ba=this.getTimeToLoadFrag(rs,Ta,Ea*ri,Kn===void 0);if(Ta>=Ea&&(Ri===se||Qi.loadError===0&&Qi.fragmentError===0)&&(Ba<=rs||!r(Ba)||er&&!this.bitrateTestDelay||Ba<H)){const Bs=this.forcedAutoLevel;return Ri!==it&&(Bs===-1||Bs!==it)&&(ba.length&&this.trace(`Skipped level(s) ${ba.join(",")} of ${s} max with CODECS and VIDEO-RANGE:"${we[ba[0]].codecs}" ${we[ba[0]].videoRange}; not compatible with "${Zr}" ${ln}`),this.info(`switch candidate:${ue}->${Ri} adjustedbw(${Math.round(Ta)})-bitrate=${Math.round(Ta-Ea)} ttfb:${rs.toFixed(1)} avgDuration:${ri.toFixed(1)} maxFetchDuration:${H.toFixed(1)} fetchDuration:${Ba.toFixed(1)} firstSelection:${Fr} codecSet:${Qi.codecSet} videoRange:${Qi.videoRange} hls.loadLevel:${it}`)),Fr&&(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:s}=this.hls;return Math.min(Math.max(t,s),n)}}const hi={search:function(w,t){let n=0,s=w.length-1,m=null,E=null;for(;n<=s;){m=(n+s)/2|0,E=w[m];const C=t(E);if(C>0)n=m+1;else if(C<0)s=m-1;else return E}return null}};function ni(w,t,n){if(t===null||!Array.isArray(w)||!w.length||!r(t))return null;const s=w[0].programDateTime;if(t<(s||0))return null;const m=w[w.length-1].endProgramDateTime;if(t>=(m||0))return null;n=n||0;for(let E=0;E<w.length;++E){const C=w[E];if(rt(t,n,C))return C}return null}function bn(w,t,n=0,s=0,m=.005){let E=null;if(w){E=t[1+w.sn-t[0].sn]||null;const U=w.endDTS-n;U>0&&U<15e-7&&(n+=15e-7),E&&w.level!==E.level&&E.end<=w.end&&(E=t[2+w.sn-t[0].sn]||null)}else n===0&&t[0].start===0&&(E=t[0]);if(E&&((!w||w.level===E.level)&&mt(n,s,E)===0||tr(E,w,Math.min(m,s))))return E;const C=hi.search(t,mt.bind(null,n,s));return C&&(C!==w||!E)?C:E}function tr(w,t,n){if(t&&t.start===0&&t.level<w.level&&(t.endPTS||0)>0){const s=t.tagList.reduce((m,E)=>(E[0]==="INF"&&(m+=parseFloat(E[1])),m),n);return w.start<=s}return!1}function mt(w=0,t=0,n){if(n.start<=w&&n.start+n.duration>w)return 0;const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-s<=w?1:n.start-s>w&&n.start?-1:0}function rt(w,t,n){const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0))*1e3;return(n.endProgramDateTime||0)-s>w}function Dt(w,t){return hi.search(w,n=>n.cc<t?1:n.cc>t?-1:0)}function pt(w,t,n){if(w&&w.startCC<=t&&w.endCC>=t){const s=n.start,m=n.end;let E=w.fragments;if(!n.relurl){const{fragmentHint:C}=w;C&&(E=E.concat(C))}return hi.search(E,C=>C.cc<t||C.end<=s?1:C.cc>t||C.start>=m?-1:0)}return null}function ur(w){switch(w.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 cr(w,t){const n=ur(t);return w.default[`${n?"timeout":"error"}Retry`]}function Tr(w,t){const n=w.backoff==="linear"?1:Math.pow(2,t);return Math.min(n*w.retryDelayMs,w.maxRetryDelayMs)}function Ur(w){return b(b({},w),{errorRetry:null,timeoutRetry:null})}function Ze(w,t,n,s){if(!w)return!1;const m=s==null?void 0:s.code,E=t<w.maxNumRetry&&(tt(m)||!!n);return w.shouldRetry?w.shouldRetry(w,t,n,s,E):E}function tt(w){return w===0&&navigator.onLine===!1||!!w&&(w<400||w>499)}var Ee={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},at={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class nr 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(o.ERROR,this.onError,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const t=this.hls;t&&(t.off(o.ERROR,this.onError,this),t.off(o.ERROR,this.onErrorOut,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.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 s;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((s=n.frag)!=null&&s.gap){n.errorAction=Pr();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 H=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,H):(n.levelRetry=!1,n.errorAction=this.getLevelSwitchAction(n,H))}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 H=m.loadLevelObj;if(H&&(E.type===h.AUDIO_TRACK&&H.hasAudioGroup(E.groupId)||E.type===h.SUBTITLE_TRACK&&H.hasSubtitleGroup(E.groupId))){n.errorAction=this.getPlaylistRetryOrSwitchAction(n,m.loadLevel),n.errorAction.action=Ee.SendAlternateToPenaltyBox,n.errorAction.flags=at.MoveAllAlternatesMatchingHost;return}}return;case f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const H=m.loadLevelObj,se=H==null?void 0:H.attrs["HDCP-LEVEL"];se?n.errorAction={action:Ee.SendAlternateToPenaltyBox,flags:at.MoveAllAlternatesMatchingHDCP,hdcpLevel:se}:this.keySystemError(n)}return;case f.BUFFER_ADD_CODEC_ERROR:case f.REMUX_ALLOC_ERROR:case f.BUFFER_APPEND_ERROR:if(!n.errorAction){var G;n.errorAction=this.getLevelSwitchAction(n,(G=n.level)!=null?G: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=Pr();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 s=this.hls,m=cr(s.config.playlistLoadPolicy,t),E=this.playlistError++;if(Ze(m,E,ur(t),t.response))return{action:Ee.RetryRequest,flags:at.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,s=this.getVariantLevelIndex(t.frag),m=n.levels[s],{fragLoadPolicy:E,keyLoadPolicy:C}=n.config,U=cr(t.details.startsWith("key")?C:E,t),G=n.levels.reduce((se,ue)=>se+ue.fragmentError,0);if(m&&(t.details!==f.FRAG_GAP&&m.fragmentError++,Ze(U,G,ur(t),t.response)))return{action:Ee.RetryRequest,flags:at.None,retryConfig:U,retryCount:G};const H=this.getLevelSwitchAction(t,s);return U&&(H.retryConfig=U,H.retryCount=G),H}getLevelSwitchAction(t,n){const s=this.hls;n==null&&(n=s.loadLevel);const m=this.hls.levels[n];if(m){var E,C;const H=t.details;m.loadError++,H===f.BUFFER_APPEND_ERROR&&m.fragmentError++;let se=-1;const{levels:ue,loadLevel:ve,minAutoLevel:Ae,maxAutoLevel:we}=s;s.autoLevelEnabled||(s.loadLevel=-1);const qe=(E=t.frag)==null?void 0:E.type,jt=(qe===u.AUDIO&&H===f.FRAG_PARSING_ERROR||t.sourceBufferName==="audio"&&(H===f.BUFFER_ADD_CODEC_ERROR||H===f.BUFFER_APPEND_ERROR))&&ue.some(({audioCodec:ln})=>m.audioCodec!==ln),er=t.sourceBufferName==="video"&&(H===f.BUFFER_ADD_CODEC_ERROR||H===f.BUFFER_APPEND_ERROR)&&ue.some(({codecSet:ln,audioCodec:Wr})=>m.codecSet!==ln&&m.audioCodec===Wr),{type:Fr,groupId:Zr}=(C=t.context)!=null?C:{};for(let ln=ue.length;ln--;){const Wr=(ln+ve)%ue.length;if(Wr!==ve&&Wr>=Ae&&Wr<=we&&ue[Wr].loadError===0){var U,G;const an=ue[Wr];if(H===f.FRAG_GAP&&qe===u.MAIN&&t.frag){const yn=ue[Wr].details;if(yn){const Kr=bn(t.frag,yn.fragments,t.frag.start);if(Kr!=null&&Kr.gap)continue}}else{if(Fr===h.AUDIO_TRACK&&an.hasAudioGroup(Zr)||Fr===h.SUBTITLE_TRACK&&an.hasSubtitleGroup(Zr))continue;if(qe===u.AUDIO&&(U=m.audioGroups)!=null&&U.some(yn=>an.hasAudioGroup(yn))||qe===u.SUBTITLE&&(G=m.subtitleGroups)!=null&&G.some(yn=>an.hasSubtitleGroup(yn))||jt&&m.audioCodec===an.audioCodec||!jt&&m.audioCodec!==an.audioCodec||er&&m.codecSet===an.codecSet)continue}se=Wr;break}}if(se>-1&&s.loadLevel!==se)return t.levelRetry=!0,this.playlistError=0,{action:Ee.SendAlternateToPenaltyBox,flags:at.None,nextAutoLevel:se}}return{action:Ee.SendAlternateToPenaltyBox,flags:at.MoveAllAlternatesMatchingHost}}onErrorOut(t,n){var s;switch((s=n.errorAction)==null?void 0:s.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,s=t.errorAction;if(!s)return;const{flags:m,hdcpLevel:E,nextAutoLevel:C}=s;switch(m){case at.None:this.switchLevel(t,C);break;case at.MoveAllAlternatesMatchingHDCP:E&&(n.maxHdcpLevel=Nt[Nt.indexOf(E)-1],s.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${n.maxHdcpLevel}" or lower`);break}s.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 s=$r(t.mimeType),m=this.hls.levels;for(let E=m.length;E--;)m[E][`${t.sourceBufferName}Codec`]===s&&this.hls.removeLevel(E)}}}function Pr(w){const t={action:Ee.DoNothing,flags:at.None};return w&&(t.resolved=!0),t}var br={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Ir{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(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this)}destroy(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(t,n){const s=this.activePartLists[n];if(s)for(let m=s.length;m--;){const E=s[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,s){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&&(!s||U.buffered)){const G=U.body;if(G.start<=t&&t<=G.end)return G}}return null}detectEvictedFragments(t,n,s,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 G=this.fragments[U];if(!G||C>=G.body.sn)return;if(!G.buffered&&(!G.loaded||E)){G.body.type===s&&this.removeFragment(G.body);return}const H=G.range[t];if(H){if(H.time.length===0){this.removeFragment(G.body);return}H.time.some(se=>{const ue=!this.isTimeBuffered(se.startPTS,se.endPTS,n);return ue&&this.removeFragment(G.body),ue})}})}detectPartialFragments(t){const n=this.timeRanges;if(!n||t.frag.sn==="initSegment")return;const s=t.frag,m=mn(s),E=this.fragments[m];if(!E||E.buffered&&s.gap)return;const C=!s.relurl;Object.keys(n).forEach(U=>{const G=s.elementaryStreams[U];if(!G)return;const H=n[U],se=C||G.partial===!0;E.range[U]=this.getBufferedTimes(s,t.part,se,H)}),E.loaded=null,Object.keys(E.range).length?(E.buffered=!0,(E.body.endList=s.endList||E.body.endList)&&(this.endListFragments[E.body.type]=E),Br(E)||this.removeParts(s.sn-1,s.type)):this.removeFragment(E.body)}removeParts(t,n){const s=this.activePartLists[n];s&&(this.activePartLists[n]=s.filter(m=>m.fragment.sn>=t))}fragBuffered(t,n){const s=mn(t);let m=this.fragments[s];!m&&n&&(m=this.fragments[s]={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,s,m){const E={time:[],partial:s},C=t.start,U=t.end,G=t.minEndPTS||U,H=t.maxStartPTS||C;for(let se=0;se<m.length;se++){const ue=m.start(se)-this.bufferPadding,ve=m.end(se)+this.bufferPadding;if(H>=ue&&G<=ve){E.time.push({startPTS:Math.max(C,m.start(se)),endPTS:Math.min(U,m.end(se))});break}else if(C<ve&&U>ue){const Ae=Math.max(C,m.start(se)),we=Math.min(U,m.end(se));we>Ae&&(E.partial=!0,E.time.push({startPTS:Ae,endPTS:we}))}else if(U<=ue)break}return E}getPartialFragment(t){let n=null,s,m,E,C=0;const{bufferPadding:U,fragments:G}=this;return Object.keys(G).forEach(H=>{const se=G[H];se&&Br(se)&&(m=se.body.start-U,E=se.body.end+U,t>=m&&t<=E&&(s=Math.min(t-m,E-t),C<=s&&(n=se.body,C=s)))}),n}isEndListAppended(t){const n=this.endListFragments[t];return n!==void 0&&(n.buffered||Br(n))}getState(t){const n=mn(t),s=this.fragments[n];return s?s.buffered?Br(s)?br.PARTIAL:br.OK:br.APPENDING:br.NOT_LOADED}isTimeBuffered(t,n,s){let m,E;for(let C=0;C<s.length;C++){if(m=s.start(C)-this.bufferPadding,E=s.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 s=n.frag,m=n.part?null:n,E=mn(s);this.fragments[E]={body:s,appendedPTS:null,loaded:m,buffered:!1,range:Object.create(null)}}onBufferAppended(t,n){const{frag:s,part:m,timeRanges:E,type:C}=n;if(s.sn==="initSegment")return;const U=s.type;if(m){let H=this.activePartLists[U];H||(this.activePartLists[U]=H=[]),H.push(m)}this.timeRanges=E;const G=E[C];this.detectEvictedFragments(C,G,U,m)}onFragBuffered(t,n){this.detectPartialFragments(n)}hasFragment(t){const n=mn(t);return!!this.fragments[n]}hasFragments(t){const{fragments:n}=this,s=Object.keys(n);if(!t)return s.length>0;for(let m=s.length;m--;){const E=n[s[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,s,m,E){m&&!this.hasGaps||Object.keys(this.fragments).forEach(C=>{const U=this.fragments[C];if(!U)return;const G=U.body;G.type!==s||m&&!G.gap||G.start<n&&G.end>t&&(U.buffered||E)&&this.removeFragment(G)})}removeFragment(t){const n=mn(t);t.clearElementaryStreamInfo();const s=this.activePartLists[t.type];if(s){const m=t.sn;this.activePartLists[t.type]=s.filter(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 s=(t=this.hls)==null||(n=t.latestLevelDetails)==null?void 0:n.partList;s&&s.forEach(m=>m.clearElementaryStreamInfo())}}function Br(w){var t,n,s;return w.buffered&&(w.body.gap||((t=w.range.video)==null?void 0:t.partial)||((n=w.range.audio)==null?void 0:n.partial)||((s=w.range.audiovideo)==null?void 0:s.partial))}function mn(w){return`${w.type}_${w.level}_${w.sn}`}var Er={cbc:0,ctr:1};class un{constructor(t,n,s){this.subtle=void 0,this.aesIV=void 0,this.aesMode=void 0,this.subtle=t,this.aesIV=n,this.aesMode=s}decrypt(t,n){switch(this.aesMode){case Er.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},n,t);case Er.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 tn(w){const t=w.byteLength,n=t&&new DataView(w.buffer).getUint8(t-1);return n?w.slice(0,t-n):w}class sn{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),s=new Uint32Array(4);for(let m=0;m<4;m++)s[m]=n.getUint32(m*4);return s}initTable(){const t=this.sBox,n=this.invSBox,s=this.subMix,m=s[0],E=s[1],C=s[2],U=s[3],G=this.invSubMix,H=G[0],se=G[1],ue=G[2],ve=G[3],Ae=new Uint32Array(256);let we=0,qe=0,it=0;for(it=0;it<256;it++)it<128?Ae[it]=it<<1:Ae[it]=it<<1^283;for(it=0;it<256;it++){let jt=qe^qe<<1^qe<<2^qe<<3^qe<<4;jt=jt>>>8^jt&255^99,t[we]=jt,n[jt]=we;const ir=Ae[we],er=Ae[ir],Fr=Ae[er];let Zr=Ae[jt]*257^jt*16843008;m[we]=Zr<<24|Zr>>>8,E[we]=Zr<<16|Zr>>>16,C[we]=Zr<<8|Zr>>>24,U[we]=Zr,Zr=Fr*16843009^er*65537^ir*257^we*16843008,H[jt]=Zr<<24|Zr>>>8,se[jt]=Zr<<16|Zr>>>16,ue[jt]=Zr<<8|Zr>>>24,ve[jt]=Zr,we?(we=ir^Ae[Ae[Ae[Fr^ir]]],qe^=Ae[Ae[qe]]):we=qe=1}}expandKey(t){const n=this.uint8ArrayToUint32Array_(t);let s=!0,m=0;for(;m<n.length&&s;)s=n[m]===this.key[m],m++;if(s)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,G;const H=this.keySchedule=new Uint32Array(C),se=this.invKeySchedule=new Uint32Array(C),ue=this.sBox,ve=this.rcon,Ae=this.invSubMix,we=Ae[0],qe=Ae[1],it=Ae[2],jt=Ae[3];let ir,er;for(U=0;U<C;U++){if(U<E){ir=H[U]=n[U];continue}er=ir,U%E===0?(er=er<<8|er>>>24,er=ue[er>>>24]<<24|ue[er>>>16&255]<<16|ue[er>>>8&255]<<8|ue[er&255],er^=ve[U/E|0]<<24):E>6&&U%E===4&&(er=ue[er>>>24]<<24|ue[er>>>16&255]<<16|ue[er>>>8&255]<<8|ue[er&255]),H[U]=ir=(H[U-E]^er)>>>0}for(G=0;G<C;G++)U=C-G,G&3?er=H[U]:er=H[U-4],G<4||U<=4?se[G]=er:se[G]=we[ue[er>>>24]]^qe[ue[er>>>16&255]]^it[ue[er>>>8&255]]^jt[ue[er&255]],se[G]=se[G]>>>0}networkToHostOrderSwap(t){return t<<24|(t&65280)<<8|(t&16711680)>>8|t>>>24}decrypt(t,n,s){const m=this.keySize+6,E=this.invKeySchedule,C=this.invSBox,U=this.invSubMix,G=U[0],H=U[1],se=U[2],ue=U[3],ve=this.uint8ArrayToUint32Array_(s);let Ae=ve[0],we=ve[1],qe=ve[2],it=ve[3];const jt=new Int32Array(t),ir=new Int32Array(jt.length);let er,Fr,Zr,ln,Wr,an,yn,Kr,Vn,ci,rs,ba,Ji,Ri;const Qi=this.networkToHostOrderSwap;for(;n<jt.length;){for(Vn=Qi(jt[n]),ci=Qi(jt[n+1]),rs=Qi(jt[n+2]),ba=Qi(jt[n+3]),Wr=Vn^E[0],an=ba^E[1],yn=rs^E[2],Kr=ci^E[3],Ji=4,Ri=1;Ri<m;Ri++)er=G[Wr>>>24]^H[an>>16&255]^se[yn>>8&255]^ue[Kr&255]^E[Ji],Fr=G[an>>>24]^H[yn>>16&255]^se[Kr>>8&255]^ue[Wr&255]^E[Ji+1],Zr=G[yn>>>24]^H[Kr>>16&255]^se[Wr>>8&255]^ue[an&255]^E[Ji+2],ln=G[Kr>>>24]^H[Wr>>16&255]^se[an>>8&255]^ue[yn&255]^E[Ji+3],Wr=er,an=Fr,yn=Zr,Kr=ln,Ji=Ji+4;er=C[Wr>>>24]<<24^C[an>>16&255]<<16^C[yn>>8&255]<<8^C[Kr&255]^E[Ji],Fr=C[an>>>24]<<24^C[yn>>16&255]<<16^C[Kr>>8&255]<<8^C[Wr&255]^E[Ji+1],Zr=C[yn>>>24]<<24^C[Kr>>16&255]<<16^C[Wr>>8&255]<<8^C[an&255]^E[Ji+2],ln=C[Kr>>>24]<<24^C[Wr>>16&255]<<16^C[an>>8&255]<<8^C[yn&255]^E[Ji+3],ir[n]=Qi(er^Ae),ir[n+1]=Qi(ln^we),ir[n+2]=Qi(Zr^qe),ir[n+3]=Qi(Fr^it),Ae=Vn,we=ci,qe=rs,it=ba,n=n+4}return ir.buffer}}class wn{constructor(t,n,s){this.subtle=void 0,this.key=void 0,this.aesMode=void 0,this.subtle=t,this.key=n,this.aesMode=s}expandKey(){const t=fa(this.aesMode);return this.subtle.importKey("raw",this.key,{name:t},!1,["encrypt","decrypt"])}}function fa(w){switch(w){case Er.cbc:return"AES-CBC";case Er.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${w}`)}}const Ci=16;class fi{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 s=self.crypto;s&&(this.subtle=s.subtle||s.webkitSubtle)}catch(s){}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 s=new Uint8Array(t);return this.reset(),this.removePKCS7Padding?tn(s):s}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(t,n,s,m){return this.useSoftware?new Promise((E,C)=>{const U=ArrayBuffer.isView(t)?t:new Uint8Array(t);this.softwareDecrypt(U,n,s,m);const G=this.flush();G?E(G.buffer):C(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(t),n,s,m)}softwareDecrypt(t,n,s,m){const{currentIV:E,currentResult:C,remainderData:U}=this;if(m!==Er.cbc||n.byteLength!==16)return W.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),U&&(t=Wt(U,t),this.remainderData=null);const G=this.getValidChunk(t);if(!G.length)return null;E&&(s=E);let H=this.softwareDecrypter;H||(H=this.softwareDecrypter=new sn),H.expandKey(n);const se=C;return this.currentResult=H.decrypt(G.buffer,0,s),this.currentIV=G.slice(-16).buffer,se||null}webCryptoDecrypt(t,n,s,m){if(this.key!==n||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(t,n,s,m));this.key=n,this.fastAesKey=new wn(this.subtle,n,m)}return this.fastAesKey.expandKey().then(E=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new un(this.subtle,new Uint8Array(s),m).decrypt(t.buffer,E)):Promise.reject(new Error("web crypto not initialized"))).catch(E=>(W.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${E.name}: ${E.message}`),this.onWebCryptoError(t,n,s,m)))}onWebCryptoError(t,n,s,m){const E=this.enableSoftwareAES;if(E){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(t,n,s,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 s=t.length-t.length%Ci;return s!==t.length&&(n=t.slice(0,s),this.remainderData=t.slice(s)),n}logOnce(t){this.logEnabled&&(W.log(`[decrypter]: ${t}`),this.logEnabled=!1)}}const hn=Math.pow(2,17);class ai{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 s=t.url;if(!s)return Promise.reject(new oa({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,error:new Error(`Fragment does not have a ${s?"part list":"url"}`),networkDetails:null}));this.abort();const m=this.config,E=m.fLoader,C=m.loader;return new Promise((U,G)=>{if(this.loader&&this.loader.destroy(),t.gap)if(t.tagList.some(we=>we[0]==="GAP")){G(sa(t));return}else t.gap=!1;const H=this.loader=E?new E(m):new C(m),se=Mi(t);t.loader=H;const ue=Ur(m.fragLoadPolicy.default),ve={loadPolicy:ue,timeout:ue.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:t.sn==="initSegment"?1/0:hn};t.stats=H.stats;const Ae={onSuccess:(we,qe,it,jt)=>{this.resetLoader(t,H);let ir=we.data;it.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(ir.slice(0,16)),ir=ir.slice(16)),U({frag:t,part:null,payload:ir,networkDetails:jt})},onError:(we,qe,it,jt)=>{this.resetLoader(t,H),G(new oa({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:b({url:s,data:void 0},we),error:new Error(`HTTP Error ${we.code} ${we.text}`),networkDetails:it,stats:jt}))},onAbort:(we,qe,it)=>{this.resetLoader(t,H),G(new oa({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:it,stats:we}))},onTimeout:(we,qe,it)=>{this.resetLoader(t,H),G(new oa({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,error:new Error(`Timeout after ${ve.timeout}ms`),networkDetails:it,stats:we}))}};n&&(Ae.onProgress=(we,qe,it,jt)=>n({frag:t,part:null,payload:it,networkDetails:jt})),H.load(se,ve,Ae)})}loadPart(t,n,s){this.abort();const m=this.config,E=m.fLoader,C=m.loader;return new Promise((U,G)=>{if(this.loader&&this.loader.destroy(),t.gap||n.gap){G(sa(t,n));return}const H=this.loader=E?new E(m):new C(m),se=Mi(t,n);t.loader=H;const ue=Ur(m.fragLoadPolicy.default),ve={loadPolicy:ue,timeout:ue.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:hn};n.stats=H.stats,H.load(se,ve,{onSuccess:(Ae,we,qe,it)=>{this.resetLoader(t,H),this.updateStatsFromPart(t,n);const jt={frag:t,part:n,payload:Ae.data,networkDetails:it};s(jt),U(jt)},onError:(Ae,we,qe,it)=>{this.resetLoader(t,H),G(new oa({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:n,response:b({url:se.url,data:void 0},Ae),error:new Error(`HTTP Error ${Ae.code} ${Ae.text}`),networkDetails:qe,stats:it}))},onAbort:(Ae,we,qe)=>{t.stats.aborted=n.stats.aborted,this.resetLoader(t,H),G(new oa({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,part:n,error:new Error("Aborted"),networkDetails:qe,stats:Ae}))},onTimeout:(Ae,we,qe)=>{this.resetLoader(t,H),G(new oa({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:n,error:new Error(`Timeout after ${ve.timeout}ms`),networkDetails:qe,stats:Ae}))}})})}updateStatsFromPart(t,n){const s=t.stats,m=n.stats,E=m.total;if(s.loaded+=m.loaded,E){const G=Math.round(t.duration/n.duration),H=Math.min(Math.round(s.loaded/E),G),ue=(G-H)*Math.round(s.loaded/H);s.total=s.loaded+ue}else s.total=Math.max(s.loaded,s.total);const C=s.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 Mi(w,t=null){const n=t||w,s={frag:w,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,G=E;if(w.sn==="initSegment"&&Es((C=w.decryptdata)==null?void 0:C.method)){const H=E-m;H%16&&(G=E+(16-H%16)),m!==0&&(s.resetIV=!0,U=m-16)}s.rangeStart=U,s.rangeEnd=G}return s}function sa(w,t){const n=new Error(`GAP ${w.gap?"tag":"attribute"} found`),s={type:c.MEDIA_ERROR,details:f.FRAG_GAP,fatal:!1,frag:w,error:n,networkDetails:null};return t&&(s.part=t),(t||w).stats.aborted=!0,new oa(s)}function Es(w){return w==="AES-128"||w==="AES-256"}class oa extends Error{constructor(t){super(t.error.message),this.data=void 0,this.data=t}}class ds 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 ws{constructor(t,n,s,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=ka(),this.buffering={audio:ka(),video:ka(),audiovideo:ka()},this.level=t,this.sn=n,this.id=s,this.size=m,this.part=E,this.partial=C}}function ka(){return{start:0,executeStart:0,executeEnd:0,end:0}}const gs={length:0,start:()=>0,end:()=>0};class Zn{static isBuffered(t,n){if(t){const s=Zn.getBuffered(t);for(let m=s.length;m--;)if(n>=s.start(m)&&n<=s.end(m))return!0}return!1}static bufferedRanges(t){if(t){const n=Zn.getBuffered(t);return Zn.timeRangesToArray(n)}return[]}static timeRangesToArray(t){const n=[];for(let s=0;s<t.length;s++)n.push({start:t.start(s),end:t.end(s)});return n}static bufferInfo(t,n,s){if(t){const m=Zn.bufferedRanges(t);if(m.length)return Zn.bufferedInfo(m,n,s)}return{len:0,start:n,end:n,bufferedIndex:-1}}static bufferedInfo(t,n,s){n=Math.max(0,n),t.length>1&&t.sort((se,ue)=>se.start-ue.start||ue.end-se.end);let m=-1,E=[];if(s)for(let se=0;se<t.length;se++){n>=t[se].start&&n<=t[se].end&&(m=se);const ue=E.length;if(ue){const ve=E[ue-1].end;t[se].start-ve<s?t[se].end>ve&&(E[ue-1].end=t[se].end):E.push(t[se])}else E.push(t[se])}else E=t;let C=0,U,G=n,H=n;for(let se=0;se<E.length;se++){const ue=E[se].start,ve=E[se].end;if(m===-1&&n>=ue&&n<=ve&&(m=se),n+s>=ue&&n<ve)G=ue,H=ve,C=H-n;else if(n+s<ue){U=ue;break}}return{len:C,start:G||0,end:H||0,nextStart:U,buffered:t,bufferedIndex:m}}static getBuffered(t){try{return t.buffered||gs}catch(n){return W.log("failed to get media.buffered",n),gs}}}const qa=/\{\$([a-zA-Z0-9-_]+)\}/g;function Ha(w){return qa.test(w)}function Ss(w,t){if(w.variableList!==null||w.hasVariableRefs){const n=w.variableList;return t.replace(qa,s=>{const m=s.substring(2,s.length-1),E=n==null?void 0:n[m];return E===void 0?(w.playlistParsingError||(w.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${m}"`)),s):E})}return t}function Bi(w,t,n){let s=w.variableList;s||(w.variableList=s={});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){w.playlistParsingError||(w.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${C.message}`))}}else m=t.NAME,E=t.VALUE;m in s?w.playlistParsingError||(w.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${m}"`)):s[m]=E||""}function hs(w,t,n){const s=t.IMPORT;if(n&&s in n){let m=w.variableList;m||(w.variableList=m={}),m[s]=n[s]}else w.playlistParsingError||(w.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${s}"`))}const Ao=/^(\d+)x(\d+)$/,Pa=/(.+?)=(".*?"|.*?)(?:,|$)/g;class ta{constructor(t,n){typeof t=="string"&&(t=ta.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 s=new Uint8Array(n.length/2);for(let m=0;m<n.length/2;m++)s[m]=parseInt(n.slice(m*2,m*2+2),16);return s}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 s=this[t];return s?parseFloat(s):n}enumeratedString(t){return this[t]}enumeratedStringList(t,n){const s=this[t];return(s?s.split(/[ ,]+/):[]).reduce((m,E)=>(m[E.toLowerCase()]=!0,m),n)}bool(t){return this[t]==="YES"}decimalResolution(t){const n=Ao.exec(this[t]);if(n!==null)return{width:parseInt(n[1],10),height:parseInt(n[2],10)}}static parseAttrList(t,n){let s;const m={},E='"';for(Pa.lastIndex=0;(s=Pa.exec(t))!==null;){const C=s[1].trim();let U=s[2];const G=U.indexOf(E)===0&&U.lastIndexOf(E)===U.length-1;let H=!1;if(G)U=U.slice(1,-1);else switch(C){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":H=!0}if(n&&(G||H))U=Ss(n,U);else if(!H&&!G)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":W.warn(`${t}: attribute ${C} is missing quotes`)}m[C]=U}return m}}const Ma="com.apple.hls.interstitial";function Hs(w){return w!=="ID"&&w!=="CLASS"&&w!=="CUE"&&w!=="START-DATE"&&w!=="DURATION"&&w!=="END-DATE"&&w!=="END-ON-NEXT"}function On(w){return w==="SCTE35-OUT"||w==="SCTE35-IN"||w==="SCTE35-CMD"}class Ra{constructor(t,n,s=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:s,n){const E=n.attr;for(const C in E)if(Object.prototype.hasOwnProperty.call(t,C)&&t[C]!==E[C]){W.warn(`DATERANGE tag attribute: "${C}" does not match for tags with ID: "${t.ID}"`),this._badValueForSameId=C;break}t=y(new ta({}),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?(W.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===Ma}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 is=10;class as{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,s=this.lastPartIndex-t.lastPartIndex;this.updated=this.endSN!==t.endSN||!!s||!!n||!this.live,this.advanced=this.endSN>t.endSN||n>0||n===0&&s>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||is}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 s=t.length;s--;)if(t[s].index>n)return t[s].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 Li(w){return w==="AES-128"||w==="AES-256"||w==="AES-256-CTR"}function Da(w){switch(w){case"AES-128":case"AES-256":return Er.cbc;case"AES-256-CTR":return Er.ctr;default:throw new Error(`invalid full segment method ${w}`)}}function Ca(w){return Uint8Array.from(atob(w),t=>t.charCodeAt(0))}function ls(w){return Uint8Array.from(unescape(encodeURIComponent(w)),t=>t.charCodeAt(0))}function Ws(w){const t=ls(w).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}function bo(w){const t=function(s,m,E){const C=s[m];s[m]=s[E],s[E]=C};t(w,0,3),t(w,1,2),t(w,4,5),t(w,6,7)}function Co(w){const t=w.split(":");let n=null;if(t[0]==="data"&&t.length===2){const s=t[1].split(";"),m=s[s.length-1].split(",");if(m.length===2){const E=m[0]==="base64",C=m[1];E?(s.splice(-1,1),n=Ca(C)):n=Ws(C)}}return n}const To=typeof self!="undefined"?self:void 0;var ga={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},Ka={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function uo(w){switch(w){case Ka.FAIRPLAY:return ga.FAIRPLAY;case Ka.PLAYREADY:return ga.PLAYREADY;case Ka.WIDEVINE:return ga.WIDEVINE;case Ka.CLEARKEY:return ga.CLEARKEY}}var ho={CENC:"1077efecc0b24d02ace33c1e52e2fb4b",CLEARKEY:"e2719d58a985b3c9781ab030af78d30e",PLAYREADY:"9a04f07998404286ab92e65be0885f95",WIDEVINE:"edef8ba979d64acea3c827dcd51d21ed"};function Po(w){if(w===ho.WIDEVINE)return ga.WIDEVINE;if(w===ho.PLAYREADY)return ga.PLAYREADY;if(w===ho.CENC||w===ho.CLEARKEY)return ga.CLEARKEY}function xo(w){switch(w){case ga.FAIRPLAY:return Ka.FAIRPLAY;case ga.PLAYREADY:return Ka.PLAYREADY;case ga.WIDEVINE:return Ka.WIDEVINE;case ga.CLEARKEY:return Ka.CLEARKEY}}function li(w){const{drmSystems:t,widevineLicenseUrl:n}=w,s=t?[ga.FAIRPLAY,ga.WIDEVINE,ga.PLAYREADY,ga.CLEARKEY].filter(m=>!!t[m]):[];return!s[ga.WIDEVINE]&&n&&s.push(ga.WIDEVINE),s}const si=function(w){return To!=null&&(w=To.navigator)!=null&&w.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function Fa(w,t,n,s){let m;switch(w){case ga.FAIRPLAY:m=["cenc","sinf"];break;case ga.WIDEVINE:case ga.PLAYREADY:m=["cenc"];break;case ga.CLEARKEY:m=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${w}`)}return Wa(m,t,n,s)}function Wa(w,t,n,s){return[{initDataTypes:w,persistentState:s.persistentState||"optional",distinctiveIdentifier:s.distinctiveIdentifier||"optional",sessionTypes:s.sessionTypes||[s.sessionType||"temporary"],audioCapabilities:t.map(E=>({contentType:`audio/mp4; codecs=${E}`,robustness:s.audioRobustness||"",encryptionScheme:s.audioEncryptionScheme||null})),videoCapabilities:n.map(E=>({contentType:`video/mp4; codecs=${E}`,robustness:s.videoRobustness||"",encryptionScheme:s.videoEncryptionScheme||null}))}]}function Ga(w){const t=new Uint16Array(w.buffer,w.byteOffset,w.byteLength/2),n=String.fromCharCode.apply(null,Array.from(t)),s=n.substring(n.indexOf("<"),n.length),C=new DOMParser().parseFromString(s,"text/xml").getElementsByTagName("KID")[0];if(C){const U=C.childNodes[0]?C.childNodes[0].nodeValue:C.getAttribute("VALUE");if(U){const G=Ca(U).subarray(0,16);return bo(G),G}}return null}let Gs={};class Vs{static clearKeyUriToKeyIdMap(){Gs={}}constructor(t,n,s,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=s,this.keyFormatVersions=m,this.iv=E,this.encrypted=t?t!=="NONE":!1,this.isCommonEncryption=this.encrypted&&!Li(t)}isSupported(){if(this.method){if(Li(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case Ka.FAIRPLAY:case Ka.WIDEVINE:case Ka.PLAYREADY:case Ka.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(Li(this.method)&&this.uri&&!this.iv){typeof t!="number"&&(W.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),t=0);const s=Yo(t);return new Vs(this.method,this.uri,"identity",this.keyFormatVersions,s)}const n=Co(this.uri);if(n)switch(this.keyFormat){case Ka.WIDEVINE:this.pssh=n,n.length>=22&&(this.keyId=n.subarray(n.length-22,n.length-6));break;case Ka.PLAYREADY:{const s=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=_e(s,null,n),this.keyId=Ga(n);break}default:{let s=n.subarray(0,16);if(s.length!==16){const m=new Uint8Array(16);m.set(s,16-s.length),s=m}this.keyId=s;break}}if(!this.keyId||this.keyId.byteLength!==16){let s=Gs[this.uri];if(!s){const m=Object.keys(Gs).length%Number.MAX_SAFE_INTEGER;s=new Uint8Array(16),new DataView(s.buffer,12,4).setUint32(0,m),Gs[this.uri]=s}this.keyId=s}return this}}function Yo(w){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=w>>8*(15-n)&255;return t}const cs=/#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,Io=/#EXT-X-MEDIA:(.*)/g,Do=/^#EXT(?:INF|-X-TARGETDURATION):/m,jo=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),Au=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 Eo{static findGroup(t,n){for(let s=0;s<t.length;s++){const m=t[s];if(m.id===n)return m}}static resolve(t,n){return ie.buildAbsoluteURL(n,t,{alwaysNormalize:!0})}static isMediaPlaylist(t){return Do.test(t)}static parseMasterPlaylist(t,n){const s=Ha(t),m={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:s},E=[];cs.lastIndex=0;let C;for(;(C=cs.exec(t))!=null;)if(C[1]){var U;const H=new ta(C[1],m),se=Ss(m,C[2]),ue={attrs:H,bitrate:H.decimalInteger("BANDWIDTH")||H.decimalInteger("AVERAGE-BANDWIDTH"),name:H.NAME,url:Eo.resolve(se,n)},ve=H.decimalResolution("RESOLUTION");ve&&(ue.width=ve.width,ue.height=ve.height),ko(H.CODECS,ue);const Ae=H["SUPPLEMENTAL-CODECS"];Ae&&(ue.supplemental={},ko(Ae,ue.supplemental)),(U=ue.unknownCodecs)!=null&&U.length||E.push(ue),m.levels.push(ue)}else if(C[3]){const H=C[3],se=C[4];switch(H){case"SESSION-DATA":{const ue=new ta(se,m),ve=ue["DATA-ID"];ve&&(m.sessionData===null&&(m.sessionData={}),m.sessionData[ve]=ue);break}case"SESSION-KEY":{const ue=Mu(se,n,m);ue.encrypted&&ue.isSupported()?(m.sessionKeys===null&&(m.sessionKeys=[]),m.sessionKeys.push(ue)):W.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${se}"`);break}case"DEFINE":{{const ue=new ta(se,m);Bi(m,ue,n)}break}case"CONTENT-STEERING":{const ue=new ta(se,m);m.contentSteering={uri:Eo.resolve(ue["SERVER-URI"],n),pathwayId:ue["PATHWAY-ID"]||"."};break}case"START":{m.startTimeOffset=Oo(se);break}}}const G=E.length>0&&E.length<m.levels.length;return m.levels=G?E:m.levels,m.levels.length===0&&(m.playlistParsingError=new Error("no levels found in manifest")),m}static parseMasterPlaylistMedia(t,n,s){let m;const E={},C=s.levels,U={AUDIO:C.map(H=>({id:H.attrs.AUDIO,audioCodec:H.audioCodec})),SUBTITLES:C.map(H=>({id:H.attrs.SUBTITLES,textCodec:H.textCodec})),"CLOSED-CAPTIONS":[]};let G=0;for(Io.lastIndex=0;(m=Io.exec(t))!==null;){const H=new ta(m[1],s),se=H.TYPE;if(se){const ue=U[se],ve=E[se]||[];E[se]=ve;const Ae=H.LANGUAGE,we=H["ASSOC-LANGUAGE"],qe=H.CHANNELS,it=H.CHARACTERISTICS,jt=H["INSTREAM-ID"],ir={attrs:H,bitrate:0,id:G++,groupId:H["GROUP-ID"]||"",name:H.NAME||Ae||"",type:se,default:H.bool("DEFAULT"),autoselect:H.bool("AUTOSELECT"),forced:H.bool("FORCED"),lang:Ae,url:H.URI?Eo.resolve(H.URI,n):""};if(we&&(ir.assocLang=we),qe&&(ir.channels=qe),it&&(ir.characteristics=it),jt&&(ir.instreamId=jt),ue!=null&&ue.length){const er=Eo.findGroup(ue,ir.groupId)||ue[0];Ns(ir,er,"audioCodec"),Ns(ir,er,"textCodec")}ve.push(ir)}}return E}static parseLevelPlaylist(t,n,s,m,E,C){var U;const G={url:n},H=new as(n),se=H.fragments,ue=[];let ve=null,Ae=0,we=0,qe=0,it=0,jt=0,ir=null,er=new Se(m,G),Fr,Zr,ln,Wr=-1,an=!1,yn=null,Kr;if(jo.lastIndex=0,H.m3u8=t,H.hasVariableRefs=Ha(t),((U=jo.exec(t))==null?void 0:U[0])!=="#EXTM3U")return H.playlistParsingError=new Error("Missing format identifier #EXTM3U"),H;for(;(Fr=jo.exec(t))!==null;){an&&(an=!1,er=new Se(m,G),er.playlistOffset=qe,er.start=qe,er.sn=Ae,er.cc=it,jt&&(er.bitrate=jt),er.level=s,ve&&(er.initSegment=ve,ve.rawProgramDateTime&&(er.rawProgramDateTime=ve.rawProgramDateTime,ve.rawProgramDateTime=null),yn&&(er.setByteRange(yn),yn=null)));const ba=Fr[1];if(ba){er.duration=parseFloat(ba);const Ji=(" "+Fr[2]).slice(1);er.title=Ji||null,er.tagList.push(Ji?["INF",ba,Ji]:["INF",ba])}else if(Fr[3]){if(r(er.duration)){er.playlistOffset=qe,er.start=qe,ln&&Rs(er,ln,H),er.sn=Ae,er.level=s,er.cc=it,se.push(er);const Ji=(" "+Fr[3]).slice(1);er.relurl=Ss(H,Ji),Mo(er,ir,ue),ir=er,qe+=er.duration,Ae++,we=0,an=!0}}else{if(Fr=Fr[0].match(Au),!Fr){W.warn("No matches on slow regex match for level playlist!");continue}for(Zr=1;Zr<Fr.length&&Fr[Zr]===void 0;Zr++);const Ji=(" "+Fr[Zr]).slice(1),Ri=(" "+Fr[Zr+1]).slice(1),Qi=Fr[Zr+2]?(" "+Fr[Zr+2]).slice(1):null;switch(Ji){case"BYTERANGE":ir?er.setByteRange(Ri,ir):er.setByteRange(Ri);break;case"PROGRAM-DATE-TIME":er.rawProgramDateTime=Ri,er.tagList.push(["PROGRAM-DATE-TIME",Ri]),Wr===-1&&(Wr=se.length);break;case"PLAYLIST-TYPE":H.type&&Ds(H,Ji,Fr),H.type=Ri.toUpperCase();break;case"MEDIA-SEQUENCE":H.startSN!==0?Ds(H,Ji,Fr):se.length>0&&hu(H,Ji,Fr),Ae=H.startSN=parseInt(Ri);break;case"SKIP":{H.skippedSegments&&Ds(H,Ji,Fr);const Ki=new ta(Ri,H),Kn=Ki.decimalInteger("SKIPPED-SEGMENTS");if(r(Kn)){H.skippedSegments+=Kn;for(let Ta=Kn;Ta--;)se.push(null);Ae+=Kn}const ri=Ki.enumeratedString("RECENTLY-REMOVED-DATERANGES");ri&&(H.recentlyRemovedDateranges=(H.recentlyRemovedDateranges||[]).concat(ri.split(" ")));break}case"TARGETDURATION":H.targetduration!==0&&Ds(H,Ji,Fr),H.targetduration=Math.max(parseInt(Ri),1);break;case"VERSION":H.version!==null&&Ds(H,Ji,Fr),H.version=parseInt(Ri);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":H.live||Ds(H,Ji,Fr),H.live=!1;break;case"#":(Ri||Qi)&&er.tagList.push(Qi?[Ri,Qi]:[Ri]);break;case"DISCONTINUITY":it++,er.tagList.push(["DIS"]);break;case"GAP":er.gap=!0,er.tagList.push([Ji]);break;case"BITRATE":er.tagList.push([Ji,Ri]),jt=parseInt(Ri)*1e3,r(jt)?er.bitrate=jt:jt=0;break;case"DATERANGE":{const Ki=new ta(Ri,H),Kn=new Ra(Ki,H.dateRanges[Ki.ID],H.dateRangeTagCount);H.dateRangeTagCount++,Kn.isValid||H.skippedSegments?H.dateRanges[Kn.id]=Kn:W.warn(`Ignoring invalid DATERANGE tag: "${Ri}"`),er.tagList.push(["EXT-X-DATERANGE",Ri]);break}case"DEFINE":{{const Ki=new ta(Ri,H);"IMPORT"in Ki?hs(H,Ki,C):Bi(H,Ki,n)}break}case"DISCONTINUITY-SEQUENCE":H.startCC!==0?Ds(H,Ji,Fr):se.length>0&&hu(H,Ji,Fr),H.startCC=it=parseInt(Ri);break;case"KEY":{const Ki=Mu(Ri,n,H);if(Ki.isSupported()){if(Ki.method==="NONE"){ln=void 0;break}ln||(ln={}),ln[Ki.keyFormat]&&(ln=y({},ln)),ln[Ki.keyFormat]=Ki}else W.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${Ri}"`);break}case"START":H.startTimeOffset=Oo(Ri);break;case"MAP":{const Ki=new ta(Ri,H);if(er.duration){const Kn=new Se(m,G);wo(Kn,Ki,s,ln),ve=Kn,er.initSegment=ve,ve.rawProgramDateTime&&!er.rawProgramDateTime&&(er.rawProgramDateTime=ve.rawProgramDateTime)}else{const Kn=er.byteRangeEndOffset;if(Kn){const ri=er.byteRangeStartOffset;yn=`${Kn-ri}@${ri}`}else yn=null;wo(er,Ki,s,ln),ve=er,an=!0}ve.cc=it;break}case"SERVER-CONTROL":{Kr&&Ds(H,Ji,Fr),Kr=new ta(Ri),H.canBlockReload=Kr.bool("CAN-BLOCK-RELOAD"),H.canSkipUntil=Kr.optionalFloat("CAN-SKIP-UNTIL",0),H.canSkipDateRanges=H.canSkipUntil>0&&Kr.bool("CAN-SKIP-DATERANGES"),H.partHoldBack=Kr.optionalFloat("PART-HOLD-BACK",0),H.holdBack=Kr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{H.partTarget&&Ds(H,Ji,Fr);const Ki=new ta(Ri);H.partTarget=Ki.decimalFloatingPoint("PART-TARGET");break}case"PART":{let Ki=H.partList;Ki||(Ki=H.partList=[]);const Kn=we>0?Ki[Ki.length-1]:void 0,ri=we++,Ta=new ta(Ri,H),Ea=new Ie(Ta,er,G,ri,Kn);Ki.push(Ea),er.duration+=Ea.duration;break}case"PRELOAD-HINT":{const Ki=new ta(Ri,H);H.preloadHint=Ki;break}case"RENDITION-REPORT":{const Ki=new ta(Ri,H);H.renditionReports=H.renditionReports||[],H.renditionReports.push(Ki);break}default:W.warn(`line parsed but not handled: ${Fr}`);break}}}ir&&!ir.relurl?(se.pop(),qe-=ir.duration,H.partList&&(H.fragmentHint=ir)):H.partList&&(Mo(er,ir,ue),er.cc=it,H.fragmentHint=er,ln&&Rs(er,ln,H)),H.targetduration||(H.playlistParsingError=new Error("#EXT-X-TARGETDURATION is required"));const Vn=se.length,ci=se[0],rs=se[Vn-1];if(qe+=H.skippedSegments*H.targetduration,qe>0&&Vn&&rs){H.averagetargetduration=qe/Vn;const ba=rs.sn;H.endSN=ba!=="initSegment"?ba:0,H.live||(rs.endList=!0),ci&&H.startCC===void 0&&(H.startCC=ci.cc),Wr>0&&(du(se,Wr),ci&&ue.unshift(ci))}else H.endSN=0,H.startCC=0;return H.fragmentHint&&(qe+=H.fragmentHint.duration),H.totalduration=qe,ue.length&&H.dateRangeTagCount&&ci&&lo(ue,H),H.endCC=it,H}}function lo(w,t){const n=w.length,s=w[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]],G=U.startDate.getTime();U.tagAnchor=s.ref;for(let H=n;H--;){const se=Ks(t,G,w,H,m);if(se!==-1){U.tagAnchor=t.fragments[se].ref;break}}}}function Ks(w,t,n,s,m){const E=n[s];if(E){const U=E.programDateTime;if(t>=U||s===0){var C;const G=(((C=n[s+1])==null?void 0:C.start)||m)-E.start;if(t<=U+G*1e3){const H=n[s].sn-w.startSN,se=w.fragments;if(se.length>n.length){const ve=(n[s+1]||se[se.length-1]).sn-w.startSN;for(let Ae=ve;Ae>H;Ae--){const we=se[Ae].programDateTime;if(t>=we&&t<we+se[Ae].duration*1e3)return Ae}}return H}}}return-1}function Mu(w,t,n){var s,m;const E=new ta(w,n),C=(s=E.METHOD)!=null?s:"",U=E.URI,G=E.hexadecimalInteger("IV"),H=E.KEYFORMATVERSIONS,se=(m=E.KEYFORMAT)!=null?m:"identity";U&&E.IV&&!G&&W.error(`Invalid IV: ${E.IV}`);const ue=U?Eo.resolve(U,t):"",ve=(H||"1").split("/").map(Number).filter(Number.isFinite);return new Vs(C,ue,se,ve,G)}function Oo(w){const n=new ta(w).decimalFloatingPoint("TIME-OFFSET");return r(n)?n:null}function ko(w,t){let n=(w||"").split(/[ ,]+/).filter(s=>s);["video","audio","text"].forEach(s=>{const m=n.filter(E=>Ct(E,s));m.length&&(t[`${s}Codec`]=m.map(E=>E.split("/")[0]).join(","),n=n.filter(E=>m.indexOf(E)===-1))}),t.unknownCodecs=n}function Ns(w,t,n){const s=t[n];s&&(w[n]=s)}function du(w,t){let n=w[t];for(let s=t;s--;){const m=w[s];if(!m)return;m.programDateTime=n.programDateTime-m.duration*1e3,n=m}}function Mo(w,t,n){w.rawProgramDateTime?n.push(w):t!=null&&t.programDateTime&&(w.programDateTime=t.endProgramDateTime)}function wo(w,t,n,s){w.relurl=t.URI,t.BYTERANGE&&w.setByteRange(t.BYTERANGE),w.level=n,w.sn="initSegment",s&&(w.levelkeys=s),w.initSegment=null}function Rs(w,t,n){w.levelkeys=t;const{encryptedFragments:s}=n;(!s.length||s[s.length-1].levelkeys!==t)&&Object.keys(t).some(m=>t[m].isCommonEncryption)&&s.push(w)}function Ds(w,t,n){w.playlistParsingError=new Error(`#EXT-X-${t} must not appear more than once (${n[0]})`)}function hu(w,t,n){w.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function Cu(w,t){const n=t.startPTS;if(r(n)){let s=0,m;t.sn>w.sn?(s=n-w.start,m=w):(s=w.start-n,m=t),m.duration!==s&&m.setDuration(s)}else t.sn>w.sn?w.cc===t.cc&&w.minEndPTS?t.setStart(w.start+(w.minEndPTS-w.start)):t.setStart(w.start+w.duration):t.setStart(Math.max(w.start-t.duration,0))}function Xt(w,t,n,s,m,E){s-n<=0&&(W.warn("Fragment should have a positive duration",t),s=n+t.duration,E=m+t.duration);let U=n,G=s;const H=t.startPTS,se=t.endPTS;if(r(H)){const it=Math.abs(H-n);r(t.deltaPTS)?t.deltaPTS=Math.max(it,t.deltaPTS):t.deltaPTS=it,U=Math.max(n,H),n=Math.min(n,H),m=Math.min(m,t.startDTS),G=Math.min(s,se),s=Math.max(s,se),E=Math.max(E,t.endDTS)}const ue=n-t.start;t.start!==0&&t.setStart(n),t.setDuration(s-t.start),t.startPTS=n,t.maxStartPTS=U,t.startDTS=m,t.endPTS=s,t.minEndPTS=G,t.endDTS=E;const ve=t.sn;if(!w||ve<w.startSN||ve>w.endSN)return 0;let Ae;const we=ve-w.startSN,qe=w.fragments;for(qe[we]=t,Ae=we;Ae>0;Ae--)Cu(qe[Ae],qe[Ae-1]);for(Ae=we;Ae<qe.length-1;Ae++)Cu(qe[Ae],qe[Ae+1]);return w.fragmentHint&&Cu(qe[qe.length-1],w.fragmentHint),w.PTSKnown=w.alignedSliding=!0,ue}function fr(w,t){if(w===t)return;let n=null;const s=w.fragments;for(let G=s.length-1;G>=0;G--){const H=s[G].initSegment;if(H){n=H;break}}w.fragmentHint&&delete w.fragmentHint.endPTS;let m;xr(w,t,(G,H,se,ue)=>{if(t.skippedSegments&&H.cc!==G.cc){const ve=G.cc-H.cc;for(let Ae=se;Ae<ue.length;Ae++)ue[Ae].cc+=ve}r(G.startPTS)&&r(G.endPTS)&&(H.setStart(H.startPTS=G.startPTS),H.startDTS=G.startDTS,H.maxStartPTS=G.maxStartPTS,H.endPTS=G.endPTS,H.endDTS=G.endDTS,H.minEndPTS=G.minEndPTS,H.setDuration(G.endPTS-G.startPTS),H.duration&&(m=H),t.PTSKnown=t.alignedSliding=!0),G.hasStreams&&(H.elementaryStreams=G.elementaryStreams),H.loader=G.loader,G.hasStats&&(H.stats=G.stats),G.initSegment&&(H.initSegment=G.initSegment,n=G.initSegment)});const E=t.fragments,C=t.fragmentHint?E.concat(t.fragmentHint):E;if(n&&C.forEach(G=>{var H;G&&(!G.initSegment||G.initSegment.relurl===((H=n)==null?void 0:H.relurl))&&(G.initSegment=n)}),t.skippedSegments)if(t.deltaUpdateFailed=E.some(G=>!G),t.deltaUpdateFailed){W.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let G=t.skippedSegments;G--;)E.shift();t.startSN=E[0].sn}else{t.endCC=E[E.length-1].cc,t.canSkipDateRanges&&(t.dateRanges=ar(w.dateRanges,t));const G=w.fragments.filter(H=>H.rawProgramDateTime);if(w.hasProgramDateTime&&!t.hasProgramDateTime)for(let H=1;H<C.length;H++)C[H].programDateTime===null&&Mo(C[H],C[H-1],G);lo(G,t)}mr(w.partList,t.partList,(G,H)=>{H.elementaryStreams=G.elementaryStreams,H.stats=G.stats}),m?Xt(t,m,m.startPTS,m.endPTS,m.startDTS,m.endDTS):xn(w,t),E.length&&(t.totalduration=t.edge-E[0].start),t.driftStartTime=w.driftStartTime,t.driftStart=w.driftStart;const U=t.advancedDateTime;if(t.advanced&&U){const G=t.edge;t.driftStart||(t.driftStartTime=U,t.driftStart=G),t.driftEndTime=U,t.driftEnd=G}else t.driftEndTime=w.driftEndTime,t.driftEnd=w.driftEnd,t.advancedDateTime=w.advancedDateTime;t.requestScheduled===-1&&(t.requestScheduled=w.requestScheduled)}function ar(w,t){const{dateRanges:n,recentlyRemovedDateranges:s}=t,m=y({},w);s&&s.forEach(U=>{delete m[U]});const C=Object.keys(m).length;return C&&Object.keys(n).forEach(U=>{const G=m[U],H=new Ra(n[U].attr,G);H.isValid?(m[U]=H,G||(H.tagOrder+=C)):W.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${Nn(n[U].attr)}"`)}),m}function mr(w,t,n){if(w&&t){let s=0;for(let m=0,E=w.length;m<=E;m++){const C=w[m],U=t[m+s];C&&U&&C.index===U.index&&C.fragment.sn===U.fragment.sn?n(C,U):s--}}}function xr(w,t,n){const s=t.skippedSegments,m=Math.max(w.startSN,t.startSN)-t.startSN,E=(w.fragmentHint?1:0)+(s?t.endSN:Math.min(w.endSN,t.endSN))-t.startSN,C=t.startSN-w.startSN,U=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,G=w.fragmentHint?w.fragments.concat(w.fragmentHint):w.fragments;for(let H=m;H<=E;H++){const se=G[C+H];let ue=U[H];if(s&&!ue&&se&&(ue=t.fragments[H]=se),se&&ue){if(n(se,ue,H,U),se.url&&se.url!==ue.url){t.playlistParsingError=vn(`media sequence mismatch ${ue.sn}:`,w,t,se,ue);return}else if(se.cc!==ue.cc){t.playlistParsingError=vn(`discontinuity sequence mismatch (${se.cc}!=${ue.cc})`,w,t,se,ue);return}}}}function vn(w,t,n,s,m){return new Error(`${w} ${m.url}
|
|
|
Playlist starting @${t.startSN}
|
|
|
${t.m3u8}
|
|
|
|
|
|
Playlist starting @${n.startSN}
|
|
|
${n.m3u8}`)}function xn(w,t,n=!0){const s=t.startSN+t.skippedSegments-w.startSN,m=w.fragments,E=s>=0;let C=0;if(E&&s<m.length)C=m[s].start;else if(E&&t.startSN===w.endSN+1)C=w.fragmentEnd;else if(E&&n)C=w.fragmentStart+s*t.levelTargetDuration;else if(!t.skippedSegments&&t.fragmentStart===0)C=w.fragmentStart;else return;$n(t,C)}function $n(w,t){if(t){const n=w.fragments;for(let s=w.skippedSegments;s<n.length;s++)n[s].addStart(t);w.fragmentHint&&w.fragmentHint.addStart(t)}}function kn(w,t=1/0){let n=1e3*w.targetduration;if(w.updated){const s=w.fragments;if(s.length&&n*4>t){const E=s[s.length-1].duration*1e3;E<n&&(n=E)}}else n/=2;return Math.round(n)}function Yn(w,t,n){if(!w)return null;let s=w.fragments[t-w.startSN];return s||(s=w.fragmentHint,s&&s.sn===t)?s:t<w.startSN&&n&&n.sn===t?n:null}function or(w,t,n){return w?Lr(w.partList,t,n):null}function Lr(w,t,n){if(w)for(let s=w.length;s--;){const m=w[s];if(m.index===n&&m.fragment.sn===t)return m}return null}function yr(w){w.forEach((t,n)=>{var s;(s=t.details)==null||s.fragments.forEach(m=>{m.level=n,m.initSegment&&(m.initSegment.level=n)})})}function fn(w,t){for(let s=0,m=w.length;s<m;s++){var n;if(((n=w[s])==null?void 0:n.cc)===t)return w[s]}return null}function zn(w,t){return!!(w&&t.startCC<w.endCC&&t.endCC>w.startCC)}function ft(w,t){if(w){const n=w.start+t;w.start=w.startPTS=n,w.endPTS=n+w.duration}}function Cn(w,t){const n=t.fragments;for(let s=0,m=n.length;s<m;s++)ft(n[s],w);t.fragmentHint&&ft(t.fragmentHint,w),t.alignedSliding=!0}function Hn(w,t){w&&(oi(t,w),!t.alignedSliding&&w&&zi(t,w),!t.alignedSliding&&w&&!t.skippedSegments&&xn(w,t,!1))}function oi(w,t){if(!zn(t,w))return;const n=Math.min(t.endCC,w.endCC),s=fn(t.fragments,n),m=fn(w.fragments,n);if(!s||!m)return;W.log(`Aligning playlist at start of dicontinuity sequence ${n}`);const E=s.start-m.start;Cn(E,w)}function zi(w,t){if(!w.hasProgramDateTime||!t.hasProgramDateTime)return;const n=w.fragments,s=t.fragments;if(!n.length||!s.length)return;let m,E;const C=Math.min(t.endCC,w.endCC);t.startCC<C&&w.startCC<C&&(m=fn(s,C),E=fn(n,C)),(!m||!E)&&(m=s[Math.floor(s.length/2)],E=fn(n,m.cc)||n[Math.floor(n.length/2)]);const U=m.programDateTime,G=E.programDateTime;if(!U||!G)return;const H=(G-U)/1e3-(E.start-m.start);Cn(H,w)}const Nr={toString:function(w){let t="";const n=w.length;for(let s=0;s<n;s++)t+=`[${w.start(s).toFixed(3)}-${w.end(s).toFixed(3)}]`;return t}},Hr={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 da extends ds{constructor(t,n,s,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=Hr.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:G,mediaBuffer:H,state:se}=this,ue=G?G.currentTime:0,ve=Zn.bufferInfo(H||G,ue,C.maxBufferHole);if(this.log(`media seeking to ${r(ue)?ue.toFixed(3):ue}, state: ${se}`),this.state===Hr.ENDED)this.resetLoadingState();else if(U){const Ae=C.maxFragLookUpTolerance,we=U.start-Ae,qe=U.start+U.duration+Ae;if(!ve.len||qe<ve.start||we>ve.end){const it=ue>qe;(ue<we||it)&&(it&&U.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),U.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(G){this.fragmentTracker.removeFragmentsInRange(ue,1/0,this.playlistType,!0);const Ae=this.lastCurrentTime;if(ue>Ae&&(this.lastCurrentTime=ue),!this.loadingParts){const we=Math.max(ve.end,ue),qe=this.shouldLoadParts(this.getLevelDetails(),we);qe&&(this.log(`LL-Part loading ON after seeking to ${ue.toFixed(2)} with buffer @${we.toFixed(2)}`),this.loadingParts=qe)}}!this.hls.hasEnoughToStart&&!ve.len&&(this.log(`setting startPosition to ${ue} because of seek before start`),this.nextLoadPosition=this.startPosition=ue),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 ai(t.config),this.keyLoader=s,this.fragmentTracker=n,this.config=t.config,this.decrypter=new fi(t.config)}registerListeners(){const{hls:t}=this;t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.ERROR,this.onError,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(t){}stopLoad(){if(this.state===Hr.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=Hr.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 s=t.end||0,m=this.config.timelineOffset||0;if(s<=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 H=U[U.length-1];return Zn.isBuffered(this.media,H.start+H.duration/2)}const G=n.fragments[n.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(G)}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 s=this.media=this.mediaBuffer=n.media;s.removeEventListener("seeking",this.onMediaSeeking),s.removeEventListener("ended",this.onMediaEnded),s.addEventListener("seeking",this.onMediaSeeking),s.addEventListener("ended",this.onMediaEnded);const m=this.config;this.levels&&m.autoStartLoad&&this.state===Hr.STOPPED&&this.startLoad(m.startPosition)}onMediaDetaching(t,n){const s=!!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&&!s&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loopSn=void 0,s){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=Hr.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,s){this.startFragRequested=!0,this._loadFragForPlayback(t,n,s)}_loadFragForPlayback(t,n,s){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,s,m).then(E=>{if(!E)return;const C=this.state,U=E.frag;if(this.fragContextChanged(U)){(C===Hr.FRAG_LOADING||!this.fragCurrent&&C===Hr.PARSING)&&(this.fragmentTracker.removeFragment(U),this.state=Hr.IDLE);return}"payload"in E&&(this.log(`Loaded ${U.type} sn: ${U.sn} of ${this.playlistLabel()} ${U.level}`),this.hls.trigger(o.FRAG_LOADED,E)),this._handleFragmentLoadComplete(E)}).catch(E=>{this.state===Hr.STOPPED||this.state===Hr.ERROR||(this.warn(`Frag error: ${(E==null?void 0:E.message)||E}`),this.resetFragmentLoading(t))})}clearTrackerIfNeeded(t){var n;const{fragmentTracker:s}=this;if(s.getState(t)===br.APPENDING){const E=t.type,C=this.getFwdBufferInfo(this.mediaBuffer,E),U=Math.max(t.duration,C?C.len:this.config.maxBufferLength),G=this.backtrackFragment;((G?t.sn-G.sn:0)===1||this.reduceMaxBufferLength(U,t.duration))&&s.removeFragment(t)}else((n=this.mediaBuffer)==null?void 0:n.buffered.length)===0?s.removeAllFragments():s.hasParts(t.type)&&(s.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type}),s.getState(t)===br.PARTIAL&&s.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,s=null){if(!(t-n))return;const m={startOffset:t,endOffset:n,type:s};this.hls.trigger(o.BUFFER_FLUSHING,m)}_loadInitSegment(t,n){this._doFragLoad(t,n).then(s=>{const m=s==null?void 0:s.frag;if(!m||this.fragContextChanged(m)||!this.levels)throw new Error("init load aborted");return s}).then(s=>{const{hls:m}=this,{frag:E,payload:C}=s,U=E.decryptdata;if(C&&C.byteLength>0&&U!=null&&U.key&&U.iv&&Li(U.method)){const G=self.performance.now();return this.decrypter.decrypt(new Uint8Array(C),U.key.buffer,U.iv.buffer,Da(U.method)).catch(H=>{throw m.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:H,reason:H.message,frag:E}),H}).then(H=>{const se=self.performance.now();return m.trigger(o.FRAG_DECRYPTED,{frag:E,payload:H,stats:{tstart:G,tdecrypt:se}}),s.payload=H,this.completeInitSegmentLoad(s)})}return this.completeInitSegmentLoad(s)}).catch(s=>{this.state===Hr.STOPPED||this.state===Hr.ERROR||(this.warn(s),this.resetFragmentLoading(t))})}completeInitSegmentLoad(t){const{levels:n}=this;if(!n)throw new Error("init load aborted, missing levels");const s=t.frag.stats;this.state!==Hr.STOPPED&&(this.state=Hr.IDLE),t.frag.data=new Uint8Array(t.payload),s.parsing.start=s.buffering.start=self.performance.now(),s.parsing.end=s.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 s=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:${s?Nr.toString(Zn.getBuffered(s)):"(detached)"})`),de(t)){var m;if(t.type!==u.SUBTITLE){const C=t.elementaryStreams;if(!Object.keys(C).some(U=>!!C[U])){this.state=Hr.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=Hr.IDLE}_handleFragmentLoadComplete(t){const{transmuxer:n}=this;if(!n)return;const{frag:s,part:m,partsLoaded:E}=t,C=!E||E.length===0||E.some(G=>!G),U=new ws(s.level,s.sn,s.stats.chunkCount+1,0,m?m.index:-1,!C);n.flush(U)}_handleFragmentLoadProgress(t){}_doFragLoad(t,n,s=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=Hr.KEY_LOADING,this.fragCurrent=t,U=this.keyLoader.load(t).then(ue=>{if(!this.fragContextChanged(ue.frag))return this.hls.trigger(o.KEY_LOADED,ue),this.state===Hr.KEY_LOADING&&(this.state=Hr.IDLE),ue}),this.hls.trigger(o.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 G=this.fragPrevious;if(de(t)&&(!G||t.sn!==G.sn)){const ue=this.shouldLoadParts(n.details,t.end);ue!==this.loadingParts&&(this.log(`LL-Part loading ${ue?"ON":"OFF"} loading sn ${G==null?void 0:G.sn}->${t.sn}`),this.loadingParts=ue)}if(s=Math.max(t.start,s||0),this.loadingParts&&de(t)){const ue=C.partList;if(ue&&m){s>t.end&&C.fragmentHint&&(t=C.fragmentHint);const ve=this.getNextPart(ue,t,s);if(ve>-1){const Ae=ue[ve];t=this.fragCurrent=Ae.fragment,this.log(`Loading ${t.type} sn: ${t.sn} part: ${Ae.index} (${ve}/${ue.length-1}) of ${this.fragInfo(t,!1,Ae)}) cc: ${t.cc} [${C.startSN}-${C.endSN}], target: ${parseFloat(s.toFixed(3))}`),this.nextLoadPosition=Ae.start+Ae.duration,this.state=Hr.FRAG_LOADING;let we;return U?we=U.then(qe=>!qe||this.fragContextChanged(qe.frag)?null:this.doFragPartsLoad(t,Ae,n,m)).catch(qe=>this.handleFragLoadError(qe)):we=this.doFragPartsLoad(t,Ae,n,m).catch(qe=>this.handleFragLoadError(qe)),this.hls.trigger(o.FRAG_LOADING,{frag:t,part:Ae,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):we}else if(!t.url||this.loadedEndOfParts(ue,s))return Promise.resolve(null)}}if(de(t)&&this.loadingParts)this.log(`LL-Part loading OFF after next part miss @${s.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(s.toFixed(3))}`),r(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=Hr.FRAG_LOADING;const H=this.config.progressive;let se;return H&&U?se=U.then(ue=>!ue||this.fragContextChanged(ue==null?void 0:ue.frag)?null:this.fragmentLoader.load(t,m)).catch(ue=>this.handleFragLoadError(ue)):se=Promise.all([this.fragmentLoader.load(t,H?m:void 0),U]).then(([ue])=>(!H&&ue&&m&&m(ue),ue)).catch(ue=>this.handleFragLoadError(ue)),this.hls.trigger(o.FRAG_LOADING,{frag:t,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):se}doFragPartsLoad(t,n,s,m){return new Promise((E,C)=>{var U;const G=[],H=(U=s.details)==null?void 0:U.partList,se=ue=>{this.fragmentLoader.loadPart(t,ue,m).then(ve=>{G[ue.index]=ve;const Ae=ve.part;this.hls.trigger(o.FRAG_LOADED,ve);const we=or(s.details,t.sn,ue.index+1)||Lr(H,t.sn,ue.index+1);if(we)se(we);else return E({frag:t,part:Ae,partsLoaded:G})}).catch(C)};se(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(o.ERROR,n)}else this.hls.trigger(o.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!==Hr.PARSING){!this.fragCurrent&&this.state!==Hr.STOPPED&&this.state!==Hr.ERROR&&(this.state=Hr.IDLE);return}const{frag:s,part:m,level:E}=n,C=self.performance.now();s.stats.parsing.end=C,m&&(m.stats.parsing.end=C);const U=this.getLevelDetails(),H=U&&s.sn>U.endSN||this.shouldLoadParts(U,s.end);H!==this.loadingParts&&(this.log(`LL-Part loading ${H?"ON":"OFF"} after parsing segment ending @${s.end.toFixed(2)}`),this.loadingParts=H),this.updateLevelTiming(s,m,E,t.partial)}shouldLoadParts(t,n){if(this.config.lowLatencyMode){if(!t)return this.loadingParts;if(t!=null&&t.partList){var s;const E=t.partList[0],C=E.end+(((s=t.fragmentHint)==null?void 0:s.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:s}=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],G=U.details,H=C>-1?or(G,E,C):null,se=H?H.fragment:Yn(G,E,s);return se?(s&&s!==se&&(se.stats=s.stats),{frag:se,part:H,level:U}):null}bufferFragmentData(t,n,s,m,E){var C;if(!t||this.state!==Hr.PARSING)return;const{data1:U,data2:G}=t;let H=U;if(U&&G&&(H=Wt(U,G)),!((C=H)!=null&&C.length))return;const se={type:t.type,frag:n,part:s,chunkMeta:m,parent:n.type,data:H};if(this.hls.trigger(o.BUFFER_APPENDING,se),t.dropped&&t.independent&&!s){if(E)return;this.flushBufferGap(n)}}flushBufferGap(t){const n=this.media;if(!n)return;if(!Zn.isBuffered(n,n.currentTime)){this.flushMainBuffer(0,t.start);return}const s=n.currentTime,m=Zn.bufferInfo(n,s,0),E=t.duration,C=Math.min(this.config.maxFragLookUpTolerance*2,E*.25),U=Math.max(Math.min(t.start-C,m.end-C),s+C);t.start-U>C&&this.flushMainBuffer(U,t.start)}getFwdBufferInfo(t,n){var s;const m=this.getLoadPosition();if(!r(m))return null;const C=this.lastCurrentTime>m||(s=this.media)!=null&&s.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(t,m,n,C)}getFwdBufferInfoAtPos(t,n,s,m){const E=Zn.bufferInfo(t,n,m);if(E.len===0&&E.nextStart!==void 0){const C=this.fragmentTracker.getBufferedFrag(n,s);if(C&&(E.nextStart<=C.end||C.gap)){const U=Math.max(Math.min(E.nextStart,C.end)-n,m);return Zn.bufferInfo(t,n,U)}}return E}getMaxBufferLength(t){const{config:n}=this;let s;return t?s=Math.max(8*n.maxBufferSize/t,n.maxBufferLength):s=n.maxBufferLength,Math.min(s,n.maxMaxBufferLength)}reduceMaxBufferLength(t,n){const s=this.config,m=Math.max(Math.min(t-n,s.maxBufferLength),n),E=Math.max(t-n*3,s.maxMaxBufferLength/2,m);return E>=m?(s.maxMaxBufferLength=E,this.warn(`Reduce max buffer length to ${E}s`),!0):!1}getAppendedFrag(t,n=u.MAIN){var s;const m=(s=this.fragmentTracker)==null?void 0:s.getAppendedFrag(t,n);return m&&"fragment"in m?m.fragment:m}getNextFragment(t,n){const s=n.fragments,m=s.length;if(!m)return null;const{config:E}=this,C=s[0].start,U=E.lowLatencyMode&&!!n.partList;let G=null;if(n.live){const ue=E.initialLiveManifestSize;if(m<ue)return this.warn(`Not enough fragments to start playback (have: ${m}, need: ${ue})`),null;if(!n.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||t<C){var H;U&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),G=this.getInitialLiveFragment(n,s);const ve=this.hls.startPosition,Ae=this.hls.liveSyncPosition,we=G?(ve!==-1&&ve>=C?ve:Ae)||G.start:t;this.log(`Setting startPosition to ${we} to match start frag at live edge. mainStart: ${ve} liveSyncPosition: ${Ae} frag.start: ${(H=G)==null?void 0:H.start}`),this.startPosition=this.nextLoadPosition=we}}else t<=C&&(G=s[0]);if(!G){const ue=this.loadingParts?n.partEnd:n.fragmentEnd;G=this.getFragmentAtPosition(t,ue,n)}let se=this.filterReplacedPrimary(G,n);if(!se&&G){const ue=G.sn-n.startSN;se=this.filterReplacedPrimary(s[ue+1]||null,n)}return this.mapToInitFragWhenRequired(se)}isLoopLoading(t,n){const s=this.fragmentTracker.getState(t);return(s===br.OK||s===br.PARTIAL&&!!t.gap)&&this.nextLoadPosition>n}getNextFragmentLoopLoading(t,n,s,m,E){let C=null;if(t.gap&&(C=this.getNextFragment(this.nextLoadPosition,n),C&&!C.gap&&s.nextStart)){const U=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,s.nextStart,m,0);if(U!==null&&s.len+U.len>=E){const G=C.sn;return this.loopSn!==G&&(this.log(`buffer full after gaps in "${m}" playlist starting at sn: ${G}`),this.loopSn=G),null}}return this.loopSn=void 0,C}get primaryPrefetch(){if(Ti(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(Ti(this.hls.config)&&t.type!==u.SUBTITLE){const s=this.hls.interstitialsManager,m=s==null?void 0:s.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=s==null?void 0:s.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,s){let m=-1,E=!1,C=!0;for(let U=0,G=t.length;U<G;U++){const H=t[U];if(C=C&&!H.independent,m>-1&&s<H.start)break;const se=H.loaded;se?m=-1:(E||H.independent||C)&&H.fragment===n&&(m=U),E=se}return m}loadedEndOfParts(t,n){const s=t[t.length-1];return s&&n>s.start&&s.loaded}getInitialLiveFragment(t,n){const s=this.fragPrevious;let m=null;if(s){if(t.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${s.programDateTime}`),m=ni(n,s.endProgramDateTime,this.config.maxFragLookUpTolerance)),!m){const E=s.sn+1;if(E>=t.startSN&&E<=t.endSN){const C=n[E-t.startSN];s.cc===C.cc&&(m=C,this.log(`Live playlist, switching playlist, load frag with next SN: ${m.sn}`))}m||(m=Dt(n,s.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,s){const{config:m}=this;let{fragPrevious:E}=this,{fragments:C,endSN:U}=s;const{fragmentHint:G}=s,{maxFragLookUpTolerance:H}=m,se=s.partList,ue=!!(this.loadingParts&&se!=null&&se.length&&G);ue&&G&&!this.bitrateTest&&se[se.length-1].fragment.sn===G.sn&&(C=C.concat(G),U=G.sn);let ve;if(t<n){var Ae;const qe=t<this.lastCurrentTime||t>n-H||(Ae=this.media)!=null&&Ae.paused||!this.startFragRequested?0:H;ve=bn(E,C,t,qe)}else ve=C[C.length-1];if(ve){const we=ve.sn-s.startSN,qe=this.fragmentTracker.getState(ve);if((qe===br.OK||qe===br.PARTIAL&&ve.gap)&&(E=ve),E&&ve.sn===E.sn&&(!ue||se[0].fragment.sn>ve.sn||!s.live&&!ue)&&E&&ve.level===E.level){const jt=C[we+1];ve.sn<U&&this.fragmentTracker.getState(jt)!==br.OK?ve=jt:ve=null}}return ve}alignPlaylists(t,n,s){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){Hn(s,t);const G=t.fragmentStart;return this.log(`Live playlist sliding: ${G.toFixed(2)} start-sn: ${n?n.startSN:"na"}->${t.startSN} fragments: ${m}`),G}return E}waitForCdnTuneIn(t){return t.live&&t.canBlockReload&&t.partTarget&&t.tuneInGoal>Math.max(t.partHoldBack,t.partTarget*3)}setStartPosition(t,n){let s=this.startPosition;s<n&&(s=-1);const m=this.timelineOffset;if(s===-1){const E=this.startTimeOffset!==null,C=E?this.startTimeOffset:t.startTimeOffset;C!==null&&r(C)?(s=n+C,C<0&&(s+=t.edge),s=Math.min(Math.max(n,s),n+t.totalduration),this.log(`Setting startPosition to ${s} for start time offset ${C} found in ${E?"multivariant":"media"} playlist`),this.startPosition=s):t.live?(s=this.hls.liveSyncPosition||n,this.log(`Setting startPosition to -1 to start at live edge ${s}`),this.startPosition=-1):(this.log("setting startPosition to 0 by default"),this.startPosition=s=0),this.lastCurrentTime=s+m}this.nextLoadPosition=s+m}getLoadPosition(){var t;const{media:n}=this;let s=0;return(t=this.hls)!=null&&t.hasEnoughToStart&&n?s=n.currentTime:this.nextLoadPosition>=0&&(s=this.nextLoadPosition),s}handleFragLoadAborted(t,n){this.transmuxer&&t.type===this.playlistType&&de(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!==Hr.FRAG_LOADING_WAITING_RETRY)&&(this.state=Hr.IDLE)}onFragmentOrKeyLoadError(t,n){if(n.chunkMeta&&!n.frag){const we=this.getCurrentContext(n.chunkMeta);we&&(n.frag=we.frag)}const s=n.frag;if(!s||s.type!==t||!this.levels)return;if(this.fragContextChanged(s)){var m;this.warn(`Frag load error must match current frag to retry ${s.url} > ${(m=this.fragCurrent)==null?void 0:m.url}`);return}const E=n.details===f.FRAG_GAP;E&&this.fragmentTracker.fragBuffered(s,!0);const C=n.errorAction,{action:U,flags:G,retryCount:H=0,retryConfig:se}=C||{},ue=!!C&&!!se,ve=ue&&U===Ee.RetryRequest,Ae=ue&&!C.resolved&&G===at.MoveAllAlternatesMatchingHost;if(!ve&&Ae&&de(s)&&!s.endList)this.resetFragmentErrors(t),this.treatAsGap(s),C.resolved=!0;else if((ve||Ae)&&H<se.maxNumRetry){this.resetStartWhenNotLoaded(this.levelLastLoaded);const we=Tr(se,H);this.warn(`Fragment ${s.sn} of ${t} ${s.level} errored with ${n.details}, retrying loading ${H+1}/${se.maxNumRetry} in ${we}ms`),C.resolved=!0,this.retryDate=self.performance.now()+we,this.state=Hr.FRAG_LOADING_WAITING_RETRY}else if(se&&C)if(this.resetFragmentErrors(t),H<se.maxNumRetry)!E&&U!==Ee.RemoveAlternatePermanently&&(C.resolved=!0);else{this.warn(`${n.details} reached or exceeded max retry (${H})`);return}else U===Ee.SendAlternateToPenaltyBox?this.state=Hr.WAITING_LEVEL:this.state=Hr.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(t){if(this.state===Hr.PARSING||this.state===Hr.PARSED){const n=t.frag,s=t.parent,m=this.getFwdBufferInfo(this.mediaBuffer,s),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 ${s} 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!==Hr.STOPPED&&(this.state=Hr.IDLE)}afterBufferFlushed(t,n,s){if(!t)return;const m=Zn.getBuffered(t);this.fragmentTracker.detectEvictedFragments(n,m,s),this.state===Hr.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==Hr.STOPPED&&(this.state=Hr.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,s,m){const E=s.details;if(!E){this.warn("level.details undefined");return}if(!Object.keys(t.elementaryStreams).reduce((G,H)=>{const se=t.elementaryStreams[H];if(se){const ue=se.endPTS-se.startPTS;if(ue<=0)return this.warn(`Could not parse fragment ${t.sn} ${H} duration reliably (${ue})`),G||!1;const ve=m?0:Xt(E,t,se.startPTS,se.endPTS,se.startDTS,se.endDTS);return this.hls.trigger(o.LEVEL_PTS_UPDATED,{details:E,level:s,drift:ve,type:H,frag:t,start:se.startPTS,end:se.endPTS}),!0}return G},!1)){var U;if(s.fragmentError===0&&this.treatAsGap(t,s),((U=this.transmuxer)==null?void 0:U.error)===null){const G=new Error(`Found no media in fragment ${t.sn} of ${this.playlistLabel()} ${t.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(G.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:G,frag:t,reason:`Found no media in msn ${t.sn} of ${this.playlistLabel()} "${s.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=Hr.PARSED,this.log(`Parsed ${t.type} sn: ${t.sn}${n?" part: "+n.index:""} of ${this.fragInfo(t,!1,n)})`),this.hls.trigger(o.FRAG_PARSED,{frag:t,part:n})}playlistLabel(){return this.playlistType===u.MAIN?"level":"track"}fragInfo(t,n=!0,s){var m,E;return`${this.playlistLabel()} ${t.level} (${s?"part":"frag"}:[${((m=n&&!s?t.startPTS:(s||t).start)!=null?m:NaN).toFixed(3)}-${((E=n&&!s?t.endPTS:(s||t).end)!=null?E:NaN).toFixed(3)}]${s&&t.type==="main"?"INDEPENDENT="+(s.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 Ti(w){return!!w.interstitialsController&&w.enableInterstitialPlayback!==!1}class ra{constructor(){this.chunks=[],this.dataLength=0}push(t){this.chunks.push(t),this.dataLength+=t.length}flush(){const{chunks:t,dataLength:n}=this;let s;if(t.length)t.length===1?s=t[0]:s=Ts(t,n);else return new Uint8Array(0);return this.reset(),s}reset(){this.chunks.length=0,this.dataLength=0}}function Ts(w,t){const n=new Uint8Array(t);let s=0;for(let m=0;m<w.length;m++){const E=w[m];n.set(E,s),s+=E.length}return n}var ui={exports:{}},$s;function Fo(){return $s||($s=1,function(w){var t=Object.prototype.hasOwnProperty,n="~";function s(){}Object.create&&(s.prototype=Object.create(null),new s().__proto__||(n=!1));function m(G,H,se){this.fn=G,this.context=H,this.once=se||!1}function E(G,H,se,ue,ve){if(typeof se!="function")throw new TypeError("The listener must be a function");var Ae=new m(se,ue||G,ve),we=n?n+H:H;return G._events[we]?G._events[we].fn?G._events[we]=[G._events[we],Ae]:G._events[we].push(Ae):(G._events[we]=Ae,G._eventsCount++),G}function C(G,H){--G._eventsCount===0?G._events=new s:delete G._events[H]}function U(){this._events=new s,this._eventsCount=0}U.prototype.eventNames=function(){var H=[],se,ue;if(this._eventsCount===0)return H;for(ue in se=this._events)t.call(se,ue)&&H.push(n?ue.slice(1):ue);return Object.getOwnPropertySymbols?H.concat(Object.getOwnPropertySymbols(se)):H},U.prototype.listeners=function(H){var se=n?n+H:H,ue=this._events[se];if(!ue)return[];if(ue.fn)return[ue.fn];for(var ve=0,Ae=ue.length,we=new Array(Ae);ve<Ae;ve++)we[ve]=ue[ve].fn;return we},U.prototype.listenerCount=function(H){var se=n?n+H:H,ue=this._events[se];return ue?ue.fn?1:ue.length:0},U.prototype.emit=function(H,se,ue,ve,Ae,we){var qe=n?n+H:H;if(!this._events[qe])return!1;var it=this._events[qe],jt=arguments.length,ir,er;if(it.fn){switch(it.once&&this.removeListener(H,it.fn,void 0,!0),jt){case 1:return it.fn.call(it.context),!0;case 2:return it.fn.call(it.context,se),!0;case 3:return it.fn.call(it.context,se,ue),!0;case 4:return it.fn.call(it.context,se,ue,ve),!0;case 5:return it.fn.call(it.context,se,ue,ve,Ae),!0;case 6:return it.fn.call(it.context,se,ue,ve,Ae,we),!0}for(er=1,ir=new Array(jt-1);er<jt;er++)ir[er-1]=arguments[er];it.fn.apply(it.context,ir)}else{var Fr=it.length,Zr;for(er=0;er<Fr;er++)switch(it[er].once&&this.removeListener(H,it[er].fn,void 0,!0),jt){case 1:it[er].fn.call(it[er].context);break;case 2:it[er].fn.call(it[er].context,se);break;case 3:it[er].fn.call(it[er].context,se,ue);break;case 4:it[er].fn.call(it[er].context,se,ue,ve);break;default:if(!ir)for(Zr=1,ir=new Array(jt-1);Zr<jt;Zr++)ir[Zr-1]=arguments[Zr];it[er].fn.apply(it[er].context,ir)}}return!0},U.prototype.on=function(H,se,ue){return E(this,H,se,ue,!1)},U.prototype.once=function(H,se,ue){return E(this,H,se,ue,!0)},U.prototype.removeListener=function(H,se,ue,ve){var Ae=n?n+H:H;if(!this._events[Ae])return this;if(!se)return C(this,Ae),this;var we=this._events[Ae];if(we.fn)we.fn===se&&(!ve||we.once)&&(!ue||we.context===ue)&&C(this,Ae);else{for(var qe=0,it=[],jt=we.length;qe<jt;qe++)(we[qe].fn!==se||ve&&!we[qe].once||ue&&we[qe].context!==ue)&&it.push(we[qe]);it.length?this._events[Ae]=it.length===1?it[0]:it:C(this,Ae)}return this},U.prototype.removeAllListeners=function(H){var se;return H?(se=n?n+H:H,this._events[se]&&C(this,se)):(this._events=new s,this._eventsCount=0),this},U.prototype.off=U.prototype.removeListener,U.prototype.addListener=U.prototype.on,U.prefixed=n,U.EventEmitter=U,w.exports=U}(ui)),ui.exports}var Os=Fo(),ha=Y(Os);const Na="1.6.0",ps={};function Ln(){return typeof __HLS_WORKER_BUNDLE__=="function"}function Ls(){const w=ps[Na];if(w)return w.clientCount++,w;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 ps[Na]=m,m}function Ms(w){const t=ps[w];if(t)return t.clientCount++,t;const n=new self.URL(w,self.location.href).href,m={worker:new self.Worker(n),scriptURL:n,clientCount:1};return ps[w]=m,m}function Ye(w){const t=ps[w||Na];if(t&&t.clientCount--===1){const{worker:s,objectURL:m}=t;delete ps[w||Na],m&&self.URL.revokeObjectURL(m),s.terminate()}}function Qe(w,t){return t+10<=w.length&&w[t]===51&&w[t+1]===68&&w[t+2]===73&&w[t+3]<255&&w[t+4]<255&&w[t+6]<128&&w[t+7]<128&&w[t+8]<128&&w[t+9]<128}function Rt(w,t){return t+10<=w.length&&w[t]===73&&w[t+1]===68&&w[t+2]===51&&w[t+3]<255&&w[t+4]<255&&w[t+6]<128&&w[t+7]<128&&w[t+8]<128&&w[t+9]<128}function Vt(w,t){let n=0;return n=(w[t]&127)<<21,n|=(w[t+1]&127)<<14,n|=(w[t+2]&127)<<7,n|=w[t+3]&127,n}function dr(w,t){const n=t;let s=0;for(;Rt(w,t);){s+=10;const m=Vt(w,t+6);s+=m,Qe(w,t+10)&&(s+=10),t+=s}if(s>0)return w.subarray(n,n+s)}function kr(w,t,n,s){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 Ae=new Error(`invalid ADTS sampling index:${C}`);w.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!0,error:Ae,reason:Ae.message});return}const U=(E>>6&3)+1,G=t[n+3]>>6&3|(E&1)<<2,H="mp4a.40."+U,se=m[C];let ue=C;(U===5||U===29)&&(ue-=3);const ve=[U<<3|(ue&14)>>1,(ue&1)<<7|G<<3];return W.log(`manifest codec:${s}, parsed codec:${H}, channels:${G}, rate:${se} (ADTS object type:${U} sampling index:${C})`),{config:ve,samplerate:se,channelCount:G,codec:H,parsedCodec:H,manifestCodec:s}}function jr(w,t){return w[t]===255&&(w[t+1]&246)===240}function pn(w,t){return w[t+1]&1?7:9}function en(w,t){return(w[t+3]&3)<<11|w[t+4]<<3|(w[t+5]&224)>>>5}function gn(w,t){return t+5<w.length}function Wn(w,t){return t+1<w.length&&jr(w,t)}function ti(w,t){return gn(w,t)&&jr(w,t)&&en(w,t)<=w.length-t}function gi(w,t){if(Wn(w,t)){const n=pn(w,t);if(t+n>=w.length)return!1;const s=en(w,t);if(s<=n)return!1;const m=t+s;return m===w.length||Wn(w,m)}return!1}function wi(w,t,n,s,m){if(!w.samplerate){const E=kr(t,n,s,m);if(!E)return;y(w,E)}}function Ni(w){return 9216e4/w}function Fi(w,t){const n=pn(w,t);if(t+n<=w.length){const s=en(w,t)-n;if(s>0)return{headerLength:n,frameLength:s}}}function yi(w,t,n,s,m){const E=Ni(w.samplerate),C=s+m*E,U=Fi(t,n);let G;if(U){const{frameLength:ue,headerLength:ve}=U,Ae=ve+ue,we=Math.max(0,n+Ae-t.length);we?(G=new Uint8Array(Ae-ve),G.set(t.subarray(n+ve,t.length),0)):G=t.subarray(n+ve,n+Ae);const qe={unit:G,pts:C};return we||w.samples.push(qe),{sample:qe,length:Ae,missing:we}}const H=t.length-n;return G=new Uint8Array(H),G.set(t.subarray(n,t.length),0),{sample:{unit:G,pts:C},length:H,missing:-1}}function pa(w,t){return Rt(w,t)&&Vt(w,t+6)+10<=w.length-t}function Pi(w){if(w.size<2)return;const t=q(w.data,!0),n=new Uint8Array(w.data.subarray(t.length+1));return{key:w.type,info:t,data:n.buffer}}function pi(w){if(w.size<2)return;if(w.type==="TXXX"){let n=1;const s=q(w.data.subarray(n),!0);n+=s.length+1;const m=q(w.data.subarray(n));return{key:w.type,info:s,data:m}}const t=q(w.data.subarray(1));return{key:w.type,info:"",data:t}}function ua(w){if(w.type==="WXXX"){if(w.size<2)return;let n=1;const s=q(w.data.subarray(n),!0);n+=s.length+1;const m=q(w.data.subarray(n));return{key:w.type,info:s,data:m}}const t=q(w.data);return{key:w.type,info:"",data:t}}function Ys(w){return btoa(String.fromCharCode(...w))}function _s(w,t){if(w<0)return-_s(-w,t);const n=Math.pow(10,t);if(Math.abs(w*n%1-.5)<Number.EPSILON){const m=Math.floor(w*n);return(m%2===0?m:m+1)/n}else return Math.round(w*n)/n}function Zi(w,t){const n=new URL(w),s=new URL(t);if(n.origin!==s.origin)return w;const m=n.pathname.split("/").slice(1),E=s.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 Oa(){try{return crypto.randomUUID()}catch(w){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 qi(w){return w instanceof ArrayBuffer?w:w.byteOffset==0&&w.byteLength==w.buffer.byteLength?w.buffer:new Uint8Array(w).buffer}function Ii(w,t=0,n=1/0){return ya(w,t,n,Uint8Array)}function ya(w,t,n,s){const m=$a(w);let E=1;"BYTES_PER_ELEMENT"in s&&(E=s.BYTES_PER_ELEMENT);const C=Va(w)?w.byteOffset:0,U=(C+w.byteLength)/E,G=(C+t)/E,H=Math.floor(Math.max(0,Math.min(G,U))),se=Math.floor(Math.min(H+Math.max(n,0),U));return new s(m,H,se-H)}function $a(w){return w instanceof ArrayBuffer?w:w.buffer}function Va(w){return w&&w.buffer instanceof ArrayBuffer&&w.byteLength!==void 0&&w.byteOffset!==void 0}function io(w){const t={key:w.type,description:"",data:"",mimeType:null,pictureType:null},n=3;if(w.size<2)return;if(w.data[0]!==n){console.log("Ignore frame with unrecognized character encoding");return}const s=w.data.subarray(1).indexOf(0);if(s===-1)return;const m=q(Ii(w.data,1,s)),E=w.data[2+s],C=w.data.subarray(3+s).indexOf(0);if(C===-1)return;const U=q(Ii(w.data,3+s,C));let G;return m==="-->"?G=q(Ii(w.data,4+s+C)):G=qi(w.data.subarray(4+s+C)),t.mimeType=m,t.pictureType=E,t.description=U,t.data=G,t}function Ya(w){return w.type==="PRIV"?Pi(w):w.type[0]==="W"?ua(w):w.type==="APIC"?io(w):pi(w)}function co(w){const t=String.fromCharCode(w[0],w[1],w[2],w[3]),n=Vt(w,4),s=10;return{type:t,size:n,data:w.subarray(s,s+n)}}const La=10,Xs=10;function js(w){let t=0;const n=[];for(;Rt(w,t);){const s=Vt(w,t+6);w[t+5]>>6&1&&(t+=La),t+=La;const m=t+s;for(;t+Xs<m;){const E=co(w.subarray(t)),C=Ya(E);C&&n.push(C),t+=E.size+La}Qe(w,t)&&(t+=La)}return n}function na(w){return w&&w.key==="PRIV"&&w.info==="com.apple.streaming.transportStreamTimestamp"}function ja(w){if(w.data.byteLength===8){const t=new Uint8Array(w.data),n=t[3]&1;let s=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return s/=45,n&&(s+=4772185884e-2),Math.round(s)}}function ys(w){const t=js(w);for(let n=0;n<t.length;n++){const s=t[n];if(na(s))return ja(s)}}let Hi=function(w){return w.audioId3="org.id3",w.dateRange="com.apple.quicktime.HLS",w.emsg="https://aomedia.org/emsg/ID3",w.misbklv="urn:misb:KLV:bin:1910.1",w}({});function be(w="",t=9e4){return{type:w,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class Ce{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,s,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,s){}demux(t,n){this.cachedData&&(t=Wt(this.cachedData,t),this.cachedData=null);let s=dr(t,0),m=s?s.length:0,E;const C=this._audioTrack,U=this._id3Track,G=s?ys(s):void 0,H=t.length;for((this.basePTS===null||this.frameIndex===0&&r(G))&&(this.basePTS=wr(G,n,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),s&&s.length>0&&U.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:Hi.audioId3,duration:Number.POSITIVE_INFINITY});m<H;){if(this.canParse(t,m)){const se=this.appendFrame(C,t,m);se?(this.frameIndex++,this.lastPTS=se.sample.pts,m+=se.length,E=m):m=H}else pa(t,m)?(s=dr(t,m),U.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:Hi.audioId3,duration:Number.POSITIVE_INFINITY}),m+=s.length,E=m):m++;if(m===H&&E!==H){const se=t.slice(E);this.cachedData?this.cachedData=Wt(this.cachedData,se):this.cachedData=se}}return{audioTrack:C,videoTrack:be(),id3Track:U,textTrack:be()}}demuxSampleAes(t,n,s){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:be(),id3Track:this._id3Track,textTrack:be()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const wr=(w,t,n)=>{if(r(w))return w*90;const s=n?n.baseTime*9e4/n.timescale:0;return t*9e4+s};let Qr=null;const gr=[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],Yr=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Sn=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],ei=[0,1,1,4];function Oi(w,t,n,s,m){if(n+24>t.length)return;const E=In(t,n);if(E&&n+E.frameLength<=t.length){const C=E.samplesPerFrame*9e4/E.sampleRate,U=s+m*C,G={unit:t.subarray(n,n+E.frameLength),pts:U,dts:U};return w.config=[],w.channelCount=E.channelCount,w.samplerate=E.sampleRate,w.samples.push(G),{sample:G,length:E.frameLength,missing:0}}}function In(w,t){const n=w[t+1]>>3&3,s=w[t+1]>>1&3,m=w[t+2]>>4&15,E=w[t+2]>>2&3;if(n!==1&&m!==0&&m!==15&&E!==3){const C=w[t+2]>>1&1,U=w[t+3]>>6,G=n===3?3-s:s===3?3:4,H=gr[G*14+m-1]*1e3,ue=Yr[(n===3?0:n===2?1:2)*3+E],ve=U===3?1:2,Ae=Sn[n][s],we=ei[s],qe=Ae*8*we,it=Math.floor(Ae*H/ue+C)*we;if(Qr===null){const er=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Qr=er?parseInt(er[1]):0}return!!Qr&&Qr<=87&&s===2&&H>=224e3&&U===0&&(w[t+3]=w[t+3]|128),{sampleRate:ue,channelCount:ve,frameLength:it,samplesPerFrame:qe}}}function Tn(w,t){return w[t]===255&&(w[t+1]&224)===224&&(w[t+1]&6)!==0}function Fn(w,t){return t+1<w.length&&Tn(w,t)}function la(w,t){return Tn(w,t)&&4<=w.length-t}function $i(w,t){if(t+1<w.length&&Tn(w,t)){const s=In(w,t);let m=4;s!=null&&s.frameLength&&(m=s.frameLength);const E=t+m;return E===w.length||Fn(w,E)}return!1}class po extends Ce{constructor(t,n){super(),this.observer=void 0,this.config=void 0,this.observer=t,this.config=n}resetInitSegment(t,n,s,m){super.resetInitSegment(t,n,s,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 s=dr(t,0);let m=(s==null?void 0:s.length)||0;if($i(t,m))return!1;for(let E=t.length;m<E;m++)if(gi(t,m))return n.log("ADTS sync word found !"),!0;return!1}canParse(t,n){return ti(t,n)}appendFrame(t,n,s){wi(t,this.observer,n,s,t.manifestCodec);const m=yi(t,n,s,this.basePTS,this.frameIndex);if(m&&m.missing===0)return m}}const Qs=(w,t)=>{let n=0,s=5;t+=s;const m=new Uint32Array(1),E=new Uint32Array(1),C=new Uint8Array(1);for(;s>0;){C[0]=w[t];const U=Math.min(s,8),G=8-U;E[0]=4278190080>>>24+G<<G,m[0]=(C[0]&E[0])>>G,n=n?n<<U|m[0]:m[0],t+=1,s-=U}return n};class tu extends Ce{constructor(t){super(),this.observer=void 0,this.observer=t}resetInitSegment(t,n,s,m){super.resetInitSegment(t,n,s,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,s){const m=tl(t,n,s,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=dr(t,0);if(!n)return!1;const s=n.length;return t[s]===11&&t[s+1]===119&&ys(n)!==void 0&&Qs(t,s)<16}}function tl(w,t,n,s,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],G=t[n+4]&63,se=[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][G*3+E]*2;if(n+se>t.length)return-1;const ue=t[n+6]>>5;let ve=0;ue===2?ve+=2:(ue&1&&ue!==1&&(ve+=2),ue&4&&(ve+=2));const Ae=(t[n+6]<<8|t[n+7])>>12-ve&1,qe=[2,1,2,3,3,4,4,5][ue]+Ae,it=t[n+5]>>3,jt=t[n+5]&7,ir=new Uint8Array([E<<6|it<<1|jt>>2,(jt&3)<<6|ue<<3|Ae<<2|G>>4,G<<4&224]),er=1536/U*9e4,Fr=s+m*er,Zr=t.subarray(n,n+se);return w.config=ir,w.channelCount=qe,w.samplerate=U,w.samples.push({unit:Zr,pts:Fr}),se}class Ku extends Ce{resetInitSegment(t,n,s,m){super.resetInitSegment(t,n,s,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=dr(t,0);let s=(n==null?void 0:n.length)||0;if(n&&t[s]===11&&t[s+1]===119&&ys(n)!==void 0&&Qs(t,s)<=16)return!1;for(let m=t.length;s<m;s++)if($i(t,s))return W.log("MPEG Audio sync word found !"),!0;return!1}canParse(t,n){return la(t,n)}appendFrame(t,n,s){if(this.basePTS!==null)return Oi(t,n,s,this.basePTS,this.frameIndex)}}const Tu=/\/emsg[-/]ID3/i;class zc{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,s,m){const E=this.videoTrack=be("video",1),C=this.audioTrack=be("audio",1),U=this.txtTrack=be("text",1);if(this.id3Track=be("id3",1),this.timeOffset=0,!(t!=null&&t.byteLength))return;const G=et(t);if(G.video){const{id:H,timescale:se,codec:ue,supplemental:ve}=G.video;E.id=H,E.timescale=U.timescale=se,E.codec=ue,E.supplemental=ve}if(G.audio){const{id:H,timescale:se,codec:ue}=G.audio;C.id=H,C.timescale=se,C.codec=ue}U.id=Pt.text,E.sampleDuration=0,E.duration=C.duration=m}resetContiguity(){this.remainderData=null}static probe(t){return ot(t)}demux(t,n){this.timeOffset=n;let s=t;const m=this.videoTrack,E=this.txtTrack;if(this.config.progressive){this.remainderData&&(s=Wt(this.remainderData,t));const U=Je(s);this.remainderData=U.remainder,m.samples=U.valid||new Uint8Array}else m.samples=s;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,s=this.txtTrack;n.samples=this.remainderData||new Uint8Array,this.remainderData=null;const m=this.extractID3Track(n,this.timeOffset);return s.samples=kt(t,n),{videoTrack:n,audioTrack:be(),id3Track:m,textTrack:be()}}extractID3Track(t,n){const s=this.id3Track;if(t.samples.length){const m=bt(t.samples,["emsg"]);m&&m.forEach(E=>{const C=We(E);if(Tu.test(C.schemeIdUri)){const U=pu(C,n);let G=C.eventDuration===4294967295?Number.POSITIVE_INFINITY:C.eventDuration/C.timeScale;G<=.001&&(G=Number.POSITIVE_INFINITY);const H=C.payload;s.samples.push({data:H,len:H.byteLength,dts:U,pts:U,type:Hi.emsg,duration:G})}else if(this.config.enableEmsgKLVMetadata&&C.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const U=pu(C,n);s.samples.push({data:C.payload,len:C.payload.byteLength,dts:U,pts:U,type:Hi.misbklv,duration:Number.POSITIVE_INFINITY})}})}return s}demuxSampleAes(t,n,s){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 pu(w,t){return r(w.presentationTime)?w.presentationTime/w.timeScale:t+w.presentationTimeDelta/w.timeScale}class Ve{constructor(t,n,s){this.keyData=void 0,this.decrypter=void 0,this.keyData=s,this.decrypter=new fi(n,{removePKCS7Padding:!1})}decryptBuffer(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer,Er.cbc)}decryptAacSample(t,n,s){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 G=new Uint8Array(U);m.set(G,16),this.decrypter.isSync()||this.decryptAacSamples(t,n+1,s)})}decryptAacSamples(t,n,s){for(;;n++){if(n>=t.length){s();return}if(!(t[n].unit.length<32)&&(this.decryptAacSample(t,n,s),!this.decrypter.isSync()))return}}getAvcEncryptedData(t){const n=Math.floor((t.length-48)/160)*16+16,s=new Int8Array(n);let m=0;for(let E=32;E<t.length-16;E+=160,m+=16)s.set(t.subarray(E,E+16),m);return s}getAvcDecryptedUnit(t,n){const s=new Uint8Array(n);let m=0;for(let E=32;E<t.length-16;E+=160,m+=16)t.set(s.subarray(m,m+16),E);return t}decryptAvcSample(t,n,s,m,E){const C=Kt(E.data),U=this.getAvcEncryptedData(C);this.decryptBuffer(U.buffer).then(G=>{E.data=this.getAvcDecryptedUnit(C,G),this.decrypter.isSync()||this.decryptAvcSamples(t,n,s+1,m)})}decryptAvcSamples(t,n,s,m){if(t instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;n++,s=0){if(n>=t.length){m();return}const E=t[n].units;for(;!(s>=E.length);s++){const C=E[s];if(!(C.data.length<=48||C.type!==1&&C.type!==5)&&(this.decryptAvcSample(t,n,s,m,C),!this.decrypter.isSync()))return}}}}class Z{constructor(){this.VideoSample=null}createVideoSample(t,n,s){return{key:t,frame:!1,pts:n,dts:s,units:[],length:0}}getLastNalUnit(t){var n;let s=this.VideoSample,m;if((!s||s.units.length===0)&&(s=t[t.length-1]),(n=s)!=null&&n.units){const E=s.units;m=E[E.length-1]}return m}pushAccessUnit(t,n){if(t.units.length&&t.frame){if(t.pts===void 0){const s=n.samples,m=s.length;if(m){const E=s[m-1];t.pts=E.pts,t.dts=E.dts}else{n.dropped++;return}}n.samples.push(t)}}parseNALu(t,n,s){const m=n.byteLength;let E=t.naluState||0;const C=E,U=[];let G=0,H,se,ue,ve=-1,Ae=0;for(E===-1&&(ve=0,Ae=this.getNALuType(n,0),E=0,G=1);G<m;){if(H=n[G++],!E){E=H?0:1;continue}if(E===1){E=H?0:2;continue}if(!H)E=3;else if(H===1){if(se=G-E-1,ve>=0){const we={data:n.subarray(ve,se),type:Ae};U.push(we)}else{const we=this.getLastNalUnit(t.samples);we&&(C&&G<=4-C&&we.state&&(we.data=we.data.subarray(0,we.data.byteLength-C)),se>0&&(we.data=Wt(we.data,n.subarray(0,se)),we.state=0))}G<m?(ue=this.getNALuType(n,G),ve=G,Ae=ue,E=0):E=-1}else E=0}if(ve>=0&&E>=0){const we={data:n.subarray(ve,m),type:Ae,state:E};U.push(we)}if(U.length===0){const we=this.getLastNalUnit(t.samples);we&&(we.data=Wt(we.data,n))}return t.naluState=E,U}}class X{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,s=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(s,s+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 s=this.word>>>32-n;if(t>32&&W.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?s<<n|this.readBits(n):s}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 te extends Z{parsePES(t,n,s,m){const E=this.parseNALu(t,s.data,m);let C=this.VideoSample,U,G=!1;s.data=null,C&&E.length&&!t.audFound&&(this.pushAccessUnit(C,t),C=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),E.forEach(H=>{var se,ue;switch(H.type){case 1:{let qe=!1;U=!0;const it=H.data;if(G&&it.length>4){const jt=this.readSliceType(it);(jt===2||jt===4||jt===7||jt===9)&&(qe=!0)}if(qe){var ve;(ve=C)!=null&&ve.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null)}C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.frame=!0,C.key=qe;break}case 5:U=!0,(se=C)!=null&&se.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null),C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.key=!0,C.frame=!0;break;case 6:{U=!0,At(H.data,1,s.pts,n.samples);break}case 7:{var Ae,we;U=!0,G=!0;const qe=H.data,it=this.readSPS(qe);if(!t.sps||t.width!==it.width||t.height!==it.height||((Ae=t.pixelRatio)==null?void 0:Ae[0])!==it.pixelRatio[0]||((we=t.pixelRatio)==null?void 0:we[1])!==it.pixelRatio[1]){t.width=it.width,t.height=it.height,t.pixelRatio=it.pixelRatio,t.sps=[qe];const jt=qe.subarray(1,4);let ir="avc1.";for(let er=0;er<3;er++){let Fr=jt[er].toString(16);Fr.length<2&&(Fr="0"+Fr),ir+=Fr}t.codec=ir}break}case 8:U=!0,t.pps=[H.data];break;case 9:U=!0,t.audFound=!0,(ue=C)!=null&&ue.frame&&(this.pushAccessUnit(C,t),C=null),C||(C=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;case 12:U=!0;break;default:U=!1;break}C&&U&&C.units.push(H)}),m&&C&&(this.pushAccessUnit(C,t),this.VideoSample=null)}getNALuType(t,n){return t[n]&31}readSliceType(t){const n=new X(t);return n.readUByte(),n.readUEG(),n.readUEG()}skipScalingList(t,n){let s=8,m=8,E;for(let C=0;C<t;C++)m!==0&&(E=n.readEG(),m=(s+E+256)%256),s=m===0?s:m}readSPS(t){const n=new X(t);let s=0,m=0,E=0,C=0,U,G,H;const se=n.readUByte.bind(n),ue=n.readBits.bind(n),ve=n.readUEG.bind(n),Ae=n.readBoolean.bind(n),we=n.skipBits.bind(n),qe=n.skipEG.bind(n),it=n.skipUEG.bind(n),jt=this.skipScalingList.bind(this);se();const ir=se();if(ue(5),we(3),se(),it(),ir===100||ir===110||ir===122||ir===244||ir===44||ir===83||ir===86||ir===118||ir===128){const an=ve();if(an===3&&we(1),it(),it(),we(1),Ae())for(G=an!==3?8:12,H=0;H<G;H++)Ae()&&(H<6?jt(16,n):jt(64,n))}it();const er=ve();if(er===0)ve();else if(er===1)for(we(1),qe(),qe(),U=ve(),H=0;H<U;H++)qe();it(),we(1);const Fr=ve(),Zr=ve(),ln=ue(1);ln===0&&we(1),we(1),Ae()&&(s=ve(),m=ve(),E=ve(),C=ve());let Wr=[1,1];if(Ae()&&Ae())switch(se()){case 1:Wr=[1,1];break;case 2:Wr=[12,11];break;case 3:Wr=[10,11];break;case 4:Wr=[16,11];break;case 5:Wr=[40,33];break;case 6:Wr=[24,11];break;case 7:Wr=[20,11];break;case 8:Wr=[32,11];break;case 9:Wr=[80,33];break;case 10:Wr=[18,11];break;case 11:Wr=[15,11];break;case 12:Wr=[64,33];break;case 13:Wr=[160,99];break;case 14:Wr=[4,3];break;case 15:Wr=[3,2];break;case 16:Wr=[2,1];break;case 255:{Wr=[se()<<8|se(),se()<<8|se()];break}}return{width:Math.ceil((Fr+1)*16-s*2-m*2),height:(2-ln)*(Zr+1)*16-(ln?2:4)*(E+C),pixelRatio:Wr}}}class pe extends Z{constructor(...t){super(...t),this.initVPS=null}parsePES(t,n,s,m){const E=this.parseNALu(t,s.data,m);let C=this.VideoSample,U,G=!1;s.data=null,C&&E.length&&!t.audFound&&(this.pushAccessUnit(C,t),C=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),E.forEach(H=>{var se,ue;switch(H.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,s.pts,s.dts)),C.frame=!0,U=!0;break;case 16:case 17:case 18:case 21:if(U=!0,G){var ve;(ve=C)!=null&&ve.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null)}C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.key=!0,C.frame=!0;break;case 19:case 20:U=!0,(se=C)!=null&&se.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null),C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.key=!0,C.frame=!0;break;case 39:U=!0,At(H.data,2,s.pts,n.samples);break;case 32:U=!0,t.vps||(typeof t.params!="object"&&(t.params={}),t.params=y(t.params,this.readVPS(H.data)),this.initVPS=H.data),t.vps=[H.data];break;case 33:if(U=!0,G=!0,t.vps!==void 0&&t.vps[0]!==this.initVPS&&t.sps!==void 0&&!this.matchSPS(t.sps[0],H.data)&&(this.initVPS=t.vps[0],t.sps=t.pps=void 0),!t.sps){const Ae=this.readSPS(H.data);t.width=Ae.width,t.height=Ae.height,t.pixelRatio=Ae.pixelRatio,t.codec=Ae.codecString,t.sps=[],typeof t.params!="object"&&(t.params={});for(const we in Ae.params)t.params[we]=Ae.params[we]}this.pushParameterSet(t.sps,H.data,t.vps),C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.key=!0;break;case 34:if(U=!0,typeof t.params=="object"){if(!t.pps){t.pps=[];const Ae=this.readPPS(H.data);for(const we in Ae)t.params[we]=Ae[we]}this.pushParameterSet(t.pps,H.data,t.vps)}break;case 35:U=!0,t.audFound=!0,(ue=C)!=null&&ue.frame&&(this.pushAccessUnit(C,t),C=null),C||(C=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;default:U=!1;break}C&&U&&C.units.push(H)}),m&&C&&(this.pushAccessUnit(C,t),this.VideoSample=null)}pushParameterSet(t,n,s){(s&&s[0]===this.initVPS||!s&&!t.length)&&t.push(n)}getNALuType(t,n){return(t[n]&126)>>>1}ebsp2rbsp(t){const n=new Uint8Array(t.byteLength);let s=0;for(let m=0;m<t.byteLength;m++)m>=2&&t[m]===3&&t[m-1]===0&&t[m-2]===0||(n[s]=t[m],s++);return new Uint8Array(n.buffer,0,s)}pushAccessUnit(t,n){super.pushAccessUnit(t,n),this.initVPS&&(this.initVPS=null)}readVPS(t){const n=new X(t);n.readUByte(),n.readUByte(),n.readBits(4),n.skipBits(2),n.readBits(6);const s=n.readBits(3),m=n.readBoolean();return{numTemporalLayers:s+1,temporalIdNested:m}}readSPS(t){const n=new X(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.readBits(4);const s=n.readBits(3);n.readBoolean();const m=n.readBits(2),E=n.readBoolean(),C=n.readBits(5),U=n.readUByte(),G=n.readUByte(),H=n.readUByte(),se=n.readUByte(),ue=n.readUByte(),ve=n.readUByte(),Ae=n.readUByte(),we=n.readUByte(),qe=n.readUByte(),it=n.readUByte(),jt=n.readUByte(),ir=[],er=[];for(let Is=0;Is<s;Is++)ir.push(n.readBoolean()),er.push(n.readBoolean());if(s>0)for(let Is=s;Is<8;Is++)n.readBits(2);for(let Is=0;Is<s;Is++)ir[Is]&&(n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte()),er[Is]&&n.readUByte();n.readUEG();const Fr=n.readUEG();Fr==3&&n.skipBits(1);const Zr=n.readUEG(),ln=n.readUEG(),Wr=n.readBoolean();let an=0,yn=0,Kr=0,Vn=0;Wr&&(an+=n.readUEG(),yn+=n.readUEG(),Kr+=n.readUEG(),Vn+=n.readUEG());const ci=n.readUEG(),rs=n.readUEG(),ba=n.readUEG(),Ji=n.readBoolean();for(let Is=Ji?0:s;Is<=s;Is++)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 Su=0;Su<4;Su++)for(let ml=0;ml<(Su===3?2:6);ml++)if(!n.readBoolean())n.readUEG();else{const Rl=Math.min(64,1<<4+(Su<<1));Su>1&&n.readEG();for(let vf=0;vf<Rl;vf++)n.readEG()}n.readBoolean(),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.skipUEG(),n.skipUEG(),n.readBoolean());const Ki=n.readUEG();let Kn=0;for(let Is=0;Is<Ki;Is++){let Su=!1;if(Is!==0&&(Su=n.readBoolean()),Su){Is===Ki&&n.readUEG(),n.readBoolean(),n.readUEG();let ml=0;for(let $c=0;$c<=Kn;$c++){const Rl=n.readBoolean();let vf=!1;Rl||(vf=n.readBoolean()),(Rl||vf)&&ml++}Kn=ml}else{const ml=n.readUEG(),$c=n.readUEG();Kn=ml+$c;for(let Rl=0;Rl<ml;Rl++)n.readUEG(),n.readBoolean();for(let Rl=0;Rl<$c;Rl++)n.readUEG(),n.readBoolean()}}if(n.readBoolean()){const Is=n.readUEG();for(let Su=0;Su<Is;Su++){for(let ml=0;ml<ba+4;ml++)n.readBits(1);n.readBits(1)}}let Ta=0,Ea=1,Ba=1,As=!0,Bs=1,oo=0;n.readBoolean(),n.readBoolean();let Vu=!1;if(n.readBoolean()){if(n.readBoolean()){const nf=n.readUByte(),Wf=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Mf=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];nf>0&&nf<16?(Ea=Wf[nf-1],Ba=Mf[nf-1]):nf===255&&(Ea=n.readBits(16),Ba=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(),Vu=n.readBoolean(),Vu&&(an+=n.readUEG(),yn+=n.readUEG(),Kr+=n.readUEG(),Vn+=n.readUEG()),n.readBoolean()&&(Bs=n.readBits(32),oo=n.readBits(32),n.readBoolean()&&n.readUEG(),n.readBoolean())){const Mf=n.readBoolean(),Kf=n.readBoolean();let Of=!1;(Mf||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 kf=0;kf<=s;kf++){As=n.readBoolean();const Ff=As||n.readBoolean();let Yf=!1;Ff?n.readEG():Yf=n.readBoolean();const Xf=Yf?1:n.readUEG()+1;if(Mf)for(let gf=0;gf<Xf;gf++)n.readUEG(),n.readUEG(),Of&&(n.readUEG(),n.readUEG()),n.skipBits(1);if(Kf)for(let gf=0;gf<Xf;gf++)n.readUEG(),n.readUEG(),Of&&(n.readUEG(),n.readUEG()),n.skipBits(1)}}n.readBoolean()&&(n.readBoolean(),n.readBoolean(),n.readBoolean(),Ta=n.readUEG())}let rf=Zr,Vf=ln;if(Wr||Vu){let Is=1,Su=1;Fr===1?Is=Su=2:Fr==2&&(Is=2),rf=Zr-Is*yn-Is*an,Vf=ln-Su*Vn-Su*Kr}const ed=m?["A","B","C"][m]:"",td=U<<24|G<<16|H<<8|se;let zf=0;for(let Is=0;Is<32;Is++)zf=(zf|(td>>Is&1)<<31-Is)>>>0;let Zf=zf.toString(16);return C===1&&Zf==="2"&&(Zf="6"),{codecString:`hvc1.${ed}${C}.${Zf}.${E?"H":"L"}${jt}.B0`,params:{general_tier_flag:E,general_profile_idc:C,general_profile_space:m,general_profile_compatibility_flags:[U,G,H,se],general_constraint_indicator_flags:[ue,ve,Ae,we,qe,it],general_level_idc:jt,bit_depth:ci+8,bit_depth_luma_minus8:ci,bit_depth_chroma_minus8:rs,min_spatial_segmentation_idc:Ta,chroma_format_idc:Fr,frame_rate:{fixed:As,fps:oo/Bs}},width:rf,height:Vf,pixelRatio:[Ea,Ba]}}readPPS(t){const n=new X(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 Te=188;class Ge{constructor(t,n,s,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=s,this.logger=m,this.videoParser=null}static probe(t,n){const s=Ge.syncOffset(t);return s>0&&n.warn(`MPEG2-TS detected but first sync word found @ offset ${s}`),s!==-1}static syncOffset(t){const n=t.length;let s=Math.min(Te*5,n-Te)+1,m=0;for(;m<s;){let E=!1,C=-1,U=0;for(let G=m;G<n;G+=Te)if(t[G]===71&&(n-G===Te||t[G+Te]===71)){if(U++,C===-1&&(C=G,C!==0&&(s=Math.min(C+Te*99,t.length-Te)+1)),E||(E=Tt(t,G)===0),E&&U>1&&(C===0&&U>2||G+Te>s))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:Pt[t],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:t==="audio"?n:void 0}}resetInitSegment(t,n,s,m){this.pmtParsed=!1,this._pmtId=-1,this._videoTrack=Ge.createTrack("video"),this._videoTrack.duration=m,this._audioTrack=Ge.createTrack("audio",m),this._id3Track=Ge.createTrack("id3"),this._txtTrack=Ge.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.remainderData=null,this.audioCodec=n,this.videoCodec=s}resetTimeStamp(){}resetContiguity(){const{_audioTrack:t,_videoTrack:n,_id3Track:s}=this;t&&(t.pesData=null),n&&(n.pesData=null),s&&(s.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(t,n,s=!1,m=!1){s||(this.sampleAes=null);let E;const C=this._videoTrack,U=this._audioTrack,G=this._id3Track,H=this._txtTrack;let se=C.pid,ue=C.pesData,ve=U.pid,Ae=G.pid,we=U.pesData,qe=G.pesData,it=null,jt=this.pmtParsed,ir=this._pmtId,er=t.length;if(this.remainderData&&(t=Wt(this.remainderData,t),er=t.length,this.remainderData=null),er<Te&&!m)return this.remainderData=t,{audioTrack:U,videoTrack:C,id3Track:G,textTrack:H};const Fr=Math.max(0,Ge.syncOffset(t));er-=(er-Fr)%Te,er<t.byteLength&&!m&&(this.remainderData=new Uint8Array(t.buffer,er,t.buffer.byteLength-er));let Zr=0;for(let Wr=Fr;Wr<er;Wr+=Te)if(t[Wr]===71){const an=!!(t[Wr+1]&64),yn=Tt(t,Wr),Kr=(t[Wr+3]&48)>>4;let Vn;if(Kr>1){if(Vn=Wr+5+t[Wr+4],Vn===Wr+Te)continue}else Vn=Wr+4;switch(yn){case se:if(an){if(ue&&(E=qr(ue,this.logger))){if(this.videoParser===null)switch(C.segmentCodec){case"avc":this.videoParser=new te;break;case"hevc":this.videoParser=new pe;break}this.videoParser!==null&&this.videoParser.parsePES(C,H,E,!1)}ue={data:[],size:0}}ue&&(ue.data.push(t.subarray(Vn,Wr+Te)),ue.size+=Wr+Te-Vn);break;case ve:if(an){if(we&&(E=qr(we,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}we={data:[],size:0}}we&&(we.data.push(t.subarray(Vn,Wr+Te)),we.size+=Wr+Te-Vn);break;case Ae:an&&(qe&&(E=qr(qe,this.logger))&&this.parseID3PES(G,E),qe={data:[],size:0}),qe&&(qe.data.push(t.subarray(Vn,Wr+Te)),qe.size+=Wr+Te-Vn);break;case 0:an&&(Vn+=t[Vn]+1),ir=this._pmtId=$t(t,Vn);break;case ir:{an&&(Vn+=t[Vn]+1);const ci=rr(t,Vn,this.typeSupported,s,this.observer,this.logger);se=ci.videoPid,se>0&&(C.pid=se,C.segmentCodec=ci.segmentVideoCodec),ve=ci.audioPid,ve>0&&(U.pid=ve,U.segmentCodec=ci.segmentAudioCodec),Ae=ci.id3Pid,Ae>0&&(G.pid=Ae),it!==null&&!jt&&(this.logger.warn(`MPEG-TS PMT found at ${Wr} after unknown PID '${it}'. Backtracking to sync byte @${Fr} to parse all TS packets.`),it=null,Wr=Fr-188),jt=this.pmtParsed=!0;break}case 17:case 8191:break;default:it=yn;break}}else Zr++;Zr>0&&Ar(this.observer,new Error(`Found ${Zr} TS packet/s that do not start with 0x47`),void 0,this.logger),C.pesData=ue,U.pesData=we,G.pesData=qe;const ln={audioTrack:U,videoTrack:C,id3Track:G,textTrack:H};return m&&this.extractRemainingSamples(ln),ln}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:s,id3Track:m,textTrack:E}=t,C=s.pesData,U=n.pesData,G=m.pesData;let H;if(C&&(H=qr(C,this.logger))){if(this.videoParser===null)switch(s.segmentCodec){case"avc":this.videoParser=new te;break;case"hevc":this.videoParser=new pe;break}this.videoParser!==null&&(this.videoParser.parsePES(s,E,H,!0),s.pesData=null)}else s.pesData=C;if(U&&(H=qr(U,this.logger))){switch(n.segmentCodec){case"aac":this.parseAACPES(n,H);break;case"mp3":this.parseMPEGPES(n,H);break;case"ac3":this.parseAC3PES(n,H);break}n.pesData=null}else U!=null&&U.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),n.pesData=U;G&&(H=qr(G,this.logger))?(this.parseID3PES(m,H),m.pesData=null):m.pesData=G}demuxSampleAes(t,n,s){const m=this.demux(t,s,!0,!this.config.progressive),E=this.sampleAes=new Ve(this.observer,this.config,n);return this.decrypt(m,E)}decrypt(t,n){return new Promise(s=>{const{audioTrack:m,videoTrack:E}=t;m.samples&&m.segmentCodec==="aac"?n.decryptAacSamples(m.samples,0,()=>{E.samples?n.decryptAvcSamples(E.samples,0,0,()=>{s(t)}):s(t)}):E.samples&&n.decryptAvcSamples(E.samples,0,0,()=>{s(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 s=0;const m=this.aacOverFlow;let E=n.data;if(m){this.aacOverFlow=null;const ue=m.missing,ve=m.sample.unit.byteLength;if(ue===-1)E=Wt(m.sample.unit,E);else{const Ae=ve-ue;m.sample.unit.set(E.subarray(0,ue),Ae),t.samples.push(m.sample),s=m.missing}}let C,U;for(C=s,U=E.length;C<U-1&&!Wn(E,C);C++);if(C!==s){let ue;const ve=C<U-1;if(ve?ue=`AAC PES did not start with ADTS header,offset:${C}`:ue="No ADTS header found in AAC PES",Ar(this.observer,new Error(ue),ve,this.logger),!ve)return}wi(t,this.observer,E,C,this.audioCodec);let G;if(n.pts!==void 0)G=n.pts;else if(m){const ue=Ni(t.samplerate);G=m.sample.pts+ue}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let H=0,se;for(;C<U;)if(se=yi(t,E,C,G,H),C+=se.length,se.missing){this.aacOverFlow=se;break}else for(H++;C<U-1&&!Wn(E,C);C++);}parseMPEGPES(t,n){const s=n.data,m=s.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(Fn(s,C)){const G=Oi(t,s,C,U,E);if(G)C+=G.length,E++;else break}else C++}parseAC3PES(t,n){{const s=n.data,m=n.pts;if(m===void 0){this.logger.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const E=s.length;let C=0,U=0,G;for(;U<E&&(G=tl(t,s,U,m,C++))>0;)U+=G}}parseID3PES(t,n){if(n.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const s=y({},n,{type:this._videoTrack?Hi.emsg:Hi.audioId3,duration:Number.POSITIVE_INFINITY});t.samples.push(s)}}function Tt(w,t){return((w[t+1]&31)<<8)+w[t+2]}function $t(w,t){return(w[t+10]&31)<<8|w[t+11]}function rr(w,t,n,s,m,E){const C={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},U=(w[t+1]&15)<<8|w[t+2],G=t+3+U-4,H=(w[t+10]&15)<<8|w[t+11];for(t+=12+H;t<G;){const se=Tt(w,t),ue=(w[t+3]&15)<<8|w[t+4];switch(w[t]){case 207:if(!s){zr("ADTS AAC",E);break}case 15:C.audioPid===-1&&(C.audioPid=se);break;case 21:C.id3Pid===-1&&(C.id3Pid=se);break;case 219:if(!s){zr("H.264",E);break}case 27:C.videoPid===-1&&(C.videoPid=se);break;case 3:case 4:!n.mpeg&&!n.mp3?E.log("MPEG audio found, not supported in this browser"):C.audioPid===-1&&(C.audioPid=se,C.segmentAudioCodec="mp3");break;case 193:if(!s){zr("AC-3",E);break}case 129:n.ac3?C.audioPid===-1&&(C.audioPid=se,C.segmentAudioCodec="ac3"):E.log("AC-3 audio found, not supported in this browser");break;case 6:if(C.audioPid===-1&&ue>0){let ve=t+5,Ae=ue;for(;Ae>2;){switch(w[ve]){case 106:n.ac3!==!0?E.log("AC-3 audio found, not supported in this browser for now"):(C.audioPid=se,C.segmentAudioCodec="ac3");break}const qe=w[ve+1]+2;ve+=qe,Ae-=qe}}break;case 194:case 135:return Ar(m,new Error("Unsupported EC-3 in M2TS found"),void 0,E),C;case 36:C.videoPid===-1&&(C.videoPid=se,C.segmentVideoCodec="hevc",E.log("HEVC in M2TS found"));break}t+=ue+5}return C}function Ar(w,t,n,s){s.warn(`parsing error: ${t.message}`),w.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,levelRetry:n,error:t,reason:t.message})}function zr(w,t){t.log(`${w} with AES-128-CBC encryption found in unencrypted stream`)}function qr(w,t){let n=0,s,m,E,C,U;const G=w.data;if(!w||w.size===0)return null;for(;G[0].length<19&&G.length>1;)G[0]=Wt(G[0],G[1]),G.splice(1,1);if(s=G[0],(s[0]<<16)+(s[1]<<8)+s[2]===1){if(m=(s[4]<<8)+s[5],m&&m>w.size-6)return null;const se=s[7];se&192&&(C=(s[9]&14)*536870912+(s[10]&255)*4194304+(s[11]&254)*16384+(s[12]&255)*128+(s[13]&254)/2,se&64?(U=(s[14]&14)*536870912+(s[15]&255)*4194304+(s[16]&254)*16384+(s[17]&255)*128+(s[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=s[8];let ue=E+9;if(w.size<=ue)return null;w.size-=ue;const ve=new Uint8Array(w.size);for(let Ae=0,we=G.length;Ae<we;Ae++){s=G[Ae];let qe=s.byteLength;if(ue)if(ue>qe){ue-=qe;continue}else s=s.subarray(ue),qe-=ue,ue=0;ve.set(s,n),n+=qe}return m&&(m-=E+3),{data:ve,pts:C,dts:U,len:m}}return null}class En{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 Rn=Math.pow(2,32)-1;class lr{static init(){lr.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 lr.types)lr.types.hasOwnProperty(t)&&(lr.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]),s=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]);lr.HDLR_TYPES={video:n,audio:s};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]);lr.STTS=lr.STSC=lr.STCO=E,lr.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),lr.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),lr.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),lr.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]),G=new Uint8Array([0,0,0,1]);lr.FTYP=lr.box(lr.types.ftyp,C,G,C,U),lr.DINF=lr.box(lr.types.dinf,lr.box(lr.types.dref,m))}static box(t,...n){let s=8,m=n.length;const E=m;for(;m--;)s+=n[m].byteLength;const C=new Uint8Array(s);for(C[0]=s>>24&255,C[1]=s>>16&255,C[2]=s>>8&255,C[3]=s&255,C.set(t,4),m=0,s=8;m<E;m++)C.set(n[m],s),s+=n[m].byteLength;return C}static hdlr(t){return lr.box(lr.types.hdlr,lr.HDLR_TYPES[t])}static mdat(t){return lr.box(lr.types.mdat,t)}static mdhd(t,n){n*=t;const s=Math.floor(n/(Rn+1)),m=Math.floor(n%(Rn+1));return lr.box(lr.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,s>>24,s>>16&255,s>>8&255,s&255,m>>24,m>>16&255,m>>8&255,m&255,85,196,0,0]))}static mdia(t){return lr.box(lr.types.mdia,lr.mdhd(t.timescale||0,t.duration||0),lr.hdlr(t.type),lr.minf(t))}static mfhd(t){return lr.box(lr.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"?lr.box(lr.types.minf,lr.box(lr.types.smhd,lr.SMHD),lr.DINF,lr.stbl(t)):lr.box(lr.types.minf,lr.box(lr.types.vmhd,lr.VMHD),lr.DINF,lr.stbl(t))}static moof(t,n,s){return lr.box(lr.types.moof,lr.mfhd(t),lr.traf(s,n))}static moov(t){let n=t.length;const s=[];for(;n--;)s[n]=lr.trak(t[n]);return lr.box.apply(null,[lr.types.moov,lr.mvhd(t[0].timescale||0,t[0].duration||0)].concat(s).concat(lr.mvex(t)))}static mvex(t){let n=t.length;const s=[];for(;n--;)s[n]=lr.trex(t[n]);return lr.box.apply(null,[lr.types.mvex,...s])}static mvhd(t,n){n*=t;const s=Math.floor(n/(Rn+1)),m=Math.floor(n%(Rn+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,s>>24,s>>16&255,s>>8&255,s&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 lr.box(lr.types.mvhd,E)}static sdtp(t){const n=t.samples||[],s=new Uint8Array(4+n.length);let m,E;for(m=0;m<n.length;m++)E=n[m].flags,s[m+4]=E.dependsOn<<4|E.isDependedOn<<2|E.hasRedundancy;return lr.box(lr.types.sdtp,s)}static stbl(t){return lr.box(lr.types.stbl,lr.stsd(t),lr.box(lr.types.stts,lr.STTS),lr.box(lr.types.stsc,lr.STSC),lr.box(lr.types.stsz,lr.STSZ),lr.box(lr.types.stco,lr.STCO))}static avc1(t){let n=[],s=[],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,s.push(C>>>8&255),s.push(C&255),s=s.concat(Array.prototype.slice.call(E));const U=lr.box(lr.types.avcC,new Uint8Array([1,n[3],n[4],n[5],255,224|t.sps.length].concat(n).concat([t.pps.length]).concat(s))),G=t.width,H=t.height,se=t.pixelRatio[0],ue=t.pixelRatio[1];return lr.box(lr.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,G>>8&255,G&255,H>>8&255,H&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,lr.box(lr.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),lr.box(lr.types.pasp,new Uint8Array([se>>24,se>>16&255,se>>8&255,se&255,ue>>24,ue>>16&255,ue>>8&255,ue&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 lr.box(lr.types.mp4a,lr.audioStsd(t),lr.box(lr.types.esds,lr.esds(t)))}static mp3(t){return lr.box(lr.types[".mp3"],lr.audioStsd(t))}static ac3(t){return lr.box(lr.types["ac-3"],lr.audioStsd(t),lr.box(lr.types.dac3,t.config))}static stsd(t){const{segmentCodec:n}=t;if(t.type==="audio"){if(n==="aac")return lr.box(lr.types.stsd,lr.STSD,lr.mp4a(t));if(n==="ac3"&&t.config)return lr.box(lr.types.stsd,lr.STSD,lr.ac3(t));if(n==="mp3"&&t.codec==="mp3")return lr.box(lr.types.stsd,lr.STSD,lr.mp3(t))}else if(t.pps&&t.sps){if(n==="avc")return lr.box(lr.types.stsd,lr.STSD,lr.avc1(t));if(n==="hevc"&&t.vps)return lr.box(lr.types.stsd,lr.STSD,lr.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,s=(t.duration||0)*(t.timescale||0),m=t.width||0,E=t.height||0,C=Math.floor(s/(Rn+1)),U=Math.floor(s%(Rn+1));return lr.box(lr.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 s=lr.sdtp(t),m=t.id,E=Math.floor(n/(Rn+1)),C=Math.floor(n%(Rn+1));return lr.box(lr.types.traf,lr.box(lr.types.tfhd,new Uint8Array([0,0,0,0,m>>24,m>>16&255,m>>8&255,m&255])),lr.box(lr.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])),lr.trun(t,s.length+16+20+8+16+8+8),s)}static trak(t){return t.duration=t.duration||4294967295,lr.box(lr.types.trak,lr.tkhd(t),lr.mdia(t))}static trex(t){const n=t.id;return lr.box(lr.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 s=t.samples||[],m=s.length,E=12+16*m,C=new Uint8Array(E);let U,G,H,se,ue,ve;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++)G=s[U],H=G.duration,se=G.size,ue=G.flags,ve=G.cts,C.set([H>>>24&255,H>>>16&255,H>>>8&255,H&255,se>>>24&255,se>>>16&255,se>>>8&255,se&255,ue.isLeading<<2|ue.dependsOn,ue.isDependedOn<<6|ue.hasRedundancy<<4|ue.paddingValue<<1|ue.isNonSync,ue.degradPrio&61440,ue.degradPrio&15,ve>>>24&255,ve>>>16&255,ve>>>8&255,ve&255],12+16*U);return lr.box(lr.types.trun,C)}static initSegment(t){lr.types||lr.init();const n=lr.moov(t);return Wt(lr.FTYP,n)}static hvc1(t){const n=t.params,s=[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),s.length]);let C=E.length;for(let we=0;we<s.length;we+=1){C+=3;for(let qe=0;qe<s[we].length;qe+=1)C+=2+s[we][qe].length}const U=new Uint8Array(C);U.set(E,0),C=E.length;const G=s.length-1;for(let we=0;we<s.length;we+=1){U.set(new Uint8Array([32+we|(we===G?128:0),0,s[we].length]),C),C+=3;for(let qe=0;qe<s[we].length;qe+=1)U.set(new Uint8Array([s[we][qe].length>>8,s[we][qe].length&255]),C),C+=2,U.set(s[we][qe],C),C+=s[we][qe].length}const H=lr.box(lr.types.hvcC,U),se=t.width,ue=t.height,ve=t.pixelRatio[0],Ae=t.pixelRatio[1];return lr.box(lr.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,se>>8&255,se&255,ue>>8&255,ue&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]),H,lr.box(lr.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),lr.box(lr.types.pasp,new Uint8Array([ve>>24,ve>>16&255,ve>>8&255,ve&255,Ae>>24,Ae>>16&255,Ae>>8&255,Ae&255])))}}lr.types=void 0,lr.HDLR_TYPES=void 0,lr.STTS=void 0,lr.STSC=void 0,lr.STCO=void 0,lr.STSZ=void 0,lr.VMHD=void 0,lr.SMHD=void 0,lr.STSD=void 0,lr.FTYP=void 0,lr.DINF=void 0;const Ei=9e4;function ia(w,t,n=1,s=!1){const m=w*t*n;return s?Math.round(m):m}function aa(w,t,n=1,s=!1){return ia(w,t,1/n,s)}function Xi(w,t=!1){return ia(w,1e3,1/Ei,t)}function Ja(w,t=1){return ia(w,Ei,1/t)}const ss=10*1e3,bs=1024,es=1152,wa=1536;let fs=null,xs=null;function _i(w,t,n,s){return{duration:t,size:n,cts:s,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:w?2:1,isNonSync:w?0:1}}}class Us{constructor(t,n,s,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=s,this.logger=m,this.ISGenerated=!1,fs===null){const C=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);fs=C?parseInt(C[1]):0}if(xs===null){const E=navigator.userAgent.match(/Safari\/(\d+)/i);xs=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 s=t[0].pts,m=t.reduce((E,C)=>{let U=C.pts,G=U-E;return G<-4294967296&&(n=!0,U=ms(U,s),G=U-E),G>0?E:U},s);return n&&this.logger.debug("PTS rollover detected"),m}remux(t,n,s,m,E,C,U,G){let H,se,ue,ve,Ae,we,qe=E,it=E;const jt=t.pid>-1,ir=n.pid>-1,er=n.samples.length,Fr=t.samples.length>0,Zr=U&&er>0||er>1;if((!jt||Fr)&&(!ir||Zr)||this.ISGenerated||U){if(this.ISGenerated){var Wr,an,yn,Kr;const ba=this.videoTrackConfig;(ba&&(n.width!==ba.width||n.height!==ba.height||((Wr=n.pixelRatio)==null?void 0:Wr[0])!==((an=ba.pixelRatio)==null?void 0:an[0])||((yn=n.pixelRatio)==null?void 0:yn[1])!==((Kr=ba.pixelRatio)==null?void 0:Kr[1]))||!ba&&Zr||this.nextAudioPts===null&&Fr)&&this.resetInitSegment()}this.ISGenerated||(ue=this.generateIS(t,n,E,C));const Vn=this.isVideoContiguous;let ci=-1,rs;if(Zr&&(ci=Xo(n.samples),!Vn&&this.config.forceKeyFrameOnDiscontinuity))if(we=!0,ci>0){this.logger.warn(`[mp4-remuxer]: Dropped ${ci} out of ${er} video samples due to a missing keyframe`);const ba=this.getVideoStartPts(n.samples);n.samples=n.samples.slice(ci),n.dropped+=ci,it+=(n.samples[0].pts-ba)/n.inputTimeScale,rs=it}else ci===-1&&(this.logger.warn(`[mp4-remuxer]: No keyframe found out of ${er} video samples`),we=!1);if(this.ISGenerated){if(Fr&&Zr){const ba=this.getVideoStartPts(n.samples),Ri=(ms(t.samples[0].pts,ba)-ba)/n.inputTimeScale;qe+=Math.max(0,Ri),it+=Math.max(0,-Ri)}if(Fr){if(t.samplerate||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),ue=this.generateIS(t,n,E,C)),se=this.remuxAudio(t,qe,this.isAudioContiguous,C,ir||Zr||G===u.AUDIO?it:void 0),Zr){const ba=se?se.endPTS-se.startPTS:0;n.inputTimeScale||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),ue=this.generateIS(t,n,E,C)),H=this.remuxVideo(n,it,Vn,ba)}}else Zr&&(H=this.remuxVideo(n,it,Vn,0));H&&(H.firstKeyFrame=ci,H.independent=ci!==-1,H.firstKeyFramePTS=rs)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(s.samples.length&&(Ae=Ps(s,E,this._initPTS,this._initDTS)),m.samples.length&&(ve=_o(m,E,this._initPTS))),{audio:se,video:H,initSegment:ue,independent:we,text:ve,id3:Ae}}generateIS(t,n,s,m){const E=t.samples,C=n.samples,U=this.typeSupported,G={},H=this._initPTS;let se=!H||m,ue="audio/mp4",ve,Ae,we;if(se&&(ve=Ae=1/0),t.config&&E.length){switch(t.timescale=t.samplerate,t.segmentCodec){case"mp3":U.mpeg?(ue="audio/mpeg",t.codec=""):U.mp3&&(t.codec="mp3");break;case"ac3":t.codec="ac-3";break}G.audio={id:"audio",container:ue,codec:t.codec,initSegment:t.segmentCodec==="mp3"&&U.mpeg?new Uint8Array(0):lr.initSegment([t]),metadata:{channelCount:t.channelCount}},se&&(we=t.inputTimeScale,!H||we!==H.timescale?ve=Ae=E[0].pts-Math.round(we*s):se=!1)}if(n.sps&&n.pps&&C.length){if(n.timescale=n.inputTimeScale,G.video={id:"main",container:"video/mp4",codec:n.codec,initSegment:lr.initSegment([n]),metadata:{width:n.width,height:n.height}},se)if(we=n.inputTimeScale,!H||we!==H.timescale){const qe=this.getVideoStartPts(C),it=Math.round(we*s);Ae=Math.min(Ae,ms(C[0].dts,qe)-it),ve=Math.min(ve,qe-it)}else se=!1;this.videoTrackConfig={width:n.width,height:n.height,pixelRatio:n.pixelRatio}}if(Object.keys(G).length)return this.ISGenerated=!0,se?(this._initPTS={baseTime:ve,timescale:we},this._initDTS={baseTime:Ae,timescale:we}):ve=we=void 0,{tracks:G,initPTS:ve,timescale:we}}remuxVideo(t,n,s,m){const E=t.inputTimeScale,C=t.samples,U=[],G=C.length,H=this._initPTS;let se=this.nextAvcDts,ue=8,ve=this.videoSampleDuration,Ae,we,qe=Number.POSITIVE_INFINITY,it=Number.NEGATIVE_INFINITY,jt=!1;if(!s||se===null){const Kn=n*E,ri=C[0].pts-ms(C[0].dts,C[0].pts);fs&&se!==null&&Math.abs(Kn-ri-se)<15e3?s=!0:se=Kn-ri}const ir=H.baseTime*E/H.timescale;for(let Kn=0;Kn<G;Kn++){const ri=C[Kn];ri.pts=ms(ri.pts-ir,se),ri.dts=ms(ri.dts-ir,se),ri.dts<C[Kn>0?Kn-1:Kn].dts&&(jt=!0)}jt&&C.sort(function(Kn,ri){const Ta=Kn.dts-ri.dts,Ea=Kn.pts-ri.pts;return Ta||Ea}),Ae=C[0].dts,we=C[C.length-1].dts;const er=we-Ae,Fr=er?Math.round(er/(G-1)):ve||t.inputTimeScale/30;if(s){const Kn=Ae-se,ri=Kn>Fr,Ta=Kn<-1;if((ri||Ta)&&(ri?this.logger.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Xi(Kn,!0)} ms (${Kn}dts) hole between fragments detected at ${n.toFixed(3)}`):this.logger.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Xi(-Kn,!0)} ms (${Kn}dts) overlapping between fragments detected at ${n.toFixed(3)}`),!Ta||se>=C[0].pts||fs)){Ae=se;const Ea=C[0].pts-Kn;if(ri)C[0].dts=Ae,C[0].pts=Ea;else{let Ba=!0;for(let As=0;As<C.length&&!(C[As].dts>Ea&&Ba);As++){const Bs=C[As].pts;if(C[As].dts-=Kn,C[As].pts-=Kn,As<C.length-1){const oo=C[As+1].pts,Vu=C[As].pts,el=oo<=Vu,rf=oo<=Bs;Ba=el==rf}}}this.logger.log(`Video: Initial PTS/DTS adjusted: ${Xi(Ea,!0)}/${Xi(Ae,!0)}, delta: ${Xi(Kn,!0)} ms`)}}Ae=Math.max(0,Ae);let Zr=0,ln=0,Wr=Ae;for(let Kn=0;Kn<G;Kn++){const ri=C[Kn],Ta=ri.units,Ea=Ta.length;let Ba=0;for(let As=0;As<Ea;As++)Ba+=Ta[As].data.length;ln+=Ba,Zr+=Ea,ri.length=Ba,ri.dts<Wr?(ri.dts=Wr,Wr+=Fr/4|0||1):Wr=ri.dts,qe=Math.min(ri.pts,qe),it=Math.max(ri.pts,it)}we=C[G-1].dts;const an=ln+4*Zr+8;let yn;try{yn=new Uint8Array(an)}catch(Kn){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Kn,bytes:an,reason:`fail allocating video mdat ${an}`});return}const Kr=new DataView(yn.buffer);Kr.setUint32(0,an),yn.set(lr.types.mdat,4);let Vn=!1,ci=Number.POSITIVE_INFINITY,rs=Number.POSITIVE_INFINITY,ba=Number.NEGATIVE_INFINITY,Ji=Number.NEGATIVE_INFINITY;for(let Kn=0;Kn<G;Kn++){const ri=C[Kn],Ta=ri.units;let Ea=0;for(let Bs=0,oo=Ta.length;Bs<oo;Bs++){const Vu=Ta[Bs],el=Vu.data,rf=Vu.data.byteLength;Kr.setUint32(ue,rf),ue+=4,yn.set(el,ue),ue+=rf,Ea+=4+rf}let Ba;if(Kn<G-1)ve=C[Kn+1].dts-ri.dts,Ba=C[Kn+1].pts-ri.pts;else{const Bs=this.config,oo=Kn>0?ri.dts-C[Kn-1].dts:Fr;if(Ba=Kn>0?ri.pts-C[Kn-1].pts:Fr,Bs.stretchShortVideoTrack&&this.nextAudioPts!==null){const Vu=Math.floor(Bs.maxBufferHole*E),el=(m?qe+m*E:this.nextAudioPts)-ri.pts;el>Vu?(ve=el-oo,ve<0?ve=oo:Vn=!0,this.logger.log(`[mp4-remuxer]: It is approximately ${el/90} ms to the next segment; using duration ${ve/90} ms for the last video frame.`)):ve=oo}else ve=oo}const As=Math.round(ri.pts-ri.dts);ci=Math.min(ci,ve),ba=Math.max(ba,ve),rs=Math.min(rs,Ba),Ji=Math.max(Ji,Ba),U.push(_i(ri.key,ve,Ea,As))}if(U.length){if(fs){if(fs<70){const Kn=U[0].flags;Kn.dependsOn=2,Kn.isNonSync=0}}else if(xs&&Ji-rs<ba-ci&&Fr/ba<.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 Kn=Ae;for(let ri=0,Ta=U.length;ri<Ta;ri++){const Ea=Kn+U[ri].duration,Ba=Kn+U[ri].cts;if(ri<Ta-1){const As=Ea+U[ri+1].cts;U[ri].duration=As-Ba}else U[ri].duration=ri?U[ri-1].duration:Fr;U[ri].cts=0,Kn=Ea}}}ve=Vn||!ve?Fr:ve,this.nextAvcDts=se=we+ve,this.videoSampleDuration=ve,this.isVideoContiguous=!0;const Ki={data1:lr.moof(t.sequenceNumber++,Ae,y(t,{samples:U})),data2:yn,startPTS:qe/E,endPTS:(it+ve)/E,startDTS:Ae/E,endDTS:se/E,type:"video",hasAudio:!1,hasVideo:!0,nb:U.length,dropped:t.dropped};return t.samples=[],t.dropped=0,Ki}getSamplesPerFrame(t){switch(t.segmentCodec){case"mp3":return es;case"ac3":return wa;default:return bs}}remuxAudio(t,n,s,m,E){const C=t.inputTimeScale,U=t.samplerate?t.samplerate:C,G=C/U,H=this.getSamplesPerFrame(t),se=H*G,ue=this._initPTS,ve=t.segmentCodec==="mp3"&&this.typeSupported.mpeg,Ae=[],we=E!==void 0;let qe=t.samples,it=ve?0:8,jt=this.nextAudioPts||-1;const ir=n*C,er=ue.baseTime*C/ue.timescale;if(this.isAudioContiguous=s=s||qe.length&&jt>0&&(m&&Math.abs(ir-jt)<9e3||Math.abs(ms(qe[0].pts-er,ir)-jt)<20*se),qe.forEach(function(Ri){Ri.pts=ms(Ri.pts-er,ir)}),!s||jt<0){if(qe=qe.filter(Ri=>Ri.pts>=0),!qe.length)return;E===0?jt=0:m&&!we?jt=Math.max(0,ir):jt=qe[0].pts}if(t.segmentCodec==="aac"){const Ri=this.config.maxAudioFramesDrift;for(let Qi=0,Ki=jt;Qi<qe.length;Qi++){const Kn=qe[Qi],ri=Kn.pts,Ta=ri-Ki,Ea=Math.abs(1e3*Ta/C);if(Ta<=-Ri*se&&we)Qi===0&&(this.logger.warn(`Audio frame @ ${(ri/C).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*Ta/C)} ms.`),this.nextAudioPts=jt=Ki=ri);else if(Ta>=Ri*se&&Ea<ss&&we){let Ba=Math.round(Ta/se);Ki=ri-Ba*se,Ki<0&&(Ba--,Ki+=se),Qi===0&&(this.nextAudioPts=jt=Ki),this.logger.warn(`[mp4-remuxer]: Injecting ${Ba} audio frame @ ${(Ki/C).toFixed(3)}s due to ${Math.round(1e3*Ta/C)} ms gap.`);for(let As=0;As<Ba;As++){const Bs=Math.max(Ki,0);let oo=En.getSilentFrame(t.parsedCodec||t.manifestCodec||t.codec,t.channelCount);oo||(this.logger.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),oo=Kn.unit.subarray()),qe.splice(Qi,0,{unit:oo,pts:Bs}),Ki+=se,Qi++}}Kn.pts=Ki,Ki+=se}}let Fr=null,Zr=null,ln,Wr=0,an=qe.length;for(;an--;)Wr+=qe[an].unit.byteLength;for(let Ri=0,Qi=qe.length;Ri<Qi;Ri++){const Ki=qe[Ri],Kn=Ki.unit;let ri=Ki.pts;if(Zr!==null){const Ea=Ae[Ri-1];Ea.duration=Math.round((ri-Zr)/G)}else if(s&&t.segmentCodec==="aac"&&(ri=jt),Fr=ri,Wr>0){Wr+=it;try{ln=new Uint8Array(Wr)}catch(Ea){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Ea,bytes:Wr,reason:`fail allocating audio mdat ${Wr}`});return}ve||(new DataView(ln.buffer).setUint32(0,Wr),ln.set(lr.types.mdat,4))}else return;ln.set(Kn,it);const Ta=Kn.byteLength;it+=Ta,Ae.push(_i(!0,H,Ta,0)),Zr=ri}const yn=Ae.length;if(!yn)return;const Kr=Ae[Ae.length-1];this.nextAudioPts=jt=Zr+G*Kr.duration;const Vn=ve?new Uint8Array(0):lr.moof(t.sequenceNumber++,Fr/G,y({},t,{samples:Ae}));t.samples=[];const ci=Fr/C,rs=jt/C,Ji={data1:Vn,data2:ln,startPTS:ci,endPTS:rs,startDTS:ci,endDTS:rs,type:"audio",hasAudio:!0,hasVideo:!1,nb:yn};return this.isAudioContiguous=!0,Ji}}function ms(w,t){let n;if(t===null)return w;for(t<w?n=-8589934592:n=8589934592;Math.abs(w-t)>4294967296;)w+=n;return w}function Xo(w){for(let t=0;t<w.length;t++)if(w[t].key)return t;return-1}function Ps(w,t,n,s){const m=w.samples.length;if(!m)return;const E=w.inputTimeScale;for(let U=0;U<m;U++){const G=w.samples[U];G.pts=ms(G.pts-n.baseTime*E/n.timescale,t*E)/E,G.dts=ms(G.dts-s.baseTime*E/s.timescale,t*E)/E}const C=w.samples;return w.samples=[],{samples:C}}function _o(w,t,n){const s=w.samples.length;if(!s)return;const m=w.inputTimeScale;for(let C=0;C<s;C++){const U=w.samples[C];U.pts=ms(U.pts-n.baseTime*m/n.timescale,t*m)/m}w.samples.sort((C,U)=>C.pts-U.pts);const E=w.samples;return w.samples=[],{samples:E}}class qs{constructor(t,n,s,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,s,m){this.audioCodec=n,this.videoCodec=s,this.generateInitSegment(He(t,m)),this.emitInitSegment=!0}generateInitSegment(t){let{audioCodec:n,videoCodec:s}=this;if(!(t!=null&&t.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const m=this.initData=et(t);m.audio&&(n=Fu(m.audio,M.AUDIO)),m.video&&(s=Fu(m.video,M.VIDEO));const E={};m.audio&&m.video?E.audiovideo={container:"video/mp4",codec:n+","+s,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:s,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,s,m,E,C){var U,G;let{initPTS:H,lastEndTime:se}=this;const ue={audio:void 0,video:void 0,text:m,id3:s,initSegment:void 0};r(se)||(se=this.lastEndTime=E||0);const ve=n.samples;if(!(ve!=null&&ve.length))return ue;const Ae={initPTS:void 0,timescale:1};let we=this.initData;if((U=we)!=null&&U.length||(this.generateInitSegment(ve),we=this.initData),!((G=we)!=null&&G.length))return this.logger.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),ue;this.emitInitSegment&&(Ae.tracks=this.initTracks,this.emitInitSegment=!1);const qe=Gt(ve,we),it=ct(we,ve),jt=it===null?E:it;(C||!H)&&(Bl(H,jt,E,qe)||Ae.timescale!==H.timescale)&&(Ae.initPTS=jt-E,H&&H.timescale===1&&this.logger.warn(`Adjusting initPTS @${E} from ${H.baseTime/H.timescale} to ${Ae.initPTS}`),this.initPTS=H={baseTime:Ae.initPTS,timescale:1});const ir=t?jt-H.baseTime/H.timescale:se,er=ir+qe;Oe(we,ve,H.baseTime/H.timescale),qe>0?this.lastEndTime=er:(this.logger.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const Fr=!!we.audio,Zr=!!we.video;let ln="";Fr&&(ln+="audio"),Zr&&(ln+="video");const Wr={data1:ve,startPTS:ir,startDTS:ir,endPTS:er,endDTS:er,type:ln,hasAudio:Fr,hasVideo:Zr,nb:1,dropped:0};return ue.audio=Wr.type==="audio"?Wr:void 0,ue.video=Wr.type!=="audio"?Wr:void 0,ue.initSegment=Ae,ue.id3=Ps(s,E,H,H),m.samples.length&&(ue.text=_o(m,E,H)),ue}}function Bl(w,t,n,s){if(w===null)return!0;const m=Math.max(s,1),E=t-w.baseTime/w.timescale;return Math.abs(E-n)>m}function Fu(w,t){const n=w==null?void 0:w.codec;return n&&n.length>4?n:t===M.AUDIO?n==="ec-3"||n==="ac-3"||n==="alac"?n:n==="fLaC"||n==="Opus"?St(n,!1):(W.warn(`Unhandled audio codec "${n}" in mp4 MAP`),n||"mp4a"):(W.warn(`Unhandled video codec "${n}" in mp4 MAP`),n||"avc1")}let Bo;try{Bo=self.performance.now.bind(self.performance)}catch(w){Bo=Date.now}const ru=[{demux:zc,remux:qs},{demux:Ge,remux:Us},{demux:po,remux:Us},{demux:Ku,remux:Us}];ru.splice(2,0,{demux:tu,remux:Us});class ks{constructor(t,n,s,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=s,this.id=E,this.logger=C}configure(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()}push(t,n,s,m){const E=s.transmuxing;E.executeStart=Bo();let C=new Uint8Array(t);const{currentTransmuxState:U,transmuxConfig:G}=this;m&&(this.currentTransmuxState=m);const{contiguous:H,discontinuity:se,trackSwitch:ue,accurateTimeOffset:ve,timeOffset:Ae,initSegmentChange:we}=m||U,{audioCodec:qe,videoCodec:it,defaultInitPts:jt,duration:ir,initSegmentData:er}=G,Fr=Bu(C,n);if(Fr&&Li(Fr.method)){const an=this.getDecrypter(),yn=Da(Fr.method);if(an.isSync()){let Kr=an.softwareDecrypt(C,Fr.key.buffer,Fr.iv.buffer,yn);if(s.part>-1){const ci=an.flush();Kr=ci&&ci.buffer}if(!Kr)return E.executeEnd=Bo(),cu(s);C=new Uint8Array(Kr)}else return this.asyncResult=!0,this.decryptionPromise=an.webCryptoDecrypt(C,Fr.key.buffer,Fr.iv.buffer,yn).then(Kr=>{const Vn=this.push(Kr,null,s);return this.decryptionPromise=null,Vn}),this.decryptionPromise}const Zr=this.needsProbing(se,ue);if(Zr){const an=this.configureTransmuxer(C);if(an)return this.logger.warn(`[transmuxer] ${an.message}`),this.observer.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:an,reason:an.message}),E.executeEnd=Bo(),cu(s)}(se||ue||we||Zr)&&this.resetInitSegment(er,qe,it,ir,n),(se||we||Zr)&&this.resetInitialTimestamp(jt),H||this.resetContiguity();const ln=this.transmux(C,Fr,Ae,ve,s);this.asyncResult=Js(ln);const Wr=this.currentTransmuxState;return Wr.contiguous=!0,Wr.discontinuity=!1,Wr.trackSwitch=!1,E.executeEnd=Bo(),ln}flush(t){const n=t.transmuxing;n.executeStart=Bo();const{decrypter:s,currentTransmuxState:m,decryptionPromise:E}=this;if(E)return this.asyncResult=!0,E.then(()=>this.flush(t));const C=[],{timeOffset:U}=m;if(s){const ue=s.flush();ue&&C.push(this.push(ue.buffer,null,t))}const{demuxer:G,remuxer:H}=this;if(!G||!H){n.executeEnd=Bo();const ue=[cu(t)];return this.asyncResult?Promise.resolve(ue):ue}const se=G.flush(U);return Js(se)?(this.asyncResult=!0,se.then(ue=>(this.flushRemux(C,ue,t),C))):(this.flushRemux(C,se,t),this.asyncResult?Promise.resolve(C):C)}flushRemux(t,n,s){const{audioTrack:m,videoTrack:E,id3Track:C,textTrack:U}=n,{accurateTimeOffset:G,timeOffset:H}=this.currentTransmuxState;this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${s.sn}${s.part>-1?" part: "+s.part:""} of ${this.id===u.MAIN?"level":"track"} ${s.level}`);const se=this.remuxer.remux(m,E,C,U,H,G,!0,this.id);t.push({remuxResult:se,chunkMeta:s}),s.transmuxing.executeEnd=Bo()}resetInitialTimestamp(t){const{demuxer:n,remuxer:s}=this;!n||!s||(n.resetTimeStamp(t),s.resetTimeStamp(t))}resetContiguity(){const{demuxer:t,remuxer:n}=this;!t||!n||(t.resetContiguity(),n.resetNextTimestamp())}resetInitSegment(t,n,s,m,E){const{demuxer:C,remuxer:U}=this;!C||!U||(C.resetInitSegment(t,n,s,m),U.resetInitSegment(t,n,s,E))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(t,n,s,m,E){let C;return n&&n.method==="SAMPLE-AES"?C=this.transmuxSampleAes(t,n,s,m,E):C=this.transmuxUnencrypted(t,s,m,E),C}transmuxUnencrypted(t,n,s,m){const{audioTrack:E,videoTrack:C,id3Track:U,textTrack:G}=this.demuxer.demux(t,n,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(E,C,U,G,n,s,!1,this.id),chunkMeta:m}}transmuxSampleAes(t,n,s,m,E){return this.demuxer.demuxSampleAes(t,n,s).then(C=>({remuxResult:this.remuxer.remux(C.audioTrack,C.videoTrack,C.id3Track,C.textTrack,s,m,!1,this.id),chunkMeta:E}))}configureTransmuxer(t){const{config:n,observer:s,typeSupported:m}=this;let E;for(let ue=0,ve=ru.length;ue<ve;ue++){var C;if((C=ru[ue].demux)!=null&&C.probe(t,this.logger)){E=ru[ue];break}}if(!E)return new Error("Failed to find demuxer by probing fragment data");const U=this.demuxer,G=this.remuxer,H=E.remux,se=E.demux;(!G||!(G instanceof H))&&(this.remuxer=new H(s,n,m,this.logger)),(!U||!(U instanceof se))&&(this.demuxer=new se(s,n,m,this.logger),this.probe=se.probe)}needsProbing(t,n){return!this.demuxer||!this.remuxer||t||n}getDecrypter(){let t=this.decrypter;return t||(t=this.decrypter=new fi(this.config)),t}}function Bu(w,t){let n=null;return w.byteLength>0&&(t==null?void 0:t.key)!=null&&t.iv!==null&&t.method!=null&&(n=t),n}const cu=w=>({remuxResult:{},chunkMeta:w});function Js(w){return"then"in w&&w.then instanceof Function}class gl{constructor(t,n,s,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=s,this.duration=m,this.defaultInitPts=E||null}}class yl{constructor(t,n,s,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=s,this.trackSwitch=m,this.timeOffset=E,this.initSegmentChange=C}}let Uo=0;class bl{constructor(t,n,s,m){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=Uo++,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=G=>{const H=G.data,se=this.hls;if(!(!se||!(H!=null&&H.event)||H.instanceNo!==this.instanceNo))switch(H.event){case"init":{var ue;const ve=(ue=this.workerContext)==null?void 0:ue.objectURL;ve&&self.URL.revokeObjectURL(ve);break}case"transmuxComplete":{this.handleTransmuxComplete(H.data);break}case"flush":{this.onFlush(H.data);break}case"workerLog":{se.logger[H.data.logType]&&se.logger[H.data.logType](H.data.message);break}default:{H.data=H.data||{},H.data.frag=this.frag,H.data.part=this.part,H.data.id=this.id,se.trigger(H.event,H.data);break}}},this.onWorkerError=G=>{if(!this.hls)return;const H=new Error(`${G.message} (${G.filename}:${G.lineno})`);this.hls.config.enableWorker=!1,this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`),this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:H})};const E=t.config;this.hls=t,this.id=n,this.useWorker=!!E.enableWorker,this.onTransmuxComplete=s,this.onFlush=m;const C=(G,H)=>{H=H||{},H.frag=this.frag||void 0,G===o.ERROR&&(H=H,H.parent=this.id,H.part=this.part,this.error=H.error),this.hls.trigger(G,H)};this.observer=new ha,this.observer.on(o.FRAG_DECRYPTED,C),this.observer.on(o.ERROR,C);const U=pr(E.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const G=this.hls.logger;if(E.workerPath||Ln()){try{E.workerPath?(G.log(`loading Web Worker ${E.workerPath} for "${n}"`),this.workerContext=Ms(E.workerPath)):(G.log(`injecting Web Worker for "${n}"`),this.workerContext=Ls());const{worker:se}=this.workerContext;se.addEventListener("message",this.onWorkerMessage),se.addEventListener("error",this.onWorkerError),se.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:U,id:n,config:Nn(E)})}catch(se){G.warn(`Error setting up "${n}" Web Worker, fallback to inline`,se),this.terminateWorker(),this.error=null,this.transmuxer=new ks(this.observer,U,E,"",n,t.logger)}return}}this.transmuxer=new ks(this.observer,U,E,"",n,t.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const t=this.instanceNo;this.instanceNo=Uo++;const n=this.hls.config,s=pr(n.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:t,typeSupported:s,id:this.id,config:Nn(n)})}}terminateWorker(){if(this.workerContext){const{worker:t}=this.workerContext;this.workerContext=null,t.removeEventListener("message",this.onWorkerMessage),t.removeEventListener("error",this.onWorkerError),Ye(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,s,m,E,C,U,G,H,se){var ue,ve;H.transmuxing.start=self.performance.now();const{instanceNo:Ae,transmuxer:we}=this,qe=C?C.start:E.start,it=E.decryptdata,jt=this.frag,ir=!(jt&&E.cc===jt.cc),er=!(jt&&H.level===jt.level),Fr=jt?H.sn-jt.sn:-1,Zr=this.part?H.part-this.part.index:-1,ln=Fr===0&&H.id>1&&H.id===(jt==null?void 0:jt.stats.chunkCount),Wr=!er&&(Fr===1||Fr===0&&(Zr===1||ln&&Zr<=0)),an=self.performance.now();(er||Fr||E.stats.parsing.start===0)&&(E.stats.parsing.start=an),C&&(Zr||!Wr)&&(C.stats.parsing.start=an);const yn=!(jt&&((ue=E.initSegment)==null?void 0:ue.url)===((ve=jt.initSegment)==null?void 0:ve.url)),Kr=new yl(ir,Wr,G,er,qe,yn);if(!Wr||ir||yn){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${E.type} sn: ${H.sn}${H.part>-1?" part: "+H.part:""} ${this.id===u.MAIN?"level":"track"}: ${H.level} id: ${H.id}
|
|
|
discontinuity: ${ir}
|
|
|
trackSwitch: ${er}
|
|
|
contiguous: ${Wr}
|
|
|
accurateTimeOffset: ${G}
|
|
|
timeOffset: ${qe}
|
|
|
initSegmentChange: ${yn}`);const Vn=new gl(s,m,n,U,se);this.configureTransmuxer(Vn)}if(this.frag=E,this.part=C,this.workerContext)this.workerContext.worker.postMessage({instanceNo:Ae,cmd:"demux",data:t,decryptdata:it,chunkMeta:H,state:Kr},t instanceof ArrayBuffer?[t]:[]);else if(we){const Vn=we.push(t,it,H,Kr);Js(Vn)?Vn.then(ci=>{this.handleTransmuxComplete(ci)}).catch(ci=>{this.transmuxerError(ci,H,"transmuxer-interface push error")}):this.handleTransmuxComplete(Vn)}}flush(t){t.transmuxing.start=self.performance.now();const{instanceNo:n,transmuxer:s}=this;if(this.workerContext)this.workerContext.worker.postMessage({instanceNo:n,cmd:"flush",chunkMeta:t});else if(s){const m=s.flush(t);Js(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,s){this.hls&&(this.error=t,this.hls.trigger(o.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:s}))}handleFlushResult(t,n){t.forEach(s=>{this.handleTransmuxComplete(s)}),this.onFlush(n)}configureTransmuxer(t){const{instanceNo:n,transmuxer:s}=this;this.workerContext?this.workerContext.worker.postMessage({instanceNo:n,cmd:"configure",config:t}):s&&s.configure(t)}handleTransmuxComplete(t){t.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(t)}}const zs=100;class Qo extends da{constructor(t,n,s){super(t,n,s,"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(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(o.BUFFER_RESET,this.onBufferReset,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){const{hls:t}=this;t&&(super.unregisterListeners(),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(o.BUFFER_RESET,this.onBufferReset,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this))}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:E}){if(s===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===Hr.WAITING_INIT_PTS){const G=this.waitingData;(!G&&!this.loadingParts||G&&G.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===Hr.IDLE&&this.tick()}}findSyncFrag(t){const n=this.getLevelDetails(),s=t.cc;return pt(n,s,t)||n&&Dt(n.fragments,s)||t}startLoad(t,n){if(!this.levels){this.startPosition=t,this.state=Hr.STOPPED;return}const s=this.lastCurrentTime;this.stopLoad(),this.setInterval(zs),s>0&&t===-1?(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s,this.state=Hr.IDLE):this.state=Hr.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}doTick(){switch(this.state){case Hr.IDLE:this.doTickIdle();break;case Hr.WAITING_TRACK:{const{levels:n,trackId:s}=this,m=n==null?void 0:n[s],E=m==null?void 0:m.details;if(E&&!this.waitForLive(m)){if(this.waitForCdnTuneIn(E))break;this.state=Hr.WAITING_INIT_PTS}break}case Hr.FRAG_LOADING_WAITING_RETRY:{var t;const n=performance.now(),s=this.retryDate;if(!s||n>=s||(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=Hr.IDLE}break}case Hr.WAITING_INIT_PTS:{const n=this.waitingData;if(n){const{frag:s,part:m,cache:E,complete:C}=n,U=this.mainAnchor;if(this.initPTS[s.cc]!==void 0){this.waitingData=null,this.state=Hr.FRAG_LOADING;const G=E.flush().buffer,H={frag:s,part:m,payload:G,networkDetails:null};this._handleFragmentLoadProgress(H),C&&super._handleFragmentLoadComplete(H)}else U&&U.cc!==n.frag.cc&&(this.log(`Waiting fragment cc (${s.cc}) cancelled because video is at cc ${U.cc}`),this.nextLoadPosition=this.findSyncFrag(U).start,this.clearWaitingFragment())}else this.state=Hr.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!==Hr.STOPPED&&(this.state=Hr.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:s,media:m,trackId:E}=this,C=n.config;if(!this.buffering||!m&&!this.primaryPrefetch&&(this.startFragRequested||!C.startFragPrefetch)||!(s!=null&&s[E]))return;const U=s[E],G=U.details;if(!G||this.waitForLive(U)||this.waitForCdnTuneIn(G)){this.state=Hr.WAITING_TRACK,this.startFragRequested=!1;return}const H=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&H&&(this.bufferFlushed=!1,this.afterBufferFlushed(H,M.AUDIO,u.AUDIO));const se=this.getFwdBufferInfo(H,u.AUDIO);if(se===null)return;if(!this.switchingTrack&&this._streamEnded(se,G)){n.trigger(o.BUFFER_EOS,{type:"audio"}),this.state=Hr.ENDED;return}const ue=se.len,ve=n.maxBufferLength,Ae=G.fragments,we=Ae[0].start,qe=this.getLoadPosition(),it=this.flushing?qe:se.end;if(this.switchingTrack&&m){const er=qe;G.PTSKnown&&er<we&&(se.end>we||se.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),m.currentTime=we+.05)}if(ue>=ve&&!this.switchingTrack&&it<Ae[Ae.length-1].start)return;let jt=this.getNextFragment(it,G);if(jt&&this.isLoopLoading(jt,it)&&(jt=this.getNextFragmentLoopLoading(jt,G,se,u.MAIN,ve)),!jt){this.bufferFlushed=!0;return}let ir=((t=this.mainFragLoading)==null?void 0:t.frag)||null;if(!this.audioOnly&&this.startFragRequested&&ir&&de(jt)&&!jt.endList&&(!G.live||!this.loadingParts&&it<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(ir)===br.OK&&(this.mainFragLoading=ir=null),ir&&de(ir))){if(jt.start>ir.end){const Fr=this.fragmentTracker.getFragAtPos(it,u.MAIN);Fr&&Fr.end>ir.end&&(ir=Fr,this.mainFragLoading={frag:Fr,targetBufferTime:null})}if(jt.start>ir.end)return}this.loadFragment(jt,U,it)}onMediaDetaching(t,n){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(t,n)}onAudioTracksUpdated(t,{audioTracks:n}){this.resetTransmuxer(),this.levels=n.map(s=>new _r(s))}onAudioTrackSwitching(t,n){const s=!!n.url;this.trackId=n.id;const{fragCurrent:m}=this;m&&(m.abortRequests(),this.removeUnbufferedFrags(m.start)),this.resetLoadingState(),s?(this.switchingTrack=n,this.flushAudioIfNeeded(n),this.state!==Hr.STOPPED&&(this.setInterval(zs),this.state=Hr.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 s=this.cachedTrackLoadedData;s&&(this.cachedTrackLoadedData=null,this.onAudioTrackLoaded(o.AUDIO_TRACK_LOADED,s))}onAudioTrackLoaded(t,n){var s;const{levels:m}=this,{details:E,id:C,groupId:U,track:G}=n;if(!m){this.warn(`Audio tracks reset while loading track ${C} "${G.name}" of "${U}"`);return}const H=this.mainDetails;if(!H||E.endCC>H.endCC||H.expired){this.cachedTrackLoadedData=n,this.state!==Hr.STOPPED&&(this.state=Hr.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${C} "${G.name}" of "${U}" loaded [${E.startSN},${E.endSN}]${E.lastPartSn?`[part-${E.lastPartSn}-${E.lastPartIndex}]`:""},duration:${E.totalduration}`);const se=m[C];let ue=0;if(E.live||(s=se.details)!=null&&s.live){if(this.checkLiveUpdate(E),E.deltaUpdateFailed)return;if(se.details){var ve;ue=this.alignPlaylists(E,se.details,(ve=this.levelLastLoaded)==null?void 0:ve.details)}E.alignedSliding||(oi(E,H),E.alignedSliding||zi(E,H),ue=E.fragmentStart)}se.details=E,this.levelLastLoaded=se,this.startFragRequested||this.setStartPosition(H,ue),this.hls.trigger(o.AUDIO_TRACK_UPDATED,{details:E,id:C,groupId:n.groupId}),this.state===Hr.WAITING_TRACK&&!this.waitForCdnTuneIn(E)&&(this.state=Hr.IDLE),this.tick()}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:E}=t,{config:C,trackId:U,levels:G}=this;if(!G){this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${s.sn} of level ${s.level} will not be buffered`);return}const H=G[U];if(!H){this.warn("Audio track is undefined on fragment load progress");return}const se=H.details;if(!se){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(s.start);return}const ue=C.defaultAudioCodec||H.audioCodec||"mp4a.40.2";let ve=this.transmuxer;ve||(ve=this.transmuxer=new bl(this.hls,u.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const Ae=this.initPTS[s.cc],we=(n=s.initSegment)==null?void 0:n.data;if(Ae!==void 0){const it=m?m.index:-1,jt=it!==-1,ir=new ws(s.level,s.sn,s.stats.chunkCount,E.byteLength,it,jt);ve.push(E,we,ue,"",s,m,se.totalduration,!1,ir,Ae)}else{this.log(`Unknown video PTS for cc ${s.cc}, waiting for video PTS before demuxing audio frag ${s.sn} of [${se.startSN} ,${se.endSN}],track ${U}`);const{cache:qe}=this.waitingData=this.waitingData||{frag:s,part:m,cache:new ra,complete:!1};qe.push(new Uint8Array(E)),this.state!==Hr.STOPPED&&(this.state=Hr.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 s=n.tracks.audio;s&&(this.mediaBuffer=s.buffer||null)}onFragLoading(t,n){!this.audioOnly&&n.frag.type===u.MAIN&&de(n.frag)&&(this.mainFragLoading=n,this.state===Hr.IDLE&&this.tick())}onFragBuffered(t,n){const{frag:s,part:m}=n;if(s.type!==u.AUDIO){!this.audioOnly&&s.type===u.MAIN&&!s.elementaryStreams.video&&!s.elementaryStreams.audiovideo&&(this.audioOnly=!0,this.mainFragLoading=null);return}if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${m?" p: "+m.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);return}if(de(s)){this.fragPrevious=s;const E=this.switchingTrack;E&&(this.bufferedTrack=E,this.switchingTrack=null,this.hls.trigger(o.AUDIO_TRACK_SWITCHED,b({},E)))}this.fragBufferedComplete(s,m),this.media&&this.tick()}onError(t,n){var s;if(n.fatal){this.state=Hr.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===Hr.WAITING_TRACK&&((s=n.context)==null?void 0:s.type)===h.AUDIO_TRACK&&(this.state=Hr.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!==M.VIDEO&&(this.flushing=!0)}onBufferFlushed(t,{type:n}){if(n!==M.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===Hr.ENDED&&(this.state=Hr.IDLE);const s=this.mediaBuffer||this.media;s&&(this.afterBufferFlushed(s,n,u.AUDIO),this.tick())}}_handleTransmuxComplete(t){var n;const s="audio",{hls:m}=this,{remuxResult:E,chunkMeta:C}=t,U=this.getCurrentContext(C);if(!U){this.resetWhenMissingContext(C);return}const{frag:G,part:H,level:se}=U,{details:ue}=se,{audio:ve,text:Ae,id3:we,initSegment:qe}=E;if(this.fragContextChanged(G)||!ue){this.fragmentTracker.removeFragment(G);return}if(this.state=Hr.PARSING,this.switchingTrack&&ve&&this.completeAudioSwitch(this.switchingTrack),qe!=null&&qe.tracks){const it=G.initSegment||G;this._bufferInitSegment(se,qe.tracks,it,C),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:it,id:s,tracks:qe.tracks})}if(ve){const{startPTS:it,endPTS:jt,startDTS:ir,endDTS:er}=ve;H&&(H.elementaryStreams[M.AUDIO]={startPTS:it,endPTS:jt,startDTS:ir,endDTS:er}),G.setElementaryStreamInfo(M.AUDIO,it,jt,ir,er),this.bufferFragmentData(ve,G,H,C)}if(we!=null&&(n=we.samples)!=null&&n.length){const it=y({id:s,frag:G,details:ue},we);m.trigger(o.FRAG_PARSING_METADATA,it)}if(Ae){const it=y({id:s,frag:G,details:ue},Ae);m.trigger(o.FRAG_PARSING_USERDATA,it)}}_bufferInitSegment(t,n,s,m){if(this.state!==Hr.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(o.BUFFER_CODECS,n);const U=E.initSegment;if(U!=null&&U.byteLength){const G={type:"audio",frag:s,part:null,chunkMeta:m,parent:s.type,data:U};this.hls.trigger(o.BUFFER_APPENDING,G)}this.tickImmediate()}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);if(this.switchingTrack||m===br.NOT_LOADED||m===br.PARTIAL){var E;if(!de(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=Hr.WAITING_INIT_PTS;const C=this.mainDetails;C&&C.fragmentStart!==n.details.fragmentStart&&zi(n.details,C)}else super.loadFragment(t,n,s)}else this.clearTrackerIfNeeded(t)}flushAudioIfNeeded(t){if(this.media&&this.bufferedTrack){const{name:n,lang:s,assocLang:m,characteristics:E,audioCodec:C,channels:U}=this.bufferedTrack;Xn({name:n,lang:s,assocLang:m,characteristics:E,audioCodec:C,channels:U},t,lt)||(qn(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(o.AUDIO_TRACK_SWITCHED,b({},t))}}class _u 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,s){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 G;try{G=new self.URL(U.URI,n.url).href}catch(H){this.warn(`Could not construct new URL for Rendition Report: ${H}`),G=U.URI||""}if(G===t){E=C;break}else G===t.substring(0,G.length)&&(E=C)}if(E!==-1){const C=m[E],U=parseInt(C["LAST-MSN"])||(n==null?void 0:n.lastPartSn);let G=parseInt(C["LAST-PART"])||(n==null?void 0:n.lastPartIndex);if(this.hls.config.lowLatencyMode){const se=Math.min(n.age-n.partTarget,n.targetduration);G>=0&&se>n.partTarget&&(G+=1)}const H=s&&_n(s);return new Un(U,G>=0?G:void 0,H)}}}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(s){this.warn(`Could not construct new URL with HLS Delivery Directives: ${s}`)}return t}playlistLoaded(t,n,s){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 G=this.hls.config.timelineOffset;if(G!==m.appliedTimelineOffset){const se=Math.max(G||0,0);m.appliedTimelineOffset=se,m.fragments.forEach(ue=>{ue.start=ue.playlistOffset+se})}if(m.live||s!=null&&s.live){const se="levelInfo"in n?n.levelInfo:n.track;if(m.reloaded(s),s&&m.fragments.length>0){fr(s,m);const ir=m.playlistParsingError;if(ir){this.warn(ir);const er=this.hls;if(!er.config.ignorePlaylistParsingErrors){var H;const{networkDetails:Fr}=n;er.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:m.url,error:ir,reason:ir.message,level:n.level||void 0,parent:(H=m.fragments[0])==null?void 0:H.type,networkDetails:Fr,stats:E});return}m.playlistParsingError=null}}m.requestScheduled===-1&&(m.requestScheduled=E.loading.start);const ue=this.hls.mainForwardBufferInfo,ve=ue?ue.end-ue.len:0,Ae=(m.edge-ve)*1e3,we=kn(m,Ae);if(m.requestScheduled+we<C?m.requestScheduled=C:m.requestScheduled+=we,this.log(`live playlist ${t} ${m.advanced?"REFRESHED "+m.lastPartSn+"-"+m.lastPartIndex:m.updated?"UPDATED":"MISSED"}`),!this.canLoad||!m.live)return;let qe,it,jt;if(m.canBlockReload&&m.endSN&&m.advanced){const ir=this.hls.config.lowLatencyMode,er=m.lastPartSn,Fr=m.endSN,Zr=m.lastPartIndex,ln=Zr!==-1,Wr=er===Fr;ln?Wr?(it=Fr+1,jt=ir?0:Zr):(it=er,jt=ir?Zr+1:m.maxPartIndex):it=Fr+1;const an=m.age,yn=an+m.ageHeader;let Kr=Math.min(yn-m.partTarget,m.targetduration*1.5);if(Kr>0){if(yn>m.targetduration*3)this.log(`Playlist last advanced ${an.toFixed(2)}s ago. Omitting segment and part directives.`),it=void 0,jt=void 0;else if(s!=null&&s.tuneInGoal&&yn-m.partTarget>s.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${s.tuneInGoal} to: ${Kr} with playlist age: ${m.age}`),Kr=0;else{const Vn=Math.floor(Kr/m.targetduration);if(it+=Vn,jt!==void 0){const ci=Math.round(Kr%m.targetduration/m.partTarget);jt+=ci}this.log(`CDN Tune-in age: ${m.ageHeader}s last advanced ${an.toFixed(2)}s goal: ${Kr} skip sn ${Vn} to part ${jt}`)}m.tuneInGoal=Kr}if(qe=this.getDeliveryDirectives(m,n.deliveryDirectives,it,jt),ir||!Wr){m.requestScheduled=C,this.loadingPlaylist(se,qe);return}}else(m.canBlockReload||m.canSkipUntil)&&(qe=this.getDeliveryDirectives(m,n.deliveryDirectives,it,jt));qe&&it!==void 0&&m.canBlockReload&&(m.requestScheduled=E.loading.first+Math.max(we-U*2,we/2)),this.scheduleLoading(se,qe,m)}else this.clearTimer()}scheduleLoading(t,n,s){const m=s||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,s,m){let E=_n(t);return n!=null&&n.skip&&t.deltaUpdateFailed&&(s=n.msn,m=n.part,E=Rr.No),new Un(s,m,E)}checkRetry(t){const n=t.details,s=ur(t),m=t.errorAction,{action:E,retryCount:C=0,retryConfig:U}=m||{},G=!!m&&!!U&&(E===Ee.RetryRequest||!m.resolved&&E===Ee.SendAlternateToPenaltyBox);if(G){var H;if(C>=U.maxNumRetry)return!1;if(s&&(H=t.context)!=null&&H.deliveryDirectives)this.warn(`Retrying playlist loading ${C+1}/${U.maxNumRetry} after "${n}" without delivery-directives`),this.loadPlaylist();else{const se=Tr(U,C);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),se),this.warn(`Retrying playlist loading ${C+1}/${U.maxNumRetry} after "${n}" in ${se}ms`)}t.levelRetry=!0,m.resolved=!0}return G}}function xl(w,t){if(w.length!==t.length)return!1;for(let n=0;n<w.length;n++)if(!qo(w[n].attrs,t[n].attrs))return!1;return!0}function qo(w,t,n){const s=w["STABLE-RENDITION-ID"];return s&&!n?s===t["STABLE-RENDITION-ID"]:!(n||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(m=>w[m]!==t[m])}function Nl(w,t){return t.label.toLowerCase()===w.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(w.lang||"").toLowerCase())}class $l extends _u{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(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(o.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:s,groupId:m,details:E}=n,C=this.tracksInGroup[s];if(!C||C.groupId!==m){this.warn(`Audio track with id:${s} 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 ${s} "${C.name}" lang:${C.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),s===this.trackId&&this.playlistLoaded(s,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 s=n.audioGroups||null,m=this.groupIds;let E=this.currentTrack;if(!s||(m==null?void 0:m.length)!==(s==null?void 0:s.length)||s!=null&&s.some(U=>(m==null?void 0:m.indexOf(U))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const U=this.tracks.filter(ve=>!s||s.indexOf(ve.groupId)!==-1);if(U.length)this.selectDefaultTrack&&!U.some(ve=>ve.default)&&(this.selectDefaultTrack=!1),U.forEach((ve,Ae)=>{ve.id=Ae});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=U;const G=this.hls.config.audioPreference;if(!E&&G){const ve=Yi(G,U,lt);if(ve>-1)E=U[ve];else{const Ae=Yi(G,this.tracks);E=this.tracks[Ae]}}let H=this.findTrackId(E);H===-1&&E&&(H=this.findTrackId(null));const se={audioTracks:U};this.log(`Updating audio tracks, ${U.length} track(s) found in group(s): ${s==null?void 0:s.join(",")}`),this.hls.trigger(o.AUDIO_TRACKS_UPDATED,se);const ue=this.trackId;if(H!==-1&&ue===-1)this.setAudioTrack(H);else if(U.length&&ue===-1){var C;const ve=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(ve.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:ve})}}}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 s=this.allAudioTracks;if(this.selectDefaultTrack=!1,s.length){const m=this.currentTrack;if(m&&Xn(t,m,lt))return m;const E=Yi(t,this.tracksInGroup,lt);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=Qn(t,n.levels,s,C,lt);if(U===-1)return null;n.nextLoadLevel=U}if(t.channels||t.audioCodec){const C=Yi(t,s);if(C>-1)return s[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 s=this.currentTrack,m=n[t],E=m.details&&!m.details.live;if(t===this.trackId&&m===s&&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(o.AUDIO_TRACK_SWITCHING,b({},m)),E))return;const C=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(C)}findTrackId(t){const n=this.tracksInGroup;for(let s=0;s<n.length;s++){const m=n[s];if(!(this.selectDefaultTrack&&!m.default)&&(!t||Xn(t,m,lt)))return s}if(t){const{name:s,lang:m,assocLang:E,characteristics:C,audioCodec:U,channels:G}=t;for(let H=0;H<n.length;H++){const se=n[H];if(Xn({name:s,lang:m,assocLang:E,characteristics:C,audioCodec:U,channels:G},se,lt))return H}for(let H=0;H<n.length;H++){const se=n[H];if(qo(t.attrs,se.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return H}for(let H=0;H<n.length;H++){const se=n[H];if(qo(t.attrs,se.attrs,["LANGUAGE"]))return H}}return-1}loadPlaylist(t){super.loadPlaylist();const n=this.currentTrack;this.shouldLoadPlaylist(n)&&qn(n.url,this.hls)&&this.scheduleLoading(n,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=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 ${s} "${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(o.AUDIO_TRACK_LOADING,{url:E,id:s,groupId:m,deliveryDirectives:n||null,track:t})}}class ii{constructor(t){this.tracks=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.tracks=t}destroy(){this.tracks=this.queues=null}append(t,n,s){if(this.queues===null||this.tracks===null)return;const m=this.queues[n];m.push(t),m.length===1&&!s&&this.executeNext(n)}appendBlocker(t){return new Promise(n=>{const s={label:"async-blocker",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.append(s,t)})}prependBlocker(t){return new Promise(n=>{if(this.queues){const s={label:"async-blocker-prepend",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.queues[t].unshift(s)}})}removeBlockers(){this.queues!==null&&[this.queues.video,this.queues.audio,this.queues.audiovideo].forEach(t=>{var n;const s=(n=t[0])==null?void 0:n.label;(s==="async-blocker"||s==="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 s;if(m.onError(E),this.queues===null||this.tracks===null)return;const C=(s=this.tracks[t])==null?void 0:s.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,s;return(n=this.queues)!=null&&n[t]||(s=this.tracks)!=null&&s[t]?`${t}: (${this.listSbInfo(t)}) ${this.listOps(t)}`:""}listSbInfo(t){var n;const s=(n=this.tracks)==null?void 0:n[t],m=s==null?void 0:s.buffer;return m?`SourceBuffer${m.updating?" updating":""}${s.ended?" ended":""}${s.ending?" ending":""}`:"none"}listOps(t){var n;return((n=this.queues)==null?void 0:n[t].map(s=>s.label).join(", "))||""}}const sc=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,eo="HlsJsTrackRemovedError";class Ac extends Error{constructor(t){super(t),this.name=eo}}class fu 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=s=>{var m;this.hls&&((m=this.mediaSource)==null?void 0:m.readyState)==="open"&&this.hls.pauseBuffering()},this._onStartStreaming=s=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=s=>{const{media:m,mediaSource:E}=this;s&&this.log("Media source opened"),!(!m||!E)&&(E.removeEventListener("sourceopen",this._onMediaSourceOpen),m.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(o.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:s,_objectUrl:m}=this;s!==m&&this.error(`Media element src was set while attaching MediaSource (${m} > ${s})`)},this.hls=t,this.fragmentTracker=n,this.appendSource=ae(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(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.BUFFER_RESET,this.onBufferReset,this),t.on(o.BUFFER_APPENDING,this.onBufferAppending,this),t.on(o.BUFFER_CODECS,this.onBufferCodecs,this),t.on(o.BUFFER_EOS,this.onBufferEos,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.FRAG_PARSED,this.onFragParsed,this),t.on(o.FRAG_CHANGED,this.onFragChanged,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.BUFFER_RESET,this.onBufferReset,this),t.off(o.BUFFER_APPENDING,this.onBufferAppending,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.BUFFER_EOS,this.onBufferEos,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.FRAG_PARSED,this.onFragParsed,this),t.off(o.FRAG_CHANGED,this.onFragChanged,this),t.off(o.ERROR,this.onError,this)}transferMedia(){const{media:t,mediaSource:n}=this;if(!t)return null;const s={};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(s,m.tracks):this.sourceBuffers.forEach(E=>{const[C]=E;C&&(s[C]=y({},this.tracks[C]),this.removeBuffer(C)),E[0]=E[1]=null}),{media:t,mediaSource:n,tracks:s}}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 s;let m=2;(n.audio&&!n.video||!n.altAudio)&&(m=1),this.bufferCodecEventsTotal=m,this.log(`${m} bufferCodec event(s) expected.`),(s=this.transferData)!=null&&s.mediaSource&&this.sourceBufferCount&&m&&this.bufferCreated()}onMediaAttaching(t,n){const s=this.media=n.media,m=oe(this.appendSource);if(this.transferData=this.overrides=void 0,s&&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=s.src,this.attachTransferred();else{const U=this._objectUrl=self.URL.createObjectURL(C);if(this.appendSource)try{s.removeAttribute("src");const G=self.ManagedMediaSource;s.disableRemotePlayback=s.disableRemotePlayback||G&&C instanceof G,Nu(s),$u(s,U),s.load()}catch(G){s.src=U}else s.src=U}s.addEventListener("emptied",this._onMediaEmptied)}}assignMediaSource(t){var n,s;this.log(`${((n=this.transferData)==null?void 0:n.mediaSource)===t?"transferred":"created"} media source: ${(s=t.constructor)==null?void 0:s.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 s=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: ${Nn(s,(G,H)=>G==="initSegment"?void 0:H)};
|
|
|
transfer tracks: ${Nn(m,(G,H)=>G==="initSegment"?void 0:H)}}`),!ce(m,s)){n.mediaSource=null,n.tracks=void 0;const G=t.currentTime,H=this.details,se=Math.max(G,(H==null?void 0:H.fragments[0].start)||0);if(se-G>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${G} -> ${se}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(m)}"->"${Object.keys(s)}") start time: ${se} currentTime: ${G}`),this.onMediaDetaching(o.MEDIA_DETACHING,{}),this.onMediaAttaching(o.MEDIA_ATTACHING,n),t.currentTime=se;return}this.transferData=void 0,E.forEach(G=>{const H=G,se=m[H];if(se){const ue=se.buffer;if(ue){const ve=this.fragmentTracker,Ae=se.id;if(ve.hasFragments(Ae)||ve.hasParts(Ae)){const it=Zn.getBuffered(ue);ve.detectEvictedFragments(H,it,Ae,null,!0)}const we=jl(H),qe=[H,ue];this.sourceBuffers[we]=qe,ue.updating&&this.operationQueue&&this.operationQueue.prependBlocker(H),this.trackSourceBuffer(H,se)}}}),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 s=!!n.transferMedia;this.transferData=this.overrides=void 0;const{media:m,mediaSource:E,_objectUrl:C}=this;if(E){if(this.log(`media source ${s?"transferring":"detaching"}`),s)this.sourceBuffers.forEach(([U])=>{U&&this.removeBuffer(U)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const U=E.readyState==="open";try{const G=E.sourceBuffers;for(let H=G.length;H--;)U&&G[H].abort(),E.removeSourceBuffer(G[H]);U&&E.endOfStream()}catch(G){this.warn(`onMediaDetaching: ${G.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),s||(C&&self.URL.revokeObjectURL(C),this.mediaSrc===C?(m.removeAttribute("src"),this.appendSource&&Nu(m),m.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.media=null),this.hls.trigger(o.MEDIA_DETACHED,n)}onBufferReset(){this.sourceBuffers.forEach(([t])=>{t&&this.resetBuffer(t)}),this.initTracks()}resetBuffer(t){var n;const s=(n=this.tracks[t])==null?void 0:n.buffer;if(this.removeBuffer(t),s)try{var m;(m=this.mediaSource)!=null&&m.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(s)}catch(E){this.warn(`onBufferReset ${t}`,E)}delete this.tracks[t]}removeBuffer(t){this.removeBufferListeners(t),this.sourceBuffers[jl(t)]=[null,null];const n=this.tracks[t];n&&(n.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new ii(this.tracks)}onBufferCodecs(t,n){const s=this.tracks,m=Object.keys(n);this.log(`BUFFER_CODECS: "${m}" (current SB count ${this.sourceBufferCount})`);const E="audiovideo"in n&&(s.audio||s.video)||s.audiovideo&&("audio"in n||"video"in n),C=!E&&this.sourceBufferCount&&this.media&&m.some(U=>!s[U]);if(E||C){this.warn(`Unsupported transition between "${Object.keys(s)}" and "${m}" SourceBuffers`);return}m.forEach(U=>{var G,H,se;const ue=n[U],{id:ve,codec:Ae,levelCodec:we,container:qe,metadata:it,supplemental:jt}=ue;let ir=s[U];const er=(G=this.transferData)==null||(H=G.tracks)==null?void 0:H[U],Fr=er!=null&&er.buffer?er:ir,Zr=(Fr==null?void 0:Fr.pendingCodec)||(Fr==null?void 0:Fr.codec),ln=Fr==null?void 0:Fr.levelCodec;ir||(ir=s[U]={buffer:void 0,listeners:[],codec:Ae,supplemental:jt,container:qe,levelCodec:we,metadata:it,id:ve});const Wr=Xr(Zr,ln),an=Wr==null?void 0:Wr.replace(sc,"$1");let yn=Xr(Ae,we);const Kr=(se=yn)==null?void 0:se.replace(sc,"$1");yn&&Wr&&an!==Kr&&(U.slice(0,5)==="audio"&&(yn=St(yn,this.appendSource)),this.log(`switching codec ${Zr} to ${yn}`),yn!==(ir.pendingCodec||ir.codec)&&(ir.pendingCodec=yn),ir.container=qe,this.appendChangeType(U,qe,yn))}),(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 s=this.tracks[n];return t[n]={id:s.id,container:s.container,codec:s.codec,levelCodec:s.levelCodec},t},{})}appendChangeType(t,n,s){const m=`${n};codecs=${s}`,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=s,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 s=t.start,m=s+t.duration*.05;if(((n=this.fragmentTracker.getAppendedFrag(s,u.MAIN))==null?void 0:n.gap)===!0)return;const C={label:"block-audio",execute:()=>{var U;const G=this.tracks.video;(this.lastVideoAppendEnd>m||G!=null&&G.buffer&&Zn.isBuffered(G.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:s}=this,{data:m,type:E,parent:C,frag:U,part:G,chunkMeta:H}=n,se=H.buffering[E],ue=U.sn,ve=self.performance.now();se.start=ve;const Ae=U.stats.buffering,we=G?G.stats.buffering:null;Ae.start===0&&(Ae.start=ve),we&&we.start===0&&(we.start=ve);const qe=s.audio;let it=!1;E==="audio"&&(qe==null?void 0:qe.container)==="audio/mpeg"&&(it=!this.lastMpegAudioChunk||H.id===1||this.lastMpegAudioChunk.sn!==H.sn,this.lastMpegAudioChunk=H);const jt=this.tracks.video,ir=jt==null?void 0:jt.buffer;if(ir&&ue!=="initSegment"){const Zr=G||U,ln=this.blockedAudioAppend;if(E==="audio"&&C!=="main"&&!this.blockedAudioAppend){const an=Zr.start+Zr.duration*.05,yn=ir.buffered,Kr=this.currentOp("video");!yn.length&&!Kr?this.blockAudio(Zr):!Kr&&!Zn.isBuffered(ir,an)&&this.lastVideoAppendEnd<an&&this.blockAudio(Zr)}else if(E==="video"){const Wr=Zr.end;if(ln){const an=ln.frag.start;(Wr>an||Wr<this.lastVideoAppendEnd||Zn.isBuffered(ir,an))&&this.unblockAudio()}this.lastVideoAppendEnd=Wr}}const er=(G||U).start,Fr={label:`append-${E}`,execute:()=>{if(se.executeStart=self.performance.now(),it){const Zr=this.tracks[E];if(Zr){const ln=Zr.buffer;if(ln){const Wr=er-ln.timestampOffset;Math.abs(Wr)>=.1&&(this.log(`Updating audio SourceBuffer timestampOffset to ${er} (delta: ${Wr}) sn: ${ue})`),ln.timestampOffset=er)}}}this.appendExecutor(m,E)},onStart:()=>{},onComplete:()=>{const Zr=self.performance.now();se.executeEnd=se.end=Zr,Ae.first===0&&(Ae.first=Zr),we&&we.first===0&&(we.first=Zr);const ln={};this.sourceBuffers.forEach(([Wr,an])=>{Wr&&(ln[Wr]=Zn.getBuffered(an))}),this.appendErrors[E]=0,E==="audio"||E==="video"?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(o.BUFFER_APPENDED,{type:E,frag:U,part:G,chunkMeta:H,parent:U.type,timeRanges:ln})},onError:Zr=>{var ln;const Wr={type:c.MEDIA_ERROR,parent:U.type,details:f.BUFFER_APPEND_ERROR,sourceBufferName:E,frag:U,part:G,chunkMeta:H,error:Zr,err:Zr,fatal:!1};if(Zr.code===DOMException.QUOTA_EXCEEDED_ERR)Wr.details=f.BUFFER_FULL_ERROR;else if(Zr.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!((ln=this.media)!=null&&ln.error))Wr.errorAction=Pr(!0);else if(Zr.name===eo)this.sourceBufferCount===0?Wr.errorAction=Pr(!0):++this.appendErrors[E];else{const an=++this.appendErrors[E];this.warn(`Failed ${an}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${E}" sourceBuffer`),an>=this.hls.config.appendErrorMaxRetry&&(Wr.fatal=!0)}this.hls.trigger(o.ERROR,Wr)}};this.append(Fr,E,this.isPending(this.tracks[E]))}getFlushOp(t,n,s){return this.log(`queuing "${t}" remove ${n}-${s}`),{label:"remove",execute:()=>{this.removeExecutor(t,n,s)},onStart:()=>{},onComplete:()=>{this.hls.trigger(o.BUFFER_FLUSHED,{type:t})},onError:m=>{this.warn(`Failed to remove ${n}-${s} from "${t}" SourceBuffer`,m)}}}onBufferFlushing(t,n){const{type:s,startOffset:m,endOffset:E}=n;s?this.append(this.getFlushOp(s,m,E),s):this.sourceBuffers.forEach(([C])=>{C&&this.append(this.getFlushOp(C,m,E),C)})}onFragParsed(t,n){const{frag:s,part:m}=n,E=[],C=m?m.elementaryStreams:s.elementaryStreams;C[M.AUDIOVIDEO]?E.push("audiovideo"):(C[M.AUDIO]&&E.push("audio"),C[M.VIDEO]&&E.push("video"));const U=()=>{const G=self.performance.now();s.stats.buffering.end=G,m&&(m.stats.buffering.end=G);const H=m?m.stats:s.stats;this.hls.trigger(o.FRAG_BUFFERED,{frag:s,part:m,stats:H,id:s.type})};E.length===0&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${s.type} level: ${s.level} sn: ${s.sn}`),this.blockBuffers(U,E)}onFragChanged(t,n){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([t])=>{var n,s;return t&&(!((n=this.tracks[t])!=null&&n.ended)||((s=this.tracks[t])==null?void 0:s.ending))})}onBufferEos(t,n){var s;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=((s=this.overrides)==null?void 0:s.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(o.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(o.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 s;const m=(s=n.errorAction)==null?void 0:s.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:s}=this;if(!s||n===null||!this.sourceBufferCount)return;const m=t.config,E=s.currentTime,C=n.levelTargetDuration,U=n.live&&m.liveBackBufferLength!==null?m.liveBackBufferLength:m.backBufferLength;if(r(U)&&U>=0){const G=Math.max(U,C),H=Math.floor(E/C)*C-G;this.flushBackBuffer(E,C,H)}if(r(m.frontBufferFlushThreshold)&&m.frontBufferFlushThreshold>0){const G=Math.max(m.maxBufferLength,m.frontBufferFlushThreshold),H=Math.max(G,C),se=Math.floor(E/C)*C+H;this.flushFrontBuffer(E,C,se)}}flushBackBuffer(t,n,s){this.sourceBuffers.forEach(([m,E])=>{if(E){const U=Zn.getBuffered(E);if(U.length>0&&s>U.start(0)){var C;this.hls.trigger(o.BACK_BUFFER_REACHED,{bufferEnd:s});const G=this.tracks[m];if((C=this.details)!=null&&C.live)this.hls.trigger(o.LIVE_BACK_BUFFER_REACHED,{bufferEnd:s});else if(G!=null&&G.ended){this.log(`Cannot flush ${m} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:s,type:m})}}})}flushFrontBuffer(t,n,s){this.sourceBuffers.forEach(([m,E])=>{if(E){const C=Zn.getBuffered(E),U=C.length;if(U<2)return;const G=C.start(U-1),H=C.end(U-1);if(s>G||t>=G&&t<=H)return;this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:G,endOffset:1/0,type:m})}})}getDurationAndRange(){var t;const{details:n,mediaSource:s}=this;if(!n||!this.media||(s==null?void 0:s.readyState)!=="open")return null;const m=n.edge;if(n.live&&this.hls.config.liveDurationInfinity){if(n.fragments.length&&n.live&&s.setLiveSeekableRange){const H=Math.max(0,n.fragmentStart),se=Math.max(H,m);return{duration:1/0,start:H,end:se}}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(s.duration)?s.duration:0;return m>U&&m>C||!r(C)?{duration:m}:null}updateMediaSource({duration:t,start:n,end:s}){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&&s!==void 0&&(this.log(`MediaSource duration is set to ${m.duration}. Setting seekable range to ${n}-${s}.`),m.setLiveSeekableRange(n,s)))}get tracksReady(){const t=this.pendingTrackCount;return t>0&&(t>=this.bufferCodecEventsTotal||this.isPending(this.tracks.audiovideo))}checkPendingTracks(){const{bufferCodecEventsTotal:t,pendingTrackCount:n,tracks:s}=this;if(this.log(`checkPendingTracks (pending: ${n} codec events expected: ${t}) ${Nn(s)}`),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,s])=>{if(n){const m=this.tracks[n];t[n]={buffer:s,container:m.container,codec:m.codec,supplemental:m.supplemental,levelCodec:m.levelCodec,id:m.id,metadata:m.metadata}}}),this.hls.trigger(o.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(o.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:s}=this;if(!s)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 G=this.getTrackCodec(U,C),H=`${U.container};codecs=${G}`;U.codec=G,this.log(`creating sourceBuffer(${H})${this.currentOp(C)?" Queued":""} ${Nn(U)}`);try{const se=s.addSourceBuffer(H),ue=jl(C),ve=[C,se];n[ue]=ve,U.buffer=se}catch(se){var m;this.error(`error while trying to add sourceBuffer: ${se.message}`),this.shiftAndExecuteNext(C),(m=this.operationQueue)==null||m.removeBlockers(),delete this.tracks[C],this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:se,sourceBufferName:C,mimeType:H,parent:U.id});return}this.trackSourceBuffer(C,U)}}this.bufferCreated()}getTrackCodec(t,n){const s=t.supplemental;let m=t.codec;s&&(n==="video"||n==="audiovideo")&&ke(s,"video")&&(m=Gr(m,s));const E=Xr(m,t.levelCodec);return E?n.slice(0,5)==="audio"?St(E,this.appendSource):E:""}trackSourceBuffer(t,n){const s=n.buffer;if(!s)return;const m=this.getTrackCodec(n,t);this.tracks[t]={buffer:s,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(o.BUFFER_FLUSHED,{type:E})})}get mediaSrc(){var t,n;const s=((t=this.media)==null||(n=t.querySelector)==null?void 0:n.call(t,"source"))||this.media;return s==null?void 0:s.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 s=this.currentOp(t);s&&(s.onComplete(),this.shiftAndExecuteNext(t))}onSBUpdateError(t,n){var s;const m=new Error(`${t} SourceBuffer error. MediaSource readyState: ${(s=this.mediaSource)==null?void 0:s.readyState}`);this.error(`${m}`,n),this.hls.trigger(o.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,s){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 G=r(m.duration)?m.duration:1/0,H=r(E.duration)?E.duration:1/0,se=Math.max(0,n),ue=Math.min(s,G,H);ue>se&&(!C.ending||C.ended)?(C.ended=!1,this.log(`Removing [${se},${ue}] from the ${t} SourceBuffer`),U.remove(se,ue)):this.shiftAndExecuteNext(t)}appendExecutor(t,n){const s=this.tracks[n],m=s==null?void 0:s.buffer;if(!m)throw new Ac(`Attempting to append to the ${n} SourceBuffer, but it does not exist`);s.ending=!1,s.ended=!1,m.appendBuffer(t)}blockUntilOpen(t){this.isUpdating()||this.isQueued()?this.blockBuffers(t):t()}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){this.log("Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(t);return}const{operationQueue:s}=this,m=n.map(C=>this.appendBlocker(C));n.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(m).then(C=>{s===this.operationQueue&&(t(),this.stepOperationQueue(n))})}stepOperationQueue(t){t.forEach(n=>{var s;const m=(s=this.tracks[n])==null?void 0:s.buffer;!m||m.updating||this.shiftAndExecuteNext(n)})}append(t,n,s){this.operationQueue&&this.operationQueue.append(t,n,s)}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,s){const m=this.tracks[t];if(!m)return;const E=m.buffer;if(!E)return;const C=s.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 s=n.buffer;s&&(n.listeners.forEach(m=>{s.removeEventListener(m.event,m.listener)}),n.listeners.length=0)}}function Nu(w){const t=w.querySelectorAll("source");[].slice.call(t).forEach(n=>{w.removeChild(n)})}function $u(w,t){const n=self.document.createElement("source");n.type="video/mp4",n.src=t,w.appendChild(n)}function jl(w){return w==="audio"?1:0}class Ul{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(o.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.BUFFER_CODECS,this.onBufferCodecs,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:t}=this;t.off(o.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(t,n){const s=this.hls.levels[n.droppedLevel];this.isLevelAllowed(s)&&this.restrictedLevels.push({bitrate:s.bitrate,height:s.height,width:s.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 s=this.hls;this.restrictedLevels=[],this.firstLevel=n.firstLevel,s.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,s=this.getMaxLevel(t.length-1);s!==this.autoLevelCapping&&n.logger.log(`Setting autoLevelCapping to ${s}: ${t[s].height}p@${t[s].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),n.autoLevelCapping=s,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 s=n.filter((m,E)=>this.isLevelAllowed(m)&&E<=t);return this.clientRect=null,Ul.getMaxLevelByMediaSize(s,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 s=t.getBoundingClientRect();n.width=s.width,n.height=s.height,!n.width&&!n.height&&(n.width=s.right-s.left||t.width||0,n.height=s.bottom-s.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(s=>t.bitrate===s.bitrate&&t.width===s.width&&t.height===s.height)}static getMaxLevelByMediaSize(t,n,s){if(!(t!=null&&t.length))return-1;const m=(U,G)=>G?U.width!==G.width||U.height!==G.height:!0;let E=t.length-1;const C=Math.max(n,s);for(let U=0;U<t.length;U+=1){const G=t[U];if((G.width>=C||G.height>=C)&&m(G,t[U+1])){E=U;break}}return E}}const zo={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},Cc={HLS:"h"},Pu={OBJECT:"CMCD-Object",REQUEST:"CMCD-Request",SESSION:"CMCD-Session",STATUS:"CMCD-Status"},Fs={[Pu.OBJECT]:["br","d","ot","tb"],[Pu.REQUEST]:["bl","dl","mtp","nor","nrr","su"],[Pu.SESSION]:["cid","pr","sf","sid","st","v"],[Pu.STATUS]:["bs","rtp"]};class to{constructor(t,n){Array.isArray(t)&&(t=t.map(s=>s instanceof to?s:new to(s))),this.value=t,this.params=n}}const No="Dict";function oc(w){return Array.isArray(w)?JSON.stringify(w):w instanceof Map?"Map{}":w instanceof Set?"Set{}":typeof w=="object"?JSON.stringify(w):String(w)}function wl(w,t,n,s){return new Error(`failed to ${w} "${oc(t)}" as ${n}`,{cause:s})}function ro(w,t,n){return wl("serialize",w,t,n)}class uc{constructor(t){this.description=t}}const lc="Bare Item",nu="Boolean";function Sl(w){if(typeof w!="boolean")throw ro(w,nu);return w?"?1":"?0"}const vu="Byte Sequence";function cc(w){if(ArrayBuffer.isView(w)===!1)throw ro(w,vu);return`:${Ys(w)}:`}const rl="Integer";function Ia(w){return w<-999999999999999||999999999999999<w}function Hc(w){if(Ia(w))throw ro(w,rl);return w.toString()}function Wc(w){return`@${Hc(w.getTime()/1e3)}`}const ju="Decimal";function Tc(w){const t=_s(w,3);if(Math.floor(Math.abs(t)).toString().length>12)throw ro(w,ju);const n=t.toString();return n.includes(".")?n:`${n}.0`}const sf="String",fc=/[\x00-\x1f\x7f]+/;function iu(w){if(fc.test(w))throw ro(w,sf);return`"${w.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function Gc(w){return w.description||w.toString().slice(7,-1)}const dc="Token";function Al(w){const t=Gc(w);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t)===!1)throw ro(t,dc);return t}function hc(w){switch(typeof w){case"number":if(!r(w))throw ro(w,lc);return Number.isInteger(w)?Hc(w):Tc(w);case"string":return iu(w);case"symbol":return Al(w);case"boolean":return Sl(w);case"object":if(w instanceof Date)return Wc(w);if(w instanceof Uint8Array)return cc(w);if(w instanceof uc)return Al(w);default:throw ro(w,lc)}}const Pc="Key";function Zo(w){if(/^[a-z*][a-z0-9\-_.*]*$/.test(w)===!1)throw ro(w,Pc);return w}function gu(w){return w==null?"":Object.entries(w).map(([t,n])=>n===!0?`;${Zo(t)}`:`;${Zo(t)}=${hc(n)}`).join("")}function Zl(w){return w instanceof to?`${hc(w.value)}${gu(w.params)}`:hc(w)}function Uu(w){return`(${w.value.map(Zl).join(" ")})${gu(w.params)}`}function Ic(w,t={whitespace:!0}){if(typeof w!="object")throw ro(w,No);const n=w instanceof Map?w.entries():Object.entries(w),s=t!=null&&t.whitespace?" ":"";return Array.from(n).map(([m,E])=>{E instanceof to||(E=new to(E));let C=Zo(m);return E.value===!0?C+=gu(E.params):(C+="=",Array.isArray(E.value)?C+=Uu(E):C+=Zl(E)),C}).join(`,${s}`)}function Vc(w,t){return Ic(w,t)}function Hl(w){return w==="ot"||w==="sf"||w==="st"}function ao(w){return typeof w=="number"?r(w):w!=null&&w!==""&&w!==!1}const Wl=w=>Math.round(w),Dc=(w,t)=>(t!=null&&t.baseUrl&&(w=Zi(w,t.baseUrl)),encodeURIComponent(w)),Iu=w=>Wl(w/100)*100,Du={br:Wl,d:Wl,bl:Iu,dl:Iu,mtp:Iu,nor:Dc,rtp:Iu,tb:Wl};function so(w,t){const n={};if(w==null||typeof w!="object")return n;const s=Object.keys(w).sort(),m=y({},Du,t==null?void 0:t.formatters),E=t==null?void 0:t.filter;return s.forEach(C=>{if(E!=null&&E(C))return;let U=w[C];const G=m[C];G&&(U=G(U,t)),!(C==="v"&&U===1)&&(C=="pr"&&U===1||ao(U)&&(Hl(C)&&typeof U=="string"&&(U=new uc(U)),n[C]=U))}),n}function Yu(w,t={}){return w?Vc(so(w,t),y({whitespace:!1},t)):""}function of(w,t={}){const n={};if(!w)return n;const s=Object.entries(w),m=Object.entries(Fs).concat(Object.entries((t==null?void 0:t.customHeaderMap)||{})),E=s.reduce((C,U)=>{var G,H;const[se,ue]=U,ve=((G=m.find(Ae=>Ae[1].includes(se)))===null||G===void 0?void 0:G[0])||Pu.REQUEST;return(H=C[ve])!==null&&H!==void 0||(C[ve]={}),C[ve][se]=ue,C},{});return Object.entries(E).reduce((C,[U,G])=>(C[U]=Yu(G,t),C),n)}function Oc(w,t,n){return y(w,of(t,n))}const Kc="CMCD";function nl(w,t={}){if(!w)return"";const n=Yu(w,t);return`${Kc}=${encodeURIComponent(n)}`}const So=/CMCD=[^&#]+/;function Cl(w,t,n){const s=nl(t,n);if(!s)return w;if(So.test(w))return w.replace(So,s);const m=w.includes("?")?"&":"?";return`${w}${m}${s}`}class ze{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:zo.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],G=this.getObjectType(E),H={d:(C||E).duration*1e3,ot:G};(G===zo.VIDEO||G===zo.AUDIO||G==zo.MUXED)&&(H.br=U.bitrate/1e3,H.tb=this.getTopBandwidth(G)/1e3,H.bl=this.getBufferLength(G));const se=C?this.getNextPart(C):this.getNextFrag(E);se!=null&&se.url&&se.url!==E.url&&(H.nor=se.url),this.apply(m,H)}catch(E){this.hls.logger.warn("Could not generate segment CMCD data.",E)}},this.hls=t;const n=this.config=t.config,{cmcd:s}=n;s!=null&&(n.pLoader=this.createPlaylistLoader(),n.fLoader=this.createFragmentLoader(),this.sid=s.sessionId||t.sessionId,this.cid=s.contentId,this.useHeaders=s.useHeaders===!0,this.includeKeys=s.includeKeys,this.registerListeners())}registerListeners(){const t=this.hls;t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHED,this.onMediaDetached,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const t=this.hls;t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHED,this.onMediaDetached,this),t.off(o.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 s,m;this.audioBuffer=(s=n.tracks.audio)==null?void 0:s.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 s=n.ot===zo.INIT||n.ot===zo.VIDEO||n.ot===zo.MUXED;this.starved&&s&&(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={}),Oc(t.headers,n,E)):t.url=Cl(t.url,n,E)}getNextFrag(t){var n;const s=(n=this.hls.levels[t.level])==null?void 0:n.details;if(s){const m=t.sn-s.startSN;return s.fragments[m+1]}}getNextPart(t){var n,s;const{index:m,fragment:E}=t,C=(n=this.hls.levels[E.level])==null||(s=n.details)==null?void 0:s.partList;if(C){const{sn:U}=E;for(let G=C.length-1;G>=0;G--){const H=C[G];if(H.index===m&&H.fragment.sn===U)return C[G+1]}}}getObjectType(t){const{type:n}=t;if(n==="subtitle")return zo.TIMED_TEXT;if(t.sn==="initSegment")return zo.INIT;if(n==="audio")return zo.AUDIO;if(n==="main")return this.hls.audioTracks.length?zo.VIDEO:zo.MUXED}getTopBandwidth(t){let n=0,s;const m=this.hls;if(t===zo.AUDIO)s=m.audioTracks;else{const E=m.maxAutoLevel,C=E>-1?E+1:m.levels.length;s=m.levels.slice(0,C)}for(const E of s)E.bitrate>n&&(n=E.bitrate);return n>0?n:NaN}getBufferLength(t){const n=this.media,s=t===zo.AUDIO?this.audioBuffer:this.videoBuffer;return!s||!n?NaN:Zn.bufferInfo(s,n.currentTime,this.config.maxBufferHole).len*1e3}createPlaylistLoader(){const{pLoader:t}=this.config,n=this.applyPlaylistData,s=t||this.config.loader;return class{constructor(E){this.loader=void 0,this.loader=new s(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,s=t||this.config.loader;return class{constructor(E){this.loader=void 0,this.loader=new s(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 yu=3e5;class Jo 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(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const t=this.hls;t&&(t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.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(s=>s!==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:s}=n;s!==null&&(this.pathwayId=s.pathwayId,this.uri=s.uri,this.started&&this.startLoad())}onManifestParsed(t,n){this.audioTracks=n.audioTracks,this.subtitleTracks=n.subtitleTracks}onError(t,n){const{errorAction:s}=n;if((s==null?void 0:s.action)===Ee.SendAlternateToPenaltyBox&&s.flags===at.MoveAllAlternatesMatchingHost){const m=this.levels;let E=this._pathwayPriority,C=this.pathwayId;if(n.context){const{groupId:U,pathwayId:G,type:H}=n.context;U&&m?C=this.getPathwayForGroupId(U,H,C):G&&(C=G)}C in this.penalizedPathways||(this.penalizedPathways[C]=performance.now()),!E&&m&&(E=this.pathways()),E&&E.length>1&&(this.updatePathwayPriority(E),s.resolved=this.pathwayId!==C),s.resolved||this.warn(`Could not resolve ${n.details} ("${n.error.message}") with content-steering for Pathway: ${C} levels: ${m&&m.length} priorities: ${Nn(E)} penalized: ${Nn(this.penalizedPathways)}`)}}filterParsedLevels(t){this.levels=t;let n=this.getLevelsForPathway(this.pathwayId);if(n.length===0){const s=t[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${s}"`),n=this.getLevelsForPathway(s),this.pathwayId=s}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 s=this.penalizedPathways,m=performance.now();Object.keys(s).forEach(E=>{m-s[E]>yu&&delete s[E]});for(let E=0;E<t.length;E++){const C=t[E];if(C in s)continue;if(C===this.pathwayId)return;const U=this.hls.nextLoadLevel,G=this.hls.levels[U];if(n=this.getLevelsForPathway(C),n.length>0){this.log(`Setting Pathway to "${C}"`),this.pathwayId=C,yr(n),this.hls.trigger(o.LEVELS_UPDATED,{levels:n});const H=this.hls.levels[U];G&&H&&this.levels&&(H.attrs["STABLE-VARIANT-ID"]!==G.attrs["STABLE-VARIANT-ID"]&&H.bitrate!==G.bitrate&&this.log(`Unstable Pathways change from bitrate ${G.bitrate} to ${H.bitrate}`),this.hls.nextLoadLevel=U);break}}}getPathwayForGroupId(t,n,s){const m=this.getLevelsForPathway(s).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 s}clonePathways(t){const n=this.levels;if(!n)return;const s={},m={};t.forEach(E=>{const{ID:C,"BASE-ID":U,"URI-REPLACEMENT":G}=E;if(n.some(se=>se.pathwayId===C))return;const H=this.getLevelsForPathway(U).map(se=>{const ue=new ta(se.attrs);ue["PATHWAY-ID"]=C;const ve=ue.AUDIO&&`${ue.AUDIO}_clone_${C}`,Ae=ue.SUBTITLES&&`${ue.SUBTITLES}_clone_${C}`;ve&&(s[ue.AUDIO]=ve,ue.AUDIO=ve),Ae&&(m[ue.SUBTITLES]=Ae,ue.SUBTITLES=Ae);const we=Ro(se.uri,ue["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",G),qe=new _r({attrs:ue,audioCodec:se.audioCodec,bitrate:se.bitrate,height:se.height,name:se.name,url:we,videoCodec:se.videoCodec,width:se.width});if(se.audioGroups)for(let it=1;it<se.audioGroups.length;it++)qe.addGroupId("audio",`${se.audioGroups[it]}_clone_${C}`);if(se.subtitleGroups)for(let it=1;it<se.subtitleGroups.length;it++)qe.addGroupId("text",`${se.subtitleGroups[it]}_clone_${C}`);return qe});n.push(...H),Tl(this.audioTracks,s,G,C),Tl(this.subtitleTracks,m,G,C)})}loadSteeringManifest(t){const n=this.hls.config,s=n.loader;this.loader&&this.loader.destroy(),this.loader=new s(n);let m;try{m=new self.URL(t)}catch(se){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${t}`);return}if(m.protocol!=="data:"){const se=(this.hls.bandwidthEstimate||n.abrEwmaDefaultEstimate)|0;m.searchParams.set("_HLS_pathway",this.pathwayId),m.searchParams.set("_HLS_throughput",""+se)}const E={responseType:"json",url:m.href},C=n.steeringManifestLoadPolicy.default,U=C.errorRetry||C.timeoutRetry||{},G={loadPolicy:C,timeout:C.maxLoadTimeMs,maxRetry:U.maxNumRetry||0,retryDelay:U.retryDelayMs||0,maxRetryDelay:U.maxRetryDelayMs||0},H={onSuccess:(se,ue,ve,Ae)=>{this.log(`Loaded steering manifest: "${m}"`);const we=se.data;if((we==null?void 0:we.VERSION)!==1){this.log(`Steering VERSION ${we.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=we.TTL;const{"RELOAD-URI":qe,"PATHWAY-CLONES":it,"PATHWAY-PRIORITY":jt}=we;if(qe)try{this.uri=new self.URL(qe,m).href}catch(er){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${qe}`);return}this.scheduleRefresh(this.uri||ve.url),it&&this.clonePathways(it);const ir={steeringManifest:we,url:m.toString()};this.hls.trigger(o.STEERING_MANIFEST_LOADED,ir),jt&&this.updatePathwayPriority(jt)},onError:(se,ue,ve,Ae)=>{if(this.log(`Error loading steering manifest: ${se.code} ${se.text} (${ue.url})`),this.stopLoad(),se.code===410){this.enabled=!1,this.log(`Steering manifest ${ue.url} no longer available`);return}let we=this.timeToLoad*1e3;if(se.code===429){const qe=this.loader;if(typeof(qe==null?void 0:qe.getResponseHeader)=="function"){const it=qe.getResponseHeader("Retry-After");it&&(we=parseFloat(it)*1e3)}this.log(`Steering manifest ${ue.url} rate limited`);return}this.scheduleRefresh(this.uri||ue.url,we)},onTimeout:(se,ue,ve)=>{this.log(`Timeout loading steering manifest (${ue.url})`),this.scheduleRefresh(this.uri||ue.url)}};this.log(`Requesting steering manifest: ${m}`),this.loader.load(E,G,H)}scheduleRefresh(t,n=this.timeToLoad*1e3){this.clearTimeout(),this.reloadTimer=self.setTimeout(()=>{var s;const m=(s=this.hls)==null?void 0:s.media;if(m&&!m.ended){this.loadSteeringManifest(t);return}this.scheduleRefresh(t,this.timeToLoad*1e3)},n)}}function Tl(w,t,n,s){w&&Object.keys(t).forEach(m=>{const E=w.filter(C=>C.groupId===m).map(C=>{const U=y({},C);return U.details=void 0,U.attrs=new ta(U.attrs),U.url=U.attrs.URI=Ro(C.url,C.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),U.groupId=U.attrs["GROUP-ID"]=t[m],U.attrs["PATHWAY-ID"]=s,U});w.push(...E)})}function Ro(w,t,n,s){const{HOST:m,PARAMS:E,[n]:C}=s;let U;t&&(U=C==null?void 0:C[t],U&&(w=U));const G=new self.URL(w);return m&&!U&&(G.host=m),E&&Object.keys(E).sort().forEach(H=>{H&&G.searchParams.set(H,E[H])}),G.href}class $o 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=$o.CDMCleanupPromise?[$o.CDMCleanupPromise]:[],this.onMediaEncrypted=n=>{const{initDataType:s,initData:m}=n,E=`"${n.type}" event: init data type: "${s}"`;if(this.debug(E),m!==null){if(!this.keyFormatPromise){let C=Object.keys(this.keySystemAccessPromises);C.length||(C=li(this.config));const U=C.map(xo).filter(G=>!!G);this.keyFormatPromise=this.getKeyFormatPromise(U)}this.keyFormatPromise.then(C=>{const U=uo(C);let G,H;if(s==="sinf"){if(U!==ga.FAIRPLAY){this.warn(`Ignoring unexpected "${n.type}" event with init data type: "${s}" for selected key-system ${U}`);return}const we=Qt(new Uint8Array(m));try{const qe=Ca(JSON.parse(we).sinf),it=nt(qe);if(!it)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");G=new Uint8Array(it.subarray(8,24)),H=ga.FAIRPLAY}catch(qe){this.warn(`${E} Failed to parse sinf: ${qe}`);return}}else{if(U!==ga.WIDEVINE&&U!==ga.PLAYREADY){this.warn(`Ignoring unexpected "${n.type}" event with init data type: "${s}" for selected key-system ${U}`);return}const we=Ot(m),qe=we.filter(jt=>!!jt.systemId&&Po(jt.systemId)===U);qe.length>1&&this.warn(`${E} Using first of ${qe.length} pssh found for selected key-system ${U}`);const it=qe[0];if(!it){we.length===0||we.some(jt=>!jt.systemId)?this.warn(`${E} contains incomplete or invalid pssh data`):this.log(`ignoring ${E} for ${we.map(jt=>Po(jt.systemId)).join(",")} pssh data in favor of playlist keys`);return}if(H=Po(it.systemId),it.version===0&&it.data)if(H===ga.WIDEVINE){const jt=it.data.length-22;G=new Uint8Array(it.data.subarray(jt,jt+16))}else H===ga.PLAYREADY&&(G=Ga(it.data))}if(!H||!G)return;const se=J.hexDump(G),{keyIdToKeySessionPromise:ue,mediaKeySessions:ve}=this;let Ae=ue[se];for(let we=0;we<ve.length;we++){const qe=ve[we],it=qe.decryptdata;if(!it.keyId)continue;const jt=J.hexDump(it.keyId);if(se===jt||it.uri.replace(/-/g,"").indexOf(se)!==-1){if(Ae=ue[jt],it.pssh)break;delete ue[jt],it.pssh=new Uint8Array(m),it.keyId=G,Ae=ue[se]=Ae.then(()=>this.generateRequestWithPreferredKeySession(qe,s,m,"encrypted-event-key-match")),Ae.catch(ir=>this.handleError(ir));break}}if(!Ae){if(H!==U){this.log(`Ignoring "${n.type}" event with ${H} init data for selected key-system ${U}`);return}Ae=ue[se]=this.getKeySystemSelectionPromise([H]).then(({keySystem:we,mediaKeys:qe})=>{var it;this.throwIfDestroyed();const jt=new Vs("ISO-23001-7",se,(it=xo(we))!=null?it:"");return jt.pssh=new Uint8Array(m),jt.keyId=G,this.attemptSetMediaKeys(we,qe).then(()=>{this.throwIfDestroyed();const ir=this.createMediaKeySessionContext({decryptdata:jt,keySystem:we,mediaKeys:qe});return this.generateRequestWithPreferredKeySession(ir,s,m,"encrypted-event-no-match")})}),Ae.catch(we=>this.handleError(we))}})}},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(o.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(o.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(o.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(o.MANIFEST_LOADED,this.onManifestLoaded,this)}unregisterListeners(){this.hls.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(o.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(o.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(o.MANIFEST_LOADED,this.onManifestLoaded,this)}getLicenseServerUrl(t){const{drmSystems:n,widevineLicenseUrl:s}=this.config,m=n[t];if(m)return m.licenseUrl;if(t===ga.WIDEVINE&&s)return s}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,s=n[t];if(s)return s.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${t}"]`)}attemptKeySystemAccess(t){const n=this.hls.levels,s=(C,U,G)=>!!C&&G.indexOf(C)===U,m=n.map(C=>C.audioCodec).filter(s),E=n.map(C=>C.videoCodec).filter(s);return m.length+E.length===0&&E.push("avc1.42e01e"),new Promise((C,U)=>{const G=H=>{const se=H.shift();this.getMediaKeysPromise(se,m,E).then(ue=>C({keySystem:se,mediaKeys:ue})).catch(ue=>{H.length?G(H):ue instanceof Ho?U(ue):U(new Ho({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_ACCESS,error:ue,fatal:!0},ue.message))})};G(t)})}requestMediaKeySystemAccess(t,n){const{requestMediaKeySystemAccessFunc:s}=this.config;if(typeof s!="function"){let m=`Configured requestMediaKeySystemAccess is not a function ${s}`;return si===null&&self.location.protocol==="http:"&&(m=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(m))}return s(t,n)}getMediaKeysPromise(t,n,s){const m=Fa(t,n,s,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: ${Nn(m)}`),C=this.requestMediaKeySystemAccess(t,m);const U=this.keySystemAccessPromises[t]={keySystemAccess:C};return C.catch(G=>{this.log(`Failed to obtain access to key-system "${t}": ${G}`)}),C.then(G=>{this.log(`Access for key-system "${G.keySystem}" obtained`);const H=this.fetchServerCertificate(t);return this.log(`Create media-keys for "${t}"`),U.mediaKeys=G.createMediaKeys().then(se=>(this.log(`Media-keys created for "${t}"`),H.then(ue=>ue?this.setMediaKeysServerCertificate(se,t,ue):se))),U.mediaKeys.catch(se=>{this.error(`Failed to create media-keys for "${t}"}: ${se}`)}),U.mediaKeys})}return C.then(()=>E.mediaKeys)}createMediaKeySessionContext({decryptdata:t,keySystem:n,mediaKeys:s}){this.log(`Creating key-system session "${n}" keyId: ${J.hexDump(t.keyId||[])}`);const m=s.createSession(),E={decryptdata:t,keySystem:n,mediaKeys:s,mediaKeysSession:m,keyStatus:"status-pending"};return this.mediaKeySessions.push(E),E}renewKeySession(t){const n=t.decryptdata;if(n.pssh){const s=this.createMediaKeySessionContext(t),m=this.getKeyIdString(n),E="cenc";this.keyIdToKeySessionPromise[m]=this.generateRequestWithPreferredKeySession(s,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 J.hexDump(t.keyId)}updateKeySession(t,n){var s;const m=t.mediaKeysSession;return this.log(`Updating key-session "${m.sessionId}" for keyID ${J.hexDump(((s=t.decryptdata)==null?void 0:s.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,s)=>{const m=li(this.config),E=t.map(uo).filter(C=>!!C&&m.indexOf(C)!==-1);return this.getKeySystemSelectionPromise(E).then(({keySystem:C})=>{const U=xo(C);U?n(U):s(new Error(`Unable to find format for key-system "${C}"`))}).catch(s)})}loadKey(t){const n=t.keyInfo.decryptdata,s=this.getKeyIdString(n),m=`(keyId: ${s} format: "${n.keyFormat}" method: ${n.method} uri: ${n.uri})`;this.log(`Starting session for key ${m}`);let E=this.keyIdToKeySessionPromise[s];return E||(E=this.getKeySystemForKeyPromise(n).then(({keySystem:U,mediaKeys:G})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${t.frag.sn} ${t.frag.type}: ${t.frag.level} using key ${m}`),this.attemptSetMediaKeys(U,G).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:U,mediaKeys:G,decryptdata:n}))))),(this.keyIdToKeySessionPromise[s]=E.then(U=>{const G="cenc",H=n.pssh?n.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(U,G,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 Ho?this.hls.trigger(o.ERROR,t.data):this.hls.trigger(o.ERROR,{type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_KEYS,error:t,fatal:!0}))}getKeySystemForKeyPromise(t){const n=this.getKeyIdString(t),s=this.keyIdToKeySessionPromise[n];if(!s){const m=uo(t.keyFormat),E=m?[m]:li(this.config);return this.attemptKeySystemAccess(E)}return s}getKeySystemSelectionPromise(t){if(t.length||(t=li(this.config)),t.length===0)throw new Ho({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${Nn({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(t)}attemptSetMediaKeys(t,n){const s=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${t}"`);const m=Promise.all(s).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}"`),s.push(m),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(E=>s.indexOf(E)===-1)})}generateRequestWithPreferredKeySession(t,n,s,m){var E,C;const U=(E=this.config.drmSystems)==null||(C=E[t.keySystem])==null?void 0:C.generateRequest;if(U)try{const we=U.call(this.hls,n,s,t);if(!we)throw new Error("Invalid response from configured generateRequest filter");n=we.initDataType,s=we.initData?we.initData:null,t.decryptdata.pssh=s?new Uint8Array(s):null}catch(we){var G;if(this.warn(we.message),(G=this.hls)!=null&&G.config.debug)throw we}if(s===null)return this.log(`Skipping key-session request for "${m}" (no initData)`),Promise.resolve(t);const H=this.getKeyIdString(t.decryptdata);this.log(`Generating key-session request for "${m}": ${H} (init data type: ${n} length: ${s?s.byteLength:null})`);const se=new ha,ue=t._onmessage=we=>{const qe=t.mediaKeysSession;if(!qe){se.emit("error",new Error("invalid state"));return}const{messageType:it,message:jt}=we;this.log(`"${it}" message event for session "${qe.sessionId}" message size: ${jt.byteLength}`),it==="license-request"||it==="license-renewal"?this.renewLicense(t,jt).catch(ir=>{se.eventNames().length?se.emit("error",ir):this.handleError(ir)}):it==="license-release"?t.keySystem===ga.FAIRPLAY&&(this.updateKeySession(t,ls("acknowledged")),this.removeSession(t)):this.warn(`unhandled media key message type "${it}"`)},ve=t._onkeystatuseschange=we=>{if(!t.mediaKeysSession){se.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(t);const it=t.keyStatus;se.emit("keyStatus",it),it==="expired"&&(this.warn(`${t.keySystem} expired for key ${H}`),this.renewKeySession(t))};t.mediaKeysSession.addEventListener("message",ue),t.mediaKeysSession.addEventListener("keystatuseschange",ve);const Ae=new Promise((we,qe)=>{se.on("error",qe),se.on("keyStatus",it=>{it.startsWith("usable")?we():it==="output-restricted"?qe(new Ho({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):it==="internal-error"?qe(new Ho({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${it}"`)):it==="expired"?qe(new Error("key expired while generating request")):this.warn(`unhandled key status change "${it}"`)})});return t.mediaKeysSession.generateRequest(n,s).then(()=>{var we;this.log(`Request generated for key-session "${(we=t.mediaKeysSession)==null?void 0:we.sessionId}" keyId: ${H}`)}).catch(we=>{throw new Ho({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_SESSION,error:we,fatal:!1},`Error generating key-session request: ${we}`)}).then(()=>Ae).catch(we=>{throw se.removeAllListeners(),this.removeSession(t),we}).then(()=>(se.removeAllListeners(),t))}onKeyStatusChange(t){t.mediaKeysSession.keyStatuses.forEach((n,s)=>{this.log(`key status change "${n}" for keyStatuses keyId: ${J.hexDump("buffer"in s?new Uint8Array(s.buffer,s.byteOffset,s.byteLength):new Uint8Array(s))} session keyId: ${J.hexDump(new Uint8Array(t.decryptdata.keyId||[]))} uri: ${t.decryptdata.uri}`),t.keyStatus=n})}fetchServerCertificate(t){const n=this.config,s=n.loader,m=new s(n),E=this.getServerCertificateUrl(t);return E?(this.log(`Fetching server certificate for "${t}"`),new Promise((C,U)=>{const G={responseType:"arraybuffer",url:E},H=n.certLoadPolicy.default,se={loadPolicy:H,timeout:H.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ue={onSuccess:(ve,Ae,we,qe)=>{C(ve.data)},onError:(ve,Ae,we,qe)=>{U(new Ho({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:we,response:b({url:G.url,data:void 0},ve)},`"${t}" certificate request failed (${E}). Status: ${ve.code} (${ve.text})`))},onTimeout:(ve,Ae,we)=>{U(new Ho({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:we,response:{url:G.url,data:void 0}},`"${t}" certificate request timed out (${E})`))},onAbort:(ve,Ae,we)=>{U(new Error("aborted"))}};m.load(G,se,ue)})):Promise.resolve()}setMediaKeysServerCertificate(t,n,s){return new Promise((m,E)=>{t.setServerCertificate(s).then(C=>{this.log(`setServerCertificate ${C?"success":"not supported by CDM"} (${s==null?void 0:s.byteLength}) on "${n}"`),m(t)}).catch(C=>{E(new Ho({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(s=>this.updateKeySession(t,new Uint8Array(s)).catch(m=>{throw new Ho({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:m,fatal:!0},m.message)}))}unpackPlayReadyKeyMessage(t,n){const s=String.fromCharCode.apply(null,new Uint16Array(n.buffer));if(!s.includes("PlayReadyKeyMessage"))return t.setRequestHeader("Content-Type","text/xml; charset=utf-8"),n;const m=new DOMParser().parseFromString(s,"application/xml"),E=m.querySelectorAll("HttpHeader");if(E.length>0){let se;for(let ue=0,ve=E.length;ue<ve;ue++){var C,U;se=E[ue];const Ae=(C=se.querySelector("name"))==null?void 0:C.textContent,we=(U=se.querySelector("value"))==null?void 0:U.textContent;Ae&&we&&t.setRequestHeader(Ae,we)}}const G=m.querySelector("Challenge"),H=G==null?void 0:G.textContent;if(!H)throw new Error("Cannot find <Challenge> in key message");return ls(atob(H))}setupLicenseXHR(t,n,s,m){const E=this.config.licenseXhrSetup;return E?Promise.resolve().then(()=>{if(!s.decryptdata)throw new Error("Key removed");return E.call(this.hls,t,n,s,m)}).catch(C=>{if(!s.decryptdata)throw C;return t.open("POST",n,!0),E.call(this.hls,t,n,s,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 s=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 G=U.response;this.log(`License received ${G instanceof ArrayBuffer?G.byteLength:G}`);const H=this.config.licenseResponseCallback;if(H)try{G=H.call(this.hls,U,C,t)}catch(se){this.error(se)}m(G)}else{const G=s.errorRetry,H=G?G.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>H||U.status>=400&&U.status<500)E(new Ho({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 se=H-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${se} 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:G,licenseChallenge:H})=>{t.keySystem==ga.PLAYREADY&&(H=this.unpackPlayReadyKeyMessage(G,H)),G.send(H)})})}onMediaAttached(t,n){if(!this.config.emeEnabled)return;const s=n.media;this.media=s,s.removeEventListener("encrypted",this.onMediaEncrypted),s.removeEventListener("waitingforkey",this.onWaitingForKey),s.addEventListener("encrypted",this.onMediaEncrypted),s.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 s=this.mediaKeySessions;this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},Vs.clearKeyUriToKeyIdMap();const m=s.length;$o.CDMCleanupPromise=Promise.all(s.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(o.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"),s.length=0)}).catch(E=>{var C;this.log(`Could not close sessions and clear media keys: ${E}`),(C=this.hls)==null||C.trigger(o.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 s=n.reduce((m,E)=>(m.indexOf(E.keyFormat)===-1&&m.push(E.keyFormat),m),[]);this.log(`Selecting key-system from session-keys ${s.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(s)}}removeSession(t){const{mediaKeysSession:n,licenseXhr:s}=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),s&&s.readyState!==XMLHttpRequest.DONE&&s.abort(),t.mediaKeysSession=t.decryptdata=t.licenseXhr=void 0;const m=this.mediaKeySessions.indexOf(t);return m>-1&&this.mediaKeySessions.splice(m,1),n.remove().catch(E=>{var C;this.log(`Could not remove session: ${E}`),(C=this.hls)==null||C.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${E}`)})}).then(()=>n.close()).catch(E=>{var C;this.log(`Could not close session: ${E}`),(C=this.hls)==null||C.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${E}`)})})}}}$o.CDMCleanupPromise=void 0;class Ho 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 Gl{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(o.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.on(o.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListeners(){this.hls.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.off(o.MEDIA_DETACHING,this.onMediaDetaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(t,n){const s=this.hls.config;if(s.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),s.fpsDroppedMonitoringPeriod)}}onMediaDetaching(){this.media=null}checkFPS(t,n,s){const m=performance.now();if(n){if(this.lastTime){const E=m-this.lastTime,C=s-this.lastDroppedFrames,U=n-this.lastDecodedFrames,G=1e3*C/E,H=this.hls;if(H.trigger(o.FPS_DROP,{currentDropped:C,currentDecoded:U,totalDroppedFrames:s}),G>0&&C>H.config.fpsDroppedMonitoringThreshold*U){let se=H.currentLevel;H.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+se),se>0&&(H.autoLevelCapping===-1||H.autoLevelCapping>=se)&&(se=se-1,H.trigger(o.FPS_DROP_LEVEL_CAPPING,{level:se,droppedLevel:H.currentLevel}),H.autoLevelCapping=se,this.streamController.nextLevelSwitch())}}this.lastTime=m,this.lastDroppedFrames=s,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 Xu(w,t){let n;try{n=new Event("addtrack")}catch(s){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=w,t.dispatchEvent(n)}function zu(w,t){const n=w.mode;if(n==="disabled"&&(w.mode="hidden"),w.cues&&!w.cues.getCueById(t.id))try{if(w.addCue(t),!w.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(s){W.debug(`[texttrack-utils]: ${s}`);try{const m=new self.TextTrackCue(t.startTime,t.endTime,t.text);m.id=t.id,w.addCue(m)}catch(m){W.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${m}`)}}n==="disabled"&&(w.mode=n)}function Wo(w,t){const n=w.mode;if(n==="disabled"&&(w.mode="hidden"),w.cues)for(let s=w.cues.length;s--;)t&&w.cues[s].removeEventListener("enter",t),w.removeCue(w.cues[s]);n==="disabled"&&(w.mode=n)}function Vl(w,t,n,s){const m=w.mode;if(m==="disabled"&&(w.mode="hidden"),w.cues&&w.cues.length>0){const E=au(w.cues,t,n);for(let C=0;C<E.length;C++)(!s||s(E[C]))&&w.removeCue(E[C])}m==="disabled"&&(w.mode=m)}function Kl(w,t){if(t<=w[0].startTime)return 0;const n=w.length-1;if(t>w[n].endTime)return-1;let s=0,m=n,E;for(;s<=m;)if(E=Math.floor((m+s)/2),t<w[E].startTime)m=E-1;else if(t>w[E].startTime&&s<n)s=E+1;else return E;return w[s].startTime-t<t-w[m].startTime?s:m}function au(w,t,n){const s=[],m=Kl(w,t);if(m>-1)for(let E=m,C=w.length;E<C;E++){const U=w[E];if(U.startTime>=t&&U.endTime<=n)s.push(U);else if(U.startTime>n)return s}return s}function bu(w){const t=[];for(let n=0;n<w.length;n++){const s=w[n];(s.kind==="subtitles"||s.kind==="captions")&&s.label&&t.push(w[n])}return t}class xu extends _u{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 s=bu(this.media.textTracks);for(let E=0;E<s.length;E++)if(s[E].mode==="hidden")n=s[E];else if(s[E].mode==="showing"){n=s[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(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(o.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(o.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(o.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 s=this.media;if(!s)return;const m=!!n.transferMedia;if(self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||s.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),this.subtitleTrack=-1,this.media=null,m)return;bu(s.textTracks).forEach(C=>{Wo(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:s,groupId:m,details:E}=n,C=this.tracksInGroup[s];if(!C||C.groupId!==m){this.warn(`Subtitle track with id:${s} 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 ${s} "${C.name}" lang:${C.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),s===this.trackId&&this.playlistLoaded(s,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 s=n.subtitleGroups||null,m=this.groupIds;let E=this.currentTrack;if(!s||(m==null?void 0:m.length)!==(s==null?void 0:s.length)||s!=null&&s.some(C=>(m==null?void 0:m.indexOf(C))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const C=this.tracks.filter(se=>!s||s.indexOf(se.groupId)!==-1);if(C.length)this.selectDefaultTrack&&!C.some(se=>se.default)&&(this.selectDefaultTrack=!1),C.forEach((se,ue)=>{se.id=ue});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=C;const U=this.hls.config.subtitlePreference;if(!E&&U){this.selectDefaultTrack=!1;const se=Yi(U,C);if(se>-1)E=C[se];else{const ue=Yi(U,this.tracks);E=this.tracks[ue]}}let G=this.findTrackId(E);G===-1&&E&&(G=this.findTrackId(null));const H={subtitleTracks:C};this.log(`Updating subtitle tracks, ${C.length} track(s) found in "${s==null?void 0:s.join(",")}" group-id`),this.hls.trigger(o.SUBTITLE_TRACKS_UPDATED,H),G!==-1&&this.trackId===-1&&this.setSubtitleTrack(G)}}findTrackId(t){const n=this.tracksInGroup,s=this.selectDefaultTrack;for(let m=0;m<n.length;m++){const E=n[m];if(!(s&&!E.default||!s&&!t)&&(!t||Xn(E,t)))return m}if(t){for(let m=0;m<n.length;m++){const E=n[m];if(qo(t.attrs,E.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return m}for(let m=0;m<n.length;m++){const E=n[m];if(qo(t.attrs,E.attrs,["LANGUAGE"]))return m}}return-1}findTrackForTextTrack(t){if(t){const n=this.tracksInGroup;for(let s=0;s<n.length;s++){const m=n[s];if(Nl(m,t))return s}}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 s=this.currentTrack;if(s&&Xn(t,s))return s;const m=Yi(t,this.tracksInGroup);if(m>-1){const E=this.tracksInGroup[m];return this.setSubtitleTrack(m),E}else{if(s)return null;{const E=Yi(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 s=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 ${s} "${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(o.SUBTITLE_TRACK_LOADING,{url:E,id:s,groupId:m,deliveryDirectives:n||null,track:t})}toggleTrackModes(){const{media:t}=this;if(!t)return;const n=bu(t.textTracks),s=this.currentTrack;let m;if(s&&(m=n.filter(E=>Nl(s,E))[0],m||this.warn(`Unable to find subtitle TextTrack with name "${s.name}" and language "${s.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 s=this.currentTrack,m=n[t]||null;if(this.trackId=t,this.currentTrack=m,this.toggleTrackModes(),!m){this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:t});return}const E=!!m.details&&!m.details.live;if(t===this.trackId&&m===s&&E)return;this.log(`Switching to subtitle-track ${t}`+(m?` "${m.name}" lang:${m.lang} group:${m.groupId}`:""));const{id:C,groupId:U="",name:G,type:H,url:se}=m;this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:C,groupId:U,name:G,type:H,url:se});const ue=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(ue)}}function pc(w){let t=5381,n=w.length;for(;n;)t=t*33^w.charCodeAt(--n);return(t>>>0).toString()}const il=.025;let vo=function(w){return w[w.Point=0]="Point",w[w.Range=1]="Range",w}({});function al(w,t,n){return`${w.identifier}-${n+1}-${pc(t)}`}class kc{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 sl(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,s=sl(n,t);return n-s<.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 sl(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)<il))}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"?vo.Range:vo.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 Yl(this)}}function sl(w,t){return w-t.start<t.duration/2&&!(Math.abs(w-(t.start+t.duration))<il)?t.start:t.start+t.duration}function Pl(w,t,n){const s=new self.URL(w,n);return s.protocol!=="data:"&&s.searchParams.set("_HLS_primary_id",t),s}function Yl(w){return`["${w.identifier}" ${w.cue.pre?"<pre>":w.cue.post?"<post>":""}${w.timelineStart.toFixed(2)}-${w.resumeTime.toFixed(2)}]`}function ol(w){const t=w.timelineStart,n=w.duration||0;return`["${w.identifier}" ${t.toFixed(2)}-${(t+n).toFixed(2)}]`}class uf{constructor(t,n,s,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 H=this.interstitial.playoutLimit,se=this.currentTime;this.startOffset+se>=H&&this.hls.trigger(o.PLAYOUT_LIMIT_REACHED,{})};const E=this.hls=new t(n);this.interstitial=s,this.assetItem=m;let C=m.uri;try{C=Pl(C,E.sessionId).href}catch(G){}E.loadSource(C);const U=()=>{this.hasDetails=!0};E.once(o.LEVEL_LOADED,U),E.once(o.AUDIO_TRACK_LOADED,U),E.once(o.SUBTITLE_TRACK_LOADED,U),E.on(o.MEDIA_ATTACHING,(G,{media:H})=>{this.removeMediaListeners(),this.mediaAttached=H,this.interstitial.playoutLimit&&H.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 s=this.timelineOffset,m=Zn.bufferInfo(t,s,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=Zn.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 s=t-n;if(Math.abs(s)>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,s=this.duration;return Math.min(Math.max(0,t-n),s)}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,s){this.hls.on(t,n)}once(t,n,s){this.hls.once(t,n)}off(t,n,s){this.hls.off(t,n)}toString(){var t,n;return`HlsAssetPlayer: ${ol(this.assetItem)} ${(t=this.hls)==null?void 0:t.sessionId} ${(n=this.interstitial)!=null&&n.appendInPlace?"append-in-place":""}`}}const Xl=.033;class Ql 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((s,m)=>t<=m.startOffset&&n>m.startOffset?(delete m.error,s+1):s,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 s=-1;t.nextEvent?s=this.findEventIndex(t.nextEvent.identifier)-1:t.previousEvent&&(s=this.findEventIndex(t.previousEvent.identifier)+1);const m=this.items;if(m)for(m[s]||(n===void 0&&(n=t.start),s=this.findItemIndexAtTime(n));s>=0&&(E=m[s])!=null&&E.event;){var E;s--}return s}findItemIndexAtTime(t,n){const s=this.items;if(s)for(let m=0;m<s.length;m++){let E=s[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 s=this.items;if(s)for(let m=t;m<=n&&s[m];m++){const E=s[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 s;if(((s=n[m].event)==null?void 0:s.identifier)===t)return m}return-1}findAssetIndex(t,n){const s=t.assetList,m=s.length;if(m>1)for(let E=0;E<m;E++){const C=s[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 s=(t=this.items)==null||(n=t[this.length-1])==null?void 0:n.event;if(s){const m=s.assetList,E=m[m.length-1];if(E)return E.identifier}return null}parseInterstitialDateRanges(t,n){const s=t.main.details,{dateRanges:m}=s,E=this.events,C=this.parseDateRanges(m,{url:s.url},n),U=Object.keys(m),G=E?E.filter(H=>!U.includes(H.identifier)):[];C.length&&C.sort((H,se)=>{const ue=H.cue.pre,ve=H.cue.post,Ae=se.cue.pre,we=se.cue.post;if(ue&&!Ae)return-1;if(Ae&&!ue||ve&&!we)return 1;if(we&&!ve)return-1;if(!ue&&!Ae&&!ve&&!we){const qe=H.startTime,it=se.startTime;if(qe!==it)return qe-it}return H.dateRange.tagOrder-se.dateRange.tagOrder}),this.events=C,G.forEach(H=>{this.removeEvent(H)}),this.updateSchedule(t,G)}updateSchedule(t,n=[]){const s=this.events||[];if(s.length||n.length||this.length<2){const m=this.items,E=this.parseSchedule(s,t);(n.length||(m==null?void 0:m.length)!==E.length||E.some((U,G)=>Math.abs(U.playout.start-m[G].playout.start)>.005||Math.abs(U.playout.end-m[G].playout.end)>.005))&&(this.items=E,this.onScheduleUpdate(n,m))}}parseDateRanges(t,n,s){const m=[],E=Object.keys(t);for(let C=0;C<E.length;C++){const U=E[C],G=t[U];if(G.isInterstitial){let H=this.eventMap[U];H?H.setDateRange(G):(H=new kc(G,n),this.eventMap[U]=H,s===!1&&(H.appendInPlace=s)),m.push(H)}}return m}parseSchedule(t,n){const s=[],m=n.main.details,E=m.live?1/0:m.edge;let C=0;if(t=t.filter(G=>!G.error&&!(G.cue.once&&G.hasPlayed)),t.length){this.resolveOffsets(t,n);let G=0,H=0;if(t.forEach((se,ue)=>{const ve=se.cue.pre,Ae=se.cue.post,we=t[ue-1]||null,qe=se.appendInPlace,it=Ae?E:se.startOffset,jt=se.duration,ir=se.timelineOccupancy===vo.Range?jt:0,er=se.resumptionOffset,Fr=(we==null?void 0:we.startTime)===it,Zr=it+se.cumulativeDuration;let ln=qe?Zr+jt:it+er;if(ve||!Ae&&it<=0){const an=H;H+=ir,se.timelineStart=Zr;const yn=C;C+=jt,s.push({event:se,start:Zr,end:ln,playout:{start:yn,end:C},integrated:{start:an,end:H}})}else if(it<=E){if(!Fr){const Kr=it-G;if(Kr>Xl){const Vn=G,ci=H;H+=Kr;const rs=C;C+=Kr;const ba={previousEvent:t[ue-1]||null,nextEvent:se,start:Vn,end:Vn+Kr,playout:{start:rs,end:C},integrated:{start:ci,end:H}};s.push(ba)}else Kr>0&&we&&(we.cumulativeDuration+=Kr,s[s.length-1].end=it)}Ae&&(ln=Zr),se.timelineStart=Zr;const an=H;H+=ir;const yn=C;C+=jt,s.push({event:se,start:Zr,end:ln,playout:{start:yn,end:C},integrated:{start:an,end:H}})}else return;const Wr=se.resumeTime;Ae||Wr>E?G=E:G=Wr}),G<E){var U;const se=G,ue=H,ve=E-G;H+=ve;const Ae=C;C+=ve,s.push({previousEvent:((U=s[s.length-1])==null?void 0:U.event)||null,nextEvent:null,start:G,end:se+ve,playout:{start:Ae,end:C},integrated:{start:ue,end:H}})}this.setDurations(E,C,H)}else s.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 s}setDurations(t,n,s){this.durations={primary:t,playout:n,integrated:s}}resolveOffsets(t,n){const s=n.main.details,m=s.live?1/0:s.edge;let E=0,C=-1;t.forEach((U,G)=>{const H=U.cue.pre,se=U.cue.post,ue=H?0:se?m:U.startTime;this.updateAssetDurations(U),C===ue?U.cumulativeDuration=E:(E=0,C=ue),!se&&U.snapOptions.in&&(U.resumeAnchor=bn(null,s.fragments,U.startOffset+U.resumptionOffset,0,0)||void 0),U.appendInPlace&&!U.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(U,n)||(U.appendInPlace=!1)),!U.appendInPlace&&G+1<t.length&&t[G+1].startTime-t[G].resumeTime<Xl&&(t[G+1].appendInPlace=!1,t[G+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${U}`));const Ae=r(U.resumeOffset)?U.resumeOffset:U.duration;E+=Ae})}primaryCanResumeInPlaceAt(t,n){const s=t.resumeTime,m=t.startTime+t.resumptionOffset;return Math.abs(s-m)>il?(this.log(`"${t.identifier}" resumption ${s} not aligned with estimated timeline end ${m}`),!1):n?!Object.keys(n).some(C=>{const U=n[C].details,G=U.edge;if(s>=G)return this.log(`"${t.identifier}" resumption ${s} past ${C} playlist end ${G}`),!1;const H=bn(null,U.fragments,s);if(!H)return this.log(`"${t.identifier}" resumption ${s} does not align with any fragments in ${C} playlist (${U.fragStart}-${U.fragmentEnd})`),!0;const se=C==="audio"?.175:0;return Math.abs(H.start-s)<il+se||Math.abs(H.end-s)<il+se?!1:(this.log(`"${t.identifier}" resumption ${s} not aligned with ${C} fragment bounds (${H.start}-${H.end} sn: ${H.sn} cc: ${H.cc})`),!0)}):(this.log(`"${t.identifier}" resumption ${s} can not be aligned with media (none selected)`),!1)}updateAssetDurations(t){if(!t.assetListLoaded)return;const n=t.timelineStart;let s=0,m=!1,E=!1;t.assetList.forEach((C,U)=>{const G=n+s;C.startOffset=s,C.timelineStart=G,m||(m=C.duration===null),E||(E=!!C.error);const H=C.error?0:C.duration||0;s+=H}),m&&!E?t.duration=Math.max(s,t.duration):t.duration=s}removeEvent(t){t.reset(),delete this.eventMap[t.identifier]}}function su(w){return`[${w.event?'"'+w.event.identifier+'"':"primary"}: ${w.start.toFixed(2)}-${w.end.toFixed(2)}]`}class Yc{constructor(t){this.hls=void 0,this.hls=t}destroy(){this.hls=null}loadAssetList(t,n){const s=t.assetListUrl;let m;try{m=Pl(s,this.hls.sessionId,t.baseUrl)}catch(ve){const Ae=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,ve,s);this.hls.trigger(o.ERROR,Ae);return}n&&m.protocol!=="data:"&&m.searchParams.set("_HLS_start_offset",""+n);const E=this.hls.config,C=E.loader,U=new C(E),G={responseType:"json",url:m.href},H=E.interstitialAssetListLoadPolicy.default,se={loadPolicy:H,timeout:H.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ue={onSuccess:(ve,Ae,we,qe)=>{const it=ve.data,jt=it==null?void 0:it.ASSETS;if(!Array.isArray(jt)){const ir=this.assignAssetListError(t,f.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),we.url,Ae,qe);this.hls.trigger(o.ERROR,ir);return}t.assetListResponse=it,this.hls.trigger(o.ASSET_LIST_LOADED,{event:t,assetListResponse:it,networkDetails:qe})},onError:(ve,Ae,we,qe)=>{const it=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${ve.code} ${ve.text} (${Ae.url})`),Ae.url,qe,we);this.hls.trigger(o.ERROR,it)},onTimeout:(ve,Ae,we)=>{const qe=this.assignAssetListError(t,f.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${Ae.url})`),Ae.url,ve,we);this.hls.trigger(o.ERROR,qe)}};return U.load(G,se,ue),this.hls.trigger(o.ASSET_LIST_LOADING,{event:t}),U}assignAssetListError(t,n,s,m,E,C){return t.error=s,{type:c.NETWORK_ERROR,details:n,fatal:!1,interstitial:t,url:m,error:s,networkDetails:C,stats:E}}}function Eu(w,t,n){go(w,t,n),w.addEventListener(t,n)}function go(w,t,n){w.removeEventListener(t,n)}function Il(w){w==null||w.play().catch(()=>{})}class ql 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 s=this.currentTime;if(s===void 0||this.playbackDisabled)return;const m=s-this.timelinePos;if(Math.abs(m)<1/7056e5)return;const C=m<=-.01;this.timelinePos=s,this.bufferedPos=s;const U=this.playingItem;if(!U){this.checkBuffer();return}if(C&&this.schedule.resetErrorsInRange(s,s-m)&&this.updateSchedule(),this.checkBuffer(),C&&s<U.start||s>=U.end){var G;const ve=this.schedule.findItemIndexAtTime(this.timelinePos);if(!this.isInterstitial(U)&&(G=this.media)!=null&&G.paused&&(this.shouldPlay=!1),!C){const Ae=this.findItemIndex(U);if(ve>Ae){const we=this.schedule.findJumpRestrictedIndex(Ae+1,ve);if(we>Ae){this.setSchedulePosition(we);return}}}this.setSchedulePosition(ve);return}const H=this.playingAsset;if(!H){if(this.playingLastItem&&this.isInterstitial(U)){const ve=U.event.assetList[0];ve&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(s,ve))}return}const se=H.timelineStart,ue=H.duration||0;(C&&s<se||s>=se+ue)&&this.setScheduleToAssetAtTime(s,H)},this.onTimeupdate=()=>{const s=this.currentTime;if(s===void 0||this.playbackDisabled)return;if(s>this.timelinePos)this.timelinePos=s,s>this.bufferedPos&&this.checkBuffer();else return;const m=this.playingItem;if(!m||this.playingLastItem)return;if(s>=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);s>=C&&this.setScheduleToAssetAtTime(s,E)},this.onScheduleUpdate=(s,m)=>{const E=this.schedule,C=this.playingItem,U=E.events||[],G=E.items||[],H=E.durations,se=s.map(Ae=>Ae.identifier),ue=!!(U.length||se.length);if(ue&&this.log(`INTERSTITIALS_UPDATED (${U.length}): ${U}
|
|
|
Schedule: ${G.map(Ae=>su(Ae))}`),se.length&&this.log(`Removed events ${se}`),this.playerQueue.forEach(Ae=>{if(Ae.interstitial.appendInPlace){const we=Ae.assetItem.timelineStart,qe=Ae.timelineOffset-we;if(qe)try{Ae.timelineOffset=we}catch(it){Math.abs(qe)>il&&this.warn(`${it} ("${Ae.assetId}" ${Ae.timelineOffset}->${we})`)}}}),C){const Ae=this.updateItem(C,this.timelinePos);this.itemsMatch(C,Ae)&&(this.playingItem=Ae,this.waitingItem=this.endedItem=null)}else this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const ve=this.bufferingItem;if(ve){const Ae=this.updateItem(ve,this.bufferedPos);this.itemsMatch(ve,Ae)?this.bufferingItem=Ae:ve.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(ve.event,null))}if(s.forEach(Ae=>{Ae.assetList.forEach(we=>{this.clearAssetPlayer(we.identifier,null)})}),ue||m){if(this.hls.trigger(o.INTERSTITIALS_UPDATED,{events:U.slice(0),schedule:G.slice(0),durations:H,removedIds:se}),this.isInterstitial(C)&&se.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 Yc(t),this.schedule=new Ql(this.onScheduleUpdate,t.logger),this.registerListeners()}registerListeners(){const t=this.hls;t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.on(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(o.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.on(o.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.on(o.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.BUFFERED_TO_END,this.onBufferedToEnd,this),t.on(o.MEDIA_ENDED,this.onMediaEnded,this),t.on(o.ERROR,this.onError,this),t.on(o.DESTROYING,this.onDestroying,this)}unregisterListeners(){const t=this.hls;t&&(t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.off(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(o.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.off(o.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.off(o.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.BUFFERED_TO_END,this.onBufferedToEnd,this),t.off(o.MEDIA_ENDED,this.onMediaEnded,this),t.off(o.ERROR,this.onError,this),t.off(o.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){go(t,"play",this.onPlay),go(t,"pause",this.onPause),go(t,"seeking",this.onSeeking),go(t,"timeupdate",this.onTimeupdate)}onMediaAttaching(t,n){const s=this.media=n.media;Eu(s,"seeking",this.onSeeking),Eu(s,"timeupdate",this.onTimeupdate),Eu(s,"play",this.onPlay),Eu(s,"pause",this.onPause)}onMediaAttached(t,n){const s=this.effectivePlayingItem,m=this.detachedData;if(this.detachedData=null,s===null)this.checkStart();else if(!m){this.clearScheduleState();const E=this.findItemIndex(s);this.setSchedulePosition(E)}}clearScheduleState(){this.playingItem=this.bufferingItem=this.waitingItem=this.endedItem=this.playingAsset=this.endedAsset=this.bufferingAsset=null}onMediaDetaching(t,n){const s=!!n.transferMedia,m=this.media;if(this.media=null,!s&&(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,s=ue=>ue&&t.getAssetPlayer(ue.identifier),m=(ue,ve,Ae,we,qe)=>{if(ue){let it=ue[ve].start;const jt=ue.event;if(jt){if(ve==="playout"||jt.timelineOccupancy!==vo.Point){const ir=s(Ae);(ir==null?void 0:ir.interstitial)===jt&&(it+=ir.assetItem.startOffset+ir[qe])}}else{const ir=we==="bufferedPos"?C():t[we];it+=ir-ue.start}return it}return 0},E=(ue,ve)=>{if(ue!==0&&ve!=="primary"&&t.schedule.length){var Ae;const we=t.schedule.findItemIndexAtTime(ue),qe=(Ae=t.schedule.items)==null?void 0:Ae[we];if(qe){const it=qe[ve].start-qe.start;return ue+it}}return ue},C=()=>{const ue=t.bufferedPos;return ue===Number.MAX_VALUE?U("primary"):Math.max(ue,0)},U=ue=>{var ve;return(ve=t.primaryDetails)!=null&&ve.live?t.primaryDetails.edge:t.schedule.durations[ue]},G=(ue,ve)=>{var Ae,we;const qe=t.effectivePlayingItem;if(qe!=null&&(Ae=qe.event)!=null&&Ae.restrictions.skip)return;t.log(`seek to ${ue} "${ve}"`);const it=t.effectivePlayingItem,jt=t.schedule.findItemIndexAtTime(ue,ve),ir=(we=t.schedule.items)==null?void 0:we[jt],er=t.getBufferingPlayer(),Fr=er==null?void 0:er.interstitial,Zr=Fr==null?void 0:Fr.appendInPlace,ln=it&&t.itemsMatch(it,ir);if(it&&(Zr||ln)){const an=s(t.playingAsset),yn=(an==null?void 0:an.media)||t.primaryMedia;if(yn){const Kr=ve==="primary"?yn.currentTime:m(it,ve,t.playingAsset,"timelinePos","currentTime"),Vn=ue-Kr,ci=(Zr?Kr:yn.currentTime)+Vn;if(ci>=0&&(!an||Zr||ci<=an.duration)){yn.currentTime=ci;return}}}if(ir){let an=ue;if(ve!=="primary"){const Kr=ir[ve].start,Vn=ue-Kr;an=ir.start+Vn}const yn=!t.isInterstitial(ir);if((!t.isInterstitial(it)||it.event.appendInPlace)&&(yn||ir.event.appendInPlace)){const Kr=t.media||(Zr?er==null?void 0:er.media:null);Kr&&(Kr.currentTime=an)}else if(it){const Kr=t.findItemIndex(it);if(jt>Kr){const ci=t.schedule.findJumpRestrictedIndex(Kr+1,jt);if(ci>Kr){t.setSchedulePosition(ci);return}}let Vn=0;if(yn)t.timelinePos=an,t.checkBuffer();else{var Wr;const ci=ir==null||(Wr=ir.event)==null?void 0:Wr.assetList;if(ci){const rs=ue-(ir[ve]||ir).start;for(let ba=ci.length;ba--;){const Ji=ci[ba];if(Ji.duration&&rs>=Ji.startOffset&&rs<Ji.startOffset+Ji.duration){Vn=ba;break}}}}t.setSchedulePosition(jt,Vn)}}},H=()=>{const ue=t.effectivePlayingItem;if(t.isInterstitial(ue))return ue;const ve=n();return t.isInterstitial(ve)?ve:null},se={get currentTime(){const ue=H(),ve=t.effectivePlayingItem;return ve&&ve===ue?m(ve,"playout",t.effectivePlayingAsset,"timelinePos","currentTime")-ve.playout.start:0},set currentTime(ue){const ve=H(),Ae=t.effectivePlayingItem;Ae&&Ae===ve&&G(ue+Ae.playout.start,"playout")},get duration(){const ue=H();return ue?ue.playout.end-ue.playout.start:0},get assetPlayers(){var ue;const ve=(ue=H())==null?void 0:ue.event.assetList;return ve?ve.map(Ae=>t.getAssetPlayer(Ae.identifier)):[]},get playingIndex(){var ue;const ve=(ue=H())==null?void 0:ue.event;return ve&&t.effectivePlayingAsset?ve.findAssetIndex(t.effectivePlayingAsset):-1},get scheduleItem(){return H()}};this.manager={get events(){var ue,ve;return((ue=t.schedule)==null||(ve=ue.events)==null?void 0:ve.slice(0))||[]},get schedule(){var ue,ve;return((ue=t.schedule)==null||(ve=ue.items)==null?void 0:ve.slice(0))||[]},get interstitialPlayer(){return H()?se:null},get playerQueue(){return t.playerQueue.slice(0)},get bufferingAsset(){return t.bufferingAsset},get bufferingItem(){return n()},get bufferingIndex(){const ue=n();return t.findItemIndex(ue)},get playingAsset(){return t.effectivePlayingAsset},get playingItem(){return t.effectivePlayingItem},get playingIndex(){const ue=t.effectivePlayingItem;return t.findItemIndex(ue)},primary:{get bufferedEnd(){return C()},get currentTime(){const ue=t.timelinePos;return ue>0?ue:0},set currentTime(ue){G(ue,"primary")},get duration(){return U("primary")},get seekableStart(){var ue;return((ue=t.primaryDetails)==null?void 0:ue.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(ue){G(ue,"integrated")},get duration(){return U("integrated")},get seekableStart(){var ue;return E(((ue=t.primaryDetails)==null?void 0:ue.fragmentStart)||0,"integrated")}},skip:()=>{const ue=t.effectivePlayingItem,ve=ue==null?void 0:ue.event;if(ve&&!ve.restrictions.skip){const Ae=t.findItemIndex(ue);if(ve.appendInPlace){const we=ue.playout.start+ue.event.duration;G(we+.001,"playout")}else t.advanceAfterAssetEnded(ve,Ae,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,s=(t=this.schedule)==null?void 0:t.items;return!this.playbackStarted||!n||!s?!1:this.findItemIndex(n)===s.length-1}get playbackStarted(){return this.effectivePlayingItem!==null}get currentTime(){var t,n,s;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=(s=E)==null?void 0:s.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 s=this.getAssetPlayer(t);s&&this.transferMediaFromPlayer(s,n)}transferMediaFromPlayer(t,n){const s=t.interstitial.appendInPlace,m=t.media;if(s&&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} ${Nn(E)}`),this.detachedData=E}else n&&m&&(this.shouldPlay||(this.shouldPlay=!m.paused))}transferMediaTo(t,n){var s,m;if(t.media===n)return;let E=null;const C=this.hls,U=t!==C,G=U&&t.interstitial.appendInPlace,H=(s=this.detachedData)==null?void 0:s.mediaSource;let se;if(C.media)G&&(E=C.transferMedia(),this.detachedData=E),se="Primary";else if(H){const Ae=this.getBufferingPlayer();Ae?(E=Ae.transferMedia(),se=`${Ae}`):se="detached MediaSource"}else se="detached media";if(!E){if(H)E=this.detachedData,this.log(`using detachedData: MediaSource ${Nn(E)}`);else if(!this.detachedData||C.media===n){const Ae=this.playerQueue;Ae.length>1&&Ae.forEach(we=>{if(U&&we.interstitial.appendInPlace!==G){const qe=we.interstitial;this.clearInterstitial(we.interstitial,null),qe.appendInPlace=!1,qe.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${qe}`)}}),this.hls.detachMedia(),this.detachedData={media:n}}}const ue=E&&"mediaSource"in E&&((m=E.mediaSource)==null?void 0:m.readyState)!=="closed",ve=ue&&E?E:n;if(this.log(`${ue?"transfering MediaSource":"attaching media"} to ${U?t:"Primary"} from ${se}`),ve===E){const Ae=U&&t.assetId===this.schedule.assetIdAtEnd;ve.overrides={duration:this.schedule.duration,endOfStream:!U||Ae,cueRemoval:!U}}t.attachMedia(ve)}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 s=this.timelinePos,m=this.effectivePlayingItem;if(s===-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,s){const m=s+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 G=t.resumeTime;this.timelinePos<G&&(this.timelinePos=G,this.checkBuffer()),this.setSchedulePosition(C)}}}setScheduleToAssetAtTime(t,n){const s=this.schedule,m=n.parentIdentifier,E=s.getEvent(m);if(E){const C=s.findEventIndex(m),U=s.findAssetIndex(E,t);this.setSchedulePosition(C,U)}}setSchedulePosition(t,n){const s=this.schedule.items;if(!s||this.playbackDisabled)return;this.log(`setSchedulePosition ${t}, ${n}`);const m=t>=0?s[t]:null,E=this.playingItem,C=this.playingLastItem;if(this.isInterstitial(E)){var U;const H=E.event,se=this.playingAsset,ue=se==null?void 0:se.identifier,ve=ue?this.getAssetPlayer(ue):null;if(ve&&ue&&(!this.eventItemsMatch(E,m)||n!==void 0&&ue!==((U=H.assetList)==null?void 0:U[n].identifier))){var G;const Ae=H.findAssetIndex(se);this.log(`INTERSTITIAL_ASSET_ENDED ${Ae+1}/${H.assetList.length} ${ol(se)}`),this.endedAsset=se,this.playingAsset=null,this.hls.trigger(o.INTERSTITIAL_ASSET_ENDED,{asset:se,assetListIndex:Ae,event:H,schedule:s.slice(0),scheduleIndex:t,player:ve}),this.retreiveMediaSource(ue,m),ve.media&&!((G=this.detachedData)!=null&&G.mediaSource)&&ve.detachMedia()}if(!this.eventItemsMatch(E,m)&&(this.endedItem=E,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${H} ${su(E)}`),H.hasPlayed=!0,this.hls.trigger(o.INTERSTITIAL_ENDED,{event:H,schedule:s.slice(0),scheduleIndex:t}),H.cue.once)){this.updateSchedule();const Ae=this.schedule.items;if(m&&Ae){const we=this.schedule.findItemIndex(m);this.advanceSchedule(we,Ae,n,E,C)}return}}this.advanceSchedule(t,s,n,E,C)}advanceSchedule(t,n,s,m,E){const C=t>=0?n[t]:null,U=this.primaryMedia,G=this.playerQueue;if(G.length&&G.forEach(H=>{const se=H.interstitial,ue=this.schedule.findEventIndex(se.identifier);(ue<t||ue>t+1)&&this.clearInterstitial(se,C)}),this.isInterstitial(C)){this.timelinePos=Math.min(Math.max(this.timelinePos,C.start),C.end);const H=C.event;s===void 0&&(s=this.schedule.findAssetIndex(H,this.timelinePos));const se=this.waitingItem;this.assetsBuffered(C,U)||this.setBufferingItem(C);let ue=this.preloadAssets(H,s);if(this.eventItemsMatch(C,se||m)||(this.waitingItem=C,this.log(`INTERSTITIAL_STARTED ${su(C)} ${H.appendInPlace?"append in place":""}`),this.hls.trigger(o.INTERSTITIAL_STARTED,{event:H,schedule:n.slice(0),scheduleIndex:t})),!H.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${H}`);return}if(H.assetListLoader&&(H.assetListLoader.destroy(),H.assetListLoader=void 0),!U){this.log(`Waiting for attachMedia to start Interstitial ${H}`);return}this.waitingItem=this.endedItem=null,this.playingItem=C;const ve=H.assetList[s];if(!ve){const Ae=n[t+1],we=this.media;Ae&&we&&!this.isInterstitial(Ae)&&we.currentTime<Ae.start&&(we.currentTime=this.timelinePos=Ae.start),this.advanceAfterAssetEnded(H,t,s||0);return}if(ue||(ue=this.getAssetPlayer(ve.identifier)),ue===null||ue.destroyed){const Ae=H.assetList.length;this.warn(`asset ${s+1}/${Ae} player destroyed ${H}`),ue=this.createAssetPlayer(H,ve,s)}if(!this.eventItemsMatch(C,this.bufferingItem)&&H.appendInPlace&&this.isAssetBuffered(ve))return;this.startAssetPlayer(ue,s,n,t,U),this.shouldPlay&&Il(ue.media)}else C!==null?(this.resumePrimary(C,t,m),this.shouldPlay&&Il(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,s){var m;if(this.playingItem=t,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(t),this.log(`resuming ${su(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(!s)return;const E=this.schedule.items;E&&(this.log(`resumed ${su(t)}`),this.hls.trigger(o.INTERSTITIALS_PRIMARY_RESUMED,{schedule:E.slice(0),scheduleIndex:n}),this.checkBuffer())}getPrimaryResumption(t,n){const s=t.start;if(this.primaryLive){const m=this.primaryDetails;if(n===0)return this.hls.startPosition;if(m&&(s<m.fragmentStart||s>m.edge))return this.hls.liveSyncPosition||-1}return s}isAssetBuffered(t){const n=this.getAssetPlayer(t.identifier);return n!=null&&n.hls?n.hls.bufferedToEnd:Zn.bufferInfo(this.primaryMedia,this.timelinePos,0).end+1>=t.timelineStart+(t.duration||0)}attachPrimary(t,n,s){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),s&&this.startLoadingPrimaryAt(t,s)),s||(this.timelinePos=t,this.startLoadingPrimaryAt(t,s))}startLoadingPrimaryAt(t,n){var s;const m=this.hls;!m.loadingEnabled||!m.media||Math.abs((((s=m.mainForwardBufferInfo)==null?void 0:s.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(o.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(o.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(t,n){if(n.level===-1)return;const s=this.hls.levels[n.level],m=b(b({},this.mediaSelection||this.altSelection),{},{main:s});this.mediaSelection=m,this.schedule.parseInterstitialDateRanges(m,this.hls.config.interstitialAppendInPlace),!this.effectivePlayingItem&&this.schedule.items&&this.checkStart()}onAudioTrackUpdated(t,n){const s=this.hls.audioTracks[n.id],m=this.mediaSelection;if(!m){this.altSelection=b(b({},this.altSelection),{},{audio:s});return}const E=b(b({},m),{},{audio:s});this.mediaSelection=E}onSubtitleTrackUpdated(t,n){const s=this.hls.subtitleTracks[n.id],m=this.mediaSelection;if(!m){this.altSelection=b(b({},this.altSelection),{},{subtitles:s});return}const E=b(b({},m),{},{subtitles:s});this.mediaSelection=E}onAudioTrackSwitching(t,n){const s=di(n);this.playerQueue.forEach(m=>m.hls.setAudioOption(n)||m.hls.setAudioOption(s))}onSubtitleTrackSwitch(t,n){const s=di(n);this.playerQueue.forEach(m=>m.hls.setSubtitleOption(n)||n.id!==-1&&m.hls.setSubtitleOption(s))}onBufferCodecs(t,n){const s=n.tracks;s&&(this.requiredTracks=s)}onBufferAppended(t,n){this.checkBuffer()}onBufferFlushed(t,n){const s=this.playingItem;if(s&&!this.itemsMatch(s,this.bufferingItem)&&!this.isInterstitial(s)){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 s;const C=this.schedule.findEventIndex(E.identifier),U=(s=this.schedule.items)==null?void 0:s[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 s=this.findItemIndex(n);this.setSchedulePosition(s+1)}else this.shouldPlay=!1}updateItem(t,n){const s=this.schedule.items;if(t&&s){const m=this.findItemIndex(t,n);return s[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 s;return!!n&&(t===n||t.event.identifier===((s=n.event)==null?void 0:s.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 s=Zn.bufferInfo(this.primaryMedia,this.timelinePos,0);t&&(this.bufferedPos=this.timelinePos),t||(t=s.len<1),this.updateBufferedPos(s.end,n,t)}updateBufferedPos(t,n,s){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 G=m.findItemIndexAtTime(t);if(this.bufferedPos<t){var H,se;const ue=this.findItemIndex(E),ve=Math.min(ue+1,n.length-1),Ae=n[ve];if((G===-1&&E&&t>=E.end||(H=Ae.event)!=null&&H.appendInPlace&&t+.01>=Ae.start)&&(G=ve),ve-U>1&&(E==null||(se=E.event)==null?void 0:se.appendInPlace)===!1)return;if(this.bufferedPos=t,G>ue&&G>U)this.bufferedToItem(Ae);else{const we=this.primaryDetails;this.primaryLive&&we&&t>we.edge-we.targetduration&&Ae.start<we.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(Ae)&&this.preloadAssets(Ae.event,0)}}else s&&C&&!this.itemsMatch(C,E)&&(G===U?this.bufferedToItem(C):G===U+1&&this.bufferedToItem(n[G]))}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,s=this.schedule;if(this.itemsMatch(t,n))this.bufferingItem!==t&&(this.bufferingItem=t);else{const{items:m,events:E}=s;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 G=U?U.remaining:n?n.end-this.timelinePos:0;this.log(`buffered to boundary ${su(t)}`+(n?` (${G.toFixed(2)} remaining)`:"")),C?t.event.assetList.forEach(H=>{const se=this.getAssetPlayer(H.identifier);se&&se.resumeBuffering()}):(this.hls.resumeBuffering(),this.playerQueue.forEach(H=>H.pauseBuffering()))}this.hls.trigger(o.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 s=this.setBufferingItem(t);if(!this.playbackDisabled){if(this.isInterstitial(t))this.bufferedToEvent(t,n);else if(s!==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),s=this.getPrimaryResumption(t,n);this.startLoadingPrimaryAt(s)}bufferedToEvent(t,n){const s=t.event,m=s.assetList.length===0&&!s.assetListLoader,E=s.cue.once;if(m||!E){const C=this.preloadAssets(s,n);if(C!=null&&C.interstitial.appendInPlace){const U=s.assetList[n],G=this.primaryMedia;U&&G&&this.bufferAssetPlayer(C,G)}}}preloadAssets(t,n){const s=t.assetUrl,m=t.assetList.length,E=m===0&&!t.assetListLoader,C=t.cue.once;if(E){const G=t.timelineStart;if(t.appendInPlace){var U;const ve=this.playingItem;!this.isInterstitial(ve)&&(ve==null||(U=ve.nextEvent)==null?void 0:U.identifier)===t.identifier&&this.flushFrontBuffer(G+.25)}let H,se=0;if(!this.playingItem&&this.primaryLive&&(se=this.hls.startPosition,se===-1&&(se=this.hls.liveSyncPosition||0)),se&&!(t.cue.pre||t.cue.post)){const ve=se-G;ve>0&&(H=Math.round(ve*1e3)/1e3)}if(this.log(`Load interstitial asset ${n+1}/${s?1:m} ${t}${H?` live-start: ${se} start-offset: ${H}`:""}`),s)return this.createAsset(t,0,0,G,t.duration,s);const ue=this.assetListLoader.loadAssetList(t,H);ue&&(t.assetListLoader=ue)}else if(!C&&m){for(let G=n;G<m;G++){const H=t.assetList[G],se=this.getAssetPlayerQueueIndex(H.identifier);(se===-1||this.playerQueue[se].destroyed)&&!H.error&&this.createAssetPlayer(t,H,G)}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(o.BUFFER_FLUSHING,{startOffset:t,endOffset:1/0,type:m})})}getAssetPlayerQueueIndex(t){const n=this.playerQueue;for(let s=0;s<n.length;s++)if(t===n[s].assetId)return s;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 s=0;s<t.length;s++)if(t[s].media===n)return t[s]}return null}createAsset(t,n,s,m,E,C){const U={parentIdentifier:t.identifier,identifier:al(t,C,n),duration:E,startOffset:s,timelineStart:m,uri:C};return this.createAssetPlayer(t,U,n)}createAssetPlayer(t,n,s){this.log(`create HLSAssetPlayer for ${ol(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 G=m.audioTracks[m.audioTrack],H=m.subtitleTracks[m.subtitleTrack];let se=0;if(this.primaryLive||t.appendInPlace){const er=this.timelinePos-n.timelineStart;if(er>1){const Fr=n.duration;Fr&&er<Fr&&(se=er)}}const ue=n.identifier,ve=b(b({},E),{},{autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:m.sessionId,assetPlayerId:ue,abrEwmaDefaultEstimate:m.bandwidthEstimate,interstitialsController:void 0,startPosition:se,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:C,audioPreference:G||E.audioPreference,subtitlePreference:H||E.subtitlePreference});t.appendInPlace&&(t.appendInPlaceStarted=!0,n.timelineStart&&(ve.timelineOffset=n.timelineStart));const Ae=ve.cmcd;Ae!=null&&Ae.sessionId&&Ae.contentId&&(ve.cmcd=y({},Ae,{contentId:pc(n.uri)})),this.getAssetPlayer(ue)&&this.warn(`Duplicate date range identifier ${t} and asset ${ue}`);const we=new uf(this.HlsPlayerClass,ve,t,n);this.playerQueue.push(we),t.assetList[s]=n;const qe=er=>{if(er.live){const ln=new Error(`Interstitials MUST be VOD assets ${t}`),Wr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:ln};this.handleAssetItemError(Wr,t,this.schedule.findEventIndex(t.identifier),s,ln.message);return}const Fr=er.edge-er.fragmentStart,Zr=n.duration;(Zr===null||Fr>Zr)&&(this.log(`Interstitial asset "${ue}" duration change ${Zr} > ${Fr}`),n.duration=Fr,this.updateSchedule())};we.on(o.LEVEL_UPDATED,(er,{details:Fr})=>qe(Fr)),we.on(o.LEVEL_PTS_UPDATED,(er,{details:Fr})=>qe(Fr));const it=(er,Fr)=>{const Zr=this.getAssetPlayer(ue);if(Zr&&Fr.tracks){Zr.off(o.BUFFER_CODECS,it),Zr.tracks=Fr.tracks;const ln=this.primaryMedia;this.bufferingAsset===Zr.assetItem&&ln&&!Zr.media&&this.bufferAssetPlayer(Zr,ln)}};we.on(o.BUFFER_CODECS,it);const jt=()=>{var er;const Fr=this.getAssetPlayer(ue);if(this.log(`buffered to end of asset ${Fr}`),!Fr)return;const Zr=this.schedule.findEventIndex(t.identifier),ln=t.findAssetIndex(n),Wr=ln+1,an=(er=this.schedule.items)==null?void 0:er[Zr];if(this.isInterstitial(an))if(ln!==-1&&!t.isAssetPastPlayoutLimit(Wr)&&!t.assetList[Wr].error)this.bufferedToItem(an,Wr);else{var yn;const Kr=(yn=this.schedule.items)==null?void 0:yn[Zr+1];Kr&&this.bufferedToItem(Kr)}};we.on(o.BUFFERED_TO_END,jt);const ir=er=>()=>{if(!this.getAssetPlayer(ue))return;this.shouldPlay=!0;const Zr=this.schedule.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,Zr,er)};return we.once(o.MEDIA_ENDED,ir(s)),we.once(o.PLAYOUT_LIMIT_REACHED,ir(1/0)),we.on(o.ERROR,(er,Fr)=>{const Zr=this.getAssetPlayer(ue);if(Fr.details===f.BUFFER_STALLED_ERROR){if(Zr!=null&&Zr.media){const ln=Zr.currentTime,Wr=Zr.duration-ln;ln&&t.appendInPlace&&Wr/Zr.media.playbackRate<.5?(this.log(`Advancing buffer past end of asset ${ue} ${t} at ${Zr.media.currentTime}`),jt()):(this.warn(`Stalled at ${ln} of ${ln+Wr} in asset ${ue} ${t}`),this.onTimeupdate(),this.checkBuffer(!0))}return}this.handleAssetItemError(Fr,t,this.schedule.findEventIndex(t.identifier),s,`Asset player error ${Fr.error} ${t}`)}),we.on(o.DESTROYING,()=>{if(!this.getAssetPlayer(ue))return;const Fr=new Error(`Asset player destroyed unexpectedly ${ue}`),Zr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Fr};this.handleAssetItemError(Zr,t,this.schedule.findEventIndex(t.identifier),s,Fr.message)}),this.hls.trigger(o.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:n,assetListIndex:s,event:t,player:we}),we}clearInterstitial(t,n){t.assetList.forEach(s=>{this.clearAssetPlayer(s.identifier,n)}),t.reset()}clearAssetPlayer(t,n){const s=this.getAssetPlayerQueueIndex(t);if(s!==-1){this.log(`clearAssetPlayer "${t}" toSegment: ${n&&su(n)}`);const m=this.playerQueue[s];this.transferMediaFromPlayer(m,n),this.playerQueue.splice(s,1),m.destroy()}}emptyPlayerQueue(){let t;for(;t=this.playerQueue.pop();)t.destroy();this.playerQueue=[]}startAssetPlayer(t,n,s,m,E){const{interstitial:C,assetItem:U,assetId:G}=t,H=C.assetList.length,se=this.playingAsset;this.endedAsset=null,this.playingAsset=U,(!se||se.identifier!==G)&&(se&&(this.clearAssetPlayer(se.identifier,s[m]),delete se.error),this.log(`INTERSTITIAL_ASSET_STARTED ${n+1}/${H} ${t}`),this.hls.trigger(o.INTERSTITIAL_ASSET_STARTED,{asset:U,assetListIndex:n,event:C,schedule:s.slice(0),scheduleIndex:m,player:t})),this.bufferAssetPlayer(t,E)}bufferAssetPlayer(t,n){var s,m;const{interstitial:E,assetItem:C,assetId:U}=t,G=this.schedule.findEventIndex(E.identifier),H=(s=this.schedule.items)==null?void 0:s[G];if(!H)return;this.setBufferingItem(H),this.bufferingAsset=C;const se=this.getBufferingPlayer();if(se===t)return;const ue=E.appendInPlace;if(ue&&(se==null?void 0:se.interstitial.appendInPlace)===!1)return;const ve=(se==null?void 0:se.tracks)||((m=this.detachedData)==null?void 0:m.tracks)||this.requiredTracks;if(ue&&C!==this.playingAsset){if(!t.tracks)return;if(ve&&!ce(ve,t.tracks)){const Ae=new Error(`Asset "${U}" SourceBuffer tracks ('${Object.keys(t.tracks)}') are not compatible with primary content tracks ('${Object.keys(ve)}')`),we={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Ae},qe=E.findAssetIndex(C);this.handleAssetItemError(we,E,G,qe,Ae.message);return}}this.transferMediaTo(t,n)}handleAssetItemError(t,n,s,m,E){if(t.details===f.BUFFER_STALLED_ERROR)return;const C=n.assetList[m]||null;let U=null;if(C){const ue=this.getAssetPlayerQueueIndex(C.identifier);U=this.playerQueue[ue]||null}const G=this.schedule.items,H=y({},t,{fatal:!1,errorAction:Pr(!0),asset:C,assetListIndex:m,event:n,schedule:G,scheduleIndex:s,player:U});if(this.warn(`Asset item error: ${t.error}`),this.hls.trigger(o.INTERSTITIAL_ASSET_ERROR,H),!t.fatal)return;const se=new Error(E);C&&(this.playingAsset!==C&&this.clearAssetPlayer(C.identifier,null),C.error=se),n.assetList.some(ue=>!ue.error)?n.appendInPlace&&(n.error=se):n.error=se,this.primaryFallback(n)}primaryFallback(t){const n=t.timelineStart,s=this.effectivePlayingItem;if(this.updateSchedule(),s){this.log(`Fallback to primary from event "${t.identifier}" start: ${n} pos: ${this.timelinePos} playing: ${s?su(s):"<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(s,m);if(this.itemsMatch(s,E))this.clearInterstitial(t,null);else{const C=this.schedule.findItemIndexAtTime(m);this.setSchedulePosition(C)}}else this.checkStart()}onAssetListLoaded(t,n){var s;const m=n.event,E=m.identifier,C=n.assetListResponse.ASSETS;if(!this.schedule.hasEvent(E))return;const U=m.timelineStart,G=m.duration;let H=0;C.forEach((we,qe)=>{const it=parseFloat(we.DURATION);this.createAsset(m,qe,H,U+H,it,we.URI),H+=it}),m.duration=H,this.log(`Loaded asset-list with duration: ${H} (was: ${G}) ${m}`);const se=this.waitingItem,ue=(se==null?void 0:se.event.identifier)===E;this.updateSchedule();const ve=(s=this.bufferingItem)==null?void 0:s.event;if(ue){var Ae;const we=this.schedule.findEventIndex(E),qe=(Ae=this.schedule.items)==null?void 0:Ae[we];if(qe){if(!this.playingItem&&this.timelinePos>qe.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==we){m.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${m}`),this.primaryFallback(m);return}this.setBufferingItem(qe)}this.setSchedulePosition(we)}else if((ve==null?void 0:ve.identifier)===E&&ve.appendInPlace){const we=m.assetList[0],qe=this.getAssetPlayer(we.identifier),it=this.primaryMedia;we&&qe&&it&&this.bufferAssetPlayer(qe,it)}}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 s=n.interstitial;s&&this.primaryFallback(s);break}case f.BUFFER_STALLED_ERROR:{this.onTimeupdate(),this.checkBuffer(!0);break}}}}const _c=500;class mc extends da{constructor(t,n,s){super(t,n,s,"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(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(o.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(o.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(o.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(o.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}startLoad(t,n){this.stopLoad(),this.state=Hr.IDLE,this.setInterval(_c),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:s,success:m}=n;if(de(s)&&(this.fragPrevious=s),this.state=Hr.IDLE,!m)return;const E=this.tracksBuffered[this.currentTrackId];if(!E)return;let C;const U=s.start;for(let H=0;H<E.length;H++)if(U>=E[H].start&&U<=E[H].end){C=E[H];break}const G=s.start+s.duration;C?C.end=G:(C={start:U,end:G},E.push(C)),this.fragmentTracker.fragBuffered(s),this.fragBufferedComplete(s,null),this.media&&this.tick()}onBufferFlushing(t,n){const{startOffset:s,endOffset:m}=n;if(s===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(s,E,u.SUBTITLE)}}onError(t,n){const s=n.frag;(s==null?void 0:s.type)===u.SUBTITLE&&(n.details===f.FRAG_GAP&&this.fragmentTracker.fragBuffered(s,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==Hr.STOPPED&&(this.state=Hr.IDLE))}onSubtitleTracksUpdated(t,{subtitleTracks:n}){if(this.levels&&xl(this.levels,n)){this.levels=n.map(s=>new _r(s));return}this.tracksBuffered=[],this.levels=n.map(s=>{const m=new _r(s);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 s;if(this.currentTrackId=n.id,!((s=this.levels)!=null&&s.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!==Hr.STOPPED&&this.setInterval(_c)}onSubtitleTrackLoaded(t,n){var s;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 G=E[U];if(U>=E.length||!G)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 H=0;if(C.live||(s=G.details)!=null&&s.live){const ue=this.mainDetails;if(C.deltaUpdateFailed||!ue)return;const ve=ue.fragments[0];if(!G.details)C.hasProgramDateTime&&ue.hasProgramDateTime?(zi(C,ue),H=C.fragmentStart):ve&&(H=ve.start,$n(C,H));else{var se;H=this.alignPlaylists(C,G.details,(se=this.levelLastLoaded)==null?void 0:se.details),H===0&&ve&&(H=ve.start,$n(C,H))}}G.details=C,this.levelLastLoaded=G,U===m&&(this.hls.trigger(o.SUBTITLE_TRACK_UPDATED,{details:C,id:U,groupId:n.groupId}),this.tick(),C.live&&!this.fragCurrent&&this.media&&this.state===Hr.IDLE&&(bn(null,C.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),G.details=void 0)))}_handleFragmentLoadComplete(t){const{frag:n,payload:s}=t,m=n.decryptdata,E=this.hls;if(!this.fragContextChanged(n)&&s&&s.byteLength>0&&m!=null&&m.key&&m.iv&&Li(m.method)){const C=performance.now();this.decrypter.decrypt(new Uint8Array(s),m.key.buffer,m.iv.buffer,Da(m.method)).catch(U=>{throw E.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:U,reason:U.message,frag:n}),U}).then(U=>{const G=performance.now();E.trigger(o.FRAG_DECRYPTED,{frag:n,payload:U,stats:{tstart:C,tdecrypt:G}})}).catch(U=>{this.warn(`${U.name}: ${U.message}`),this.state=Hr.IDLE})}}doTick(){if(!this.media){this.state=Hr.IDLE;return}if(this.state===Hr.IDLE){const{currentTrackId:t,levels:n}=this,s=n==null?void 0:n[t];if(!s||!n.length||!s.details||this.waitForLive(s))return;const{config:m}=this,E=this.getLoadPosition(),C=Zn.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],E,m.maxBufferHole),{end:U,len:G}=C,H=s.details,se=this.hls.maxBufferLength+H.levelTargetDuration;if(G>se)return;const ue=H.fragments,ve=ue.length,Ae=H.edge;let we=null;const qe=this.fragPrevious;if(U<Ae){const ir=m.maxFragLookUpTolerance,er=U>Ae-ir?0:ir;we=bn(qe,ue,Math.max(ue[0].start,U),er),!we&&qe&&qe.start<ue[0].start&&(we=ue[0])}else we=ue[ve-1];if(we=this.filterReplacedPrimary(we,s.details),!we)return;const it=we.sn-H.startSN,jt=ue[it-1];if(jt&&jt.cc===we.cc&&this.fragmentTracker.getState(jt)===br.NOT_LOADED&&(we=jt),this.fragmentTracker.getState(we)===br.NOT_LOADED){const ir=this.mapToInitFragWhenRequired(we);ir&&this.loadFragment(ir,s,U)}}}loadFragment(t,n,s){de(t)?super.loadFragment(t,n,s):this._loadInitSegment(t,n)}get mediaBufferTimeRanges(){return new Xc(this.tracksBuffered[this.currentTrackId]||[])}}class Xc{constructor(t){this.buffered=void 0;const n=(s,m,E)=>{if(m=m>>>0,m>E-1)throw new DOMException(`Failed to execute '${s}' on 'TimeRanges': The index provided (${m}) is greater than the maximum bound (${E})`);return t[m][s]};this.buffered={get length(){return t.length},end(s){return n("end",s,t.length)},start(s){return n("start",s,t.length)}}}}const I={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},O=w=>String.fromCharCode(I[w]||w),k=15,me=100,Re={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},rn={17:2,18:4,21:6,22:8,23:10,19:13,20:15},Bn={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},cn={25:2,26:4,29:6,30:8,31:10,27:13,28:15},Di=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Ua{constructor(){this.time=null,this.verboseLevel=0}log(t,n){if(this.verboseLevel>=t){const s=typeof n=="function"?n():n;W.log(`${this.time} [${t}] ${s}`)}}}const ma=function(t){const n=[];for(let s=0;s<t.length;s++)n.push(t[s].toString(16));return n};class yo{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 s=0;s<n.length;s++){const m=n[s];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 ts{constructor(){this.uchar=" ",this.penState=new yo}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 fo{constructor(t){this.chars=[],this.pos=0,this.currPenState=new yo,this.cueStartTime=null,this.logger=void 0;for(let n=0;n<me;n++)this.chars.push(new ts);this.logger=t}equals(t){for(let n=0;n<me;n++)if(!this.chars[n].equals(t.chars[n]))return!1;return!0}copy(t){for(let n=0;n<me;n++)this.chars[n].copy(t.chars[n])}isEmpty(){let t=!0;for(let n=0;n<me;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>me&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=me)}moveCursor(t){const n=this.pos+t;if(t>1)for(let s=this.pos+1;s<n+1;s++)this.chars[s].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=O(t);if(this.pos>=me){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<me;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 s=0;s<me;s++){const m=this.chars[s].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 os{constructor(t){this.rows=[],this.currRow=k-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let n=0;n<k;n++)this.rows.push(new fo(t));this.logger=t}reset(){for(let t=0;t<k;t++)this.rows[t].clear();this.currRow=k-1}equals(t){let n=!0;for(let s=0;s<k;s++)if(!this.rows[s].equals(t.rows[s])){n=!1;break}return n}copy(t){for(let n=0;n<k;n++)this.rows[n].copy(t.rows[n])}isEmpty(){let t=!0;for(let n=0;n<k;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 = "+Nn(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<k;U++)this.rows[U].clear();const E=this.currRow+1-this.nrRollUpRows,C=this.lastOutputScreen;if(C){const U=C.rows[E].cueStartTime,G=this.logger.time;if(U!==null&&G!==null&&U<G)for(let H=0;H<this.nrRollUpRows;H++)this.rows[n-this.nrRollUpRows+H+1].copy(C.rows[E+H])}}this.currRow=n;const s=this.rows[this.currRow];if(t.indent!==null){const E=t.indent,C=Math.max(E-1,0);s.setCursor(t.indent),t.color=s.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 = "+Nn(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 s="",m=-1;for(let E=0;E<k;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?s="["+n.join(" | ")+"]":s=n.join(`
|
|
|
`)),s}getTextAndFormat(){return this.rows}}class vc{constructor(t,n,s){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 os(s),this.nonDisplayedMemory=new os(s),this.lastOutputScreen=new os(s),this.currRollUpRow=this.displayedMemory.rows[k-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=s}reset(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[k-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 s=0;s<t.length;s++)this.writeScreen.insertChar(t[s]);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 s=Math.floor(t/2)-16,m=["white","green","blue","cyan","red","yellow","magenta"];n.foreground=m[s]}this.logger.log(2,"MIDROW: "+Nn(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 gc{constructor(t,n,s){this.channels=void 0,this.currentChannel=0,this.cmdHistory=ll(),this.logger=void 0;const m=this.logger=new Ua;this.channels=[null,new vc(t,n,m),new vc(t+1,s,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 s=0;s<n.length;s+=2){const m=n[s]&127,E=n[s+1]&127;let C=!1,U=null;if(m===0&&E===0)continue;this.logger.log(3,()=>"["+ma([n[s],n[s+1]])+"] -> ("+ma([m,E])+")");const G=this.cmdHistory;if(m>=16&&m<=31){if(Rc(m,E,G)){ul(null,null,G),this.logger.log(3,()=>"Repeated command ("+ma([m,E])+") is dropped");continue}ul(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 ul(null,null,G);if(!C&&(U=this.parseChars(m,E),U)){const se=this.currentChannel;se&&se>0?this.channels[se].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[s],n[s+1]]))}}parseCmd(t,n){const s=(t===20||t===28||t===21||t===29)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=33&&n<=35;if(!(s||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 s=0;if((t===17||t===25)&&n>=32&&n<=47){if(t===17?s=1:s=2,s!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const m=this.channels[s];return m?(m.ccMIDROW(n),this.logger.log(3,()=>"MIDROW ("+ma([t,n])+")"),!0):!1}return!1}parsePAC(t,n){let s;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?s=C===1?Re[t]:Bn[t]:s=C===1?rn[t]:cn[t];const U=this.channels[C];return U?(U.setPAC(this.interpretPAC(s,n)),this.currentChannel=C,!0):!1}interpretPAC(t,n){let s;const m={color:null,italics:!1,indent:null,underline:!1,row:t};return n>95?s=n-96:s=n-64,m.underline=(s&1)===1,s<=13?m.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(s/2)]:s<=15?(m.italics=!0,m.color="white"):m.indent=Math.floor((s-16)/2)*4,m}parseChars(t,n){let s,m=null,E=null;if(t>=25?(s=2,E=t-8):(s=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 '"+O(C)+"' in channel "+s),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 s=(t===16||t===24)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=45&&n<=47;if(!(s||m))return!1;let E;const C={};t===16||t===24?(E=Math.floor((n-32)/2),C.background=Di[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()}ul(null,null,this.cmdHistory)}cueSplitAtTime(t){for(let n=0;n<this.channels.length;n++){const s=this.channels[n];s&&s.cueSplitAtTime(t)}}}function ul(w,t,n){n.a=w,n.b=t}function Rc(w,t,n){return n.a===w&&n.b===t}function ll(){return{a:null,b:null}}var Si=function(){if(To!=null&&To.VTTCue)return self.VTTCue;const w=["","lr","rl"],t=["start","middle","end","left","right"];function n(U,G){if(typeof G!="string"||!Array.isArray(U))return!1;const H=G.toLowerCase();return~U.indexOf(H)?H:!1}function s(U){return n(w,U)}function m(U){return n(t,U)}function E(U,...G){let H=1;for(;H<arguments.length;H++){const se=arguments[H];for(const ue in se)U[ue]=se[ue]}return U}function C(U,G,H){const se=this,ue={enumerable:!0};se.hasBeenReset=!1;let ve="",Ae=!1,we=U,qe=G,it=H,jt=null,ir="",er=!0,Fr="auto",Zr="start",ln=50,Wr="middle",an=50,yn="middle";Object.defineProperty(se,"id",E({},ue,{get:function(){return ve},set:function(Kr){ve=""+Kr}})),Object.defineProperty(se,"pauseOnExit",E({},ue,{get:function(){return Ae},set:function(Kr){Ae=!!Kr}})),Object.defineProperty(se,"startTime",E({},ue,{get:function(){return we},set:function(Kr){if(typeof Kr!="number")throw new TypeError("Start time must be set to a number.");we=Kr,this.hasBeenReset=!0}})),Object.defineProperty(se,"endTime",E({},ue,{get:function(){return qe},set:function(Kr){if(typeof Kr!="number")throw new TypeError("End time must be set to a number.");qe=Kr,this.hasBeenReset=!0}})),Object.defineProperty(se,"text",E({},ue,{get:function(){return it},set:function(Kr){it=""+Kr,this.hasBeenReset=!0}})),Object.defineProperty(se,"region",E({},ue,{get:function(){return jt},set:function(Kr){jt=Kr,this.hasBeenReset=!0}})),Object.defineProperty(se,"vertical",E({},ue,{get:function(){return ir},set:function(Kr){const Vn=s(Kr);if(Vn===!1)throw new SyntaxError("An invalid or illegal string was specified.");ir=Vn,this.hasBeenReset=!0}})),Object.defineProperty(se,"snapToLines",E({},ue,{get:function(){return er},set:function(Kr){er=!!Kr,this.hasBeenReset=!0}})),Object.defineProperty(se,"line",E({},ue,{get:function(){return Fr},set:function(Kr){if(typeof Kr!="number"&&Kr!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");Fr=Kr,this.hasBeenReset=!0}})),Object.defineProperty(se,"lineAlign",E({},ue,{get:function(){return Zr},set:function(Kr){const Vn=m(Kr);if(!Vn)throw new SyntaxError("An invalid or illegal string was specified.");Zr=Vn,this.hasBeenReset=!0}})),Object.defineProperty(se,"position",E({},ue,{get:function(){return ln},set:function(Kr){if(Kr<0||Kr>100)throw new Error("Position must be between 0 and 100.");ln=Kr,this.hasBeenReset=!0}})),Object.defineProperty(se,"positionAlign",E({},ue,{get:function(){return Wr},set:function(Kr){const Vn=m(Kr);if(!Vn)throw new SyntaxError("An invalid or illegal string was specified.");Wr=Vn,this.hasBeenReset=!0}})),Object.defineProperty(se,"size",E({},ue,{get:function(){return an},set:function(Kr){if(Kr<0||Kr>100)throw new Error("Size must be between 0 and 100.");an=Kr,this.hasBeenReset=!0}})),Object.defineProperty(se,"align",E({},ue,{get:function(){return yn},set:function(Kr){const Vn=m(Kr);if(!Vn)throw new SyntaxError("An invalid or illegal string was specified.");yn=Vn,this.hasBeenReset=!0}})),se.displayState=void 0}return C.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},C}();class Jl{decode(t,n){if(!t)return"";if(typeof t!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}function ec(w){function t(s,m,E,C){return(s|0)*3600+(m|0)*60+(E|0)+parseFloat(C||0)}const n=w.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 Lo{constructor(){this.values=Object.create(null)}set(t,n){!this.get(t)&&n!==""&&(this.values[t]=n)}get(t,n,s){return s?this.has(t)?this.values[t]:n[s]:this.has(t)?this.values[t]:n}has(t){return t in this.values}alt(t,n,s){for(let m=0;m<s.length;++m)if(n===s[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 s=parseFloat(n);if(s>=0&&s<=100)return this.set(t,s),!0}return!1}}function Zs(w,t,n,s){const m=s?w.split(s):[w];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],G=C[1];t(U,G)}}const za=new Si(0,0,""),Ou=za.align==="middle"?"middle":"center";function Dl(w,t,n){const s=w;function m(){const U=ec(w);if(U===null)throw new Error("Malformed timestamp: "+s);return w=w.replace(/^[^\sa-zA-Z-]+/,""),U}function E(U,G){const H=new Lo;Zs(U,function(ve,Ae){let we;switch(ve){case"region":for(let qe=n.length-1;qe>=0;qe--)if(n[qe].id===Ae){H.set(ve,n[qe].region);break}break;case"vertical":H.alt(ve,Ae,["rl","lr"]);break;case"line":we=Ae.split(","),H.integer(ve,we[0]),H.percent(ve,we[0])&&H.set("snapToLines",!1),H.alt(ve,we[0],["auto"]),we.length===2&&H.alt("lineAlign",we[1],["start",Ou,"end"]);break;case"position":we=Ae.split(","),H.percent(ve,we[0]),we.length===2&&H.alt("positionAlign",we[1],["start",Ou,"end","line-left","line-right","auto"]);break;case"size":H.percent(ve,Ae);break;case"align":H.alt(ve,Ae,["start",Ou,"end","left","right"]);break}},/:/,/\s/),G.region=H.get("region",null),G.vertical=H.get("vertical","");let se=H.get("line","auto");se==="auto"&&za.line===-1&&(se=-1),G.line=se,G.lineAlign=H.get("lineAlign","start"),G.snapToLines=H.get("snapToLines",!0),G.size=H.get("size",100),G.align=H.get("align",Ou);let ue=H.get("position","auto");ue==="auto"&&za.position===50&&(ue=G.align==="start"||G.align==="left"?0:G.align==="end"||G.align==="right"?100:50),G.position=ue}function C(){w=w.replace(/^\s+/,"")}if(C(),t.startTime=m(),C(),w.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+s);w=w.slice(3),C(),t.endTime=m(),C(),E(w,t)}function tc(w){return w.replace(/<br(?: \/)?>/gi,`
|
|
|
`)}class cl{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new Jl,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 s(){let E=n.buffer,C=0;for(E=tc(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){Zs(E,function(C,U){},/:/)}try{let E="";if(n.state==="INITIAL"){if(!/\r\n|\n/.test(n.buffer))return this;E=s();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=s(),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 Si(0,0,""),n.state="CUE",E.indexOf("-->")===-1){n.cue.id=E;continue}case"CUE":if(!n.cue){n.state="BADCUE";continue}try{Dl(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 fl=/\r\n|\n\r|\n|\r/g,yc=function(t,n,s=0){return t.slice(s,s+n.length)===n},Lc=function(t){let n=parseInt(t.slice(-3));const s=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(s)||!r(m)||!r(E))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${t}`);return n+=1e3*s,n+=60*1e3*m,n+=60*60*1e3*E,n};function Zu(w,t,n){return pc(w.toString())+pc(t.toString())+pc(n)}const Qc=function(t,n,s){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=s};function bc(w,t,n,s,m,E,C){const U=new cl,G=q(new Uint8Array(w)).trim().replace(fl,`
|
|
|
`).split(`
|
|
|
`),H=[],se=t?Ja(t.baseTime,t.timescale):0;let ue="00:00.000",ve=0,Ae=0,we,qe=!0;U.oncue=function(it){const jt=n[s];let ir=n.ccOffset;const er=(ve-se)/9e4;if(jt!=null&&jt.new&&(Ae!==void 0?ir=n.ccOffset=jt.start:Qc(n,s,er)),er){if(!t){we=new Error("Missing initPTS for VTT MPEGTS");return}ir=er-n.presentationOffset}const Fr=it.endTime-it.startTime,Zr=ms((it.startTime+ir-Ae)*9e4,m*9e4)/9e4;it.startTime=Math.max(Zr,0),it.endTime=Math.max(Zr+Fr,0);const ln=it.text.trim();it.text=decodeURIComponent(encodeURIComponent(ln)),it.id||(it.id=Zu(it.startTime,it.endTime,ln)),it.endTime>0&&H.push(it)},U.onparsingerror=function(it){we=it},U.onflush=function(){if(we){C(we);return}E(H)},G.forEach(it=>{if(qe)if(yc(it,"X-TIMESTAMP-MAP=")){qe=!1,it.slice(16).split(",").forEach(jt=>{yc(jt,"LOCAL:")?ue=jt.slice(6):yc(jt,"MPEGTS:")&&(ve=parseInt(jt.slice(7)))});try{Ae=Lc(ue)/1e3}catch(jt){we=jt}return}else it===""&&(qe=!1);U.parse(it+`
|
|
|
`)}),U.flush()}const xc="stpp.ttml.im1t",ou=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Hu=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,Ol={left:"start",center:"center",right:"end",start:"start",end:"end"};function rc(w,t,n,s){const m=bt(new Uint8Array(w),["mdat"]);if(m.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const E=m.map(U=>q(U)),C=aa(t.baseTime,1,t.timescale);try{E.forEach(U=>n(wu(U,C)))}catch(U){s(U)}}function wu(w,t){const m=new DOMParser().parseFromString(w,"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((ue,ve)=>(ue[ve]=m.getAttribute(`ttp:${ve}`)||E[ve],ue),{}),U=m.getAttribute("xml:space")!=="preserve",G=dl(kl(m,"styling","style")),H=dl(kl(m,"layout","region")),se=kl(m,"body","[begin]");return[].map.call(se,ue=>{const ve=An(ue,U);if(!ve||!ue.hasAttribute("begin"))return null;const Ae=ji(ue.getAttribute("begin"),C),we=ji(ue.getAttribute("dur"),C);let qe=ji(ue.getAttribute("end"),C);if(Ae===null)throw xa(ue);if(qe===null){if(we===null)throw xa(ue);qe=Ae+we}const it=new Si(Ae-t,qe-t,ve);it.id=Zu(it.startTime,it.endTime,it.text);const jt=H[ue.getAttribute("region")],ir=G[ue.getAttribute("style")],er=Gn(jt,ir,G),{textAlign:Fr}=er;if(Fr){const Zr=Ol[Fr];Zr&&(it.lineAlign=Zr),it.align=Fr}return y(it,er),it}).filter(ue=>ue!==null)}function kl(w,t,n){const s=w.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function dl(w){return w.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function An(w,t){return[].slice.call(w.childNodes).reduce((n,s,m)=>{var E;return s.nodeName==="br"&&m?n+`
|
|
|
`:(E=s.childNodes)!=null&&E.length?An(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function Gn(w,t,n){const s="http://www.w3.org/ns/ttml#styling";let m=null;const E=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],C=w!=null&&w.hasAttribute("style")?w.getAttribute("style"):null;return C&&n.hasOwnProperty(C)&&(m=n[C]),E.reduce((U,G)=>{const H=ki(t,s,G)||ki(w,s,G)||ki(m,s,G);return H&&(U[G]=H),U},{})}function ki(w,t,n){return w&&w.hasAttributeNS(t,n)?w.getAttributeNS(t,n):null}function xa(w){return new Error(`Could not parse ttml timestamp ${w}`)}function ji(w,t){if(!w)return null;let n=ec(w);return n===null&&(ou.test(w)?n=ca(w,t):Hu.test(w)&&(n=va(w,t))),n}function ca(w,t){const n=ou.exec(w),s=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+s/t.frameRate}function va(w,t){const n=Hu.exec(w),s=Number(n[1]);switch(n[2]){case"h":return s*3600;case"m":return s*60;case"ms":return s*1e3;case"f":return s/t.frameRate;case"t":return s/t.tickRate}return s}class Xa{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,s){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=s,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class Gi{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=Gu(),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(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Xa(this,"textTrack1"),n=new Xa(this,"textTrack2"),s=new Xa(this,"textTrack3"),m=new Xa(this,"textTrack4");this.cea608Parser1=new gc(1,t,n),this.cea608Parser2=new gc(3,s,m)}addCues(t,n,s,m,E){let C=!1;for(let U=E.length;U--;){const G=E[U],H=Wu(G[0],G[1],n,s);if(H>=0&&(G[0]=Math.min(G[0],n),G[1]=Math.max(G[1],s),C=!0,H/(s-n)>.5))return}if(C||E.push([n,s]),this.config.renderTextTracksNatively){const U=this.captionsTracks[t];this.Cues.newCue(U,n,s,m)}else{const U=this.Cues.newCue(null,n,s,m);this.hls.trigger(o.CUES_PARSED,{type:"captions",cues:U,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:E}){const{unparsedVttFrags:C}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E}),C.length&&(this.unparsedVttFrags=[],C.forEach(U=>{this.onFragLoaded(o.FRAG_LOADED,U)}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let m=0;m<s.textTracks.length;m++){const E=s.textTracks[m];if(ku(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:s,media:m}=this,{label:E,languageCode:C}=n[t],U=this.getExistingTrack(E,C);if(U)s[t]=U,Wo(s[t]),Xu(s[t],m);else{const G=this.createTextTrack("captions",E,C);G&&(G[t]=!0,s[t]=G)}}createNonNativeTrack(t){if(this.nonNativeCaptionsTracks[t])return;const n=this.captionsProperties[t];if(!n)return;const s=n.label,m={_id:t,label:s,kind:"captions",default:n.media?!!n.media.default:!1,closedCaptions:n.media};this.nonNativeCaptionsTracks[t]=m,this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[m]})}createTextTrack(t,n,s){const m=this.media;if(m)return m.addTextTrack(t,n,s)}onMediaAttaching(t,n){this.media=n.media,n.mediaSource||this._cleanTracks()}onMediaDetaching(t,n){const s=!!n.transferMedia;if(this.media=null,s)return;const{captionsTracks:m}=this;Object.keys(m).forEach(E=>{Wo(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Gu(),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 s=0;s<n.length;s++)Wo(n[s])}onSubtitleTracksUpdated(t,n){const s=n.subtitleTracks||[],m=s.some(E=>E.textCodec===xc);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(xl(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const C=this.media,U=C?bu(C.textTracks):null;if(this.tracks.forEach((G,H)=>{let se;if(U){let ue=null;for(let ve=0;ve<U.length;ve++)if(U[ve]&&ku(U[ve],G)){ue=U[ve],U[ve]=null;break}ue&&(se=ue)}if(se)Wo(se);else{const ue=us(G);se=this.createTextTrack(ue,G.name,G.lang),se&&(se.mode="disabled")}se&&this.textTracks.push(se)}),U!=null&&U.length){const G=U.filter(H=>H!==null).map(H=>H.label);G.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${G.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(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:C})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const m=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!m)return;const E=`textTrack${m[1]}`,C=this.captionsProperties[E];C&&(C.label=s.name,s.lang&&(C.languageCode=s.lang),C.media=s)})}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 s,m;const{cea608Parser1:E,cea608Parser2:C,lastSn:U}=this,{cc:G,sn:H}=n.frag,se=(s=(m=n.part)==null?void 0:m.index)!=null?s:-1;E&&C&&(H!==U+1||H===U&&se!==this.lastPartIndex+1||G!==this.lastCc)&&(E.reset(),C.reset()),this.lastCc=G,this.lastSn=H,this.lastPartIndex=se}}onFragLoaded(t,n){const{frag:s,payload:m}=n;if(s.type===u.SUBTITLE)if(m.byteLength){const E=s.decryptdata,C="stats"in n;if(E==null||!E.encrypted||C){const U=this.tracks[s.level],G=this.vttCCs;G[s.cc]||(G[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),U&&U.textCodec===xc?this._parseIMSC1(s,m):this._parseVTTs(n)}}else this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;rc(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{s.logger.log(`Failed to parse IMSC1: ${m}`),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:s,payload:m}=t,{initPTS:E,unparsedVttFrags:C}=this,U=E.length-1;if(!E[s.cc]&&U===-1){C.push(t);return}const G=this.hls,H=(n=s.initSegment)!=null&&n.data?Wt(s.initSegment.data,new Uint8Array(m)).buffer:m;bc(H,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,se=>{this._appendCues(se,s.level),G.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},se=>{const ue=se.message==="Missing initPTS for VTT MPEGTS";ue?C.push(t):this._fallbackToIMSC1(s,m),G.logger.log(`Failed to parse VTT cue: ${se}`),!(ue&&U>s.cc)&&G.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:se})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||rc(n,this.initPTS[t.cc],()=>{s.textCodec=xc,this._parseIMSC1(t,n)},()=>{s.textCodec="wvtt"})}_appendCues(t,n){const s=this.hls;if(this.config.renderTextTracksNatively){const m=this.textTracks[n];if(!m||m.mode==="disabled")return;t.forEach(E=>zu(m,E))}else{const m=this.tracks[n];if(!m)return;const E=m.default?"default":"subtitles"+n;s.trigger(o.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===u.SUBTITLE&&this.onFragLoaded(o.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:m}=n;if(!(s.type===u.MAIN&&this.closedCaptionsForLevel(s)==="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:s,endOffsetSubtitles:m,type:E}){const{media:C}=this;if(!(!C||C.currentTime<s)){if(!E||E==="video"){const{captionsTracks:U}=this;Object.keys(U).forEach(G=>Vl(U[G],n,s))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(G=>Vl(U[G],n,m))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let m=2;for(let E=0;E<s;E++){const C=t[m++],U=127&t[m++],G=127&t[m++];if(U===0&&G===0)continue;if((4&C)!==0){const se=3&C;(se===0||se===1)&&(n[se].push(U),n[se].push(G))}}return n}}function us(w){return w.characteristics&&/transcribes-spoken-dialog/gi.test(w.characteristics)&&/describes-music-and-sound/gi.test(w.characteristics)?"captions":"subtitles"}function ku(w,t){return!!w&&w.kind===us(t)&&Nl(t,w)}function Wu(w,t,n,s){return Math.min(t,s)-Math.max(w,n)}function Gu(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const Qu=/\s/,hl={newCue(w,t,n,s){const m=[];let E,C,U,G,H;const se=self.VTTCue||self.TextTrackCue;for(let ve=0;ve<s.rows.length;ve++)if(E=s.rows[ve],U=!0,G=0,H="",!E.isEmpty()){var ue;for(let qe=0;qe<E.chars.length;qe++)Qu.test(E.chars[qe].uchar)&&U?G++:(H+=E.chars[qe].uchar,U=!1);E.cueStartTime=t,t===n&&(n+=1e-4),G>=16?G--:G++;const Ae=tc(H.trim()),we=Zu(t,n,Ae);w!=null&&(ue=w.cues)!=null&&ue.getCueById(we)||(C=new se(t,n,Ae),C.id=we,C.line=ve+1,C.align="left",C.position=10+Math.min(80,Math.floor(G*8/32)*10),m.push(C))}return w&&m.length&&(m.sort((ve,Ae)=>ve.line==="auto"||Ae.line==="auto"?0:ve.line>8&&Ae.line>8?Ae.line-ve.line:ve.line-Ae.line),m.forEach(ve=>zu(w,ve))),m}};function Cf(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(w){}return!1}const Ef=/(\d+)-(\d+)\/(\d+)/;class pl{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||lf,this.controller=new self.AbortController,this.stats=new F}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,s){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=wf(t,this.controller.signal),C=t.responseType==="arraybuffer",U=C?"byteLength":"length",{maxTimeToFirstByteMs:G,maxLoadTimeMs:H}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=G&&r(G)?G:H,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(Js(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(ue=>{var ve;this.response=this.loader=ue;const Ae=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=H,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},H-(Ae-m.loading.start)),!ue.ok){const{status:qe,statusText:it}=ue;throw new qu(it||"fetch, bad network response",qe,ue)}m.loading.first=Ae,m.total=qc(ue.headers)||m.total;const we=(ve=this.callbacks)==null?void 0:ve.onProgress;return we&&r(n.highWaterMark)?this.loadProgressively(ue,m,t,n.highWaterMark,we):C?ue.arrayBuffer():t.responseType==="json"?ue.json():ue.text()}).then(ue=>{var ve,Ae;const we=this.response;if(!we)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const qe=ue[U];qe&&(m.loaded=m.total=qe);const it={url:we.url,data:ue,code:we.status},jt=(ve=this.callbacks)==null?void 0:ve.onProgress;jt&&!r(n.highWaterMark)&&jt(m,t,ue,we),(Ae=this.callbacks)==null||Ae.onSuccess(it,m,t,we)}).catch(ue=>{var ve;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Ae=ue&&ue.code||0,we=ue?ue.message:null;(ve=this.callbacks)==null||ve.onError({code:Ae,text:we},t,ue?ue.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,s,m=0,E){const C=new ra,U=t.body.getReader(),G=()=>U.read().then(H=>{if(H.done)return C.dataLength&&E(n,s,C.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const se=H.value,ue=se.length;return n.loaded+=ue,ue<m||C.dataLength?(C.push(se),C.dataLength>=m&&E(n,s,C.flush().buffer,t)):E(n,s,se.buffer,t),G()}).catch(()=>Promise.reject());return G()}}function wf(w,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},w.headers))};return w.rangeEnd&&n.headers.set("Range","bytes="+w.rangeStart+"-"+String(w.rangeEnd-1)),n}function Mc(w){const t=Ef.exec(w);if(t)return parseInt(t[2])-parseInt(t[1])+1}function qc(w){const t=w.get("Content-Range");if(t){const s=Mc(t);if(r(s))return s}const n=w.get("Content-Length");if(n)return parseInt(n)}function lf(w,t){return new self.Request(w.url,t)}class qu extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Tf=/^age:\s*[\d.]+\s*$/im;class Ru{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 F,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,s){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=s,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const s=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!==s||this.stats.aborted))return E(s,n.url)}).catch(C=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),E(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(C=>{var U;(U=this.callbacks)==null||U.onError({code:s.status,text:C.message},n,s,m)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:E,maxLoadTimeMs:C}=s.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),s.timeout=E&&r(E)?E:C,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:s}=this;if(!t||!n)return;const m=n.readyState,E=this.config;if(!s.aborted&&m>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.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-(s.loading.first-s.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const H=n.status,se=n.responseType==="text"?n.responseText:null;if(H>=200&&H<300){const we=se!=null?se:n.response;if(we!=null){var C,U;s.loading.end=Math.max(self.performance.now(),s.loading.first);const qe=n.responseType==="arraybuffer"?we.byteLength:we.length;s.loaded=s.total=qe,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const it=(C=this.callbacks)==null?void 0:C.onProgress;it&&it(s,t,we,n);const jt={url:n.responseURL,data:we,code:H};(U=this.callbacks)==null||U.onSuccess(jt,s,t,n);return}}const ue=E.loadPolicy.errorRetry,ve=s.retry,Ae={url:t.url,data:void 0,code:H};if(Ze(ue,ve,!1,Ae))this.retry(ue);else{var G;W.error(`${H} while loading ${t.url}`),(G=this.callbacks)==null||G.onError({code:H,text:n.statusText},t,n,s)}}}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 s;W.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=Tr(t,s.retry),s.retry++,W.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.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&&Tf.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 Fc={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},cf=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:Ru,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Wi,bufferController:fu,capLevelController:Ul,errorController:nr,fpsController:Gl,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:si,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:Fc},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},Go()),{},{subtitleStreamController:mc,subtitleTrackController:xu,timelineController:Gi,audioStreamController:Qo,audioTrackController:$l,emeController:$o,cmcdController:ze,contentSteeringController:Jo,interstitialsController:ql});function Go(){return{cueHandler:hl,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 Jc(w,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 s=Bc(w),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(C=>{const U=`${C==="level"?"playlist":C}LoadPolicy`,G=t[U]===void 0,H=[];E.forEach(se=>{const ue=`${C}Loading${se}`,ve=t[ue];if(ve!==void 0&&G){H.push(ue);const Ae=s[U].default;switch(t[U]={default:Ae},se){case"TimeOut":Ae.maxLoadTimeMs=ve,Ae.maxTimeToFirstByteMs=ve;break;case"MaxRetry":Ae.errorRetry.maxNumRetry=ve,Ae.timeoutRetry.maxNumRetry=ve;break;case"RetryDelay":Ae.errorRetry.retryDelayMs=ve,Ae.timeoutRetry.retryDelayMs=ve;break;case"MaxRetryTimeout":Ae.errorRetry.maxRetryDelayMs=ve,Ae.timeoutRetry.maxRetryDelayMs=ve;break}}}),H.length&&n.warn(`hls.js config: "${H.join('", "')}" setting(s) are deprecated, use "${U}": ${Nn(t[U])}`)}),b(b({},s),t)}function Bc(w){return w&&typeof w=="object"?Array.isArray(w)?w.map(Bc):Object.keys(w).reduce((t,n)=>(t[n]=Bc(w[n]),t),{}):w}function Ju(w,t){const n=w.loader;n!==pl&&n!==Ru?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),w.progressive=!1):Cf()&&(w.loader=pl,w.progressive=!0,w.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const _l=2,Vo=.1,ff=.05,df=100;class Nc extends ds{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 s;(s=this.media)!=null&&s.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var s;this.ended=((s=this.media)==null?void 0:s.currentTime)||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.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(df),this.mediaSource=n.mediaSource;const s=this.media=n.media;Eu(s,"playing",this.onMediaPlaying),Eu(s,"waiting",this.onMediaWaiting),Eu(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(go(s,"playing",this.onMediaPlaying),go(s,"waiting",this.onMediaWaiting),go(s,"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 s,m;const E=(s=this.hls)==null?void 0:s.config;if(!E)return;const{media:C,stalled:U}=this;if(!C)return;const{seeking:G}=C,H=this.seeking&&!G,se=!this.seeking&&G,ue=C.paused&&!G||C.ended||C.playbackRate===0;if(this.seeking=G,t!==n){n&&(this.ended=0),this.moved=!0,G||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!ue&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(se||H){H&&this.stallResolved(t);return}if(ue){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&C.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!Zn.getBuffered(C).length){this.nudgeRetry=0;return}const ve=Zn.bufferInfo(C,t,0),Ae=ve.nextStart||0,we=this.fragmentTracker;if(G&&we&&this.hls){const ln=Ec(this.hls.inFlightFragments,t),Wr=ve.len>_l,an=!Ae||ln||Ae-t>_l&&!we.getPartialFragment(t);if(Wr||an)return;this.moved=!1}const qe=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&we){if(!(ve.len>0)&&!Ae)return;const Wr=Math.max(Ae,ve.start||0)-t,yn=!!(qe!=null&&qe.live)?qe.targetduration*2:_l,Kr=we.getPartialFragment(t);if(Wr>0&&(Wr<=yn||Kr)){C.paused||this._trySkipBufferHole(Kr);return}}const it=E.detectStallWithCurrentTimeMs,jt=self.performance.now(),ir=this.waiting;if(U===null){ir>0&&jt-ir<it?this.stalled=ir:this.stalled=jt;return}const er=jt-U;if(!G&&(er>=it||ir)&&this.hls){var Fr;if(((Fr=this.mediaSource)==null?void 0:Fr.readyState)==="ended"&&!(qe!=null&&qe.live)&&Math.abs(t-((qe==null?void 0:qe.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(ve),!this.media||!this.hls)return}const Zr=Zn.bufferInfo(C,t,E.maxBufferHole);this._tryFixBufferStall(Zr,er)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const s=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(s)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(o.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var s;const m=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(s=this.buffered.audio)!=null&&s.length&&m&&m.length>1&&t>m.end(0)){const E=Zn.bufferedInfo(Zn.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const C=Zn.timeRangesToArray(m),U=Zn.bufferedInfo(C,n,0).bufferedIndex;if(U>-1&&U<C.length-1){const G=Zn.bufferedInfo(C,t,0).bufferedIndex,H=C[U].end,se=C[U+1].start;if((G===-1||G>U)&&se-H<1&&t-H<2){const ue=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${H} -> ${se} buffered index: ${G}`);this.warn(ue.message),this.media.currentTime+=1e-6;const ve=this.fragmentTracker.getPartialFragment(t)||void 0,Ae=Zn.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ue,reason:ue.message,frag:ve,buffer:Ae.len,bufferInfo:Ae})}}}}}_tryFixBufferStall(t,n){var s,m;const{fragmentTracker:E,media:C}=this,U=(s=this.hls)==null?void 0:s.config;if(!C||!E||!U)return;const G=C.currentTime,H=(m=this.hls)==null?void 0:m.latestLevelDetails,se=E.getPartialFragment(G);if((se||H!=null&&H.live&&G<H.fragmentStart)&&(this._trySkipBufferHole(se)||!this.media))return;const ue=t.buffered;(ue&&ue.length>1&&t.len>U.maxBufferHole||t.nextStart&&t.nextStart-G<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:s,stallReported:m,stalled:E}=this;if(!m&&E!==null&&s&&n){this.stallReported=!0;const C=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${Nn(t)})`);this.warn(C.message),n.trigger(o.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:s,media:m}=this,E=(n=this.hls)==null?void 0:n.config;if(!m||!s||!E)return 0;const C=m.currentTime,U=Zn.bufferInfo(m,C,0),G=C<U.start?U.start:U.nextStart;if(G&&this.hls){const se=U.len<=E.maxBufferHole,ue=U.len>0&&U.len<1&&m.readyState<3,ve=G-C;if(ve>0&&(se||ue)){if(ve>E.maxBufferHole){let we=!1;if(C===0){const qe=s.getAppendedFrag(0,u.MAIN);qe&&G<qe.end&&(we=!0)}if(!we){const qe=t||s.getAppendedFrag(C,u.MAIN);if(qe){var H;if(!((H=this.hls.loadLevelObj)!=null&&H.details)||Ec(this.hls.inFlightFragments,G))return 0;let jt=!1,ir=qe.end;for(;ir<G;){const er=s.getPartialFragment(ir);if(er)ir+=er.duration;else{jt=!0;break}}if(jt)return 0}}}const Ae=Math.max(G+ff,C+Vo);if(this.warn(`skipping hole, adjusting currentTime from ${C} to ${Ae}`),this.moved=!0,m.currentTime=Ae,!(t!=null&&t.gap)){const we=new Error(`fragment loaded with buffer holes, seeking from ${C} to ${Ae}`);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:we,reason:we.message,frag:t||void 0,buffer:U.len,bufferInfo:U})}return Ae}}return 0}_tryNudgeBuffer(t){const{hls:n,media:s,nudgeRetry:m}=this,E=n==null?void 0:n.config;if(!s||!E)return 0;const C=s.currentTime;if(this.nudgeRetry++,m<E.nudgeMaxRetry){const U=C+(m+1)*E.nudgeOffset,G=new Error(`Nudging 'currentTime' from ${C} to ${U}`);this.warn(G.message),s.currentTime=U,n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_NUDGE_ON_STALL,error:G,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(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,error:U,fatal:!0,buffer:t.len,bufferInfo:t})}}}function Ec(w,t){const n=ef(w.main);if(n&&n.start<=t)return n;const s=ef(w.audio);return s&&s.start<=t?s:null}function ef(w){if(!w)return null;switch(w.state){case Hr.IDLE:case Hr.STOPPED:case Hr.ENDED:case Hr.ERROR:return null}return w.frag}const tf=.25;function hf(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function Pf(w,t,n,s,m){let E=new w(t,n,"");try{E.value=s,m&&(E.type=m)}catch(C){E=new w(t,n,Nn(m?b({type:m},s):s))}return E}const wc=(()=>{const w=hf();try{w&&new w(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function $f(w){return Uint8Array.from(w.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class If{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(o.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(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.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&&Wo(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 s=t[n];if(s.kind==="metadata"&&s.label==="id3")return Xu(s,this.media),s}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(t,n){if(!this.media)return;const{hls:{config:{enableEmsgMetadataCues:s,enableID3MetadataCues:m}}}=this;if(!s&&!m)return;const{samples:E}=n;this.id3Track||(this.id3Track=this.createTrack(this.media));const C=hf();if(C)for(let U=0;U<E.length;U++){const G=E[U].type;if(G===Hi.emsg&&!s||!m)continue;const H=js(E[U].data);if(H){const se=E[U].pts;let ue=se+E[U].duration;ue>wc&&(ue=wc),ue-se<=0&&(ue=se+tf);for(let Ae=0;Ae<H.length;Ae++){const we=H[Ae];if(!na(we)){this.updateId3CueEnds(se,G);const qe=Pf(C,se,ue,we,G);qe&&this.id3Track.addCue(qe)}}}}}updateId3CueEnds(t,n){var s;const m=(s=this.id3Track)==null?void 0:s.cues;if(m)for(let E=m.length;E--;){const C=m[E];C.type===n&&C.startTime<t&&C.endTime===wc&&(C.endTime=t)}}onBufferFlushing(t,{startOffset:n,endOffset:s,type:m}){const{id3Track:E,hls:C}=this;if(!C)return;const{config:{enableEmsgMetadataCues:U,enableID3MetadataCues:G}}=C;if(E&&(U||G)){let H;m==="audio"?H=se=>se.type===Hi.audioId3&&G:m==="video"?H=se=>se.type===Hi.emsg&&U:H=se=>se.type===Hi.audioId3&&G||se.type===Hi.emsg&&U,Vl(E,n,s,H)}}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:s}=this,{dateRanges:m}=t,E=Object.keys(m);let C=this.dateRangeCuesAppended;if(s&&n){var U;if((U=s.cues)!=null&&U.length){const se=Object.keys(C).filter(ue=>!E.includes(ue));for(let ue=se.length;ue--;){const ve=se[ue],Ae=C[ve].cues;delete C[ve],Object.keys(Ae).forEach(we=>{try{const qe=Ae[we];qe.removeEventListener("enter",this.onEventCueEnter),s.removeCue(qe)}catch(qe){}})}}else C=this.dateRangeCuesAppended={}}const G=t.fragments[t.fragments.length-1];if(E.length===0||!r(G==null?void 0:G.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const H=hf();for(let se=0;se<E.length;se++){const ue=E[se],ve=m[ue],Ae=ve.startTime,we=C[ue],qe=(we==null?void 0:we.cues)||{};let it=(we==null?void 0:we.durationKnown)||!1,jt=wc;const{duration:ir,endDate:er}=ve;if(er&&ir!==null)jt=Ae+ir,it=!0;else if(ve.endOnNext&&!it){const Zr=E.reduce((ln,Wr)=>{if(Wr!==ve.id){const an=m[Wr];if(an.class===ve.class&&an.startDate>ve.startDate&&(!ln||ve.startDate<ln.startDate))return an}return ln},null);Zr&&(jt=Zr.startTime,it=!0)}const Fr=Object.keys(ve.attr);for(let Zr=0;Zr<Fr.length;Zr++){const ln=Fr[Zr];if(!Hs(ln))continue;const Wr=qe[ln];if(Wr)it&&!we.durationKnown?Wr.endTime=jt:Math.abs(Wr.startTime-Ae)>.01&&(Wr.startTime=Ae,Wr.endTime=jt);else if(H){let an=ve.attr[ln];On(ln)&&(an=$f(an));const Kr=Pf(H,Ae,jt,{key:ln,data:an},Hi.dateRange);Kr&&(Kr.id=ue,this.id3Track.addCue(Kr),qe[ln]=Kr,this.hls.config.interstitialsController&&(ln==="X-ASSET-LIST"||ln==="X-ASSET-URL")&&Kr.addEventListener("enter",this.onEventCueEnter))}}C[ue]={cues:qe,dateRange:ve,durationKnown:it}}}}class pf{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,s=this.levelDetails;if(!n||!s)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||!s.live)return;const U=this.targetLatency;if(U===null)return;const G=m-U,H=Math.min(this.maxLatency,U+s.targetduration);if(G<H&&G>.05&&this.forwardBufferLength>1){const ue=Math.min(2,Math.max(1,C)),ve=Math.round(2/(1+Math.exp(-.75*G-this.edgeStalled))*20)/20,Ae=Math.min(ue,Math.max(1,ve));this.changeMediaPlaybackRate(n,Ae)}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:s,targetduration:m}=t,{liveSyncDuration:E,liveSyncDurationCount:C,lowLatencyMode:U}=this.config,G=this.hls.userConfig;let H=U&&s||n;(this._targetLatencyUpdated||G.liveSyncDuration||G.liveSyncDurationCount||H===0)&&(H=E!==void 0?E:C*m);const se=m;return H+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,se)}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 s=this.levelDetails;if(s===null)return null;const m=s.edge,E=t-n-this.edgeStalled,C=m-s.totalduration,U=m-(this.config.lowLatencyMode&&s.partTarget||s.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 s=t.buffered.length;return(s?t.buffered.end(s-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.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 s;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(s=this.levelDetails)!=null&&s.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var s,m;t.playbackRate!==n&&((s=this.hls)==null||s.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 jf extends _u{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(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.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 s=this.hls.config.preferManagedMediaSource,m=[],E={},C={};let U=!1,G=!1,H=!1;n.levels.forEach(se=>{var ue;const ve=se.attrs;let{audioCodec:Ae,videoCodec:we}=se;Ae&&(se.audioCodec=Ae=St(Ae,s)||void 0),((ue=we)==null?void 0:ue.indexOf("avc1"))===0&&(we=se.videoCodec=Sr(we));const{width:qe,height:it,unknownCodecs:jt}=se;let ir=jt?jt.length:0;if(jt)for(let Vn=ir;Vn--;){const ci=jt[Vn];this.isAudioSupported(ci)?(se.audioCodec=Ae=Ae?`${Ae},${ci}`:ci,ir--,zt.audio[Ae.substring(0,4)]=2):this.isVideoSupported(ci)&&(se.videoCodec=we=we?`${we},${ci}`:ci,ir--,zt.video[we.substring(0,4)]=2)}if(U||(U=!!(qe&&it)),G||(G=!!we),H||(H=!!Ae),ir||Ae&&!this.isAudioSupported(Ae)||we&&!this.isVideoSupported(we)){this.log(`Some or all CODECS not supported "${ve.CODECS}"`);return}const{CODECS:er,"FRAME-RATE":Fr,"HDCP-LEVEL":Zr,"PATHWAY-ID":ln,RESOLUTION:Wr,"VIDEO-RANGE":an}=ve,Kr=`${`${ln||"."}-`}${se.bitrate}-${Wr}-${Fr}-${er}-${an}-${Zr}`;if(E[Kr])if(E[Kr].uri!==se.url&&!se.attrs["PATHWAY-ID"]){const Vn=C[Kr]+=1;se.attrs["PATHWAY-ID"]=new Array(Vn+1).join(".");const ci=this.createLevel(se);E[Kr]=ci,m.push(ci)}else E[Kr].addGroupId("audio",ve.AUDIO),E[Kr].addGroupId("text",ve.SUBTITLES);else{const Vn=this.createLevel(se);E[Kr]=Vn,C[Kr]=1,m.push(Vn)}}),this.filterAndSortMediaOptions(m,n,U,G,H)}createLevel(t){const n=new _r(t),s=t.supplemental;if(s!=null&&s.videoCodec&&!this.isVideoSupported(s.videoCodec)){const m=new Error(`SUPPLEMENTAL-CODECS not supported "${s.videoCodec}"`);this.log(m.message),n.supportedResult=on(m,[])}return n}isAudioSupported(t){return ke(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return ke(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,m,E){let C=[],U=[],G=t;if((s||m)&&E&&(G=G.filter(({videoCodec:we,videoRange:qe,width:it,height:jt})=>(!!we||!!(it&&jt))&&ut(qe))),G.length===0){Promise.resolve().then(()=>{if(this.hls){let we="no level with compatible codecs found in manifest",qe=we;n.levels.length&&(qe=`one or more CODECS in variant not supported: ${Nn(n.levels.map(jt=>jt.attrs.CODECS).filter((jt,ir,er)=>er.indexOf(jt)===ir))}`,this.warn(qe),we+=` (${qe})`);const it=new Error(we);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:it,reason:qe})}});return}n.audioTracks&&(C=n.audioTracks.filter(we=>!we.audioCodec||this.isAudioSupported(we.audioCodec)),_f(C)),n.subtitles&&(U=n.subtitles,_f(U));const H=G.slice(0);G.sort((we,qe)=>{if(we.attrs["HDCP-LEVEL"]!==qe.attrs["HDCP-LEVEL"])return(we.attrs["HDCP-LEVEL"]||"")>(qe.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&we.height!==qe.height)return we.height-qe.height;if(we.frameRate!==qe.frameRate)return we.frameRate-qe.frameRate;if(we.videoRange!==qe.videoRange)return vr.indexOf(we.videoRange)-vr.indexOf(qe.videoRange);if(we.videoCodec!==qe.videoCodec){const it=Ke(we.videoCodec),jt=Ke(qe.videoCodec);if(it!==jt)return jt-it}if(we.uri===qe.uri&&we.codecSet!==qe.codecSet){const it=gt(we.codecSet),jt=gt(qe.codecSet);if(it!==jt)return jt-it}return we.averageBitrate!==qe.averageBitrate?we.averageBitrate-qe.averageBitrate:0});let se=H[0];if(this.steering&&(G=this.steering.filterParsedLevels(G),G.length!==H.length)){for(let we=0;we<H.length;we++)if(H[we].pathwayId===G[0].pathwayId){se=H[we];break}}this._levels=G;for(let we=0;we<G.length;we++)if(G[we]===se){var ue;this._firstLevel=we;const qe=se.bitrate,it=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${G.length} level(s) found, first bitrate: ${qe}`),((ue=this.hls.userConfig)==null?void 0:ue.abrEwmaDefaultEstimate)===void 0){const jt=Math.min(qe,this.hls.config.abrEwmaDefaultEstimateMax);jt>it&&it===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=jt)}break}const ve=E&&!m,Ae={levels:G,audioTracks:C,subtitleTracks:U,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:!ve&&C.some(we=>!!we.url)};this.hls.trigger(o.MANIFEST_PARSED,Ae)}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 se=new Error("invalid level idx"),ue=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:ue,error:se,reason:se.message}),ue)return;t=Math.min(t,n.length-1)}const s=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,s===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 ${s}${E?" with Pathway "+E:""}`);const G={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(o.LEVEL_SWITCHING,G);const H=C.details;if(!H||H.live){const se=this.switchParams(C.uri,m==null?void 0:m.details,H);this.loadPlaylist(se)}}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(),s=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=s}}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 s=n.elementaryStreams;if(!Object.keys(s).some(E=>!!s[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 s;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 G=C.details;G===n.details&&G.advanced&&(G=void 0),this.playlistLoaded(m,n,G)}else(s=n.deliveryDirectives)!=null&&s.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 s=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:""):""} ${s}`),this.hls.trigger(o.LEVEL_LOADING,{url:s,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 s=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));yr(s),this._levels=s,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=s.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(o.LEVELS_UPDATED,{levels:s})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:s}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(o.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function _f(w){const t={};w.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function Df(){return self.SourceBuffer||self.WebKitSourceBuffer}function Lf(){if(!oe())return!1;const t=Df();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function mf(){if(!Lf())return!1;const w=oe();return typeof(w==null?void 0:w.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>w.isTypeSupported(xe(t,"video")))||["mp4a.40.2","fLaC"].some(t=>w.isTypeSupported(xe(t,"audio"))))}function Uf(){var w;const t=Df();return typeof(t==null||(w=t.prototype)==null?void 0:w.changeType)=="function"}const Sf=100;class v extends da{constructor(t,n,s){super(t,n,s,"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(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:m}=this;if(this.stopLoad(),this.setInterval(Sf),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}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=Hr.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Hr.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Hr.WAITING_LEVEL:{const{levels:n,level:s}=this,m=n==null?void 0:n[s],E=m==null?void 0:m.details;if(E&&(!E.live||this.levelLastLoaded===m&&!this.waitForLive(m))){if(this.waitForCdnTuneIn(E))break;this.state=Hr.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Hr.IDLE;break}break}case Hr.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),s=this.retryDate;if(!s||n>=s||(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=Hr.IDLE}}break}this.state===Hr.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:s,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(!(s!=null&&s[E]))return;const C=s[E],U=this.getMainFwdBufferInfo();if(U===null)return;const G=this.getLevelDetails();if(G&&this._streamEnded(U,G)){const qe={};this.altAudio===2&&(qe.type="video"),this.hls.trigger(o.BUFFER_EOS,qe),this.state=Hr.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 H=C.details;if(!H||this.state===Hr.WAITING_LEVEL||this.waitForLive(C)){this.level=E,this.state=Hr.WAITING_LEVEL,this.startFragRequested=!1;return}const se=U.len,ue=this.getMaxBufferLength(C.maxBitrate);if(se>=ue)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const ve=this.backtrackFragment?this.backtrackFragment.start:U.end;let Ae=this.getNextFragment(ve,H);if(this.couldBacktrack&&!this.fragPrevious&&Ae&&de(Ae)&&this.fragmentTracker.getState(Ae)!==br.OK){var we;const it=((we=this.backtrackFragment)!=null?we:Ae).sn-H.startSN,jt=H.fragments[it-1];jt&&Ae.cc===jt.cc&&(Ae=jt,this.fragmentTracker.removeFragment(jt))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(Ae&&this.isLoopLoading(Ae,ve)){if(!Ae.gap){const it=this.audioOnly&&!this.altAudio?M.AUDIO:M.VIDEO,jt=(it===M.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;jt&&this.afterBufferFlushed(jt,it,u.MAIN)}Ae=this.getNextFragmentLoopLoading(Ae,H,U,u.MAIN,ue)}Ae&&(Ae.initSegment&&!Ae.initSegment.data&&!this.bitrateTest&&(Ae=Ae.initSegment),this.loadFragment(Ae,C,ve))}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);m===br.NOT_LOADED||m===br.PARTIAL?de(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,s):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 s;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,G=t[U],H=this.fragLastKbps;H&&this.fragCurrent?s=this.fragCurrent.duration*G.maxBitrate/(1e3*H)+1:s=0}else s=0;const C=this.getBufferedFrag(n.currentTime+s);if(C){const U=this.followingBufferedFrag(C);if(U){this.abortCurrentFrag();const G=U.maxStartPTS?U.maxStartPTS:U.start,H=U.duration,se=Math.max(C.end,G+Math.min(Math.max(H-this.config.maxFragLookUpTolerance,H*(this.couldBacktrack?.5:.125)),H*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(se,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 Hr.KEY_LOADING:case Hr.FRAG_LOADING:case Hr.FRAG_LOADING_WAITING_RETRY:case Hr.PARSING:case Hr.PARSED:this.state=Hr.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 s=n.media;Eu(s,"playing",this.onMediaPlaying),Eu(s,"seeked",this.onMediaSeeked)}onMediaDetaching(t,n){const{media:s}=this;s&&(go(s,"playing",this.onMediaPlaying),go(s,"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(o.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 s=!1,m=!1;n.levels.forEach(E=>{const C=E.audioCodec;C&&(s=s||C.indexOf("mp4a.40.2")!==-1,m=m||C.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=s&&m&&!Uf(),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:s}=this;if(!s||this.state!==Hr.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Hr.WAITING_LEVEL)}onLevelLoaded(t,n){var s;const{levels:m,startFragRequested:E}=this,C=n.level,U=n.details,G=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:${G}`);const H=n.levelInfo,se=this.fragCurrent;se&&(this.state===Hr.FRAG_LOADING||this.state===Hr.FRAG_LOADING_WAITING_RETRY)&&se.level!==n.level&&se.loader&&this.abortCurrentFrag();let ue=0;if(U.live||(s=H.details)!=null&&s.live){var ve;if(this.checkLiveUpdate(U),U.deltaUpdateFailed)return;ue=this.alignPlaylists(U,H.details,(ve=this.levelLastLoaded)==null?void 0:ve.details)}if(H.details=U,this.levelLastLoaded=H,E||this.setStartPosition(U,ue),this.hls.trigger(o.LEVEL_UPDATED,{details:U,level:C}),this.state===Hr.WAITING_LEVEL){if(this.waitForCdnTuneIn(U))return;this.state=Hr.IDLE}E&&U.live&&this.synchronizeToLiveEdge(U),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:s}=this;if(!s)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),C=t.fragmentStart,U=t.edge,G=E>=C-n.maxFragLookUpTolerance&&E<=U;if(m!==null&&s.duration>m&&(E<m||!G)){const H=n.liveMaxLatencyDuration!==void 0?n.liveMaxLatencyDuration:n.liveMaxLatencyDurationCount*t.targetduration;(!G&&s.readyState<4||E<U-H)&&(this._hasEnoughToStart||(this.nextLoadPosition=m),s.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)}`),s.currentTime=m))}}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:E}=t,{levels:C}=this;if(!C){this.warn(`Levels were reset while fragment load was in progress. Fragment ${s.sn} of level ${s.level} will not be buffered`);return}const U=C[s.level];if(!U){this.warn(`Level ${s.level} not found on progress`);return}const G=U.details;if(!G){this.warn(`Dropping fragment ${s.sn} of level ${s.level} after level details were reset`),this.fragmentTracker.removeFragment(s);return}const H=U.videoCodec,se=G.PTSKnown||!G.live,ue=(n=s.initSegment)==null?void 0:n.data,ve=this._getAudioCodec(U),Ae=this.transmuxer=this.transmuxer||new bl(this.hls,u.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),we=m?m.index:-1,qe=we!==-1,it=new ws(s.level,s.sn,s.stats.chunkCount,E.byteLength,we,qe),jt=this.initPTS[s.cc];Ae.push(E,ue,ve,H,s,m,G.totalduration,se,it,jt)}onAudioTrackSwitching(t,n){const s=this.hls,m=this.altAudio===2;if(qn(n.url,s))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(),s.once(o.BUFFER_FLUSHED,()=>{var C;(C=this.hls)==null||C.trigger(o.AUDIO_TRACK_SWITCHED,n)}),s.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(o.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=qn(n.url,this.hls);if(s){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=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let m,E,C=!1;for(const U in s){const G=s[U];if(G.id==="main"){if(E=U,m=G,U==="video"){const H=s[U];H&&(this.videoBuffer=H.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:s,part:m}=n,E=s.type===u.MAIN;if(E){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${m?" p: "+m.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Hr.PARSED&&(this.state=Hr.IDLE);return}const U=m?m.stats:s.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),de(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,m)}const C=this.media;C&&(!this._hasEnoughToStart&&Zn.getBuffered(C).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=Hr.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===Hr.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=Hr.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=Hr.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==M.AUDIO||!this.altAudio){const s=(n===M.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,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 s=this.startPosition;if(s>=0&&n<s){if(t.seeking){this.log(`could not seek to ${s}, already seeking at ${n}`);return}const m=this.timelineOffset;m&&s&&(s+=m);const E=this.getLevelDetails(),C=Zn.getBuffered(t),U=C.length?C.start(0):0,G=U-s,H=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);G>0&&(G<H||this.loadingParts&&G<2*((E==null?void 0:E.partTarget)||0))&&(this.log(`adjusting start position by ${G} to match buffer start`),s+=G,this.startPosition=s),n<s&&(this.log(`seek to target start position ${s} from current time ${n} buffer start ${U}`),t.currentTime=s)}}_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(s=>{const{hls:m}=this,E=s==null?void 0:s.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=Hr.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(o.FRAG_LOADED,s),E.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const s=this.playlistType,{hls:m}=this,{remuxResult:E,chunkMeta:C}=t,U=this.getCurrentContext(C);if(!U){this.resetWhenMissingContext(C);return}const{frag:G,part:H,level:se}=U,{video:ue,text:ve,id3:Ae,initSegment:we}=E,{details:qe}=se,it=this.altAudio?void 0:E.audio;if(this.fragContextChanged(G)){this.fragmentTracker.removeFragment(G);return}if(this.state=Hr.PARSING,we){if(we!=null&&we.tracks){const er=G.initSegment||G;this._bufferInitSegment(se,we.tracks,er,C),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:er,id:s,tracks:we.tracks})}const jt=we.initPTS,ir=we.timescale;r(jt)&&(this.initPTS[G.cc]={baseTime:jt,timescale:ir},m.trigger(o.INIT_PTS_FOUND,{frag:G,id:s,initPTS:jt,timescale:ir}))}if(ue&&qe){const jt=qe.fragments[G.sn-1-qe.startSN],ir=G.sn===qe.startSN,er=!jt||G.cc>jt.cc;if(E.independent!==!1){const{startPTS:Fr,endPTS:Zr,startDTS:ln,endDTS:Wr}=ue;if(H)H.elementaryStreams[ue.type]={startPTS:Fr,endPTS:Zr,startDTS:ln,endDTS:Wr};else if(ue.firstKeyFrame&&ue.independent&&C.id===1&&!er&&(this.couldBacktrack=!0),ue.dropped&&ue.independent){const an=this.getMainFwdBufferInfo(),yn=(an?an.end:this.getLoadPosition())+this.config.maxBufferHole,Kr=ue.firstKeyFramePTS?ue.firstKeyFramePTS:Fr;if(!ir&&yn<Kr-this.config.maxBufferHole&&!er){this.backtrack(G);return}else er&&(G.gap=!0);G.setElementaryStreamInfo(ue.type,G.start,Zr,G.start,Wr,!0)}else ir&&Fr-(qe.appliedTimelineOffset||0)>_l&&(G.gap=!0);G.setElementaryStreamInfo(ue.type,Fr,Zr,ln,Wr),this.backtrackFragment&&(this.backtrackFragment=G),this.bufferFragmentData(ue,G,H,C,ir||er)}else if(ir||er)G.gap=!0;else{this.backtrack(G);return}}if(it){const{startPTS:jt,endPTS:ir,startDTS:er,endDTS:Fr}=it;H&&(H.elementaryStreams[M.AUDIO]={startPTS:jt,endPTS:ir,startDTS:er,endDTS:Fr}),G.setElementaryStreamInfo(M.AUDIO,jt,ir,er,Fr),this.bufferFragmentData(it,G,H,C)}if(qe&&Ae!=null&&(n=Ae.samples)!=null&&n.length){const jt={id:s,frag:G,details:qe,samples:Ae.samples};m.trigger(o.FRAG_PARSING_METADATA,jt)}if(qe&&ve){const jt={id:s,frag:G,details:qe,samples:ve.samples};m.trigger(o.FRAG_PARSING_USERDATA,jt)}}_bufferInitSegment(t,n,s,m){if(this.state!==Hr.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&delete n.audio;const{audio:E,video:C,audiovideo:U}=n;if(E){let H=Xr(E.codec,t.audioCodec);H==="mp4a"&&(H="mp4a.40.5");const se=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){H&&(H.indexOf("mp4a.40.5")!==-1?H="mp4a.40.2":H="mp4a.40.5");const ue=E.metadata;ue&&"channelCount"in ue&&(ue.channelCount||1)!==1&&se.indexOf("firefox")===-1&&(H="mp4a.40.5")}H&&H.indexOf("mp4a.40.5")!==-1&&se.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(H="mp4a.40.2",this.log(`Android: force audio codec to ${H}`)),t.audioCodec&&t.audioCodec!==H&&this.log(`Swapping manifest audio codec "${t.audioCodec}" for "${H}"`),E.levelCodec=H,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${H||""}/${t.audioCodec||""}/${E.codec}]`),delete n.audiovideo}if(C){C.levelCodec=t.videoCodec,C.id=u.MAIN;const H=C.codec;if((H==null?void 0:H.length)===4)switch(H){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||""}/${H}]${C.codec!==H?" 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 G=Object.keys(n);if(G.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;G.forEach(H=>{const ue=n[H].initSegment;ue!=null&&ue.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:H,data:ue,frag:s,part:null,chunkMeta:m,parent:s.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,s=t==null?void 0:t[n];return s?this.getMaxBufferLength(s.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=Hr.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(Zn.isBuffered(t,s)?n=this.getAppendedFrag(s):Zn.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.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(o.FRAG_CHANGED,{frag:n}),(!m||m.level!==E)&&this.hls.trigger(o.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 s=this.getLevelDetails(),m=this.currentFrag||(s?bn(null,s.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 T{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyUriToKeyInfo){const m=this.keyUriToKeyInfo[s].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,s,m,E){return new oa({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,error:s,networkDetails:m})}loadClear(t,n){if(this.emeController&&this.config.emeEnabled){const{sn:s,cc:m}=t;for(let E=0;E<n.length;E++){const C=n[E];if(m<=C.cc&&(s==="initSegment"||C.sn==="initSegment"||s<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 s,m;n&&t.setKeyFormat(n);const E=t.decryptdata;if(!E){const H=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,H))}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((s=U)!=null&&s.decryptdata.key)return E.key=U.decryptdata.key,Promise.resolve({frag:t,keyInfo:U});if((m=U)!=null&&m.keyLoadPromise){var G;switch((G=U.mediaKeySessionContext)==null?void 0:G.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return U.keyLoadPromise.then(H=>(E.key=H.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 s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const m=this.emeController.loadKey(s);if(m)return(t.keyLoadPromise=m.then(E=>(t.mediaKeySessionContext=E,s))).catch(E=>{throw t.keyLoadPromise=null,E})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,m=s.loader,E=new m(s);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((C,U)=>{const G={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},H=s.keyLoadPolicy.default,se={loadPolicy:H,timeout:H.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ue={onSuccess:(ve,Ae,we,qe)=>{const{frag:it,keyInfo:jt,url:ir}=we;if(!it.decryptdata||jt!==this.keyUriToKeyInfo[ir])return U(this.createKeyLoadError(it,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),qe));jt.decryptdata.key=it.decryptdata.key=new Uint8Array(ve.data),it.keyLoader=null,jt.loader=null,C({frag:it,keyInfo:jt})},onError:(ve,Ae,we,qe)=>{this.resetLoader(Ae),U(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${ve.code} loading key ${ve.text}`),we,b({url:G.url,data:void 0},ve)))},onTimeout:(ve,Ae,we)=>{this.resetLoader(Ae),U(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),we))},onAbort:(ve,Ae,we)=>{this.resetLoader(Ae),U(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),we))}};E.load(G,se,ue)})}resetLoader(t){const{frag:n,keyInfo:s,url:m}=t,E=s.loader;n.keyLoader===E&&(n.keyLoader=null,s.loader=null),delete this.keyUriToKeyInfo[m],E&&E.destroy()}}function z(w){const{type:t}=w;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ge(w,t){let n=w.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class Le{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(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,m=n.loader,E=s||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:s}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:s,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:s,level:m,pathwayId:E,url:C,deliveryDirectives:U,levelInfo:G}=n;this.load({id:s,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:C,deliveryDirectives:U,levelOrTrack:G})}onAudioTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:C,track:U}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:C,levelOrTrack:U})}onSubtitleTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:C,track:U}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:C,levelOrTrack:U})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const m=s.context;m&&!n.levels.some(E=>E===m.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let m=this.getInternalLoader(t);if(m){const H=this.hls.logger,se=m.context;if(se&&se.levelOrTrack===t.levelOrTrack&&(se.url===t.url||se.deliveryDirectives&&!t.deliveryDirectives)){se.url===t.url?H.log(`[playlist-loader]: ignore ${t.url} ongoing request`):H.log(`[playlist-loader]: ignore ${t.url} in favor of ${se.url}`);return}H.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let E;if(t.type===h.MANIFEST?E=s.manifestLoadPolicy.default:E=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let H;if(t.type===h.LEVEL&&t.level!==null?H=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?H=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(H=this.hls.subtitleTracks[t.id].details),H){const se=H.partTarget,ue=H.targetduration;if(se&&ue){const ve=Math.max(se*3,ue*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(ve,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(ve,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},G={onSuccess:(H,se,ue,ve)=>{const Ae=this.getInternalLoader(ue);this.resetInternalLoader(ue.type);const we=H.data;if(we.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(H,ue,new Error("no EXTM3U delimiter"),ve||null,se);return}se.parsing.start=performance.now(),Eo.isMediaPlaylist(we)||ue.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(H,se,ue,ve||null,Ae):this.handleMasterPlaylist(H,se,ue,ve)},onError:(H,se,ue,ve)=>{this.handleNetworkError(se,ue,!1,H,ve)},onTimeout:(H,se,ue)=>{this.handleNetworkError(se,ue,!0,void 0,H)}};m.load(t,U,G)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:s}=this.hls;(t||s)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,s,m){const E=this.hls,C=t.data,U=ge(t,s),G=Eo.parseMasterPlaylist(C,U);if(G.playlistParsingError){this.handleManifestParsingError(t,s,G.playlistParsingError,m,n);return}const{contentSteering:H,levels:se,sessionData:ue,sessionKeys:ve,startTimeOffset:Ae,variableList:we}=G;this.variableList=we;const{AUDIO:qe=[],SUBTITLES:it,"CLOSED-CAPTIONS":jt}=Eo.parseMasterPlaylistMedia(C,U,G);qe.length&&!qe.some(er=>!er.url)&&se[0].audioCodec&&!se[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),qe.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new ta({}),bitrate:0,url:""})),E.trigger(o.MANIFEST_LOADED,{levels:se,audioTracks:qe,subtitles:it,captions:jt,contentSteering:H,url:U,stats:n,networkDetails:m,sessionData:ue,sessionKeys:ve,startTimeOffset:Ae,variableList:we})}handleTrackOrLevelPlaylist(t,n,s,m,E){const C=this.hls,{id:U,level:G,type:H}=s,se=ge(t,s),ue=r(G)?G:r(U)?U:0,ve=z(s),Ae=Eo.parseLevelPlaylist(t.data,se,ue,ve,0,this.variableList);if(H===h.MANIFEST){const we={attrs:new ta({}),bitrate:0,details:Ae,name:"",url:se};Ae.requestScheduled=n.loading.start+kn(Ae,0),C.trigger(o.MANIFEST_LOADED,{levels:[we],audioTracks:[],url:se,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Ae,this.handlePlaylistLoaded(Ae,t,n,s,m,E)}handleManifestParsingError(t,n,s,m,E){this.hls.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:m,stats:E})}handleNetworkError(t,n,s=!1,m,E){let C=`A network ${s?"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 G=f.UNKNOWN,H=!1;const se=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:G=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,H=!0;break;case h.LEVEL:G=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,H=!1;break;case h.AUDIO_TRACK:G=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,H=!1;break;case h.SUBTITLE_TRACK:G=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,H=!1;break}se&&this.resetInternalLoader(t.type);const ue={type:c.NETWORK_ERROR,details:G,fatal:H,url:t.url,loader:se,context:t,error:U,networkDetails:n,stats:E};if(m){const ve=(n==null?void 0:n.url)||t.url;ue.response=b({url:ve,data:void 0},m)}this.hls.trigger(o.ERROR,ue)}handlePlaylistLoaded(t,n,s,m,E,C){const U=this.hls,{type:G,level:H,id:se,groupId:ue,deliveryDirectives:ve}=m,Ae=ge(n,m),we=z(m),qe=typeof m.level=="number"&&we===u.MAIN?H:void 0;if(!t.fragments.length){const jt=t.playlistParsingError=new Error("No Segments found in Playlist");U.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Ae,error:jt,reason:jt.message,response:n,context:m,level:qe,parent:we,networkDetails:E,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const it=t.playlistParsingError;if(it){if(this.hls.logger.warn(it),!U.config.ignorePlaylistParsingErrors){U.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Ae,error:it,reason:it.message,response:n,context:m,level:qe,parent:we,networkDetails:E,stats:s});return}t.playlistParsingError=null}switch(t.live&&C&&(C.getCacheAge&&(t.ageHeader=C.getCacheAge()||0),(!C.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),G){case h.MANIFEST:case h.LEVEL:U.trigger(o.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||U.levels[0],level:qe||0,id:se||0,stats:s,networkDetails:E,deliveryDirectives:ve,withoutMultiVariant:G===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:se||0,groupId:ue||"",stats:s,networkDetails:E,deliveryDirectives:ve});break;case h.SUBTITLE_TRACK:U.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:se||0,groupId:ue||"",stats:s,networkDetails:E,deliveryDirectives:ve});break}}}class st{static get version(){return Na}static isMSESupported(){return Lf()}static isSupported(){return mf()}static getMediaSource(){return oe()}static get Events(){return o}static get MetadataSchema(){return Hi}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return st.defaultConfig?st.defaultConfig:cf}static set DefaultConfig(t){st.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 ha,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=V(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=Jc(st.DefaultConfig,t,n);this.userConfig=t,s.progressive&&Ju(s,n);const{abrController:m,bufferController:E,capLevelController:C,errorController:U,fpsController:G}=s,H=new U(this),se=this.abrController=new m(this),ue=new Ir(this),ve=s.interstitialsController,Ae=ve?this.interstitialsController=new ve(this,st):null,we=this.bufferController=new E(this,ue),qe=this.capLevelController=new C(this),it=new G(this),jt=new Le(this),ir=s.contentSteeringController,er=ir?new ir(this):null,Fr=this.levelController=new jf(this,er),Zr=new If(this),ln=new T(this.config),Wr=this.streamController=new v(this,ue,ln),an=this.gapController=new Nc(this,ue);qe.setStreamController(Wr),it.setStreamController(Wr);const yn=[jt,Fr,Wr];Ae&&yn.splice(1,0,Ae),er&&yn.splice(1,0,er),this.networkControllers=yn;const Kr=[se,we,an,qe,it,Zr,ue];this.audioTrackController=this.createController(s.audioTrackController,yn);const Vn=s.audioStreamController;Vn&&yn.push(this.audioStreamController=new Vn(this,ue,ln)),this.subtitleTrackController=this.createController(s.subtitleTrackController,yn);const ci=s.subtitleStreamController;ci&&yn.push(this.subtititleStreamController=new ci(this,ue,ln)),this.createController(s.timelineController,Kr),ln.emeController=this.emeController=this.createController(s.emeController,Kr),this.cmcdController=this.createController(s.cmcdController,Kr),this.latencyController=this.createController(pf,Kr),this.coreComponents=Kr,yn.push(H);const rs=H.onErrorOut;typeof rs=="function"&&this.on(o.ERROR,rs,H),this.on(o.MANIFEST_LOADED,jt.onManifestLoaded,jt)}createController(t,n){if(t){const s=new t(this);return n&&n.push(s),s}return null}on(t,n,s=this){this._emitter.on(t,n,s)}once(t,n,s=this){this._emitter.once(t,n,s)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,s=this,m){this._emitter.off(t,n,s,m)}listeners(t){return this._emitter.listeners(t)}emit(t,n,s){return this._emitter.emit(t,n,s)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(s){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+s.message+'". Here is a stacktrace:',s),!this.triggeringException){this.triggeringException=!0;const m=t===o.ERROR;this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:s}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(o.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(o.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,s=n?t.media:t,m=n?t:{media:s};this._media=s,this.trigger(o.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(o.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(o.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,m=this._url=ie.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${m}`),n&&s&&(s!==m||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(o.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 s=0;s<this.networkControllers.length&&(this.networkControllers[s].startLoad(t,n),!(!this.started||!this.networkControllers));s++);}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=Oa()),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 s=t.length;for(let m=0;m<s;m++)if(t[m].maxBitrate>=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,s)for(let E=m;E--;){const C=t[E].attrs["HDCP-LEVEL"];if(C&&C<=s)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 s=bi(n);return vt(t,s,navigator.mediaCapabilities)}}st.defaultConfig=void 0},53280:function(d,g,e){"use strict";e.d(g,{D:function(){return i}});function r(l,c,f){var o=f||{},h=o.noTrailing,u=h===void 0?!1:h,a=o.noLeading,x=a===void 0?!1:a,p=o.debounceMode,y=p===void 0?void 0:p,_,b=!1,A=0;function R(){_&&clearTimeout(_)}function L(D){var B=D||{},$=B.upcomingOnly,j=$===void 0?!1:$;R(),b=!j}function P(){for(var D=arguments.length,B=new Array(D),$=0;$<D;$++)B[$]=arguments[$];var j=this,K=Date.now()-A;if(b)return;function V(){A=Date.now(),c.apply(j,B)}function W(){_=void 0}!x&&y&&!_&&V(),R(),y===void 0&&K>l?x?(A=Date.now(),u||(_=setTimeout(y?W:V,l))):V():u!==!0&&(_=setTimeout(y?W:V,y===void 0?l-K:l))}return P.cancel=L,P}function i(l,c,f){var o=f||{},h=o.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",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:"5fd14d66",67:"2d249349",109:"41a3c364",195:"d98f97c7",264:"0e913148",265:"54eb1557",278:"cdd29237",292:"e88d20c7",310:"f405f77e",316:"1f60ada6",337:"0749d5ac",342:"e261cc52",354:"d4d139cf",479:"cb1f173a",485:"59a48868",508:"a85742e8",532:"e141c742",533:"2870a023",547:"3b89fa9b",556:"fef8c6d1",559:"c1b5407c",570:"6e3882ff",576:"09180d50",629:"44a1d9a5",643:"92ee2d76",671:"4a609b8d",672:"37450f7c",680:"5cfeaedf",700:"06b841c5",737:"97542717",741:"ac5fd360",799:"f57283d3",869:"ebef3244",895:"54118fc8",921:"ea7d46fb",928:"832b16fc",981:"24da50c7",1006:"57045f9f",1043:"f9115961",1045:"9073f58d",1048:"90ae4838",1070:"2bbb6f26",1144:"c90eccaf",1148:"e123b473",1154:"8cb80842",1188:"95b9edeb",1211:"961c0c29",1253:"0d72b5c8",1257:"ff5f4b4b",1265:"e00bb72f",1274:"5f6ea65a",1276:"1232c571",1343:"54552056",1416:"301e1c8a",1423:"c0dca4fb",1427:"508e2735",1450:"bba4318f",1461:"65c2ab9c",1462:"fcf08abc",1470:"7d115b0a",1475:"83fa742a",1482:"236e0393",1512:"2756fe43",1520:"f6545135",1545:"685c5411",1578:"930ae5a7",1581:"02177b5f",1582:"ea63cf3d",1646:"e6e27b60",1657:"1b717911",1660:"65a52d93",1674:"3eb6ba9a",1702:"a5df7ded",1713:"707266bb",1717:"8e3d4dd5",1727:"0c1c768d",1783:"096c919b",1799:"a3991011",1831:"772232ac",1836:"c220805c",1855:"18c35631",1880:"151fc459",1939:"f9ae7b86",1953:"03671023",1962:"b40ad8da",2011:"59d51f98",2045:"7ba792fc",2076:"0e6ed8c0",2102:"e89c60e6",2141:"14dee967",2216:"a06f36e7",2240:"0f3cbb90",2249:"f4830452",2254:"1103017a",2300:"e1bf89cf",2303:"0bc17daf",2307:"94c28f7e",2338:"8465c24b",2339:"fa8f0451",2386:"192e235c",2396:"f7183971",2404:"b05421af",2412:"61fdc5ab",2413:"71d7e69d",2425:"19aba420",2443:"ee779d6e",2476:"99b8606d",2494:"68080a87",2501:"00cfd1ba",2509:"95753e21",2529:"685eec05",2538:"de4a3723",2539:"6aea888c",2548:"a8fbf09d",2570:"cd046697",2594:"e87d3761",2603:"54bfd052",2654:"f657ac1b",2659:"c0671c95",2707:"f349ea60",2806:"953dc136",2819:"40be0883",2823:"796b62fc",2826:"06ed085c",2829:"7f623b7e",2837:"54a82605",2865:"dc6aaae7",2875:"94795336",2884:"fbf41ade",2969:"ab3357d7",2983:"91b5cf2e",3006:"0c33b4f0",3133:"9bf3f89c",3141:"98b60248",3157:"480edb6a",3183:"c60406fb",3198:"8e655451",3212:"57bcb6c1",3220:"31a2f900",3247:"9a171d91",3260:"fe3916c1",3267:"7bab569a",3276:"a2f501c6",3282:"e9b14950",3317:"424d4280",3332:"9accdc81",3355:"1999ce12",3356:"42cfad4e",3391:"00ddeb53",3433:"fca44e84",3442:"e3d2423c",3447:"1e9582ee",3451:"51fb556e",3496:"33feb152",3509:"5c270ac8",3550:"3dc83156",3581:"dbb220f3",3585:"2ce6a2ed",3665:"bc97fb86",3668:"38ea06e3",3697:"481a10d9",3747:"f38d2803",3754:"8a42053c",3777:"d5b0f2f1",3784:"9ae968e5",3805:"9dbcb95e",3862:"41064403",3873:"b3b23eab",3885:"f87f7f15",3910:"badbd452",3935:"8d6059c2",3951:"a1e276dd",3987:"a5fa1e4d",4014:"27a8e97c",4017:"b1859413",4030:"35f56b33",4056:"3b76996e",4058:"4b8bcbfb",4078:"185ef1bc",4088:"236723f3",4093:"3afa75e7",4105:"c7ac8f4c",4144:"07e2f551",4164:"9f80aad0",4184:"ff08337d",4216:"1c2d22eb",4217:"47867fad",4227:"551d4e86",4259:"7527addd",4264:"1f57a794",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"def1e764",4492:"609c38d2",4496:"31c1bf16",4498:"5b9ab9df",4504:"658a435c",4514:"7795d8af",4520:"78484881",4546:"afb7a70b",4565:"34ca03e6",4572:"06fb93fc",4599:"61def4cb",4601:"2b92ed20",4610:"6f1cf0cb",4621:"8bae08e1",4628:"ece2c60c",4662:"6b01a362",4685:"c33f1528",4715:"5f52e8f8",4736:"57926282",4741:"b030ec9d",4757:"ca92561b",4766:"d267690e",4770:"8dd4f97f",4790:"619413e4",4795:"4edb13ab",4797:"a24e92db",4800:"81e35ea6",4849:"d6044b36",4850:"1edda4b7",4862:"29230bf0",4884:"c0724104",4889:"1810ef3c",4928:"28a19e48",4973:"242caa1a",4994:"0b4b25f2",5022:"6cf35daa",5043:"ca2729ac",5048:"999dcbf8",5060:"85dafcc6",5096:"069fc2d9",5111:"9d8ae95a",5125:"edf1a30d",5148:"70aa3de0",5176:"61cb7b49",5179:"18ce2532",5186:"ad33fd4a",5191:"bdfc6cf8",5238:"da73f66a",5290:"5dabcdc2",5297:"2bdb9fb2",5319:"e6da2aaa",5321:"1163c84e",5335:"514012f2",5354:"7ae70604",5357:"2c86df7f",5359:"4e16f788",5382:"5fa6f1ff",5402:"30d334fb",5416:"454536b7",5434:"38b302a6",5470:"f4b824d6",5494:"d89549c4",5518:"92bb0cc5",5549:"868e0d0a",5572:"bb9daff6",5573:"3e51b2e0",5599:"ae683ffb",5624:"942456ab",5631:"e00d3d36",5650:"56f167ae",5679:"4a090bef",5705:"41d2c5f1",5729:"c00ffdae",5764:"e0d7e586",5775:"22f2e9b0",5786:"ae92d5f7",5798:"42f0887c",5816:"3e28e656",5825:"b9c3ee06",5876:"5eded409",5886:"490e40cd",5888:"dfaebb48",5891:"e7c36fdf",5895:"83ad7d29",5902:"7cd1f947",5915:"be52cf50",5972:"fd7ec6c4",5992:"9f868259",6029:"062a3e07",6034:"fe6c7c3e",6045:"d268f87f",6047:"3ce45acd",6052:"fa0a5eeb",6063:"ae2a546c",6069:"9bde6574",6126:"99519171",6127:"c6cfdc1a",6170:"07f25c2b",6265:"eecccaf4",6270:"a6884154",6277:"9431e782",6328:"80484f26",6366:"8e178fa0",6378:"7f3a946a",6411:"7d1994e3",6434:"fe8fa5d9",6444:"e60eb700",6452:"27483645",6531:"eac0ffe2",6541:"ad57488e",6583:"100067f0",6587:"06086327",6634:"e4b9f10c",6651:"3c975bed",6675:"3fe93ad4",6685:"0ee72dcb",6729:"773bbde3",6741:"66024dc6",6758:"a6ebaec2",6774:"59d4d618",6784:"cf8d7ee4",6788:"62557ba4",6796:"2419fdc3",6805:"8ee172b8",6820:"0a3a6307",6845:"324ab553",6882:"bbc43576",6883:"6cb80143",6904:"7e5f687f",6913:"f3ae2021",6963:"4c8ec4c4",6982:"d4641a78",7008:"2656eb9c",7043:"e04a8c28",7045:"8300cac2",7046:"0b4c2083",7058:"4de3ffe8",7062:"452af53c",7084:"46ccce72",7156:"e7466006",7178:"1e44b40f",7180:"3868c0f2",7182:"dfef85b6",7242:"a0ba8718",7260:"91559e86",7331:"2e27a23b",7333:"1a1b2321",7365:"1005464f",7395:"07d528df",7460:"ef5ecc87",7477:"c09921da",7482:"dc3069a8",7527:"a3bab0a1",7545:"0c239efa",7560:"45ff3853",7589:"aa0ce25f",7591:"8354027c",7614:"2b342611",7622:"b19a14dd",7631:"dee68dc0",7686:"4fcec9f9",7706:"c2a79e40",7806:"3baa01b4",7852:"280dc0a4",7855:"ee5558ca",7857:"c83de972",7878:"a0fbd301",7884:"afc9dc37",7922:"39da8180",7948:"be2cef38",7964:"29aed9a1",8014:"057f2551",8062:"93095cf4",8072:"fe9a0a02",8077:"050c8f42",8085:"fe341ad6",8089:"d536b13a",8143:"42341b58",8155:"e4bba52a",8161:"83c5fa9a",8237:"268c2265",8241:"e8ec7d20",8302:"1629f21b",8307:"8327d995",8340:"39c85824",8350:"07df8a75",8365:"0d4517f4",8398:"5717dd15",8431:"cf20462c",8435:"1b3c3686",8447:"09343f96",8517:"a0029897",8561:"333e8ec9",8563:"abe387ab",8600:"9598e650",8634:"def57886",8639:"68809bd0",8665:"88f5987a",8688:"6c381a14",8689:"586226e2",8723:"df766819",8737:"ce7dad23",8776:"0ad26240",8782:"9c564188",8787:"d34b726d",8797:"6aa0f202",8823:"3c73b904",8827:"6ff2ef26",8842:"9f25a3e2",8866:"b00c3a55",8882:"ceccc690",8885:"46b0088a",8898:"d002bcd8",8909:"82cefd99",8920:"7f82440c",8963:"790aecdd",8982:"de084765",8999:"12cf3ee7",9076:"e0aaaea3",9104:"bbcb2345",9133:"340f0468",9205:"4c7d3a16",9215:"0206d198",9252:"0d791a59",9260:"cf5f8140",9332:"c78101bd",9360:"88628e59",9366:"dd08abde",9391:"84dd65c2",9404:"9fcc3d3e",9408:"45a96c6f",9416:"2e5fd40c",9487:"bbefb860",9489:"79ad516e",9507:"6e728c3c",9519:"58bd3f88",9554:"ed358e7b",9559:"f794af19",9590:"f31c14d9",9647:"0f4af68b",9649:"cf89daca",9674:"f2fed05a",9677:"c07e6bc5",9695:"2f13e5f6",9715:"06bb626f",9716:"8cc894f5",9785:"df4b74d7",9788:"1f3da99f",9890:"a7f6301e",9891:"b033cd93",9895:"b8e31ff2",9921:"0ef4ff27",9922:"6581d79e",9928:"5989f5e0",9944:"c49bafc8",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",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",3267:"03cdfb68",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",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",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"),o=0;o<f.length;o++){var h=f[o];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,o){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),o(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 o=c[f],h=o.getAttribute("data-href")||o.getAttribute("href");if(o.rel==="stylesheet"&&(h===i||h===l))return o}for(var u=document.getElementsByTagName("style"),f=0;f<u.length;f++){var o=u[f],h=o.getAttribute("data-href");if(h===i||h===l)return o}},e=function(i){return new Promise(function(l,c){var f=__webpack_require__.miniCssF(i),o=__webpack_require__.p+f;if(g(f,o))return l();d(i,o,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,3267: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,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,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),o=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;o.message="Loading chunk "+r+` failed.
|
|
|
(`+a+": "+x+")",o.name="ChunkLoadError",o.type=a,o.request=x,l[1](o)}};__webpack_require__.l(f,h,"chunk-"+r,r)}};var g=function(r,i){var l=i[0],c=i[1],f=i[2],o,h,u=0;if(l.some(function(x){return d[x]!==0})){for(o in c)__webpack_require__.o(c,o)&&(__webpack_require__.m[o]=c[o]);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),o=__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),A=__webpack_require__(86357),R=__webpack_require__(93074),L=__webpack_require__(96331),P=__webpack_require__(2924),D=__webpack_require__(26425),B=__webpack_require__(32125),$=__webpack_require__(16137),j=__webpack_require__(48435),K=__webpack_require__(11553),V=__webpack_require__(70365),W=__webpack_require__(33717),oe=__webpack_require__(17482),ae=__webpack_require__(23708),ce=__webpack_require__(65033),q=__webpack_require__(52732),J=__webpack_require__(99382),Y=__webpack_require__(88437),le=__webpack_require__(68440),ne=__webpack_require__(13412),ee=__webpack_require__(11005),ie=__webpack_require__(70348),F=__webpack_require__(19801),M=__webpack_require__(91550),Q=__webpack_require__(85223),de=__webpack_require__(7154),Se=__webpack_require__(67788),Ie=__webpack_require__(96009),je=__webpack_require__(9402),Fe=__webpack_require__(62489),Ft=__webpack_require__(80881),_t=__webpack_require__(62837),Pt=__webpack_require__(4705),Qt=__webpack_require__(13941),Jt=__webpack_require__(1148),qt=__webpack_require__(82445),Xe=__webpack_require__(27267),It=__webpack_require__(96353),Ut=__webpack_require__(90308),ot=__webpack_require__(84818),bt=__webpack_require__(80585),ht=__webpack_require__(89170),et=__webpack_require__(71012),Ue=__webpack_require__(84203),ye=__webpack_require__(22112),Pe=__webpack_require__(81440),Me=__webpack_require__(25430),$e=__webpack_require__(70105),He=__webpack_require__(71390),nt=__webpack_require__(96844),ct=__webpack_require__(83578),Gt=__webpack_require__(69762),Ht=__webpack_require__(76880),Oe=__webpack_require__(65009),Je=__webpack_require__(28796),Wt=__webpack_require__(56450),kt=__webpack_require__(78342),Zt=__webpack_require__(13161),Bt=__webpack_require__(54226),At=__webpack_require__(70201),Kt=__webpack_require__(34941),We=__webpack_require__(85671),fe=__webpack_require__(35152),_e=__webpack_require__(85660),Ot=__webpack_require__(80031),De=__webpack_require__(34434),dt=__webpack_require__(83579),zt=__webpack_require__(74307),Ct=__webpack_require__(97423),ke=__webpack_require__(93321),wt=__webpack_require__(82277),xe=__webpack_require__(61425),Ke=__webpack_require__(61873),gt=__webpack_require__(9307),Lt=__webpack_require__(8821),Be=__webpack_require__(64385),Dr=__webpack_require__(64099),St=__webpack_require__(62455),Gr=__webpack_require__(79965),Xr=__webpack_require__(59118),Sr=__webpack_require__(275),Mr=__webpack_require__(31919),pr=__webpack_require__(51284),$r=__webpack_require__(10177),nn=__webpack_require__(85690),on=__webpack_require__(92114),sr=__webpack_require__(1017),Mt=__webpack_require__(14480),vt=__webpack_require__(40516),yt=__webpack_require__(76345),Nt=__webpack_require__(7282),Cr=__webpack_require__(58055),vr=__webpack_require__(93547),ut=__webpack_require__(31237),Rr=__webpack_require__(17954),_n=__webpack_require__(58580),Un=__webpack_require__(47146),_r=__webpack_require__(40416),Jr=__webpack_require__(7615),dn=__webpack_require__(72820),Mn=__webpack_require__(86070),Jn=__webpack_require__(23569),Nn=__webpack_require__(55639),Ui=__webpack_require__(63046),mi=__webpack_require__(464),bi=__webpack_require__(51082),vi=__webpack_require__(83850),di=__webpack_require__(41990),Yi=__webpack_require__(15787),Xn=__webpack_require__(55888),Vi=__webpack_require__(53827),Et=__webpack_require__(78143),lt=__webpack_require__(66419),Qn=__webpack_require__(75765),xi=__webpack_require__(14645),qn=__webpack_require__(71122),Wi=__webpack_require__(42084),hi=__webpack_require__(25070),ni=__webpack_require__(77140),bn=__webpack_require__(15954),tr=__webpack_require__(4266),mt=__webpack_require__(49988),rt=__webpack_require__(38823),Dt=__webpack_require__(24627),pt=__webpack_require__(4045),ur=__webpack_require__(50747),cr=__webpack_require__(43595),Tr=__webpack_require__(92324),Ur=__webpack_require__(23551),Ze=__webpack_require__(74521),tt=__webpack_require__(57891),Ee=__webpack_require__(84138),at=__webpack_require__(51832),nr=__webpack_require__(37135),Pr=__webpack_require__(6474),br=__webpack_require__(40135),Ir=__webpack_require__(7982),Br=__webpack_require__(14893),mn=__webpack_require__(49233),Er=__webpack_require__(92130),un=__webpack_require__(42844),tn=__webpack_require__(6536),sn=__webpack_require__(27228),wn=__webpack_require__(62921),fa=__webpack_require__(44001),Ci=__webpack_require__(92262),fi=__webpack_require__(54744),hn=__webpack_require__(38214),ai=__webpack_require__(12756),Mi=__webpack_require__(93379),sa=__webpack_require__(62007),Es=__webpack_require__(90572),oa=__webpack_require__(37343),ds=__webpack_require__(45945),ws=__webpack_require__(75551),ka=__webpack_require__(32493),gs=__webpack_require__(20852),Zn=__webpack_require__(46302),qa=__webpack_require__(18827),Ha=__webpack_require__(76718),Ss=__webpack_require__(79172),Bi=__webpack_require__(32192),hs=__webpack_require__(42828),Ao=__webpack_require__(5658),Pa=__webpack_require__(55629),ta=__webpack_require__(62925),Ma=__webpack_require__(9595),Hs=__webpack_require__(58127),On=__webpack_require__(70917),Ra=__webpack_require__(53427),is=__webpack_require__(70878),as=__webpack_require__(49257),Li=__webpack_require__(72910),Da=__webpack_require__(34932),Ca=__webpack_require__(81046),ls=__webpack_require__(85744),Ws=__webpack_require__(13494),bo=__webpack_require__(56338),Co=__webpack_require__(66755),To=__webpack_require__(68709),ga=__webpack_require__(4939),Ka=__webpack_require__(81927),uo=__webpack_require__(60462),ho=__webpack_require__(72571),Po=__webpack_require__(71200),xo=__webpack_require__(85767),li=__webpack_require__(84432),si=__webpack_require__(59022),Fa=__webpack_require__(19363),Wa=__webpack_require__(51054),Ga=__webpack_require__(60330),Gs=__webpack_require__(55234),Vs=__webpack_require__(88104),Yo=__webpack_require__(64336),cs=__webpack_require__(63914),Io=__webpack_require__(35246),Do=__webpack_require__(83470),jo=__webpack_require__(79641),Au=__webpack_require__(72397),Eo=__webpack_require__(24860),lo=__webpack_require__(19320),Ks=__webpack_require__(56233),Mu=__webpack_require__(59419),Oo=__webpack_require__(64344),ko=__webpack_require__(5316),Ns=__webpack_require__(93744),du=__webpack_require__(19299),Mo=__webpack_require__(15286),wo=__webpack_require__(91927),Rs=__webpack_require__(27730),Ds=__webpack_require__(58707),hu=__webpack_require__(41356),Cu=__webpack_require__(51606),Xt=__webpack_require__(8966),fr=__webpack_require__(38458),ar=__webpack_require__(71957),mr=__webpack_require__(89466),xr=__webpack_require__(69653),vn=__webpack_require__(96519),xn=__webpack_require__(95576),$n=__webpack_require__(63079),kn=__webpack_require__(8995),Yn=__webpack_require__(23080),or=__webpack_require__(74701),Lr=__webpack_require__(91809),yr=__webpack_require__(77517),fn=__webpack_require__(30149),zn=__webpack_require__(55410),ft=__webpack_require__(46161),Cn=__webpack_require__(14800),Hn=__webpack_require__(91130),oi=__webpack_require__(2722),zi=__webpack_require__(55885),Nr=__webpack_require__(39034),Hr=__webpack_require__(8604),da=__webpack_require__(64963),Ti=__webpack_require__(25178),ra=__webpack_require__(1905),Ts=__webpack_require__(94306),ui=__webpack_require__(11762),$s=__webpack_require__(93164),Fo=__webpack_require__(88900),Os=__webpack_require__(54815),ha=__webpack_require__(81138),Na=__webpack_require__(37252),ps=__webpack_require__(81673),Ln=__webpack_require__(48966),Ls=__webpack_require__(13015),Ms=__webpack_require__(78527),Ye=__webpack_require__(20511),Qe=__webpack_require__(78366),Rt=__webpack_require__(27427),Vt=__webpack_require__(43890),dr=__webpack_require__(55844),kr=__webpack_require__(71361),jr=__webpack_require__(44550),pn=__webpack_require__(413),en=__webpack_require__(77464),gn=__webpack_require__(77703),Wn=__webpack_require__(93854),ti=__webpack_require__(962),gi=__webpack_require__(44169),wi=__webpack_require__(56272),Ni=__webpack_require__(43466),Fi=__webpack_require__(48156),yi=__webpack_require__(93236),pa=__webpack_require__(42212),Pi=__webpack_require__(63923),pi=__webpack_require__(2278),ua=__webpack_require__(36955),Ys=__webpack_require__(77326),_s=__webpack_require__(53571),Zi=__webpack_require__(28670),Oa=__webpack_require__(31050),qi=__webpack_require__(25321),Ii=__webpack_require__(96364),ya=__webpack_require__(46304),$a=__webpack_require__(55163),Va=__webpack_require__(78722),io=__webpack_require__(35977),Ya=__webpack_require__(81848),co=__webpack_require__(52867),La=__webpack_require__(72211),Xs=__webpack_require__(84862),js=__webpack_require__(92381),na=__webpack_require__(19517),ja=__webpack_require__(69667),ys=__webpack_require__(80820),Hi=__webpack_require__(87873),be=__webpack_require__(54609),Ce=__webpack_require__(28566),wr=__webpack_require__(51697),Qr=__webpack_require__(61872),gr=__webpack_require__(76077),Yr=__webpack_require__(9196),Sn=__webpack_require__(5369),ei=__webpack_require__(26259),Oi=__webpack_require__(47736),In=__webpack_require__(28220),Tn=__webpack_require__(62060),Fn=__webpack_require__(49350),la=__webpack_require__(20126),$i=__webpack_require__(18090),po=__webpack_require__(14309),Qs=__webpack_require__(17822),tu=__webpack_require__(83543),tl=__webpack_require__(13853),Ku=__webpack_require__(25188),Tu=__webpack_require__(10215),zc=__webpack_require__(3432),pu=__webpack_require__(90486),Ve=__webpack_require__(6736),Z=__webpack_require__(8774),X=__webpack_require__(94065),te=__webpack_require__(93036),pe=__webpack_require__(75708),Te=__webpack_require__(84624),Ge=__webpack_require__(66233),Tt=__webpack_require__(43710),$t=__webpack_require__(92762),rr=__webpack_require__(24467),Ar=__webpack_require__(68465),zr=__webpack_require__(77004),qr=__webpack_require__(83925),En=__webpack_require__(51117),Rn=__webpack_require__(87236),lr=__webpack_require__(83733),Ei=__webpack_require__(92044),ia=__webpack_require__(29190),aa=__webpack_require__(10775),Xi=__webpack_require__(19593),Ja=__webpack_require__(26502),ss=__webpack_require__(10174),bs=__webpack_require__(96378),es=__webpack_require__(58216),wa=__webpack_require__(41401),fs=__webpack_require__(79908),xs=__webpack_require__(82531),_i=__webpack_require__(79890),Us=__webpack_require__(88472),ms=__webpack_require__(38944),Xo=__webpack_require__(78423),Ps=__webpack_require__(65713),_o=__webpack_require__(22968),qs=__webpack_require__(17564),Bl=__webpack_require__(1220),Fu=__webpack_require__(44886),Bo=__webpack_require__(57019),ru=__webpack_require__(35295),ks=__webpack_require__(80286),Bu=__webpack_require__(38487),cu=__webpack_require__(29916),Js=__webpack_require__(25541),gl=__webpack_require__(45612),yl=__webpack_require__(34926),Uo=__webpack_require__(98080),bl=__webpack_require__(68255),zs=__webpack_require__(96351),Qo=__webpack_require__(16450),_u=__webpack_require__(60244),xl=__webpack_require__(86921),qo=__webpack_require__(82928),Nl=__webpack_require__(42947),$l=__webpack_require__(71568),ii=__webpack_require__(94194),sc=__webpack_require__(30556),eo=__webpack_require__(32100),Ac=__webpack_require__(93102),fu=__webpack_require__(1821),Nu=__webpack_require__(82074),$u=__webpack_require__(13578),jl=__webpack_require__(59348),Ul=__webpack_require__(62882),mo=__webpack_require__(37457),zo=__webpack_require__(70654),af=__webpack_require__(90252),Cc=__webpack_require__(29482),El=__webpack_require__(51630),Zc=__webpack_require__(61933),zl=__webpack_require__(619),mu=__webpack_require__(99675),Pu=__webpack_require__(52548),Fs=__webpack_require__(53637),to=__webpack_require__(57482),No=__webpack_require__(59725),oc=__webpack_require__(17610),wl=__webpack_require__(56966),ro=__webpack_require__(11507),uc=__webpack_require__(16315),lc=__webpack_require__(60239),nu=__webpack_require__(49381),Sl=__webpack_require__(17230),vu=__webpack_require__(62720),cc=__webpack_require__(57151),rl=__webpack_require__(48732),Ia=__webpack_require__(18481),Hc=__webpack_require__(55055),Wc=__webpack_require__(7195),ju=__webpack_require__(89179),Tc=__webpack_require__(90965),sf=__webpack_require__(67725),fc=__webpack_require__(59884),iu=__webpack_require__(89202),Gc=__webpack_require__(97815),dc=__webpack_require__(11593),Al=__webpack_require__(7597),hc=__webpack_require__(55182),Pc=__webpack_require__(34366),Zo=__webpack_require__(85425),gu=__webpack_require__(64522),Zl=__webpack_require__(41599),Uu=__webpack_require__(86465),Ic=__webpack_require__(78437),Vc=__webpack_require__(73624),Hl=__webpack_require__(62059),ao=__webpack_require__(10305),Wl=__webpack_require__(41208),Dc=__webpack_require__(25204),Iu=__webpack_require__(40061),Du=__webpack_require__(47803),so=__webpack_require__(7893),Yu=__webpack_require__(4890),of=__webpack_require__(5340),Oc=__webpack_require__(61650),Kc=__webpack_require__(58246),nl=__webpack_require__(65873),So=__webpack_require__(63579),Cl=__webpack_require__(87296),ze=__webpack_require__(59301),yu=__webpack_require__(4676),Jo=__webpack_require__(35338),Tl=__webpack_require__(95254);function Ro(An){var Gn=An.id,ki=An.basename,xa=An.cb,ji=new URLSearchParams({route:Gn,url:window.location.href}).toString(),ca="".concat($o(window.umiServerLoaderPath||ki),"__serverLoader?").concat(ji);fetch(ca,{credentials:"include"}).then(function(va){return va.json()}).then(xa).catch(console.error)}function $o(){var An=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return An.endsWith("/")?An:"".concat(An,"/")}var Ho=__webpack_require__(38127),Gl=__webpack_require__(38329),Xu=__webpack_require__(8616),zu=["content"],Wo=["content"],Vl=/^(http:|https:)?\/\//;function Kl(An){return Vl.test(An)||An.startsWith("/")&&!An.startsWith("/*")||An.startsWith("./")||An.startsWith("../")}var au=function(){return ze.createElement("noscript",{dangerouslySetInnerHTML:{__html:"<b>Enable JavaScript to run this app.</b>"}})},bu=function(Gn){var ki,xa=Gn.loaderData,ji=Gn.htmlPageOpts,ca=Gn.manifest,va=(ca==null||(ki=ca.assets)===null||ki===void 0?void 0:ki["umi.css"])||"";return ze.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(xa||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(ji||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(va,"'")}})};function xu(An){var Gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof An=="string")return Kl(An)?(0,So.Z)({src:An},Gn):{content:An};if((0,Xu.Z)(An)==="object")return(0,So.Z)((0,So.Z)({},An),Gn);throw new Error("Invalid script type: ".concat((0,Xu.Z)(An)))}function pc(An){return Kl(An)?{type:"link",href:An}:{type:"style",content:An}}var il=function(Gn){var ki,xa,ji,ca,va,Xa,Gi=Gn.htmlPageOpts;return ze.createElement(ze.Fragment,null,(Gi==null?void 0:Gi.title)&&ze.createElement("title",null,Gi.title),Gi==null||(ki=Gi.favicons)===null||ki===void 0?void 0:ki.map(function(us,ku){return ze.createElement("link",{key:ku,rel:"shortcut icon",href:us})}),(Gi==null?void 0:Gi.description)&&ze.createElement("meta",{name:"description",content:Gi.description}),(Gi==null||(xa=Gi.keywords)===null||xa===void 0?void 0:xa.length)&&ze.createElement("meta",{name:"keywords",content:Gi.keywords.join(",")}),Gi==null||(ji=Gi.metas)===null||ji===void 0?void 0:ji.map(function(us){return ze.createElement("meta",{key:us.name,name:us.name,content:us.content})}),Gi==null||(ca=Gi.links)===null||ca===void 0?void 0:ca.map(function(us,ku){return ze.createElement("link",(0,Gl.Z)({key:ku},us))}),Gi==null||(va=Gi.styles)===null||va===void 0?void 0:va.map(function(us,ku){var Wu=pc(us),Gu=Wu.type,Qu=Wu.href,hl=Wu.content;if(Gu==="link")return ze.createElement("link",{key:ku,rel:"stylesheet",href:Qu});if(Gu==="style")return ze.createElement("style",{key:ku},hl)}),Gi==null||(Xa=Gi.headScripts)===null||Xa===void 0?void 0:Xa.map(function(us,ku){var Wu=xu(us),Gu=Wu.content,Qu=(0,Ho.Z)(Wu,zu);return ze.createElement("script",(0,Gl.Z)({dangerouslySetInnerHTML:{__html:Gu},key:ku},Qu))}))};function vo(An){var Gn,ki=An.children,xa=An.loaderData,ji=An.manifest,ca=An.htmlPageOpts,va=An.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Xa=An.mountElementId;if(va!=null&&va.pureHtml)return ze.createElement("html",null,ze.createElement("head",null),ze.createElement("body",null,ze.createElement(au,null),ze.createElement("div",{id:Xa},ki),ze.createElement(bu,{manifest:ji,loaderData:xa,htmlPageOpts:ca})));if(va!=null&&va.pureApp)return ze.createElement(ze.Fragment,null,ki);var Gi=typeof window=="undefined"?ji==null?void 0:ji.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return ze.createElement("html",{suppressHydrationWarning:!0,lang:(ca==null?void 0:ca.lang)||"en"},ze.createElement("head",null,ze.createElement("meta",{charSet:"utf-8"}),ze.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Gi&&ze.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Gi}),ze.createElement(il,{htmlPageOpts:ca})),ze.createElement("body",null,ze.createElement(au,null),ze.createElement("div",{id:Xa},ki),ze.createElement(bu,{manifest:ji,loaderData:xa,htmlPageOpts:ca}),ca==null||(Gn=ca.scripts)===null||Gn===void 0?void 0:Gn.map(function(us,ku){var Wu=xu(us),Gu=Wu.content,Qu=(0,Ho.Z)(Wu,Wo);return ze.createElement("script",(0,Gl.Z)({dangerouslySetInnerHTML:{__html:Gu},key:ku},Qu))})))}var al=ze.createContext(void 0);function kc(){return ze.useContext(al)}var sl=["redirect"];function Pl(An){var Gn=An.routesById,ki=An.parentId,xa=An.routeComponents,ji=An.useStream,ca=ji===void 0?!0:ji;return Object.keys(Gn).filter(function(va){return Gn[va].parentId===ki}).map(function(va){var Xa=ol((0,So.Z)((0,So.Z)({route:Gn[va],routeComponent:xa[va],loadingComponent:An.loadingComponent,reactRouter5Compat:An.reactRouter5Compat},An.reactRouter5Compat&&{hasChildren:Object.keys(Gn).filter(function(us){return Gn[us].parentId===va}).length>0}),{},{useStream:ca})),Gi=Pl({routesById:Gn,routeComponents:xa,parentId:Xa.id,loadingComponent:An.loadingComponent,reactRouter5Compat:An.reactRouter5Compat,useStream:ca});return Gi.length>0&&(Xa.children=Gi,Xa.routes=Gi),Xa})}function Yl(An){var Gn=(0,Jo.UO)(),ki=(0,Jo.Gn)(An.to,Gn),xa=(0,Tl.T$)(),ji=(0,Jo.TH)();if(xa!=null&&xa.keepQuery){var ca=ji.search+ji.hash;ki+=ca}var va=(0,So.Z)((0,So.Z)({},An),{},{to:ki});return ze.createElement(Jo.Fg,(0,Gl.Z)({replace:!0},va))}function ol(An){var Gn=An.route,ki=An.useStream,xa=ki===void 0?!0:ki,ji=Gn.redirect,ca=(0,Ho.Z)(Gn,sl),va=An.reactRouter5Compat?Xl:Ql;return(0,So.Z)({element:ji?ze.createElement(Yl,{to:ji}):ze.createElement(al.Provider,{value:{route:An.route}},ze.createElement(va,{loader:ze.memo(An.routeComponent),loadingComponent:An.loadingComponent||uf,hasChildren:An.hasChildren,useStream:xa}))},ca)}function uf(){return ze.createElement("div",null)}function Xl(An){var Gn=kc(),ki=Gn.route,xa=(0,Tl.Ov)(),ji=xa.history,ca=xa.clientRoutes,va=(0,Jo.UO)(),Xa={params:va,isExact:!0,path:ki.path,url:ji.location.pathname},Gi=An.loader,us={location:ji.location,match:Xa,history:ji,params:va,route:ki,routes:ca};return An.useStream?ze.createElement(ze.Suspense,{fallback:ze.createElement(An.loadingComponent,null)},ze.createElement(Gi,us,An.hasChildren&&ze.createElement(Jo.j3,null))):ze.createElement(Gi,us,An.hasChildren&&ze.createElement(Jo.j3,null))}function Ql(An){var Gn=An.loader;return An.useStream?ze.createElement(ze.Suspense,{fallback:ze.createElement(An.loadingComponent,null)},ze.createElement(Gn,null)):ze.createElement(Gn,null)}var su=null;function Yc(){return su}function Eu(An){var Gn=An.history,ki=ze.useState({action:Gn.action,location:Gn.location}),xa=(0,Cl.Z)(ki,2),ji=xa[0],ca=xa[1];return(0,ze.useLayoutEffect)(function(){return Gn.listen(ca)},[Gn]),(0,ze.useLayoutEffect)(function(){function va(Xa){An.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:An.routes,clientRoutes:An.clientRoutes,location:Xa.location,action:Xa.action,basename:An.basename,isFirst:!!Xa.isFirst}})}return va({location:ji.location,action:ji.action,isFirst:!0}),Gn.listen(va)},[Gn,An.routes,An.clientRoutes]),ze.createElement(Jo.F0,{navigator:Gn,location:ji.location,basename:An.basename},An.children)}function go(){var An=(0,Tl.Ov)(),Gn=An.clientRoutes;return(0,Jo.V$)(Gn)}var Il=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],ql=function(Gn,ki){var xa=Gn.basename||"/",ji=Pl({routesById:Gn.routes,routeComponents:Gn.routeComponents,loadingComponent:Gn.loadingComponent,reactRouter5Compat:Gn.reactRouter5Compat,useStream:Gn.useStream});Gn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:ji}});for(var ca=ze.createElement(Eu,{basename:xa,pluginManager:Gn.pluginManager,routes:Gn.routes,clientRoutes:ji,history:Gn.history},ki),va=0,Xa=Il;va<Xa.length;va++){var Gi=Xa[va];ca=Gn.pluginManager.applyPlugins({type:"modify",key:Gi,initialValue:ca,args:{routes:Gn.routes,history:Gn.history,plugin:Gn.pluginManager}})}var us=function(){var Wu=(0,ze.useState)({}),Gu=(0,Cl.Z)(Wu,2),Qu=Gu[0],hl=Gu[1],Cf=(0,ze.useState)(window.__UMI_LOADER_DATA__||{}),Ef=(0,Cl.Z)(Cf,2),pl=Ef[0],wf=Ef[1],Mc=(0,ze.useCallback)(function(qc,lf){var qu,Tf=(((qu=(0,Jo.fp)(ji,qc,xa))===null||qu===void 0?void 0:qu.map(function(Ru){return Ru.route.id}))||[]).filter(Boolean);Tf.forEach(function(Ru){var Fc,cf;if(window.__umi_route_prefetch__){var Go,Jc=(Go=Gn.routeComponents[Ru])===null||Go===void 0||(Go=Go._payload)===null||Go===void 0?void 0:Go._result;typeof Jc=="function"&&Jc()}var Bc=(Fc=Gn.routes[Ru])===null||Fc===void 0?void 0:Fc.clientLoader,Ju=!!Bc,_l=(cf=Gn.routes[Ru])===null||cf===void 0?void 0:cf.hasServerLoader;!lf&&_l&&!Ju&&!window.__UMI_LOADER_DATA__&&Ro({id:Ru,basename:xa,cb:function(Ec){ze.startTransition(function(){wf(function(ef){return(0,So.Z)((0,So.Z)({},ef),{},(0,nl.Z)({},Ru,Ec))})})}});var Vo=!!Qu[Ru],ff=Ju&&Bc.hydrate||!_l,df=_l&&!window.__UMI_LOADER_DATA__;Ju&&!Vo&&(ff||df)&&Bc({serverLoader:function(){return Ro({id:Ru,basename:xa,cb:function(ef){ze.startTransition(function(){wf(function(tf){return(0,So.Z)((0,So.Z)({},tf),{},(0,nl.Z)({},Ru,ef))})})}})}}).then(function(Nc){hl(function(Ec){return(0,So.Z)((0,So.Z)({},Ec),{},(0,nl.Z)({},Ru,Nc))})})})},[Qu]);return(0,ze.useEffect)(function(){return Mc(window.location.pathname,!0),Gn.history.listen(function(qc){Mc(qc.location.pathname)})},[]),(0,ze.useLayoutEffect)(function(){typeof Gn.callback=="function"&&Gn.callback()},[]),ze.createElement(Tl.Il.Provider,{value:{routes:Gn.routes,routeComponents:Gn.routeComponents,clientRoutes:ji,pluginManager:Gn.pluginManager,rootElement:Gn.rootElement,basename:xa,clientLoaderData:Qu,serverLoaderData:pl,preloadRoute:Mc,history:Gn.history}},ca)};return us};function _c(An){var Gn=An.rootElement||document.getElementById("root"),ki=ql(An,ze.createElement(go,null));if(An.components)return ki;if(An.hydrate){var xa=window.__UMI_LOADER_DATA__||{},ji=window.__UMI_METADATA_LOADER_DATA__||{},ca={metadata:ji,loaderData:xa,mountElementId:An.mountElementId},va=An.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp||An.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;yu.hydrateRoot(va?Gn:document,va?ze.createElement(ki,null):ze.createElement(vo,ca,ze.createElement(ki,null)));return}if(yu.createRoot){su=yu.createRoot(Gn),su.render(ze.createElement(ki,null));return}yu.render(ze.createElement(ki,null),Gn)}var mc=(An,Gn,ki)=>new Promise((xa,ji)=>{var ca=Gi=>{try{Xa(ki.next(Gi))}catch(us){ji(us)}},va=Gi=>{try{Xa(ki.throw(Gi))}catch(us){ji(us)}},Xa=Gi=>Gi.done?xa(Gi.value):Promise.resolve(Gi.value).then(ca,va);Xa((ki=ki.apply(An,Gn)).next())});function Xc(){return mc(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:"/",parentId:"1",id:"462"},463:{path:"/",exact:!0,parentId:"462",id:"463"},464:{path:"/api/*",exact:!0,parentId:"462",id:"464"},465:{path:"/search",exact:!0,parentId:"462",id:"465"},466:{path:"/moop_cases",exact:!0,parentId:"462",id:"466"},467:{path:"/moop_cases/new",exact:!0,parentId:"462",id:"467"},468:{path:"/moop_cases/:caseId",exact:!0,parentId:"462",id:"468"},469:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"462",id:"469"},470:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"462",id:"470"},471:{path:"/randompaper",exact:!0,parentId:"462",id:"471"},472:{path:"/randompaper/edit/:id",exact:!0,parentId:"462",id:"472"},473:{path:"/randompaper/detail/:id",exact:!0,parentId:"462",id:"473"},474:{path:"/403",parentId:"462",id:"474"},475:{path:"/500",parentId:"462",id:"475"},476:{path:"/404",parentId:"462",id:"476"},477:{path:"/download",parentId:"462",id:"477"},478:{path:"/iwce",parentId:"462",id:"478"},479:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"462",id:"479"},480:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"462",id:"480"},481:{path:"/Activities",parentId:"462",id:"481"},482:{path:"/iwce/:itemname",parentId:"462",id:"482"},483:{path:"/hpc-course",parentId:"462",id:"483"},484:{path:"/user_agents",parentId:"462",id:"484"},485:{path:"/three",parentId:"462",id:"485"},486:{path:"/introduction",parentId:"462",id:"486"},487:{path:"/chatgpt",parentId:"462",id:"487"},488:{path:"/*",parentId:"462",id:"488"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),2:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),3:ze.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,63041))),4:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),5:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),6:ze.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,66415))),7:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),8:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,75066))),9:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),10:ze.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,16568))),11:ze.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27945))),12:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),13:ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),14:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,50578))),15:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,38239))),16:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),17:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),18:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),19:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),20:ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),21:ze.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,43276))),22:ze.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,33165))),23:ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),24:ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),25:ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),26:ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),27:ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),28:ze.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,74719))),29:ze.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,79213))),30:ze.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,24997))),31:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,9920))),32:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,56575))),33:ze.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,67059))),34:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,21871))),35:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,52784))),36:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,93982))),37:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,99061))),38:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,4654))),39:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,44180))),40:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,69993))),41:ze.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,88810))),42:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,42562))),43:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),44:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,50357))),45:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,72560))),46:ze.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,74139))),47:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),48:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,76175))),49:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),50:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),51:ze.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,1464))),52:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,11242))),53:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,11242))),54:ze.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,69884))),55:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,17950))),56:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,56954))),57:ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),58:ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),59:ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),60:ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),61:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,19116))),62:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,15732))),63:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,84625))),64:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,89859))),65:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,427))),66:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,90923))),67:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,60884))),68:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,72794))),69:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,4549))),70:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,75405))),71:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,8993))),72:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,79131))),73:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,15056))),74:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,52796))),75:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,40222))),76:ze.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,94453))),77:ze.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,59325))),78:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,852))),79:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,94884))),80:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,89590))),81:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,55964))),82:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,4056))),83:ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),84:ze.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,43928))),85:ze.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,18522))),86:ze.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,39306))),87:ze.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,43125))),88:ze.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,17203))),89:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),90:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),91:ze.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,92435))),92:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,74020))),93:ze.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,16286))),94:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,11091))),95:ze.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,30056))),96:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,37710))),97:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,55818))),98:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,24400))),99:ze.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,37183))),100:ze.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,60917))),101:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),102:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),103:ze.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,11790))),104:ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),105:ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),106:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),107:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),108:ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),109:ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),110:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),111:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),112:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),113:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),114:ze.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,17425))),115:ze.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,98247))),116:ze.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,49412))),117:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),118:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),119:ze.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,4573))),120:ze.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,66676))),121:ze.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,81357))),122:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),123:ze.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,17081))),124:ze.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,45243))),125:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),126:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),127:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,27515))),128:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,27515))),129:ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),130:ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),131:ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),132:ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),133:ze.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,49957))),134:ze.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,24401))),135:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,32365))),136:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,49100))),137:ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),138:ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),139:ze.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,85247))),140:ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,17224))),141:ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,17224))),142:ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),143:ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),144:ze.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,72229))),145:ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),146:ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),147:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),148:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),149:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,73237))),150:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,55003))),151:ze.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,44739))),152:ze.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,35297))),153:ze.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,3499))),154:ze.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,59353))),155:ze.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,2735))),156:ze.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,63557))),157:ze.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,53136))),158:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),159:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),160:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),161:ze.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,33769))),162:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),163:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),164:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),165:ze.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,30968))),166:ze.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,60001))),167:ze.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,60433))),168:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2413),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,78963))),169:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),170:ze.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,61612))),171:ze.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,61292))),172:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),173:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),174:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,85419))),175:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),176:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),177:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),178:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),179:ze.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,71806))),180:ze.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,80558))),181:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),182:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),183:ze.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,34108))),184:ze.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,20290))),185:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,88394))),186:ze.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,71311))),187:ze.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,94282))),188:ze.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,21190))),189:ze.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,78234))),190:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(278),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,37129))),191:ze.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,86566))),192:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,48979))),193:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),194:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),195:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),196:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),197:ze.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,70980))),198:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,98372))),199:ze.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,89815))),200:ze.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,13344))),201:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,20296))),202:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),203:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),204:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,15282))),205:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,99192))),206:ze.lazy(()=>Promise.all([__webpack_require__.e(278),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,7985))),207:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,96418))),208:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,46593))),209:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,14959))),210:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),211:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),212:ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),213:ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),214:ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),215:ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),216:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),217:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),218:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,84210))),219:ze.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,43468))),220:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),221:ze.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,54629))),222:ze.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,70982))),223:ze.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,34111))),224:ze.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,51751))),225:ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),226:ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),227:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,74917))),228:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,47400))),229:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,4359))),230:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,92511))),231:ze.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,85597))),232:ze.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,8735))),233:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,47018))),234:ze.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,65097))),235:ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),236:ze.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,12587))),237:ze.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,30127))),238:ze.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,57943))),239:ze.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,39674))),240:ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),241:ze.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,15107))),242:ze.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,50073))),243:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,84272))),244:ze.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,55149))),245:ze.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,59896))),246:ze.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,73985))),247:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,59360))),248:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,26098))),249:ze.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,40109))),250:ze.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,346))),251:ze.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,56890))),252:ze.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,18131))),253:ze.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,5566))),254:ze.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,74545))),255:ze.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,56749))),256:ze.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,80643))),257:ze.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,74930))),258:ze.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,86310))),259:ze.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,45956))),260:ze.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,41901))),261:ze.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,91370))),262:ze.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,69393))),263:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),264:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),265:ze.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,58747))),266:ze.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,47781))),267:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),268:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),269:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),270:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),271:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,31723))),272:ze.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,45710))),273:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),274:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),275:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),276:ze.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,5226))),277:ze.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,65417))),278:ze.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,34897))),279:ze.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,3681))),280:ze.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,17249))),281:ze.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,18112))),282:ze.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,81654))),283:ze.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,75432))),284:ze.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,19893))),285:ze.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,88590))),286:ze.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,67112))),287:ze.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,23513))),288:ze.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,74565))),289:ze.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,20944))),290:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,9986))),291:ze.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,23479))),292:ze.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,23921))),293:ze.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,95707))),294:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),295:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),296:ze.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,84428))),297:ze.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,67537))),298:ze.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,76342))),299:ze.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,14160))),300:ze.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,60971))),301:ze.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,46157))),302:ze.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,97236))),303:ze.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,55734))),304:ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),305:ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),306:ze.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,21618))),307:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),308:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,47110))),309:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),310:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,47110))),311:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),312:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,47110))),313:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),314:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,92740))),315:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,34587))),316:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),317:ze.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,68549))),318:ze.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,32928))),319:ze.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,16059))),320:ze.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,14200))),321:ze.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,83386))),322:ze.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,98065))),323:ze.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,35038))),324:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),325:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,77906))),326:ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),327:ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),328:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),329:ze.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,89595))),330:ze.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,15612))),331:ze.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,61071))),332:ze.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,96965))),333:ze.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,74722))),334:ze.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,52935))),335:ze.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,38403))),336:ze.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,35742))),337:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),338:ze.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,56764))),339:ze.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,7121))),340:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,86529))),341:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),342:ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),343:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),344:ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),345:ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),346:ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),347:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),348:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),349:ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),350:ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),351:ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),352:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),353:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),354:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),355:ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),356:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),357:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),358:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),359:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),360:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),361:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),362:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),363:ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),364:ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),365:ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),366:ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),367:ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),368:ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),369:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),370:ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),371:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),372:ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),373:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),374:ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),375:ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),376:ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),377:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),378:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),379:ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),380:ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),381:ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),382:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),383:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),384:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),385:ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),386:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),387:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),388:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),389:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),390:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),391:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),392:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),393:ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),394:ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),395:ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),396:ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),397:ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),398:ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),399:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),400:ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),401:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),402:ze.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,41669))),403:ze.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,44718))),404:ze.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,69726))),405:ze.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,92642))),406:ze.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,13497))),407:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),408:ze.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,11181))),409:ze.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,61885))),410:ze.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,46780))),411:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,8741))),412:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,80096))),413:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,37052))),414:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,75098))),415:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),416:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),417:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),418:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),419:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),420:ze.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,51514))),421:ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),422:ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),423:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,52442))),424:ze.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,52337))),425:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),426:ze.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,83252))),427:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,437))),428:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),429:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,21541))),430:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,49627))),431:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),432:ze.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,50804))),433:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),434:ze.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,50212))),435:ze.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,49079))),436:ze.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,9338))),437:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),438:ze.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,9330))),439:ze.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,91437))),440:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),441:ze.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,7370))),442:ze.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,44876))),443:ze.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,72281))),444:ze.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,70806))),445:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,74247))),446:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,94211))),447:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,10257))),448:ze.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,57694))),449:ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,60490))),450:ze.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,24236))),451:ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,60490))),452:ze.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,92521))),453:ze.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,48412))),454:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),455:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,37204))),456:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),457:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,429))),458:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),459:ze.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,33154))),460:ze.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,43254))),461:ze.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,48030))),462:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),463:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,92132))),464:ze.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,99623))),465:ze.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,21918))),466:ze.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,16456))),467:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),468:ze.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,65128))),469:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),470:ze.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,28919))),471:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),472:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),473:ze.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,52900))),474:ze.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,50885))),475:ze.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,85039))),476:ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),477:ze.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,57849))),478:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),479:ze.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,13893))),480:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),481:ze.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,36634))),482:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),483:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),484:ze.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,89693))),485:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,57265))),486:ze.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,61516))),487:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,19373))),488:ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),"@@/global-layout":ze.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,95792)))}}})}var I=__webpack_require__(5085),O=__webpack_require__(37989),k=__webpack_require__(71418),me=__webpack_require__(26278),Re=()=>ze.createElement(k.Z,{size:"middle",className:me.Z.loading}),rn=__webpack_require__(89070),Bn=__webpack_require__(61186),cn=__webpack_require__.n(Bn),Di=__webpack_require__(91392),Ua=__webpack_require__.n(Di),ma=__webpack_require__(34749),yo=__webpack_require__.n(ma),ts=__webpack_require__(19277),fo=__webpack_require__.n(ts),os=__webpack_require__(10238),vc=__webpack_require__.n(os),gc=__webpack_require__(33656),ul=__webpack_require__.n(gc),Rc=__webpack_require__(90111),ll=__webpack_require__.n(Rc),Si=__webpack_require__(74959),Jl=__webpack_require__.n(Si),ec=__webpack_require__(23250),Lo=__webpack_require__.n(ec),Zs=__webpack_require__(58862),za=__webpack_require__.n(Zs),Ou=__webpack_require__(58319),Dl=__webpack_require__.n(Ou),tc=__webpack_require__(62053),cl=__webpack_require__.n(tc),fl=__webpack_require__(47477),yc=__webpack_require__.n(fl),Lc=__webpack_require__(59717),Zu=__webpack_require__.n(Lc);cn().extend(yo()),cn().extend(fo()),cn().extend(vc()),cn().extend(ul()),cn().extend(ll()),cn().extend(Jl()),cn().extend(Lo()),cn().extend(za()),cn().extend(Dl()),cn().extend(cl()),cn().extend(yc()),cn().extend(Zu()),cn().extend(Ua());var Qc=Object.defineProperty,bc=Object.getOwnPropertySymbols,xc=Object.prototype.hasOwnProperty,ou=Object.prototype.propertyIsEnumerable,Hu=(An,Gn,ki)=>Gn in An?Qc(An,Gn,{enumerable:!0,configurable:!0,writable:!0,value:ki}):An[Gn]=ki,Ol=(An,Gn)=>{for(var ki in Gn||(Gn={}))xc.call(Gn,ki)&&Hu(An,ki,Gn[ki]);if(bc)for(var ki of bc(Gn))ou.call(Gn,ki)&&Hu(An,ki,Gn[ki]);return An},rc=(An,Gn,ki)=>new Promise((xa,ji)=>{var ca=Gi=>{try{Xa(ki.next(Gi))}catch(us){ji(us)}},va=Gi=>{try{Xa(ki.throw(Gi))}catch(us){ji(us)}},Xa=Gi=>Gi.done?xa(Gi.value):Promise.resolve(Gi.value).then(ca,va);Xa((ki=ki.apply(An,Gn)).next())});const wu="/react/build/",kl=!1;function dl(){return rc(this,null,function*(){const An=(0,I.gD)(),{routes:Gn,routeComponents:ki}=yield Xc(An);yield An.applyPlugins({key:"patchRoutes",type:rn.ApplyPluginsType.event,args:{routes:Gn,routeComponents:ki}});const xa=An.applyPlugins({key:"modifyContextOpts",type:rn.ApplyPluginsType.modify,initialValue:{}}),ji=xa.basename||"/",ca=xa.historyType||"browser",va=(0,O.fi)(Ol({type:ca,basename:ji},xa.historyOpts));return An.applyPlugins({key:"render",type:rn.ApplyPluginsType.compose,initialValue(){const Xa={useStream:!0,routes:Gn,routeComponents:ki,pluginManager:An,mountElementId:"root",rootElement:xa.rootElement||document.getElementById("root"),loadingComponent:Re,publicPath:wu,runtimePublicPath:kl,history:va,historyType:ca,basename:ji,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:xa.callback},Gi=An.applyPlugins({key:"modifyClientRenderOpts",type:rn.ApplyPluginsType.modify,initialValue:Xa});return _c(Gi)}})()})}dl(),typeof window!="undefined"&&(window.g_umi={version:"4.4.6"})})()})();
|