|
|
(function(){var __webpack_modules__={93398:function(d,g,e){"use strict";e.r(g),e.d(g,{blue:function(){return ce},blueDark:function(){return Be},cyan:function(){return ae},cyanDark:function(){return Ue},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 Pe},grey:function(){return le},greyDark:function(){return Qt},lime:function(){return W},limeDark:function(){return we},magenta:function(){return Y},magentaDark:function(){return Pt},orange:function(){return j},orangeDark:function(){return L},presetDarkPalettes:function(){return qt},presetPalettes:function(){return ee},presetPrimaryColors:function(){return D},purple:function(){return J},purpleDark:function(){return mt},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(Jt,Xe){const It=Jt.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],Ut=It.map(ut=>parseFloat(ut));for(let ut=0;ut<3;ut+=1)Ut[ut]=Xe(Ut[ut]||0,It[ut]||"",ut);return It[3]?Ut[3]=It[3].includes("%")?Ut[3]/100:Ut[3]:Ut[3]=1,Ut}const c=(Jt,Xe,It)=>It===0?Jt:Jt/100;function f(Jt,Xe){const It=Xe||255;return Jt>It?It:Jt<0?0:Jt}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 ut=function(bt){return Ut.startsWith(bt)};const Ut=Xe.trim();/^#?[A-F\d]{3,8}$/i.test(Ut)?this.fromHexString(Ut):ut("rgb")?this.fromRgbString(Ut):ut("hsl")?this.fromHslString(Ut):(ut("hsv")||ut("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 pt=bt/255;return pt<=.03928?pt/12.92:Math.pow((pt+.055)/1.055,2.4)}const It=Xe(this.r),Ut=Xe(this.g),ut=Xe(this.b);return .2126*It+.7152*Ut+.0722*ut}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 ut=this.getLightness()-Xe/100;return ut<0&&(ut=0),this._c({h:It,s:Ut,l:ut,a:this.a})}lighten(Xe=10){const It=this.getHue(),Ut=this.getSaturation();let ut=this.getLightness()+Xe/100;return ut>1&&(ut=1),this._c({h:It,s:Ut,l:ut,a:this.a})}mix(Xe,It=50){const Ut=this._c(Xe),ut=It/100,bt=tt=>(Ut[tt]-this[tt])*ut+this[tt],pt={r:i(bt("r")),g:i(bt("g")),b:i(bt("b")),a:i(bt("a")*100)/100};return this._c(pt)}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),ut=bt=>i((this[bt]*this.a+It[bt]*It.a*(1-this.a))/Ut);return this._c({r:ut("r"),g:ut("g"),b:ut("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 ut=(this.b||0).toString(16);if(Xe+=ut.length===2?ut:"0"+ut,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 ut=this.clone();return ut[Xe]=f(It,Ut),ut}_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(ut,bt){return parseInt(It[ut]+It[bt||ut],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:ut}){if(this._h=Xe%360,this._s=It,this._l=Ut,this.a=typeof ut=="number"?ut:1,It<=0){const $e=i(Ut*255);this.r=$e,this.g=$e,this.b=$e}let bt=0,pt=0,tt=0;const ze=Xe/60,ye=(1-Math.abs(2*Ut-1))*It,Te=ye*(1-Math.abs(ze%2-1));ze>=0&&ze<1?(bt=ye,pt=Te):ze>=1&&ze<2?(bt=Te,pt=ye):ze>=2&&ze<3?(pt=ye,tt=Te):ze>=3&&ze<4?(pt=Te,tt=ye):ze>=4&&ze<5?(bt=Te,tt=ye):ze>=5&&ze<6&&(bt=ye,tt=Te);const Me=Ut-ye/2;this.r=i((bt+Me)*255),this.g=i((pt+Me)*255),this.b=i((tt+Me)*255)}fromHsv({h:Xe,s:It,v:Ut,a:ut}){this._h=Xe%360,this._s=It,this._v=Ut,this.a=typeof ut=="number"?ut:1;const bt=i(Ut*255);if(this.r=bt,this.g=bt,this.b=bt,It<=0)return;const pt=Xe/60,tt=Math.floor(pt),ze=pt-tt,ye=i(Ut*(1-It)*255),Te=i(Ut*(1-It*ze)*255),Me=i(Ut*(1-It*(1-ze))*255);switch(tt){case 0:this.g=Me,this.b=ye;break;case 1:this.r=Te,this.b=ye;break;case 2:this.r=ye,this.b=Me;break;case 3:this.r=ye,this.g=Te;break;case 4:this.r=Me,this.g=ye;break;case 5:default:this.g=ye,this.b=Te;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,ut)=>ut.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(Jt,Xe,It){var Ut;return Math.round(Jt.h)>=60&&Math.round(Jt.h)<=240?Ut=It?Math.round(Jt.h)-h*Xe:Math.round(Jt.h)+h*Xe:Ut=It?Math.round(Jt.h)+h*Xe:Math.round(Jt.h)-h*Xe,Ut<0?Ut+=360:Ut>=360&&(Ut-=360),Ut}function R(Jt,Xe,It){if(Jt.h===0&&Jt.s===0)return Jt.s;var Ut;return It?Ut=Jt.s-u*Xe:Xe===_?Ut=Jt.s+u:Ut=Jt.s+a*Xe,Ut>1&&(Ut=1),It&&Xe===y&&Ut>.1&&(Ut=.1),Ut<.06&&(Ut=.06),Math.round(Ut*100)/100}function M(Jt,Xe,It){var Ut;return It?Ut=Jt.v+x*Xe:Ut=Jt.v-p*Xe,Ut=Math.max(0,Math.min(1,Ut)),Math.round(Ut*100)/100}function P(Jt){for(var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},It=[],Ut=new o(Jt),ut=Ut.toHsv(),bt=y;bt>0;bt-=1){var pt=new o({h:A(ut,bt,!0),s:R(ut,bt,!0),v:M(ut,bt,!0)});It.push(pt)}It.push(Ut);for(var tt=1;tt<=_;tt+=1){var ze=new o({h:A(ut,tt),s:R(ut,tt),v:M(ut,tt)});It.push(ze)}return Xe.theme==="dark"?b.map(function(ye){var Te=ye.index,Me=ye.amount;return new o(Xe.backgroundColor||"#141414").mix(It[Te],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 L=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];L.primary=L[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 we=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];we.primary=we[5];var Pe=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Pe.primary=Pe[5];var Ue=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];Ue.primary=Ue[5];var Be=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Be.primary=Be[5];var Ft=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Ft.primary=Ft[5];var mt=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];mt.primary=mt[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 qt={red:ie,volcano:F,orange:L,gold:Q,yellow:de,lime:we,green:Pe,cyan:Ue,blue:Be,geekblue:Ft,purple:mt,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 qt},extractStyle:function(){return Eo},genCalc:function(){return Pe},getComputedToken:function(){return hr},legacyLogicalPropertiesTransformer:function(){return Mo},legacyNotSelectorLinter:function(){return ta},logicalPropertiesLinter:function(){return Hs},parentSelectorLinter:function(){return as},px2remTransformer:function(){return hu},token2CSSVar:function(){return De},unit:function(){return Vt},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 M=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=M,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 L(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=L(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(L(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(L(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),we=function(fr,ar){var mr=fr==="css"?Q:de;return function(xr){return new mr(xr,ar)}},Pe=we;function Ue(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 Be=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 Mr=(0,r.Z)(Yn,2),yr=Mr[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 Mr=kn.get(Yn);Mr?Mr.map||(Mr.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!Ue(mr,ar)}),this.deleteByPath(this.cache,ar)}}]),Xt}();(0,i.Z)(Be,"MAX_CACHE_SIZE",20),(0,i.Z)(Be,"MAX_CACHE_OFFSET",5);var Ft=e(48736),mt=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=mt,fr.length===0&&(0,Ft.Kp)(fr.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),mt+=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 Be;function qt(Xt){var fr=Array.isArray(Xt)?Xt:[Xt];return Qt.has(fr)||Qt.set(fr,new Pt(fr)),Qt.get(fr)}var Jt=new WeakMap,Xe={};function It(Xt,fr){for(var ar=Jt,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 ut(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+=ut(mr):fr+=mr}),fr=o(fr),Ut.set(Xt,fr)),fr}function bt(Xt,fr){return o("".concat(fr,"_").concat(ut(Xt)))}var pt="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),tt="_bAmBoO_";function ze(Xt,fr,ar){if((0,q.Z)()){var mr,xr;(0,h.hq)(Xt,pt);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(tt);return(xr=vn.parentNode)===null||xr===void 0||xr.removeChild(vn),(0,h.jL)(pt),xn}return!1}var ye=null;function Te(){return ye===void 0&&(ye=ze("@layer ".concat(pt," { .").concat(pt,' { content: "').concat(tt,'"!important; } }'),function(Xt){Xt.className=pt})),ye}var Me=void 0;function $e(){return Me===void 0&&(Me=ze(":where(.".concat(pt,') { content: "').concat(tt,'"!important; }'),function(Xt){Xt.className=pt})),Me}var We=void 0;function it(){return We===void 0&&(We=ze(".".concat(pt," { inset-block: 93px !important; }"),function(Xt){Xt.className=pt},function(Xt){return getComputedStyle(Xt).bottom==="93px"})),We}var ft=(0,q.Z)();function Vt(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 De=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()},et=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],Mr=Yn[1];if(mr!=null&&($n=mr.preserve)!==null&&$n!==void 0&&$n[or])vn[or]=Mr;else if((typeof Mr=="string"||typeof Mr=="number")&&!(mr!=null&&(kn=mr.ignore)!==null&&kn!==void 0&&kn[or])){var yr,fn=De(or,mr==null?void 0:mr.prefix);xr[fn]=typeof Mr=="number"&&!(mr!=null&&(yr=mr.unitless)!==null&&yr!==void 0&&yr[or])?"".concat(Mr,"px"):String(Mr),vn[or]="var(".concat(fn,")")}}),[vn,et(xr,ar,{scope:mr==null?void 0:mr.scope})]},Rt=e(34280),Zt=(0,c.Z)({},a),Bt=Zt.useInsertionEffect,At=function(fr,ar,mr){u.useMemo(fr,mr),(0,Rt.Z)(function(){return ar(!0)},mr)},Kt=Bt?function(Xt,fr,ar){return Bt(function(){return Xt(),fr()},ar)}:At,Ge=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},Ie=function(){return function(fr){fr()}},ht=typeof _e!="undefined"?Ot:Ie,zt=ht;function Ct(){return!1}var ke=!1;function wt(){return ke}var je=Ct;if(0)var Qe,Oe;function kt(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=je(),Mr=function(dt){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 dt?dt(ra):ra})};u.useMemo(function(){Mr()},[kn]);var yr=xn.opGet(kn),fn=yr[1];return Ge(function(){xr==null||xr(fn)},function(zn){return Mr(function(dt){var Cn=(0,r.Z)(dt,2),Hn=Cn[0],oi=Cn[1];return zn&&Hn===0&&(xr==null||xr(fn)),[Hn+1,oi]}),function(){xn.opUpdate(kn,function(dt){var Cn=dt||[],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 Fe={},Dr="css",St=new Map;function Gr(Xt){St.set(Xt,(St.get(Xt)||0)+1)}function Qr(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 Or(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){Qr(xr,fr),St.delete(xr)})}var hr=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?Fe:kn,or=ar.formatToken,Mr=ar.getComputedToken,yr=ar.cssVar,fn=It(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(fr)))},fr),zn=ut(fn),dt=ut(Yn),Cn=yr?ut(yr):"",Hn=kt($r,[$n,Xt.id,zn,dt,Cn],function(){var oi,zi=Mr?Mr(fn,Yn,Xt):hr(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){Or(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,Mr=-999,yr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Mr)},fn=Ht(xn,$n,or,yr,Yn);return[Mr,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},gt=Mt,yt="-ms-",Nt="-moz-",Cr="-webkit-",vr="comm",lt="rule",Lr="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 ct(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 vt(Xt,fr){return fr.push(Xt),Xt}function nt(Xt,fr){return Xt.map(fr).join("")}function Dt(Xt,fr){return Xt.filter(function(ar){return!xi(ar,fr)})}function _t(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 Lr:return Xt.return=Xt.return||Xt.value;case vr:return"";case Ui:return Xt.return=Xt.value+"{"+_t(Xt.children,mr)+"}";case lt:if(!bn(Xt.value=Xt.props.join(",")))return""}return bn(ar=_t(Xt.children,mr))?Xt.return=Xt.value+"{"+ar+"}":""}var cr=1,Tr=1,Ur=0,He=0,rt=0,xe="";function st(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(st("",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 rt}function Ir(){return rt=He>0?hi(xe,--He):0,Tr--,rt===10&&(Tr=1,cr--),rt}function Br(){return rt=He<Ur?hi(xe,He++):0,Tr++,rt===10&&(Tr=1,cr++),rt}function mn(){return hi(xe,He)}function Er(){return He}function un(Xt,fr){return ni(xe,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(xe=Xt),He=0,[]}function wn(Xt){return xe="",Xt}function fa(Xt){return Qn(un(He-1,Mi(Xt===91?Xt+2:Xt===40?Xt+1:Xt)))}function Ci(Xt){return wn(hn(sn(Xt)))}function fi(Xt){for(;(rt=mn())&&rt<33;)Br();return tn(Xt)>2||tn(rt)>3?"":" "}function hn(Xt){for(;Br();)switch(tn(rt)){case 0:append(Es(He-1),Xt);break;case 2:append(fa(rt),Xt);break;default:append(from(rt),Xt)}return Xt}function ai(Xt,fr){for(;--fr&&Br()&&!(rt<48||rt>102||rt>57&&rt<65||rt>70&&rt<97););return un(Xt,Er()+(fr<6&&mn()==32&&Br()==32))}function Mi(Xt){for(;Br();)switch(rt){case Xt:return He;case 34:case 39:Xt!==34&&Xt!==39&&Mi(rt);break;case 40:Xt===41&&Mi(Xt);break;case 92:Br();break}return He}function sa(Xt,fr){for(;Br()&&Xt+rt!==57;)if(Xt+rt===84&&mn()===47)break;return"/*"+un(fr,He-1)+"*"+Vi(Xt===47?Xt:Br())}function Es(Xt){for(;!tn(mn());)Br();return un(Xt,He)}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,Mr=xn,yr=0,fn=0,zn=0,dt=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,Mr-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:vt(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*dt:$n[Yn++]=bn(Ti)*Hn;case 125*dt: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)-Mr||dt===0&&zn===47)&&vt(fn>32?gs(Ti+";",mr,ar,Mr-1,kn):gs(qn(Ti," ","")+";",mr,ar,Mr-2,kn),kn);break;case 59:Ti+=";";default:if(vt(da=ws(Ti,fr,ar,Yn,or,xr,$n,zi,Nr=[],Hr=[],Mr,vn),vn),oi===123)if(or===0)ds(Ti,fr,da,da,Nr,vn,Mr,$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&&vt(ws(Xt,da,da,0,0,xr,$n,zi,xr,Nr=[],Mr,Hr),Hr),xr,Hr,Mr,$n,mr?Nr:Hr):ds(Ti,da,da,da,[""],Hr,0,$n,Hr)}}Yn=or=fn=0,dt=Hn=1,zi=Ti="",Mr=xn;break;case 58:Mr=1+bn(Ti),fn=zn;default:if(dt<1){if(oi==123)--dt;else if(oi==125&&dt++==0&&Ir()==125)continue}switch(Ti+=Vi(oi),oi*dt){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=Mr=bn(zi=Ti+=Es(Er())),oi++;break;case 45:zn===45&&bn(Ti)==2&&(dt=0)}}return vn}function ws(Xt,fr,ar,mr,xr,vn,xn,$n,kn,Yn,or,Mr){for(var yr=xr-1,fn=xr===0?vn:[""],zn=tr(fn),dt=0,Cn=0,Hn=0;dt<mr;++dt)for(var oi=0,zi=ni(Xt,yr+1,yr=Xn(Cn=xn[dt])),Nr=Xt;oi<zn;++oi)(Nr=Qn(Cn>0?fn[oi]+" "+zi:qn(zi,/&\f/g,fn[oi])))&&(kn[Hn++]=Nr);return st(Xt,fr,ar,xr===0?lt:$n,kn,Yn,or,Mr)}function ka(Xt,fr,ar,mr){return st(Xt,fr,ar,vr,Vi(br()),ni(Xt,2,-2),0,mr)}function gs(Xt,fr,ar,mr,xr){return st(Xt,fr,ar,Lr,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=_t(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,Mr=ar.transformers,yr=Mr===void 0?[]:Mr,fn=ar.linters,zn=fn===void 0?[]:fn,dt="",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")dt+="".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),dt+="".concat(ui).concat(ha)}else{let Ls=function(Ms,Ye){var qe=Ms.replace(/[A-Z]/g,function(Gt){return"-".concat(Gt.toLowerCase())}),Lt=Ye;!gt[Ms]&&typeof Lt=="number"&&Lt!==0&&(Lt="".concat(Lt,"px")),Ms==="animationName"&&Ye!==null&&Ye!==void 0&&Ye._keyframe&&(Hn(Ye),Lt=Ye.getName($n)),dt+="".concat(qe,":").concat(Lt,";")};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&&(dt&&(dt="@layer ".concat(kn.name," {").concat(dt,"}")),kn.dependencies&&(Cn["@layer ".concat(kn.name)]=kn.dependencies.map(function(Nr){return"@layer ".concat(Nr,", ").concat(kn.name,";")}).join(`
|
|
|
`))):dt="{".concat(dt,"}"),[dt,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),Mr=or.autoClear,yr=or.mock,fn=or.defaultCache,zn=or.hashPriority,dt=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=ft,ra=kt(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],Lt=Ye[1],Gt=ho(qe),dr=si(da,Gt);return[Gt,Hr,dr,Lt,$n,Yn]},function(Os,ha){var Na=(0,r.Z)(Os,3),ps=Na[2];(ha||Mr)&&ft&&(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:dt,priority:Yn},Ye=typeof xn=="function"?xn():xn;Ye&&(Ms.csp={nonce:Ye});var qe=[],Lt=[];Object.keys(Ls).forEach(function(dr){dr.startsWith("@layer")?qe.push(dr):Lt.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 Gt=(0,h.hq)(Na,Ln,Ms);Gt[K]=zi.instanceId,Gt.setAttribute(B,Hr),Lt.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],Mr=mr||{},yr=Mr.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(dt){if(!ar[dt]){ar[dt]=!0;var Cn=ho(kn[dt]),Hn=Ht(Cn,xn,"_effect-".concat(dt),zn,yr);dt.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),Mr=or.cache.instanceId,yr=or.container,fn=$n._tokenKey,zn=[].concat((0,l.Z)(fr.path),[mr,Yn,fn]),dt=kt(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];ft&&(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]=Mr,Nr.setAttribute(B,mr)}});return dt},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,Mr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(or)},yr=Ht(vn,$n,xn,Mr,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={},Mr="";return kn.map(function(yr){var fn=yr.replace($n,"").replace(/%/g,"|"),zn=yr.split("%"),dt=(0,r.Z)(zn,1),Cn=dt[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),dt=zn[0],Cn=(0,r.Z)(fn,1),Hn=Cn[0];return dt-Hn}).forEach(function(yr){var fn=(0,r.Z)(yr,2),zn=fn[1];Mr+=zn}),Mr+=Ht(".".concat(Li,'{content:"').concat(Ca(or),'";}'),void 0,void 0,(0,i.Z)({},Li,Li),xr),Mr}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,Mr){var yr;ar[or]=Ns((yr=kn[Mr])!==null&&yr!==void 0?yr:kn[0],Yn)}):vn.length===4?vn.forEach(function(or,Mr){var yr,fn;ar[or]=Ns((yr=(fn=kn[Mr])!==null&&fn!==void 0?fn:kn[Mr-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(Mr,yr){if(!yr)return Mr;var fn=parseFloat(yr);if(fn<=1)return Mr;var zn=Rs(fn/mr,vn);return"".concat(zn,"rem")},Yn=function(Mr){var yr=(0,c.Z)({},Mr);return Object.entries(Mr).forEach(function(fn){var zn=(0,r.Z)(fn,2),dt=zn[0],Cn=zn[1];if(typeof Cn=="string"&&Cn.includes("px")){var Hn=Cn.replace(wo,kn);yr[dt]=Hn}!gt[dt]&&typeof Cn=="number"&&Cn!==0&&(yr[dt]="".concat(Cn,"px").replace(wo,kn));var oi=dt.trim();if(oi.startsWith("@")&&oi.includes("px")&&$n){var zi=dt.replace(wo,kn);yr[zi]=yr[dt],delete yr[dt]}}),yr};return{visit:Yn}},hu=Ds,Cu={supportModernCSS:function(){return $e()&&it()}}},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(L,Q){return Q.toUpperCase()})}function R(F,L){(0,b.ZP)(F,"[@ant-design/icons] ".concat(L))}function M(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(L,Q){var de=F[Q];switch(Q){case"class":L.className=de,delete L.class;break;default:delete L[Q],L[A(Q)]=de}return L},{})}function D(F,L,Q){return Q?f.createElement(F.tag,(0,x.Z)((0,x.Z)({key:L},P(F.attrs)),Q),(F.children||[]).map(function(de,we){return D(de,"".concat(L,"-").concat(F.tag,"-").concat(we))})):f.createElement(F.tag,(0,x.Z)({key:L},P(F.attrs)),(F.children||[]).map(function(de,we){return D(de,"".concat(L,"-").concat(F.tag,"-").concat(we))}))}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(L){var Q=(0,f.useContext)(a.Z),de=Q.csp,we=Q.prefixCls,Pe=Q.layer,Ue=K;we&&(Ue=Ue.replace(/anticon/g,we)),Pe&&(Ue="@layer ".concat(Pe,` {
|
|
|
`).concat(Ue,`
|
|
|
}`)),(0,f.useEffect)(function(){var Be=L.current,Ft=(0,_.A)(Be);(0,y.hq)(Ue,"@ant-design-icons",{prepend:!Pe,csp:de,attachTo:Ft})},[])},W=["icon","className","onClick","style","primaryColor","secondaryColor"],oe={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ae(F){var L=F.primaryColor,Q=F.secondaryColor;oe.primaryColor=L,oe.secondaryColor=Q||B(L),oe.calculated=!!Q}function ce(){return(0,x.Z)({},oe)}var q=function(L){var Q=L.icon,de=L.className,we=L.onClick,Pe=L.style,Ue=L.primaryColor,Be=L.secondaryColor,Ft=(0,c.Z)(L,W),mt=f.useRef(),Pt=oe;if(Ue&&(Pt={primaryColor:Ue,secondaryColor:Be||B(Ue)}),V(mt),R(M(Q),"icon should be icon definiton, but got ".concat(Q)),!M(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:we,style:Pe,"data-icon":Qt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Ft),{},{ref:mt}))};q.displayName="IconReact",q.getTwoToneColors=ce,q.setTwoToneColors=ae;var J=q;function Y(F){var L=$(F),Q=(0,i.Z)(L,2),de=Q[0],we=Q[1];return J.setTwoToneColors({primaryColor:de,secondaryColor:we})}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,L){var Q=F.className,de=F.icon,we=F.spin,Pe=F.rotate,Ue=F.tabIndex,Be=F.onClick,Ft=F.twoToneColor,mt=(0,c.Z)(F,ne),Pt=f.useContext(a.Z),Qt=Pt.prefixCls,qt=Qt===void 0?"anticon":Qt,Jt=Pt.rootClassName,Xe=h()(Jt,qt,(0,l.Z)((0,l.Z)({},"".concat(qt,"-").concat(de.name),!!de.name),"".concat(qt,"-spin"),!!we||de.name==="loading"),Q),It=Ue;It===void 0&&Be&&(It=-1);var Ut=Pe?{msTransform:"rotate(".concat(Pe,"deg)"),transform:"rotate(".concat(Pe,"deg)")}:void 0,ut=$(Ft),bt=(0,i.Z)(ut,2),pt=bt[0],tt=bt[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":de.name},mt,{ref:L,tabIndex:It,onClick:Be,className:Xe}),f.createElement(J,{icon:de,primaryColor:pt,secondaryColor:tt,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,M){return{r:(0,r.sh)(A,255)*255,g:(0,r.sh)(R,255)*255,b:(0,r.sh)(M,255)*255}}function l(A,R,M){A=(0,r.sh)(A,255),R=(0,r.sh)(R,255),M=(0,r.sh)(M,255);var P=Math.max(A,R,M),D=Math.min(A,R,M),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-M)/K+(R<M?6:0);break;case R:B=(M-A)/K+2;break;case M:B=(A-R)/K+4;break;default:break}B/=6}return{h:B,s:$,l:j}}function c(A,R,M){return M<0&&(M+=1),M>1&&(M-=1),M<.16666666666666666?A+(R-A)*(6*M):M<.5?R:M<.6666666666666666?A+(R-A)*(.6666666666666666-M)*6:A}function f(A,R,M){var P,D,B;if(A=(0,r.sh)(A,360),R=(0,r.sh)(R,100),M=(0,r.sh)(M,100),R===0)D=M,B=M,P=M;else{var $=M<.5?M*(1+R):M+R-M*R,j=2*M-$;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,M){A=(0,r.sh)(A,255),R=(0,r.sh)(R,255),M=(0,r.sh)(M,255);var P=Math.max(A,R,M),D=Math.min(A,R,M),B=0,$=P,j=P-D,K=P===0?0:j/P;if(P===D)B=0;else{switch(P){case A:B=(R-M)/j+(R<M?6:0);break;case R:B=(M-A)/j+2;break;case M:B=(A-R)/j+4;break;default:break}B/=6}return{h:B,s:K,v:$}}function h(A,R,M){A=(0,r.sh)(A,360)*6,R=(0,r.sh)(R,100),M=(0,r.sh)(M,100);var P=Math.floor(A),D=A-P,B=M*(1-R),$=M*(1-D*R),j=M*(1-(1-D)*R),K=P%6,V=[M,$,B,B,j,M][K],W=[j,M,M,$,B,B][K],oe=[B,B,j,M,M,$][K];return{r:V*255,g:W*255,b:oe*255}}function u(A,R,M,P){var D=[(0,r.FZ)(Math.round(A).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(Math.round(M).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,M,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(M).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,M,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(M).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,M=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),M=(0,l.JX)(_.v),b=(0,r.WE)(_.h,R,M),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(we){var Pe=[de].concat((0,a.Z)(we));return Pe})});function L(){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(L):L():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()),M=0;function P(W){var oe=!!W,ae=i.useState(function(){return M+=1,"".concat(R,"_").concat(M)}),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],L=ie[1],Q=F||ae;i.useEffect(function(){(le||ae)&&L(ae)},[ae,le]);var de=i.useState(function(){return $(q)}),we=(0,r.Z)(de,2),Pe=we[0],Ue=we[1];i.useEffect(function(){var ut=$(q);Ue(ut!=null?ut:null)});var Be=y(Q&&!Pe,J),Ft=(0,r.Z)(Be,2),mt=Ft[0],Pt=Ft[1],Qt=Pe!=null?Pe:mt;P(ce&&ae&&(0,c.Z)()&&(Qt===mt||Qt===document.body));var qt=null;if(ne&&(0,o.Yr)(ne)&&oe){var Jt=ne;qt=Jt.ref}var Xe=(0,o.x1)(qt,oe);if(!Q||!(0,c.Z)()||Pe===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),M=e(8654);function P(ut){var bt=ut.prefixCls,pt=ut.align,tt=ut.arrow,ze=ut.arrowPos,ye=tt||{},Te=ye.className,Me=ye.content,$e=ze.x,We=$e===void 0?0:$e,it=ze.y,ft=it===void 0?0:it,Vt=b.useRef();if(!pt||!pt.points)return null;var Ht={position:"absolute"};if(pt.autoArrow!==!1){var De=pt.points[0],et=pt.points[1],Wt=De[0],Rt=De[1],Zt=et[0],Bt=et[1];Wt===Zt||!["t","b"].includes(Wt)?Ht.top=ft:Wt==="t"?Ht.top=0:Ht.bottom=0,Rt===Bt||!["l","r"].includes(Rt)?Ht.left=We:Rt==="l"?Ht.left=0:Ht.right=0}return b.createElement("div",{ref:Vt,className:o()("".concat(bt,"-arrow"),Te),style:Ht},Me)}function D(ut){var bt=ut.prefixCls,pt=ut.open,tt=ut.zIndex,ze=ut.mask,ye=ut.motion;return ze?b.createElement(R.default,(0,A.Z)({},ye,{motionAppear:!0,visible:pt,removeOnLeave:!0}),function(Te){var Me=Te.className;return b.createElement("div",{style:{zIndex:tt},className:o()("".concat(bt,"-mask"),Me)})}):null}var B=b.memo(function(ut){var bt=ut.children;return bt},function(ut,bt){return bt.cache}),$=B,j=b.forwardRef(function(ut,bt){var pt=ut.popup,tt=ut.className,ze=ut.prefixCls,ye=ut.style,Te=ut.target,Me=ut.onVisibleChanged,$e=ut.open,We=ut.keepDom,it=ut.fresh,ft=ut.onClick,Vt=ut.mask,Ht=ut.arrow,De=ut.arrowPos,et=ut.align,Wt=ut.motion,Rt=ut.maskMotion,Zt=ut.forceRender,Bt=ut.getPopupContainer,At=ut.autoDestroy,Kt=ut.portal,Ge=ut.zIndex,fe=ut.onMouseEnter,_e=ut.onMouseLeave,Ot=ut.onPointerEnter,Ie=ut.ready,ht=ut.offsetX,zt=ut.offsetY,Ct=ut.offsetR,ke=ut.offsetB,wt=ut.onAlign,je=ut.onPrepare,Qe=ut.stretch,Oe=ut.targetWidth,kt=ut.targetHeight,Fe=typeof pt=="function"?pt():pt,Dr=$e||We,St=(Bt==null?void 0:Bt.length)>0,Gr=b.useState(!Bt||!St),Qr=(0,i.Z)(Gr,2),Sr=Qr[0],Or=Qr[1];if((0,y.Z)(function(){!Sr&&St&&Te&&Or(!0)},[Sr,St,Te]),!Sr)return null;var hr="auto",$r={left:"-1000vw",top:"-1000vh",right:hr,bottom:hr};if(Ie||!$e){var nn,on=et.points,sr=et.dynamicInset||((nn=et._experimental)===null||nn===void 0?void 0:nn.dynamicInset),Mt=sr&&on[0][1]==="r",gt=sr&&on[0][0]==="b";Mt?($r.right=Ct,$r.left=hr):($r.left=ht,$r.right=hr),gt?($r.bottom=ke,$r.top=hr):($r.top=zt,$r.bottom=hr)}var yt={};return Qe&&(Qe.includes("height")&&kt?yt.height=kt:Qe.includes("minHeight")&&kt&&(yt.minHeight=kt),Qe.includes("width")&&Oe?yt.width=Oe:Qe.includes("minWidth")&&Oe&&(yt.minWidth=Oe)),$e||(yt.pointerEvents="none"),b.createElement(Kt,{open:Zt||Dr,getContainer:Bt&&function(){return Bt(Te)},autoDestroy:At},b.createElement(D,{prefixCls:ze,open:$e,zIndex:Ge,mask:Vt,motion:Rt}),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(ze,"-hidden")},Wt,{onAppearPrepare:je,onEnterPrepare:je,visible:$e,onVisibleChanged:function(vr){var lt;Wt==null||(lt=Wt.onVisibleChanged)===null||lt===void 0||lt.call(Wt,vr),Me(vr)}}),function(Cr,vr){var lt=Cr.className,Lr=Cr.style,_n=o()(ze,lt,tt);return b.createElement("div",{ref:(0,M.sQ)(Nt,bt,vr),className:_n,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(De.x||0,"px"),"--arrow-y":"".concat(De.y||0,"px")},$r),yt),Lr),{},{boxSizing:"border-box",zIndex:Ge},ye),onMouseEnter:fe,onMouseLeave:_e,onPointerEnter:Ot,onClick:ft},Ht&&b.createElement(P,{prefixCls:ze,arrow:Ht,arrowPos:De,align:et}),b.createElement($,{cache:!$e&&!it},Fe))})}))}),K=j,V=b.forwardRef(function(ut,bt){var pt=ut.children,tt=ut.getTriggerDOMNode,ze=(0,M.Yr)(pt),ye=b.useCallback(function(Me){(0,M.mH)(bt,tt?tt(Me):Me)},[tt]),Te=(0,M.x1)(ye,pt.ref);return ze?b.cloneElement(pt,{ref:Te}):pt}),W=V,oe=b.createContext(null),ae=oe;function ce(ut){return ut?Array.isArray(ut)?ut:[ut]:[]}function q(ut,bt,pt,tt){return b.useMemo(function(){var ze=ce(pt!=null?pt:bt),ye=ce(tt!=null?tt:bt),Te=new Set(ze),Me=new Set(ye);return ut&&(Te.has("hover")&&(Te.delete("hover"),Te.add("click")),Me.has("hover")&&(Me.delete("hover"),Me.add("click"))),[Te,Me]},[ut,bt,pt,tt])}var J=e(29194);function Y(){var ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],pt=arguments.length>2?arguments[2]:void 0;return pt?ut[0]===bt[0]:ut[0]===bt[0]&&ut[1]===bt[1]}function le(ut,bt,pt,tt){for(var ze=pt.points,ye=Object.keys(ut),Te=0;Te<ye.length;Te+=1){var Me,$e=ye[Te];if(Y((Me=ut[$e])===null||Me===void 0?void 0:Me.points,ze,tt))return"".concat(bt,"-placement-").concat($e)}return""}function ne(ut,bt,pt,tt){return bt||(pt?{motionName:"".concat(ut,"-").concat(pt)}:tt?{motionName:tt}:null)}function ee(ut){return ut.ownerDocument.defaultView}function ie(ut){for(var bt=[],pt=ut==null?void 0:ut.parentElement,tt=["hidden","scroll","clip","auto"];pt;){var ze=ee(pt).getComputedStyle(pt),ye=ze.overflowX,Te=ze.overflowY,Me=ze.overflow;[ye,Te,Me].some(function($e){return tt.includes($e)})&&bt.push(pt),pt=pt.parentElement}return bt}function F(ut){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(ut)?bt:ut}function L(ut){return F(parseFloat(ut),0)}function Q(ut,bt){var pt=(0,r.Z)({},ut);return(bt||[]).forEach(function(tt){if(!(tt instanceof HTMLBodyElement||tt instanceof HTMLHtmlElement)){var ze=ee(tt).getComputedStyle(tt),ye=ze.overflow,Te=ze.overflowClipMargin,Me=ze.borderTopWidth,$e=ze.borderBottomWidth,We=ze.borderLeftWidth,it=ze.borderRightWidth,ft=tt.getBoundingClientRect(),Vt=tt.offsetHeight,Ht=tt.clientHeight,De=tt.offsetWidth,et=tt.clientWidth,Wt=L(Me),Rt=L($e),Zt=L(We),Bt=L(it),At=F(Math.round(ft.width/De*1e3)/1e3),Kt=F(Math.round(ft.height/Vt*1e3)/1e3),Ge=(De-et-Zt-Bt)*At,fe=(Vt-Ht-Wt-Rt)*Kt,_e=Wt*Kt,Ot=Rt*Kt,Ie=Zt*At,ht=Bt*At,zt=0,Ct=0;if(ye==="clip"){var ke=L(Te);zt=ke*At,Ct=ke*Kt}var wt=ft.x+Ie-zt,je=ft.y+_e-Ct,Qe=wt+ft.width+2*zt-Ie-ht-Ge,Oe=je+ft.height+2*Ct-_e-Ot-fe;pt.left=Math.max(pt.left,wt),pt.top=Math.max(pt.top,je),pt.right=Math.min(pt.right,Qe),pt.bottom=Math.min(pt.bottom,Oe)}}),pt}function de(ut){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,pt="".concat(bt),tt=pt.match(/^(.*)\%$/);return tt?ut*(parseFloat(tt[1])/100):parseFloat(pt)}function we(ut,bt){var pt=bt||[],tt=(0,i.Z)(pt,2),ze=tt[0],ye=tt[1];return[de(ut.width,ze),de(ut.height,ye)]}function Pe(){var ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[ut[0],ut[1]]}function Ue(ut,bt){var pt=bt[0],tt=bt[1],ze,ye;return pt==="t"?ye=ut.y:pt==="b"?ye=ut.y+ut.height:ye=ut.y+ut.height/2,tt==="l"?ze=ut.x:tt==="r"?ze=ut.x+ut.width:ze=ut.x+ut.width/2,{x:ze,y:ye}}function Be(ut,bt){var pt={t:"b",b:"t",l:"r",r:"l"};return ut.map(function(tt,ze){return ze===bt?pt[tt]||"c":tt}).join("")}function Ft(ut,bt,pt,tt,ze,ye,Te){var Me=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ze[tt]||{}}),$e=(0,i.Z)(Me,2),We=$e[0],it=$e[1],ft=b.useRef(0),Vt=b.useMemo(function(){return bt?ie(bt):[]},[bt]),Ht=b.useRef({}),De=function(){Ht.current={}};ut||De();var et=(0,x.Z)(function(){if(bt&&pt&&ut){let Da=function(ls,Ws){var bo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_n,Co=Fe.x+ls,To=Fe.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=Fe.y+tr,Pr=nr+$r,br=Fe.x+bn,Ir=br+nn};var Zt,Bt,At=bt,Kt=At.ownerDocument,Ge=ee(At),fe=Ge.getComputedStyle(At),_e=fe.width,Ot=fe.height,Ie=fe.position,ht=At.style.left,zt=At.style.top,Ct=At.style.right,ke=At.style.bottom,wt=At.style.overflow,je=(0,r.Z)((0,r.Z)({},ze[tt]),ye),Qe=Kt.createElement("div");(Zt=At.parentElement)===null||Zt===void 0||Zt.appendChild(Qe),Qe.style.left="".concat(At.offsetLeft,"px"),Qe.style.top="".concat(At.offsetTop,"px"),Qe.style.position=Ie,Qe.style.height="".concat(At.offsetHeight,"px"),Qe.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 Oe;if(Array.isArray(pt))Oe={x:pt[0],y:pt[1],width:0,height:0};else{var kt=pt.getBoundingClientRect();Oe={x:kt.x,y:kt.y,width:kt.width,height:kt.height}}var Fe=At.getBoundingClientRect(),Dr=Kt.documentElement,St=Dr.clientWidth,Gr=Dr.clientHeight,Qr=Dr.scrollWidth,Sr=Dr.scrollHeight,Or=Dr.scrollTop,hr=Dr.scrollLeft,$r=Fe.height,nn=Fe.width,on=Oe.height,sr=Oe.width,Mt={left:0,top:0,right:St,bottom:Gr},gt={left:-hr,top:-Or,right:Qr-hr,bottom:Sr-Or},yt=je.htmlRegion,Nt="visible",Cr="visibleFirst";yt!=="scroll"&&yt!==Cr&&(yt=Nt);var vr=yt===Cr,lt=Q(gt,Vt),Lr=Q(Mt,Vt),_n=yt===Nt?Lr:lt,Un=vr?Lr:_n;At.style.left="auto",At.style.top="auto",At.style.right="0",At.style.bottom="0";var _r=At.getBoundingClientRect();At.style.left=ht,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(Qe);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)(pt)&&!(0,J.Z)(pt))return;var Mn=je.offset,Jn=je.targetOffset,Nn=we(Fe,Mn),Ui=(0,i.Z)(Nn,2),mi=Ui[0],bi=Ui[1],vi=we(Oe,Jn),di=(0,i.Z)(vi,2),Yi=di[0],Xn=di[1];Oe.x-=Yi,Oe.y-=Xn;var Vi=je.points||[],Et=(0,i.Z)(Vi,2),ct=Et[0],Qn=Et[1],xi=Pe(Qn),qn=Pe(ct),Wi=Ue(Oe,xi),hi=Ue(Fe,qn),ni=(0,r.Z)({},je),bn=Wi.x-hi.x+mi,tr=Wi.y-hi.y+bi,vt=Da(bn,tr),nt=Da(bn,tr,Lr),Dt=Ue(Oe,["t","l"]),_t=Ue(Fe,["t","l"]),ur=Ue(Oe,["b","r"]),cr=Ue(Fe,["b","r"]),Tr=je.overflow||{},Ur=Tr.adjustX,He=Tr.adjustY,rt=Tr.shiftX,xe=Tr.shiftY,st=function(Ws){return typeof Ws=="boolean"?Ws:Ws>=0},nr,Pr,br,Ir;Ca();var Br=st(He),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,Lr);un>vt||un===vt&&(!vr||tn>=nt)?(Ht.current.bt=!0,tr=Er,bi=-bi,ni.points=[Be(qn,0),Be(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-_t.y-bi;var wn=Da(bn,sn),fa=Da(bn,sn,Lr);wn>vt||wn===vt&&(!vr||fa>=nt)?(Ht.current.tb=!0,tr=sn,bi=-bi,ni.points=[Be(qn,0),Be(xi,0)]):Ht.current.tb=!1}var Ci=st(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,Lr);ai>vt||ai===vt&&(!vr||Mi>=nt)?(Ht.current.rl=!0,bn=hn,mi=-mi,ni.points=[Be(qn,1),Be(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-_t.x-mi;var Es=Da(sa,tr),oa=Da(sa,tr,Lr);Es>vt||Es===vt&&(!vr||oa>=nt)?(Ht.current.lr=!0,bn=sa,mi=-mi,ni.points=[Be(qn,1),Be(xi,1)]):Ht.current.lr=!1}Ca();var ds=rt===!0?0:rt;typeof ds=="number"&&(br<Lr.left&&(bn-=br-Lr.left-mi,Oe.x+sr<Lr.left+ds&&(bn+=Oe.x-Lr.left+sr-ds)),Ir>Lr.right&&(bn-=Ir-Lr.right-mi,Oe.x>Lr.right-ds&&(bn+=Oe.x-Lr.right+ds)));var ws=xe===!0?0:xe;typeof ws=="number"&&(nr<Lr.top&&(tr-=nr-Lr.top-bi,Oe.y+on<Lr.top+ws&&(tr+=Oe.y-Lr.top+on-ws)),Pr>Lr.bottom&&(tr-=Pr-Lr.bottom-bi,Oe.y>Lr.bottom-ws&&(tr+=Oe.y-Lr.bottom+ws)));var ka=Fe.x+bn,gs=ka+nn,Zn=Fe.y+tr,qa=Zn+$r,Ha=Oe.x,Ss=Ha+sr,Bi=Oe.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;Te==null||Te(bt,ni);var as=_r.right-Fe.x-(bn+Fe.width),Li=_r.bottom-Fe.y-(tr+Fe.height);it({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(){ft.current+=1;var Bt=ft.current;Promise.resolve().then(function(){ft.current===Bt&&et()})},Rt=function(){it(function(Bt){return(0,r.Z)((0,r.Z)({},Bt),{},{ready:!1})})};return(0,y.Z)(Rt,[tt]),(0,y.Z)(function(){ut||Rt()},[ut]),[We.ready,We.offsetX,We.offsetY,We.offsetR,We.offsetB,We.arrowX,We.arrowY,We.scaleX,We.scaleY,We.align,Wt]}var mt=e(80702);function Pt(ut,bt,pt,tt,ze){(0,y.Z)(function(){if(ut&&bt&&pt){let ft=function(){tt(),ze()};var ye=bt,Te=pt,Me=ie(ye),$e=ie(Te),We=ee(Te),it=new Set([We].concat((0,mt.Z)(Me),(0,mt.Z)($e)));return it.forEach(function(Vt){Vt.addEventListener("scroll",ft,{passive:!0})}),We.addEventListener("resize",ft,{passive:!0}),tt(),function(){it.forEach(function(Vt){Vt.removeEventListener("scroll",ft),We.removeEventListener("resize",ft)})}}},[ut,bt,pt])}var Qt=e(48736),qt=e(16089);function Jt(ut,bt,pt,tt,ze,ye,Te,Me){var $e=b.useRef(ut),We=b.useRef(!1);$e.current!==ut&&(We.current=!0,$e.current=ut),b.useEffect(function(){var it=(0,qt.Z)(function(){We.current=!1});return function(){qt.Z.cancel(it)}},[ut]),b.useEffect(function(){if(bt&&tt&&(!ze||ye)){var it=function(){var Ie=!1,ht=function(ke){var wt=ke.target;Ie=Te(wt)},zt=function(ke){var wt=ke.target;!We.current&&$e.current&&!Ie&&!Te(wt)&&Me(!1)};return[ht,zt]},ft=it(),Vt=(0,i.Z)(ft,2),Ht=Vt[0],De=Vt[1],et=it(),Wt=(0,i.Z)(et,2),Rt=Wt[0],Zt=Wt[1],Bt=ee(tt);Bt.addEventListener("mousedown",Ht,!0),Bt.addEventListener("click",De,!0),Bt.addEventListener("contextmenu",De,!0);var At=(0,a.A)(pt);if(At&&(At.addEventListener("mousedown",Rt,!0),At.addEventListener("click",Zt,!0),At.addEventListener("contextmenu",Zt,!0)),0)var Kt,Ge,fe,_e;return function(){Bt.removeEventListener("mousedown",Ht,!0),Bt.removeEventListener("click",De,!0),Bt.removeEventListener("contextmenu",De,!0),At&&(At.removeEventListener("mousedown",Rt,!0),At.removeEventListener("click",Zt,!0),At.removeEventListener("contextmenu",Zt,!0))}}},[bt,pt,tt,ze,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 ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,bt=b.forwardRef(function(pt,tt){var ze=pt.prefixCls,ye=ze===void 0?"rc-trigger-popup":ze,Te=pt.children,Me=pt.action,$e=Me===void 0?"hover":Me,We=pt.showAction,it=pt.hideAction,ft=pt.popupVisible,Vt=pt.defaultPopupVisible,Ht=pt.onPopupVisibleChange,De=pt.afterPopupVisibleChange,et=pt.mouseEnterDelay,Wt=pt.mouseLeaveDelay,Rt=Wt===void 0?.1:Wt,Zt=pt.focusDelay,Bt=pt.blurDelay,At=pt.mask,Kt=pt.maskClosable,Ge=Kt===void 0?!0:Kt,fe=pt.getPopupContainer,_e=pt.forceRender,Ot=pt.autoDestroy,Ie=pt.destroyPopupOnHide,ht=pt.popup,zt=pt.popupClassName,Ct=pt.popupStyle,ke=pt.popupPlacement,wt=pt.builtinPlacements,je=wt===void 0?{}:wt,Qe=pt.popupAlign,Oe=pt.zIndex,kt=pt.stretch,Fe=pt.getPopupClassNameFromAlign,Dr=pt.fresh,St=pt.alignPoint,Gr=pt.onPopupClick,Qr=pt.onPopupAlign,Sr=pt.arrow,Or=pt.popupMotion,hr=pt.maskMotion,$r=pt.popupTransitionName,nn=pt.popupAnimation,on=pt.maskTransitionName,sr=pt.maskAnimation,Mt=pt.className,gt=pt.getTriggerDOMNode,yt=(0,l.Z)(pt,Xe),Nt=Ot||Ie||!1,Cr=b.useState(!1),vr=(0,i.Z)(Cr,2),lt=vr[0],Lr=vr[1];(0,y.Z)(function(){Lr((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(Te),Et=(Vi==null?void 0:Vi.props)||{},ct={},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,Or,nn,$r),qn=ne(ye,hr,sr,on),Wi=b.useState(Vt||!1),hi=(0,i.Z)(Wi,2),ni=hi[0],bn=hi[1],tr=ft!=null?ft:ni,vt=(0,x.Z)(function(li){ft===void 0&&bn(li)});(0,y.Z)(function(){bn(ft||!1)},[ft]);var nt=b.useRef(tr);nt.current=tr;var Dt=b.useRef([]);Dt.current=[];var _t=(0,x.Z)(function(li){var si;vt(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?_t(si):ur.current=setTimeout(function(){_t(si)},Fa*1e3)};b.useEffect(function(){return cr},[]);var Ur=b.useState(!1),He=(0,i.Z)(Ur,2),rt=He[0],xe=He[1];(0,y.Z)(function(li){(!li||tr)&&xe(!0)},[tr]);var st=b.useState(null),nr=(0,i.Z)(st,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,je,Qe,Qr),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(lt,$e,We,it),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(){rt||ds()}),Bi=function(){nt.current&&St&&Ha&&Tr(!1)};Pt(tr,vi,Jn,Ss,Bi),(0,y.Z)(function(){Ss()},[mn,ke]),(0,y.Z)(function(){tr&&!(je!=null&&je[ke])&&Ss()},[JSON.stringify(Qe)]);var hs=b.useMemo(function(){var li=le(je,ye,oa,St);return o()(li,Fe==null?void 0:Fe(oa))},[oa,Fe,je,ye,St]);b.useImperativeHandle(tt,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(kt&&vi){var si=vi.getBoundingClientRect();Ma(si.width),is(si.height)}},Li=function(){as(),Ss()},Da=function(si){xe(!1),ds(),De==null||De(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){ct[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)&&(ct.onClick=function(li){var si;nt.current&&Ha?Tr(!1):!nt.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))}),Jt(tr,Ha,vi,Jn,At,Ge,Qn,Tr);var Ws=gs.has("hover"),bo=Zn.has("hover"),Co,To;Ws&&(ls("onMouseEnter",!0,et,function(li){un(li)}),ls("onPointerEnter",!0,et,function(li){un(li)}),Co=function(si){(tr||rt)&&Jn!==null&&Jn!==void 0&&Jn.contains(si.target)&&Tr(!0,et)},St&&(ct.onMouseMove=function(li){var si;(si=Et.onMouseMove)===null||si===void 0||si.call(Et,li)})),bo&&(ls("onMouseLeave",!1,Rt),ls("onPointerLeave",!1,Rt),To=function(){Tr(!1,Rt)}),gs.has("focus")&&ls("onFocus",!0,Zt),Zn.has("focus")&&ls("onBlur",!1,Bt),gs.has("contextMenu")&&(ct.onContextMenu=function(li){var si;nt.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&&(ct.className=o()(Et.className,Mt));var ga=(0,r.Z)((0,r.Z)({},Et),ct),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:gt},ho)),b.createElement(ae.Provider,{value:_r},b.createElement(K,{portal:ut,ref:Ui,prefixCls:ye,popup:ht,className:o()(zt,hs),style:Ct,target:vi,onMouseEnter:Co,onMouseLeave:To,onPointerEnter:Co,zIndex:Oe,open:tr,keepDom:rt,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:kt,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 Fe},apply:function(){return Qr},call:function(){return Gr},cancel:function(){return nn},cancelled:function(){return Mt},cps:function(){return Sr},flush:function(){return gt},fork:function(){return Or},getContext:function(){return yt},join:function(){return $r},put:function(){return kt},race:function(){return Dr},select:function(){return on},setContext:function(){return Nt},spawn:function(){return hr},take:function(){return Qe},takeEvery:function(){return vt},takeLatest:function(){return nt},takem:function(){return Oe},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 Lt=arguments[qe];for(var Gt in Lt)Object.prototype.hasOwnProperty.call(Lt,Gt)&&(Ye[Gt]=Lt[Gt])}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,M=function(){},P=function(qe){return qe};function D(Ye,qe,Lt){if(!qe(Ye))throw ie("error","uncaught at check",Lt),new Error(Lt)}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,Lt){for(var Gt in Lt)$(Lt,Gt)&&(qe[Gt]=Lt[Gt])}};function V(Ye,qe){var Lt=Ye.indexOf(qe);Lt>=0&&Ye.splice(Lt,1)}var W={from:function(qe){var Lt=Array(qe.length);for(var Gt in qe)$(qe,Gt)&&(Lt[Gt]=qe[Gt]);return Lt}};function oe(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},qe=f({},Ye),Lt=new Promise(function(Gt,dr){qe.resolve=Gt,qe.reject=dr});return qe.promise=Lt,qe}function ae(Ye){for(var qe=[],Lt=0;Lt<Ye;Lt++)qe.push(oe());return qe}function ce(Ye){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Lt=void 0,Gt=new Promise(function(dr){Lt=setTimeout(function(){return dr(qe)},Ye)});return Gt[p]=function(){return clearTimeout(Lt)},Gt}function q(){var Ye,qe=!0,Lt=void 0,Gt=void 0;return Ye={},Ye[u]=!0,Ye.isRunning=function(){return qe},Ye.result=function(){return Lt},Ye.error=function(){return Gt},Ye.setRunning=function(Rr){return qe=Rr},Ye.setResult=function(Rr){return Lt=Rr},Ye.setError=function(Rr){return Gt=Rr},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,Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Gt=arguments[3],dr={name:Lt,next:Ye,throw:qe,return:ne};return Gt&&(dr[a]=!0),typeof Symbol!="undefined"&&(dr[Symbol.iterator]=function(){return dr}),dr}function ie(Ye,qe){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Ye+": "+qe+`
|
|
|
`+(Lt&&Lt.stack||Lt)):console[Ye](qe,Lt)}function F(Ye,qe){return function(){return Ye.apply(void 0,arguments)}}var L=function(qe,Lt){return qe+" has been deprecated in favor of "+Lt+", 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,Lt){return(qe?qe+".":"")+"setContext(props): argument "+Lt+" is not a plain object"},we=function(qe){return function(Lt){return qe(Object.defineProperty(Lt,y,{value:!0}))}},Pe=function Ye(qe){return function(){for(var Lt=arguments.length,Gt=Array(Lt),dr=0;dr<Lt;dr++)Gt[dr]=arguments[dr];var Rr=[],jr=qe.apply(void 0,Gt);return{next:function(en){return Rr.push(en),jr.next(en)},clone:function(){var en=Ye(qe).apply(void 0,Gt);return Rr.forEach(function(gn){return en.next(gn)}),en},return:function(en){return jr.return(en)},throw:function(en){return jr.throw(en)}}}},Ue="Channel's Buffer overflow!",Be=1,Ft=2,mt=3,Pt=4,Qt={isEmpty:A,put:M,take:M};function qt(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,qe=arguments[1],Lt=new Array(Ye),Gt=0,dr=0,Rr=0,jr=function(Wn){Lt[dr]=Wn,dr=(dr+1)%Ye,Gt++},pn=function(){if(Gt!=0){var Wn=Lt[Rr];return Lt[Rr]=null,Gt--,Rr=(Rr+1)%Ye,Wn}},en=function(){for(var Wn=[];Gt;)Wn.push(pn());return Wn};return{isEmpty:function(){return Gt==0},put:function(Wn){if(Gt<Ye)jr(Wn);else{var ti=void 0;switch(qe){case Be:throw new Error(Ue);case mt:Lt[dr]=Wn,dr=(dr+1)%Ye,Rr=dr;break;case Pt:ti=2*Ye,Lt=en(),Gt=Lt.length,dr=Lt.length,Rr=0,Lt.length=ti,Ye=ti,jr(Wn);break;default:}}},take:pn,flush:en}}var Jt={none:function(){return Qt},fixed:function(qe){return qt(qe,Be)},dropping:function(qe){return qt(qe,Ft)},sliding:function(qe){return qt(qe,mt)},expanding:function(qe){return qt(qe,Pt)}},Xe=[],It=0;function Ut(Ye){try{bt(),Ye()}finally{pt()}}function ut(Ye){Xe.push(Ye),It||(bt(),tt())}function bt(){It++}function pt(){It--}function tt(){pt();for(var Ye=void 0;!It&&(Ye=Xe.shift())!==void 0;)Ut(Ye)}var ze=Object.assign||function(Ye){for(var qe=1;qe<arguments.length;qe++){var Lt=arguments[qe];for(var Gt in Lt)Object.prototype.hasOwnProperty.call(Lt,Gt)&&(Ye[Gt]=Lt[Gt])}return Ye},ye="@@redux-saga/CHANNEL_END",Te={type:ye},Me=function(qe){return qe&&qe.type===ye};function $e(){var Ye=[];function qe(Gt){return Ye.push(Gt),function(){return V(Ye,Gt)}}function Lt(Gt){for(var dr=Ye.slice(),Rr=0,jr=dr.length;Rr<jr;Rr++)dr[Rr](Gt)}return{subscribe:qe,emit:Lt}}var We="invalid buffer passed to channel factory function",it="Saga was provided with an undefined action";function ft(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jt.fixed(),qe=!1,Lt=[];D(Ye,j.buffer,We);function Gt(){if(qe&&Lt.length)throw Q("Cannot have a closed channel with pending takers");if(Lt.length&&!Ye.isEmpty())throw Q("Cannot have pending takers with non empty buffer")}function dr(en){if(Gt(),D(en,j.notUndef,it),!qe){if(!Lt.length)return Ye.put(en);for(var gn=0;gn<Lt.length;gn++){var Wn=Lt[gn];if(!Wn[x]||Wn[x](en))return Lt.splice(gn,1),Wn(en)}}}function Rr(en){Gt(),D(en,j.func,"channel.take's callback must be a function"),qe&&Ye.isEmpty()?en(Te):Ye.isEmpty()?(Lt.push(en),en.cancel=function(){return V(Lt,en)}):en(Ye.take())}function jr(en){if(Gt(),D(en,j.func,"channel.flush' callback must be a function"),qe&&Ye.isEmpty()){en(Te);return}en(Ye.flush())}function pn(){if(Gt(),!qe&&(qe=!0,Lt.length)){var en=Lt;Lt=[];for(var gn=0,Wn=en.length;gn<Wn;gn++)en[gn](Te)}}return{take:Rr,put:dr,flush:jr,close:pn,get __takers__(){return Lt},get __closed__(){return qe}}}function Vt(Ye){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Jt.none(),Lt=arguments[2];arguments.length>2&&D(Lt,j.func,"Invalid match function passed to eventChannel");var Gt=ft(qe),dr=function(){Gt.__closed__||(Rr&&Rr(),Gt.close())},Rr=Ye(function(jr){if(Me(jr)){dr();return}Lt&&!Lt(jr)||Gt.put(jr)});if(Gt.__closed__&&Rr(),!j.func(Rr))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Gt.take,flush:Gt.flush,close:dr}}function Ht(Ye){var qe=Vt(function(Lt){return Ye(function(Gt){if(Gt[y]){Lt(Gt);return}ut(function(){return Lt(Gt)})})});return ze({},qe,{take:function(Gt,dr){arguments.length>1&&(D(dr,j.func,"channel.take's matcher argument must be a function"),Gt[x]=dr),qe.take(Gt)}})}var De=h("IO"),et="TAKE",Wt="PUT",Rt="ALL",Zt="RACE",Bt="CALL",At="CPS",Kt="FORK",Ge="JOIN",fe="CANCEL",_e="SELECT",Ot="ACTION_CHANNEL",Ie="CANCELLED",ht="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,Lt){var Gt;return Gt={},Gt[De]=!0,Gt[qe]=Lt,Gt},je=function(qe){return D(vr.fork(qe),j.object,"detach(eff): argument must be a fork effect"),qe[Kt].detached=!0,qe};function Qe(){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(et,{pattern:Ye});if(j.channel(Ye))return wt(et,{channel:Ye});throw new Error("take(patternOrChannel): argument "+String(Ye)+" is not valid channel or a valid pattern")}Qe.maybe=function(){var Ye=Qe.apply(void 0,arguments);return Ye[et].maybe=!0,Ye};var Oe=F(Qe.maybe,L("takem","take.maybe"));function kt(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})}kt.resolve=function(){var Ye=kt.apply(void 0,arguments);return Ye[Wt].resolve=!0,Ye},kt.sync=F(kt.resolve,L("put.sync","put.resolve"));function Fe(Ye){return wt(Rt,Ye)}function Dr(Ye){return wt(Zt,Ye)}function St(Ye,qe,Lt){D(qe,j.notUndef,Ye+": argument fn is undefined");var Gt=null;if(j.array(qe)){var dr=qe;Gt=dr[0],qe=dr[1]}else if(qe.fn){var Rr=qe;Gt=Rr.context,qe=Rr.fn}return Gt&&j.string(qe)&&j.func(Gt[qe])&&(qe=Gt[qe]),D(qe,j.func,Ye+": argument "+qe+" is not a function"),{context:Gt,fn:qe,args:Lt}}function Gr(Ye){for(var qe=arguments.length,Lt=Array(qe>1?qe-1:0),Gt=1;Gt<qe;Gt++)Lt[Gt-1]=arguments[Gt];return wt(Bt,St("call",Ye,Lt))}function Qr(Ye,qe){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return wt(Bt,St("apply",{context:Ye,fn:qe},Lt))}function Sr(Ye){for(var qe=arguments.length,Lt=Array(qe>1?qe-1:0),Gt=1;Gt<qe;Gt++)Lt[Gt-1]=arguments[Gt];return wt(At,St("cps",Ye,Lt))}function Or(Ye){for(var qe=arguments.length,Lt=Array(qe>1?qe-1:0),Gt=1;Gt<qe;Gt++)Lt[Gt-1]=arguments[Gt];return wt(Kt,St("fork",Ye,Lt))}function hr(Ye){for(var qe=arguments.length,Lt=Array(qe>1?qe-1:0),Gt=1;Gt<qe;Gt++)Lt[Gt-1]=arguments[Gt];return je(Or.apply(void 0,[Ye].concat(Lt)))}function $r(){for(var Ye=arguments.length,qe=Array(Ye),Lt=0;Lt<Ye;Lt++)qe[Lt]=arguments[Lt];if(qe.length>1)return Fe(qe.map(function(dr){return $r(dr)}));var Gt=qe[0];return D(Gt,j.notUndef,"join(task): argument task is undefined"),D(Gt,j.task,"join(task): argument "+Gt+" is not a valid Task object "+ke),wt(Ge,Gt)}function nn(){for(var Ye=arguments.length,qe=Array(Ye),Lt=0;Lt<Ye;Lt++)qe[Lt]=arguments[Lt];if(qe.length>1)return Fe(qe.map(function(dr){return nn(dr)}));var Gt=qe[0];return qe.length===1&&(D(Gt,j.notUndef,"cancel(task): argument task is undefined"),D(Gt,j.task,"cancel(task): argument "+Gt+" is not a valid Task object "+ke)),wt(fe,Gt||_)}function on(Ye){for(var qe=arguments.length,Lt=Array(qe>1?qe-1:0),Gt=1;Gt<qe;Gt++)Lt[Gt-1]=arguments[Gt];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:Lt})}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(Ie,{})}function gt(Ye){return D(Ye,j.channel,"flush(channel): argument "+Ye+" is not valid channel"),wt(ht,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(Lt){return Lt&&Lt[De]&&Lt[qe]}},vr={take:Cr(et),put:Cr(Wt),all:Cr(Rt),race:Cr(Zt),call:Cr(Bt),cps:Cr(At),fork:Cr(Kt),join:Cr(Ge),cancel:Cr(fe),select:Cr(_e),actionChannel:Cr(Ot),cancelled:Cr(Ie),flush:Cr(ht),getContext:Cr(zt),setContext:Cr(Ct)},lt=Object.assign||function(Ye){for(var qe=1;qe<arguments.length;qe++){var Lt=arguments[qe];for(var Gt in Lt)Object.prototype.hasOwnProperty.call(Lt,Gt)&&(Ye[Gt]=Lt[Gt])}return Ye},Lr=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 Lt in qe){var Gt=qe[Lt];Gt.configurable=Gt.enumerable=!0,"value"in Gt&&(Gt.writable=!0),Object.defineProperty(Ye,Lt,Gt)}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":Lr(qe))==="symbol"?function(Lt){return Lt.type===qe}:function(Lt){return Lt.type===String(qe)}},array:function(qe){return function(Lt){return qe.some(function(Gt){return Mn(Gt)(Lt)})}},predicate:function(qe){return function(Lt){return qe(Lt)}}};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,Lt){var Gt=[],dr=void 0,Rr=!1;pn(qe);function jr(gn){en(),Lt(gn,!0)}function pn(gn){Gt.push(gn),gn.cont=function(Wn,ti){Rr||(V(Gt,gn),gn.cont=M,ti?jr(Wn):(gn===qe&&(dr=Wn),Gt.length||(Rr=!0,Lt(dr))))}}function en(){Rr||(Rr=!0,Gt.forEach(function(gn){gn.cont=M,gn.cancel()}),Gt=[])}return{addTask:pn,cancelAll:en,abort:jr,getTasks:function(){return Gt},taskNames:function(){return Gt.map(function(Wn){return Wn.name})}}}function Nn(Ye){var qe=Ye.context,Lt=Ye.fn,Gt=Ye.args;if(j.iterator(Lt))return Lt;var dr=void 0,Rr=void 0;try{dr=Lt.apply(qe,Gt)}catch(jr){Rr=jr}return j.iterator(dr)?dr:ee(Rr?function(){throw Rr}: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 M},Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:M,Gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:M,dr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Rr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},jr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,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,L(gn,"all("+gn+")")),ti=Rr.sagaMonitor,gi=Rr.logger,wi=Rr.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=M;var Pi=Xr(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=M,ti&&($i?ti.effectRejected(Oi,la):ti.effectResolved(Oi,la)),ei(la,$i))}Tn.cancel=M,ei.cancel=function(){if(!In){In=!0;try{Tn.cancel()}catch(la){Fi(la)}Tn.cancel=M,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))?Ae(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,Lt,Gt,pa,Rr,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;ut(function(){var In=void 0;try{In=(Sn?Sn.put:Lt)(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,Lt,Gt,pa,Rr,Yr,Oi.name,Tn?null:M);Tn?Sn(la):Fn._isRunning?(ua.addTask(la),Sn(la)):Fn._error?ua.abort(Fn._error):Sn(la)}finally{tt()}}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(lt({},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=M,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(lt({},tu,{length:Oi.length})):tu)}}};Fn.cancel=M,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,[Gt()].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(Vt(qe,ei||Jt.fixed(),Oi))}function Hi(gr,Yr){Yr(!!pi.isCancelled)}function be(gr,Yr){gr.flush(Yr)}function Ae(gr,Yr){Yr(pa[gr])}function wr(gr,Yr){K.assign(pa,gr),Yr()}function Xr(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 Lt=arguments.length,Gt=Array(Lt>2?Lt-2:0),dr=2;dr<Lt;dr++)Gt[dr-2]=arguments[dr];var Rr=void 0;j.iterator(Ye)?(Rr=Ye,Ye=qe):(D(qe,j.func,vi),Rr=qe.apply(void 0,Gt),D(Rr,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||M,ti.effectResolved=ti.effectResolved||M,ti.effectRejected=ti.effectRejected||M,ti.effectCancelled=ti.effectCancelled||M,ti.actionDispatched=ti.actionDispatched||M,ti.effectTriggered({effectId:Ni,root:!0,parentEffectId:0,effect:{root:!0,saga:qe,args:Gt}}));var Fi=mi(Rr,pn,we(en),gn,Wn,{sagaMonitor:ti,logger:gi,onError:wi},Ni,qe.name);return ti&&ti.effectResolved(Ni,Fi),Fi}function Yi(Ye,qe){var Lt={};for(var Gt in Ye)qe.indexOf(Gt)>=0||Object.prototype.hasOwnProperty.call(Ye,Gt)&&(Lt[Gt]=Ye[Gt]);return Lt}function Xn(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},qe=Ye.context,Lt=qe===void 0?{}:qe,Gt=Yi(Ye,["context"]),dr=Gt.sagaMonitor,Rr=Gt.logger,jr=Gt.onError;if(j.func(Gt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Rr&&!j.func(Rr))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(jr&&!j.func(jr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(Gt.emitter&&!j.func(Gt.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=(Gt.emitter||P)(ti.emit),pn.run=di.bind(null,{context:Lt,subscribe:ti.subscribe,dispatch:Wn,getState:gn,sagaMonitor:dr,logger:Rr,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(Lt,en)},pn}var Vi={done:!0,value:void 0},Et={};function ct(Ye){return j.channel(Ye)?"channel":Array.isArray(Ye)?String(Ye.map(function(qe){return String(qe)})):String(Ye)}function Qn(Ye,qe){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Gt=void 0,dr=qe;function Rr(jr,pn){if(dr===Et)return Vi;if(pn)throw dr=Et,pn;Gt&&Gt(jr);var en=Ye[dr](),gn=en[0],Wn=en[1],ti=en[2];return dr=gn,Gt=ti,dr===Et?Vi:Wn}return ee(Rr,function(jr){return Rr(null,jr)},Lt,!0)}function xi(Ye,qe){for(var Lt=arguments.length,Gt=Array(Lt>2?Lt-2:0),dr=2;dr<Lt;dr++)Gt[dr-2]=arguments[dr];var Rr={done:!1,value:Qe(Ye)},jr=function(Wn){return{done:!1,value:Or.apply(void 0,[qe].concat(Gt,[Wn]))}},pn=void 0,en=function(Wn){return pn=Wn};return Qn({q1:function(){return["q2",Rr,en]},q2:function(){return pn===Te?[Et]:["q1",jr(pn)]}},"q1","takeEvery("+ct(Ye)+", "+qe.name+")")}function qn(Ye,qe){for(var Lt=arguments.length,Gt=Array(Lt>2?Lt-2:0),dr=2;dr<Lt;dr++)Gt[dr-2]=arguments[dr];var Rr={done:!1,value:Qe(Ye)},jr=function(wi){return{done:!1,value:Or.apply(void 0,[qe].concat(Gt,[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",Rr,ti]},q2:function(){return gn===Te?[Et]:en?["q3",pn(en)]:["q1",jr(gn),Wn]},q3:function(){return["q1",jr(gn),Wn]}},"q1","takeLatest("+ct(Ye)+", "+qe.name+")")}function Wi(Ye,qe,Lt){for(var Gt=arguments.length,dr=Array(Gt>3?Gt-3:0),Rr=3;Rr<Gt;Rr++)dr[Rr-3]=arguments[Rr];var jr=void 0,pn=void 0,en={done:!1,value:sr(qe,Jt.sliding(1))},gn=function(){return{done:!1,value:Qe(pn)}},Wn=function(Fi){return{done:!1,value:Or.apply(void 0,[Lt].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===Te?[Et]:["q4",Wn(jr)]},q4:function(){return["q2",ti]}},"q1","throttle("+ct(qe)+", "+Lt.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 vt(Ye,qe){for(var Lt=arguments.length,Gt=Array(Lt>2?Lt-2:0),dr=2;dr<Lt;dr++)Gt[dr-2]=arguments[dr];return Or.apply(void 0,[xi,Ye,qe].concat(Gt))}function nt(Ye,qe){for(var Lt=arguments.length,Gt=Array(Lt>2?Lt-2:0),dr=2;dr<Lt;dr++)Gt[dr-2]=arguments[dr];return Or.apply(void 0,[qn,Ye,qe].concat(Gt))}function Dt(Ye,qe,Lt){for(var Gt=arguments.length,dr=Array(Gt>3?Gt-3:0),Rr=3;Rr<Gt;Rr++)dr[Rr-3]=arguments[Rr];return Or.apply(void 0,[Wi,Ye,qe,Lt].concat(dr))}var _t=Xn,ur=e(44520),cr=e.n(ur),Tr=e(62853),Ur=e(78639),He=e.n(Ur),rt=e(80702),xe=e(68413),st=e(56754),nr=e.n(st),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,Lt){for(var Gt=0,dr=qe.length;Gt<dr;Gt+=1)if(Lt(qe[Gt],Gt))return Gt;return-1},hn=Object.freeze({isPlainObject:He(),isArray:sn,isFunction:wn,returnSelf:fa,noop:Ci,findIndex:fi});function ai(Ye,qe){var Lt=Ye.namespace,Gt=Ye.reducers,dr=Ye.effects,Rr=Ye.subscriptions;invariant(Lt,"[app.model] namespace should be defined"),invariant(typeof Lt=="string","[app.model] namespace should be string, but got ".concat(_typeof(Lt))),invariant(!qe.some(function(jr){return jr.namespace===Lt}),"[app.model] namespace should be unique"),Gt&&(invariant(isPlainObject(Gt)||sn(Gt),"[app.model] reducers should be plain object or array, but got ".concat(_typeof(Gt))),invariant(!sn(Gt)||isPlainObject(Gt[0])&&wn(Gt[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))),Rr&&(invariant(isPlainObject(Rr),"[app.model] subscriptions should be plain object, but got ".concat(_typeof(Rr))),invariant(Mi(Rr),"[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,Lt){return Object.keys(Ye).reduce(function(Gt,dr){nr()(dr.indexOf("".concat(qe).concat(sa))!==0,"[prefixNamespace]: ".concat(Lt," ").concat(dr," should not be prefixed with namespace ").concat(qe));var Rr="".concat(qe).concat(sa).concat(dr);return Gt[Rr]=Ye[dr],Gt},{})}function oa(Ye){var qe=Ye.namespace,Lt=Ye.reducers,Gt=Ye.effects;if(Lt)if(sn(Lt)){var dr=(0,xe.Z)(Lt),Rr=dr[0],jr=dr.slice(1);Ye.reducers=[Es(Rr,qe,"reducer")].concat((0,rt.Z)(jr))}else Ye.reducers=Es(Lt,qe,"reducer");return Gt&&(Ye.effects=Es(Gt,qe,"effect")),Ye}var ds=["onError","onStateChange","onAction","onHmr","onReducer","onEffect","extraReducers","extraEnhancers","_handleActions"];function ws(Ye){return Object.keys(Ye).reduce(function(qe,Lt){return ds.indexOf(Lt)>-1&&(qe[Lt]=Ye[Lt]),qe},{})}var ka=function(){function Ye(){(0,Pr.Z)(this,Ye),this._handleActions=null,this.hooks=ds.reduce(function(qe,Lt){return qe[Lt]=[],qe},{})}return(0,br.Z)(Ye,[{key:"use",value:function(Lt){cr()(He()(Lt),"plugin.use: plugin should be plain object");var Gt=this.hooks;for(var dr in Lt)Object.prototype.hasOwnProperty.call(Lt,dr)&&(cr()(Gt[dr],"plugin.use: unknown plugin property: ".concat(dr)),dr==="_handleActions"?this._handleActions=Lt[dr]:dr==="extraEnhancers"?Gt[dr]=Lt[dr]:Gt[dr].push(Lt[dr]))}},{key:"apply",value:function(Lt,Gt){var dr=this.hooks,Rr=["onError","onHmr"];cr()(Rr.indexOf(Lt)>-1,"plugin.apply: hook ".concat(Lt," cannot be applied"));var jr=dr[Lt];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 Gt&&Gt.apply(void 0,arguments)}}},{key:"get",value:function(Lt){var Gt=this.hooks;return cr()(Lt in Gt,"plugin.get: hook ".concat(Lt," cannot be got")),Lt==="extraReducers"?gs(Gt[Lt]):Lt==="onReducer"?Zn(Gt[Lt]):Gt[Lt]}}]),Ye}();function gs(Ye){var qe={},Lt=!0,Gt=!1,dr=void 0;try{for(var Rr=Ye[Symbol.iterator](),jr;!(Lt=(jr=Rr.next()).done);Lt=!0){var pn=jr.value;qe=(0,l.Z)({},qe,pn)}}catch(en){Gt=!0,dr=en}finally{try{!Lt&&Rr.return!=null&&Rr.return()}finally{if(Gt)throw dr}}return qe}function Zn(Ye){return function(qe){var Lt=!0,Gt=!1,dr=void 0;try{for(var Rr=Ye[Symbol.iterator](),jr;!(Lt=(jr=Rr.next()).done);Lt=!0){var pn=jr.value;qe=pn(qe)}}catch(en){Gt=!0,dr=en}finally{try{!Lt&&Rr.return!=null&&Rr.return()}finally{if(Gt)throw dr}}return qe}}function qa(Ye){var qe=Ye.reducers,Lt=Ye.initialState,Gt=Ye.plugin,dr=Ye.sagaMiddleware,Rr=Ye.promiseMiddleware,jr=Ye.createOpts.setupMiddlewares,pn=jr===void 0?fa:jr,en=Gt.get("extraEnhancers");cr()(sn(en),"[app.start] extraEnhancers should be array, but got ".concat((0,Tr.Z)(en)));var gn=Gt.get("onAction"),Wn=pn([Rr,dr].concat((0,rt.Z)(Br()(gn)))),ti=c.qC,gi=[c.md.apply(void 0,(0,rt.Z)(Wn))].concat((0,rt.Z)(en));return(0,c.MT)(qe,Lt,ti.apply(void 0,(0,rt.Z)(gi)))}function Ha(Ye,qe){var Lt="".concat(qe.namespace).concat(sa).concat(Ye),Gt=Lt.replace(/\/@@[^/]+?$/,""),dr=Array.isArray(qe.reducers)?qe.reducers[0][Gt]:qe.reducers&&qe.reducers[Gt];return dr||qe.effects&&qe.effects[Gt]?Lt:Ye}function Ss(Ye,qe,Lt,Gt){var dr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return tn().mark(function Rr(){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,Lt,Gt,dr),wi.next=3,Or(Wn);case 3:return ti=wi.sent,wi.next=6,Or(tn().mark(function Ni(){return tn().wrap(function(yi){for(;;)switch(yi.prev=yi.next){case 0:return yi.next=2,Qe("".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()}},Rr)})}function Bi(Ye,qe,Lt,Gt,dr,Rr){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,kt({type:"".concat(Ye).concat(sa,"@@start")});case 5:return ya.next=7,pn.apply(void 0,(0,rt.Z)(pa.concat(hs(Lt,Rr))));case 7:return Oa=ya.sent,ya.next=10,kt({type:"".concat(Ye).concat(sa,"@@end")});case 10:Ys(Oa),ya.next=17;break;case 13:ya.prev=13,ya.t0=ya.catch(2),Gt(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,Lt,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,nt(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=Qe,_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,vt(Ye,Fi);case 2:case"end":return Pi.stop()}},yi)})}}function hs(Ye,qe){function Lt(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 Gt(jr){var pn=jr.type;return Lt(pn,"sagaEffects.put"),kt((0,l.Z)({},jr,{type:Ha(pn,Ye)}))}function dr(jr){var pn=jr.type;return Lt(pn,"sagaEffects.put.resolve"),kt.resolve((0,l.Z)({},jr,{type:Ha(pn,Ye)}))}Gt.resolve=dr;function Rr(jr){return typeof jr=="string"?(Lt(jr,"sagaEffects.take"),Qe(Ha(jr,Ye))):Array.isArray(jr)?Qe(jr.map(function(pn){return typeof pn=="string"?(Lt(pn,"sagaEffects.take"),Ha(pn,Ye)):pn})):Qe(jr)}return(0,l.Z)({},r,{put:Gt,take:Rr})}function Ao(Ye,qe,Lt,Gt){var dr=!0,Rr=!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,Lt,Gt)}}catch(Wn){Rr=!0,jr=Wn}finally{try{!dr&&pn.return!=null&&pn.return()}finally{if(Rr)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(Lt,Gt){var dr=Gt.type;return cr()(dr,"dispatch: action should be a plain Object with type"),Ye===dr?qe(Lt,Gt):Lt}}function Ma(){for(var Ye=arguments.length,qe=new Array(Ye),Lt=0;Lt<Ye;Lt++)qe[Lt]=arguments[Lt];return function(Gt,dr){return qe.reduce(function(Rr,jr){return jr(Rr,dr)},Gt)}}function Hs(Ye,qe){var Lt=Object.keys(Ye).map(function(dr){return ta(dr,Ye[dr])}),Gt=Ma.apply(void 0,(0,rt.Z)(Lt));return function(){var dr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qe,Rr=arguments.length>1?arguments[1]:void 0;return Gt(dr,Rr)}}function On(Ye,qe,Lt){return Array.isArray(Ye)?Ye[1]((Lt||Hs)(Ye[0],qe)):(Lt||Hs)(Ye||{},qe)}function Ra(Ye){return function(){return function(Lt){return function(Gt){var dr=Gt.type;return qe(dr)?new Promise(function(Rr,jr){Lt((0,l.Z)({__dva_resolve:Rr,__dva_reject:jr},Gt))}):Lt(Gt)}}};function qe(Lt){if(!Lt||typeof Lt!="string")return!1;var Gt=Lt.split(sa),dr=(0,Er.Z)(Gt,1),Rr=dr[0],jr=Ye._models.filter(function(pn){return pn.namespace===Rr})[0];return!!(jr&&jr.effects&&jr.effects[Lt])}}function is(Ye,qe){return function(Lt){var Gt=Lt.type;return cr()(Gt,"dispatch: action should be a plain Object with type"),nr()(Gt.indexOf("".concat(qe.namespace).concat(sa))!==0,"dispatch: ".concat(Gt," should not be prefixed with namespace ").concat(qe.namespace)),Ye((0,l.Z)({},Lt,{type:Ha(Gt,qe)}))}}function as(Ye,qe,Lt,Gt){var dr=[],Rr=[];for(var jr in Ye)if(Object.prototype.hasOwnProperty.call(Ye,jr)){var pn=Ye[jr],en=pn({dispatch:is(Lt._store.dispatch,qe),history:Lt._history},Gt);wn(en)?dr.push(en):Rr.push(jr)}return{funcs:dr,nonFuncs:Rr}}function Li(Ye,qe){if(Ye[qe]){var Lt=Ye[qe],Gt=Lt.funcs,dr=Lt.nonFuncs;nr()(dr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(dr.join(", ")));var Rr=!0,jr=!1,pn=void 0;try{for(var en=Gt[Symbol.iterator](),gn;!(Rr=(gn=en.next()).done);Rr=!0){var Wn=gn.value;Wn()}}catch(ti){jr=!0,pn=ti}finally{try{!Rr&&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]:{},Lt=qe.initialReducer,Gt=qe.setupApp,dr=Gt===void 0?Da:Gt,Rr=new ka;Rr.use(ws(Ye));var jr={_models:[oa((0,l.Z)({},ls))],_store:null,_plugin:Rr,use:Rr.use.bind(Rr),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,Rr._handleActions),yi.replaceReducer(gi()),Fi.effects&&yi.runSaga(jr._getSaga(Fi.effects,Fi,wi,Rr.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,Xr){wr&&(typeof wr=="string"&&(wr=new Error(wr)),wr.preventDefault=function(){wr._dontReject=!0},Rr.apply("onError",function(gr){throw new Error(gr.stack||gr)})(wr,jr._store.dispatch,Xr))},wi=_t(),Ni=Ra(jr);jr._getSaga=Ss.bind(null);var Fi=[],yi=(0,l.Z)({},Lt),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,Rr._handleActions),_s.effects&&Fi.push(jr._getSaga(_s.effects,_s,gi,Rr.get("onEffect"),Ye))}}catch(Ae){Pi=!0,pi=Ae}finally{try{!pa&&ua.return!=null&&ua.return()}finally{if(Pi)throw pi}}var Zi=Rr.get("onReducer"),Oa=Rr.get("extraReducers");cr()(Object.keys(Oa).every(function(Ae){return!(Ae 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:Rr,createOpts:qe,sagaMiddleware:wi,promiseMiddleware:Ni});var qi=jr._store;qi.runSaga=wi.run,qi.asyncReducers={};var Ii=Rr.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(Ae){$a=!0,Va=Ae}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(Ae){js=!0,na=Ae}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 Lt=qe.get(i.createContext);return Lt||(Lt=i.createContext(null),qe.set(i.createContext,Lt)),Lt}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(Gt,dr={}){const{equalityFn:Rr=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)({[Gt.name](yi){return Gt(yi)}}[Gt.name],[Gt,ti,jr]),Fi=Vs(gn.addNestedSub,en.getState,Wn||en.getState,Ni,Rr);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,Lt,Gt,{areStatesEqual:dr,areOwnPropsEqual:Rr,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(Gt,gn),gi=Lt(Wn,ti,gn),pn=!0,gi}function Ni(){return Wn=Ye(en,gn),qe.dependsOnOwnProps&&(ti=qe(Gt,gn)),gi=Lt(Wn,ti,gn),gi}function Fi(){return Ye.dependsOnOwnProps&&(Wn=Ye(en,gn)),qe.dependsOnOwnProps&&(ti=qe(Gt,gn)),gi=Lt(Wn,ti,gn),gi}function yi(){const Pi=Ye(en,gn),pi=!jr(Pi,Wn);return Wn=Pi,pi&&(gi=Lt(Wn,ti,gn)),gi}function pa(Pi,pi){const ua=!Rr(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:Lt,initMapDispatchToProps:Gt,initMergeProps:dr}=qe,Rr=(0,Au.Z)(qe,Mu);const jr=Lt(Ye,Rr),pn=Gt(Ye,Rr),en=dr(Ye,Rr);return Oo(jr,pn,en,Ye,Rr)}function Ns(Ye,qe){const Lt={};for(const Gt in Ye){const dr=Ye[Gt];typeof dr=="function"&&(Lt[Gt]=(...Rr)=>qe(dr(...Rr)))}return Lt}function du(Ye){return function(Lt){const Gt=Ye(Lt);function dr(){return Gt}return dr.dependsOnOwnProps=!1,dr}}function Mo(Ye){return Ye.dependsOnOwnProps?!!Ye.dependsOnOwnProps:Ye.length!==1}function wo(Ye,qe){return function(Gt,{displayName:dr}){const Rr=function(pn,en){return Rr.dependsOnOwnProps?Rr.mapToProps(pn,en):Rr.mapToProps(pn,void 0)};return Rr.dependsOnOwnProps=!0,Rr.mapToProps=function(pn,en){Rr.mapToProps=Ye,Rr.dependsOnOwnProps=Mo(Ye);let gn=Rr(pn,en);return typeof gn=="function"&&(Rr.mapToProps=gn,Rr.dependsOnOwnProps=Mo(gn),gn=Rr(pn,en)),gn},Rr}}function Rs(Ye,qe){return(Lt,Gt)=>{throw new Error(`Invalid value of type ${typeof Ye} for ${qe} argument when connecting component ${Gt.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,Lt){return(0,jo.Z)({},Lt,Ye,qe)}function Xt(Ye){return function(Lt,{displayName:Gt,areMergedPropsEqual:dr}){let Rr=!1,jr;return function(en,gn,Wn){const ti=Ye(en,gn,Wn);return Rr?dr(ti,jr)||(jr=ti):(Rr=!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,Lt=null;return{clear(){qe=null,Lt=null},notify(){Ye(()=>{let Gt=qe;for(;Gt;)Gt.callback(),Gt=Gt.next})},get(){let Gt=[],dr=qe;for(;dr;)Gt.push(dr),dr=dr.next;return Gt},subscribe(Gt){let dr=!0,Rr=Lt={callback:Gt,next:null,prev:Lt};return Rr.prev?Rr.prev.next=Rr:qe=Rr,function(){!dr||qe===null||(dr=!1,Rr.next?Rr.next.prev=Rr.prev:Lt=Rr.prev,Rr.prev?Rr.prev.next=Rr.next:qe=Rr.next)}}}}const mr={notify(){},get:()=>[]};function xr(Ye,qe){let Lt,Gt=mr,dr=0,Rr=!1;function jr(Fi){Wn();const yi=Gt.subscribe(Fi);let pa=!1;return()=>{pa||(pa=!0,yi(),ti())}}function pn(){Gt.notify()}function en(){Ni.onStateChange&&Ni.onStateChange()}function gn(){return Rr}function Wn(){dr++,Lt||(Lt=qe?qe.addNestedSub(en):Ye.subscribe(en),Gt=ar())}function ti(){dr--,Lt&&dr===0&&(Lt(),Lt=void 0,Gt.clear(),Gt=mr)}function gi(){Rr||(Rr=!0,Wn())}function wi(){Rr&&(Rr=!1,ti())}const Ni={addNestedSub:jr,notifyNestedSubs:pn,handleChangeWrapper:en,isSubscribed:gn,trySubscribe:gi,tryUnsubscribe:wi,getListeners:()=>Gt};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 Lt=Object.keys(Ye),Gt=Object.keys(qe);if(Lt.length!==Gt.length)return!1;for(let dr=0;dr<Lt.length;dr++)if(!Object.prototype.hasOwnProperty.call(qe,Lt[dr])||!$n(Ye[Lt[dr]],qe[Lt[dr]]))return!1;return!0}const Yn=["reactReduxForwardedRef"];let or=Gs;const Mr=Ye=>{or=Ye},yr=null,fn=[null,null],zn=Ye=>{try{return JSON.stringify(Ye)}catch(qe){return String(Ye)}};function dt(Ye,qe,Lt){xn(()=>Ye(...qe),Lt)}function Cn(Ye,qe,Lt,Gt,dr,Rr){Ye.current=Gt,Lt.current=!1,dr.current&&(dr.current=null,Rr())}function Hn(Ye,qe,Lt,Gt,dr,Rr,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=Gt(Fi,dr.current)}catch(Pi){pa=Pi,gi=Pi}pa||(gi=null),yi===Rr.current?jr.current||gn():(Rr.current=yi,en.current=yi,jr.current=!0,Wn())};return Lt.onStateChange=wi,Lt.trySubscribe(),wi(),()=>{if(ti=!0,Lt.tryUnsubscribe(),Lt.onStateChange=null,gi)throw gi}}const oi=()=>yr;function zi(Ye,qe){return Ye===qe}let Nr=!1;function Hr(Ye,qe,Lt,{pure:Gt,areStatesEqual:dr=zi,areOwnPropsEqual:Rr=kn,areStatePropsEqual:jr=kn,areMergedPropsEqual:pn=kn,forwardRef:en=!1,context:gn=si}={}){const Wn=gn,ti=hu(Ye),gi=Ds(qe),wi=fr(Lt),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:Rr,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),Ae=i.useRef(!1),wr=i.useRef(!1),Xr=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]);dt(Cn,[ys,ja,be,Ii,Hi,js]);let Sn;try{Sn=or(Yr,gr,co?()=>La(co(),Ii):gr)}catch(In){throw Xr.current&&(In.message+=`
|
|
|
The error may be correlated with this previous error:
|
|
|
${Xr.current.stack}
|
|
|
|
|
|
`),In}xn(()=>{Xr.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:Lt,serverState:Gt,stabilityCheck:dr="once",noopCheck:Rr="once"}){const jr=i.useMemo(()=>{const gn=xr(Ye);return{store:Ye,subscription:gn,getServerState:Gt?()=>Gt:void 0,stabilityCheck:dr,noopCheck:Rr}},[Ye,Gt,dr,Rr]),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},Lt)}var ra=Ti;function Ts(Ye=si){const qe=Ye===si?Ga:Wa(Ye);return function(){const{store:Gt}=qe();return Gt}}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),Mr(bo.useSyncExternalStore),uo(To.unstable_batchedUpdates);var Os=Object.defineProperty,ha=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,ps=Object.prototype.propertyIsEnumerable,Ln=(Ye,qe,Lt)=>qe in Ye?Os(Ye,qe,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Ye[qe]=Lt,Ls=(Ye,qe)=>{for(var Lt in qe||(qe={}))Na.call(qe,Lt)&&Ln(Ye,Lt,qe[Lt]);if(ha)for(var Lt of ha(qe))ps.call(qe,Lt)&&Ln(Ye,Lt,qe[Lt]);return Ye};function Ms(Ye){const qe=create(Ye,{initialReducer:{},setupApp(){}}),Lt=qe.start;return qe.router=Gt,qe.start=dr,qe;function Gt(Rr){qe._router=Rr}function dr(Rr){if(typeof Rr!="undefined")throw new Error("dva.start() should not be called with any arguments.");qe._store||Lt.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=(M,P,D)=>P in M?i(M,P,{enumerable:!0,configurable:!0,writable:!0,value:D}):M[P]=D,a=(M,P)=>{for(var D in P||(P={}))o.call(P,D)&&u(M,D,P[D]);if(f)for(var D of f(P))h.call(P,D)&&u(M,D,P[D]);return M},x=(M,P)=>l(M,c(P));let p,y="/";function _(M){let P;return M.type==="hash"?P=(0,r.q_)():M.type==="memory"?P=(0,r.PP)(M):P=(0,r.lX)(),M.basename&&(y=M.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(M){M&&(p=M)}function A(M,P){if(typeof M=="string")return`${R(y)}${M}`;if(typeof M=="object"){const D=P.location.pathname;return x(a({},M),{pathname:M.pathname?`${R(y)}${M.pathname}`:D})}else throw new Error(`Unexpected to: ${M}`)}function R(M){return M.slice(-1)==="/"?M.slice(0,-1):M}},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 We}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Ie}});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),M=e(19747),P=e.n(M);function D(){return D=Object.assign||function(Mt){for(var gt=1;gt<arguments.length;gt++){var yt=arguments[gt];for(var Nt in yt)Object.prototype.hasOwnProperty.call(yt,Nt)&&(Mt[Nt]=yt[Nt])}return Mt},D.apply(this,arguments)}function B(Mt,gt){Mt.prototype=Object.create(gt.prototype),Mt.prototype.constructor=Mt,$(Mt,gt)}function $(Mt,gt){return $=Object.setPrototypeOf||function(yt,Nt){return yt.__proto__=Nt,yt},$(Mt,gt)}function j(Mt,gt){if(Mt==null)return{};var yt,Nt,Cr={},vr=Object.keys(Mt);for(Nt=0;Nt<vr.length;Nt++)gt.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,gt){return Mt[ce[gt]]=gt,Mt},{}),J=function(Mt,gt){for(var yt=Mt.length-1;yt>=0;yt-=1){var Nt=Mt[yt];if(Object.prototype.hasOwnProperty.call(Nt,gt))return Nt[gt]}return null},Y=function(Mt){var gt=J(Mt,K.TITLE),yt=J(Mt,"titleTemplate");if(Array.isArray(gt)&&(gt=gt.join("")),yt&>)return yt.replace(/%s/g,function(){return gt});var Nt=J(Mt,"defaultTitle");return gt||Nt||void 0},le=function(Mt){return J(Mt,"onChangeClientState")||function(){}},ne=function(Mt,gt){return gt.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,gt){return gt.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 lt=Cr[vr].toLowerCase();if(Mt.indexOf(lt)!==-1&&Nt[lt])return yt.concat(Nt)}return yt},[])},ie=function(Mt,gt,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 lt={};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();gt.indexOf(Ui)===-1||dn==="rel"&&Jr[dn].toLowerCase()==="canonical"||Ui==="rel"&&Jr[Ui].toLowerCase()==="stylesheet"||(dn=Ui),gt.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]={}),lt[dn]||(lt[dn]={}),!Nt[dn][mi]&&(lt[dn][mi]=!0,!0)}).reverse().forEach(function(Jr){return Cr.push(Jr)});for(var Lr=Object.keys(lt),_n=0;_n<Lr.length;_n+=1){var Un=Lr[_n],_r=D({},Nt[Un],lt[Un]);Nt[Un]=_r}return Cr},[]).reverse()},F=function(Mt,gt){if(Array.isArray(Mt)&&Mt.length){for(var yt=0;yt<Mt.length;yt+=1)if(Mt[yt][gt])return!0}return!1},L=function(Mt){return Array.isArray(Mt)?Mt.join(""):Mt},Q=function(Mt,gt){return Array.isArray(Mt)?Mt.reduce(function(yt,Nt){return function(Cr,vr){for(var lt=Object.keys(Cr),Lr=0;Lr<lt.length;Lr+=1)if(vr[lt[Lr]]&&vr[lt[Lr]].includes(Cr[lt[Lr]]))return!0;return!1}(Nt,gt)?yt.priority.push(Nt):yt.default.push(Nt),yt},{priority:[],default:[]}):{default:Mt}},de=function(Mt,gt){var yt;return D({},Mt,((yt={})[gt]=void 0,yt))},we=[K.NOSCRIPT,K.SCRIPT,K.STYLE],Pe=function(Mt,gt){return gt===void 0&&(gt=!0),gt===!1?String(Mt):String(Mt).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},Ue=function(Mt){return Object.keys(Mt).reduce(function(gt,yt){var Nt=Mt[yt]!==void 0?yt+'="'+Mt[yt]+'"':""+yt;return gt?gt+" "+Nt:Nt},"")},Be=function(Mt,gt){return gt===void 0&&(gt={}),Object.keys(Mt).reduce(function(yt,Nt){return yt[ce[Nt]||Nt]=Mt[Nt],yt},gt)},Ft=function(Mt,gt){return gt.map(function(yt,Nt){var Cr,vr=((Cr={key:Nt})["data-rh"]=!0,Cr);return Object.keys(yt).forEach(function(lt){var Lr=ce[lt]||lt;Lr==="innerHTML"||Lr==="cssText"?vr.dangerouslySetInnerHTML={__html:yt.innerHTML||yt.cssText}:vr[Lr]=yt[lt]}),x.createElement(Mt,vr)})},mt=function(Mt,gt,yt){switch(Mt){case K.TITLE:return{toComponent:function(){return Cr=gt.titleAttributes,(vr={key:Nt=gt.title})["data-rh"]=!0,lt=Be(Cr,vr),[x.createElement(K.TITLE,lt,Nt)];var Nt,Cr,vr,lt},toString:function(){return function(Nt,Cr,vr,lt){var Lr=Ue(vr),_n=L(Cr);return Lr?"<"+Nt+' data-rh="true" '+Lr+">"+Pe(_n,lt)+"</"+Nt+">":"<"+Nt+' data-rh="true">'+Pe(_n,lt)+"</"+Nt+">"}(Mt,gt.title,gt.titleAttributes,yt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Be(gt)},toString:function(){return Ue(gt)}};default:return{toComponent:function(){return Ft(Mt,gt)},toString:function(){return function(Nt,Cr,vr){return Cr.reduce(function(lt,Lr){var _n=Object.keys(Lr).filter(function(Jr){return!(Jr==="innerHTML"||Jr==="cssText")}).reduce(function(Jr,dn){var Mn=Lr[dn]===void 0?dn:dn+'="'+Pe(Lr[dn],vr)+'"';return Jr?Jr+" "+Mn:Mn},""),Un=Lr.innerHTML||Lr.cssText||"",_r=we.indexOf(Nt)===-1;return lt+"<"+Nt+' data-rh="true" '+_n+(_r?"/>":">"+Un+"</"+Nt+">")},"")}(Mt,gt,yt)}}}},Pt=function(Mt){var gt=Mt.baseTag,yt=Mt.bodyAttributes,Nt=Mt.encode,Cr=Mt.htmlAttributes,vr=Mt.noscriptTags,lt=Mt.styleTags,Lr=Mt.title,_n=Lr===void 0?"":Lr,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 mt(K.META,vi.priority,bi)+" "+mt(K.LINK,di.priority,bi)+" "+mt(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:mt(K.BASE,gt,Nt),bodyAttributes:mt("bodyAttributes",yt,Nt),htmlAttributes:mt("htmlAttributes",Cr,Nt),link:mt(K.LINK,_r,Nt),meta:mt(K.META,Jr,Nt),noscript:mt(K.NOSCRIPT,vr,Nt),script:mt(K.SCRIPT,dn,Nt),style:mt(K.STYLE,lt,Nt),title:mt(K.TITLE,{title:_n,titleAttributes:Un},Nt)}},Qt=[],qt=function(Mt,gt){var yt=this;gt===void 0&&(gt=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=gt,gt||(Mt.helmet=Pt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Jt=x.createContext({}),Xe=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),It=typeof document!="undefined",Ut=function(Mt){function gt(yt){var Nt;return(Nt=Mt.call(this,yt)||this).helmetData=new qt(Nt.props.context,gt.canUseDOM),Nt}return B(gt,Mt),gt.prototype.render=function(){return x.createElement(Jt.Provider,{value:this.helmetData.value},this.props.children)},gt}(x.Component);Ut.canUseDOM=It,Ut.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},Ut.defaultProps={context:{}},Ut.displayName="HelmetProvider";var ut=function(Mt,gt){var yt,Nt=document.head||document.querySelector(K.HEAD),Cr=Nt.querySelectorAll(Mt+"[data-rh]"),vr=[].slice.call(Cr),lt=[];return gt&>.length&>.forEach(function(Lr){var _n=document.createElement(Mt);for(var Un in Lr)Object.prototype.hasOwnProperty.call(Lr,Un)&&(Un==="innerHTML"?_n.innerHTML=Lr.innerHTML:Un==="cssText"?_n.styleSheet?_n.styleSheet.cssText=Lr.cssText:_n.appendChild(document.createTextNode(Lr.cssText)):_n.setAttribute(Un,Lr[Un]===void 0?"":Lr[Un]));_n.setAttribute("data-rh","true"),vr.some(function(_r,Jr){return yt=Jr,_n.isEqualNode(_r)})?vr.splice(yt,1):lt.push(_n)}),vr.forEach(function(Lr){return Lr.parentNode.removeChild(Lr)}),lt.forEach(function(Lr){return Nt.appendChild(Lr)}),{oldTags:vr,newTags:lt}},bt=function(Mt,gt){var yt=document.getElementsByTagName(Mt)[0];if(yt){for(var Nt=yt.getAttribute("data-rh"),Cr=Nt?Nt.split(","):[],vr=[].concat(Cr),lt=Object.keys(gt),Lr=0;Lr<lt.length;Lr+=1){var _n=lt[Lr],Un=gt[_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")!==lt.join(",")&&yt.setAttribute("data-rh",lt.join(","))}},pt=function(Mt,gt){var yt=Mt.baseTag,Nt=Mt.htmlAttributes,Cr=Mt.linkTags,vr=Mt.metaTags,lt=Mt.noscriptTags,Lr=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=L(Nn)),bt(K.TITLE,Ui)}(_r,Jr);var dn={baseTag:ut(K.BASE,yt),linkTags:ut(K.LINK,Cr),metaTags:ut(K.META,vr),noscriptTags:ut(K.NOSCRIPT,lt),scriptTags:ut(K.SCRIPT,_n),styleTags:ut(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)}),gt&>(),Lr(Mt,Mn,Jn)},tt=null,ze=function(Mt){function gt(){for(var Nt,Cr=arguments.length,vr=new Array(Cr),lt=0;lt<Cr;lt++)vr[lt]=arguments[lt];return(Nt=Mt.call.apply(Mt,[this].concat(vr))||this).rendered=!1,Nt}B(gt,Mt);var yt=gt.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,lt=vr.setHelmet,Lr=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,tt&&cancelAnimationFrame(tt),Cr.defer?tt=requestAnimationFrame(function(){pt(Cr,function(){tt=null})}):(pt(Cr),tt=null)):Pt&&(Lr=Pt(_n)),lt(Lr)},yt.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},yt.render=function(){return this.init(),null},gt}(x.Component);ze.propTypes={context:Xe.isRequired},ze.displayName="HelmetDispatcher";var ye=["children"],Te=["children"],Me=function(Mt){function gt(){return Mt.apply(this,arguments)||this}B(gt,Mt);var yt=gt.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,lt=Nt.arrayTypeChildren;return D({},lt,((Cr={})[vr.type]=[].concat(lt[vr.type]||[],[D({},Nt.newChildProps,this.mapNestedChildrenToProps(vr,Nt.nestedChildren))]),Cr))},yt.mapObjectTypeChildren=function(Nt){var Cr,vr,lt=Nt.child,Lr=Nt.newProps,_n=Nt.newChildProps,Un=Nt.nestedChildren;switch(lt.type){case K.TITLE:return D({},Lr,((Cr={})[lt.type]=Un,Cr.titleAttributes=D({},_n),Cr));case K.BODY:return D({},Lr,{bodyAttributes:D({},_n)});case K.HTML:return D({},Lr,{htmlAttributes:D({},_n)});default:return D({},Lr,((vr={})[lt.type]=D({},_n),vr))}},yt.mapArrayTypeChildrenToProps=function(Nt,Cr){var vr=D({},Cr);return Object.keys(Nt).forEach(function(lt){var Lr;vr=D({},vr,((Lr={})[lt]=Nt[lt],Lr))}),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,lt={};return x.Children.forEach(Nt,function(Lr){if(Lr&&Lr.props){var _n=Lr.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=Lr.type;switch(typeof dn=="symbol"?dn=dn.toString():vr.warnOnInvalidChildren(Lr,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:lt=vr.flattenArrayTypeChildren({child:Lr,arrayTypeChildren:lt,newChildProps:Jr,nestedChildren:Un});break;default:Cr=vr.mapObjectTypeChildren({child:Lr,newProps:Cr,newChildProps:Jr,nestedChildren:Un})}}}),this.mapArrayTypeChildrenToProps(lt,Cr)},yt.render=function(){var Nt=this.props,Cr=Nt.children,vr=j(Nt,Te),lt=D({},vr),Lr=vr.helmetData;return Cr&&(lt=this.mapChildrenToProps(Cr,lt)),!Lr||Lr instanceof qt||(Lr=new qt(Lr.context,Lr.instances)),Lr?x.createElement(ze,D({},lt,{context:Lr.value,helmetData:void 0})):x.createElement(Jt.Consumer,null,function(_n){return x.createElement(ze,D({},lt,{context:_n}))})},gt}(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={},We=Mt=>x.createElement(Ut,{context:$e},Mt);var it=e(92736),ft=e(89070),Vt=e(93083),Ht=e(33143),De=e(28440),et=e.n(De),Wt=Object.defineProperty,Rt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,At=(Mt,gt,yt)=>gt in Mt?Wt(Mt,gt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):Mt[gt]=yt,Kt=(Mt,gt)=>{for(var yt in gt||(gt={}))Zt.call(gt,yt)&&At(Mt,yt,gt[yt]);if(Rt)for(var yt of Rt(gt))Bt.call(gt,yt)&&At(Mt,yt,gt[yt]);return Mt},Ge=(Mt,gt)=>{var yt={};for(var Nt in Mt)Zt.call(Mt,Nt)&>.indexOf(Nt)<0&&(yt[Nt]=Mt[Nt]);if(Mt!=null&&Rt)for(var Nt of Rt(Mt))gt.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:ft.ApplyPluginsType.modify,initialValue:Kt({},{componentSize:"middle"})})),fe);function Ot({children:Mt}){let gt=Mt;const[yt,Nt]=x.useState(()=>{const vr=_e(),{appConfig:lt}=vr;return Ge(vr,["appConfig"])}),Cr=vr=>{Nt(lt=>et()({},lt,typeof vr=="function"?vr(lt):vr))};return yt.prefixCls&&it.ZP.config({prefixCls:yt.prefixCls}),yt.iconPrefixCls&&it.ZP.config({iconPrefixCls:yt.iconPrefixCls}),yt.theme&&it.ZP.config({theme:yt.theme}),gt=x.createElement(it.ZP,Kt({},yt),gt),gt=x.createElement(Vt.StyleProvider,{hashPriority:"high"},gt),gt=x.createElement(Ht.C.Provider,{value:Cr},x.createElement(Ht.S.Provider,{value:yt},gt)),gt}function Ie(Mt){return x.createElement(Ot,null,Mt)}var ht=e(17474);function zt(Mt,gt){return x.createElement(ht.j,gt,Mt)}var Ct=e(65517),ke=e(57013),wt=e(81863),je=Object.defineProperty,Qe=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,Fe=(Mt,gt,yt)=>gt in Mt?je(Mt,gt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):Mt[gt]=yt,Dr=(Mt,gt)=>{for(var yt in gt||(gt={}))Oe.call(gt,yt)&&Fe(Mt,yt,gt[yt]);if(Qe)for(var yt of Qe(gt))kt.call(gt,yt)&&Fe(Mt,yt,gt[yt]);return Mt};function St(){var Mt,gt;const yt=getLocale();(Mt=moment)!=null&&Mt.locale&&moment.locale(((gt=localeInfo[yt])==null?void 0:gt.momentLocale)||"zh-cn"),setIntl(yt)}const Gr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,Qr=Mt=>{var gt;const yt=(0,ke.Kd)(),[Nt,Cr]=x.useState(yt),[vr,lt]=x.useState(()=>(0,ke.lw)(Nt,!0)),Lr=_r=>{var Jr,dn;(Jr=u())!=null&&Jr.locale&&u().locale(((dn=ke.H8[_r])==null?void 0:dn.momentLocale)||"en"),Cr(_r),lt((0,ke.lw)(_r))};Gr(()=>(ke.B.on(ke.PZ,Lr),()=>{ke.B.off(ke.PZ,Lr)}),[]);const _n=Dr({},wt.Z),Un=(0,ke.Mg)();return x.createElement(it.ZP,{direction:Un,locale:((gt=ke.H8[Nt])==null?void 0:gt.antd)||_n},x.createElement(ke.eU,{value:vr},Mt.children))};function Sr(Mt){return x.createElement(Qr,null,Mt)}function Or(Mt){return Mt.default?typeof Mt.default=="function"?Mt.default():Mt.default:Mt}function hr(){return[{apply:Or(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=ft.PluginManager.create({plugins:hr(),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 ut.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=(We,it,ft)=>it in We?u(We,it,{enumerable:!0,configurable:!0,writable:!0,value:ft}):We[it]=ft,A=(We,it)=>{for(var ft in it||(it={}))y.call(it,ft)&&b(We,ft,it[ft]);if(p)for(var ft of p(it))_.call(it,ft)&&b(We,ft,it[ft]);return We},R=(We,it)=>a(We,x(it)),M=(We,it)=>{var ft={};for(var Vt in We)y.call(We,Vt)&&it.indexOf(Vt)<0&&(ft[Vt]=We[Vt]);if(We!=null&&p)for(var Vt of p(We))it.indexOf(Vt)<0&&_.call(We,Vt)&&(ft[Vt]=We[Vt]);return ft};const P=We=>{var it=We,{overlayClassName:ft}=it,Vt=M(it,["overlayClassName"]);return React.createElement(Dropdown,A({overlayClassName:ft},Vt))},D=We=>We.reduce((it,ft)=>ft.lang?R(A({},it),{[ft.lang]:ft}):it,{}),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"}},$=We=>React.createElement(React.Fragment,null);var j=e(38329),K=e(38127),V=e(32451),W=e(95254),oe=e(87296);function ae(We,it){var ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var Ht=r.useRef(typeof IntersectionObserver=="function"),De=r.useRef(null);return r.useEffect(function(){if(!(!We.current||!Ht.current||Vt.disabled))return De.current=new IntersectionObserver(function(et){var Wt=(0,oe.Z)(et,1),Rt=Wt[0];it(Rt)},ft),De.current.observe(We.current),function(){var et;(et=De.current)===null||et===void 0||et.disconnect()}},[it,ft,Vt.disabled,We]),De.current}var ce=["prefetch"];function q(We){var it=r.useRef(null);return r.useEffect(function(){We&&(typeof We=="function"?We(it.current):We.current=it.current)}),it}var J=r.forwardRef(function(We,it){var ft,Vt=We.prefetch,Ht=(0,K.Z)(We,ce),De=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},et=De.defaultPrefetch,Wt=De.defaultPrefetchTimeout,Rt=(Vt===!0?"intent":Vt===!1?"none":Vt)||et;if(!["intent","render","viewport","none"].includes(Rt))throw new Error("Invalid prefetch value ".concat(Rt," found in Link component"));var Zt=(0,W.Ov)(),Bt=typeof We.to=="string"?We.to:(ft=We.to)===null||ft===void 0?void 0:ft.pathname,At=r.useRef(!1),Kt=q(it),Ge=function(Ot){if(Rt==="intent"){var Ie=Ot.target||{};Ie.preloadTimeout||(Ie.preloadTimeout=setTimeout(function(){var ht;Ie.preloadTimeout=null,(ht=Zt.preloadRoute)===null||ht===void 0||ht.call(Zt,Bt)},We.prefetchTimeout||Wt))}},fe=function(Ot){if(Rt==="intent"){var Ie=Ot.target||{};Ie.preloadTimeout&&(clearTimeout(Ie.preloadTimeout),Ie.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(Rt==="render"&&!At.current){var _e;(_e=Zt.preloadRoute)===null||_e===void 0||_e.call(Zt,Bt),At.current=!0}},[Rt,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:Rt!=="viewport"}),Bt?r.createElement(V.rU,(0,j.Z)({onMouseEnter:Ge,onMouseLeave:fe,ref:Kt},Ht),We.children):null}),Y=e(35338),le=e(8616);function ne(){"use strict";ne=function(){return it};var We,it={},ft=Object.prototype,Vt=ft.hasOwnProperty,Ht=Object.defineProperty||function(Sr,Or,hr){Sr[Or]=hr.value},De=typeof Symbol=="function"?Symbol:{},et=De.iterator||"@@iterator",Wt=De.asyncIterator||"@@asyncIterator",Rt=De.toStringTag||"@@toStringTag";function Zt(Sr,Or,hr){return Object.defineProperty(Sr,Or,{value:hr,enumerable:!0,configurable:!0,writable:!0}),Sr[Or]}try{Zt({},"")}catch(Sr){Zt=function(hr,$r,nn){return hr[$r]=nn}}function Bt(Sr,Or,hr,$r){var nn=Or&&Or.prototype instanceof Ie?Or:Ie,on=Object.create(nn.prototype),sr=new Gr($r||[]);return Ht(on,"_invoke",{value:kt(Sr,hr,sr)}),on}function At(Sr,Or,hr){try{return{type:"normal",arg:Sr.call(Or,hr)}}catch($r){return{type:"throw",arg:$r}}}it.wrap=Bt;var Kt="suspendedStart",Ge="suspendedYield",fe="executing",_e="completed",Ot={};function Ie(){}function ht(){}function zt(){}var Ct={};Zt(Ct,et,function(){return this});var ke=Object.getPrototypeOf,wt=ke&&ke(ke(Qr([])));wt&&wt!==ft&&Vt.call(wt,et)&&(Ct=wt);var je=zt.prototype=Ie.prototype=Object.create(Ct);function Qe(Sr){["next","throw","return"].forEach(function(Or){Zt(Sr,Or,function(hr){return this._invoke(Or,hr)})})}function Oe(Sr,Or){function hr(nn,on,sr,Mt){var gt=At(Sr[nn],Sr,on);if(gt.type!=="throw"){var yt=gt.arg,Nt=yt.value;return Nt&&(0,le.Z)(Nt)=="object"&&Vt.call(Nt,"__await")?Or.resolve(Nt.__await).then(function(Cr){hr("next",Cr,sr,Mt)},function(Cr){hr("throw",Cr,sr,Mt)}):Or.resolve(Nt).then(function(Cr){yt.value=Cr,sr(yt)},function(Cr){return hr("throw",Cr,sr,Mt)})}Mt(gt.arg)}var $r;Ht(this,"_invoke",{value:function(on,sr){function Mt(){return new Or(function(gt,yt){hr(on,sr,gt,yt)})}return $r=$r?$r.then(Mt,Mt):Mt()}})}function kt(Sr,Or,hr){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:We,done:!0}}for(hr.method=nn,hr.arg=on;;){var sr=hr.delegate;if(sr){var Mt=Fe(sr,hr);if(Mt){if(Mt===Ot)continue;return Mt}}if(hr.method==="next")hr.sent=hr._sent=hr.arg;else if(hr.method==="throw"){if($r===Kt)throw $r=_e,hr.arg;hr.dispatchException(hr.arg)}else hr.method==="return"&&hr.abrupt("return",hr.arg);$r=fe;var gt=At(Sr,Or,hr);if(gt.type==="normal"){if($r=hr.done?_e:Ge,gt.arg===Ot)continue;return{value:gt.arg,done:hr.done}}gt.type==="throw"&&($r=_e,hr.method="throw",hr.arg=gt.arg)}}}function Fe(Sr,Or){var hr=Or.method,$r=Sr.iterator[hr];if($r===We)return Or.delegate=null,hr==="throw"&&Sr.iterator.return&&(Or.method="return",Or.arg=We,Fe(Sr,Or),Or.method==="throw")||hr!=="return"&&(Or.method="throw",Or.arg=new TypeError("The iterator does not provide a '"+hr+"' method")),Ot;var nn=At($r,Sr.iterator,Or.arg);if(nn.type==="throw")return Or.method="throw",Or.arg=nn.arg,Or.delegate=null,Ot;var on=nn.arg;return on?on.done?(Or[Sr.resultName]=on.value,Or.next=Sr.nextLoc,Or.method!=="return"&&(Or.method="next",Or.arg=We),Or.delegate=null,Ot):on:(Or.method="throw",Or.arg=new TypeError("iterator result is not an object"),Or.delegate=null,Ot)}function Dr(Sr){var Or={tryLoc:Sr[0]};1 in Sr&&(Or.catchLoc=Sr[1]),2 in Sr&&(Or.finallyLoc=Sr[2],Or.afterLoc=Sr[3]),this.tryEntries.push(Or)}function St(Sr){var Or=Sr.completion||{};Or.type="normal",delete Or.arg,Sr.completion=Or}function Gr(Sr){this.tryEntries=[{tryLoc:"root"}],Sr.forEach(Dr,this),this.reset(!0)}function Qr(Sr){if(Sr||Sr===""){var Or=Sr[et];if(Or)return Or.call(Sr);if(typeof Sr.next=="function")return Sr;if(!isNaN(Sr.length)){var hr=-1,$r=function nn(){for(;++hr<Sr.length;)if(Vt.call(Sr,hr))return nn.value=Sr[hr],nn.done=!1,nn;return nn.value=We,nn.done=!0,nn};return $r.next=$r}}throw new TypeError((0,le.Z)(Sr)+" is not iterable")}return ht.prototype=zt,Ht(je,"constructor",{value:zt,configurable:!0}),Ht(zt,"constructor",{value:ht,configurable:!0}),ht.displayName=Zt(zt,Rt,"GeneratorFunction"),it.isGeneratorFunction=function(Sr){var Or=typeof Sr=="function"&&Sr.constructor;return!!Or&&(Or===ht||(Or.displayName||Or.name)==="GeneratorFunction")},it.mark=function(Sr){return Object.setPrototypeOf?Object.setPrototypeOf(Sr,zt):(Sr.__proto__=zt,Zt(Sr,Rt,"GeneratorFunction")),Sr.prototype=Object.create(je),Sr},it.awrap=function(Sr){return{__await:Sr}},Qe(Oe.prototype),Zt(Oe.prototype,Wt,function(){return this}),it.AsyncIterator=Oe,it.async=function(Sr,Or,hr,$r,nn){nn===void 0&&(nn=Promise);var on=new Oe(Bt(Sr,Or,hr,$r),nn);return it.isGeneratorFunction(Or)?on:on.next().then(function(sr){return sr.done?sr.value:on.next()})},Qe(je),Zt(je,Rt,"Generator"),Zt(je,et,function(){return this}),Zt(je,"toString",function(){return"[object Generator]"}),it.keys=function(Sr){var Or=Object(Sr),hr=[];for(var $r in Or)hr.push($r);return hr.reverse(),function nn(){for(;hr.length;){var on=hr.pop();if(on in Or)return nn.value=on,nn.done=!1,nn}return nn.done=!0,nn}},it.values=Qr,Gr.prototype={constructor:Gr,reset:function(Or){if(this.prev=0,this.next=0,this.sent=this._sent=We,this.done=!1,this.delegate=null,this.method="next",this.arg=We,this.tryEntries.forEach(St),!Or)for(var hr in this)hr.charAt(0)==="t"&&Vt.call(this,hr)&&!isNaN(+hr.slice(1))&&(this[hr]=We)},stop:function(){this.done=!0;var Or=this.tryEntries[0].completion;if(Or.type==="throw")throw Or.arg;return this.rval},dispatchException:function(Or){if(this.done)throw Or;var hr=this;function $r(yt,Nt){return sr.type="throw",sr.arg=Or,hr.next=yt,Nt&&(hr.method="next",hr.arg=We),!!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=Vt.call(on,"catchLoc"),gt=Vt.call(on,"finallyLoc");if(Mt&>){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(!gt)throw new Error("try statement without catch or finally");if(this.prev<on.finallyLoc)return $r(on.finallyLoc)}}}},abrupt:function(Or,hr){for(var $r=this.tryEntries.length-1;$r>=0;--$r){var nn=this.tryEntries[$r];if(nn.tryLoc<=this.prev&&Vt.call(nn,"finallyLoc")&&this.prev<nn.finallyLoc){var on=nn;break}}on&&(Or==="break"||Or==="continue")&&on.tryLoc<=hr&&hr<=on.finallyLoc&&(on=null);var sr=on?on.completion:{};return sr.type=Or,sr.arg=hr,on?(this.method="next",this.next=on.finallyLoc,Ot):this.complete(sr)},complete:function(Or,hr){if(Or.type==="throw")throw Or.arg;return Or.type==="break"||Or.type==="continue"?this.next=Or.arg:Or.type==="return"?(this.rval=this.arg=Or.arg,this.method="return",this.next="end"):Or.type==="normal"&&hr&&(this.next=hr),Ot},finish:function(Or){for(var hr=this.tryEntries.length-1;hr>=0;--hr){var $r=this.tryEntries[hr];if($r.finallyLoc===Or)return this.complete($r.completion,$r.afterLoc),St($r),Ot}},catch:function(Or){for(var hr=this.tryEntries.length-1;hr>=0;--hr){var $r=this.tryEntries[hr];if($r.tryLoc===Or){var nn=$r.completion;if(nn.type==="throw"){var on=nn.arg;St($r)}return on}}throw new Error("illegal catch attempt")},delegateYield:function(Or,hr,$r){return this.delegate={iterator:Qr(Or),resultName:hr,nextLoc:$r},this.method==="next"&&(this.arg=We),Ot}},it}var ee=e(63579);function ie(We,it,ft,Vt,Ht,De,et){try{var Wt=We[De](et),Rt=Wt.value}catch(Zt){ft(Zt);return}Wt.done?it(Rt):Promise.resolve(Rt).then(Vt,Ht)}function F(We){return function(){var it=this,ft=arguments;return new Promise(function(Vt,Ht){var De=We.apply(it,ft);function et(Rt){ie(De,Vt,Ht,et,Wt,"next",Rt)}function Wt(Rt){ie(De,Vt,Ht,et,Wt,"throw",Rt)}et(void 0)})}}var L=e(99227);function Q(We,it){var ft=typeof Symbol!="undefined"&&We[Symbol.iterator]||We["@@iterator"];if(!ft){if(Array.isArray(We)||(ft=(0,L.Z)(We))||it&&We&&typeof We.length=="number"){ft&&(We=ft);var Vt=0,Ht=function(){};return{s:Ht,n:function(){return Vt>=We.length?{done:!0}:{done:!1,value:We[Vt++]}},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 De=!0,et=!1,Wt;return{s:function(){ft=ft.call(We)},n:function(){var Zt=ft.next();return De=Zt.done,Zt},e:function(Zt){et=!0,Wt=Zt},f:function(){try{!De&&ft.return!=null&&ft.return()}finally{if(et)throw Wt}}}}var de=e(73825);function we(We){if(typeof Symbol!="undefined"&&We[Symbol.iterator]!=null||We["@@iterator"]!=null)return Array.from(We)}var Pe=e(66160);function Ue(We){return(0,de.Z)(We)||we(We)||(0,L.Z)(We)||(0,Pe.Z)()}function Be(We,it){if(!(We instanceof it))throw new TypeError("Cannot call a class as a function")}var Ft=e(89878);function mt(We,it){for(var ft=0;ft<it.length;ft++){var Vt=it[ft];Vt.enumerable=Vt.enumerable||!1,Vt.configurable=!0,"value"in Vt&&(Vt.writable=!0),Object.defineProperty(We,(0,Ft.Z)(Vt.key),Vt)}}function Pt(We,it,ft){return it&&mt(We.prototype,it),ft&&mt(We,ft),Object.defineProperty(We,"prototype",{writable:!1}),We}var Qt=e(65873);function qt(We,it){if(!We)throw new Error(it)}function Jt(We){var it=We.fns,ft=We.args;if(it.length===1)return it[0];var Vt=it.pop();return it.reduce(function(Ht,De){return function(){return De(Ht,ft)}},Vt)}function Xe(We){return!!We&&(0,le.Z)(We)==="object"&&typeof We.then=="function"}var It=function(We){return We.compose="compose",We.modify="modify",We.event="event",We}({}),Ut=function(){function We(it){Be(this,We),(0,Qt.Z)(this,"opts",void 0),(0,Qt.Z)(this,"hooks",{}),this.opts=it}return Pt(We,[{key:"register",value:function(ft){var Vt=this;qt(ft.apply,"plugin register failed, apply must supplied"),Object.keys(ft.apply).forEach(function(Ht){qt(Vt.opts.validKeys.indexOf(Ht)>-1,"register failed, invalid key ".concat(Ht," ").concat(ft.path?"from plugin ".concat(ft.path):"",".")),Vt.hooks[Ht]=(Vt.hooks[Ht]||[]).concat(ft.apply[Ht])})}},{key:"getHooks",value:function(ft){var Vt=ft.split("."),Ht=Ue(Vt),De=Ht[0],et=Ht.slice(1),Wt=this.hooks[De]||[];return et.length&&(Wt=Wt.map(function(Rt){try{var Zt=Rt,Bt=Q(et),At;try{for(Bt.s();!(At=Bt.n()).done;){var Kt=At.value;Zt=Zt[Kt]}}catch(Ge){Bt.e(Ge)}finally{Bt.f()}return Zt}catch(Ge){return null}}).filter(Boolean)),Wt}},{key:"applyPlugins",value:function(ft){var Vt=ft.key,Ht=ft.type,De=ft.initialValue,et=ft.args,Wt=ft.async,Rt=this.getHooks(Vt)||[];switch(et&&qt((0,le.Z)(et)==="object","applyPlugins failed, args must be plain object."),Wt&&qt(Ht===It.modify||Ht===It.event,"async only works with modify and event type."),Ht){case It.modify:return Wt?Rt.reduce(function(){var Zt=F(ne().mark(function Bt(At,Kt){var Ge;return ne().wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(qt(typeof Kt=="function"||(0,le.Z)(Kt)==="object"||Xe(Kt),"applyPlugins failed, all hooks for key ".concat(Vt," 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(Ge=Kt(At,et),!Xe(Ge)){_e.next=13;break}return _e.next=10,Ge;case 10:return _e.abrupt("return",_e.sent);case 13:return _e.abrupt("return",Ge);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(De)?De:Promise.resolve(De)):Rt.reduce(function(Zt,Bt){return qt(typeof Bt=="function"||(0,le.Z)(Bt)==="object","applyPlugins failed, all hooks for key ".concat(Vt," must be function or plain object.")),typeof Bt=="function"?Bt(Zt,et):(0,ee.Z)((0,ee.Z)({},Zt),Bt)},De);case It.event:return F(ne().mark(function Zt(){var Bt,At,Kt,Ge;return ne().wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:Bt=Q(Rt),_e.prev=1,Bt.s();case 3:if((At=Bt.n()).done){_e.next=12;break}if(Kt=At.value,qt(typeof Kt=="function","applyPlugins failed, all hooks for key ".concat(Vt," must be function.")),Ge=Kt(et),!(Wt&&Xe(Ge))){_e.next=10;break}return _e.next=10,Ge;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 Jt({fns:Rt.concat(De),args:et})()}}}}],[{key:"create",value:function(ft){var Vt=new We({validKeys:ft.validKeys});return ft.plugins.forEach(function(Ht){Vt.register(Ht)}),Vt}}]),We}(),ut=e(37989);let bt=0,pt=0;function tt(We,it){}function ze(We){return JSON.stringify(We,null,2)}function ye(We){const it=We.length>1?We.map(Te).join(" "):We[0];return typeof it=="object"?`${ze(it)}`:it.toString()}function Te(We){return typeof We=="object"?`${JSON.stringify(We)}`:We.toString()}const Me={log(...We){ye(We)},info(...We){ye(We)},warn(...We){ye(We)},error(...We){ye(We)},group(){pt++},groupCollapsed(){pt++},groupEnd(){pt&&--pt},clear(){},trace(...We){console.trace(...We)},profile(...We){console.profile(...We)},profileEnd(...We){console.profileEnd(...We)}},$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,M=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(M)for(var k of M(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,L=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))L.call(O,k)&&Q(I,k,O[k]);return I},Pe={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}){}}},Ue=e(94941),Be=Object.defineProperty,Ft=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Qt=(I,O,k)=>O in I?Be(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,qt=(I,O)=>{for(var k in O||(O={}))mt.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(Ue.$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(Ue._U,I);return yield me({type:"save",payload:{NormalResult:Re}}),Re},*getUserExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.xA,I);return yield me({type:"save",payload:{userExerciseList:qt({},(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(Ue.J,I);return yield me({type:"save",payload:{exerciseIdentityPhotos:qt({},(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(Ue.iw,I);return yield me({type:"save",payload:{exerciseExportHeadData:qt({},Re)}}),Re},*getExerciseUserInfo({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.Ty,I);return(Re==null?void 0:Re.status)===0&&(yield me({type:"save",payload:qt({},{exerciseUserInfo:qt({},Re.data)})})),Re},*getExaminationIntelligentSettings({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.sA,I);return yield me({type:"save",payload:{examinationIntelligentSettings:qt({},Re)}}),Re},*getRandomEditExercises({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.yu,I);return yield me({type:"save",payload:{editRandomExercises:qt({},Re)}}),Re},*getExerciseList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.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:qt({},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(Ue._u,I);return yield me({type:"save",payload:{statisticsList:qt({},Re)}}),Re},*getBrankList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.n$,I);return yield me({type:"save",payload:{brankList:qt({},Re)}}),Re},*saveBanks({payload:I,callback:O},{call:k,put:me}){return yield k(Ue.lf,I)},*getExerciseCourses({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.N3,I);return yield me({type:"save",payload:{exerciseCoursesList:qt({},Re)}}),Re},*addExercise({payload:I,callback:O},{call:k,put:me}){return yield k(Ue.uR,I)},*editExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.qf,I);return yield me({type:"save",payload:{editData:qt({},Re)}}),Re},*getTagDiscipline({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.YY,I);return yield me({type:"save",payload:{tagDisciplineData:qt({},Re)}}),Re},*editExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(Ue.Di,I)},*addExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(Ue.MK,I)},*exeriseMoveUpDown({payload:I,callback:O},{call:k,put:me}){return yield k(Ue.GK,I)},*getEndGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.KE,I);return yield me({type:"save",payload:{endGroups:qt({},Re)}}),Re},*getPublishGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.ux,I);return yield me({type:"save",payload:{publishGroups:qt({},Re)}}),Re},*getCommonHeader({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.UK,I);return yield me({type:"save",payload:{commonHeader:qt({},Re)}}),Re},*getReviewExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.BJ,I);return yield me({type:"save",payload:{reviewExercise:qt({},Re)}}),Re},*postReviewExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.pu,I);return yield me({type:"save",payload:{reviewExercise:qt({},Re)}}),Re},*getCentralizeReviewExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.X4,I);return yield me({type:"save",payload:{reviewExercise:qt({},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(Ue.W4,I);return yield me({type:"save",payload:{reviewGroupExercise:qt({},Re)}}),Re},*getWorkSetting({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.Ul,I);return yield me({type:"save",payload:{workSetting:qt({},Re)}}),Re},*getRedoModal({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.tX,I);return yield me({type:"save",payload:{redoModal:qt({},Re)}}),Re},*getRedoListModal({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.s,I);return yield me({type:"save",payload:{redoModal:qt({},Re)}}),Re},*getCodeReviewDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Ue.Xn,I);return yield me({type:"save",payload:{codeReviewDetail:qt({},Re)}}),Re},*changeScore({payload:I,callback:O},{call:k,put:me}){return yield k(Ue.gG,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:qt({},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 qt(qt({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},It=e(89887),Ut=Object.defineProperty,ut=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,tt=(I,O,k)=>O in I?Ut(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,ze=(I,O)=>{for(var k in O||(O={}))bt.call(O,k)&&tt(I,k,O[k]);if(ut)for(var k of ut(O))pt.call(O,k)&&tt(I,k,O[k]);return I},Te={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:ze({},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:ze({},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:ze({},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:ze({},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:ze({},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:ze({},Re)}})},*editTopicDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It.hL,I);return yield me({type:"save",payload:{editTopicData:ze({},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:ze({},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:ze({},I)}})}},reducers:{save(I,O){return ze(ze({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Me=e(89392),$e=e(36708),We=Object.defineProperty,it=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,Ht=(I,O,k)=>O in I?We(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,De=(I,O)=>{for(var k in O||(O={}))ft.call(O,k)&&Ht(I,k,O[k]);if(it)for(var k of it(O))Vt.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:De({},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:De({},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:De({},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:De({},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:De({},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:De({},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:De({},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:De({},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:De({},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:De({},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:De({},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:De({},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:De({},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:De({},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:De({},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:De({},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:De({},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:De({},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:De({},Re)}}),Re},*getReplyList({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.PC,I);yield me({type:"save",payload:{replyList:De({},Re)}})},*getStudentWorkDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Hj,I);yield me({type:"save",payload:{studentWorkDetail:De({},Re)}})},*getStudentWorkSupplyDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.ub,I);yield me({type:"save",payload:{studentWorkSupplyDetail:De({},Re)}})},*getStudentWorkCommon({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.JA,I);yield me({type:"save",payload:{studentWorkCommon:De({},Re)}})},*getAllStudentWorks({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.ql,I);return yield me({type:"save",payload:{allStudentWorks:De({},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:De({},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:De({},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:De({},I)}})}},reducers:{save(I,O){return De(De({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Rt=e(92365),Zt=e(24065),Bt=Object.defineProperty,At=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,Ge=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))Ge.call(O,k)&&fe(I,k,O[k]);return I},Ie={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(Rt.gq,I)},*getAssistantPermissions({payload:I},{call:O,put:k}){if(!(0,Zt.eB)())return;const me=yield O(Rt.rS,I);yield k({type:"save",payload:{AssistantObject:me.permissions}})},*getAiStatusQuery({payload:I},{call:O,put:k}){const me=yield O(Rt.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(Rt.Z_,I)},*getUserPortraitConfig({payload:I},{call:O,put:k}){const me=yield O(Rt._0,I);return yield k({type:"save",payload:{userPortraitConfig:me.data}}),me},*updateUserPortraitConfig({payload:I},{call:O,put:k}){return yield O(Rt.r2,I)},*getClassroom({payload:I},{call:O,put:k}){const me=I,Re=yield O(Rt.V8,I);return yield k({type:"save",payload:_e({listParams:me},Re)}),Re},*getClassroomTopBanner({payload:I},{call:O,put:k}){const me=yield O(Rt.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(Rt.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(Rt.Nd,I);yield k({type:"save",payload:{detailShixunsList:_e({},me)}})},*getClassroomTeacherShixunsList({payload:I},{call:O,put:k}){const me=yield O(Rt.Gk,I);return yield k({type:"save",payload:{detailShixunsList:_e({},me)}}),me},*getClassroomCommonList({payload:I},{call:O,put:k}){const me=yield O(Rt.Nd,I);yield k({type:"save",payload:{detailCommonHomeworksList:_e({},me)}})},*getClassroomTeacherCommonList({payload:I},{call:O,put:k}){const me=yield O(Rt.Gk,I);return yield k({type:"save",payload:{detailCommonHomeworksList:_e({},me)}}),me},*getClassroomGraduationTopicsList({payload:I},{call:O,put:k}){const me=yield O(Rt.yV,I);yield k({type:"save",payload:{detailGraduationTopicsList:_e({},me)}})},*getClassroomGraduationTaskList({payload:I},{call:O,put:k}){const me=yield O(Rt.R2,I);yield k({type:"save",payload:{detailGraduationTaskList:_e({},me)}})},*getClassroomExercisesList({payload:I},{call:O,put:k}){const me=yield O(Rt.N7,I);yield k({type:"save",payload:{detailExerciseList:_e({},me)}})},*getClassroomPollsList({payload:I},{call:O,put:k}){const me=yield O(Rt.BR,I);yield k({type:"save",payload:{detailPollsList:_e({},me)}})},*getCourseGroups({payload:I},{call:O,put:k}){const me=yield O(Rt.qB,I);yield k({type:"save",payload:{courseGroups:_e({},me)}})},*getAllCourseGroup({payload:I},{call:O,put:k}){const me=yield O(Rt.c_,I);return yield k({type:"save",payload:{allCourseGroups:_e({},me)}}),me},*getClassroomCommonHomeworksList({payload:I},{call:O,put:k}){const me=yield O(Rt.Al,I);yield k({type:"save",payload:{detailCommonHomeworksList:_e({},me)}})},*getClassroomAttendancesList({payload:I},{call:O,put:k}){const me=yield O(Rt.Vw,I);yield k({type:"save",payload:{detailAttendancesList:_e({},me)}})},*getClassroomAttendancesStatistic({payload:I},{call:O,put:k}){const me=yield O(Rt.Ls,I);yield k({type:"save",payload:{detailAttendancesStatistic:_e({},me)}})},*getAttendanceDetail({payload:I},{call:O,put:k}){const me=yield O(Rt.zg,I);return yield k({type:"save",payload:{detailAttendancesDetail:_e({},me)}}),me},*getAnnouncementList({payload:I},{call:O,put:k}){const me=yield O(Rt.QZ,I);yield k({type:"save",payload:{detailAnnouncementList:_e({},me)}})},*getAttachmentList({payload:I},{call:O,put:k}){const me=yield O(Rt.KT,I);yield k({type:"save",payload:{detailAttachmentList:_e({},me.data)}})},*getCourseware({payload:I},{call:O,put:k}){const me=yield O(Rt.ZT,I);yield k({type:"save",payload:{detailCourseware:_e({},me.data)}})},*getVideoList({payload:I},{call:O,put:k}){const me=yield O(Rt.O3,I);yield k({type:"save",payload:{detailVideoList:_e({},me)}})},*getLiveVideoList({payload:I},{call:O,put:k}){const me=yield O(Rt.DJ,I);yield k({type:"save",payload:{detailLiveVideoList:_e({},me)}})},*getCoursesMine({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Rt.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(Rt.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(Rt.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(Rt.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(Rt.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(Rt.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(Rt.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(Rt.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(Rt._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(Rt.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(Rt.W7,I);return yield me({type:"save",payload:{coursesLists:_e({},Re)}}),Re},*createCoursesHomework({payload:I,callback:O},{call:k,put:me}){return yield k(Rt.Ds,I)},*createShixunHomework({payload:I,callback:O},{call:k,put:me}){return yield k(Rt.aQ,I)},*createExperiment({payload:I,callback:O},{call:k,put:me}){return yield k(Rt.BQ,I)},*getSchoolList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Rt.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(Rt.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(Rt.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(Rt.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"})})}}},ht=Object.defineProperty,zt=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,wt=(I,O,k)=>O in I?ht(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,je=(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},Oe={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:I},{call:O,put:k}){const me=yield O(Rt.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(Rt.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(Rt.Bn,I)},*appplySchool({payload:I},{call:O,put:k}){return yield O(Rt.bz,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:je({},I)}})},*joincoursegroup({payload:I},{call:O,put:k}){return yield O(Rt.WK,I)}},reducers:{save(I,O){return je(je({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},kt=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Gr=(I,O,k)=>O in I?kt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Qr=(I,O)=>{for(var k in O||(O={}))Dr.call(O,k)&&Gr(I,k,O[k]);if(Fe)for(var k of Fe(O))St.call(O,k)&&Gr(I,k,O[k]);return I},Or={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:I},{call:O,put:k}){const me=yield O(Rt.Dd,I);yield k({type:"save",payload:{CourseUseInfos:me}})},*getRankList({payload:I},{call:O,put:k}){const me=yield O(Rt.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(Rt.Gz,I);yield k({type:"save",payload:{SBody:me}})},*getStatisticsHeader({payload:I},{call:O,put:k}){const me=yield O(Rt.Hl,I);yield k({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return Qr(Qr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},hr=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,gt=(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(hr.s3,I);return yield me({type:"save",payload:{pollsList:gt({},Re)}}),Re},*getCommonHeader({payload:I,callback:O},{call:k,put:me}){const Re=yield k(hr.UK,I);return yield me({type:"save",payload:{commonHeader:gt({},Re)}}),Re},*getPollsStatistics({payload:I,callback:O},{call:k,put:me}){const Re=yield k(hr.Qn,I);return yield me({type:"save",payload:{statisticsList:gt({},Re)}}),Re},*getBrankList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(hr.n$,I);return yield me({type:"save",payload:{brankList:gt({},Re)}}),Re},*saveBanks({payload:I,callback:O},{call:k,put:me}){return yield k(hr.lf,I)},*getPollsCourses({payload:I,callback:O},{call:k,put:me}){const Re=yield k(hr.Q9,I);return yield me({type:"save",payload:{pollsCoursesList:gt({},Re)}}),Re},*getPollsSetting({payload:I,callback:O},{call:k,put:me}){const Re=yield k(hr.Hi,I);return yield me({type:"save",payload:{pollSetting:gt({},Re)}}),Re},*editPolls({payload:I,callback:O},{call:k,put:me}){const Re=yield k(hr.Ye,I);return yield me({type:"save",payload:{editData:gt({},JSON.parse(JSON.stringify(Re)))}}),Re},*getEndGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k(hr.KE,I);return yield me({type:"save",payload:{endGroups:gt({},Re)}}),Re},*getPublishGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k(hr.ux,I);return yield me({type:"save",payload:{publishGroups:gt({},Re)}}),Re},*getExerciseBanks({payload:I,callback:O},{call:k,put:me}){const Re=yield k(hr.kp,I);return yield me({type:"save",payload:{exerciseBanks:gt({},Re)}}),Re},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:gt({},I)}})}},reducers:{save(I,O){return gt(gt({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Cr=e(43859),vr=Object.defineProperty,lt=Object.getOwnPropertySymbols,Lr=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={}))Lr.call(O,k)&&Un(I,k,O[k]);if(lt)for(var k of lt(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,ct=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={}))ct.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,vt=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,_t=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={}))_t.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)=>vt(I,nt(O)),rt={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"})})}}},xe=Object.defineProperty,st=Object.getOwnPropertySymbols,nr=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable,br=(I,O,k)=>O in I?xe(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(st)for(var k of st(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,dt=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,dt(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)})}),Lt=I=>Na(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:ha({},I)})}),Gt=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,Rr=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(Rr)for(var k of Rr(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(Lt,I);yield k({type:"save",payload:{UserComments:me}})},*getInfoShow({payload:I},{call:O,put:k}){const{data:me}=yield O(Gt,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,Ae=(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)&&Ae(I,k,O[k]);if(ys)for(var k of ys(O))be.call(O,k)&&Ae(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(Ue.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;return 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}}),rn},*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)}}},Ke=Object.defineProperty,Z=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,pe=(I,O,k)=>O in I?Ke(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ce=(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:Ce({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:Ce({},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 Ce(Ce({},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:Pe},model_5:{namespace:"classrooms.exercise",model:Xe},model_6:{namespace:"classrooms.graduation",model:Te},model_7:{namespace:"classrooms.homeworks",model:Wt},model_8:{namespace:"classrooms.index",model:Ie},model_9:{namespace:"classrooms.new",model:Oe},model_10:{namespace:"classrooms.overview",model:Or},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:rt},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 _t},lw:function(){return vt},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(He){return He.displayName||He.name||"Component"}const o=r.createContext(null),{Consumer:h,Provider:u}=o,a=u,x=null;function p(He,rt){const{intlPropName:xe="intl",forwardRef:st=!1,enforceContext:nr=!0}=rt||{},Pr=br=>React.createElement(h,null,Ir=>(nr&&invariantIntlContext(Ir),React.createElement(He,Object.assign({},br,{[xe]:Ir},{ref:st?br.forwardedRef:null}))));return Pr.displayName=`injectIntl(${f(He)})`,Pr.WrappedComponent=He,c(st?React.forwardRef((br,Ir)=>React.createElement(Pr,Object.assign({},br,{forwardedRef:Ir}))):Pr,He)}var y;(function(He){He[He.literal=0]="literal",He[He.argument=1]="argument",He[He.number=2]="number",He[He.date=3]="date",He[He.time=4]="time",He[He.select=5]="select",He[He.plural=6]="plural",He[He.pound=7]="pound"})(y||(y={}));function _(He){return He.type===y.literal}function b(He){return He.type===y.argument}function A(He){return He.type===y.number}function R(He){return He.type===y.date}function M(He){return He.type===y.time}function P(He){return He.type===y.select}function D(He){return He.type===y.plural}function B(He){return He.type===y.pound}function $(He){return!!(He&&typeof He=="object"&&He.type===0)}function j(He){return!!(He&&typeof He=="object"&&He.type===1)}function K(He){return{type:y.literal,value:He}}function V(He,rt){return{type:y.number,value:He,style:rt}}var W=function(){var He=function(rt,xe){return He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(st,nr){st.__proto__=nr}||function(st,nr){for(var Pr in nr)nr.hasOwnProperty(Pr)&&(st[Pr]=nr[Pr])},He(rt,xe)};return function(rt,xe){He(rt,xe);function st(){this.constructor=rt}rt.prototype=xe===null?Object.create(xe):(st.prototype=xe.prototype,new st)}}(),oe=function(){return oe=Object.assign||function(He){for(var rt,xe=1,st=arguments.length;xe<st;xe++){rt=arguments[xe];for(var nr in rt)Object.prototype.hasOwnProperty.call(rt,nr)&&(He[nr]=rt[nr])}return He},oe.apply(this,arguments)},ae=function(He){W(rt,He);function rt(xe,st,nr,Pr){var br=He.call(this)||this;return br.message=xe,br.expected=st,br.found=nr,br.location=Pr,br.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(br,rt),br}return rt.buildMessage=function(xe,st){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(xe)+" but "+mn(st)+" found."},rt}(Error);function ce(He,rt){rt=rt!==void 0?rt:{};var xe={},st={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,Ae){return{stem:be,options:Ae}},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,Ae,wr){return oe({type:Ae==="number"?y.number:Ae==="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,Ae,wr,Xr){return oe({type:y.plural,pluralType:Ae==="plural"?"cardinal":"ordinal",value:be,offset:wr?wr[2]:0,options:Xr.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,Ae){return oe({type:y.select,value:be,options:Ae.reduce(function(wr,Xr){var gr=Xr.id,Yr=Xr.value,Sn=Xr.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,Ae){return na.pop(),oe({id:be,value:Ae},Hi())},cs=function(be){return na.push("plural"),!0},Io=function(be,Ae){return na.pop(),oe({id:be,value:Ae},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,Ae){return Ae?be?-Ae:Ae:0},Mo=ha("apostrophe"),wo=ha("double apostrophes"),Rs="''",Ds=ui("''",!1),hu=function(){return"'"},Cu=function(be,Ae){return be+Ae.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),Mr=/^[0-9]/,yr=$s([["0","9"]],!1,!1),fn=function(be){return parseInt(be.join(""),10)},zn=ha("argName"),dt=0,Cn=0,Hn=[{line:1,column:1}],oi=0,zi=[],Nr=0,Hr;if(rt.startRule!==void 0){if(!(rt.startRule in st))throw new Error(`Can't start parsing from rule "`+rt.startRule+'".');nr=st[rt.startRule]}function da(){return He.substring(Cn,dt)}function Ti(){return ps(Cn,dt)}function ra(be,Ae){throw Ae=Ae!==void 0?Ae:ps(Cn,dt),Ms([ha(be)],He.substring(Cn,dt),Ae)}function Ts(be,Ae){throw Ae=Ae!==void 0?Ae:ps(Cn,dt),Ls(be,Ae)}function ui(be,Ae){return{type:"literal",text:be,ignoreCase:Ae}}function $s(be,Ae,wr){return{type:"class",parts:be,inverted:Ae,ignoreCase:wr}}function Fo(){return{type:"any"}}function Os(){return{type:"end"}}function ha(be){return{type:"other",description:be}}function Na(be){var Ae=Hn[be],wr;if(Ae)return Ae;for(wr=be-1;!Hn[wr];)wr--;for(Ae=Hn[wr],Ae={line:Ae.line,column:Ae.column};wr<be;)He.charCodeAt(wr)===10?(Ae.line++,Ae.column=1):Ae.column++,wr++;return Hn[be]=Ae,Ae}function ps(be,Ae){var wr=Na(be),Xr=Na(Ae);return{start:{offset:be,line:wr.line,column:wr.column},end:{offset:Ae,line:Xr.line,column:Xr.column}}}function Ln(be){dt<oi||(dt>oi&&(oi=dt,zi=[]),zi.push(be))}function Ls(be,Ae){return new ae(be,[],"",Ae)}function Ms(be,Ae,wr){return new ae(ae.buildMessage(be,Ae),be,Ae,wr)}function Ye(){var be;return be=qe(),be}function qe(){var be,Ae;for(be=[],Ae=Lt();Ae!==xe;)be.push(Ae),Ae=Lt();return be}function Lt(){var be;return be=dr(),be===xe&&(be=jr(),be===xe&&(be=Pi(),be===xe&&(be=pi(),be===xe&&(be=ua(),be===xe&&(be=Rr()))))),be}function Gt(){var be,Ae,wr;if(be=dt,Ae=[],wr=Va(),wr===xe&&(wr=io(),wr===xe&&(wr=Ya())),wr!==xe)for(;wr!==xe;)Ae.push(wr),wr=Va(),wr===xe&&(wr=io(),wr===xe&&(wr=Ya()));else Ae=xe;return Ae!==xe&&(Cn=be,Ae=Pr(Ae)),be=Ae,be}function dr(){var be,Ae;return be=dt,Ae=Gt(),Ae!==xe&&(Cn=be,Ae=br(Ae)),be=Ae,be}function Rr(){var be,Ae;return be=dt,He.charCodeAt(dt)===35?(Ae=Ir,dt++):(Ae=xe,Nr===0&&Ln(Br)),Ae!==xe&&(Cn=be,Ae=mn()),be=Ae,be}function jr(){var be,Ae,wr,Xr,gr,Yr;return Nr++,be=dt,He.charCodeAt(dt)===123?(Ae=un,dt++):(Ae=xe,Nr===0&&Ln(tn)),Ae!==xe?(wr=Ii(),wr!==xe?(Xr=La(),Xr!==xe?(gr=Ii(),gr!==xe?(He.charCodeAt(dt)===125?(Yr=sn,dt++):(Yr=xe,Nr===0&&Ln(wn)),Yr!==xe?(Cn=be,Ae=fa(Xr),be=Ae):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe),Nr--,be===xe&&(Ae=xe,Nr===0&&Ln(Er)),be}function pn(){var be,Ae,wr,Xr,gr;if(Nr++,be=dt,Ae=[],wr=dt,Xr=dt,Nr++,gr=Oa(),gr===xe&&(fi.test(He.charAt(dt))?(gr=He.charAt(dt),dt++):(gr=xe,Nr===0&&Ln(hn))),Nr--,gr===xe?Xr=void 0:(dt=Xr,Xr=xe),Xr!==xe?(He.length>dt?(gr=He.charAt(dt),dt++):(gr=xe,Nr===0&&Ln(ai)),gr!==xe?(Xr=[Xr,gr],wr=Xr):(dt=wr,wr=xe)):(dt=wr,wr=xe),wr!==xe)for(;wr!==xe;)Ae.push(wr),wr=dt,Xr=dt,Nr++,gr=Oa(),gr===xe&&(fi.test(He.charAt(dt))?(gr=He.charAt(dt),dt++):(gr=xe,Nr===0&&Ln(hn))),Nr--,gr===xe?Xr=void 0:(dt=Xr,Xr=xe),Xr!==xe?(He.length>dt?(gr=He.charAt(dt),dt++):(gr=xe,Nr===0&&Ln(ai)),gr!==xe?(Xr=[Xr,gr],wr=Xr):(dt=wr,wr=xe)):(dt=wr,wr=xe);else Ae=xe;return Ae!==xe?be=He.substring(be,dt):be=Ae,Nr--,be===xe&&(Ae=xe,Nr===0&&Ln(Ci)),be}function en(){var be,Ae,wr;return Nr++,be=dt,He.charCodeAt(dt)===47?(Ae=sa,dt++):(Ae=xe,Nr===0&&Ln(Es)),Ae!==xe?(wr=pn(),wr!==xe?(Cn=be,Ae=oa(wr),be=Ae):(dt=be,be=xe)):(dt=be,be=xe),Nr--,be===xe&&(Ae=xe,Nr===0&&Ln(Mi)),be}function gn(){var be,Ae,wr,Xr,gr;if(Nr++,be=dt,Ae=Ii(),Ae!==xe)if(wr=pn(),wr!==xe){for(Xr=[],gr=en();gr!==xe;)Xr.push(gr),gr=en();Xr!==xe?(Cn=be,Ae=ws(wr,Xr),be=Ae):(dt=be,be=xe)}else dt=be,be=xe;else dt=be,be=xe;return Nr--,be===xe&&(Ae=xe,Nr===0&&Ln(ds)),be}function Wn(){var be,Ae,wr;if(be=dt,Ae=[],wr=gn(),wr!==xe)for(;wr!==xe;)Ae.push(wr),wr=gn();else Ae=xe;return Ae!==xe&&(Cn=be,Ae=ka(Ae)),be=Ae,be}function ti(){var be,Ae,wr;return be=dt,He.substr(dt,2)===gs?(Ae=gs,dt+=2):(Ae=xe,Nr===0&&Ln(Zn)),Ae!==xe?(wr=Wn(),wr!==xe?(Cn=be,Ae=qa(wr),be=Ae):(dt=be,be=xe)):(dt=be,be=xe),be===xe&&(be=dt,Cn=dt,Ae=Ha(),Ae?Ae=void 0:Ae=xe,Ae!==xe?(wr=Gt(),wr!==xe?(Cn=be,Ae=Ss(wr),be=Ae):(dt=be,be=xe)):(dt=be,be=xe)),be}function gi(){var be,Ae,wr,Xr,gr,Yr,Sn,ei,Oi,In,Tn,Fn,la;return be=dt,He.charCodeAt(dt)===123?(Ae=un,dt++):(Ae=xe,Nr===0&&Ln(tn)),Ae!==xe?(wr=Ii(),wr!==xe?(Xr=La(),Xr!==xe?(gr=Ii(),gr!==xe?(He.charCodeAt(dt)===44?(Yr=Bi,dt++):(Yr=xe,Nr===0&&Ln(hs)),Yr!==xe?(Sn=Ii(),Sn!==xe?(He.substr(dt,6)===Ao?(ei=Ao,dt+=6):(ei=xe,Nr===0&&Ln(Pa)),ei!==xe?(Oi=Ii(),Oi!==xe?(In=dt,He.charCodeAt(dt)===44?(Tn=Bi,dt++):(Tn=xe,Nr===0&&Ln(hs)),Tn!==xe?(Fn=Ii(),Fn!==xe?(la=ti(),la!==xe?(Tn=[Tn,Fn,la],In=Tn):(dt=In,In=xe)):(dt=In,In=xe)):(dt=In,In=xe),In===xe&&(In=null),In!==xe?(Tn=Ii(),Tn!==xe?(He.charCodeAt(dt)===125?(Fn=sn,dt++):(Fn=xe,Nr===0&&Ln(wn)),Fn!==xe?(Cn=be,Ae=ta(Xr,ei,In),be=Ae):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe),be}function wi(){var be,Ae,wr,Xr;if(be=dt,He.charCodeAt(dt)===39?(Ae=Ma,dt++):(Ae=xe,Nr===0&&Ln(Hs)),Ae!==xe){if(wr=[],Xr=Va(),Xr===xe&&(On.test(He.charAt(dt))?(Xr=He.charAt(dt),dt++):(Xr=xe,Nr===0&&Ln(Ra))),Xr!==xe)for(;Xr!==xe;)wr.push(Xr),Xr=Va(),Xr===xe&&(On.test(He.charAt(dt))?(Xr=He.charAt(dt),dt++):(Xr=xe,Nr===0&&Ln(Ra)));else wr=xe;wr!==xe?(He.charCodeAt(dt)===39?(Xr=Ma,dt++):(Xr=xe,Nr===0&&Ln(Hs)),Xr!==xe?(Ae=[Ae,wr,Xr],be=Ae):(dt=be,be=xe)):(dt=be,be=xe)}else dt=be,be=xe;if(be===xe)if(be=[],Ae=Va(),Ae===xe&&(is.test(He.charAt(dt))?(Ae=He.charAt(dt),dt++):(Ae=xe,Nr===0&&Ln(as))),Ae!==xe)for(;Ae!==xe;)be.push(Ae),Ae=Va(),Ae===xe&&(is.test(He.charAt(dt))?(Ae=He.charAt(dt),dt++):(Ae=xe,Nr===0&&Ln(as)));else be=xe;return be}function Ni(){var be,Ae;if(be=[],Li.test(He.charAt(dt))?(Ae=He.charAt(dt),dt++):(Ae=xe,Nr===0&&Ln(Da)),Ae!==xe)for(;Ae!==xe;)be.push(Ae),Li.test(He.charAt(dt))?(Ae=He.charAt(dt),dt++):(Ae=xe,Nr===0&&Ln(Da));else be=xe;return be}function Fi(){var be,Ae,wr,Xr;if(be=dt,Ae=dt,wr=[],Xr=wi(),Xr===xe&&(Xr=Ni()),Xr!==xe)for(;Xr!==xe;)wr.push(Xr),Xr=wi(),Xr===xe&&(Xr=Ni());else wr=xe;return wr!==xe?Ae=He.substring(Ae,dt):Ae=wr,Ae!==xe&&(Cn=be,Ae=Ca(Ae)),be=Ae,be}function yi(){var be,Ae,wr;return be=dt,He.substr(dt,2)===gs?(Ae=gs,dt+=2):(Ae=xe,Nr===0&&Ln(Zn)),Ae!==xe?(wr=Fi(),wr!==xe?(Cn=be,Ae=qa(wr),be=Ae):(dt=be,be=xe)):(dt=be,be=xe),be===xe&&(be=dt,Cn=dt,Ae=ls(),Ae?Ae=void 0:Ae=xe,Ae!==xe?(wr=Gt(),wr!==xe?(Cn=be,Ae=Ss(wr),be=Ae):(dt=be,be=xe)):(dt=be,be=xe)),be}function pa(){var be,Ae,wr,Xr,gr,Yr,Sn,ei,Oi,In,Tn,Fn,la;return be=dt,He.charCodeAt(dt)===123?(Ae=un,dt++):(Ae=xe,Nr===0&&Ln(tn)),Ae!==xe?(wr=Ii(),wr!==xe?(Xr=La(),Xr!==xe?(gr=Ii(),gr!==xe?(He.charCodeAt(dt)===44?(Yr=Bi,dt++):(Yr=xe,Nr===0&&Ln(hs)),Yr!==xe?(Sn=Ii(),Sn!==xe?(He.substr(dt,4)===Ws?(ei=Ws,dt+=4):(ei=xe,Nr===0&&Ln(bo)),ei===xe&&(He.substr(dt,4)===Co?(ei=Co,dt+=4):(ei=xe,Nr===0&&Ln(To))),ei!==xe?(Oi=Ii(),Oi!==xe?(In=dt,He.charCodeAt(dt)===44?(Tn=Bi,dt++):(Tn=xe,Nr===0&&Ln(hs)),Tn!==xe?(Fn=Ii(),Fn!==xe?(la=yi(),la!==xe?(Tn=[Tn,Fn,la],In=Tn):(dt=In,In=xe)):(dt=In,In=xe)):(dt=In,In=xe),In===xe&&(In=null),In!==xe?(Tn=Ii(),Tn!==xe?(He.charCodeAt(dt)===125?(Fn=sn,dt++):(Fn=xe,Nr===0&&Ln(wn)),Fn!==xe?(Cn=be,Ae=ta(Xr,ei,In),be=Ae):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe),be}function Pi(){var be;return be=gi(),be===xe&&(be=pa()),be}function pi(){var be,Ae,wr,Xr,gr,Yr,Sn,ei,Oi,In,Tn,Fn,la,$i,po,Qs;if(be=dt,He.charCodeAt(dt)===123?(Ae=un,dt++):(Ae=xe,Nr===0&&Ln(tn)),Ae!==xe)if(wr=Ii(),wr!==xe)if(Xr=La(),Xr!==xe)if(gr=Ii(),gr!==xe)if(He.charCodeAt(dt)===44?(Yr=Bi,dt++):(Yr=xe,Nr===0&&Ln(hs)),Yr!==xe)if(Sn=Ii(),Sn!==xe)if(He.substr(dt,6)===ga?(ei=ga,dt+=6):(ei=xe,Nr===0&&Ln(Ka)),ei===xe&&(He.substr(dt,13)===uo?(ei=uo,dt+=13):(ei=xe,Nr===0&&Ln(ho))),ei!==xe)if(Oi=Ii(),Oi!==xe)if(He.charCodeAt(dt)===44?(In=Bi,dt++):(In=xe,Nr===0&&Ln(hs)),In!==xe)if(Tn=Ii(),Tn!==xe)if(Fn=dt,He.substr(dt,7)===Po?(la=Po,dt+=7):(la=xe,Nr===0&&Ln(xo)),la!==xe?($i=Ii(),$i!==xe?(po=ya(),po!==xe?(la=[la,$i,po],Fn=la):(dt=Fn,Fn=xe)):(dt=Fn,Fn=xe)):(dt=Fn,Fn=xe),Fn===xe&&(Fn=null),Fn!==xe)if(la=Ii(),la!==xe){if($i=[],po=Zi(),po!==xe)for(;po!==xe;)$i.push(po),po=Zi();else $i=xe;$i!==xe?(po=Ii(),po!==xe?(He.charCodeAt(dt)===125?(Qs=sn,dt++):(Qs=xe,Nr===0&&Ln(wn)),Qs!==xe?(Cn=be,Ae=li(Xr,ei,Fn,$i),be=Ae):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)}else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;return be}function ua(){var be,Ae,wr,Xr,gr,Yr,Sn,ei,Oi,In,Tn,Fn,la,$i;if(be=dt,He.charCodeAt(dt)===123?(Ae=un,dt++):(Ae=xe,Nr===0&&Ln(tn)),Ae!==xe)if(wr=Ii(),wr!==xe)if(Xr=La(),Xr!==xe)if(gr=Ii(),gr!==xe)if(He.charCodeAt(dt)===44?(Yr=Bi,dt++):(Yr=xe,Nr===0&&Ln(hs)),Yr!==xe)if(Sn=Ii(),Sn!==xe)if(He.substr(dt,6)===si?(ei=si,dt+=6):(ei=xe,Nr===0&&Ln(Fa)),ei!==xe)if(Oi=Ii(),Oi!==xe)if(He.charCodeAt(dt)===44?(In=Bi,dt++):(In=xe,Nr===0&&Ln(hs)),In!==xe)if(Tn=Ii(),Tn!==xe){if(Fn=[],la=_s(),la!==xe)for(;la!==xe;)Fn.push(la),la=_s();else Fn=xe;Fn!==xe?(la=Ii(),la!==xe?(He.charCodeAt(dt)===125?($i=sn,dt++):($i=xe,Nr===0&&Ln(wn)),$i!==xe?(Cn=be,Ae=Wa(Xr,Fn),be=Ae):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)}else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;else dt=be,be=xe;return be}function Ys(){var be,Ae,wr,Xr;return be=dt,Ae=dt,He.charCodeAt(dt)===61?(wr=Ga,dt++):(wr=xe,Nr===0&&Ln(Gs)),wr!==xe?(Xr=ya(),Xr!==xe?(wr=[wr,Xr],Ae=wr):(dt=Ae,Ae=xe)):(dt=Ae,Ae=xe),Ae!==xe?be=He.substring(be,dt):be=Ae,be===xe&&(be=js()),be}function _s(){var be,Ae,wr,Xr,gr,Yr,Sn,ei;return be=dt,Ae=Ii(),Ae!==xe?(wr=js(),wr!==xe?(Xr=Ii(),Xr!==xe?(He.charCodeAt(dt)===123?(gr=un,dt++):(gr=xe,Nr===0&&Ln(tn)),gr!==xe?(Cn=dt,Yr=Vs(wr),Yr?Yr=void 0:Yr=xe,Yr!==xe?(Sn=qe(),Sn!==xe?(He.charCodeAt(dt)===125?(ei=sn,dt++):(ei=xe,Nr===0&&Ln(wn)),ei!==xe?(Cn=be,Ae=Yo(wr,Sn),be=Ae):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe),be}function Zi(){var be,Ae,wr,Xr,gr,Yr,Sn,ei;return be=dt,Ae=Ii(),Ae!==xe?(wr=Ys(),wr!==xe?(Xr=Ii(),Xr!==xe?(He.charCodeAt(dt)===123?(gr=un,dt++):(gr=xe,Nr===0&&Ln(tn)),gr!==xe?(Cn=dt,Yr=cs(wr),Yr?Yr=void 0:Yr=xe,Yr!==xe?(Sn=qe(),Sn!==xe?(He.charCodeAt(dt)===125?(ei=sn,dt++):(ei=xe,Nr===0&&Ln(wn)),ei!==xe?(Cn=be,Ae=Io(wr,Sn),be=Ae):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe)):(dt=be,be=xe),be}function Oa(){var be,Ae;return Nr++,jo.test(He.charAt(dt))?(be=He.charAt(dt),dt++):(be=xe,Nr===0&&Ln(Au)),Nr--,be===xe&&(Ae=xe,Nr===0&&Ln(Do)),be}function qi(){var be,Ae;return Nr++,lo.test(He.charAt(dt))?(be=He.charAt(dt),dt++):(be=xe,Nr===0&&Ln(Ks)),Nr--,be===xe&&(Ae=xe,Nr===0&&Ln(Eo)),be}function Ii(){var be,Ae,wr;for(Nr++,be=dt,Ae=[],wr=Oa();wr!==xe;)Ae.push(wr),wr=Oa();return Ae!==xe?be=He.substring(be,dt):be=Ae,Nr--,be===xe&&(Ae=xe,Nr===0&&Ln(Mu)),be}function ya(){var be,Ae,wr;return Nr++,be=dt,He.charCodeAt(dt)===45?(Ae=ko,dt++):(Ae=xe,Nr===0&&Ln(Ns)),Ae===xe&&(Ae=null),Ae!==xe?(wr=Xs(),wr!==xe?(Cn=be,Ae=du(Ae,wr),be=Ae):(dt=be,be=xe)):(dt=be,be=xe),Nr--,be===xe&&(Ae=xe,Nr===0&&Ln(Oo)),be}function $a(){var be,Ae;return Nr++,He.charCodeAt(dt)===39?(be=Ma,dt++):(be=xe,Nr===0&&Ln(Hs)),Nr--,be===xe&&(Ae=xe,Nr===0&&Ln(Mo)),be}function Va(){var be,Ae;return Nr++,be=dt,He.substr(dt,2)===Rs?(Ae=Rs,dt+=2):(Ae=xe,Nr===0&&Ln(Ds)),Ae!==xe&&(Cn=be,Ae=hu()),be=Ae,Nr--,be===xe&&(Ae=xe,Nr===0&&Ln(wo)),be}function io(){var be,Ae,wr,Xr,gr,Yr;if(be=dt,He.charCodeAt(dt)===39?(Ae=Ma,dt++):(Ae=xe,Nr===0&&Ln(Hs)),Ae!==xe)if(wr=co(),wr!==xe){for(Xr=dt,gr=[],He.substr(dt,2)===Rs?(Yr=Rs,dt+=2):(Yr=xe,Nr===0&&Ln(Ds)),Yr===xe&&(On.test(He.charAt(dt))?(Yr=He.charAt(dt),dt++):(Yr=xe,Nr===0&&Ln(Ra)));Yr!==xe;)gr.push(Yr),He.substr(dt,2)===Rs?(Yr=Rs,dt+=2):(Yr=xe,Nr===0&&Ln(Ds)),Yr===xe&&(On.test(He.charAt(dt))?(Yr=He.charAt(dt),dt++):(Yr=xe,Nr===0&&Ln(Ra)));gr!==xe?Xr=He.substring(Xr,dt):Xr=gr,Xr!==xe?(He.charCodeAt(dt)===39?(gr=Ma,dt++):(gr=xe,Nr===0&&Ln(Hs)),gr===xe&&(gr=null),gr!==xe?(Cn=be,Ae=Cu(wr,Xr),be=Ae):(dt=be,be=xe)):(dt=be,be=xe)}else dt=be,be=xe;else dt=be,be=xe;return be}function Ya(){var be,Ae,wr,Xr;return be=dt,Ae=dt,He.length>dt?(wr=He.charAt(dt),dt++):(wr=xe,Nr===0&&Ln(ai)),wr!==xe?(Cn=dt,Xr=Xt(wr),Xr?Xr=void 0:Xr=xe,Xr!==xe?(wr=[wr,Xr],Ae=wr):(dt=Ae,Ae=xe)):(dt=Ae,Ae=xe),Ae===xe&&(He.charCodeAt(dt)===10?(Ae=fr,dt++):(Ae=xe,Nr===0&&Ln(ar))),Ae!==xe?be=He.substring(be,dt):be=Ae,be}function co(){var be,Ae,wr,Xr;return be=dt,Ae=dt,He.length>dt?(wr=He.charAt(dt),dt++):(wr=xe,Nr===0&&Ln(ai)),wr!==xe?(Cn=dt,Xr=mr(wr),Xr?Xr=void 0:Xr=xe,Xr!==xe?(wr=[wr,Xr],Ae=wr):(dt=Ae,Ae=xe)):(dt=Ae,Ae=xe),Ae!==xe?be=He.substring(be,dt):be=Ae,be}function La(){var be,Ae;return Nr++,be=dt,Ae=Xs(),Ae===xe&&(Ae=js()),Ae!==xe?be=He.substring(be,dt):be=Ae,Nr--,be===xe&&(Ae=xe,Nr===0&&Ln(xr)),be}function Xs(){var be,Ae,wr,Xr,gr;if(Nr++,be=dt,He.charCodeAt(dt)===48?(Ae=xn,dt++):(Ae=xe,Nr===0&&Ln($n)),Ae!==xe&&(Cn=be,Ae=kn()),be=Ae,be===xe){if(be=dt,Ae=dt,Yn.test(He.charAt(dt))?(wr=He.charAt(dt),dt++):(wr=xe,Nr===0&&Ln(or)),wr!==xe){for(Xr=[],Mr.test(He.charAt(dt))?(gr=He.charAt(dt),dt++):(gr=xe,Nr===0&&Ln(yr));gr!==xe;)Xr.push(gr),Mr.test(He.charAt(dt))?(gr=He.charAt(dt),dt++):(gr=xe,Nr===0&&Ln(yr));Xr!==xe?(wr=[wr,Xr],Ae=wr):(dt=Ae,Ae=xe)}else dt=Ae,Ae=xe;Ae!==xe&&(Cn=be,Ae=fn(Ae)),be=Ae}return Nr--,be===xe&&(Ae=xe,Nr===0&&Ln(vn)),be}function js(){var be,Ae,wr,Xr,gr;if(Nr++,be=dt,Ae=[],wr=dt,Xr=dt,Nr++,gr=Oa(),gr===xe&&(gr=qi()),Nr--,gr===xe?Xr=void 0:(dt=Xr,Xr=xe),Xr!==xe?(He.length>dt?(gr=He.charAt(dt),dt++):(gr=xe,Nr===0&&Ln(ai)),gr!==xe?(Xr=[Xr,gr],wr=Xr):(dt=wr,wr=xe)):(dt=wr,wr=xe),wr!==xe)for(;wr!==xe;)Ae.push(wr),wr=dt,Xr=dt,Nr++,gr=Oa(),gr===xe&&(gr=qi()),Nr--,gr===xe?Xr=void 0:(dt=Xr,Xr=xe),Xr!==xe?(He.length>dt?(gr=He.charAt(dt),dt++):(gr=xe,Nr===0&&Ln(ai)),gr!==xe?(Xr=[Xr,gr],wr=Xr):(dt=wr,wr=xe)):(dt=wr,wr=xe);else Ae=xe;return Ae!==xe?be=He.substring(be,dt):be=Ae,Nr--,be===xe&&(Ae=xe,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 rt&&rt.captureLocation?{location:Ti()}:{}}if(Hr=nr(),Hr!==xe&&dt===He.length)return Hr;throw Hr!==xe&&dt<He.length&&Ln(Os()),Ms(zi,oi<He.length?He.charAt(oi):null,oi<He.length?ps(oi,oi+1):ps(oi,oi))}var q=ce,J=function(){for(var He=0,rt=0,xe=arguments.length;rt<xe;rt++)He+=arguments[rt].length;for(var st=Array(He),nr=0,rt=0;rt<xe;rt++)for(var Pr=arguments[rt],br=0,Ir=Pr.length;br<Ir;br++,nr++)st[nr]=Pr[br];return st},Y=/(^|[^\\])#/g;function le(He){He.forEach(function(rt){!D(rt)&&!P(rt)||Object.keys(rt.options).forEach(function(xe){for(var st,nr=rt.options[xe],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{"+rt.value+", number}"),Er=q(mn);(st=nr.value).splice.apply(st,J([Pr,1],Er))}le(nr.value)})})}function ne(He,rt){var xe=q(He,rt);return(!rt||rt.normalizeHashtagInPlural!==!1)&&le(xe),xe}var ee=function(){for(var He=0,rt=0,xe=arguments.length;rt<xe;rt++)He+=arguments[rt].length;for(var st=Array(He),nr=0,rt=0;rt<xe;rt++)for(var Pr=arguments[rt],br=0,Ir=Pr.length;br<Ir;br++,nr++)st[nr]=Pr[br];return st};function ie(He){return JSON.stringify(He.map(function(rt){return rt&&typeof rt=="object"?F(rt):rt}))}function F(He){return Object.keys(He).sort().map(function(rt){var xe;return xe={},xe[rt]=He[rt],xe})}var L=function(He,rt){return rt===void 0&&(rt={}),function(){for(var xe,st=[],nr=0;nr<arguments.length;nr++)st[nr]=arguments[nr];var Pr=ie(st),br=Pr&&rt[Pr];return br||(br=new((xe=He).bind.apply(xe,ee([void 0],st))),Pr&&(rt[Pr]=br)),br}},Q=L,de=function(){return de=Object.assign||function(He){for(var rt,xe=1,st=arguments.length;xe<st;xe++){rt=arguments[xe];for(var nr in rt)Object.prototype.hasOwnProperty.call(rt,nr)&&(He[nr]=rt[nr])}return He},de.apply(this,arguments)},we=/(?:[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 Pe(He){var rt={};return He.replace(we,function(xe){var st=xe.length;switch(xe[0]){case"G":rt.era=st===4?"long":st===5?"narrow":"short";break;case"y":rt.year=st===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":rt.month=["numeric","2-digit","short","long","narrow"][st-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":rt.day=["numeric","2-digit"][st-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":rt.weekday=st===4?"short":st===5?"narrow":"short";break;case"e":if(st<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");rt.weekday=["short","long","narrow","short"][st-4];break;case"c":if(st<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");rt.weekday=["short","long","narrow","short"][st-4];break;case"a":rt.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":rt.hourCycle="h12",rt.hour=["numeric","2-digit"][st-1];break;case"H":rt.hourCycle="h23",rt.hour=["numeric","2-digit"][st-1];break;case"K":rt.hourCycle="h11",rt.hour=["numeric","2-digit"][st-1];break;case"k":rt.hourCycle="h24",rt.hour=["numeric","2-digit"][st-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":rt.minute=["numeric","2-digit"][st-1];break;case"s":rt.second=["numeric","2-digit"][st-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":rt.timeZoneName=st<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""}),rt}function Ue(He){return He.replace(/^(.*?)-/,"")}var Be=/^\.(?:(0+)(\+|#+)?)?$/g,Ft=/^(@+)?(\+|#+)?$/g;function mt(He){var rt={};return He.replace(Ft,function(xe,st,nr){return typeof nr!="string"?(rt.minimumSignificantDigits=st.length,rt.maximumSignificantDigits=st.length):nr==="+"?rt.minimumSignificantDigits=st.length:st[0]==="#"?rt.maximumSignificantDigits=st.length:(rt.minimumSignificantDigits=st.length,rt.maximumSignificantDigits=st.length+(typeof nr=="string"?nr.length:0)),""}),rt}function Pt(He){switch(He){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(He){var rt={},xe=Pt(He);return xe||rt}function qt(He){for(var rt={},xe=0,st=He;xe<st.length;xe++){var nr=st[xe];switch(nr.stem){case"percent":rt.style="percent";continue;case"currency":rt.style="currency",rt.currency=nr.options[0];continue;case"group-off":rt.useGrouping=!1;continue;case"precision-integer":rt.maximumFractionDigits=0;continue;case"measure-unit":rt.style="unit",rt.unit=Ue(nr.options[0]);continue;case"compact-short":rt.notation="compact",rt.compactDisplay="short";continue;case"compact-long":rt.notation="compact",rt.compactDisplay="long";continue;case"scientific":rt=de(de(de({},rt),{notation:"scientific"}),nr.options.reduce(function(br,Ir){return de(de({},br),Qt(Ir))},{}));continue;case"engineering":rt=de(de(de({},rt),{notation:"engineering"}),nr.options.reduce(function(br,Ir){return de(de({},br),Qt(Ir))},{}));continue;case"notation-simple":rt.notation="standard";continue;case"unit-width-narrow":rt.currencyDisplay="narrowSymbol",rt.unitDisplay="narrow";continue;case"unit-width-short":rt.currencyDisplay="code",rt.unitDisplay="short";continue;case"unit-width-full-name":rt.currencyDisplay="name",rt.unitDisplay="long";continue;case"unit-width-iso-code":rt.currencyDisplay="symbol";continue}if(Be.test(nr.stem)){if(nr.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");nr.stem.replace(Be,function(br,Ir,Br){return br==="."?rt.maximumFractionDigits=0:Br==="+"?rt.minimumFractionDigits=Br.length:Ir[0]==="#"?rt.maximumFractionDigits=Ir.length:(rt.minimumFractionDigits=Ir.length,rt.maximumFractionDigits=Ir.length+(typeof Br=="string"?Br.length:0)),""}),nr.options.length&&(rt=de(de({},rt),mt(nr.options[0])));continue}if(Ft.test(nr.stem)){rt=de(de({},rt),mt(nr.stem));continue}var Pr=Pt(nr.stem);Pr&&(rt=de(de({},rt),Pr))}return rt}var Jt=function(){var He=function(rt,xe){return He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(st,nr){st.__proto__=nr}||function(st,nr){for(var Pr in nr)nr.hasOwnProperty(Pr)&&(st[Pr]=nr[Pr])},He(rt,xe)};return function(rt,xe){He(rt,xe);function st(){this.constructor=rt}rt.prototype=xe===null?Object.create(xe):(st.prototype=xe.prototype,new st)}}(),Xe=function(){for(var He=0,rt=0,xe=arguments.length;rt<xe;rt++)He+=arguments[rt].length;for(var st=Array(He),nr=0,rt=0;rt<xe;rt++)for(var Pr=arguments[rt],br=0,Ir=Pr.length;br<Ir;br++,nr++)st[nr]=Pr[br];return st},It=function(He){Jt(rt,He);function rt(xe,st){var nr=He.call(this,xe)||this;return nr.variableId=st,nr}return rt}(Error);function Ut(He){return He.length<2?He:He.reduce(function(rt,xe){var st=rt[rt.length-1];return!st||st.type!==0||xe.type!==0?rt.push(xe):st.value+=xe.value,rt},[])}function ut(He,rt,xe,st,nr,Pr,br){if(He.length===1&&_(He[0]))return[{type:0,value:He[0].value}];for(var Ir=[],Br=0,mn=He;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:xe.getNumberFormat(rt).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"?st.date[Er.style]:void 0;Ir.push({type:0,value:xe.getDateTimeFormat(rt,sn).format(tn)});continue}if(M(Er)){var sn=typeof Er.style=="string"?st.time[Er.style]:j(Er.style)?Pe(Er.style.pattern):void 0;Ir.push({type:0,value:xe.getDateTimeFormat(rt,sn).format(tn)});continue}if(A(Er)){var sn=typeof Er.style=="string"?st.number[Er.style]:$(Er.style)?qt(Er.style.tokens):void 0;Ir.push({type:0,value:xe.getNumberFormat(rt,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,ut(wn.value,rt,xe,st,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=xe.getPluralRules(rt,{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,ut(wn.value,rt,xe,st,nr,tn-(Er.offset||0)));continue}}return Ut(Ir)}function bt(He,rt,xe,st,nr,Pr){var br=ut(He,rt,xe,st,nr,void 0,Pr);return br.length===1?br[0].value:br.reduce(function(Ir,Br){return Ir+=Br.value},"")}var pt,tt="@@",ze=/@@(\d+_\d+)@@/g,ye=0;function Te(){return Date.now()+"_"+ ++ye}function Me(He,rt){return He.split(ze).filter(Boolean).map(function(xe){return rt[xe]!=null?rt[xe]:xe}).reduce(function(xe,st){return xe.length&&typeof st=="string"&&typeof xe[xe.length-1]=="string"?xe[xe.length-1]+=st:xe.push(st),xe},[])}var $e=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,We=Date.now()+"@@",it=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function ft(He,rt,xe){var st=He.tagName,nr=He.outerHTML,Pr=He.textContent,br=He.childNodes;if(!st)return Me(Pr||"",rt);st=st.toLowerCase();var Ir=~it.indexOf(st),Br=xe[st];if(Br&&Ir)throw new It(st+" 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(ft(un,rt,xe))},[]);return Br?typeof Br=="function"?[Br.apply(void 0,mn)]:[Br]:Xe(["<"+st+">"],mn,["</"+st+">"])}function Vt(He,rt,xe,st,nr,Pr){var br=ut(He,rt,xe,st,nr,void 0,Pr),Ir={},Br=br.reduce(function(tn,sn){if(sn.type===0)return tn+=sn.value;var wn=Te();return Ir[wn]=sn.value,tn+=""+tt+wn+tt},"");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");pt||(pt=new DOMParser);var mn=pt.parseFromString('<formatted-message id="'+We+'">'+Br+"</formatted-message>","text/html").getElementById(We);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(ft(sn,Ir,nr))},[])}var Ht=function(){return Ht=Object.assign||function(He){for(var rt,xe=1,st=arguments.length;xe<st;xe++){rt=arguments[xe];for(var nr in rt)Object.prototype.hasOwnProperty.call(rt,nr)&&(He[nr]=rt[nr])}return He},Ht.apply(this,arguments)};function De(He,rt){return rt?Ht(Ht(Ht({},He||{}),rt||{}),Object.keys(He).reduce(function(xe,st){return xe[st]=Ht(Ht({},He[st]),rt[st]||{}),xe},{})):He}function et(He,rt){return rt?Object.keys(He).reduce(function(xe,st){return xe[st]=De(He[st],rt[st]),xe},Ht({},He)):He}function Wt(He){return He===void 0&&(He={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Q(Intl.NumberFormat,He.number),getDateTimeFormat:Q(Intl.DateTimeFormat,He.dateTime),getPluralRules:Q(Intl.PluralRules,He.pluralRules)}}var Rt=function(){function He(rt,xe,st,nr){var Pr=this;if(xe===void 0&&(xe=He.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 ut(Pr.ast,Pr.locales,Pr.formatters,Pr.formats,br,void 0,Pr.message)},this.formatHTMLMessage=function(br){return Vt(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 rt=="string"){if(this.message=rt,!He.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=He.__parse(rt,{normalizeHashtagInPlural:!1})}else this.ast=rt;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=et(He.formats,st),this.locales=xe,this.formatters=nr&&nr.formatters||Wt(this.formatterCache)}return He.defaultLocale=new Intl.NumberFormat().resolvedOptions().locale,He.__parse=ne,He.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"}}},He}(),Zt=Rt,Bt=Zt;function At(He,rt,xe){if(xe===void 0&&(xe=Error),!He)throw new xe(rt)}const Kt={38:"&",62:">",60:"<",34:""",39:"'"},Ge=/[&><"']/g;function fe(He){return(""+He).replace(Ge,rt=>Kt[rt.charCodeAt(0)])}function _e(He,rt,xe={}){return rt.reduce((st,nr)=>(nr in He?st[nr]=He[nr]:nr in xe&&(st[nr]=xe[nr]),st),{})}function Ot(He){At(He,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Ie(He,rt){const xe=rt?`
|
|
|
${rt.stack}`:"";return`[React Intl] ${He}${xe}`}function ht(He){}const zt={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:ht};function Ct(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function ke(He=Ct()){const rt=Intl.RelativeTimeFormat,xe=Intl.ListFormat,st=Intl.DisplayNames;return{getDateTimeFormat:Q(Intl.DateTimeFormat,He.dateTime),getNumberFormat:Q(Intl.NumberFormat,He.number),getMessageFormat:Q(Bt,He.message),getRelativeTimeFormat:Q(rt,He.relativeTime),getPluralRules:Q(Intl.PluralRules,He.pluralRules),getListFormat:Q(xe,He.list),getDisplayNames:Q(st,He.displayNames)}}function wt(He,rt,xe,st){const nr=He&&He[rt];let Pr;if(nr&&(Pr=nr[xe]),Pr)return Pr;st(Ie(`No ${rt} format named: ${xe}`))}const je=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Qe({locale:He,formats:rt,onError:xe},st,nr={}){const{format:Pr}=nr,br=Pr&&wt(rt,"number",Pr,xe)||{},Ir=_e(nr,je,br);return st(He,Ir)}function Oe(He,rt,xe,st={}){try{return Qe(He,rt,st).format(xe)}catch(nr){He.onError(Ie("Error formatting number.",nr))}return String(xe)}function kt(He,rt,xe,st={}){try{return Qe(He,rt,st).formatToParts(xe)}catch(nr){He.onError(Ie("Error formatting number.",nr))}return[]}const Fe=["numeric","style"];function Dr({locale:He,formats:rt,onError:xe},st,nr={}){const{format:Pr}=nr,br=!!Pr&&wt(rt,"relative",Pr,xe)||{},Ir=_e(nr,Fe,br);return st(He,Ir)}function St(He,rt,xe,st,nr={}){st||(st="second"),Intl.RelativeTimeFormat||He.onError(Ie(`Intl.RelativeTimeFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
|
`));try{return Dr(He,rt,nr).format(xe,st)}catch(br){He.onError(Ie("Error formatting relative time.",br))}return String(xe)}const Gr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Qr({locale:He,formats:rt,onError:xe,timeZone:st},nr,Pr,br={}){const{format:Ir}=br,Br=Object.assign(Object.assign({},st&&{timeZone:st}),Ir&&wt(rt,nr,Ir,xe));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(He,mn)}function Sr(He,rt,xe,st={}){const nr=typeof xe=="string"?new Date(xe||0):xe;try{return Qr(He,"date",rt,st).format(nr)}catch(Pr){He.onError(Ie("Error formatting date.",Pr))}return String(nr)}function Or(He,rt,xe,st={}){const nr=typeof xe=="string"?new Date(xe||0):xe;try{return Qr(He,"time",rt,st).format(nr)}catch(Pr){He.onError(Ie("Error formatting time.",Pr))}return String(nr)}function hr(He,rt,xe,st={}){const nr=typeof xe=="string"?new Date(xe||0):xe;try{return Qr(He,"date",rt,st).formatToParts(nr)}catch(Pr){He.onError(Ie("Error formatting date.",Pr))}return[]}function $r(He,rt,xe,st={}){const nr=typeof xe=="string"?new Date(xe||0):xe;try{return Qr(He,"time",rt,st).formatToParts(nr)}catch(Pr){He.onError(Ie("Error formatting time.",Pr))}return[]}const nn=["localeMatcher","type"];function on({locale:He,onError:rt},xe,st,nr={}){Intl.PluralRules||rt(Ie(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`));const Pr=_e(nr,nn);try{return xe(He,Pr).select(st)}catch(br){rt(Ie("Error formatting plural.",br))}return"other"}function sr(He,rt){return Object.keys(He).reduce((xe,st)=>(xe[st]=Object.assign({timeZone:rt},He[st]),xe),{})}function Mt(He,rt){return Object.keys(Object.assign(Object.assign({},He),rt)).reduce((st,nr)=>(st[nr]=Object.assign(Object.assign({},He[nr]||{}),rt[nr]||{}),st),{})}function gt(He,rt){if(!rt)return He;const xe=Bt.formats;return Object.assign(Object.assign(Object.assign({},xe),He),{date:Mt(sr(xe.date,rt),sr(He.date||{},rt)),time:Mt(sr(xe.time,rt),sr(He.time||{},rt))})}const yt=He=>r.createElement(r.Fragment,null,...He);function Nt({locale:He,formats:rt,messages:xe,defaultLocale:st,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=xe&&xe[String(Er)];rt=gt(rt,br),nr=gt(nr,br);let sn=[];if(tn)try{sn=Ir.getMessageFormat(tn,He,rt,{formatters:Ir}).formatHTMLMessage(mn)}catch(wn){Pr(Ie(`Error formatting message: "${Er}" for locale: "${He}"`+(un?", using default message as fallback.":""),wn))}else(!un||He&&He.toLowerCase()!==st.toLowerCase())&&Pr(Ie(`Missing message: "${Er}" for locale: "${He}"`+(un?", using default message as fallback.":"")));if(!sn.length&&un)try{sn=Ir.getMessageFormat(un,st,nr).formatHTMLMessage(mn)}catch(wn){Pr(Ie(`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(Ie(`Cannot format message: "${Er}", using message ${tn||un?"source":"id"} as fallback.`)),typeof tn=="string"?tn||un||String(Er):un||String(Er))}function Cr(He,rt,xe={id:""},st={}){const nr=Object.keys(st).reduce((Pr,br)=>{const Ir=st[br];return Pr[br]=typeof Ir=="string"?fe(Ir):Ir,Pr},{});return Nt(He,rt,xe,nr)}var vr=e(18947),lt=e.n(vr);const Lr=["localeMatcher","type","style"],_n=Date.now();function Un(He){return`${_n}_${He}_${_n}`}function _r({locale:He,onError:rt},xe,st,nr={}){Intl.ListFormat||rt(Ie(`Intl.ListFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
|
`));const br=_e(nr,Lr);try{const Ir={},Br=st.map((Er,un)=>{if(typeof Er=="object"){const tn=Un(un);return Ir[tn]=Er,tn}return String(Er)});return Object.keys(Ir).length?xe(He,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},[]):xe(He,br).format(Br)}catch(Ir){rt(Ie("Error formatting list.",Ir))}return st}const Jr=["localeMatcher","style","type","fallback"];function dn({locale:He,onError:rt},xe,st,nr={}){Intl.DisplayNames||rt(Ie(`Intl.DisplayNames is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
`));const br=_e(nr,Jr);try{return xe(He,br).of(st)}catch(Ir){rt(Ie("Error formatting display name.",Ir))}}const Mn=lt()||vr;function Jn(He){return{locale:He.locale,timeZone:He.timeZone,formats:He.formats,textComponent:He.textComponent,messages:He.messages,defaultLocale:He.defaultLocale,defaultFormats:He.defaultFormats,onError:He.onError}}function Nn(He,rt){const xe=ke(rt),st=Object.assign(Object.assign({},zt),He),{locale:nr,defaultLocale:Pr,onError:br}=st;return nr?!Intl.NumberFormat.supportedLocalesOf(nr).length&&br?br(Ie(`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(Ie(`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(Ie(`"locale" was not configured, using "${Pr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),st.locale=st.defaultLocale||"en"),Object.assign(Object.assign({},st),{formatters:xe,formatNumber:Oe.bind(null,st,xe.getNumberFormat),formatNumberToParts:kt.bind(null,st,xe.getNumberFormat),formatRelativeTime:St.bind(null,st,xe.getRelativeTimeFormat),formatDate:Sr.bind(null,st,xe.getDateTimeFormat),formatDateToParts:hr.bind(null,st,xe.getDateTimeFormat),formatTime:Or.bind(null,st,xe.getDateTimeFormat),formatTimeToParts:$r.bind(null,st,xe.getDateTimeFormat),formatPlural:on.bind(null,st,xe.getPluralRules),formatMessage:Nt.bind(null,st,xe),formatHTMLMessage:Cr.bind(null,st,xe),formatList:_r.bind(null,st,xe.getListFormat),formatDisplayName:dn.bind(null,st,xe.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(rt,{prevConfig:xe,cache:st}){const nr=Jn(rt);return Mn(xe,nr)?null:{intl:Nn(nr,st),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=(He,rt)=>{var xe={};for(var st in He)Xn.call(He,st)&&rt.indexOf(st)<0&&(xe[st]=He[st]);if(He!=null&&Yi)for(var st of Yi(He))rt.indexOf(st)<0&&Vi.call(He,st)&&(xe[st]=He[st]);return xe};let ct;const Qn=!0,xi=new(vi()),qn=Symbol("LANG_CHANGE"),Wi=(He,rt="")=>Object.keys(He).reduce((xe,st)=>{const nr=He[st],Pr=rt?`${rt}.${st}`:st;return typeof nr=="string"?xe[Pr]=nr:Object.assign(xe,Wi(nr,Pr)),xe},{}),hi={},ni=(He,rt,xe)=>{var st,nr,Pr,br;if(!He)return;const Ir=(st=hi[He])!=null&&st.messages?Object.assign({},hi[He].messages,rt):rt,{momentLocale:Br=(nr=hi[He])==null?void 0:nr.momentLocale,antd:mn=(Pr=hi[He])==null?void 0:Pr.antd}=xe||{},Er=(br=He.split("-"))==null?void 0:br.join("-");hi[He]={messages:Ir,locale:Er,momentLocale:Br,antd:mn},Er===Dt()&&xi.emit(qn,Er)},bn=He=>(0,mi.We)().applyPlugins({key:"locale",type:"modify",initialValue:He}),tr=He=>{const xe=bn(hi[He]),{cache:st}=xe,nr=Et(xe,["cache"]);return Nn(nr,st)},vt=(He,rt)=>ct&&!rt&&!He?ct:(He||(He=Dt()),He&&hi[He]?tr(He):hi["zh-CN"]?tr("zh-CN"):Nn({locale:"zh-CN",messages:{}})),nt=He=>{ct=vt(He,!0)},Dt=()=>{const He=bn({});return typeof(He==null?void 0:He.getLocale)=="function"?He.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&Qn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},_t=()=>{const He=Dt();return["he","ar","fa","ku"].filter(st=>He.startsWith(st)).length?"rtl":"ltr"},ur=(He,rt=!0)=>{(()=>{if(Dt()!==He){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Qn&&window.localStorage.setItem("umi_locale",He||""),nt(He),rt)window.location.reload();else if(xi.emit(qn,He),window.dispatchEvent){const st=new Event("languagechange");window.dispatchEvent(st)}}})()};let cr=!0;const Tr=(He,rt)=>(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),ct||nt(Dt()),ct.formatMessage(He,rt)),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,M,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: "+M),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:M,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"},M||"\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),M=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:L,disabledDownload:Q,onImgDimensions:de,showNodata:we,recordInfo:Pe})=>{const[Ue,Be]=(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,mt]=(0,r.useState)(""),[Pt,Qt]=(0,r.useState)(),qt=window.ENV==="build"?"/react/build":"",Jt=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 ut=ze=>ze.substring(ze.lastIndexOf("/")+1).split(".").pop();Y&&le&&(le.filename=Y),(0,r.useEffect)(()=>{var ze,ye;const Te=(ye=(ze=document.cookie)==null?void 0:ze.replace(/\s/g,""))==null?void 0:ye.split(";");Te==null||Te.map(Me=>{let $e=Me.split("=");$e[0]==="_educoder_session"&&mt($e[1])})},[]),(0,r.useEffect)(()=>{J==="office"&&(ce.indexOf("bigfilescdn.")>-1||ce.indexOf("bigfiles1")>-1?Qt({url:ce,fileType:ut(ce),model:ce.indexOf("model=edit")?"edit":"view"}):bt())},[J,ce]);const bt=()=>W(void 0,null,function*(){console.log("data:",ce);let ze=ce;ce.startsWith("http")||(ze=location.origin+ze);let ye=new URL(ze).pathname.split("/").pop();const Te=yield(0,b.gJ)({attachment_id:ye});Te.url=Jt+Te.url,Qt(Te)}),pt=()=>{if(ce.startsWith("http")||ce.startsWith("blob:")){tt();return}(0,_.Nd)(Y||"educoder",decodeURIComponent(ce))},tt=()=>{Pe&&(0,M.fc)({id:Pe==null?void 0:Pe.id,watch_type:1,course_id:Pe==null?void 0:Pe.course_id}),(0,_.Nd)(Y||"educoder",decodeURIComponent(ce))};return console.log(ce,"data"),P.createElement("div",{style:V({},ee||{}),className:`${L&&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:tt},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:`${qt}/office.html?key=${Pt.key}&url=${btoa(Pt.url)}&callbackUrl=${Jt+(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:`${qt}/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,we?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:pt,disabled:Q},"\u4E0B\u8F7D")}):P.createElement(l.ZP,{type:"primary",size:"middle",onClick:pt,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,M=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))M.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,L,Q)=>{const de=ne||ie||L,we=ee||F||Q||"?";return o.Z.API_SERVER+"/api/attachments/"+de+we+"&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,L,Q)=>{const de=ne||ie||L,we=ee||F||Q||"?";return o.Z.API_SERVER+"/attachments/download/"+de+we+"&t="+(0,h.Jn)(de,Date.now())+(le.indexOf(")")>-1?")":"&")}).replace(ce,(le,ne,ee,ie,F,L,Q)=>{const de=ne||ie||L,we=ee||F||Q||"?";return o.Z.API_SERVER+"/api/attachments/"+de+we+"&t="+(0,h.Jn)(de,Date.now())+(le.indexOf(")")>-1?")":"&")}).replace(q,(le,ne,ee,ie,F)=>{const L=ne||ie,Q=ee||F||"";return'"'+o.Z.API_SERVER+"/api/attachments/"+L+Q+L+Q+"&t="+(0,h.Jn)(L,Date.now())}).replace(J,(le,ne,ee,ie,F)=>{const L=ne||ie,Q=ee||F||"";return"("+o.Z.API_SERVER+"/files/uploads/"+L+Q+L+Q+"&t="+(0,h.Jn)(L,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:L=we=>{},onFillBlur:Q=()=>{},onFillFocus:de=()=>{}})=>{let we=String(oe);const[Pe,Ue]=(0,r.useState)(""),[Be,Ft]=(0,r.useState)("office"),[mt,Pt]=(0,r.useState)([]),Qt=(0,r.useRef)("a"+(0,a.Z)()),qt={},Jt=($e,We,it)=>{const ft=document.createElement($e===$?"input":"textarea");ft.style.width="100%",ft.style.height=$e===$?"40px":"151px",ft.rows=5,ft.spellcheck=!1,ft.name="edu-program-fill",ft.placeholder="\u8BF7\u8F93\u5165",ft.dataset.id=We;const Vt=Object.keys(qt).length;return qt[Vt]=ft,`<span class="edu-program-fill-wrap ${$e===$?"":"show"}" style="width:${$e===$?"400px":"100%"}" title=${it||""}><span>${ft.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(We,it){let ft=it.replace(/(\n|\r)/g,"").split("}"),Vt=[];return ft.map(Ht=>{Ht!=""&&Vt.push(`.${Qt.current} ${Ht}`)}),`<style>${Vt.join("}")}</style>`}),Ut=(0,r.useMemo)(()=>{try{const ft=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Vt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Ht=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,De=/\(\/attachments\/download\//g;we=we.replace(De,"("+o.Z.API_SERVER+"/attachments/download/").replace(ft,"("+o.Z.API_SERVER+"/api/attachments/").replace(Vt,'"'+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(ft){}if(ne){let ft=-1;return we=we.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Vt,Ht,De){var et;return++ft,Jt(Vt,ft,(et=F==null?void 0:F[ft])==null?void 0:et.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${It(we||"")}</pre>`}let $e=It(we);$e=(0,l.ZP)($e);const We=(0,l.ez)();we.match(/\[TOC\]/)&&($e=$e.replace("<p>[TOC]</p>",(0,l.Qv)()),(0,l.Iy)()),$e=$e.replace(/(__special_katext_id_\d+__)/g,(ft,Vt)=>{const{type:Ht,expression:De}=We[Vt];return(0,u.renderToString)(K(De)||"",{displayMode:Ht==="block",throwOnError:!1,output:"html"})}),$e=$e.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const it=document.createElement("div");if(it.innerHTML=$e,ce)return it.innerText;if(le){const ft=le.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return tt(it,ft),it.innerHTML}return setTimeout(()=>Te(),500),it.innerHTML},[we,le]);(0,r.useEffect)(()=>{ze.current&&ze.current.querySelectorAll(["input","textarea"]).forEach(We=>{We.oninput=ut,We.onblur=bt,We.onfocus=pt})},[mt]),(0,r.useEffect)(()=>{var $e,We,it,ft,Vt;if(F!=null&&F.length)try{const Ht=ze.current.querySelectorAll(".edu-program-fill-score"),De=ze.current.querySelectorAll('[name="edu-program-fill"]');for(const[et,Wt]of De.entries())Wt.value=(($e=F==null?void 0:F[et])==null?void 0:$e.value)||"",((We=F==null?void 0:F[et])==null?void 0:We.type)==="warning"?Wt.className="program-fill-warning":((it=F==null?void 0:F[et])==null?void 0:it.type)==="success"?Wt.className="program-fill-success":Wt.className="";for(const[et,Wt]of Ht.entries())Wt.innerHTML=(ft=F==null?void 0:F[et])!=null&&ft.score?`${(Vt=F==null?void 0:F[et])==null?void 0:Vt.score}\u5206`:"";Pt(F)}catch(Ht){console.log(Ht,"error")}},[F]);const ut=$e=>{mt[$e.target.dataset.id]=mt[$e.target.dataset.id]||{},mt[$e.target.dataset.id].value=$e.target.value,Pt([...mt]),L(mt,$e.target.dataset.id)},bt=$e=>{mt[$e.target.dataset.id]=mt[$e.target.dataset.id]||{},mt[$e.target.dataset.id].value=$e.target.value,Pt([...mt]),Q(mt,$e.target.dataset.id)},pt=$e=>{mt[$e.target.dataset.id]=mt[$e.target.dataset.id]||{},mt[$e.target.dataset.id].value=$e.target.value,Pt([...mt]),de(mt,$e.target.dataset.id)};function tt($e,We){return $e.childNodes.forEach(it=>{var ft;if(it.childNodes.length>0)tt(it,We);else if(it.nodeName!=="IMG")if(it.innerHTML)it.innerHTML=(ft=it.innerHTML)==null?void 0:ft.replace(new RegExp(We,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Vt=document.createElement("span");Vt.innerHTML=it.textContent.replace(new RegExp(We,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),it.replaceWith(Vt)}})}const ze=(0,r.useRef)();l.jb.WebkitLineClamp=q,q&&(J=D(D({},J),l.jb));function ye($e){let We=$e.target;if(We.tagName.toUpperCase()==="A"){let it=We.getAttribute("href");if(it.indexOf("office")>-1)$e.preventDefault(),Ue(it),Ft("office");else if(it.indexOf("application/pdf")>-1)$e.preventDefault(),Ue(it),Ft("pdf");else if(it.indexOf("text/html")>-1)$e.preventDefault(),Ue(it),Ft("html");else if(it.startsWith("#")){$e.preventDefault();let ft=document.getElementById(it.replace("#",""));ft&&ft.scrollIntoView(!0)}}}const Te=()=>{var $e;const We=($e=ze.current)==null?void 0:$e.querySelectorAll("video");We==null||We.forEach(it=>{if(it.oncontextmenu=()=>!1,it.src.indexOf(".m3u8")>-1&&!it.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var ft=new f.ZP;ft.loadSource(it.src),ft.attachMedia(it)}}})};(0,r.useEffect)(()=>{if(ze.current&&Ut&&Ut.match(j)&&window.PR.prettyPrint(),ze.current)return ze.current.addEventListener("click",ye),()=>{var $e;($e=ze.current)==null||$e.removeEventListener("click",ye),(0,l.AL)(),(0,l.Iy)()}},[Ut,ze.current,ye]),(0,r.useEffect)(()=>{var $e;const We=it=>{it.preventDefault(),it.clipboardData.setData("text",window.getSelection().toString())};return($e=ze.current)==null||$e.addEventListener("copy",We),()=>{var it;(it=ze.current)==null||it.removeEventListener("copy",We)}},[ze.current]);const Me=$e=>/<style[\s\S]*?>/i.test($e||"");return r.createElement(r.Fragment,null,ce&&r.createElement("div",{ref:ze},Ut),!ce&&!Me(Ut)&&r.createElement("div",{ref:ze,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:Pe,type:Pe!=null&&Pe.length?Be:"",style:D({},Y),onClose:()=>Ue("")}))}},23954:function(d,g,e){"use strict";e.d(g,{SV:function(){return ze},ZP:function(){return tt}});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,Te,Me)=>Te in ye?x(ye,Te,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ye[Te]=Me,M=(ye,Te)=>{for(var Me in Te||(Te={}))b.call(Te,Me)&&R(ye,Me,Te[Me]);if(_)for(var Me of _(Te))A.call(Te,Me)&&R(ye,Me,Te[Me]);return ye},P=(ye,Te)=>p(ye,y(Te)),D=(ye,Te,Me)=>new Promise(($e,We)=>{var it=Ht=>{try{Vt(Me.next(Ht))}catch(De){We(De)}},ft=Ht=>{try{Vt(Me.throw(Ht))}catch(De){We(De)}},Vt=Ht=>Ht.done?$e(Ht.value):Promise.resolve(Ht.value).then(it,ft);Vt((Me=Me.apply(ye,Te)).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,Te)=>Te.map(Me=>({label:Me,kind:ye.languages.CompletionItemKind.Keyword,insertText:Me})),j=ye=>Object.keys(B.tables).map(Te=>({label:Te,kind:ye.languages.CompletionItemKind.Variable,insertText:Te})),K=(ye,Te)=>{const Me=B.tables[ye];return Me?Me.map($e=>({label:$e,kind:Te.languages.CompletionItemKind.Field,insertText:$e})):[]};function V(ye,Te,Me,$e,We){let it=Te.getWordUntilPosition(Me),ft={startLineNumber:Me.lineNumber,endLineNumber:Me.lineNumber,startColumn:it.startColumn,endColumn:it.endColumn},Vt=$e.map(Ht=>({label:Ht,kind:ye.languages.CompletionItemKind.Keyword,insertText:Ht,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ft}));return We.map(Ht=>{Vt.push(P(M({},Ht),{range:ft}))}),Vt}var W=ye=>{B.languages.map(We=>(ye.languages.registerDocumentFormattingEditProvider(We,{provideDocumentFormattingEdits(it,ft,Vt){return D(this,null,function*(){const Ht=a()(it.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:it.getFullModelRange(),text:Ht}]})}}),We));const Te=f.quickKey.map(We=>({label:We.label,kind:ye.languages.CompletionItemKind.Method,insertText:We.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Me=o.quickKey.map(We=>({label:We.label,kind:ye.languages.CompletionItemKind.Method,insertText:We.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet})),$e=c.quickKey.map(We=>({label:We.label,kind:ye.languages.CompletionItemKind.Method,insertText:We.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ye.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(We,it){var ft=We.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ft.startColumn,endColumn:ft.endColumn},Ht=We.getLineContent(it.lineNumber).substring(ft.startColumn-2,ft.endColumn);return{suggestions:[...f.keywords.map(De=>({label:De,kind:ye.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...f.quickKey.map(De=>({label:De.label,kind:ye.languages.CompletionItemKind.Function,documentation:De.content,insertText:Ht.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ye.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(We,it){var ft=We.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ft.startColumn,endColumn:ft.endColumn};return{suggestions:[...l.keywords.map(Ht=>({label:Ht,kind:ye.languages.CompletionItemKind.Function,documentation:Ht,insertText:Ht,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ye.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(We,it){var ft=We.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ft.startColumn,endColumn:ft.endColumn},Ht=We.getLineContent(it.lineNumber).substring(ft.startColumn-2,ft.endColumn);return{suggestions:[...c.keywords.map(De=>({label:De,kind:ye.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...c.quickKey.map(De=>({label:De.label,kind:ye.languages.CompletionItemKind.Function,documentation:De.content,insertText:Ht.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ye.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(We,it){var ft=We.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ft.startColumn,endColumn:ft.endColumn},Ht=We.getLineContent(it.lineNumber).substring(ft.startColumn-2,ft.endColumn);return{suggestions:[...h.keywords.map(De=>({label:De,kind:ye.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...h.quickKey.map(De=>({label:De.label,kind:ye.languages.CompletionItemKind.Function,documentation:De.content,insertText:Ht.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ye.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(We,it){var ft=We.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ft.startColumn,endColumn:ft.endColumn},Ht=We.getLineContent(it.lineNumber).substring(ft.startColumn-2,ft.endColumn);return{suggestions:[...o.keywords.map(De=>({label:De,kind:ye.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...o.quickKey.map(De=>({label:De.label,kind:ye.languages.CompletionItemKind.Function,documentation:De.content,insertText:Ht.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}})};const oe="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ae=Object.defineProperty,ce=(ye,Te,Me)=>Te in ye?ae(ye,Te,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ye[Te]=Me,q=(ye,Te,Me)=>ce(ye,typeof Te!="symbol"?Te+"":Te,Me);const J=class kd{constructor(Te,Me,$e){this.placeholder=Te,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),L=e(34604),Q=e(56102),de=Object.defineProperty,we=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,mt=(ye,Te,Me)=>Te in ye?de(ye,Te,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ye[Te]=Me,Pt=(ye,Te)=>{for(var Me in Te||(Te={}))Be.call(Te,Me)&&mt(ye,Me,Te[Me]);if(Ue)for(var Me of Ue(Te))Ft.call(Te,Me)&&mt(ye,Me,Te[Me]);return ye},Qt=(ye,Te)=>we(ye,Pe(Te)),qt=(ye,Te)=>{var Me={};for(var $e in ye)Be.call(ye,$e)&&Te.indexOf($e)<0&&(Me[$e]=ye[$e]);if(ye!=null&&Ue)for(var $e of Ue(ye))Te.indexOf($e)<0&&Ft.call(ye,$e)&&(Me[$e]=ye[$e]);return Me},Jt=(ye,Te,Me)=>new Promise(($e,We)=>{var it=Ht=>{try{Vt(Me.next(Ht))}catch(De){We(De)}},ft=Ht=>{try{Vt(Me.throw(Ht))}catch(De){We(De)}},Vt=Ht=>Ht.done?$e(Ht.value):Promise.resolve(Ht.value).then(it,ft);Vt((Me=Me.apply(ye,Te)).next())});function Xe(ye){return/^\d+$/.test(ye)?`${ye}px`:ye}function It(){}let Ut=!1;const ut={"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 Te=ye;if(Array.isArray(ye)){for(let Me=0;Me<ye.length;Me++){let $e=ut[ye[Me]];if($e)return $e}return Te[0]}return ut[Te]||Te}let pt=null;var tt=ye=>{var Te=ye,{width:Me="100%",height:$e="100%",value:We,language:it="javascript",style:ft={},options:Vt={},overrideServices:Ht={},theme:De="vs-dark",onEditBlur:et,isCopy:Wt=!1,onSave:Rt,autoHeight:Zt=!1,forbidCopy:Bt=!1,onChange:At=It,editorDidMount:Kt=It,onFocus:Ge=It,onBreakPoint:fe=It,breakPointValue:_e=[],filename:Ot="educoder.txt",errorLine:Ie,errorContent:ht="",highlightLine:zt,openBreakPoint:Ct=!1,placeholder:ke=""}=Te,wt=qt(Te,["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 je=(0,r.useRef)(),Qe=(0,r.useRef)({}),Oe=(0,r.useRef)(),kt=(0,r.useRef)(),Fe=(0,r.useRef)([]),Dr=(0,r.useRef)(!1),St=(0,r.useRef)(),Gr=(0,r.useRef)(),Qr=(0,r.useRef)(!1),[Sr,Or]=(0,r.useState)(!1);function hr(){let _r;return je.current&&(_r=new i.Z(Jr=>{for(let dn of Jr)(dn.target.offsetHeight>0||dn.target.offsetWidth>0)&&Qe.current.instance.layout()}),_r.observe(je.current)),_r}function $r(){ee.ZP.warning({content:decodeURIComponent(oe),key:"monaco-editor-tip"})}const nn=()=>{let _r=Qe.current.instance;if(We!=null&&_r&&Sr){const Jr=_r.getModel();Jr&&We!==Jr.getValue()&&(Ut=!0,Jr.setValue(We),_r.layout(),Ut=!1)}};(0,r.useEffect)(()=>{const _r=L.Z.subscribe("formatDocument",Jr=>{var dn;let Mn=Qe.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=Qe.current.instance;kt.current&&clearTimeout(kt.current),kt.current=setTimeout(()=>{nn()},500),We&&(We!=null&&We.length)&&((_r=Jr==null?void 0:Jr.updateOptions)==null||_r.call(Jr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(We.split(/\r\n|\r|\n/g).length))+3,5)}))},[We,Sr,Qe.current]),(0,r.useEffect)(()=>{if(Ie&&Qe.current&&Qe.current.instance){let Jr=Qe.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=ht,dn.addZone({afterLineNumber:Ie||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})}},[Ie,Qe.current,Sr]);const on=(_r="",Jr)=>{if(!_r||_r.trim()==="")return!0;const Mn=Qe.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=Qe.current)==null?void 0:_r.instance;if(Jr&&Sr&&Bt){const dn=Jr.onDidBlurEditorWidget(()=>{Qr.current=!1}),Mn=Jr.onDidFocusEditorText(()=>{Qr.current=!0});return()=>{dn.dispose(),Mn.dispose()}}},[Qe.current,Sr,Bt]),(0,r.useEffect)(()=>{var _r;if((_r=Qe.current)!=null&&_r.instance&&Sr&&Ct){let Jr=Qe.current.instance,dn=Jr.getModel();if(!dn)return;(()=>{var Et;let ct=[],Qn=[];const xi=dn.getAllDecorations();for(let Wi of xi)Wi.options.className==="highlighted-line"&&(ct.push((Et=Wi==null?void 0:Wi.range)==null?void 0:Et.startLineNumber),Qn.push(Wi==null?void 0:Wi.id));if(zt===ct[0])return;dn.deltaDecorations(Qn,[]);const qn=dn.getLineCount();zt&&zt<=qn&&(Jr.deltaDecorations([],[{range:new pt.Range(zt,1,zt,dn.getLineMaxColumn(zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Jr.revealLineInCenter(zt))})();const Jn=(Et=!1)=>{var ct;let Qn=[],xi=[];const qn=dn.getAllDecorations();for(let Wi of qn)Wi.options.linesDecorationsClassName==="breakpoints-select"&&(Qn.push((ct=Wi==null?void 0:Wi.range)==null?void 0:ct.startLineNumber),xi.push(Wi==null?void 0:Wi.id));if(Et)return{lines:Qn,ids:xi};fe(Qn)},Nn=Et=>Jt(void 0,null,function*(){let ct={range:new pt.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield dn.deltaDecorations([],[ct]),Jn()}),Ui=Et=>Jt(void 0,null,function*(){let ct=[];const Qn=Jr.getLineDecorations(Et);for(let xi of Qn)xi.options.linesDecorationsClassName==="breakpoints-select"&&ct.push(xi.id);yield dn.deltaDecorations(ct,[]),Jn()}),mi=Et=>{let ct=Jr.getLineDecorations(Et);for(let Qn of ct)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(ct=>({range:new pt.Range(ct,1,ct,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));dn.deltaDecorations([],Et)}const bi=Jr.onDidChangeModelContent(Et=>{let ct=Jr.getPosition();if(ct){let Qn=ct.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 ct,Qn,xi;if(Et.target.detail&&((xi=(Qn=(ct=Et.target)==null?void 0:ct.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 ct={range:new pt.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Fe.current=Jr.deltaDecorations(Fe.current,[ct])},Yi=()=>{Fe.current=Jr.deltaDecorations(Fe.current,[])},Xn=Jr.onMouseMove(Et=>{var ct,Qn,xi;if(Yi(),Et.target.detail&&((xi=(Qn=(ct=Et.target)==null?void 0:ct.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()}}},[Qe.current,Sr,_e,zt,Ct,it]),(0,r.useEffect)(()=>{var _r;(_r=Qe.current)!=null&&_r.instance&&Ct&&Qe.current.instance.setPosition({lineNumber:0,column:0})},[zt]);function sr(){let _r=Qe.current.instance;if(_r){const Jr=_r.getSelection(),dn=Qe.current.pastePos||{},Mn=new pt.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(),Rt())}const gt=()=>{if(Zt&&Qe.current.instance){const _r=Qe.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(!Qr.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)(()=>{gt()},[gt]),(0,r.useEffect)(()=>{je.current&&!Sr&&Promise.all([e.e(8909),e.e(3267)]).then(e.bind(e,71448)).then(_r=>{try{pt=_r,Qe.current.instance=pt.editor.create(je.current,{value:We,language:bt(it),theme:De,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Ht);const Jr=Qe.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,pt),setTimeout(()=>{gt(),Qe.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Cr(Ot||"educoder.txt",Jr.getValue())}})},500),Qe.current.subscription=Jr.onDidChangeModelContent(bi=>{Dr.current?clearTimeout(St.current):(gt(),At(Jr.getValue(),bi)),St.current=setTimeout(()=>{Dr.current=!1},500)}),window.Monaco||W(pt,bt(it)),Bt&&(Ui(Jn,Nn),je.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Nt),window.removeEventListener("paste",Nt),window.addEventListener("keydown",Nt),window.addEventListener("paste",Nt)),window.Monaco=pt,et&&Jr.onDidBlurEditorWidget(()=>{et(Jr.getValue())}),Ge&&Jr.onDidFocusEditorText(()=>{Ge(Jr.getValue())}),Bt)try{Jr.onDidPaste(bi=>{const vi=Jr.getSelection(),di=Qe.current.pastePos||{},Yi=new pt.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=hr();return ke&&typeof ke=="string"&&new le(ke,Jr,pt),Or(!0),()=>{const bi=Qe.current.instance;bi.dispose();const vi=bi.getModel();vi&&vi.dispose(),Qe.current.subscription&&Qe.current.subscription.dispose(),mi.unobserve(je.current)}}catch(Jr){}})},[]),(0,r.useEffect)(()=>{if(Qe.current.instance&&Sr)return document.addEventListener("keydown",Mt,!1),()=>{document.removeEventListener("keydown",Mt)}},[Rt,Sr]),(0,r.useEffect)(()=>{let _r=Qe.current.instance;if(_r&&Sr){let Jr=bt(it);pt.editor.setModelLanguage(_r.getModel(),Jr)}},[it,Sr]),(0,r.useEffect)(()=>{Qe.current.instance&&Sr&&pt.editor.setTheme(De)},[De,Sr]),(0,r.useEffect)(()=>{let _r=Qe.current.instance;Oe.current=Vt,_r&&Sr&&(_r.updateOptions(Pt({},Vt)),setTimeout(()=>{_r.getModel().updateOptions(Pt({},Vt))},200))},[JSON.stringify(Vt),Sr]),(0,r.useEffect)(()=>{let _r=Qe.current.instance;_r&&Sr&&_r.layout()},[Me,$e,Sr]);const[vr,lt]=(0,r.useState)(Xe(Me)),[Lr,_n]=(0,r.useState)(Xe($e)),Un=Qt(Pt({},ft),{width:vr,height:Lr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:je,style:Un},Wt&&r.createElement(Q.CopyToClipboard,{text:We,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 ze({width:ye="100%",height:Te="100%",original:Me,modified:$e,language:We,options:it={}}){const ft=(0,r.useRef)(),[Vt,Ht]=(0,r.useState)(null);function De(Zt){let Bt;return ft.current&&(Bt=new i.Z(At=>{for(let Kt of At)(Kt.target.offsetHeight>0||Kt.target.offsetWidth>0)&&Zt.layout()}),Bt.observe(ft.current)),Bt}(0,r.useEffect)(()=>(ft.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Zt=>{pt=Zt;const Bt=pt.editor.createDiffEditor(ft.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},it),{wordWrap:!0}));Ht(Bt);let At=De(Bt);return()=>{Bt.dispose();const Kt=Bt.getModel();Kt&&Kt.dispose(),At.unobserve(ft.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{Vt&&Vt.setModel({original:pt.editor.createModel(Me,We),modified:pt.editor.createModel($e,We)})},[Me,$e,We,Vt]);const et=Xe(ye),Wt=Xe(Te),Rt={width:et,height:Wt};return r.createElement("div",{className:"my-diff-editor",ref:ft,style:Rt})}},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,M,P)=>M in R?c(R,M,{enumerable:!0,configurable:!0,writable:!0,value:P}):R[M]=P,p=(R,M)=>{for(var P in M||(M={}))u.call(M,P)&&x(R,P,M[P]);if(h)for(var P of h(M))a.call(M,P)&&x(R,P,M[P]);return R},y=(R,M)=>f(R,o(M)),_=(R,M)=>{var P={};for(var D in R)u.call(R,D)&&M.indexOf(D)<0&&(P[D]=R[D]);if(R!=null&&h)for(var D of h(R))M.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:M,put:P}){yield P({type:"save",payload:{actionTabs:p({},R)}})},*getMajorList({payload:R},{call:M,put:P,select:D}){const{userInfo:B}=yield D($=>$.user);if(B!=null&&B.school_id){const $=yield M(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:M,put:P,select:D}){const B=yield M(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:M,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 M(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:M,select:P}){const{headerData:D}=yield P(B=>B.engineeringEvaluteList);D.active[b[1]]&&(yield M(r.F,D.active[b[1]]))},*compute({payload:R},{call:M,put:P}){const D=R,{all:B}=D,$=_(D,["all"]),j=yield M(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,M){return p(p({},R),M.payload)},setMajorOrYearDataSource(R,{payload:M}){let P=R.headerData.active;return M.active&&(P=y(p({},P),{[M.key]:M.active})),y(p({},R),{headerData:y(p({},R.headerData),{dataSource:y(p({},R.headerData.dataSource),{[M.key]:y(p({},R.headerData.dataSource[M.key]),{dataList:M.value})}),active:P})})},setMajorOrYearActive(R,{payload:M}){return y(p({},R),{headerData:y(p({},R.headerData),{active:y(p({},R.headerData.active),{[M.key]:M.value})})})},setCourseResults(R,{payload:M}){return y(p({},R),{tabListData:p(p({},R.tabListData),M)})}},subscriptions:{setup({dispatch:R,history:M}){return M.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:M,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"},M),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 M},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 M(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,M)=>{var P=$=>{try{B(A.next($))}catch(j){M(j)}},D=$=>{try{B(A.throw($))}catch(j){M(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 M},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 M(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 M},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 M(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 pt},BR:function(){return ne},Bn:function(){return Me},Cq:function(){return Nt},DJ:function(){return Be},Dd:function(){return _},Ds:function(){return ze},EO:function(){return At},Ed:function(){return Ft},F9:function(){return it},FU:function(){return Vt},Fg:function(){return b},GV:function(){return Jt},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 Ie},J2:function(){return Qt},K$:function(){return ye},KP:function(){return mt},KT:function(){return Pe},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 Ue},Pj:function(){return It},QX:function(){return _e},QZ:function(){return we},R2:function(){return Y},Rk:function(){return Cr},S9:function(){return Rt},U8:function(){return Mt},UD:function(){return Sr},U_:function(){return oe},Uy:function(){return hr},V8:function(){return K},Vw:function(){return L},W0:function(){return zt},W7:function(){return tt},WK:function(){return _r},Wr:function(){return Ui},YR:function(){return Ge},Z0:function(){return Oe},ZL:function(){return wt},ZT:function(){return bi},ZX:function(){return dn},Z_:function(){return B},_0:function(){return $},_9:function(){return ut},_B:function(){return di},aP:function(){return Ct},aQ:function(){return bt},aZ:function(){return De},al:function(){return Zt},bm:function(){return Qr},bz:function(){return $e},c_:function(){return yt},ds:function(){return Gr},fN:function(){return Jr},fr:function(){return Kt},g4:function(){return qt},gq:function(){return M},hf:function(){return F},i:function(){return kt},i6:function(){return Lr},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 We},nX:function(){return Dr},oM:function(){return Te},oR:function(){return Yi},o_:function(){return ke},pf:function(){return St},pr:function(){return vi},pv:function(){return lt},qB:function(){return ie},r2:function(){return j},rS:function(){return P},s:function(){return Jn},sb:function(){return et},sm:function(){return y},t1:function(){return Xe},tB:function(){return Nn},tR:function(){return ft},td:function(){return ht},uh:function(){return Ht},up:function(){return gt},v2:function(){return x},vV:function(){return je},w9:function(){return ae},wR:function(){return _n},yS:function(){return fe},yV:function(){return J},yd:function(){return Fe},zg:function(){return de}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Et,ct,Qn)=>ct in Et?i(Et,ct,{enumerable:!0,configurable:!0,writable:!0,value:Qn}):Et[ct]=Qn,h=(Et,ct)=>{for(var Qn in ct||(ct={}))c.call(ct,Qn)&&o(Et,Qn,ct[Qn]);if(l)for(var Qn of l(ct))f.call(ct,Qn)&&o(Et,Qn,ct[Qn]);return Et},u=(Et,ct,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,ct)).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 M(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 L(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 we(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/informs.json`,{method:"get",params:h({},Et)})})}function Pe(Et){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},Et)})})}function Ue(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_videos.json`,{method:"get",params:h({},Et)})})}function Be(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 mt(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 qt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/statistics.json`,{method:"get",params:h({},Et)})})}function Jt(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 ut(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 pt(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 tt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},Et)})})}function ze(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 Te(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 We(Et){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:Et})})}function it(Et){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},Et)})})}function ft(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.identifier}/add_student_groups.json`,{method:"post",body:Et})})}function Vt(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 De(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_students_by_search.json`,{method:"post",body:Et})})}function et(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 Rt(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 Ge(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 Ie(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 ht(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 je(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 Qe(Et){return u(this,null,function*(){return Fetch(`/api/homework_commons/${Et.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},Et)})})}function Oe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function kt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function Fe(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 Qr(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 Or(Et){return u(this,null,function*(){return Fetch(`/api/polls/${Et.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},Et)})})}function hr(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 gt(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 lt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}.json`,{method:"delete",body:Et})})}function Lr(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,ct){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/mark_wrong_topic.json`,{method:"get",params:ct})})}function di(Et,ct){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/cancel_wrong_topic.json`,{method:"get",params:ct})})}function Yi(Et,ct){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et}/allow_end_group.json`,{method:"get",params:ct})})}function Xn(Et,ct){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:ct})})}function Vi(Et,ct){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${Et}/get_content_for_commit_id.json`,{method:"get",params:ct})})}},52721:function(d,g,e){"use strict";e.d(g,{$M:function(){return qt},$P:function(){return Vt},Ax:function(){return x},Dh:function(){return R},FU:function(){return W},GQ:function(){return ne},IN:function(){return ze},JM:function(){return $e},Ju:function(){return Qt},Mn:function(){return tt},Ni:function(){return Q},Pg:function(){return M},Pt:function(){return A},Qp:function(){return Y},R9:function(){return oe},Ux:function(){return le},Vy:function(){return Ue},XJ:function(){return L},XR:function(){return mt},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 pt},qS:function(){return b},qj:function(){return Ft},qt:function(){return it},rV:function(){return P},rZ:function(){return We},rk:function(){return we},rm:function(){return J},sK:function(){return q},sL:function(){return ut},su:function(){return Te},tC:function(){return Pe},tO:function(){return Be},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 ft}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(De,et,Wt)=>et in De?i(De,et,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):De[et]=Wt,h=(De,et)=>{for(var Wt in et||(et={}))c.call(et,Wt)&&o(De,Wt,et[Wt]);if(l)for(var Wt of l(et))f.call(et,Wt)&&o(De,Wt,et[Wt]);return De},u=(De,et,Wt)=>new Promise((Rt,Zt)=>{var Bt=Ge=>{try{Kt(Wt.next(Ge))}catch(fe){Zt(fe)}},At=Ge=>{try{Kt(Wt.throw(Ge))}catch(fe){Zt(fe)}},Kt=Ge=>Ge.done?Rt(Ge.value):Promise.resolve(Ge.value).then(Bt,At);Kt((Wt=Wt.apply(De,et)).next())});const a=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/create_guide.json`,{method:"post",body:De}),x=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/guides.json`,{method:"get",params:De}),p=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.competition_team_id}/edit_info.json`,{method:"put",body:De});function y(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/update_result.json`,{method:"post",body:De})})}function _(De){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},De)})})}function b(De){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:De})})}function A(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"post"})})}function R(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_staff.json`,{method:"get"})})}function M(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/common_header.json`,{method:"get"})})}function P(De){return u(this,null,function*(){return(0,r.ZP)(`/api/${De.url}`,{method:"get",params:h({},De)})})}function D(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/update_md_content.json`,{method:"post",body:De})})}function B(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"get",params:De})})}function $(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.Teannameid}/edit.json`,{method:"get",params:De})})}function j(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.Teannameid}.json`,{method:"put",body:De})})}function K(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.id}/leave.json`,{method:"post",body:De})})}function V(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.id}.json`,{method:"delete"})})}function W(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"post",body:De})})}function oe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/add_managers.json`,{method:"post",body:De})})}function ae(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/join.json`,{method:"post",body:De})})}function ce(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/teachers.json`,{method:"get",params:De})})}function q(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/students.json`,{method:"get",params:De})})}function J(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/crud_team_members.json`,{method:"post",body:De})})}function Y(De){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:De})})}function le(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/chart_rules.json`,{method:"get"})})}function ne(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/charts.json`,{method:"get",params:De})})}function ee(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/results.json`,{method:"get",params:De})})}function ie(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/md_tab_rules.json`,{method:"get",params:De})})}function F(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/prize.json`,{method:"get",params:De})})}function L(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.id}.json`,{method:"get",params:De})})}function Q(De){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:De})})}function de(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/phone_bind.json`,{method:"post",body:De})})}function we(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/email_bind.json`,{method:"post",body:De})})}function Pe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/professional_auth_apply.json`,{method:"delete"})})}function Ue(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/authentication_apply.json`,{method:"delete"})})}function Be(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/prize_leader_account.json`,{method:"put",body:De})})}function Ft(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/shixun_detail.json`,{method:"get"})})}function mt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/course_detail.json`,{method:"get"})})}function Pt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${De.id}.json`,{method:"delete"})})}function Qt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/get_certificate_info.json`,{method:"get",params:De})})}function qt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/basic_setting.json`,{method:"post",body:De})})}function Jt(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Xe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/common_header.json`,{method:"get"})})}function It(De){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:De})})}function Ut(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/search_managers.json`,{method:"get",params:De})})}function ut(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_managers.json`,{method:"get"})})}function bt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/add_managers.json`,{method:"post",body:De})})}function pt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/delete_managers.json`,{method:"delete",body:De})})}function tt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_picture.json`,{method:"get"})})}function ze(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/identifier_exist.json`,{method:"post",body:De})})}function ye(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_shixun_settings.json`,{method:"get"})})}function Te(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_add.json`,{method:"post",body:De})})}function Me(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_delete.json`,{method:"delete",body:De})})}function $e(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_select.json`,{method:"post",body:De})})}function We(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/info_finish.json`,{method:"get"})})}function it(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/competition_review.json`,{method:"post",body:h({},De)})})}function ft(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"get",params:De})})}function Vt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/all_team_members.json`,{method:"get",params:De})})}function Ht(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_commit_records/member_works.json`,{method:"get",params:De})})}},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 M},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 L=we=>{try{de(ee.next(we))}catch(Pe){F(Pe)}},Q=we=>{try{de(ee.throw(we))}catch(Pe){F(Pe)}},de=we=>we.done?ie(we.value):Promise.resolve(we.value).then(L,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}}),M=({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,L=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:L})),(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 L=we=>{try{de(ee.next(we))}catch(Pe){F(Pe)}},Q=we=>{try{de(ee.throw(we))}catch(Pe){F(Pe)}},de=we=>we.done?ie(we.value):Promise.resolve(we.value).then(L,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 pt},CD:function(){return et},Cd:function(){return it},Cl:function(){return Fe},Di:function(){return Jt},Fl:function(){return Ut},G$:function(){return ie},GK:function(){return It},Ip:function(){return ye},J:function(){return F},KE:function(){return ut},L8:function(){return Kt},LP:function(){return Te},MK:function(){return Xe},Mb:function(){return Sr},N0:function(){return V},N3:function(){return Be},OO:function(){return M},P8:function(){return on},PJ:function(){return Q},PT:function(){return hr},Qc:function(){return oe},RK:function(){return ee},Ty:function(){return Qe},UH:function(){return ht},UK:function(){return Ft},Uj:function(){return Ht},Ul:function(){return We},VL:function(){return Zt},Vj:function(){return fe},W4:function(){return Vt},WL:function(){return _e},Wj:function(){return ne},X4:function(){return ze},Xn:function(){return Gr},Xo:function(){return ce},YY:function(){return qt},Ym:function(){return j},Yu:function(){return sr},ZD:function(){return nn},Zg:function(){return Dr},_B:function(){return De},_F:function(){return Or},_U:function(){return J},_u:function(){return de},aU:function(){return K},ab:function(){return kt},cC:function(){return je},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 Qr},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 Ue},n$:function(){return Pe},n7:function(){return q},nF:function(){return Ge},o3:function(){return gt},oS:function(){return Me},oX:function(){return Rt},oy:function(){return Oe},p7:function(){return $},pL:function(){return Wt},pu:function(){return tt},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 mt},ux:function(){return bt},wy:function(){return Pt},xA:function(){return ke},yE:function(){return ae},yu:function(){return Ie},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=(lt,Lr,_n)=>Lr in lt?i(lt,Lr,{enumerable:!0,configurable:!0,writable:!0,value:_n}):lt[Lr]=_n,a=(lt,Lr)=>{for(var _n in Lr||(Lr={}))o.call(Lr,_n)&&u(lt,_n,Lr[_n]);if(f)for(var _n of f(Lr))h.call(Lr,_n)&&u(lt,_n,Lr[_n]);return lt},x=(lt,Lr)=>l(lt,c(Lr)),p=(lt,Lr,_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(lt,Lr)).next())});const y=lt=>(0,r.ZP)(`/api/exercises/${lt==null?void 0:lt.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:lt}),_=lt=>(0,r.ZP)(`/api/exercises/${lt==null?void 0:lt.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:lt}),b=lt=>(0,r.ZP)(`/api/exercises/${lt.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:lt}),A=lt=>(0,r.ZP)(`/api/exercises/${lt.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:lt}),R=lt=>(0,r.ZP)(`/api/exercises/${lt==null?void 0:lt.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:lt}),M=lt=>(0,r.ZP)(`/api/exercises/${lt==null?void 0:lt.exercise_id}/statistics/list_student_score.json`,{method:"get",params:lt}),P=lt=>(0,r.ZP)(`/api/exercises/${lt==null?void 0:lt.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:lt}),D=lt=>(0,r.ZP)(`/api/exercises/${lt==null?void 0:lt.exercise_id}/statistics/score_ranges.json`,{method:"get",params:lt}),B=lt=>(0,r.ZP)(`/api/exercises/${lt.id}/sava_exam_summary.json`,{method:"post",body:lt}),$=lt=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:lt}),j=lt=>(0,r.ZP)(`/api/exercises/${lt.id}/generate_exam_summary.json`,{method:"post",body:lt}),K=lt=>(0,r.ZP)(`/api/exercises/${lt.id}/exam_summary_settings.json`,{method:"post",body:lt}),V=lt=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${lt==null?void 0:lt.exercise_id}/review_exercise_user.json`,{method:"post",body:lt})}),W=lt=>(0,r.ZP)(`/api/exercises/${lt==null?void 0:lt.id}/code_check.json`,{method:"get",params:lt}),oe=lt=>(0,r.ZP)(`/api/exercises/${lt.id}/reset_pwd.json`,{method:"post",body:lt}),ae=lt=>(0,r.ZP)(`/api/exercises/${lt.id}/encrypt_or_decrypt.json`,{method:"post",body:lt}),ce=lt=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.id}/delayed_time_or_force.json`,{method:"post",body:lt})}),q=lt=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${lt==null?void 0:lt.id}/exercise_time.json`,{method:"Get",params:lt})}),J=lt=>(0,r.ZP)(`/api/exercises/${lt==null?void 0:lt.id}/exercise_question_result.json`,{method:"get",params:lt}),Y=lt=>(0,r.ZP)(`/api/exercises/${lt.id}/get_question_type_alias.json`,{method:"get",params:lt});function le(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${lt==null?void 0:lt.id}/teacher_update.json`,{method:"post",body:a({},lt)})})}function ne(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${lt==null?void 0:lt.id}/adjust_comment.json`,{method:"post",body:a({},lt)})})}function ee(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.id}/edit_question_type_alias.json`,{method:"POST",body:lt})})}function ie(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/exercise_lists.json`,{method:"get",params:a({},lt)})})}function F(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},lt)})})}function L(lt){return p(this,null,function*(){return Fetch(`/api/exercises/${lt.categoryId}/video_push_url.json`,{method:"get",params:a({},lt)})})}function Q(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},lt)})})}function de(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/exercise_result.json`,{method:"get",params:a({},lt)})})}function we(lt){return p(this,null,function*(){return Fetch(`/api/exercises/${lt.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},lt)})})}function Pe(lt){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},lt)})})}function Ue(lt){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},lt)})})}function Be(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${lt.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},lt)})})}function Ft(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/common_header.json`,{method:"get",params:a({},lt)})})}function mt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${lt.coursesId}/exercises.json`,{method:"post",body:a({},lt)})})}function Pt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.exerciseId}.json`,{method:"put",body:a({},lt)})})}function Qt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}.json`,{method:"get",params:a({},lt)})})}function qt(lt){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},lt)})})}function Jt(lt){return p(this,null,function*(){const{id:Lr}=lt;return delete lt.id,(0,r.ZP)(`/api/exercise_questions/${Lr}.json`,{method:"put",body:a({},lt)})})}function Xe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/exercise_questions.json`,{method:"post",body:a({},lt)})})}function It(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${lt.id}/up_down.json`,{method:"post",body:a({},lt)})})}function Ut(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${lt.id}.json`,{method:"delete"})})}function ut(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${lt.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},lt)})})}function bt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/publish_groups.json`,{method:"get",params:a({},lt)})})}function pt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},lt)})})}function tt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.exerciseId}/consult_exercise.json`,{method:"post",body:a({},lt)})})}function ze(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},lt)})})}function ye(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${lt.id}/adjust_score.json`,{method:"post",body:a({},lt)})})}function Te(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${lt.id}/batch_adjust_score.json`,{method:"post",body:a({},lt)})})}function Me(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.id}/adjust_score.json`,{method:"post",body:a({},lt)})})}function $e(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.id}/delayed_time.json`,{method:"post",body:a({},lt)})})}function We(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/exercise_setting.json`,{method:"get",params:a({},lt)})})}function it(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${lt.categoryId}/exercise_setting.json`,{method:"get",params:a({},lt)})})}function ft(lt){return p(this,null,function*(){return Fetch(`/api/exercises/${lt.categoryId}/commit_setting.json`,{method:"post",body:a({},lt)})})}function Vt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},lt)})})}function Ht(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},lt),{export:!0})})})}function De(lt){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},lt),{login:null})})}function et(lt){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/start.json`,{method:"get",params:a({},lt)})}function Wt(lt){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/start_unlock.json`,{method:"post",body:a({},lt)})}function Rt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${lt.questionId}/exercise_answers.json`,{method:"post",body:lt})})}function Zt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/commit_exercise.json`,{method:"post",body:lt})})}function Bt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/simulate_commit_exercise.json`,{method:"post",body:lt})})}function At(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/redo_exercise.json`,{method:"post",body:lt})})}function Kt(lt){return(0,r.ZP)(`/api/${lt.url}`,{method:"get",params:a({},lt)})}function Ge(lt){return(0,r.ZP)(`/api/problems/${lt.id}/start.json`,{method:"get",params:a({},lt)})}function fe(lt){return(0,r.ZP)(`/api/exercises/${lt.id}/begin_commit.json`,{method:"get",params:a({},lt)})}function _e(lt){return(0,r.ZP)(`/api/exercises/${lt.id}/simulate_begin_commit.json`,{method:"get",params:a({},lt)})}function Ot(lt){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},lt)})}function Ie(lt){return console.log("params:",lt),(0,r.ZP)(`/api/exercises/${lt.categoryId}/edit.json`,{method:"get",params:a({},lt)})}function ht(lt){return(0,r.ZP)(`/api/exercises/${lt.id}/get_objective_scores.json`,{method:"get",params:a({},lt)})}function zt(lt){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/redo_modal.json`,{method:"get",params:a({},lt)})}function Ct(lt){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/student_redo_lists.json`,{method:"get",params:a({},lt)})}function ke(lt){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:lt})}function wt(lt){return(0,r.ZP)(`/api/exercises/${lt.id}/exercise_header.json`,{method:"get",params:a({},lt)})}function je(lt){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/allow_close_camera.json`,{method:"post",body:a({},lt)})}function Qe(lt){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},lt)})}function Oe(lt){return(0,r.ZP)(`/api/exercises/${lt.id}/record_screen`,{method:"post",params:a({},lt)})}function kt(lt){return(0,r.ZP)(`/api/exercises/${lt.id}/unbind_ip.json`,{method:"post",body:a({},lt)})}function Fe(lt){return(0,r.ZP)(`/api/exercises/${lt.id}/check_ip.json`,{method:"get",params:a({},lt)})}function Dr(lt){return(0,r.ZP)(`/api/exercises/${lt==null?void 0:lt.id}/check_user_exercise.json`,{method:"get",params:a({},lt)})}function St(lt){return Fetch(`/api/exercises/${lt.id}/make_up_students.json`,{method:"get",params:a({},lt)})}function Gr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${lt.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},lt)})})}function Qr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${lt.question_id}/adjust_score.json`,{method:"post",body:a({},lt)})})}function Sr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${lt.categoryId}/simulate_exercise.json`,{method:"post",body:a({},lt)})})}function Or(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},lt)})})}function hr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/exercise_time.json`,{method:"get",params:a({},lt)})})}function $r(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt.categoryId}/commit_screen_at.json`,{method:"post",body:a({},lt)})})}function nn(lt,Lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt}/unlock_user`,{method:"post",body:Lr})})}function on(lt,Lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt}/save_screen_record.json`,{method:"post",body:Lr})})}function sr(lt,Lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt}/screen_record_list.json`,{method:"get",params:Lr})})}function Mt(lt){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},lt)})})}function gt(lt){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:lt})})}function yt(lt,Lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${lt}/mark.json`,{method:"post",body:Lr})})}function Nt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${lt}/exit_delete_pod.json`,{method:"post",body:lt})})}function Cr(lt){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:lt})})}function vr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${lt==null?void 0:lt.id}/send_to_item_bank.json`,{method:"post",body:a({},lt)})})}},67508:function(d,g,e){"use strict";e.d(g,{B0:function(){return p},Si:function(){return M},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 M(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 M=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(M,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 M},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 M(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 M},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 L}});var r=e(99064),i=(Q,de,we)=>new Promise((Pe,Ue)=>{var Be=Pt=>{try{mt(we.next(Pt))}catch(Qt){Ue(Qt)}},Ft=Pt=>{try{mt(we.throw(Pt))}catch(Qt){Ue(Qt)}},mt=Pt=>Pt.done?Pe(Pt.value):Promise.resolve(Pt.value).then(Be,Ft);mt((we=we.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 M(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 L(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)}},M=D=>{try{P(_.throw(D))}catch(B){A(B)}},P=D=>D.done?b(D.value):Promise.resolve(D.value).then(R,M);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=(M,P,D)=>P in M?i(M,P,{enumerable:!0,configurable:!0,writable:!0,value:D}):M[P]=D,h=(M,P)=>{for(var D in P||(P={}))c.call(P,D)&&o(M,D,P[D]);if(l)for(var D of l(P))f.call(P,D)&&o(M,D,P[D]);return M},u=(M,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(M,P)).next())});function a(M){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},M)})})}function x(M){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${M.userId}/unread_message_info.json`,{method:"get",params:h({},M)})})}function p(M){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${M.userId}/private_messages.json`,{method:"get",params:h({},M)})})}function y(M){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${M.userId}/private_messages.json`,{method:"post",body:h({},M)})})}function _(M){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${M.id}/recent_contacts.json`,{method:"get",params:h({},M)})})}function b(M){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},M)})})}function A(M){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${M.userId}/private_message_details.json`,{method:"get",params:h({},M)})})}function R(M){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${M.userId}/private_messages/${M.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 M},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 M(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 we},Gd:function(){return _},Hb:function(){return Pe},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 Ue},kp:function(){return D},lc:function(){return P},oF:function(){return ie},q$:function(){return h},qN:function(){return oe},tS:function(){return M},ts:function(){return $},un:function(){return Y},w0:function(){return le},wX:function(){return J},yE:function(){return f}});var r=e(99064),i=(Be,Ft,mt)=>new Promise((Pt,Qt)=>{var qt=It=>{try{Xe(mt.next(It))}catch(Ut){Qt(Ut)}},Jt=It=>{try{Xe(mt.throw(It))}catch(Ut){Qt(Ut)}},Xe=It=>It.done?Pt(It.value):Promise.resolve(It.value).then(qt,Jt);Xe((mt=mt.apply(Be,Ft)).next())});const l=Be=>(0,r.ZP)(`/api/examination_banks/${Be==null?void 0:Be.id}/code_check.json`,{method:"get",params:Be}),c=Be=>(0,r.ZP)(`/api/examination_banks/${Be.id}/reset_pwd.json`,{method:"post",body:Be}),f=Be=>(0,r.ZP)(`/api/examination_banks/${Be.id}/encrypt_or_decrypt.json`,{method:"post",body:Be}),o=Be=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:Be}),h=Be=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:Be}),u=Be=>(0,r.ZP)(`/api/examination_banks/${Be.id}/copy.json`,{method:"post",body:Be}),a=Be=>(0,r.ZP)(`/api/examination_banks/${Be.id}/get_question_type_alias.json`,{method:"get",params:Be});function x(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}/edit_question_type_alias.json`,{method:"POST",body:Be})})}function p(Be){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:Be})})}function y(Be){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:Be})})}function _(Be){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:Be})})}function b(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}/set_public.json`,{method:"post"})})}function A(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}/set_private.json`,{method:"post"})})}function R(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}.json`,{method:"delete"})})}function M(Be){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Be})})}const P=Be=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:Be});function D(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}/send_to_course.json`,{method:"post",body:Be})})}function B(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}.json`,{method:"get",params:Be})})}function $(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}/examination_banks_item_banks/${Be.itemId}/set_score`,{method:"post",body:Be})})}function j(Be){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Be.id}/examination_banks_item_banks/${Be.itemId}/set_shixun_score.json`,{method:"post",body:Be})})}function K(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}/examination_banks_item_banks/${Be.itemId}.json`,{method:"delete"})})}function V(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:Be})})}function W(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:Be})})}function oe(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}/examination_banks_item_banks/${Be.itemId}/adjust_position.json`,{method:"post",body:Be})})}function ae(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}.json`,{method:"put",body:Be})})}function ce(Be){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Be})})}function q(Be){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:Be})})}function J(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be==null?void 0:Be.id}/set_public.json`,{method:"post",body:Be})})}function Y(Be){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:Be})})}function le(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}/update_exam.json`,{method:"put",body:Be})})}function ne(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}/edit_exam.json`,{method:"get"})})}function ee(Be,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Be}/examination_banks_item_banks.json`,{method:"post",body:Ft})})}function ie(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:Be})})}function F(Be,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Be}/sort_question_type.json`,{method:"post",body:Ft})})}function L(Be){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Be.exam_id}/examination_banks_item_banks/${Be.question_id}.json`,{method:"delete"})})}function Q(Be,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Be}/batch_set_score.json`,{method:"post",body:Ft})})}function de(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be}/simulate_exercise.json`,{method:"post"})})}function we(Be){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Be}/exercise_header.json`,{method:"get"})})}function Pe(Be,Ft,mt){return i(this,null,function*(){const Pt=new FormData;return Pt.append("file",Ft),Pt.append("sub_discipline_id",mt),(0,r.ZP)(`/api/examination_banks/${Be}/import_item_banks.json`,{method:"post",body:Pt},!0)})}function Ue(Be){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:Be})})}},86248:function(d,g,e){"use strict";e.d(g,{$D:function(){return Y},A2:function(){return Me},A7:function(){return ke},AQ:function(){return V},Ax:function(){return Wt},Bn:function(){return Qe},CI:function(){return ft},DQ:function(){return Ie},DU:function(){return bt},EP:function(){return J},Ep:function(){return Te},Er:function(){return we},Ex:function(){return Bt},FD:function(){return ht},F_:function(){return ut},Fg:function(){return y},GY:function(){return fe},Go:function(){return L},Gz:function(){return _},Hl:function(){return b},JS:function(){return Qt},KM:function(){return ee},M2:function(){return We},MO:function(){return Pe},Mt:function(){return it},Mu:function(){return Rt},NV:function(){return je},Q:function(){return Ue},Sp:function(){return K},VO:function(){return zt},WD:function(){return Ge},WO:function(){return de},WW:function(){return At},Xz:function(){return a},_C:function(){return wt},_V:function(){return et},bw:function(){return q},bz:function(){return Ot},c3:function(){return Pt},eJ:function(){return F},ef:function(){return Ut},fh:function(){return P},fj:function(){return Q},hS:function(){return A},jT:function(){return Ct},ke:function(){return Kt},lk:function(){return j},mQ:function(){return $},ms:function(){return Ht},mx:function(){return Ft},nq:function(){return p},ol:function(){return _e},p:function(){return oe},p4:function(){return Be},pU:function(){return B},rS:function(){return qt},rs:function(){return ie},s0:function(){return $e},sm:function(){return mt},tS:function(){return R},tu:function(){return D},ue:function(){return W},vf:function(){return ze},w4:function(){return ae},w6:function(){return x},xG:function(){return ye},xn:function(){return tt},yN:function(){return ce},yy:function(){return De}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Oe,kt,Fe)=>kt in Oe?i(Oe,kt,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):Oe[kt]=Fe,h=(Oe,kt)=>{for(var Fe in kt||(kt={}))c.call(kt,Fe)&&o(Oe,Fe,kt[Fe]);if(l)for(var Fe of l(kt))f.call(kt,Fe)&&o(Oe,Fe,kt[Fe]);return Oe},u=(Oe,kt,Fe)=>new Promise((Dr,St)=>{var Gr=Or=>{try{Sr(Fe.next(Or))}catch(hr){St(hr)}},Qr=Or=>{try{Sr(Fe.throw(Or))}catch(hr){St(hr)}},Sr=Or=>Or.done?Dr(Or.value):Promise.resolve(Or.value).then(Gr,Qr);Sr((Fe=Fe.apply(Oe,kt)).next())});const a=Oe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/paths/${Oe==null?void 0:Oe.id}/new_statistics.json`,{method:"Get",params:Oe})}),x=Oe=>u(void 0,null,function*(){return(0,r.ZP)("/api/zz_classrooms/statistics/subject_statistics.json",{method:"post",body:Oe})}),p=Oe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:Oe})}),y=Oe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:Oe})}),_=Oe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:Oe})}),b=Oe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:Oe})}),A=Oe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:Oe})});function R(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},Oe)})})}function M(Oe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},Oe)})})}function P(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},Oe)})})}function D(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}.json`,{method:"PUT",body:Oe})})}function B(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:Oe})})}function $(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/edit.json`,{method:"get"})})}function j(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}.json`,{method:"get",params:h({identifier:Oe.id},Oe)})})}function K(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.id}.json`,{method:"get",params:h({identifier:Oe.id},Oe)})})}function V(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/right_banner.json`,{method:"get",params:Oe})})}function W(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/spoc_courses.json`,{method:"get",params:Oe})})}const oe=Oe=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:Oe})}),ae=Oe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${Oe.id}/children.json`,{method:"Get",params:Oe})});function ce(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:Oe})})}function q(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/update_team_title.json`,{method:"post",body:Oe})})}function J(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/delete_member.json`,{method:"Delete",body:Oe})})}function Y(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/spoc_courses/${Oe==null?void 0:Oe.courseid}.json`,{method:"Delete"})})}function le(Oe){return u(this,null,function*(){return Fetch(`/api/paths/${Oe.id}/up_member_position.json`,{method:"post",body:Oe})})}function ne(Oe){return u(this,null,function*(){return Fetch(`/api/paths/${Oe.id}/down_member_position.json`,{method:"post",body:Oe})})}function ee(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:Oe})})}function ie(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:Oe})})}function F(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}.json`,{method:"Delete",body:Oe})})}function L(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/publish.json`,{method:"post",body:Oe})})}function Q(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/cancel_publish.json`,{method:"post",body:Oe})})}function de(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/apply_public.json`,{method:"post",body:Oe})})}function we(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/cancel_public.json`,{method:"post",body:Oe})})}function Pe(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/choose_course.json`,{method:"get",params:Oe})})}function Ue(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/send_to_course.json`,{method:"post",body:Oe})})}function Be(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Oe.id}/send_to_course.json`,{method:"post",body:Oe})})}function Ft(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/add_subject_members.json`,{method:"post",body:Oe})})}function mt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/spoc_courses.json`,{method:"post",body:Oe})})}function Pt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/appointment.json`,{method:"post",body:Oe})})}function Qt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.id}/join_excellent_course.json`,{method:"post",body:Oe})})}function qt(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:Oe})})}function Jt(Oe){return u(this,null,function*(){return Fetch(`/api/paths/${Oe.id}/statistics_info.json`,{method:"get",params:Oe})})}function Xe(Oe){return u(this,null,function*(){return Fetch(`/api/paths/${Oe.id}/shixun_analyze.json`,{method:"get",params:Oe})})}function It(Oe){return u(this,null,function*(){return Fetch(`/api/paths/${Oe.id}/learning_analyze.json`,{method:"get",params:Oe})})}function Ut(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/learning_statistics.json`,{method:"get",params:Oe})})}function ut(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/shixun_statistics.json`,{method:"get",params:Oe})})}function bt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/study_analyze/${Oe.type}.json`,{method:"get",params:Oe})})}function pt(Oe){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:Oe})})}function tt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Oe.id}.json`,{method:"put",body:Oe})})}function ze(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Oe.id}/add_shixun_to_stage.json`,{method:"post",body:Oe})})}const ye=Oe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${Oe==null?void 0:Oe.stage_id}/select_challenge_to_stage.json`,{method:"post",body:Oe})});function Te(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Oe.id}/select_shixun_to_stage.json`,{method:"post",body:Oe})})}function Me(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Oe.id}/add_video_to_stage.json`,{method:"post",body:Oe})})}function $e(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Oe.id}/add_attachment_to_stage.json`,{method:"post",body:Oe})})}function We(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Oe.id}.json`,{method:"put",body:Oe})})}function it(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Oe.id}/add_blank_to_stage.json`,{method:"post",body:Oe})})}function ft(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:Oe})})}function Vt(Oe){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:Oe})})}function Ht(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Oe.id}/up_position.json`,{method:"get"})})}function De(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Oe.id}/down_position.json`,{method:"get"})})}function et(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Oe.id}.json`,{method:"delete"})})}function Wt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.pathId}/discusses.json`,{method:"get",params:h({},Oe)})})}function Rt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/excellent_discusses.json`,{method:"get",params:h({},Oe)})})}function Zt(Oe){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},Oe)})})}function Bt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Oe.stage_id}/items/move_position`,{method:"post",body:h({},Oe)})})}function At(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Oe.stage_id}/items/${Oe.id}`,{method:"delete"})})}function Kt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.id}/excellent_discuss`,{method:"post",body:h({},Oe)})})}function Ge(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Oe.id}/post_discuss`,{method:"post",body:h({},Oe)})})}function fe(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:Oe})})}function _e(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:Oe})})}function Ot(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Oe})})}function Ie(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Oe==null?void 0:Oe.id}/add_homework_to_stage.json`,{method:"post",body:Oe})})}function ht(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Oe==null?void 0:Oe.id}/edit.json`,{method:"get",params:Oe})})}function zt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Oe==null?void 0:Oe.id}.json`,{method:"put",body:Oe})})}function Ct(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Oe==null?void 0:Oe.user_id}/subjects/subject_homework.json`,{method:"get",params:Oe})})}function ke(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Oe==null?void 0:Oe.user_id}/courses/course_homework.json`,{method:"get",params:Oe})})}function wt(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Oe==null?void 0:Oe.id}/batch_add_homework_to_stage.json`,{method:"post",body:Oe})})}function je(Oe){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:Oe})})}function Qe(Oe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Oe==null?void 0:Oe.user_login}/subjects/cancel.json`,{method:"get",params:Oe})})}},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 M},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=(L,Q,de)=>Q in L?i(L,Q,{enumerable:!0,configurable:!0,writable:!0,value:de}):L[Q]=de,h=(L,Q)=>{for(var de in Q||(Q={}))c.call(Q,de)&&o(L,de,Q[de]);if(l)for(var de of l(Q))f.call(Q,de)&&o(L,de,Q[de]);return L},u=(L,Q,de)=>new Promise((we,Pe)=>{var Ue=mt=>{try{Ft(de.next(mt))}catch(Pt){Pe(Pt)}},Be=mt=>{try{Ft(de.throw(mt))}catch(Pt){Pe(Pt)}},Ft=mt=>mt.done?we(mt.value):Promise.resolve(mt.value).then(Ue,Be);Ft((de=de.apply(L,Q)).next())});const a=L=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${L==null?void 0:L.id}/commit_word_cloud.json`,{method:"Get",params:L})});function x(L){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${L.categoryId}/poll_lists.json`,{method:"get",params:h({},L)})})}function p(L){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${L.categoryId}/common_header.json`,{method:"get"})})}function y(L){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${L.categoryId}/poll_setting.json`,{method:"get"})})}function _(L){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${L.categoryId}/commit_setting.json`,{method:"post",body:h({},L)})})}function b(L){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${L.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},L)})})}function A(L){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${L.categoryId}/publish_groups.json`,{method:"get",params:h({},L)})})}function R(L){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${L.categoryId}/commit_result.json`,{method:"get",params:h({},L)})})}function M(L){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},L)})})}function P(L){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},L)})})}function D(L){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${L.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},L)})})}function B(L){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${L.coursesId}/polls.json`,{method:"POST",body:h({},L)})})}function $(L){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${L.categoryId}/edit.json`,{method:"get"})})}function j(L){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${L.pollsId}.json`,{method:"put",body:h({},L)})})}function K(L){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${L.pollsId}.json`,{method:"put",body:h({},L)})})}function V(L){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${L.pollsId}/poll_questions.json`,{method:"post",body:h({},L)})})}function W(L){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${L.pollsId}.json`,{method:"delete",body:h({},L)})})}function oe(L){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${L.pollsId}/up_down.json`,{method:"post",body:h({},L)})})}function ae(L){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${L.topicId}.json`,{method:"get"})})}function ce(L){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${L.topicId}.json`,{method:"put",body:h({},L)})})}function q(L){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${L.topicId}.json`,{method:"put",body:h({},L)})})}function J(L){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${L.pollsId}.json`,{method:"delete",body:h({},L)})})}function Y(L){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${L.pollsId}/up_down.json`,{method:"post",body:h({},L)})})}function le(L){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},L)})})}function ne(L){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${L.pollsId}.json`,{method:"put",body:h({},L)})})}function ee(L){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${L.id}.json`,{method:"put",body:h({},L)})})}function ie(L){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},L)})})}function F(L){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${L.exerciseId}/up_down.json`,{method:"post",body:h({},L)})})}},16149:function(d,g,e){"use strict";e.d(g,{$c:function(){return it},A1:function(){return $e},Bd:function(){return D},Bo:function(){return q},Cc:function(){return le},Cn:function(){return ie},DF:function(){return M},Dm:function(){return Xe},FG:function(){return ce},GW:function(){return It},HF:function(){return V},Hm:function(){return L},IJ:function(){return Me},L5:function(){return Jt},LS:function(){return ut},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 pt},RT:function(){return De},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 ft},d1:function(){return y},dt:function(){return Vt},et:function(){return de},ex:function(){return b},fY:function(){return we},fn:function(){return P},hI:function(){return mt},hg:function(){return ze},iT:function(){return J},lS:function(){return Be},nD:function(){return Ut},qN:function(){return Q},rV:function(){return j},s:function(){return Ue},sD:function(){return Te},sS:function(){return qt},ts:function(){return Y},vi:function(){return We},wX:function(){return tt},x5:function(){return K},zh:function(){return Pe}});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=(et,Wt,Rt)=>Wt in et?i(et,Wt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):et[Wt]=Rt,a=(et,Wt)=>{for(var Rt in Wt||(Wt={}))o.call(Wt,Rt)&&u(et,Rt,Wt[Rt]);if(f)for(var Rt of f(Wt))h.call(Wt,Rt)&&u(et,Rt,Wt[Rt]);return et},x=(et,Wt)=>l(et,c(Wt)),p=(et,Wt,Rt)=>new Promise((Zt,Bt)=>{var At=fe=>{try{Ge(Rt.next(fe))}catch(_e){Bt(_e)}},Kt=fe=>{try{Ge(Rt.throw(fe))}catch(_e){Bt(_e)}},Ge=fe=>fe.done?Zt(fe.value):Promise.resolve(fe.value).then(At,Kt);Ge((Rt=Rt.apply(et,Wt)).next())});function y(et){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},et),{clazz:"ItemBanksGroup"})})})}function _(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:et})})}function b(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:et})})}function A(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:et})})}function R(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}/set_private.json`,{method:"post"})})}function M(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}/set_public.json`,{method:"post"})})}function P(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}.json`,{method:"delete"})})}function D(et){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${et.id}/start.json`,{method:"get"})})}function B(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${et.id}.json`,{method:"delete",body:a({},et)})})}function $(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:et})})}function j(et){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:et})})}function K(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:et.type}})})}function V(et){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:et})})}function W(et){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:et})})}function oe(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}.json`,{method:"put",body:et})})}function ae(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:et})})}function ce(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}/edit.json`,{method:"get"})})}function q(et){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${et.id}/edit.json`,{method:"get"})})}function J(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:et})})}function Y(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${et.id}/set_score.json`,{method:"post",body:et})})}function le(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${et.id}/set_challenge_score.json`,{method:"post",body:et})})}function ne(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${et.id}/combination_set_score.json`,{method:"post",body:et})})}function ee(et){return p(this,null,function*(){return Fetch(`/api/examination_banks//${et.exerid}/examination_banks_item_banks/${et.id}/combination_set_score.json`,{method:"post",body:et})})}function ie(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${et.id}.json`,{method:"delete"})})}function F(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:et})})}function L(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:et})})}function Q(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${et.id}/adjust_position.json`,{method:"post",body:et})})}function de(et){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:et})})}function we(et){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${et.id}/revoke_item.json`,{method:"delete",body:et})})}function Pe(et){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${et.exam_id}/examination_banks_item_banks.json`,{method:"post",body:et})})}function Ue(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}/join_to_collection.json`,{method:"post",params:et})})}function Be(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}/cancel_collection.json`,{method:"post",params:et})})}function Ft(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:et})})}function mt(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:et})})}function Pt(et){return p(this,null,function*(){return Fetch(`/api/item_banks/${et.id}/join_to_group.json`,{method:"post",body:et})})}function Qt(et){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${et.id}.json`,{method:"put",body:et})})}function qt(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:et})})}function Jt(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}/feedback.json`,{method:"post",body:et})})}function Xe(et){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:et})})}function It(et){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:et})})}function Ut(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:et})})}function ut(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:et})})}function bt(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:et})})}function pt(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:et})})}function tt(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et==null?void 0:et.id}/set_public.json`,{method:"post",body:et})})}function ze(et){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:et})})}function ye(et){return(0,r.ZP)(`/api/problems/${et.identifier}/publish.json`,{method:"post",body:et})}function Te(et){return(0,r.ZP)(`/api/problems/${et.identifier}/cancel_publish.json`,{method:"post",body:et})}function Me(et){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...et.id]}})}function $e(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${et.id}/up_position.json`,{method:"get",params:et})})}function We(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${et.id}/down_position.json`,{method:"get",params:et})})}function it(et){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${et.id}/edit_hack.json`,{method:"get",params:et})})}function ft(et){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:et})})}function Vt(et){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:et})})}function Ht(et){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:et})})}function De(){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 We},Be:function(){return tt},Dx:function(){return ne},Fr:function(){return _e},G$:function(){return R},GS:function(){return W},Gw:function(){return A},H:function(){return qt},H1:function(){return Jt},Hj:function(){return ft},JA:function(){return Ht},JG:function(){return le},KE:function(){return F},Lz:function(){return Me},Mf:function(){return Qt},NA:function(){return mt},PC:function(){return Be},PP:function(){return Ft},PW:function(){return ut},Q3:function(){return ee},QC:function(){return De},Qt:function(){return $e},Qz:function(){return D},R$:function(){return Ge},RP:function(){return ce},Ti:function(){return Ct},Uc:function(){return Zt},Ul:function(){return J},VB:function(){return ht},Vs:function(){return Bt},Wr:function(){return M},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 ze},cz:function(){return Pe},fK:function(){return V},gG:function(){return Ue},gZ:function(){return Rt},h$:function(){return j},ku:function(){return Te},lf:function(){return Q},m7:function(){return Y},mQ:function(){return B},mz:function(){return pt},n$:function(){return L},oK:function(){return y},oN:function(){return zt},pH:function(){return it},pb:function(){return Ie},qP:function(){return et},ql:function(){return Wt},rN:function(){return ye},sw:function(){return de},t1:function(){return we},to:function(){return ae},ub:function(){return Vt},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,je)=>wt in ke?i(ke,wt,{enumerable:!0,configurable:!0,writable:!0,value:je}):ke[wt]=je,a=(ke,wt)=>{for(var je in wt||(wt={}))o.call(wt,je)&&u(ke,je,wt[je]);if(f)for(var je of f(wt))h.call(wt,je)&&u(ke,je,wt[je]);return ke},x=(ke,wt)=>l(ke,c(wt)),p=(ke,wt,je)=>new Promise((Qe,Oe)=>{var kt=St=>{try{Dr(je.next(St))}catch(Gr){Oe(Gr)}},Fe=St=>{try{Dr(je.throw(St))}catch(Gr){Oe(Gr)}},Dr=St=>St.done?Qe(St.value):Promise.resolve(St.value).then(kt,Fe);Dr((je=je.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})}),M=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 L(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 we(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 Pe(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 Ue(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 Be(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 mt(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 qt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/update_explanation.json`,{method:"post",body:a({},ke)})})}function Jt(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 ut(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 pt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/revise_attachment.json`,{method:"post",body:a({},ke)})})}function tt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.commonHomeworkId}/student_works.json`,{method:"post",body:a({},ke)})})}function ze(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 Te(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 We(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/edit.json`,{method:"get",params:a({},ke)})})}function it(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${ke.id}.json`,{method:"get",params:a({},ke)})})}function ft(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}.json`,{method:"get",params:a({},ke)})})}function Vt(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 De(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/destroy_score.json`,{method:"delete",body:a({},ke)})})}function et(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 Rt(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 Ge(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 Ie(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/update_des.json`,{method:"post",body:a({},ke)})})}function ht(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 Or},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 gt},E4:function(){return Jt},EH:function(){return Q},Ee:function(){return _n},Er:function(){return ne},FB:function(){return j},Fg:function(){return A},GI:function(){return Pe},Gr:function(){return pt},Gu:function(){return we},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 Fe},K:function(){return Nt},K0:function(){return Lr},KM:function(){return q},K_:function(){return $r},LK:function(){return Dr},LP:function(){return Ue},Ne:function(){return le},OV:function(){return Ft},OW:function(){return L},Op:function(){return Sr},P2:function(){return Pt},Po:function(){return D},Ps:function(){return tt},Q:function(){return Y},Q1:function(){return Cr},QA:function(){return vi},Ql:function(){return ye},Rs:function(){return De},SG:function(){return Vi},Tn:function(){return Kt},Tr:function(){return di},U0:function(){return We},U9:function(){return ze},UQ:function(){return Ie},Ui:function(){return hr},Vx:function(){return lt},WO:function(){return ee},WT:function(){return Yi},Wi:function(){return ut},Wl:function(){return je},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 Te},al:function(){return Vt},b8:function(){return F},bq:function(){return Ge},dK:function(){return W},e:function(){return R},eX:function(){return de},eb:function(){return et},fL:function(){return kt},h4:function(){return vr},hS:function(){return _},he:function(){return M},hn:function(){return ae},ii:function(){return Ht},im:function(){return Ot},j8:function(){return Be},jq:function(){return Qr},kF:function(){return Gr},km:function(){return ft},l3:function(){return mt},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 Rt},rs:function(){return ce},sr:function(){return ht},t2:function(){return ke},tX:function(){return Un},uo:function(){return it},v3:function(){return Oe},w:function(){return Qe},xK:function(){return At},xg:function(){return Wt},xk:function(){return qt},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=(ct,Qn,xi)=>Qn in ct?i(ct,Qn,{enumerable:!0,configurable:!0,writable:!0,value:xi}):ct[Qn]=xi,a=(ct,Qn)=>{for(var xi in Qn||(Qn={}))o.call(Qn,xi)&&u(ct,xi,Qn[xi]);if(f)for(var xi of f(Qn))h.call(Qn,xi)&&u(ct,xi,Qn[xi]);return ct},x=(ct,Qn)=>l(ct,c(Qn)),p=(ct,Qn,xi)=>new Promise((qn,Wi)=>{var hi=tr=>{try{bn(xi.next(tr))}catch(vt){Wi(vt)}},ni=tr=>{try{bn(xi.throw(tr))}catch(vt){Wi(vt)}},bn=tr=>tr.done?qn(tr.value):Promise.resolve(tr.value).then(hi,ni);bn((xi=xi.apply(ct,Qn)).next())});const y=ct=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:ct})}),_=ct=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:ct})}),b=ct=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:ct})}),A=ct=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:ct})}),R=ct=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:ct})});function M(ct){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},ct)})})}function P(ct){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},ct||{})})})}function D(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}.json`,{method:"Get",params:ct})})}function B(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/show_right.json`,{method:"Get"})})}function $(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges.json`,{method:"Get"})})}function j(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:ct.save_type}})})}function K(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/jupyter_exec.json${ct.reset?`?reset=${ct.reset}`:""}`,{method:"Get",params:ct})})}function V(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/shixun_exec.json${ct.reset?`?reset=${ct.reset}`:""}`,{method:"Get",params:ct})})}function W(ct){return p(this,null,function*(){return(0,r.ZP)(ct.url,{method:"Get"})})}function oe(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.shixun_identifier}/challenges/${ct.challenge_id}/index_up.json`,{method:"Get"})})}function ae(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.shixun_identifier}/challenges/${ct.challenge_id}/index_down.json`,{method:"Get"})})}function ce(ct){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:ct.container_id,container_type:ct.container_type}})})}function q(ct){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:ct.container_id,container_type:ct.container_type}})})}function J(ct){return p(this,null,function*(){const{id:Qn}=ct||{};return(0,r.ZP)(`/api/shixuns/${Qn}/search_user_courses.json`,{method:"Get",params:ct})})}function Y(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct==null?void 0:ct.id}/send_to_course.json`,{method:"Post",body:a({},ct)})})}function le(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/cancel_publish.json`,{method:"Get"})})}function ne(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/cancel_apply_public.json`,{method:"Get"})})}function ee(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/apply_public.json`,{method:"post",body:a({},ct)})})}function ie(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/publish.json`,{method:"Get"})})}function F(ct){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function L(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${ct.id}.json`,{method:"delete"})})}function Q(ct){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:ct})})}function de(ct){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:ct})})}function we(ct){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:ct})})}function Pe(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/review_newest_record.json`,{method:"Get"})})}function Ue(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/review_shixun.json`,{method:"post",body:ct})})}function Be(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/collaborators.json`,{method:"Get",params:ct})})}function Ft(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/shixun_members_added.json`,{method:"post",body:ct})})}function mt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.identifier}/add_members_group.json`,{method:"post",body:ct})})}function Pt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/change_manager.json`,{method:"Get",params:ct})})}function Qt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/change_manager.json`,{method:"post",body:ct})})}function qt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/collaborators_delete.json`,{method:"delete",body:{user_id:ct.userId}})})}function Jt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/ranking_list.json`,{method:"Get"})})}function Xe(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/settings.json`,{method:"Get"})})}function It(ct){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:ct.mirror_id}})})}function Ut(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/get_script_contents.json`,{method:"Get",params:ct})})}function ut(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/get_custom_script.json`,{method:"Get",params:ct})})}function bt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/update_for_jupyter.json`,{method:"put",body:ct})})}function pt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/shixun_quotes.json`,{method:"Get"})})}function tt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}.json`,{method:"delete"})})}function ze(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/close.json`,{method:"post",body:ct})})}function ye(ct){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:ct})})}function Te(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/update_permission_setting.json`,{method:"post",body:ct})})}function Me(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/update_learn_setting.json`,{method:"post",body:ct})})}function $e(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/update_setting`,{method:"post",body:ct})})}function We(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/get_data_sets.json`,{method:"Get",params:ct})})}function it(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/destroy_data_sets.json`,{method:"Delete",body:{id:ct.deleteId}})})}function ft(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/new.json`,{method:"get"})})}function Vt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.identifier}/challenges.json`,{method:"post",body:a({},ct)})})}function Ht(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengeId}/edit.json`,{method:"get",params:{tab:ct.tab}})})}function De(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengesId}.json`,{method:"put",body:a({},ct)})})}function et(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengesId}/choose_questions.json`,{method:"get"})})}function Wt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/move_position.json`,{method:"post",body:a({},ct)})})}function Rt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengesId}.json`,{method:"delete",body:a({},ct)})})}function Zt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengesId}/edit.json`,{method:"get",params:a({},ct)})})}function Bt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengeId}/answer.json`,{method:"get",params:a({},ct)})})}function At(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengeId}/crud_answer.json`,{method:"post",body:a({},ct)})})}function Kt(ct){return p(this,null,function*(){if(ct.type===1)return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengesId}/create_choose_question.json`,{method:"post",body:a({},ct)});if(ct.type===2)return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengesId}/create_blank_question.json`,{method:"post",body:a({},ct)});if(ct.type===3)return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengesId}/create_judge_question.json`,{method:"post",body:a({},ct)})})}function Ge(ct){return p(this,null,function*(){if(ct.type===1)return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},ct),{choose_id:ct.questionId})});if(ct.type===2)return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},ct),{choose_id:ct.questionId})});if(ct.type===3)return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},ct),{choose_id:ct.questionId})})})}function fe(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:ct.questionId}})})}function _e(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:ct.questionId}})})}function Ot(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:ct.questionId}})})}function Ie(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/challenges/${ct.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},ct),{choose_id:ct.questionId})})})}function ht(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/delete_git_file.json`,{method:"Delete",body:ct})})}function zt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ct.id}/delete_git_file.json`,{method:"Delete",body:ct})})}function Ct(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/mv_file.json`,{method:"post",body:ct})})}function ke(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ct.id}/mv_file.json`,{method:"post",body:ct})})}function wt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/repository.json`,{method:"post",body:ct})})}function je(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ct.id}/repository.json`,{method:"post",body:ct})})}function Qe(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/secret_repository.json`,{method:"post",body:ct})})}function Oe(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/add_file.json`,{method:"post",body:ct})})}function kt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ct.id}/add_file.json`,{method:"post",body:ct})})}function Fe(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/commits.json`,{method:"post",body:ct})})}function Dr(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/file_content.json`,{method:"post",body:ct})})}function St(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ct.id}/file_content.json`,{method:"post",body:ct})})}function Gr(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/update_file.json`,{method:"post",body:ct})})}function Qr(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ct.id}/update_file.json`,{method:"post",body:ct})})}function Sr(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/upload_git_folder.json`,{method:"post",body:{path:ct.path,secret_repository:ct.secret_repository}})})}function Or(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/${ct.url}`,{method:"Get"})})}function hr(ct){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:ct})})}function $r(ct){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:ct})})}function nn(ct){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:ct})})}function on(ct){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:ct})})}function sr(ct){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:ct})})}function Mt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/fork_list.json`,{method:"Get",params:ct})})}function gt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.identifier}/change_editable.json`,{method:"put",body:a({},ct)})})}function yt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/set_secret_dir.json`,{method:"post",body:a({},ct)})})}function Nt(ct){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:ct})})}function Cr(ct){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:ct})})}function vr(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/init_repository.json`,{method:"post",body:a({},ct)})})}function lt(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ct.id}/init_repository.json`,{method:"post",body:a({},ct)})})}function Lr(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/update_secret_repository.json`,{method:"post",body:a({},ct)})})}function _n(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/exist_exercise.json`,{method:"get",params:a({},ct)})})}function Un(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${ct.id}.json`,{method:"get",params:a({},ct)})})}function _r(ct){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ct.id}/publish.json`,{method:"post",body:a({},ct)})})}function Jr(ct){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ct.id}/open_vnc.json`,{method:"post",params:a({},ct)})})}function dn(ct){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ct.id}/open_webssh.json`,{method:"post",params:a({},ct)})})}function Mn(ct){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ct.id}/save_image.json`,{method:"post",body:a({},ct)})})}function Jn(ct){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ct.id}/delete_image.json`,{method:"post",body:a({},ct)})})}function Nn(ct){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ct.id}/extend_vnc.json`,{method:"post",body:a({},ct)})})}function Ui(ct){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ct.id}/reset_vnc_link.json`,{method:"post",body:a({},ct)})})}function mi(ct){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},ct)})})}function bi(ct){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},ct)})})}function vi(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},ct)})})}function di(ct){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:ct})})}function Yi(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${ct}`,{method:"get",params:{is_initiative_study:1}})})}function Xn(ct){return p(this,null,function*(){return Fetch(`/api/shixuns/${ct.id}/update_shixun_study_num.json`,{method:"post",body:a({},ct)})})}function Vi(ct){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:ct})})}function Et(ct){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ct}/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 M},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 M(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 Jt},Ho:function(){return $},IU:function(){return de},JJ:function(){return ie},Ol:function(){return Be},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 qt},dE:function(){return Q},dt:function(){return L},gI:function(){return le},lO:function(){return ce},mW:function(){return V},n0:function(){return P},nV:function(){return Ue},o1:function(){return Ft},qE:function(){return _},qN:function(){return B},rV:function(){return j},sh:function(){return Pe},vR:function(){return A},w3:function(){return K},x4:function(){return M},z2:function(){return mt}});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((ut,bt)=>{var pt=ye=>{try{ze(Ut.next(ye))}catch(Te){bt(Te)}},tt=ye=>{try{ze(Ut.throw(ye))}catch(Te){bt(Te)}},ze=ye=>ye.done?ut(ye.value):Promise.resolve(ye.value).then(pt,tt);ze((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 M(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 L(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 we(Xe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Xe)})})}function Pe(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function Ue(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function Be(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 mt(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 qt(Xe){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Xe)})}function Jt(Xe){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Xe)})}},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 M},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=L=>{try{F(Y.next(L))}catch(Q){ne(Q)}},ie=L=>{try{F(Y.throw(L))}catch(Q){ne(Q)}},F=L=>L.done?le(L.value):Promise.resolve(L.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 M(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 M},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 M(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 it},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 We},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 L},Yh:function(){return ee},aN:function(){return b},aQ:function(){return u},ag:function(){return $e},bg:function(){return Vt},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 De},oF:function(){return y},qz:function(){return h},t_:function(){return A},tu:function(){return Wt},y8:function(){return ft}});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:Ge}=Kt;return At.some(fe=>fe==(Ge==null?void 0:Ge.role))},o=At=>{const{user:Kt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Kt;return Ge!=null&&Ge.own?!0:At.some(fe=>{var _e;return fe==((_e=Ge==null?void 0:Ge.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:Ge}=Kt;return(At=Ge==null?void 0:Ge.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]),M=()=>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:Ge}=Kt;return((At=Ge==null?void 0:Ge.course)==null?void 0:At.course_role)===null},J=()=>{var At;const{user:Kt,globalSetting:Ge}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Kt,_e=((At=Ge==null?void 0:Ge.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]),L=(At=!0,Kt=!1)=>{const{user:Ge}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Ge;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]),we=(At=!0,Kt=!1)=>At?f([1,2,5,8,12,15]):Kt||!Kt&&f([1,2]),Pe=(At=!0,Kt=!1)=>At?f([1,2,5,8,12]):Kt||!Kt&&f([1,2]),Ue=(At=!0,Kt=!1)=>At?f([1,2,5]):Kt||!Kt&&f([1,2]),Be=(At=!0,Kt=!1)=>At?f([1]):!1,Ft=(At=!0,Kt=!1)=>f([1,2,5,8,12,15]),mt=(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]),qt=(At=!0,Kt=!1)=>At?!1:Kt||!Kt&&f([1,2]),Jt=(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]),ut=(At=!0,Kt=!1)=>f([1,2,5,8,12]),bt=(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]),tt=(At=!0,Kt=!1)=>At?f([1,2,5,8,12]):Kt||!Kt&&f([1,2]),ze=(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]),Te=(At=!0,Kt=!1)=>o([8]),Me=()=>f([1]),$e=()=>f([1,2]),We=()=>f([15]),it=()=>f([1,2,5]),ft=()=>f([1,2,5,12]),Vt=()=>{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},De=()=>{var At,Kt;const{user:Ge}=(0,r.getDvaApp)()._store.getState();return!!((Kt=(At=Ge.userInfo)==null?void 0:At.path)!=null&&Kt.own)},et=At=>{const{graduations:Kt}=(0,r.getDvaApp)()._store.getState(),{details:Ge}=Kt;return At.some(fe=>fe===(Ge==null?void 0:Ge.user_identity))},Wt=()=>et([0,1]),Rt=()=>et([0]),Zt=()=>et([1]),Bt=()=>et([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://123.249.25.239",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://123.249.25.239",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,M=Object.prototype.propertyIsEnumerable,P=(L,Q,de)=>Q in L?y(L,Q,{enumerable:!0,configurable:!0,writable:!0,value:de}):L[Q]=de,D=(L,Q)=>{for(var de in Q||(Q={}))R.call(Q,de)&&P(L,de,Q[de]);if(A)for(var de of A(Q))M.call(Q,de)&&P(L,de,Q[de]);return L},B=(L,Q)=>_(L,b(Q)),$=(L,Q,de)=>new Promise((we,Pe)=>{var Ue=mt=>{try{Ft(de.next(mt))}catch(Pt){Pe(Pt)}},Be=mt=>{try{Ft(de.throw(mt))}catch(Pt){Pe(Pt)}},Ft=mt=>mt.done?we(mt.value):Promise.resolve(mt.value).then(Ue,Be);Ft((de=de.apply(L,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=(L,Q)=>$(void 0,null,function*(){if(L.status>=200&&L.status<300)return L;const de=K[L.status]||L.statusText;let we;var Pe=L.json();yield Pe.then((Be,Ft)=>{setTimeout(()=>{let mt=(0,u.getDvaApp)()},400),we=Be.message,window.showNetworkErrorTip(Be.message||`\u8BF7\u6C42\u9519\u8BEF ${L.status}: ${L.message}`),i.Z.error({style:{wordBreak:"break-all"},message:Be.message||`\u8BF7\u6C42\u9519\u8BEF ${L.status}: ${L.message}`,description:Be.message?"":de})});const Ue=new Error(de);throw Ue.name=L.status,Ue.response=L,{data:L,code:L.status,message:we||de}}),W=(L,Q)=>{const de=L.headers.get("Content-Type");return de&&de.match(/application\/json/i)&&L.clone().text().then(()=>{}),L};function oe(L){try{return decodeURIComponent(L),decodeURIComponent(encodeURIComponent(L))===L}catch(Q){return!1}}const ae=L=>{L=L||{};let Q="";for(let de in L)typeof L[de]=="object"?Array.isArray(L[de])&&L[de].forEach((we,Pe)=>{Q+="&"+de+"[]="+we}):L[de]!==void 0&&(Q+="&"+de+"="+(oe(L[de])?L[de]:encodeURIComponent(L[de])));return Q.substr(1)};function ce(L,Q,de,we){Q.method||(Q.method="get"),Q.method=Q.method.toUpperCase(),Q.mode="cors";const Pe=D({},Q),{user:Ue}=(0,u.getDvaApp)()._store.getState(),{userInfo:Be}=Ue,Ft=L+(Pe.body?JSON.stringify(Pe.body):""),mt=o().sha256().update(Ft).digest("hex"),Pt={credentials:"include",withCredentials:!0},Qt={};Be!=null&&Be.login&&(Qt.zzud=Be==null?void 0:Be.login,Be!=null&&Be.school_id&&(Qt.zzsud=Be==null?void 0:Be.school_id),Pe.params=D(D({},Pe.params||{}),Qt));let qt=D(D({},Pt),(0,x.cloneDeep)(Pe));(qt.method==="POST"||qt.method==="PUT"||qt.method==="PATCH"||qt.method==="DELETE")&&(de?(qt.headers=B(D({_method:Q.method.toUpperCase()},qt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),qt.body=Pe.body):(qt.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},qt.headers),qt.body=JSON.stringify(Pe.body))),qt.method=="GET"?(qt.headers=B(D({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:Q.method.toUpperCase()},qt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Pe.params&&ae(Pe.params)&&(L+="?"+ae(Pe.params))):Qt.zzud&&(L+="?"+ae(D({},Qt)));const Jt=Pe.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 pt=yield bt.arrayBuffer();let tt;const ze=new Blob([pt]);try{tt=bt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch($e){tt="userfiles.zip"}const ye=document.createElement("a"),Te=window.URL.createObjectURL(ze),Me=tt;return ye.href=Te,ye.download=Me,ye.click(),window.URL.revokeObjectURL(Te),pt});let ut=r.Z.API_SERVER;return(window.ENV==="dev"||L.startsWith("http"))&&(ut=""),qt.method=="GET"&&qt.params&&Object.keys(qt.params).map(bt=>{if(qt.params[bt]&&!Array.isArray(qt.params[bt]))try{qt.params[bt]=encodeURIComponent(decodeURIComponent(qt.params[bt]))}catch(pt){qt.params[bt]=encodeURIComponent(qt.params[bt])}}),(0,a.Ec)(qt,L),we&&(ut=""),qt.headers._method=qt.method,qt.headers["X-HTTP-Method-Override"]=qt.method,qt.method!=="GET"&&(qt.method="POST"),fetch(ut+L,qt).then(bt=>V(bt,D({url:r.Z.API_SERVER+L},qt))).then(bt=>W(bt,mt)).then(bt=>$(this,null,function*(){var pt,tt,ze,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 Te;if(bt.headers.get("content-type").indexOf("application/json")>-1){Te=yield bt.json();try{const Me=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,$e=/\"\/api\/attachments\/(\d+)\//g,We=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,it=/\/api\/attachments\/(\d+)/g,ft=/\/attachments\/download\/(\d+)/g;let Vt=JSON.stringify(Te).replace(it,(Ht,De,et,Wt)=>{const Rt=De||et||Wt;return"/api/attachments/"+(0,a.Jn)(Rt)}).replace(ft,(Ht,De,et)=>{const Wt=De||et;return"/attachments/download/"+(0,a.Jn)(Wt)}).replace(Me,(Ht,De,et,Wt)=>{const Rt=De||et||Wt;return"(/api/attachments/"+(0,a.Jn)(Rt)}).replace($e,(Ht,De,et)=>{const Wt=De||et;return'"/api/attachments/'+(0,a.Jn)(Wt)}).replace(We,(Ht,De,et)=>{const Wt=De||et;return"(/files/uploads/"+(0,a.Jn)(Wt)}).replace(/\r\n/g,`
|
|
|
`);Te=JSON.parse(Vt)}catch(Me){}}else qt.headers["Content-Type"]==="application/xml"?Te=yield bt.text():(pt=Pe.body)!=null&&pt.autoDownload||(tt=Pe.params)!=null&&tt.autoDownload?Te=yield Ut(bt):Te=yield bt.arrayBuffer();try{Te.status===401&&(!((ze=qt.params)!=null&&ze.hidePopLogin)||!((ye=qt.body)!=null&&ye.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Te.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(Te,L),Te})).catch(bt=>{try{const pt=bt.code;if(bt instanceof TypeError&&window.showNetworkErrorTip(`${L}<span class="ml10">${bt.message}</span>`),pt){if(pt===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}Y(bt,L)}else L.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:qt.body}}):bt.message!=="403"&&window.showNetworkErrorTip(`${L}<span class="ml10">${bt.message}</span>`);return bt}catch(pt){}})}let q=!1,J=!1;const Y=(L,Q)=>{var de,we,Pe;if(L.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:L.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(L.status==-7){J=!0,setTimeout(()=>J=!1,500);let Be="";(de=L==null?void 0:L.data)!=null&&de.exercise_list&&((Pe=(we=L==null?void 0:L.data)==null?void 0:we.exercise_list)==null||Pe.map(Ft=>{Be+=`<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 ${Be} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762</div>`},500);return}if((L.status==-1||L.status==-2||L.status==-102||L.status>400)&&L.status!=403&&!J){J=!0,setTimeout(()=>J=!1,500),c.ZP.warning({content:L.message,key:"message-key"});return}const Ue={403:"/403",404:"/404",500:"/500"};if(Ue[L.status]&&!q){const{user:Be}=(0,u.getDvaApp)()._store.getState(),{userInfo:Ft}=Be;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(q=!0),setTimeout(()=>q=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(L)),Object.values(Ue).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(Ue[L.status]),new Error("403")}};function le(L,Q){return ce(`/api/${L}`,{method:"Get",params:Q||{}})}function ne(L,Q){return ce(`/${L}`,{method:"Get",params:Q})}function ee(L,Q){return ce(`/api/${L}`,{method:"Post",body:D({},Q)})}function ie(L,Q){return ce(`/api/${L}`,{method:"Put",body:D({},Q)})}function F(L,Q){return ce(`/api/${L}`,{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 M=0;const P=()=>`__special_katext_id_${M++}__`;let D={};function B(){return D}function $(){M=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_18__=__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__),__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();let i="method="+((e=d.method)==null?void 0:e.toLocaleUpperCase())+"&ak="+getKey(_key__WEBPACK_IMPORTED_MODULE_18__.mi)+"&sk="+getKey(_key__WEBPACK_IMPORTED_MODULE_18__.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(i)),d.headers["Pc-Authorization"]=getCookie("_educoder_session"),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_18__.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 M;return(M=A.questions)==null||M.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((M,P)=>{p==null||p.map((D,B)=>{M.type===D.type&&y.push(D)})});const _=[];let b=0,A=0;const R=y.filter(M=>M.questions_count>0).map((M,P)=>{var D;return(D=M.questions)==null||D.forEach(B=>{_.push(B.id),b=b+B.score,A=A+1}),__spreadValues(__spreadValues({},M),{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}),M=_slicedToArray(R,2),P=M[0],D=M[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:M}=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,!M){j();return}let oe;if(b){if(oe=M(W),R&&!f(oe)){P.current=!1,j(W);return}}else if(M.length)oe=M(y),P.current=!1;else if(oe=M(),!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,M]=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;M(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 M=x&&c[R]||l[R],P=Object.assign(Object.assign({},M),{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=M=>{let{matches:P}=M;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 M(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,L]=f.useState(0),[Q,de]=f.useState(0),[we,Pe]=f.useState(0),[Ue,Be]=f.useState(0),[Ft,mt]=f.useState(!1),Pt={left:F,top:Q,width:we,height:Ue,borderRadius:ee.map(Jt=>`${Jt}px`).join(" ")};le&&(Pt["--wave-color"]=le);function Qt(){const Jt=getComputedStyle(q);ne(M(q));const Xe=Jt.position==="static",{borderLeftWidth:It,borderTopWidth:Ut}=Jt;L(Xe?q.offsetLeft:D(-parseFloat(It))),de(Xe?q.offsetTop:D(-parseFloat(Ut))),Pe(q.offsetWidth),Be(q.offsetHeight);const{borderTopLeftRadius:ut,borderTopRightRadius:bt,borderBottomLeftRadius:pt,borderBottomRightRadius:tt}=Jt;ie([ut,bt,tt,pt].map(ze=>D(parseFloat(ze))))}if(f.useEffect(()=>{if(q){const Jt=(0,y.Z)(()=>{Qt(),mt(!0)});let Xe;return typeof ResizeObserver!="undefined"&&(Xe=new ResizeObserver(Qt),Xe.observe(q)),()=>{y.Z.cancel(Jt),Xe==null||Xe.disconnect()}}},[]),!Ft)return null;const qt=(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:(Jt,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}},Jt=>{let{className:Xe}=Jt;return f.createElement("div",{ref:Y,className:i()(ce,{"wave-quick":qt},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 L=ae.current;if(J!=null&&J.disabled||!L)return;const Q=L.querySelector(`.${P.A}`)||L,{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 L=le.current;if(!L||L.nodeType!==1||q)return;const Q=de=>{!(0,c.Z)(de.target)||!L.getAttribute||L.getAttribute("disabled")||L.disabled||L.className.includes("disabled")||L.className.includes("-leave")||ie(de)};return L.addEventListener("click",Q,!0),()=>{L.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 Rt},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(Ge,fe){var _e={};for(var Ot in Ge)Object.prototype.hasOwnProperty.call(Ge,Ot)&&fe.indexOf(Ot)<0&&(_e[Ot]=Ge[Ot]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Ot=Object.getOwnPropertySymbols(Ge);Ie<Ot.length;Ie++)fe.indexOf(Ot[Ie])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Ot[Ie])&&(_e[Ot[Ie]]=Ge[Ot[Ie]]);return _e};const _=r.createContext(void 0);var A=Ge=>{const{getPrefixCls:fe,direction:_e}=r.useContext(h.E_),{prefixCls:Ot,size:Ie,className:ht}=Ge,zt=y(Ge,["prefixCls","size","className"]),Ct=fe("btn-group",Ot),[,,ke]=(0,p.Z)();let wt="";switch(Ie){case"large":wt="lg";break;case"small":wt="sm";break;case"middle":case void 0:break;default:}const je=l()(Ct,{[`${Ct}-${wt}`]:wt,[`${Ct}-rtl`]:_e==="rtl"},ht,ke);return r.createElement(_.Provider,{value:Ie},r.createElement("div",Object.assign({},zt,{className:je})))},R=e(92343);const M=/^[\u4e00-\u9fa5]{2}$/,P=M.test.bind(M);function D(Ge){return typeof Ge=="string"}function B(Ge){return Ge==="text"||Ge==="link"}function $(Ge,fe){if(Ge==null)return;const _e=fe?" ":"";return typeof Ge!="string"&&typeof Ge!="number"&&D(Ge.type)&&P(Ge.props.children)?(0,R.Tm)(Ge,{children:Ge.props.children.split("").join(_e)}):D(Ge)?P(Ge)?r.createElement("span",null,Ge.split("").join(_e)):r.createElement("span",null,Ge):(0,R.M2)(Ge)?r.createElement("span",null,Ge):Ge}function j(Ge,fe){let _e=!1;const Ot=[];return r.Children.forEach(Ge,Ie=>{const ht=typeof Ie,zt=ht==="string"||ht==="number";if(_e&&zt){const Ct=Ot.length-1,ke=Ot[Ct];Ot[Ct]=`${ke}${Ie}`}else Ot.push(Ie);_e=zt}),r.Children.map(Ot,Ie=>$(Ie,fe))}const K=null,V=null,W=null;var ae=(0,r.forwardRef)((Ge,fe)=>{const{className:_e,style:Ot,children:Ie,prefixCls:ht}=Ge,zt=l()(`${ht}-icon`,_e);return r.createElement("span",{ref:fe,className:zt,style:Ot},Ie)}),ce=e(58617),q=e(77900);const J=(0,r.forwardRef)((Ge,fe)=>{let{prefixCls:_e,className:Ot,style:Ie,iconClassName:ht}=Ge;const zt=l()(`${_e}-loading-icon`,Ot);return r.createElement(ae,{prefixCls:_e,className:zt,style:Ie,ref:fe},r.createElement(ce.Z,{className:ht}))}),Y=()=>({width:0,opacity:0,transform:"scale(0)"}),le=Ge=>({width:Ge.scrollWidth,opacity:1,transform:"scale(1)"});var ee=Ge=>{const{prefixCls:fe,loading:_e,existIcon:Ot,className:Ie,style:ht}=Ge,zt=!!_e;return Ot?r.createElement(J,{prefixCls:fe,className:Ie,style:ht}):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:je}=Ct;return r.createElement(J,{prefixCls:fe,className:Ie,style:Object.assign(Object.assign({},ht),je),ref:ke,iconClassName:wt})})},ie=e(17313),F=e(37613),L=e(83116);const Q=(Ge,fe)=>({[`> span, > ${Ge}`]:{"&:not(:last-child)":{[`&, & > ${Ge}`]:{"&:not(:disabled)":{borderInlineEndColor:fe}}},"&:not(:first-child)":{[`&, & > ${Ge}`]:{"&:not(:disabled)":{borderInlineStartColor:fe}}}}});var we=Ge=>{const{componentCls:fe,fontSize:_e,lineWidth:Ot,groupBorderColor:Ie,colorErrorHover:ht}=Ge;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`,Ie),Q(`${fe}-danger`,ht)]}};const Pe=Ge=>{const{componentCls:fe,iconCls:_e,fontWeight:Ot}=Ge;return{[fe]:{outline:"none",position:"relative",display:"inline-block",fontWeight:Ot,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${Ge.lineWidth}px ${Ge.lineType} transparent`,cursor:"pointer",transition:`all ${Ge.motionDurationMid} ${Ge.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:Ge.lineHeight,color:Ge.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${fe}-icon`]:{lineHeight:0},[`> ${_e} + span, > span + ${_e}`]:{marginInlineStart:Ge.marginXS},[`&:not(${fe}-icon-only) > ${fe}-icon`]:{[`&${fe}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:Ge.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,ie.Qy)(Ge)),[`&-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:-Ge.lineWidth,insetInlineStart:-Ge.lineWidth,display:"inline-block",width:Ge.lineWidth,height:`calc(100% + ${Ge.lineWidth*2}px)`,backgroundColor:Ge.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-vertical-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Ge.lineWidth,insetInlineStart:-Ge.lineWidth,display:"inline-block",width:`calc(100% + ${Ge.lineWidth*2}px)`,height:Ge.lineWidth,backgroundColor:Ge.colorPrimaryHover,content:'""'}}}}}}},Ue=(Ge,fe,_e)=>({[`&:not(:disabled):not(${Ge}-disabled)`]:{"&:hover":fe,"&:active":_e}}),Be=Ge=>({minWidth:Ge.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Ft=Ge=>({borderRadius:Ge.controlHeight,paddingInlineStart:Ge.controlHeight/2,paddingInlineEnd:Ge.controlHeight/2}),mt=Ge=>({cursor:"not-allowed",borderColor:Ge.borderColorDisabled,color:Ge.colorTextDisabled,backgroundColor:Ge.colorBgContainerDisabled,boxShadow:"none"}),Pt=(Ge,fe,_e,Ot,Ie,ht,zt,Ct)=>({[`&${Ge}-background-ghost`]:Object.assign(Object.assign({color:_e||void 0,backgroundColor:fe,borderColor:Ot||void 0,boxShadow:"none"},Ue(Ge,Object.assign({backgroundColor:fe},zt),Object.assign({backgroundColor:fe},Ct))),{"&:disabled":{cursor:"not-allowed",color:Ie||void 0,borderColor:ht||void 0}})}),Qt=Ge=>({[`&:disabled, &${Ge.componentCls}-disabled`]:Object.assign({},mt(Ge))}),qt=Ge=>Object.assign({},Qt(Ge)),Jt=Ge=>({[`&:disabled, &${Ge.componentCls}-disabled`]:{cursor:"not-allowed",color:Ge.colorTextDisabled}}),Xe=Ge=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},qt(Ge)),{backgroundColor:Ge.defaultBg,borderColor:Ge.defaultBorderColor,color:Ge.defaultColor,boxShadow:Ge.defaultShadow}),Ue(Ge.componentCls,{color:Ge.colorPrimaryHover,borderColor:Ge.colorPrimaryHover},{color:Ge.colorPrimaryActive,borderColor:Ge.colorPrimaryActive})),Pt(Ge.componentCls,Ge.ghostBg,Ge.defaultGhostColor,Ge.defaultGhostBorderColor,Ge.colorTextDisabled,Ge.colorBorder)),{[`&${Ge.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:Ge.colorError,borderColor:Ge.colorError},Ue(Ge.componentCls,{color:Ge.colorErrorHover,borderColor:Ge.colorErrorBorderHover},{color:Ge.colorErrorActive,borderColor:Ge.colorErrorActive})),Pt(Ge.componentCls,Ge.ghostBg,Ge.colorError,Ge.colorError,Ge.colorTextDisabled,Ge.colorBorder)),Qt(Ge))}),It=Ge=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},qt(Ge)),{color:Ge.primaryColor,backgroundColor:Ge.colorPrimary,boxShadow:Ge.primaryShadow}),Ue(Ge.componentCls,{color:Ge.colorTextLightSolid,backgroundColor:Ge.colorPrimaryHover},{color:Ge.colorTextLightSolid,backgroundColor:Ge.colorPrimaryActive})),Pt(Ge.componentCls,Ge.ghostBg,Ge.colorPrimary,Ge.colorPrimary,Ge.colorTextDisabled,Ge.colorBorder,{color:Ge.colorPrimaryHover,borderColor:Ge.colorPrimaryHover},{color:Ge.colorPrimaryActive,borderColor:Ge.colorPrimaryActive})),{[`&${Ge.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:Ge.colorError,boxShadow:Ge.dangerShadow,color:Ge.dangerColor},Ue(Ge.componentCls,{backgroundColor:Ge.colorErrorHover},{backgroundColor:Ge.colorErrorActive})),Pt(Ge.componentCls,Ge.ghostBg,Ge.colorError,Ge.colorError,Ge.colorTextDisabled,Ge.colorBorder,{color:Ge.colorErrorHover,borderColor:Ge.colorErrorHover},{color:Ge.colorErrorActive,borderColor:Ge.colorErrorActive})),Qt(Ge))}),Ut=Ge=>Object.assign(Object.assign({},Xe(Ge)),{borderStyle:"dashed"}),ut=Ge=>Object.assign(Object.assign(Object.assign({color:Ge.colorLink},Ue(Ge.componentCls,{color:Ge.colorLinkHover,backgroundColor:Ge.linkHoverBg},{color:Ge.colorLinkActive})),Jt(Ge)),{[`&${Ge.componentCls}-dangerous`]:Object.assign(Object.assign({color:Ge.colorError},Ue(Ge.componentCls,{color:Ge.colorErrorHover},{color:Ge.colorErrorActive})),Jt(Ge))}),bt=Ge=>Object.assign(Object.assign(Object.assign({},Ue(Ge.componentCls,{color:Ge.colorText,backgroundColor:Ge.textHoverBg},{color:Ge.colorText,backgroundColor:Ge.colorBgTextActive})),Jt(Ge)),{[`&${Ge.componentCls}-dangerous`]:Object.assign(Object.assign({color:Ge.colorError},Jt(Ge)),Ue(Ge.componentCls,{color:Ge.colorErrorHover,backgroundColor:Ge.colorErrorBg},{color:Ge.colorErrorHover,backgroundColor:Ge.colorErrorBg}))}),pt=Ge=>{const{componentCls:fe}=Ge;return{[`${fe}-default`]:Xe(Ge),[`${fe}-primary`]:It(Ge),[`${fe}-dashed`]:Ut(Ge),[`${fe}-link`]:ut(Ge),[`${fe}-text`]:bt(Ge),[`${fe}-ghost`]:Pt(Ge.componentCls,Ge.ghostBg,Ge.colorBgContainer,Ge.colorBgContainer,Ge.colorTextDisabled,Ge.colorBorder)}},tt=function(Ge){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:_e,controlHeight:Ot,fontSize:Ie,lineHeight:ht,lineWidth:zt,borderRadius:Ct,buttonPaddingHorizontal:ke,iconCls:wt}=Ge,je=Math.max(0,(Ot-Ie*ht)/2-zt),Qe=`${_e}-icon-only`;return[{[`${_e}${fe}`]:{fontSize:Ie,height:Ot,padding:`${je}px ${ke}px`,borderRadius:Ct,[`&${Qe}`]:{width:Ot,paddingInlineStart:0,paddingInlineEnd:0,[`&${_e}-round`]:{width:"auto"},[wt]:{fontSize:Ge.buttonIconOnlyFontSize}},[`&${_e}-loading`]:{opacity:Ge.opacityLoading,cursor:"default"},[`${_e}-loading-icon`]:{transition:`width ${Ge.motionDurationSlow} ${Ge.motionEaseInOut}, opacity ${Ge.motionDurationSlow} ${Ge.motionEaseInOut}`}}},{[`${_e}${_e}-circle${fe}`]:Be(Ge)},{[`${_e}${_e}-round${fe}`]:Ft(Ge)}]},ze=Ge=>tt((0,F.TS)(Ge,{fontSize:Ge.contentFontSize})),ye=Ge=>{const fe=(0,F.TS)(Ge,{controlHeight:Ge.controlHeightSM,fontSize:Ge.contentFontSizeSM,padding:Ge.paddingXS,buttonPaddingHorizontal:Ge.paddingInlineSM,borderRadius:Ge.borderRadiusSM,buttonIconOnlyFontSize:Ge.onlyIconSizeSM});return tt(fe,`${Ge.componentCls}-sm`)},Te=Ge=>{const fe=(0,F.TS)(Ge,{controlHeight:Ge.controlHeightLG,fontSize:Ge.contentFontSizeLG,buttonPaddingHorizontal:Ge.paddingInlineLG,borderRadius:Ge.borderRadiusLG,buttonIconOnlyFontSize:Ge.onlyIconSizeLG});return tt(fe,`${Ge.componentCls}-lg`)},Me=Ge=>{const{componentCls:fe}=Ge;return{[fe]:{[`&${fe}-block`]:{width:"100%"}}}},$e=Ge=>{const{paddingInline:fe,onlyIconSize:_e}=Ge;return(0,F.TS)(Ge,{buttonPaddingHorizontal:fe,buttonIconOnlyFontSize:_e})},We=Ge=>({fontWeight:400,defaultShadow:`0 ${Ge.controlOutlineWidth}px 0 ${Ge.controlTmpOutline}`,primaryShadow:`0 ${Ge.controlOutlineWidth}px 0 ${Ge.controlOutline}`,dangerShadow:`0 ${Ge.controlOutlineWidth}px 0 ${Ge.colorErrorOutline}`,primaryColor:Ge.colorTextLightSolid,dangerColor:Ge.colorTextLightSolid,borderColorDisabled:Ge.colorBorder,defaultGhostColor:Ge.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:Ge.colorBgContainer,paddingInline:Ge.paddingContentHorizontal-Ge.lineWidth,paddingInlineLG:Ge.paddingContentHorizontal-Ge.lineWidth,paddingInlineSM:8-Ge.lineWidth,onlyIconSize:Ge.fontSizeLG,onlyIconSizeSM:Ge.fontSizeLG-2,onlyIconSizeLG:Ge.fontSizeLG+2,groupBorderColor:Ge.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:Ge.colorBgTextHover,defaultColor:Ge.colorText,defaultBg:Ge.colorBgContainer,defaultBorderColor:Ge.colorBorder,defaultBorderColorDisabled:Ge.colorBorder,contentFontSize:Ge.fontSize,contentFontSizeSM:Ge.fontSize,contentFontSizeLG:Ge.fontSizeLG});var it=(0,L.Z)("Button",Ge=>{const fe=$e(Ge);return[Pe(fe),ye(fe),ze(fe),Te(fe),Me(fe),pt(fe),we(fe)]},We),ft=e(74207);function Vt(Ge,fe){return{[`&-item:not(${fe}-last-item)`]:{marginBottom:-Ge.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Ht(Ge,fe){return{[`&-item:not(${fe}-first-item):not(${fe}-last-item)`]:{borderRadius:0},[`&-item${fe}-first-item:not(${fe}-last-item)`]:{[`&, &${Ge}-sm, &${Ge}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${fe}-last-item:not(${fe}-first-item)`]:{[`&, &${Ge}-sm, &${Ge}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function De(Ge){const fe=`${Ge.componentCls}-compact-vertical`;return{[fe]:Object.assign(Object.assign({},Vt(Ge,fe)),Ht(Ge.componentCls,fe))}}var et=(0,L.b)(["Button","compact"],Ge=>{const fe=$e(Ge);return[(0,ft.c)(fe),De(fe)]},We),Wt=function(Ge,fe){var _e={};for(var Ot in Ge)Object.prototype.hasOwnProperty.call(Ge,Ot)&&fe.indexOf(Ot)<0&&(_e[Ot]=Ge[Ot]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Ot=Object.getOwnPropertySymbols(Ge);Ie<Ot.length;Ie++)fe.indexOf(Ot[Ie])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Ot[Ie])&&(_e[Ot[Ie]]=Ge[Ot[Ie]]);return _e};function Rt(Ge){return Ge==="danger"?{danger:!0}:{type:Ge}}function Zt(Ge){if(typeof Ge=="object"&&Ge){const fe=Ge==null?void 0:Ge.delay;return{loading:!1,delay:!Number.isNaN(fe)&&typeof fe=="number"?fe:0}}return{loading:!!Ge,delay:0}}const Bt=(Ge,fe)=>{var _e,Ot;const{loading:Ie=!1,prefixCls:ht,type:zt="default",danger:Ct,shape:ke="default",size:wt,styles:je,disabled:Qe,className:Oe,rootClassName:kt,children:Fe,icon:Dr,ghost:St=!1,block:Gr=!1,htmlType:Qr="button",classNames:Sr,style:Or={}}=Ge,hr=Wt(Ge,["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",ht),[gt,yt]=it(Mt),Nt=(0,r.useContext)(u.Z),Cr=Qe!=null?Qe:Nt,vr=(0,r.useContext)(_),lt=(0,r.useMemo)(()=>Zt(Ie),[Ie]),[Lr,_n]=(0,r.useState)(lt.loading),[Un,_r]=(0,r.useState)(!1),Jr=(0,r.createRef)(),dn=(0,f.sQ)(fe,Jr),Mn=r.Children.count(Fe)===1&&!Dr&&!B(zt);(0,r.useEffect)(()=>{let hi=null;lt.delay>0?hi=setTimeout(()=>{hi=null,_n(!0)},lt.delay):_n(lt.loading);function ni(){hi&&(clearTimeout(hi),hi=null)}return ni},[lt]),(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}=Ge;if(Lr||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=Lr?"loading":Dr,Xn=(0,c.Z)(hr,["navigate"]),Vi=l()(Mt,yt,{[`${Mt}-${ke}`]:ke!=="default"&&ke,[`${Mt}-${zt}`]:zt,[`${Mt}-${di}`]:di,[`${Mt}-icon-only`]:!Fe&&Fe!==0&&!!Yi,[`${Mt}-background-ghost`]:St&&!B(zt),[`${Mt}-loading`]:Lr,[`${Mt}-two-chinese-chars`]:Un&&Nn&&!Lr,[`${Mt}-block`]:Gr,[`${Mt}-dangerous`]:!!Ct,[`${Mt}-rtl`]:on==="rtl"},mi,Oe,kt,sr==null?void 0:sr.className),Et=Object.assign(Object.assign({},sr==null?void 0:sr.style),Or),ct=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({},(je==null?void 0:je.icon)||{}),((Ot=sr==null?void 0:sr.styles)===null||Ot===void 0?void 0:Ot.icon)||{}),xi=Dr&&!Lr?r.createElement(ae,{prefixCls:Mt,className:ct,style:Qn},Dr):r.createElement(ee,{existIcon:!!Dr,prefixCls:Mt,loading:!!Lr}),qn=Fe||Fe===0?j(Fe,Mn&&Nn):null;if(Xn.href!==void 0)return gt(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({},hr,{type:Qr,className:Vi,style:Et,onClick:Jn,disabled:Cr,ref:dn}),xi,qn,mi&&r.createElement(et,{key:"compact",prefixCls:Mt}));return B(zt)||(Wi=r.createElement(o.Z,{component:"Button",disabled:!!Lr},Wi)),gt(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 Jt},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__:ut}=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),M=e(64993),P=e(47273),D=e(810);const B=`-ant-${Date.now()}-${Math.random()}`;function $(Xe,It){const Ut={},ut=(tt,ze)=>{let ye=tt.clone();return ye=(ze==null?void 0:ze(ye))||ye,ye.toRgbString()},bt=(tt,ze)=>{const ye=new M.C(tt),Te=(0,R.generate)(ye.toRgbString());Ut[`${ze}-color`]=ut(ye),Ut[`${ze}-color-disabled`]=Te[1],Ut[`${ze}-color-hover`]=Te[4],Ut[`${ze}-color-active`]=Te[6],Ut[`${ze}-color-outline`]=ye.clone().setAlpha(.2).toRgbString(),Ut[`${ze}-color-deprecated-bg`]=Te[0],Ut[`${ze}-color-deprecated-border`]=Te[2]};if(It.primaryColor){bt(It.primaryColor,"primary");const tt=new M.C(It.primaryColor),ze=(0,R.generate)(tt.toRgbString());ze.forEach((Te,Me)=>{Ut[`primary-${Me+1}`]=Te}),Ut["primary-color-deprecated-l-35"]=ut(tt,Te=>Te.lighten(35)),Ut["primary-color-deprecated-l-20"]=ut(tt,Te=>Te.lighten(20)),Ut["primary-color-deprecated-t-20"]=ut(tt,Te=>Te.tint(20)),Ut["primary-color-deprecated-t-50"]=ut(tt,Te=>Te.tint(50)),Ut["primary-color-deprecated-f-12"]=ut(tt,Te=>Te.setAlpha(Te.getAlpha()*.12));const ye=new M.C(ze[0]);Ut["primary-color-active-deprecated-f-30"]=ut(ye,Te=>Te.setAlpha(Te.getAlpha()*.3)),Ut["primary-color-active-deprecated-d-02"]=ut(ye,Te=>Te.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(tt=>`--${Xe}-${tt}: ${Ut[tt]};`).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||{},ut=Ut.inherit===!1||!It?_.u_:It;return(0,l.Z)(()=>{if(!Xe)return It;const bt=Object.assign({},ut.components);return Object.keys(Xe.components||{}).forEach(pt=>{bt[pt]=Object.assign(Object.assign({},bt[pt]),Xe.components[pt])}),Object.assign(Object.assign(Object.assign({},ut),Ut),{token:Object.assign(Object.assign({},ut.token),Ut.token),components:bt})},[Ut,ut],(bt,pt)=>bt.some((tt,ze)=>{const ye=pt[ze];return!(0,ae.Z)(tt,ye,!0)}))}var q=e(77900),J=e(88088);function Y(Xe){const{children:It}=Xe,[,Ut]=(0,J.Z)(),{motion:ut}=Ut,bt=f.useRef(!1);return bt.current=bt.current||ut===!1,bt.current?f.createElement(q.Provider,{motion:ut},It):It}var le=e(73040),ne=function(Xe,It){var Ut={};for(var ut in Xe)Object.prototype.hasOwnProperty.call(Xe,ut)&&It.indexOf(ut)<0&&(Ut[ut]=Xe[ut]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,ut=Object.getOwnPropertySymbols(Xe);bt<ut.length;bt++)It.indexOf(ut[bt])<0&&Object.prototype.propertyIsEnumerable.call(Xe,ut[bt])&&(Ut[ut[bt]]=Xe[ut[bt]]);return Ut};let ee=!1;const ie=null,F=null,L=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],Q="ant";let de,we,Pe;function Ue(){return de||Q}function Be(){return we||A.oR}function Ft(Xe){return Object.keys(Xe).some(It=>It.endsWith("Color"))}const mt=Xe=>{let{prefixCls:It,iconPrefixCls:Ut,theme:ut}=Xe;It!==void 0&&(de=It),Ut!==void 0&&(we=Ut),ut&&(Ft(ut)?j(Ue(),ut):Pe=ut)},Pt=()=>({getPrefixCls:(Xe,It)=>It||(Xe?`${Ue()}-${Xe}`:Ue()),getIconPrefixCls:Be,getRootPrefixCls:()=>de||Ue(),getTheme:()=>Pe}),Qt=Xe=>{const{children:It,csp:Ut,autoInsertSpaceInButton:ut,alert:bt,anchor:pt,form:tt,locale:ze,componentSize:ye,direction:Te,space:Me,virtual:$e,dropdownMatchSelectWidth:We,popupMatchSelectWidth:it,popupOverflow:ft,legacyLocale:Vt,parentContext:Ht,iconPrefixCls:De,theme:et,componentDisabled:Wt,segmented:Rt,statistic:Zt,spin:Bt,calendar:At,carousel:Kt,cascader:Ge,collapse:fe,typography:_e,checkbox:Ot,descriptions:Ie,divider:ht,drawer:zt,skeleton:Ct,steps:ke,image:wt,layout:je,list:Qe,mentions:Oe,modal:kt,progress:Fe,result:Dr,slider:St,breadcrumb:Gr,menu:Qr,pagination:Sr,input:Or,empty:hr,badge:$r,radio:nn,rate:on,switch:sr,transfer:Mt,avatar:gt,message:yt,tag:Nt,table:Cr,card:vr,tabs:lt,timeline:Lr,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=De||Ht.iconPrefixCls||A.oR,mi=Ui!==Ht.iconPrefixCls,bi=Ut||Ht.csp,vi=(0,le.Z)(Ui,bi),di=ce(et,Ht.theme),Yi={csp:bi,autoInsertSpaceInButton:ut,alert:bt,anchor:pt,locale:ze||Vt,direction:Te,space:Me,virtual:$e,popupMatchSelectWidth:it!=null?it:We,popupOverflow:ft,getPrefixCls:Nn,iconPrefixCls:Ui,theme:di,segmented:Rt,statistic:Zt,spin:Bt,calendar:At,carousel:Kt,cascader:Ge,collapse:fe,typography:_e,checkbox:Ot,descriptions:Ie,divider:ht,drawer:zt,skeleton:Ct,steps:ke,image:wt,input:Or,layout:je,list:Qe,mentions:Oe,modal:kt,progress:Fe,result:Dr,slider:St,breadcrumb:Gr,menu:Qr,pagination:Sr,empty:hr,badge:$r,radio:nn,rate:on,switch:sr,transfer:Mt,avatar:gt,message:yt,tag:Nt,table:Cr,card:vr,tabs:lt,timeline:Lr,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])}),L.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 ct=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)||{},(tt==null?void 0:tt.validateMessages)||{})},[Vi,tt==null?void 0:tt.validateMessages]);Object.keys(Qn).length>0&&(ct=f.createElement(o.Z.Provider,{value:Qn},It)),ze&&(ct=f.createElement(p,{locale:ze,_ANT_MARK__:a},ct)),(Ui||bi)&&(ct=f.createElement(i.Z.Provider,{value:Et},ct)),ye&&(ct=f.createElement(V.q,{size:ye},ct)),ct=f.createElement(Y,null,ct);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,vt={};return Object.entries(ni||{}).forEach(nt=>{let[Dt,_t]=nt;const ur=Object.assign({},_t);"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),vt[Dt]=ur}),Object.assign(Object.assign({},bn),{theme:tr,token:Object.assign(Object.assign({},b.Z),hi),components:vt})},[di]);return et&&(ct=f.createElement(_.Mj.Provider,{value:xi},ct)),Wt!==void 0&&(ct=f.createElement(K.n,{disabled:Wt},ct)),f.createElement(A.E_.Provider,{value:Vi},ct)},qt=Xe=>{const It=f.useContext(A.E_),Ut=f.useContext(u.Z);return f.createElement(Qt,Object.assign({parentContext:It,legacyLocale:Ut},Xe))};qt.ConfigContext=A.E_,qt.SizeContext=V.Z,qt.config=mt,qt.useConfig=oe,Object.defineProperty(qt,"SizeContext",{get:()=>V.Z});var Jt=qt},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:M,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",M),[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 M=0,R=Object.getOwnPropertySymbols(_);M<R.length;M++)b.indexOf(R[M])<0&&Object.prototype.propertyIsEnumerable.call(_,R[M])&&(A[R[M]]=_[R[M]]);return A};const a=null,x=null;function p(_,b){const[A,R]=r.useState(typeof _=="string"?_:""),M=()=>{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(()=>{M()},[JSON.stringify(_),b]),A}const y=r.forwardRef((_,b)=>{const{prefixCls:A,justify:R,align:M,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(M,ce),Y=p(R,ce),le=r.useRef($),ne=(0,c.ZP)();r.useEffect(()=>{const mt=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(mt)},[]);const ee=()=>{const mt=[void 0,void 0];return(Array.isArray($)?$:[$,void 0]).forEach((Qt,qt)=>{if(typeof Qt=="object")for(let Jt=0;Jt<c.c4.length;Jt++){const Xe=c.c4[Jt];if(oe[Xe]&&Qt[Xe]!==void 0){mt[qt]=Qt[Xe];break}}else mt[qt]=Qt}),mt},ie=V("row",A),[F,L]=(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,L),we={},Pe=Q[0]!=null&&Q[0]>0?Q[0]/-2:void 0;Pe&&(we.marginLeft=Pe,we.marginRight=Pe),[,we.rowGap]=Q;const[Ue,Be]=Q,Ft=r.useMemo(()=>({gutter:[Ue,Be],wrap:j}),[Ue,Be,j]);return F(r.createElement(o.Z.Provider,{value:Ft},r.createElement("div",Object.assign({},K,{className:de,style:Object.assign(Object.assign({},we),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),M=e(37613);const P=pt=>{const{componentCls:tt,iconCls:ze,boxShadow:ye,colorText:Te,colorSuccess:Me,colorError:$e,colorWarning:We,colorInfo:it,fontSizeLG:ft,motionEaseInOutCirc:Vt,motionDurationSlow:Ht,marginXS:De,paddingXS:et,borderRadiusLG:Wt,zIndexPopup:Rt,contentPadding:Zt,contentBg:Bt}=pt,At=`${tt}-notice`,Kt=new b.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:et,transform:"translateY(0)",opacity:1}}),Ge=new b.Keyframes("MessageMoveOut",{"0%":{maxHeight:pt.height,padding:et,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),fe={padding:et,textAlign:"center",[`${tt}-custom-content > ${ze}`]:{verticalAlign:"text-bottom",marginInlineEnd:De,fontSize:ft},[`${At}-content`]:{display:"inline-block",padding:Zt,background:Bt,borderRadius:Wt,boxShadow:ye,pointerEvents:"all"},[`${tt}-success > ${ze}`]:{color:Me},[`${tt}-error > ${ze}`]:{color:$e},[`${tt}-warning > ${ze}`]:{color:We},[`${tt}-info > ${ze},
|
|
|
${tt}-loading > ${ze}`]:{color:it}};return[{[tt]:Object.assign(Object.assign({},(0,A.Wf)(pt)),{color:Te,position:"fixed",top:De,width:"100%",pointerEvents:"none",zIndex:Rt,[`${tt}-move-up`]:{animationFillMode:"forwards"},[`
|
|
|
${tt}-move-up-appear,
|
|
|
${tt}-move-up-enter
|
|
|
`]:{animationName:Kt,animationDuration:Ht,animationPlayState:"paused",animationTimingFunction:Vt},[`
|
|
|
${tt}-move-up-appear${tt}-move-up-appear-active,
|
|
|
${tt}-move-up-enter${tt}-move-up-enter-active
|
|
|
`]:{animationPlayState:"running"},[`${tt}-move-up-leave`]:{animationName:Ge,animationDuration:Ht,animationPlayState:"paused",animationTimingFunction:Vt},[`${tt}-move-up-leave${tt}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[tt]:{[At]:Object.assign({},fe)}},{[`${tt}-notice-pure-panel`]:Object.assign(Object.assign({},fe),{padding:0,textAlign:"start"})}]};var D=(0,R.Z)("Message",pt=>{const tt=(0,M.TS)(pt,{height:150});return[P(tt)]},pt=>({zIndexPopup:pt.zIndexPopupBase+10,contentBg:pt.colorBgElevated,contentPadding:`${(pt.controlHeightLG-pt.fontSize*pt.lineHeight)/2}px ${pt.paddingSM}px`})),B=function(pt,tt){var ze={};for(var ye in pt)Object.prototype.hasOwnProperty.call(pt,ye)&&tt.indexOf(ye)<0&&(ze[ye]=pt[ye]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ye=Object.getOwnPropertySymbols(pt);Te<ye.length;Te++)tt.indexOf(ye[Te])<0&&Object.prototype.propertyIsEnumerable.call(pt,ye[Te])&&(ze[ye[Te]]=pt[ye[Te]]);return ze};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=pt=>{let{prefixCls:tt,type:ze,icon:ye,children:Te}=pt;return i.createElement("div",{className:p()(`${tt}-custom-content`,`${tt}-${ze}`)},ye||$[ze],i.createElement("span",null,Te))};var V=pt=>{const{prefixCls:tt,className:ze,type:ye,icon:Te,content:Me}=pt,$e=B(pt,["prefixCls","className","type","icon","content"]),{getPrefixCls:We}=i.useContext(_.E_),it=tt||We("message"),[,ft]=D(it);return i.createElement(y.qX,Object.assign({},$e,{prefixCls:it,className:p()(ze,ft,`${it}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(j,{prefixCls:it,type:ye,icon:Te},Me)}))},W=e(99267);function oe(pt,tt){return{motionName:tt!=null?tt:`${pt}-move-up`}}function ae(pt){let tt;const ze=new Promise(Te=>{tt=pt(()=>{Te(!0)})}),ye=()=>{tt==null||tt()};return ye.then=(Te,Me)=>ze.then(Te,Me),ye.promise=ze,ye}var ce=function(pt,tt){var ze={};for(var ye in pt)Object.prototype.hasOwnProperty.call(pt,ye)&&tt.indexOf(ye)<0&&(ze[ye]=pt[ye]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ye=Object.getOwnPropertySymbols(pt);Te<ye.length;Te++)tt.indexOf(ye[Te])<0&&Object.prototype.propertyIsEnumerable.call(pt,ye[Te])&&(ze[ye[Te]]=pt[ye[Te]]);return ze};const q=8,J=3,Y=pt=>{let{children:tt,prefixCls:ze}=pt;const[,ye]=D(ze);return i.createElement(y.JB,{classNames:{list:ye,notice:ye}},tt)},le=(pt,tt)=>{let{prefixCls:ze,key:ye}=tt;return i.createElement(Y,{prefixCls:ze,key:ye},pt)},ne=i.forwardRef((pt,tt)=>{const{top:ze,prefixCls:ye,getContainer:Te,maxCount:Me,duration:$e=J,rtl:We,transitionName:it,onAllRemoved:ft}=pt,{getPrefixCls:Vt,getPopupContainer:Ht,message:De}=i.useContext(_.E_),et=ye||Vt("message"),Wt=()=>({left:"50%",transform:"translateX(-50%)",top:ze!=null?ze:q}),Rt=()=>p()({[`${et}-rtl`]:We}),Zt=()=>oe(et,it),Bt=i.createElement("span",{className:`${et}-close-x`},i.createElement(W.Z,{className:`${et}-close-icon`})),[At,Kt]=(0,y.lm)({prefixCls:et,style:Wt,className:Rt,motion:Zt,closable:!1,closeIcon:Bt,duration:$e,getContainer:()=>(Te==null?void 0:Te())||(Ht==null?void 0:Ht())||document.body,maxCount:Me,onAllRemoved:ft,renderNotifications:le});return i.useImperativeHandle(tt,()=>Object.assign(Object.assign({},At),{prefixCls:et,message:De})),Kt});let ee=0;function ie(pt){const tt=i.useRef(null);return[i.useMemo(()=>{const ye=it=>{var ft;(ft=tt.current)===null||ft===void 0||ft.close(it)},Te=it=>{if(!tt.current){const _e=()=>{};return _e.then=()=>{},_e}const{open:ft,prefixCls:Vt,message:Ht}=tt.current,De=`${Vt}-notice`,{content:et,icon:Wt,type:Rt,key:Zt,className:Bt,style:At,onClose:Kt}=it,Ge=ce(it,["content","icon","type","key","className","style","onClose"]);let fe=Zt;return fe==null&&(ee+=1,fe=`antd-message-${ee}`),ae(_e=>(ft(Object.assign(Object.assign({},Ge),{key:fe,content:i.createElement(j,{prefixCls:Vt,type:Rt,icon:Wt},et),placement:"top",className:p()(Rt&&`${De}-${Rt}`,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:Te,destroy:it=>{var ft;it!==void 0?ye(it):(ft=tt.current)===null||ft===void 0||ft.destroy()}};return["info","success","warning","error","loading"].forEach(it=>{const ft=(Vt,Ht,De)=>{let et;Vt&&typeof Vt=="object"&&"content"in Vt?et=Vt:et={content:Vt};let Wt,Rt;typeof Ht=="function"?Rt=Ht:(Wt=Ht,Rt=De);const Zt=Object.assign(Object.assign({onClose:Rt,duration:Wt},et),{type:it});return Te(Zt)};$e[it]=ft}),$e},[]),i.createElement(ne,Object.assign({key:"message-holder"},pt,{ref:tt}))]}function F(pt){return ie(pt)}let L=null,Q=pt=>pt(),de=[],we={};function Pe(){const{prefixCls:pt,getContainer:tt,duration:ze,rtl:ye,maxCount:Te,top:Me}=we,$e=pt!=null?pt:(0,c.w6)().getPrefixCls("message"),We=(tt==null?void 0:tt())||document.body;return{prefixCls:$e,getContainer:()=>We,duration:ze,rtl:ye,maxCount:Te,top:Me}}const Ue=i.forwardRef((pt,tt)=>{const[ze,ye]=i.useState(Pe),[Te,Me]=ie(ze),$e=(0,c.w6)(),We=$e.getRootPrefixCls(),it=$e.getIconPrefixCls(),ft=$e.getTheme(),Vt=()=>{ye(Pe)};return i.useEffect(Vt,[]),i.useImperativeHandle(tt,()=>{const Ht=Object.assign({},Te);return Object.keys(Ht).forEach(De=>{Ht[De]=function(){return Vt(),Te[De].apply(Te,arguments)}}),{instance:Ht,sync:Vt}}),i.createElement(c.ZP,{prefixCls:We,iconPrefixCls:it,theme:ft},Me)});function Be(){if(!L){const pt=document.createDocumentFragment(),tt={fragment:pt};L=tt,Q(()=>{(0,l.s)(i.createElement(Ue,{ref:ze=>{const{instance:ye,sync:Te}=ze||{};Promise.resolve().then(()=>{!tt.instance&&ye&&(tt.instance=ye,tt.sync=Te,Be())})}}),pt)});return}L.instance&&(de.forEach(pt=>{const{type:tt,skipped:ze}=pt;if(!ze)switch(tt){case"open":{Q(()=>{const ye=L.instance.open(Object.assign(Object.assign({},we),pt.config));ye==null||ye.then(pt.resolve),pt.setCloseFn(ye)});break}case"destroy":Q(()=>{L==null||L.instance.destroy(pt.key)});break;default:Q(()=>{var ye;const Te=(ye=L.instance)[tt].apply(ye,(0,r.Z)(pt.args));Te==null||Te.then(pt.resolve),pt.setCloseFn(Te)})}}),de=[])}function Ft(pt){we=Object.assign(Object.assign({},we),pt),Q(()=>{var tt;(tt=L==null?void 0:L.sync)===null||tt===void 0||tt.call(L)})}function mt(pt){const tt=ae(ze=>{let ye;const Te={type:"open",config:pt,resolve:ze,setCloseFn:Me=>{ye=Me}};return de.push(Te),()=>{ye?Q(()=>{ye()}):Te.skipped=!0}});return Be(),tt}function Pt(pt,tt){const ze=ae(ye=>{let Te;const Me={type:pt,args:tt,resolve:ye,setCloseFn:$e=>{Te=$e}};return de.push(Me),()=>{Te?Q(()=>{Te()}):Me.skipped=!0}});return Be(),ze}function Qt(pt){de.push({type:"destroy",key:pt}),Be()}const qt=["success","info","warning","error","loading"],Xe={open:mt,destroy:Qt,config:Ft,useMessage:F,_InternalPanelDoNotUseOrYouWillBeFired:V};qt.forEach(pt=>{Xe[pt]=function(){for(var tt=arguments.length,ze=new Array(tt),ye=0;ye<tt;ye++)ze[ye]=arguments[ye];return Pt(pt,ze)}});const It=()=>{};let Ut=null,ut=null;var bt=Xe},43418:function(d,g,e){"use strict";e.d(g,{default:function(){return ht}});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 M=()=>{const{autoFocusButton:zt,cancelButtonProps:Ct,cancelTextLocale:ke,isSilent:wt,mergedOkCancel:je,rootPrefixCls:Qe,close:Oe,onCancel:kt,onConfirm:Fe}=(0,l.useContext)(b);return je?l.createElement(_.Z,{isSilent:wt,actionFn:kt,close:function(){Oe==null||Oe.apply(void 0,arguments),Fe==null||Fe(!1)},autoFocus:zt==="cancel",buttonProps:Ct,prefixCls:`${Qe}-btn`},ke):null},D=()=>{const{autoFocusButton:zt,close:Ct,isSilent:ke,okButtonProps:wt,rootPrefixCls:je,okTextLocale:Qe,okType:Oe,onConfirm:kt,onOk:Fe}=(0,l.useContext)(b);return l.createElement(_.Z,{isSilent:ke,type:Oe||"primary",actionFn:Fe,close:function(){Ct==null||Ct.apply(void 0,arguments),kt==null||kt(!0)},autoFocus:zt==="ok",buttonProps:wt,prefixCls:`${je}-btn`},Qe)},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:je}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({},(0,ne.n)(ke),{loading:zt,onClick:je},Ct),wt)},F=e(98044);function L(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:je,onOk:Qe,onCancel:Oe,okButtonProps:kt,cancelButtonProps:Fe,footer:Dr}=zt,[St]=(0,y.Z)("Modal",(0,F.A)()),Gr=Ct||(St==null?void 0:St.okText),Qr=wt||(St==null?void 0:St.cancelText),Sr={confirmLoading:je,okButtonProps:kt,cancelButtonProps:Fe,okTextLocale:Gr,cancelTextLocale:Qr,okType:ke,onOk:Qe,onCancel:Oe},Or=l.useMemo(()=>Sr,(0,r.Z)(Object.values(Sr)));let hr;return typeof Dr=="function"||typeof Dr=="undefined"?(hr=l.createElement(A,{value:Or},l.createElement(le,null),l.createElement(ie,null)),typeof Dr=="function"&&(hr=Dr(hr,{OkBtn:ie,CancelBtn:le}))):hr=Dr,l.createElement(q.n,{disabled:!1},hr)};var de=e(73819),we=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 je=0,wt=Object.getOwnPropertySymbols(zt);je<wt.length;je++)Ct.indexOf(wt[je])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[je])&&(ke[wt[je]]=zt[wt[je]]);return ke};let Pe;const Ue=zt=>{Pe={x:zt.pageX,y:zt.pageY},setTimeout(()=>{Pe=null},100)};V()&&document.documentElement.addEventListener("click",Ue,!0);var Ft=zt=>{var Ct;const{getPopupContainer:ke,getPrefixCls:wt,direction:je,modal:Qe}=l.useContext(W.E_),Oe=dn=>{const{onCancel:Mn}=zt;Mn==null||Mn(dn)},kt=dn=>{const{onOk:Mn}=zt;Mn==null||Mn(dn)},{prefixCls:Fe,className:Dr,rootClassName:St,open:Gr,wrapClassName:Qr,centered:Sr,getContainer:Or,closeIcon:hr,closable:$r,focusTriggerAfterClose:nn=!0,style:on,visible:sr,width:Mt=520,footer:gt}=zt,yt=we(zt,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),Nt=wt("modal",Fe),Cr=wt(),[vr,lt]=(0,de.ZP)(Nt),Lr=x()(Qr,{[`${Nt}-centered`]:!!Sr,[`${Nt}-wrap-rtl`]:je==="rtl"}),_n=gt!==null&&l.createElement(Q,Object.assign({},zt,{onOk:kt,onCancel:Oe})),[Un,_r]=(0,j.Z)($r,hr,dn=>L(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:Or===void 0?ke:Or,prefixCls:Nt,rootClassName:x()(lt,St),wrapClassName:Lr,footer:_n,visible:Gr!=null?Gr:sr,mousePosition:(Ct=yt.mousePosition)!==null&&Ct!==void 0?Ct:Pe,onClose:Oe,closable:Un,closeIcon:_r,focusTriggerAfterClose:nn,transitionName:(0,p.m)(Cr,"zoom",zt.transitionName),maskTransitionName:(0,p.m)(Cr,"fade",zt.maskTransitionName),className:x()(lt,Dr,Qe==null?void 0:Qe.className),style:Object.assign(Object.assign({},Qe==null?void 0:Qe.style),on),panelRef:Jr})))))},mt=e(17313),Pt=e(83116);const Qt=zt=>{const{componentCls:Ct,titleFontSize:ke,titleLineHeight:wt,modalConfirmIconSize:je,fontSize:Qe,lineHeight:Oe}=zt,kt=`${Ct}-confirm`,Fe=Math.round(ke*wt),Dr=Math.round(Qe*Oe);return{[kt]:{"&-rtl":{direction:"rtl"},[`${zt.antCls}-modal-header`]:{display:"none"},[`${kt}-body-wrapper`]:Object.assign({},(0,mt.dF)()),[`${kt}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${zt.iconCls}`]:{flex:"none",fontSize:je,marginInlineEnd:zt.marginSM,marginTop:(Dr-je)/2},[`&-has-title > ${zt.iconCls}`]:{marginTop:(Fe-je)/2}},[`${kt}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:zt.marginXS},[`${kt}-title`]:{color:zt.colorTextHeading,fontWeight:zt.fontWeightStrong,fontSize:ke,lineHeight:wt},[`${kt}-content`]:{color:zt.colorText,fontSize:Qe,lineHeight:Oe},[`${kt}-btns`]:{textAlign:"end",marginTop:zt.marginSM,[`${zt.antCls}-btn + ${zt.antCls}-btn`]:{marginBottom:0,marginInlineStart:zt.marginXS}}},[`${kt}-error ${kt}-body > ${zt.iconCls}`]:{color:zt.colorError},[`${kt}-warning ${kt}-body > ${zt.iconCls},
|
|
|
${kt}-confirm ${kt}-body > ${zt.iconCls}`]:{color:zt.colorWarning},[`${kt}-info ${kt}-body > ${zt.iconCls}`]:{color:zt.colorInfo},[`${kt}-success ${kt}-body > ${zt.iconCls}`]:{color:zt.colorSuccess}}};var qt=(0,Pt.b)(["Modal","confirm"],zt=>{const Ct=(0,de.B4)(zt);return[Qt(Ct)]},de.eh,{order:-1e3}),Jt=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 je=0,wt=Object.getOwnPropertySymbols(zt);je<wt.length;je++)Ct.indexOf(wt[je])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[je])&&(ke[wt[je]]=zt[wt[je]]);return ke};function Xe(zt){const{prefixCls:Ct,icon:ke,okText:wt,cancelText:je,confirmPrefixCls:Qe,type:Oe,okCancel:kt,footer:Fe,locale:Dr}=zt,St=Jt(zt,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Gr=ke;if(!ke&&ke!==null)switch(Oe){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 Qr=kt!=null?kt:Oe==="confirm",Sr=zt.autoFocusButton===null?!1:zt.autoFocusButton||"ok",[Or]=(0,y.Z)("Modal"),hr=Dr||Or,$r=wt||(Qr?hr==null?void 0:hr.okText:hr==null?void 0:hr.justOkText),nn=je||(hr==null?void 0:hr.cancelText),on=Object.assign({autoFocusButton:Sr,cancelTextLocale:nn,okTextLocale:$r,mergedOkCancel:Qr},St),sr=l.useMemo(()=>on,(0,r.Z)(Object.values(on))),Mt=l.createElement(l.Fragment,null,l.createElement(M,null),l.createElement(D,null)),gt=zt.title!==void 0&&zt.title!==null,yt=`${Qe}-body`;return l.createElement("div",{className:`${Qe}-body-wrapper`},l.createElement("div",{className:x()(yt,{[`${yt}-has-title`]:gt})},Gr,l.createElement("div",{className:`${Qe}-paragraph`},gt&&l.createElement("span",{className:`${Qe}-title`},zt.title),l.createElement("div",{className:`${Qe}-content`},zt.content))),Fe===void 0||typeof Fe=="function"?l.createElement(A,{value:sr},l.createElement("div",{className:`${Qe}-btns`},typeof Fe=="function"?Fe(Mt,{OkBtn:D,CancelBtn:M}):Mt)):Fe,l.createElement(qt,{prefixCls:Ct}))}var Ut=zt=>{const{close:Ct,zIndex:ke,afterClose:wt,visible:je,open:Qe,keyboard:Oe,centered:kt,getContainer:Fe,maskStyle:Dr,direction:St,prefixCls:Gr,wrapClassName:Qr,rootPrefixCls:Sr,iconPrefixCls:Or,theme:hr,bodyStyle:$r,closable:nn=!1,closeIcon:on,modalRender:sr,focusTriggerAfterClose:Mt,onConfirm:gt}=zt,yt=`${Gr}-confirm`,Nt=zt.width||416,Cr=zt.style||{},vr=zt.mask===void 0?!0:zt.mask,lt=zt.maskClosable===void 0?!1:zt.maskClosable,Lr=x()(yt,`${yt}-${zt.type}`,{[`${yt}-rtl`]:St==="rtl"},zt.className);return l.createElement(c.ZP,{prefixCls:Sr,iconPrefixCls:Or,direction:St,theme:hr},l.createElement(Ft,{prefixCls:Gr,className:Lr,wrapClassName:x()({[`${yt}-centered`]:!!zt.centered},Qr),onCancel:()=>{Ct==null||Ct({triggerCancel:!0}),gt==null||gt(!1)},open:Qe,title:"",footer:null,transitionName:(0,p.m)(Sr||"","zoom",zt.transitionName),maskTransitionName:(0,p.m)(Sr||"","fade",zt.maskTransitionName),mask:vr,maskClosable:lt,maskStyle:Dr,style:Cr,bodyStyle:$r,width:Nt,zIndex:ke,afterClose:wt,keyboard:Oe,centered:kt,getContainer:Fe,closable:nn,closeIcon:on,modalRender:sr,focusTriggerAfterClose:Mt},l.createElement(Xe,Object.assign({},zt,{confirmPrefixCls:yt}))))},bt=[],pt=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 je=0,wt=Object.getOwnPropertySymbols(zt);je<wt.length;je++)Ct.indexOf(wt[je])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[je])&&(ke[wt[je]]=zt[wt[je]]);return ke};let tt="";function ze(){return tt}function ye(zt){const Ct=document.createDocumentFragment();let ke=Object.assign(Object.assign({},zt),{close:Oe,open:!0}),wt;function je(){for(var Fe=arguments.length,Dr=new Array(Fe),St=0;St<Fe;St++)Dr[St]=arguments[St];const Gr=Dr.some(Qr=>Qr&&Qr.triggerCancel);zt.onCancel&&Gr&&zt.onCancel.apply(zt,[()=>{}].concat((0,r.Z)(Dr.slice(1))));for(let Qr=0;Qr<bt.length;Qr++)if(bt[Qr]===Oe){bt.splice(Qr,1);break}(0,i.v)(Ct)}function Qe(Fe){var{okText:Dr,cancelText:St,prefixCls:Gr,getContainer:Qr}=Fe,Sr=pt(Fe,["okText","cancelText","prefixCls","getContainer"]);clearTimeout(wt),wt=setTimeout(()=>{const Or=(0,F.A)(),{getPrefixCls:hr,getIconPrefixCls:$r,getTheme:nn}=(0,c.w6)(),on=hr(void 0,ze()),sr=Gr||`${on}-modal`,Mt=$r(),gt=nn();let yt=Qr;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:Or,theme:gt,cancelText:St||Or.cancelText})),Ct)})}function Oe(){for(var Fe=arguments.length,Dr=new Array(Fe),St=0;St<Fe;St++)Dr[St]=arguments[St];ke=Object.assign(Object.assign({},ke),{open:!1,afterClose:()=>{typeof zt.afterClose=="function"&&zt.afterClose(),je.apply(this,Dr)}}),ke.visible&&delete ke.visible,Qe(ke)}function kt(Fe){typeof Fe=="function"?ke=Fe(ke):ke=Object.assign(Object.assign({},ke),Fe),Qe(ke)}return Qe(ke),bt.push(Oe),{destroy:Oe,update:kt}}function Te(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 We(zt){return Object.assign(Object.assign({},zt),{type:"error"})}function it(zt){return Object.assign(Object.assign({},zt),{type:"confirm"})}function ft(zt){let{rootPrefixCls:Ct}=zt;tt=Ct}var Vt=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 je=0,wt=Object.getOwnPropertySymbols(zt);je<wt.length;je++)Ct.indexOf(wt[je])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[je])&&(ke[wt[je]]=zt[wt[je]]);return ke};const De=zt=>{const{prefixCls:Ct,className:ke,closeIcon:wt,closable:je,type:Qe,title:Oe,children:kt}=zt,Fe=Ht(zt,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:Dr}=l.useContext(W.E_),St=Dr(),Gr=Ct||Dr("modal"),[,Qr]=(0,de.ZP)(Gr),Sr=`${Gr}-confirm`;let Or={};return Qe?Or={closable:je!=null?je:!1,title:"",footer:"",children:l.createElement(Xe,Object.assign({},zt,{prefixCls:Gr,confirmPrefixCls:Sr,rootPrefixCls:St,content:kt}))}:Or={closable:je!=null?je:!0,title:Oe,footer:zt.footer===void 0?l.createElement(Q,Object.assign({},zt)):zt.footer,children:kt},l.createElement($.s,Object.assign({prefixCls:Gr,className:x()(Qr,`${Gr}-pure-panel`,Qe&&Sr,Qe&&`${Sr}-${Qe}`,ke)},Fe,{closeIcon:L(Gr,wt),closable:je},Or))};var et=(0,Vt.i)(De);function Wt(){const[zt,Ct]=l.useState([]),ke=l.useCallback(wt=>(Ct(je=>[].concat((0,r.Z)(je),[wt])),()=>{Ct(je=>je.filter(Qe=>Qe!==wt))}),[]);return[zt,ke]}var Rt=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 je=0,wt=Object.getOwnPropertySymbols(zt);je<wt.length;je++)Ct.indexOf(wt[je])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[je])&&(ke[wt[je]]=zt[wt[je]]);return ke};const Bt=(zt,Ct)=>{var ke,{afterClose:wt,config:je}=zt,Qe=Zt(zt,["afterClose","config"]);const[Oe,kt]=l.useState(!0),[Fe,Dr]=l.useState(je),{direction:St,getPrefixCls:Gr}=l.useContext(W.E_),Qr=Gr("modal"),Sr=Gr(),Or=()=>{var on;wt(),(on=Fe.afterClose)===null||on===void 0||on.call(Fe)},hr=function(){kt(!1);for(var on=arguments.length,sr=new Array(on),Mt=0;Mt<on;Mt++)sr[Mt]=arguments[Mt];const gt=sr.some(yt=>yt&&yt.triggerCancel);Fe.onCancel&>&&Fe.onCancel.apply(Fe,[()=>{}].concat((0,r.Z)(sr.slice(1))))};l.useImperativeHandle(Ct,()=>({destroy:hr,update:on=>{Dr(sr=>Object.assign(Object.assign({},sr),on))}}));const $r=(ke=Fe.okCancel)!==null&&ke!==void 0?ke:Fe.type==="confirm",[nn]=(0,y.Z)("Modal",Rt.Z.Modal);return l.createElement(Ut,Object.assign({prefixCls:Qr,rootPrefixCls:Sr},Fe,{close:hr,open:Oe,afterClose:Or,okText:Fe.okText||($r?nn==null?void 0:nn.okText:nn==null?void 0:nn.justOkText),direction:Fe.direction||St,cancelText:Fe.cancelText||(nn==null?void 0:nn.cancelText)},Qe))};var At=l.forwardRef(Bt);let Kt=0;const Ge=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(Oe=>{Oe()}),ke([]))},[Ct]);const wt=l.useCallback(Qe=>function(kt){var Fe;Kt+=1;const Dr=l.createRef();let St;const Gr=new Promise($r=>{St=$r});let Qr=!1,Sr;const Or=l.createElement(At,{key:`modal-${Kt}`,config:Qe(kt),ref:Dr,afterClose:()=>{Sr==null||Sr()},isSilent:()=>Qr,onConfirm:$r=>{St($r)}});return Sr=(Fe=zt.current)===null||Fe===void 0?void 0:Fe.patchElement(Or),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=>(Qr=!0,Gr.then($r))}},[]);return[l.useMemo(()=>({info:wt(Me),success:wt($e),error:wt(We),warning:wt(Te),confirm:wt(it)}),[]),l.createElement(Ge,{key:"modal-holder",ref:zt})]}var _e=fe;function Ot(zt){return ye(Te(zt))}const Ie=Ft;Ie.useModal=_e,Ie.info=function(Ct){return ye(Me(Ct))},Ie.success=function(Ct){return ye($e(Ct))},Ie.error=function(Ct){return ye(We(Ct))},Ie.warning=Ot,Ie.warn=Ot,Ie.confirm=function(Ct){return ye(it(Ct))},Ie.destroyAll=function(){for(;bt.length;){const Ct=bt.pop();Ct&&Ct()}},Ie.config=ft,Ie._InternalPanelDoNotUseOrYouWillBeFired=et;var ht=Ie},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 pt}});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),M=e(37613),D=tt=>{const{componentCls:ze,width:ye,notificationMarginEdge:Te}=tt,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}}),We=new b.Keyframes("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:ye},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${ze}-top, &${ze}-bottom`]:{marginInline:0},[`&${ze}-top`]:{[`${ze}-fade-enter${ze}-fade-enter-active, ${ze}-fade-appear${ze}-fade-appear-active`]:{animationName:Me}},[`&${ze}-bottom`]:{[`${ze}-fade-enter${ze}-fade-enter-active, ${ze}-fade-appear${ze}-fade-appear-active`]:{animationName:$e}},[`&${ze}-topLeft, &${ze}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:Te,[`${ze}-fade-enter${ze}-fade-enter-active, ${ze}-fade-appear${ze}-fade-appear-active`]:{animationName:We}}}};const B=tt=>{const{iconCls:ze,componentCls:ye,boxShadow:Te,fontSizeLG:Me,notificationMarginBottom:$e,borderRadiusLG:We,colorSuccess:it,colorInfo:ft,colorWarning:Vt,colorError:Ht,colorTextHeading:De,notificationBg:et,notificationPadding:Wt,notificationMarginEdge:Rt,motionDurationMid:Zt,motionEaseInOut:Bt,fontSize:At,lineHeight:Kt,width:Ge,notificationIconSize:fe,colorText:_e}=tt,Ot=`${ye}-notice`,Ie=new b.Keyframes("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:Ge},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),ht=new b.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:tt.animationMaxHeight,marginBottom:$e,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),zt={position:"relative",width:Ge,maxWidth:`calc(100vw - ${Rt*2}px)`,marginBottom:$e,marginInlineStart:"auto",padding:Wt,overflow:"hidden",lineHeight:Kt,wordWrap:"break-word",background:et,borderRadius:We,boxShadow:Te,[`${ye}-close-icon`]:{fontSize:At,cursor:"pointer"},[`${Ot}-message`]:{marginBottom:tt.marginXS,color:De,fontSize:Me,lineHeight:tt.lineHeightLG},[`${Ot}-description`]:{fontSize:At,color:_e},[`&${Ot}-closable ${Ot}-message`]:{paddingInlineEnd:tt.paddingLG},[`${Ot}-with-icon ${Ot}-message`]:{marginBottom:tt.marginXS,marginInlineStart:tt.marginSM+fe,fontSize:Me},[`${Ot}-with-icon ${Ot}-description`]:{marginInlineStart:tt.marginSM+fe,fontSize:At},[`${Ot}-icon`]:{position:"absolute",fontSize:fe,lineHeight:0,[`&-success${ze}`]:{color:it},[`&-info${ze}`]:{color:ft},[`&-warning${ze}`]:{color:Vt},[`&-error${ze}`]:{color:Ht}},[`${Ot}-close`]:{position:"absolute",top:tt.notificationPaddingVertical,insetInlineEnd:tt.notificationPaddingHorizontal,color:tt.colorIcon,outline:"none",width:tt.notificationCloseButtonSize,height:tt.notificationCloseButtonSize,borderRadius:tt.borderRadiusSM,transition:`background-color ${tt.motionDurationMid}, color ${tt.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:tt.colorIconHover,backgroundColor:tt.wireframe?"transparent":tt.colorFillContent}},[`${Ot}-btn`]:{float:"right",marginTop:tt.marginSM}};return[{[ye]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,A.Wf)(tt)),{position:"fixed",zIndex:tt.zIndexPopup,marginInlineEnd:Rt,[`${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:tt.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:Ie,animationPlayState:"running"},[`${ye}-fade-leave${ye}-fade-leave-active`]:{animationName:ht,animationPlayState:"running"}}),D(tt)),{"&-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",tt=>{const ze=tt.paddingMD,ye=tt.paddingLG,Te=(0,M.TS)(tt,{notificationBg:tt.colorBgElevated,notificationPaddingVertical:ze,notificationPaddingHorizontal:ye,notificationIconSize:tt.fontSizeLG*tt.lineHeightLG,notificationCloseButtonSize:tt.controlHeightLG*.55,notificationMarginBottom:tt.margin,notificationPadding:`${tt.paddingMD}px ${tt.paddingContentHorizontalLG}px`,notificationMarginEdge:tt.marginLG,animationMaxHeight:150});return[B(Te)]},tt=>({zIndexPopup:tt.zIndexPopupBase+50,width:384})),j=function(tt,ze){var ye={};for(var Te in tt)Object.prototype.hasOwnProperty.call(tt,Te)&&ze.indexOf(Te)<0&&(ye[Te]=tt[Te]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Te=Object.getOwnPropertySymbols(tt);Me<Te.length;Me++)ze.indexOf(Te[Me])<0&&Object.prototype.propertyIsEnumerable.call(tt,Te[Me])&&(ye[Te[Me]]=tt[Te[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(tt,ze){return ze===null||ze===!1?null:ze||r.createElement("span",{className:`${tt}-close-x`},r.createElement(o.Z,{className:`${tt}-close-icon`}))}const W={success:c.Z,info:u.Z,error:f.Z,warning:h.Z},oe=tt=>{const{prefixCls:ze,icon:ye,type:Te,message:Me,description:$e,btn:We,role:it="alert"}=tt;let ft=null;return ye?ft=r.createElement("span",{className:`${ze}-icon`},ye):Te&&(ft=r.createElement(W[Te]||null,{className:p()(`${ze}-icon`,`${ze}-icon-${Te}`)})),r.createElement("div",{className:p()({[`${ze}-with-icon`]:ft}),role:it},ft,r.createElement("div",{className:`${ze}-message`},Me),r.createElement("div",{className:`${ze}-description`},$e),We&&r.createElement("div",{className:`${ze}-btn`},We))};var ce=tt=>{const{prefixCls:ze,className:ye,icon:Te,type:Me,message:$e,description:We,btn:it,closable:ft=!0,closeIcon:Vt}=tt,Ht=j(tt,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:De}=r.useContext(_.E_),et=ze||De("notification"),Wt=`${et}-notice`,[,Rt]=$(et);return r.createElement(y.qX,Object.assign({},Ht,{prefixCls:et,className:p()(ye,Rt,`${Wt}-pure-panel`),eventKey:"pure",duration:null,closable:ft,closeIcon:V(et,Vt),content:r.createElement(oe,{prefixCls:Wt,icon:Te,type:Me,message:$e,description:We,btn:it})}))};function q(tt,ze,ye){let Te;switch(tt){case"top":Te={left:"50%",transform:"translateX(-50%)",right:"auto",top:ze,bottom:"auto"};break;case"topLeft":Te={left:0,top:ze,bottom:"auto"};break;case"topRight":Te={right:0,top:ze,bottom:"auto"};break;case"bottom":Te={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:ye};break;case"bottomLeft":Te={left:0,top:"auto",bottom:ye};break;default:Te={right:0,top:"auto",bottom:ye};break}return Te}function J(tt){return{motionName:`${tt}-fade`}}var Y=function(tt,ze){var ye={};for(var Te in tt)Object.prototype.hasOwnProperty.call(tt,Te)&&ze.indexOf(Te)<0&&(ye[Te]=tt[Te]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Te=Object.getOwnPropertySymbols(tt);Me<Te.length;Me++)ze.indexOf(Te[Me])<0&&Object.prototype.propertyIsEnumerable.call(tt,Te[Me])&&(ye[Te[Me]]=tt[Te[Me]]);return ye};const le=24,ne=4.5,ee="topRight",ie=tt=>{let{children:ze,prefixCls:ye}=tt;const[,Te]=$(ye);return r.createElement(y.JB,{classNames:{list:Te,notice:Te}},ze)},F=(tt,ze)=>{let{prefixCls:ye,key:Te}=ze;return r.createElement(ie,{prefixCls:ye,key:Te},tt)},L=r.forwardRef((tt,ze)=>{const{top:ye,bottom:Te,prefixCls:Me,getContainer:$e,maxCount:We,rtl:it,onAllRemoved:ft}=tt,{getPrefixCls:Vt,getPopupContainer:Ht,notification:De}=r.useContext(_.E_),et=Me||Vt("notification"),Wt=Kt=>q(Kt,ye!=null?ye:le,Te!=null?Te:le),Rt=()=>p()({[`${et}-rtl`]:it}),Zt=()=>J(et),[Bt,At]=(0,y.lm)({prefixCls:et,style:Wt,className:Rt,motion:Zt,closable:!0,closeIcon:V(et),duration:ne,getContainer:()=>($e==null?void 0:$e())||(Ht==null?void 0:Ht())||document.body,maxCount:We,onAllRemoved:ft,renderNotifications:F});return r.useImperativeHandle(ze,()=>Object.assign(Object.assign({},Bt),{prefixCls:et,notification:De})),At});function Q(tt){const ze=r.useRef(null);return[r.useMemo(()=>{const Te=it=>{var ft;if(!ze.current)return;const{open:Vt,prefixCls:Ht,notification:De}=ze.current,et=`${Ht}-notice`,{message:Wt,description:Rt,icon:Zt,type:Bt,btn:At,className:Kt,style:Ge,role:fe="alert",closeIcon:_e}=it,Ot=Y(it,["message","description","icon","type","btn","className","style","role","closeIcon"]),Ie=V(et,_e);return Vt(Object.assign(Object.assign({placement:(ft=tt==null?void 0:tt.placement)!==null&&ft!==void 0?ft:ee},Ot),{content:r.createElement(oe,{prefixCls:et,icon:Zt,type:Bt,message:Wt,description:Rt,btn:At,role:fe}),className:p()(Bt&&`${et}-${Bt}`,Kt,De==null?void 0:De.className),style:Object.assign(Object.assign({},De==null?void 0:De.style),Ge),closeIcon:Ie,closable:!!Ie}))},$e={open:Te,destroy:it=>{var ft,Vt;it!==void 0?(ft=ze.current)===null||ft===void 0||ft.close(it):(Vt=ze.current)===null||Vt===void 0||Vt.destroy()}};return["success","info","warning","error"].forEach(it=>{$e[it]=ft=>Te(Object.assign(Object.assign({},ft),{type:it}))}),$e},[]),r.createElement(L,Object.assign({key:"notification-holder"},tt,{ref:ze}))]}function de(tt){return Q(tt)}let we=null,Pe=tt=>tt(),Ue=[],Be={};function Ft(){const{prefixCls:tt,getContainer:ze,rtl:ye,maxCount:Te,top:Me,bottom:$e}=Be,We=tt!=null?tt:(0,l.w6)().getPrefixCls("notification"),it=(ze==null?void 0:ze())||document.body;return{prefixCls:We,getContainer:()=>it,rtl:ye,maxCount:Te,top:Me,bottom:$e}}const mt=r.forwardRef((tt,ze)=>{const[ye,Te]=r.useState(Ft),[Me,$e]=Q(ye),We=(0,l.w6)(),it=We.getRootPrefixCls(),ft=We.getIconPrefixCls(),Vt=We.getTheme(),Ht=()=>{Te(Ft)};return r.useEffect(Ht,[]),r.useImperativeHandle(ze,()=>{const De=Object.assign({},Me);return Object.keys(De).forEach(et=>{De[et]=function(){return Ht(),Me[et].apply(Me,arguments)}}),{instance:De,sync:Ht}}),r.createElement(l.ZP,{prefixCls:it,iconPrefixCls:ft,theme:Vt},$e)});function Pt(){if(!we){const tt=document.createDocumentFragment(),ze={fragment:tt};we=ze,Pe(()=>{(0,i.s)(r.createElement(mt,{ref:ye=>{const{instance:Te,sync:Me}=ye||{};Promise.resolve().then(()=>{!ze.instance&&Te&&(ze.instance=Te,ze.sync=Me,Pt())})}}),tt)});return}we.instance&&(Ue.forEach(tt=>{switch(tt.type){case"open":{Pe(()=>{we.instance.open(Object.assign(Object.assign({},Be),tt.config))});break}case"destroy":Pe(()=>{we==null||we.instance.destroy(tt.key)});break}}),Ue=[])}function Qt(tt){Be=Object.assign(Object.assign({},Be),tt),Pe(()=>{var ze;(ze=we==null?void 0:we.sync)===null||ze===void 0||ze.call(we)})}function qt(tt){Ue.push({type:"open",config:tt}),Pt()}function Jt(tt){Ue.push({type:"destroy",key:tt}),Pt()}const Xe=["success","info","warning","error"],Ut={open:qt,destroy:Jt,config:Qt,useNotification:de,_InternalPanelDoNotUseOrYouWillBeFired:ce};Xe.forEach(tt=>{Ut[tt]=ze=>qt(Object.assign(Object.assign({},ze),{type:tt}))});const ut=()=>{};let bt=null;var pt=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 M in b)Object.prototype.hasOwnProperty.call(b,M)&&A.indexOf(M)<0&&(R[M]=b[M]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,M=Object.getOwnPropertySymbols(b);P<M.length;P++)A.indexOf(M[P])<0&&Object.prototype.propertyIsEnumerable.call(b,M[P])&&(R[M[P]]=b[M[P]]);return R};const a=c.createContext(null),x=(b,A)=>{const R=c.useContext(a),M=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:M}},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:M,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=>M!=null?M: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)}),[M,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 M=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"]),[L,Q]=c.useState(()=>oe&&!B(oe,ae));c.useEffect(()=>{if(oe){const Qt=(0,f.D)(ae,()=>{Q(!0)});return Qt(),()=>{var qt;(qt=Qt==null?void 0:Qt.cancel)===null||qt===void 0||qt.call(Qt)}}Q(!1)},[ae,oe]);const de=c.useMemo(()=>typeof ee!="undefined",[ee]),{direction:we,spin:Pe}=c.useContext(h.E_),Ue=i()(W,Pe==null?void 0:Pe.className,{[`${W}-sm`]:J==="small",[`${W}-lg`]:J==="large",[`${W}-spinning`]:L,[`${W}-show-text`]:!!Y,[`${W}-rtl`]:we==="rtl"},ce,q,ie),Be=i()(`${W}-container`,{[`${W}-blur`]:L}),Ft=(0,l.Z)(F,["indicator","prefixCls"]),mt=Object.assign(Object.assign({},Pe==null?void 0:Pe.style),ne),Pt=c.createElement("div",Object.assign({},Ft,{style:mt,className:Ue,"aria-live":"polite","aria-busy":L}),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)}),L&&c.createElement("div",{key:"loading"},Pt),c.createElement("div",{className:Be,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=(M,P)=>{const{antCls:D}=M,B=`${D}-${P}`,{inKeyframes:$,outKeyframes:j}=A[P];return[(0,i.R)(B,$,j,P==="zoom-big-fast"?M.motionDurationFast:M.motionDurationMid),{[`
|
|
|
${B}-enter,
|
|
|
${B}-appear
|
|
|
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:M.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${B}-leave`]:{animationTimingFunction:M.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:M={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(!!M.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(!!M.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(!!M.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(!!M.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,M=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} ${M} 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),L=oe(q),Q=oe(J),de=oe(Y),we=ae(ne,ee),Pe=V.colorLink||V.colorInfo,Ue=oe(Pe);return Object.assign(Object.assign({},we),{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:L[1],colorWarningBgHover:L[2],colorWarningBorder:L[3],colorWarningBorderHover:L[4],colorWarningHover:L[4],colorWarning:L[6],colorWarningActive:L[7],colorWarningTextHover:L[8],colorWarningText:L[9],colorWarningTextActive:L[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:Ue[4],colorLink:Ue[6],colorLinkActive:Ue[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 M(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=M(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,M){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(M).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,M){var P={};for(var D in R)Object.prototype.hasOwnProperty.call(R,D)&&M.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++)M.indexOf(D[B])<0&&Object.prototype.propertyIsEnumerable.call(R,D[B])&&(P[D[B]]=R[D[B]]);return P};function y(R){const{override:M}=R,P=p(R,["override"]),D=Object.assign({},M);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,M){var P={};for(var D in R)Object.prototype.hasOwnProperty.call(R,D)&&M.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++)M.indexOf(D[B])<0&&Object.prototype.propertyIsEnumerable.call(R,D[B])&&(P[D[B]]=R[D[B]]);return P};const b=(R,M,P)=>{const D=P.getDerivativeToken(R),{override:B}=M,$=_(M,["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:M,theme:P,components:D}=i.useContext(f.Mj),B=`${c}-${M||""}`,$=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,M?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,M=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:[M,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[L,Q]=F;var de;(q!=null&&q[L]||q!=null&&q[Q])&&((de=q[Q])!==null&&de!==void 0||(q[Q]=q==null?void 0:q[L]))})}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 M=>{let{prefixCls:P}=M;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),M=e(83116);const P=q=>{const{componentCls:J,tooltipMaxWidth:Y,tooltipColor:le,tooltipBg:ne,tooltipBorderRadius:ee,zIndexPopup:ie,controlHeight:F,boxShadowSecondary:L,paddingSM:Q,paddingXS:de,tooltipRadiusOuter:we}=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:L,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,(Pe,Ue)=>{let{darkColor:Be}=Ue;return{[`&${J}-${Pe}`]:{[`${J}-inner`]:{backgroundColor:Be},[`${J}-arrow`]:{"--antd-arrow-background-color":Be}}}})),{"&-rtl":{direction:"rtl"}})},(0,b.ZP)((0,R.TS)(q,{borderRadiusOuter:we}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:ee,limitVerticalRadius:!0}),{[`${J}-pure`]:{position:"relative",maxWidth:"none",margin:q.sizePopupArrow}}]};var D=(q,J)=>(0,M.Z)("Tooltip",le=>{if(J===!1)return[];const{borderRadius:ne,colorTextLightSolid:ee,colorBgDefault:ie,borderRadiusOuter:F}=le,L=(0,R.TS)(le,{tooltipMaxWidth:250,tooltipColor:ee,tooltipBorderRadius:ne,tooltipBg:ie,tooltipRadiusOuter:F>4?4:F});return[P(L),(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_),L=F("tooltip",J),[Q,de]=D(L,!0),we=$(L,ee),Pe=we.arrowStyle,Ue=Object.assign(Object.assign({},ie),we.overlayStyle),Be=l()(de,L,`${L}-pure`,`${L}-placement-${le}`,Y,we.className);return Q(r.createElement("div",{className:Be,style:Pe},r.createElement("div",{className:`${L}-arrow`}),r.createElement(c.G,Object.assign({},q,{className:de,prefixCls:L,overlayInnerStyle:Ue}),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:L,overlayInnerStyle:Q,children:de,afterOpenChange:we,afterVisibleChange:Pe,destroyTooltipOnHide:Ue,arrow:Be=!0,title:Ft,overlay:mt,builtinPlacements:Pt,arrowPointAtCenter:Qt=!1,autoAdjustOverflow:qt=!0}=q,Jt=!!Be,[,Xe]=(0,p.Z)(),{getPopupContainer:It,getPrefixCls:Ut,direction:ut}=r.useContext(a.E_),bt=r.useRef(null),pt=()=>{var ke;(ke=bt.current)===null||ke===void 0||ke.forceAlign()};r.useImperativeHandle(J,()=>({forceAlign:pt,forcePopupAlign:()=>{pt()}}));const[tt,ze]=(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&&!mt&&Ft!==0,Te=ke=>{var wt,je;ze(ye?!1:ke),ye||((wt=q.onOpenChange)===null||wt===void 0||wt.call(q,ke),(je=q.onVisibleChange)===null||je===void 0||je.call(q,ke))},Me=r.useMemo(()=>{var ke,wt;let je=Qt;return typeof Be=="object"&&(je=(wt=(ke=Be.pointAtCenter)!==null&&ke!==void 0?ke:Be.arrowPointAtCenter)!==null&&wt!==void 0?wt:Qt),Pt||(0,h.Z)({arrowPointAtCenter:je,autoAdjustOverflow:qt,arrowWidth:Jt?Xe.sizePopupArrow:0,borderRadius:Xe.borderRadius,offset:Xe.marginXXS,visibleFirst:!0})},[Qt,Be,Pt,Xe]),$e=r.useMemo(()=>Ft===0?Ft:mt||Ft||"",[mt,Ft]),We=r.createElement(x.BR,null,typeof $e=="function"?$e():$e),{getPopupContainer:it,placement:ft="top",mouseEnterDelay:Vt=.1,mouseLeaveDelay:Ht=.1,overlayStyle:De,rootClassName:et}=q,Wt=V(q,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),Rt=Ut("tooltip",ne),Zt=Ut(),Bt=q["data-popover-inject"];let At=tt;!("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),Rt),Ge=Kt.props,fe=!Ge.className||typeof Ge.className=="string"?l()(Ge.className,ee||`${Rt}-open`):Ge.className,[_e,Ot]=D(Rt,!Bt),Ie=$(Rt,L),ht=Ie.arrowStyle,zt=Object.assign(Object.assign({},Q),Ie.overlayStyle),Ct=l()(F,{[`${Rt}-rtl`]:ut==="rtl"},Ie.className,et,Ot);return _e(r.createElement(c.Z,Object.assign({},Wt,{showArrow:Jt,placement:ft,mouseEnterDelay:Vt,mouseLeaveDelay:Ht,prefixCls:Rt,overlayClassName:Ct,overlayStyle:Object.assign(Object.assign({},ht),De),getTooltipContainer:it||ie||It,ref:bt,builtinPlacements:Me,overlay:We,visible:At,onVisibleChange:Te,afterVisibleChange:we!=null?we:Pe,overlayInnerStyle:zt,arrowContent:r.createElement("span",{className:`${Rt}-arrow-content`}),motion:{motionName:(0,o.m)(Zt,"zoom-big-fast",q.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Ue}),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"],M=[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,M,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(ut){for(var bt=0,pt=!1,tt=!1,ze=0,ye=ut.length;ze<ye;++ze){var Te=ut[ze];if(Te.ignoreCase)tt=!0;else if(/[a-z]/i.test(Te.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){pt=!0,tt=!1;break}}var Me={b:8,t:9,n:10,v:11,f:12,r:13};function $e(Ht){var De=Ht.charCodeAt(0);if(De!==92)return De;var et=Ht.charAt(1);return De=Me[et],De||("0"<=et&&et<="7"?parseInt(Ht.substring(1),8):et==="u"||et==="x"?parseInt(Ht.substring(2),16):Ht.charCodeAt(1))}function We(Ht){if(Ht<32)return(Ht<16?"\\x0":"\\x")+Ht.toString(16);var De=String.fromCharCode(Ht);return De==="\\"||De==="-"||De==="]"||De==="^"?"\\"+De:De}function it(Ht){var De=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")),et=[],Wt=De[0]==="^",Rt=["["];Wt&&Rt.push("^");for(var Zt=Wt?1:0,Bt=De.length;Zt<Bt;++Zt){var At=De[Zt];if(/\\[bdsw]/i.test(At))Rt.push(At);else{var Kt=$e(At),Ge;Zt+2<Bt&&De[Zt+1]==="-"?(Ge=$e(De[Zt+2]),Zt+=2):Ge=Kt,et.push([Kt,Ge]),Ge<65||Kt>122||(Ge<65||Kt>90||et.push([Math.max(65,Kt)|32,Math.min(Ge,90)|32]),Ge<97||Kt>122||et.push([Math.max(97,Kt)&-33,Math.min(Ge,122)&-33]))}}et.sort(function(Ie,ht){return Ie[0]-ht[0]||ht[1]-Ie[1]});for(var fe=[],_e=[],Zt=0;Zt<et.length;++Zt){var Ot=et[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];Rt.push(We(Ot[0])),Ot[1]>Ot[0]&&(Ot[1]+1>Ot[0]&&Rt.push("-"),Rt.push(We(Ot[1])))}return Rt.push("]"),Rt.join("")}function ft(Ht){for(var De=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")),et=De.length,Wt=[],Rt=0,Zt=0;Rt<et;++Rt){var Bt=De[Rt];if(Bt==="(")++Zt;else if(Bt.charAt(0)==="\\"){var At=+Bt.substring(1);At&&(At<=Zt?Wt[At]=-1:De[Rt]=We(At))}}for(var Rt=1;Rt<Wt.length;++Rt)Wt[Rt]===-1&&(Wt[Rt]=++bt);for(var Rt=0,Zt=0;Rt<et;++Rt){var Bt=De[Rt];if(Bt==="(")++Zt,Wt[Zt]||(De[Rt]="(?:");else if(Bt.charAt(0)==="\\"){var At=+Bt.substring(1);At&&At<=Zt&&(De[Rt]="\\"+Wt[At])}}for(var Rt=0;Rt<et;++Rt)De[Rt]==="^"&&De[Rt+1]!=="^"&&(De[Rt]="");if(Ht.ignoreCase&&pt)for(var Rt=0;Rt<et;++Rt){var Bt=De[Rt],Kt=Bt.charAt(0);Bt.length>=2&&Kt==="["?De[Rt]=it(Bt):Kt!=="\\"&&(De[Rt]=Bt.replace(/[a-zA-Z]/g,function(_e){var Ot=_e.charCodeAt(0);return"["+String.fromCharCode(Ot&-33,Ot|32)+"]"}))}return De.join("")}for(var Vt=[],ze=0,ye=ut.length;ze<ye;++ze){var Te=ut[ze];if(Te.global||Te.multiline)throw new Error(""+Te);Vt.push("(?:"+ft(Te)+")")}return new RegExp(Vt.join("|"),tt?"gi":"g")}function F(ut,bt){var pt=/(?:^|\s)nocode(?:\s|$)/,tt=[],ze=0,ye=[],Te=0;function Me($e){var We=$e.nodeType;if(We==1){if(pt.test($e.className))return;for(var it=$e.firstChild;it;it=it.nextSibling)Me(it);var ft=$e.nodeName.toLowerCase();(ft==="br"||ft==="li")&&(tt[Te]=`
|
|
|
`,ye[Te<<1]=ze++,ye[Te++<<1|1]=$e)}else if(We==3||We==4){var Vt=$e.nodeValue;Vt.length&&(bt?Vt=Vt.replace(/\r\n?/g,`
|
|
|
`):Vt=Vt.replace(/[ \t\r\n]+/g," "),tt[Te]=Vt,ye[Te<<1]=ze,ze+=Vt.length,ye[Te++<<1|1]=$e)}}return Me(ut),{sourceCode:tt.join("").replace(/\n$/,""),spans:ye}}function L(ut,bt,pt,tt,ze){if(pt){var ye={sourceNode:ut,pre:1,langExtension:null,numberLines:null,sourceCode:pt,spans:null,basePos:bt,decorations:null};tt(ye),ze.push.apply(ze,ye.decorations)}}var Q=/\S/;function de(ut){for(var bt=void 0,pt=ut.firstChild;pt;pt=pt.nextSibling){var tt=pt.nodeType;bt=tt===1?bt?ut:pt:tt===3&&Q.test(pt.nodeValue)?ut:bt}return bt===ut?void 0:bt}function we(ut,bt){var pt={},tt;(function(){for(var Te=ut.concat(bt),Me=[],$e={},We=0,it=Te.length;We<it;++We){var ft=Te[We],Vt=ft[3];if(Vt)for(var Ht=Vt.length;--Ht>=0;)pt[Vt.charAt(Ht)]=ft;var De=ft[1],et=""+De;$e.hasOwnProperty(et)||(Me.push(De),$e[et]=null)}Me.push(/[\0-\uffff]/),tt=ie(Me)})();var ze=bt.length,ye=function(Te){for(var Me=Te.sourceCode,$e=Te.basePos,We=Te.sourceNode,it=[$e,ae],ft=0,Vt=Me.match(tt)||[],Ht={},De=0,et=Vt.length;De<et;++De){var Wt=Vt[De],Rt=Ht[Wt],Zt=void 0,Bt;if(typeof Rt=="string")Bt=!1;else{var At=pt[Wt.charAt(0)];if(At)Zt=Wt.match(At[1]),Rt=At[0];else{for(var Kt=0;Kt<ze;++Kt)if(At=bt[Kt],Zt=Wt.match(At[1]),Zt){Rt=At[0];break}Zt||(Rt=ae)}Bt=Rt.length>=5&&Rt.substring(0,5)==="lang-",Bt&&!(Zt&&typeof Zt[1]=="string")&&(Bt=!1,Rt=J),Bt||(Ht[Wt]=Rt)}var Ge=ft;if(ft+=Wt.length,!Bt)it.push($e+Ge,Rt);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 Ie=Rt.substring(5);L(We,$e+Ge,Wt.substring(0,_e),ye,it),L(We,$e+Ge+_e,fe,Qt(Ie,fe),it),L(We,$e+Ge+Ot,Wt.substring(Ot),ye,it)}}Te.decorations=it};return ye}function Pe(ut){var bt=[],pt=[];ut.tripleQuotedStrings?bt.push([$,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):ut.multiLineStrings?bt.push([$,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):bt.push([$,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),ut.verbatimStrings&&pt.push([$,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var tt=ut.hashComments;tt&&(ut.cStyleComments?(tt>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,"#"]),pt.push([$,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):bt.push([K,/^#[^\r\n]*/,null,"#"])),ut.cStyleComments&&(pt.push([K,/^\/\/[^\r\n]*/,null]),pt.push([K,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var ze=ut.regexLiterals;if(ze){var ye=ze>1?"":`
|
|
|
\r`,Te=ye?".":"[\\S\\s]",Me="/(?=[^/*"+ye+"])(?:[^/\\x5B\\x5C"+ye+"]|\\x5C"+Te+"|\\x5B(?:[^\\x5C\\x5D"+ye+"]|\\x5C"+Te+")*(?:\\x5D|$))+/";pt.push(["lang-regex",RegExp("^"+ee+"("+Me+")")])}var $e=ut.types;$e&&pt.push([V,$e]);var We=(""+ut.keywords).replace(/^ | $/g,"");We.length&&pt.push([j,new RegExp("^(?:"+We.replace(/[\s,]+/g,"|")+")\\b"),null]),bt.push([ae,/^\s+/,null,` \r
|
|
|
\xA0`]);var it="^.[^\\s\\w.$@'\"`/\\\\]*";return ut.regexLiterals&&(it+="(?!s*/)"),pt.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(it),null]),we(bt,pt)}var Ue=Pe({keywords:D,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Be(ut,bt,pt){for(var tt=/(?:^|\s)nocode(?:\s|$)/,ze=/\r\n?|\n/,ye=ut.ownerDocument,Te=ye.createElement("li");ut.firstChild;)Te.appendChild(ut.firstChild);var Me=[Te];function $e(De){var et=De.nodeType;if(et==1&&!tt.test(De.className))if(De.nodeName==="br")We(De),De.parentNode&&De.parentNode.removeChild(De);else for(var Wt=De.firstChild;Wt;Wt=Wt.nextSibling)$e(Wt);else if((et==3||et==4)&&pt){var Rt=De.nodeValue,Zt=Rt.match(ze);if(Zt){var Bt=Rt.substring(0,Zt.index);De.nodeValue=Bt;var At=Rt.substring(Zt.index+Zt[0].length);if(At){var Kt=De.parentNode;Kt.insertBefore(ye.createTextNode(At),De.nextSibling)}We(De),Bt||De.parentNode.removeChild(De)}}}function We(De){for(;!De.nextSibling;)if(De=De.parentNode,!De)return;function et(Zt,Bt){var At=Bt?Zt.cloneNode(!1):Zt,Kt=Zt.parentNode;if(Kt){var Ge=et(Kt,1),fe=Zt.nextSibling;Ge.appendChild(At);for(var _e=fe;_e;_e=fe)fe=_e.nextSibling,Ge.appendChild(_e)}return At}for(var Wt=et(De.nextSibling,0),Rt;(Rt=Wt.parentNode)&&Rt.nodeType===1;)Wt=Rt;Me.push(Wt)}for(var it=0;it<Me.length;++it)$e(Me[it]);bt===(bt|0)&&Me[0].setAttribute("value",bt);var ft=ye.createElement("ol");ft.className="linenums";for(var Vt=Math.max(0,bt-1|0)||0,it=0,Ht=Me.length;it<Ht;++it)Te=Me[it],Te.className="L"+(it+Vt)%10,Te.firstChild||Te.appendChild(ye.createTextNode("\xA0")),ft.appendChild(Te);ut.appendChild(ft)}function Ft(ut){var bt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);bt=bt&&+bt[1]<=8;var pt=/\n/g,tt=ut.sourceCode,ze=tt.length,ye=0,Te=ut.spans,Me=Te.length,$e=0,We=ut.decorations,it=We.length,ft=0;We[it]=ze;var Vt,Ht;for(Ht=Vt=0;Ht<it;)We[Ht]!==We[Ht+2]?(We[Vt++]=We[Ht++],We[Vt++]=We[Ht++]):Ht+=2;for(it=Vt,Ht=Vt=0;Ht<it;){for(var De=We[Ht],et=We[Ht+1],Wt=Ht+2;Wt+2<=it&&We[Wt+1]===et;)Wt+=2;We[Vt++]=De,We[Vt++]=et,Ht=Wt}it=We.length=Vt;var Rt=ut.sourceNode,Zt="";Rt&&(Zt=Rt.style.display,Rt.style.display="none");try{for(var Bt=null;$e<Me;){var At=Te[$e],Kt=Te[$e+2]||ze,Ge=We[ft+2]||ze,Wt=Math.min(Kt,Ge),fe=Te[$e+1],_e;if(fe.nodeType!==1&&(_e=tt.substring(ye,Wt))){bt&&(_e=_e.replace(pt,"\r")),fe.nodeValue=_e;var Ot=fe.ownerDocument,Ie=Ot.createElement("span");Ie.className=We[ft+1];var ht=fe.parentNode;ht.replaceChild(Ie,fe),Ie.appendChild(fe),ye<Kt&&(Te[$e+1]=fe=Ot.createTextNode(tt.substring(Wt,Kt)),ht.insertBefore(fe,Ie.nextSibling))}ye=Wt,ye>=Kt&&($e+=2),ye>=Ge&&(ft+=2)}}finally{Rt&&(Rt.style.display=Zt)}}var mt={};function Pt(ut,bt){for(var pt=bt.length;--pt>=0;){var tt=bt[pt];mt.hasOwnProperty(tt)?o.console&&console.warn("cannot override language handler %s",tt):mt[tt]=ut}}function Qt(ut,bt){return ut&&mt.hasOwnProperty(ut)||(ut=/^\s*</.test(bt)?"default-markup":"default-code"),mt[ut]}Pt(Ue,["default-code"]),Pt(we([],[[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(we([[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(we([],[[le,/^[\s\S]+/]]),["uq.val"]),Pt(Pe({keywords:x,hashComments:!0,cStyleComments:!0,types:B}),["c","cc","cpp","cxx","cyc","m"]),Pt(Pe({keywords:"null,true,false"}),["json"]),Pt(Pe({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:B}),["cs"]),Pt(Pe({keywords:p,cStyleComments:!0}),["java"]),Pt(Pe({keywords:P,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Pt(Pe({keywords:R,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Pt(Pe({keywords:A,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Pt(Pe({keywords:M,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Pt(Pe({keywords:b,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Pt(Pe({keywords:_,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Pt(we([],[[$,/^[\s\S]+/]]),["regex"]);function qt(ut){var bt=ut.langExtension;try{var pt=F(ut.sourceNode,ut.pre),tt=pt.sourceCode;ut.sourceCode=tt,ut.spans=pt.spans,ut.basePos=0,Qt(bt,tt)(ut),Ft(ut)}catch(ze){o.console&&console.log(ze&&ze.stack||ze)}}function Jt(ut,bt,pt){var tt=pt||!1,ze=bt||null,ye=document.createElement("div");ye.innerHTML="<pre>"+ut+"</pre>",ye=ye.firstChild,tt&&Be(ye,tt,!0);var Te={langExtension:ze,numberLines:tt,sourceNode:ye,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return qt(Te),ye.innerHTML}function Xe(ut,bt){var pt=bt||document.body,tt=pt.ownerDocument||document;function ze(At){return pt.getElementsByTagName(At)}for(var ye=[ze("pre"),ze("code"),ze("xmp")],Te=[],Me=0;Me<ye.length;++Me)for(var $e=0,We=ye[Me].length;$e<We;++$e)Te.push(ye[Me][$e]);ye=null;var it=Date;it.now||(it={now:function(){return+new Date}});var ft=0,Vt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ht=/\bprettyprint\b/,De=/\bprettyprinted\b/,et=/pre|xmp/i,Wt=/^code$/i,Rt=/^(?:pre|code|xmp)$/i,Zt={};function Bt(){for(var At=o.PR_SHOULD_USE_CONTINUATION?it.now()+250:1/0;ft<Te.length&&it.now()<At;ft++){for(var Kt=Te[ft],Ge=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){Ge={},Ot.replace(/\b(\w+)=([\w:.%+-]+)/g,function(St,Gr,Qr){Ge[Gr]=Qr});break}}var Ie=Kt.className;if((Ge!==Zt||Ht.test(Ie))&&!De.test(Ie)){for(var ht=!1,zt=Kt.parentNode;zt;zt=zt.parentNode){var Ct=zt.tagName;if(Rt.test(Ct)&&zt.className&&Ht.test(zt.className)){ht=!0;break}}if(!ht){Kt.className+=" prettyprinted";var ke=Ge.lang;if(!ke){ke=Ie.match(Vt);var wt;!ke&&(wt=de(Kt))&&Wt.test(wt.tagName)&&(ke=wt.className.match(Vt)),ke&&(ke=ke[1])}var je;if(et.test(Kt.tagName))je=1;else{var Qe=Kt.currentStyle,Oe=tt.defaultView,kt=Qe?Qe.whiteSpace:Oe&&Oe.getComputedStyle?Oe.getComputedStyle(Kt,null).getPropertyValue("white-space"):0;je=kt&&kt.substring(0,3)==="pre"}var Fe=Ge.linenums;(Fe=Fe==="true"||+Fe)||(Fe=Ie.match(/\blinenums\b(?::(\d+))?/),Fe=Fe?Fe[1]&&Fe[1].length?+Fe[1]:!0:!1),Fe&&Be(Kt,Fe,je);var Dr={langExtension:ke,sourceNode:Kt,numberLines:Fe,pre:je,sourceCode:null,basePos:null,spans:null,decorations:null};qt(Dr)}}}ft<Te.length?o.setTimeout(Bt,250):typeof ut=="function"&&ut()}Bt()}var It=o.PR={createSimpleLexer:we,registerLangHandler:Pt,sourceDecorator:Pe,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=Jt:c=Jt,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 M=i[h.format]||i.default;window.clipboardData.setData(M,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(M){u&&console.error("unable to copy using clipboardData: ",M),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],M=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(M)}(),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}}),M=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:M,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 M.HMAC.init(P,B).finalize(D)}}}),M=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,M=b<<16|A<<8|R,P=0;P<4&&_+P*.75<x;P++)y.push(p.charAt(M>>>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,M=x[b+2>>>2]>>>24-(b+2)%4*8&255,P=A<<16|R<<8|M,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,M=y.iterations;A.length<R;){p&&_.update(p),p=_.update(a).finalize(x),_.reset();for(var P=1;P<M;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,M=0;M<p;M++)A[M]^=1549556828,R[M]^=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 M=A+R,P=b[M];b[M]=(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],L=D[1],Q=D[2],de=D[3];F=x(F,L,Q,de,B,7,u[0]),de=x(de,F,L,Q,$,12,u[1]),Q=x(Q,de,F,L,j,17,u[2]),L=x(L,Q,de,F,K,22,u[3]),F=x(F,L,Q,de,V,7,u[4]),de=x(de,F,L,Q,W,12,u[5]),Q=x(Q,de,F,L,oe,17,u[6]),L=x(L,Q,de,F,ae,22,u[7]),F=x(F,L,Q,de,ce,7,u[8]),de=x(de,F,L,Q,q,12,u[9]),Q=x(Q,de,F,L,J,17,u[10]),L=x(L,Q,de,F,Y,22,u[11]),F=x(F,L,Q,de,le,7,u[12]),de=x(de,F,L,Q,ne,12,u[13]),Q=x(Q,de,F,L,ee,17,u[14]),L=x(L,Q,de,F,ie,22,u[15]),F=p(F,L,Q,de,$,5,u[16]),de=p(de,F,L,Q,oe,9,u[17]),Q=p(Q,de,F,L,Y,14,u[18]),L=p(L,Q,de,F,B,20,u[19]),F=p(F,L,Q,de,W,5,u[20]),de=p(de,F,L,Q,J,9,u[21]),Q=p(Q,de,F,L,ie,14,u[22]),L=p(L,Q,de,F,V,20,u[23]),F=p(F,L,Q,de,q,5,u[24]),de=p(de,F,L,Q,ee,9,u[25]),Q=p(Q,de,F,L,K,14,u[26]),L=p(L,Q,de,F,ce,20,u[27]),F=p(F,L,Q,de,ne,5,u[28]),de=p(de,F,L,Q,j,9,u[29]),Q=p(Q,de,F,L,ae,14,u[30]),L=p(L,Q,de,F,le,20,u[31]),F=y(F,L,Q,de,W,4,u[32]),de=y(de,F,L,Q,ce,11,u[33]),Q=y(Q,de,F,L,Y,16,u[34]),L=y(L,Q,de,F,ee,23,u[35]),F=y(F,L,Q,de,$,4,u[36]),de=y(de,F,L,Q,V,11,u[37]),Q=y(Q,de,F,L,ae,16,u[38]),L=y(L,Q,de,F,J,23,u[39]),F=y(F,L,Q,de,ne,4,u[40]),de=y(de,F,L,Q,B,11,u[41]),Q=y(Q,de,F,L,K,16,u[42]),L=y(L,Q,de,F,oe,23,u[43]),F=y(F,L,Q,de,q,4,u[44]),de=y(de,F,L,Q,le,11,u[45]),Q=y(Q,de,F,L,ie,16,u[46]),L=y(L,Q,de,F,j,23,u[47]),F=_(F,L,Q,de,B,6,u[48]),de=_(de,F,L,Q,ae,10,u[49]),Q=_(Q,de,F,L,ee,15,u[50]),L=_(L,Q,de,F,W,21,u[51]),F=_(F,L,Q,de,le,6,u[52]),de=_(de,F,L,Q,K,10,u[53]),Q=_(Q,de,F,L,J,15,u[54]),L=_(L,Q,de,F,$,21,u[55]),F=_(F,L,Q,de,ce,6,u[56]),de=_(de,F,L,Q,ie,10,u[57]),Q=_(Q,de,F,L,oe,15,u[58]),L=_(L,Q,de,F,ne,21,u[59]),F=_(F,L,Q,de,V,6,u[60]),de=_(de,F,L,Q,Y,10,u[61]),Q=_(Q,de,F,L,j,15,u[62]),L=_(L,Q,de,F,q,21,u[63]),D[0]=D[0]+F|0,D[1]=D[1]+L|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,M=b.sigBytes*8;A[M>>>5]|=128<<24-M%32;var P=i.floor(R/4294967296),D=R;A[(M+64>>>9<<4)+15]=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,A[(M+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,M,P,D,B){var $=b+(A&R|~A&M)+P+B;return($<<D|$>>>32-D)+A}function p(b,A,R,M,P,D,B){var $=b+(A&M|R&~M)+P+B;return($<<D|$>>>32-D)+A}function y(b,A,R,M,P,D,B){var $=b+(A^R^M)+P+B;return($<<D|$>>>32-D)+A}function _(b,A,R,M,P,D,B){var $=b+(R^(A|~M))+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,M=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),M[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,M=R[0],P=R[1],D=(M<<8|M>>>24)&16711935|(M<<24|M>>>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,M=((A*A>>>17)+A*R>>>15)+R*R,P=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=M^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,M=R[0],P=R[1],D=(M<<8|M>>>24)&16711935|(M<<24|M>>>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,M=((A*A>>>17)+A*R>>>15)+R*R,P=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=M^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 M=y[_];y[_]=y[b],y[b]=M}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,L,Q,de,we,Pe,Ue;Q=ne=oe[0],de=ee=oe[1],we=ie=oe[2],Pe=F=oe[3],Ue=L=oe[4];for(var Be,K=0;K<80;K+=1)Be=ne+$[j+q[K]]|0,K<16?Be+=A(ee,ie,F)+ae[0]:K<32?Be+=R(ee,ie,F)+ae[1]:K<48?Be+=M(ee,ie,F)+ae[2]:K<64?Be+=P(ee,ie,F)+ae[3]:Be+=D(ee,ie,F)+ae[4],Be=Be|0,Be=B(Be,Y[K]),Be=Be+L|0,ne=L,L=F,F=B(ie,10),ie=ee,ee=Be,Be=Q+$[j+J[K]]|0,K<16?Be+=D(de,we,Pe)+ce[0]:K<32?Be+=P(de,we,Pe)+ce[1]:K<48?Be+=M(de,we,Pe)+ce[2]:K<64?Be+=R(de,we,Pe)+ce[3]:Be+=A(de,we,Pe)+ce[4],Be=Be|0,Be=B(Be,le[K]),Be=Be+Ue|0,Q=Ue,Ue=Pe,Pe=B(we,10),we=de,de=Be;Be=oe[1]+ie+Pe|0,oe[1]=oe[2]+F+Ue|0,oe[2]=oe[3]+L+Q|0,oe[3]=oe[4]+ne+de|0,oe[4]=oe[0]+ee+we|0,oe[0]=Be},_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 M($,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],M=0;M<80;M++){if(M<16)h[M]=a[x+M]|0;else{var P=h[M-3]^h[M-8]^h[M-14]^h[M-16];h[M]=P<<1|P>>>31}var D=(y<<5|y>>>27)+R+h[M];M<20?D+=(_&b|~_&A)+1518500249:M<40?D+=(_^b^A)+1859775393:M<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 M=i.sqrt(R),P=2;P<=M;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],M=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&M^R&M,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=M,M=R,R=A,A=le+ne|0}b[0]=b[0]+A|0,b[1]=b[1]+R|0,b[2]=b[2]+M|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,M=0;M<24;M++){x[A+5*R]=(M+1)*(M+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 M=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=M[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=M[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=M[V+5*ae];j.high^=W,j.low^=oe}for(var ne=1;ne<25;ne++){var W,oe,j=M[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 L=_[p[ne]];L.high=W,L.low=oe}var Q=_[0],de=M[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=M[ne],we=_[ne],Pe=_[(V+1)%5+5*ae],Ue=_[(V+2)%5+5*ae];j.high=we.high^~Pe.high&Ue.high,j.low=we.low^~Pe.low&Ue.low}var j=M[0],Be=y[K];j.high^=Be.high,j.low^=Be.low}},_doFinalize:function(){var A=this._data,R=A.words,M=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),M=0;M<25;M++)R[M]=R[M].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],M=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=M.high,ae=M.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,L=j.low,Q=K.high,de=K.low,we=V,Pe=W,Ue=oe,Be=ae,Ft=ce,mt=q,Pt=J,Qt=Y,qt=le,Jt=ne,Xe=ee,It=ie,Ut=F,ut=L,bt=Q,pt=de,tt=0;tt<80;tt++){var ze,ye,Te=p[tt];if(tt<16)ye=Te.high=_[b+tt*2]|0,ze=Te.low=_[b+tt*2+1]|0;else{var Me=p[tt-15],$e=Me.high,We=Me.low,it=($e>>>1|We<<31)^($e>>>8|We<<24)^$e>>>7,ft=(We>>>1|$e<<31)^(We>>>8|$e<<24)^(We>>>7|$e<<25),Vt=p[tt-2],Ht=Vt.high,De=Vt.low,et=(Ht>>>19|De<<13)^(Ht<<3|De>>>29)^Ht>>>6,Wt=(De>>>19|Ht<<13)^(De<<3|Ht>>>29)^(De>>>6|Ht<<26),Rt=p[tt-7],Zt=Rt.high,Bt=Rt.low,At=p[tt-16],Kt=At.high,Ge=At.low;ze=ft+Bt,ye=it+Zt+(ze>>>0<ft>>>0?1:0),ze=ze+Wt,ye=ye+et+(ze>>>0<Wt>>>0?1:0),ze=ze+Ge,ye=ye+Kt+(ze>>>0<Ge>>>0?1:0),Te.high=ye,Te.low=ze}var fe=qt&Xe^~qt&Ut,_e=Jt&It^~Jt&ut,Ot=we&Ue^we&Ft^Ue&Ft,Ie=Pe&Be^Pe&mt^Be&mt,ht=(we>>>28|Pe<<4)^(we<<30|Pe>>>2)^(we<<25|Pe>>>7),zt=(Pe>>>28|we<<4)^(Pe<<30|we>>>2)^(Pe<<25|we>>>7),Ct=(qt>>>14|Jt<<18)^(qt>>>18|Jt<<14)^(qt<<23|Jt>>>9),ke=(Jt>>>14|qt<<18)^(Jt>>>18|qt<<14)^(Jt<<23|qt>>>9),wt=x[tt],je=wt.high,Qe=wt.low,Oe=pt+ke,kt=bt+Ct+(Oe>>>0<pt>>>0?1:0),Oe=Oe+_e,kt=kt+fe+(Oe>>>0<_e>>>0?1:0),Oe=Oe+Qe,kt=kt+je+(Oe>>>0<Qe>>>0?1:0),Oe=Oe+ze,kt=kt+ye+(Oe>>>0<ze>>>0?1:0),Fe=zt+Ie,Dr=ht+Ot+(Fe>>>0<zt>>>0?1:0);bt=Ut,pt=ut,Ut=Xe,ut=It,Xe=qt,It=Jt,Jt=Qt+Oe|0,qt=Pt+kt+(Jt>>>0<Qt>>>0?1:0)|0,Pt=Ft,Qt=mt,Ft=Ue,mt=Be,Ue=we,Be=Pe,Pe=Oe+Fe|0,we=kt+Dr+(Pe>>>0<Oe>>>0?1:0)|0}W=R.low=W+Pe,R.high=V+we+(W>>>0<Pe>>>0?1:0),ae=M.low=ae+Be,M.high=oe+Ue+(ae>>>0<Be>>>0?1:0),q=P.low=q+mt,P.high=ce+Ft+(q>>>0<mt>>>0?1:0),Y=D.low=Y+Qt,D.high=J+Pt+(Y>>>0<Qt>>>0?1:0),ne=B.low=ne+Jt,B.high=le+qt+(ne>>>0<Jt>>>0?1:0),ie=$.low=ie+It,$.high=ee+Xe+(ie>>>0<It>>>0?1:0),L=j.low=L+ut,j.high=F+Ut+(L>>>0<ut>>>0?1:0),de=K.low=de+pt,K.high=Q+bt+(de>>>0<pt>>>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 M=this._hash.toX32();return M},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,M=R.words,P=[],D=0;D<56;D++){var B=h[D]-1;P[D]=M[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,M){this._doCryptBlock(R,M,this._subKeys)},decryptBlock:function(R,M){this._doCryptBlock(R,M,this._invSubKeys)},_doCryptBlock:function(R,M,P){this._lBlock=R[M],this._rBlock=R[M+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[M]=this._lBlock,R[M+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function _(R,M){var P=(this._lBlock>>>R^this._rBlock)&M;this._rBlock^=P,this._lBlock^=P<<R}function b(R,M){var P=(this._rBlock>>>R^this._lBlock)&M;this._lBlock^=P,this._rBlock^=P<<R}i.DES=f._createHelper(y);var A=o.TripleDES=f.extend({_doReset:function(){var R=this._key,M=R.words;if(M.length!==2&&M.length!==4&&M.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var P=M.slice(0,2),D=M.length<4?M.slice(0,2):M.slice(2,4),B=M.length<6?M.slice(0,2):M.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,M){this._des1.encryptBlock(R,M),this._des2.decryptBlock(R,M),this._des3.encryptBlock(R,M)},decryptBlock:function(R,M){this._des3.decryptBlock(R,M),this._des2.encryptBlock(R,M),this._des1.decryptBlock(R,M)},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},M={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=M;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(Ue,Be){var Ft=V.w(Y.$u?Date.UTC(Y.$y,Be,Ue):new Date(Y.$y,Be,Ue),Y);return le?Ft:Ft.endOf(o)},ie=function(Ue,Be){return V.w(Y.toDate()[Ue].apply(Y.toDate("s"),(le?[0,0,0,0]:[23,59,59,999]).slice(Be)),Y)},F=this.$W,L=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,L):ee(0,L+1);case h:var we=this.$locale().weekStart||0,Pe=(F<we?F+7:F)-we;return ee(le?Q-Pe:Q+(6-Pe),L);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(L){var Q=K(le);return V.w(Q.date(Q.date()+Math.round(L*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,L=Y.weekdays,Q=Y.months,de=Y.meridiem,we=function(Be,Ft,mt,Pt){return Be&&(Be[Ft]||Be(J,le))||mt[Ft].slice(0,Pt)},Pe=function(Be){return V.s(ee%12||12,Be,"0")},Ue=de||function(Be,Ft,mt){var Pt=Be<12?"AM":"PM";return mt?Pt.toLowerCase():Pt};return le.replace(b,function(Be,Ft){return Ft||function(mt){switch(mt){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 we(Y.monthsShort,F,Q,3);case"MMMM":return we(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 we(Y.weekdaysMin,J.$W,L,2);case"ddd":return we(Y.weekdaysShort,J.$W,L,3);case"dddd":return L[J.$W];case"H":return String(ee);case"HH":return V.s(ee,2,"0");case"h":return Pe(1);case"hh":return Pe(2);case"a":return Ue(ee,ie,!0);case"A":return Ue(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}(Be)||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,L=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=(L-F)/6048e5;break;case o:le=(L-F)/864e5;break;case f:le=L/r;break;case c:le=L/e;break;case l:le=L/g;break;default:le=L}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 M=1;M<=24;M+=1)if(_.indexOf(R(M,0,b))>-1){A=M>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),M=R.length,P=0;P<M;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<M;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,M=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,L=ee.day,Q=ee.hours,de=ee.minutes,we=ee.seconds,Pe=ee.milliseconds,Ue=ee.zone,Be=ee.week,Ft=new Date,mt=L||(ie||F?1:Ft.getDate()),Pt=ie||Ft.getFullYear(),Qt=0;ie&&!F||(Qt=F>0?F-1:Ft.getMonth());var qt,Jt=Q||0,Xe=de||0,It=we||0,Ut=Pe||0;return Ue?new Date(Date.UTC(Pt,Qt,mt,Jt,Xe,It,Ut+60*Ue.offset*1e3)):le?new Date(Date.UTC(Pt,Qt,mt,Jt,Xe,It,Ut)):(qt=new Date(Pt,Qt,mt,Jt,Xe,It,Ut),Be&&(qt=ne(qt).week(Be).toDate()),qt)}catch(ut){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 M.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 M},p=function(D,B,$){return new M(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:""}},M=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 M=_.weekStart;return R.map(function(P,D){return R[(D+(M||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,M=0;M<R;M+=1){var P=A[M];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&&M>0&&(P=A[M-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,M=R.type,P=R.payload,D=P||{},B=D.namespace,$=D.actionType,j;switch(M){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,M,P){var D=R.put,B=M.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(M,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[M]?typeof D[M]=="object"?D[M].push(P):D[M]=[D[M],P]:D[M]=P,this},p=function(M,P){var D,B;return i(P),B=this,x.call(this,M,D=function(){y.call(B,M,D),l.call(P,this,arguments)}),D.__eeOnceListener__=P,this},y=function(M,P){var D,B,$,j;if(i(P),!u.call(this,"__ee__"))return this;if(D=this.__ee__,!D[M])return this;if(B=D[M],typeof B=="object")for(j=0;$=B[j];++j)($===P||$.__eeOnceListener__===P)&&(B.length===2?D[M]=B[j?0:1]:B.splice(j,1));else(B===P||B.__eeOnceListener__===P)&&delete D[M];return this},_=function(M){var P,D,B,$,j;if(u.call(this,"__ee__")&&($=this.__ee__[M],!!$))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(M){return M==null?f(R):h(Object(M),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(M,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),M[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),M[_[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(M){return M==="hex"?r.toHex32(this.h,"little"):r.split32(this.h,"little")};function a(R,M,P,D){return R<=15?M^P^D:R<=31?M&P|~M&D:R<=47?(M|~P)^D:R<=63?M&D|P&~D:M^(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],M=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($,M,P,D),B,b[A],a[$]);B=D,D=P,P=c(M,30),M=R,R=j}this.h[0]=f(this.h[0],R),this.h[1]=f(this.h[1],M),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 M(){if(!(this instanceof M))return new M;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(M,A),d.exports=M,M.blockSize=1024,M.outSize=512,M.hmacStrength=192,M.padLength=128,M.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]),L=ne[ee-14],Q=ne[ee-13],de=oe(ne[ee-30],ne[ee-29]),we=ae(ne[ee-30],ne[ee-29]),Pe=ne[ee-32],Ue=ne[ee-31];ne[ee]=p(ie,F,L,Q,de,we,Pe,Ue),ne[ee+1]=y(ie,F,L,Q,de,we,Pe,Ue)}},M.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],L=this.h[3],Q=this.h[4],de=this.h[5],we=this.h[6],Pe=this.h[7],Ue=this.h[8],Be=this.h[9],Ft=this.h[10],mt=this.h[11],Pt=this.h[12],Qt=this.h[13],qt=this.h[14],Jt=this.h[15];l(this.k.length===ne.length);for(var Xe=0;Xe<ne.length;Xe+=2){var It=qt,Ut=Jt,ut=V(Ue,Be),bt=W(Ue,Be),pt=P(Ue,Be,Ft,mt,Pt,Qt),tt=D(Ue,Be,Ft,mt,Pt,Qt),ze=this.k[Xe],ye=this.k[Xe+1],Te=ne[Xe],Me=ne[Xe+1],$e=_(It,Ut,ut,bt,pt,tt,ze,ye,Te,Me),We=b(It,Ut,ut,bt,pt,tt,ze,ye,Te,Me);It=j(ee,ie),Ut=K(ee,ie),ut=B(ee,ie,F,L,Q,de),bt=$(ee,ie,F,L,Q,de);var it=a(It,Ut,ut,bt),ft=x(It,Ut,ut,bt);qt=Pt,Jt=Qt,Pt=Ft,Qt=mt,Ft=Ue,mt=Be,Ue=a(we,Pe,$e,We),Be=x(Pe,Pe,$e,We),we=Q,Pe=de,Q=F,de=L,F=ee,L=ie,ee=a($e,We,it,ft),ie=x($e,We,it,ft)}u(this.h,0,ee,ie),u(this.h,2,F,L),u(this.h,4,Q,de),u(this.h,6,we,Pe),u(this.h,8,Ue,Be),u(this.h,10,Ft,mt),u(this.h,12,Pt,Qt),u(this.h,14,qt,Jt)},M.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 L;le==="big"?L=q[F]<<24|q[F+1]<<16|q[F+2]<<8|q[F+3]:L=q[F+3]<<24|q[F+2]<<16|q[F+1]<<8|q[F],ee[ie]=L>>>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 M(q,J,Y,le,ne){return q+J+Y+le+ne>>>0}g.sum32_5=M;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 L=0,Q=J;Q=Q+le>>>0,L+=Q<J?1:0,Q=Q+ee>>>0,L+=Q<ee?1:0,Q=Q+F>>>0,L+=Q<F?1:0;var de=q+Y+ne+ie+L;return de>>>0}g.sum64_4_hi=$;function j(q,J,Y,le,ne,ee,ie,F){var L=J+le+ee+F;return L>>>0}g.sum64_4_lo=j;function K(q,J,Y,le,ne,ee,ie,F,L,Q){var de=0,we=J;we=we+le>>>0,de+=we<J?1:0,we=we+ee>>>0,de+=we<ee?1:0,we=we+F>>>0,de+=we<F?1:0,we=we+Q>>>0,de+=we<Q?1:0;var Pe=q+Y+ne+ie+L+de;return Pe>>>0}g.sum64_5_hi=K;function V(q,J,Y,le,ne,ee,ie,F,L,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(M){M.Pop="POP",M.Push="PUSH",M.Replace="REPLACE"})(i||(i={}));var l=function(M){return M};function c(M,P){if(!M){typeof console!="undefined"&&console.warn(P);try{throw new Error(P)}catch(D){}}}var f="beforeunload",o="hashchange",h="popstate";function u(M){M===void 0&&(M={});var P=M,D=P.window,B=D===void 0?document.defaultView:D,$=B.history;function j(){var we=B.location,Pe=we.pathname,Ue=we.search,Be=we.hash,Ft=$.state||{};return[Ft.idx,l({pathname:Pe,search:Ue,hash:Be,state:Ft.usr||null,key:Ft.key||"default"})]}var K=null;function V(){if(K)J.call(K),K=null;else{var we=i.Pop,Pe=j(),Ue=Pe[0],Be=Pe[1];if(J.length){if(Ue!=null){var Ft=ae-Ue;Ft&&(K={action:we,location:Be,retry:function(){Q(Ft*-1)}},Q(Ft))}}else ie(we)}}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(we){return typeof we=="string"?we:A(we)}function le(we,Pe){return Pe===void 0&&(Pe=null),l((0,r.Z)({pathname:ce.pathname,hash:"",search:""},typeof we=="string"?R(we):we,{state:Pe,key:b()}))}function ne(we,Pe){return[{usr:we.state,key:we.key,idx:Pe},Y(we)]}function ee(we,Pe,Ue){return!J.length||(J.call({action:we,location:Pe,retry:Ue}),!1)}function ie(we){W=we;var Pe=j();ae=Pe[0],ce=Pe[1],q.call({action:W,location:ce})}function F(we,Pe){var Ue=i.Push,Be=le(we,Pe);function Ft(){F(we,Pe)}if(ee(Ue,Be,Ft)){var mt=ne(Be,ae+1),Pt=mt[0],Qt=mt[1];try{$.pushState(Pt,"",Qt)}catch(qt){B.location.assign(Qt)}ie(Ue)}}function L(we,Pe){var Ue=i.Replace,Be=le(we,Pe);function Ft(){L(we,Pe)}if(ee(Ue,Be,Ft)){var mt=ne(Be,ae),Pt=mt[0],Qt=mt[1];$.replaceState(Pt,"",Qt),ie(Ue)}}function Q(we){$.go(we)}var de={get action(){return W},get location(){return ce},createHref:Y,push:F,replace:L,go:Q,back:function(){Q(-1)},forward:function(){Q(1)},listen:function(Pe){return q.push(Pe)},block:function(Pe){var Ue=J.push(Pe);return J.length===1&&B.addEventListener(f,y),function(){Ue(),J.length||B.removeEventListener(f,y)}}};return de}function a(M){M===void 0&&(M={});var P=M,D=P.window,B=D===void 0?document.defaultView:D,$=B.history;function j(){var Pe=R(B.location.hash.substr(1)),Ue=Pe.pathname,Be=Ue===void 0?"/":Ue,Ft=Pe.search,mt=Ft===void 0?"":Ft,Pt=Pe.hash,Qt=Pt===void 0?"":Pt,qt=$.state||{};return[qt.idx,l({pathname:Be,search:mt,hash:Qt,state:qt.usr||null,key:qt.key||"default"})]}var K=null;function V(){if(K)J.call(K),K=null;else{var Pe=i.Pop,Ue=j(),Be=Ue[0],Ft=Ue[1];if(J.length){if(Be!=null){var mt=ae-Be;mt&&(K={action:Pe,location:Ft,retry:function(){de(mt*-1)}},de(mt))}}else F(Pe)}}B.addEventListener(h,V),B.addEventListener(o,function(){var Pe=j(),Ue=Pe[1];A(Ue)!==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 Pe=document.querySelector("base"),Ue="";if(Pe&&Pe.getAttribute("href")){var Be=B.location.href,Ft=Be.indexOf("#");Ue=Ft===-1?Be:Be.slice(0,Ft)}return Ue}function le(Pe){return Y()+"#"+(typeof Pe=="string"?Pe:A(Pe))}function ne(Pe,Ue){return Ue===void 0&&(Ue=null),l((0,r.Z)({pathname:ce.pathname,hash:"",search:""},typeof Pe=="string"?R(Pe):Pe,{state:Ue,key:b()}))}function ee(Pe,Ue){return[{usr:Pe.state,key:Pe.key,idx:Ue},le(Pe)]}function ie(Pe,Ue,Be){return!J.length||(J.call({action:Pe,location:Ue,retry:Be}),!1)}function F(Pe){W=Pe;var Ue=j();ae=Ue[0],ce=Ue[1],q.call({action:W,location:ce})}function L(Pe,Ue){var Be=i.Push,Ft=ne(Pe,Ue);function mt(){L(Pe,Ue)}if(ie(Be,Ft,mt)){var Pt=ee(Ft,ae+1),Qt=Pt[0],qt=Pt[1];try{$.pushState(Qt,"",qt)}catch(Jt){B.location.assign(qt)}F(Be)}}function Q(Pe,Ue){var Be=i.Replace,Ft=ne(Pe,Ue);function mt(){Q(Pe,Ue)}if(ie(Be,Ft,mt)){var Pt=ee(Ft,ae),Qt=Pt[0],qt=Pt[1];$.replaceState(Qt,"",qt),F(Be)}}function de(Pe){$.go(Pe)}var we={get action(){return W},get location(){return ce},createHref:le,push:L,replace:Q,go:de,back:function(){de(-1)},forward:function(){de(1)},listen:function(Ue){return q.push(Ue)},block:function(Ue){var Be=J.push(Ue);return J.length===1&&B.addEventListener(f,y),function(){Be(),J.length||B.removeEventListener(f,y)}}};return we}function x(M){M===void 0&&(M={});var P=M,D=P.initialEntries,B=D===void 0?["/"]:D,$=P.initialIndex,j=B.map(function(F){var L=l((0,r.Z)({pathname:"/",search:"",hash:"",state:null,key:b()},typeof F=="string"?R(F):F));return L}),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,L){return L===void 0&&(L=null),l((0,r.Z)({pathname:W.pathname,search:"",hash:""},typeof F=="string"?R(F):F,{state:L,key:b()}))}function J(F,L,Q){return!ae.length||(ae.call({action:F,location:L,retry:Q}),!1)}function Y(F,L){V=F,W=L,oe.call({action:V,location:W})}function le(F,L){var Q=i.Push,de=q(F,L);function we(){le(F,L)}J(Q,de,we)&&(K+=1,j.splice(K,j.length,de),Y(Q,de))}function ne(F,L){var Q=i.Replace,de=q(F,L);function we(){ne(F,L)}J(Q,de,we)&&(j[K]=de,Y(Q,de))}function ee(F){var L=p(K+F,0,j.length-1),Q=i.Pop,de=j[L];function we(){ee(F)}J(Q,de,we)&&(K=L,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(L){return oe.push(L)},block:function(L){return ae.push(L)}};return ie}function p(M,P,D){return Math.min(Math.max(M,P),D)}function y(M){M.preventDefault(),M.returnValue=""}function _(){var M=[];return{get length(){return M.length},push:function(D){return M.push(D),function(){M=M.filter(function(B){return B!==D})}},call:function(D){M.forEach(function(B){return B&&B(D)})}}}function b(){return Math.random().toString(36).substr(2,8)}function A(M){var P=M.pathname,D=P===void 0?"/":P,B=M.search,$=B===void 0?"":B,j=M.hash,K=j===void 0?"":j;return $&&$!=="?"&&(D+=$.charAt(0)==="?"?$:"?"+$),K&&K!=="#"&&(D+=K.charAt(0)==="#"?K:"#"+K),D}function R(M){var P={};if(M){var D=M.indexOf("#");D>=0&&(P.hash=M.substr(D),M=M.substr(0,D));var B=M.indexOf("?");B>=0&&(P.search=M.substr(B),M=M.substr(0,B)),M&&(P.pathname=M)}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,M){if(typeof R!="string"){if(_){var P=y(R);P&&P!==_&&b(A,P,M)}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]&&!(M&&M[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]/,M=/\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(M,`
|
|
|
`);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 L=this._input.read(B),Q=A.get_directives(L);Q&&Q.ignore==="start"&&(L+=A.readIgnored(this._input)),this.print_string(L),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 we=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);we.match(/[ :]$/)&&(we=this.eatString(": ").replace(/\s+$/,""),this.print_string(we),this._output.space_before_token=!0),oe===0&&we.indexOf(":")!==-1?(ce=!0,this.indent()):we in this.NESTED_AT_RULE?(this._nestedLevel+=1,we 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 Pe=0;Pe<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Pe++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Pe])){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 Ue=F==='"'||F==="'";this.preserveSingleSpace(Ue||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 Be=!1;this._input.lookBack("with")&&(Be=!0),this.preserveSingleSpace(ie||Be),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 mt=this._output.get_code(V);return mt},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 M=this.__base_string_length;return R=R||0,A<0&&(M=0),M+=A*this.__indent_size,M+=R,M},_.prototype.get_indent_string=function(A,R){var M=this.__base_string;return R=R||0,A<0&&(A=0,M=""),R+=A*this.__indent_size,this.__ensure_cache(R),M+=this.__cache[R],M},_.prototype.__ensure_cache=function(A){for(;A>=this.__cache.length;)this.__add_column()},_.prototype.__add_column=function(){var A=this.__cache.length,R=0,M="";this.__indent_size&&A>=this.__indent_size&&(R=Math.floor(A/this.__indent_size),A-=R*this.__indent_size,M=new Array(R+1).join(this.__indent_string)),A&&(M+=new Array(A+1).join(" ")),this.__cache.push(M)};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 M=this.__lines.join(`
|
|
|
`);return A!==`
|
|
|
`&&(M=M.replace(/[\n]/g,A)),M},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 M=this.__lines.length-2;M>=0;){var P=this.__lines[M];if(P.is_empty())break;if(P.item(0).indexOf(A)!==0&&P.item(-1)!==R){this.__lines.splice(M+1,0,new y(this)),this.previous_line=this.__lines[this.__lines.length-2];break}M--}},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 M=this.raw_options[A],P=R||[];return typeof M=="object"?M!==null&&typeof M.concat=="function"&&(P=M.concat()):typeof M=="string"&&(P=M.split(/[^a-zA-Z0-9_\/\-]+/)),P},y.prototype._get_boolean=function(A,R){var M=this.raw_options[A],P=M===void 0?!!R:!!M;return P},y.prototype._get_characters=function(A,R){var M=this.raw_options[A],P=R||"";return typeof M=="string"&&(P=M.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),P},y.prototype._get_number=function(A,R){var M=this.raw_options[A];R=parseInt(R,10),isNaN(R)&&(R=0);var P=parseInt(M,10);return isNaN(P)&&(P=R),P},y.prototype._get_selection=function(A,R,M){var P=this._get_selection_list(A,R,M);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,M){if(!R||R.length===0)throw new Error("Selection list cannot be empty.");if(M=M||[R[0]],!this._is_valid_selection(M,R))throw new Error("Invalid Default Value!");var P=this._get_array(A,M);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(M){return R.indexOf(M)===-1})};function _(A,R){var M={};A=b(A);var P;for(P in A)P!==R&&(M[P]=A[P]);if(R&&A[R])for(P in A[R])M[P]=A[R][P];return M}function b(A){var R={},M;for(M in A){var P=M.replace(/-/g,"_");R[P]=A[M]}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 M="",P;return b&&(P=this.match(b),P&&(M+=P[0])),A&&(P||!b)&&(M+=this.readUntil(A,R)),M},_.prototype.readUntil=function(b,A){var R="",M=this.__position;b.lastIndex=this.__position;var P=b.exec(this.__input);return P?(M=P.index,A&&(M+=P[0].length)):M=this.__input_length,R=this.__input.substring(this.__position,M),this.__position=M,R},_.prototype.readUntilAfter=function(b){return this.readUntil(b,!0)},_.prototype.get_regexp=function(b,A){var R=null,M="g";return A&&y&&(M="y"),typeof b=="string"&&b!==""?R=new RegExp(b,M):b&&(R=new RegExp(b.source,M)),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,M=_(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 M(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,M){b.call(this,R,M),M?this._line_regexp=this._input.get_regexp(M._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,M){R+="\\t ",M+="\\n\\r",this._match_pattern=this._input.get_regexp("["+R+M+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+M+"]")},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 M=this.__split(this._newline_regexp,R);this.newline_count=M.length-1,this.whitespace_before_token=M[this.newline_count]}return R},A.prototype.matching=function(R,M){var P=this._create();return P.__set_whitespace_patterns(R,M),P._update(),P},A.prototype._create=function(){return new A(this._input,this)},A.prototype.__split=function(R,M){R.lastIndex=0;for(var P=0,D=[],B=R.exec(M);B;)D.push(M.substring(P,B.index)),P=B.index+B[0].length,B=R.exec(M);return P<M.length?D.push(M.substring(P,M.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(M,P){b.call(this,M,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(M);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(M){var P=this._create();return P._disabled[M]=!0,P._update(),P},R.prototype.read_options=function(M){var P=this._create();for(var D in A)P._disabled[D]=M.templating.indexOf(D)===-1;return P._update(),P},R.prototype.exclude=function(M){var P=this._create();return P._excluded[M]=!0,P._update(),P},R.prototype.read=function(){var M="";this._match_pattern?M=this._input.read(this._starting_pattern):M=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),M+=P,P=this._read_template();return this._until_after&&(M+=this._input.readUntilAfter(this._until_pattern)),M},R.prototype.__set_templated_pattern=function(){var M=[];this._disabled.php||M.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||M.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||M.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||M.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(M.push(this.__patterns.django._starting_pattern.source),M.push(this.__patterns.django_value._starting_pattern.source),M.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||M.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&M.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+M.join("|")+")")},R.prototype._read_template=function(){var M="",P=this._input.peek();if(P==="<"){var D=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&D==="?"&&(M=M||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&D==="%"&&(M=M||this.__patterns.erb.read())}else P==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(M=M||this.__patterns.handlebars_comment.read(),M=M||this.__patterns.handlebars_unescaped.read(),M=M||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(M=M||this.__patterns.django_value.read()),this._excluded.django||(M=M||this.__patterns.django_comment.read(),M=M||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(M=M||this.__patterns.smarty_comment.read(),M=M||this.__patterns.smarty_literal.read(),M=M||this.__patterns.smarty.read()));return M},p.exports.TemplatablePattern=R},,,,function(p,y,_){var b=_(19).Beautifier,A=_(20).Options;function R(M,P,D,B){var $=new b(M,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,M=_(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!==M.TEXT&&J.previous.type!==M.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!==M.EOF&&J.closed!==le;){if(le.type===M.ATTRIBUTE&&le.text==="type"){le.next&&le.next.type===M.EQUALS&&le.next.next&&le.next.next.type===M.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 L=null,Q=F.next();Q.type!==M.EOF;)Q.type===M.TAG_OPEN||Q.type===M.COMMENT?(L=this._handle_tag_open(ie,Q,ee,ne,F),ee=L):Q.type===M.ATTRIBUTE||Q.type===M.EQUALS||Q.type===M.VALUE||Q.type===M.TEXT&&!ee.tag_complete?L=this._handle_inside_tag(ie,Q,ee,ne):Q.type===M.TAG_CLOSE?L=this._handle_tag_close(ie,Q,ee):Q.type===M.TEXT?L=this._handle_text(ie,Q,ee):Q.type===M.CONTROL_FLOW_OPEN?L=this._handle_control_flow_open(ie,Q):Q.type===M.CONTROL_FLOW_CLOSE?L=this._handle_control_flow_close(ie,Q):ie.add_raw_token(Q),ne=L,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===M.TEXT?J.print_preserved_newlines(Y)?(Y.newlines=0,J.add_raw_token(Y)):J.print_token(Y):(Y.type===M.ATTRIBUTE?J.set_space_before_token(!0):(Y.type===M.EQUALS||Y.type===M.VALUE&&Y.previous.type===M.EQUALS)&&J.set_space_before_token(!1),Y.type===M.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!==M.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,L="",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,mt){var Pt=new oe(Ft,mt,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 we=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(ee);if(!we){J.add_raw_token(Y);return}L=de+we[1]+`
|
|
|
`,ee=we[4],we[5]&&(Q=de+we[5]),ee=ee.replace(/\n[ \t]*$/,""),(we[2]||we[3].indexOf(`
|
|
|
`)!==-1)&&(we=we[3].match(/[ \t]+$/),we&&(Y.whitespace_before=we[0]))}if(ee)if(ie){var Pe=function(){this.eol=`
|
|
|
`};Pe.prototype=this._options.raw_options;var Ue=new Pe;ee=ie(de+ee,Ue)}else{var Be=Y.whitespace_before;Be&&(ee=ee.replace(new RegExp(`
|
|
|
(`+Be+")?","g"),`
|
|
|
`)),ee=de+ee.replace(/\n/g,`
|
|
|
`+de)}L&&(ee?ee=L+ee+`
|
|
|
`+Q:ee=L+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===M.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,L;do L=ee.peek(F),L.type===M.ATTRIBUTE&&(ie.attr_count+=1),F+=1;while(L.type!==M.EOF&&L.type!==M.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===M.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===M.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===M.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,M=_(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 M(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,M=x(7).positionable_operators,P=x(7).TOKEN;function D(L,Q){return Q.indexOf(L)!==-1}function B(L){return L.replace(/^\s+/g,"")}function $(L){for(var Q={},de=0;de<L.length;de++)Q[L[de].replace(/-/g,"_")]=L[de];return Q}function j(L,Q){return L&&L.type===P.RESERVED&&L.text===Q}function K(L,Q){return L&&L.type===P.RESERVED&&D(L.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(L,Q){Q.multiline_frame||Q.mode===ce.ForInitializer||Q.mode===ce.Conditional||L.remove_indent(Q.start_line_index)}function J(L){L=L.replace(_.allLineBreaks,`
|
|
|
`);for(var Q=[],de=L.indexOf(`
|
|
|
`);de!==-1;)Q.push(L.substring(0,de)),L=L.substring(de+1),de=L.indexOf(`
|
|
|
`);return L.length&&Q.push(L),Q}function Y(L){return L===ce.ArrayLiteral}function le(L){return D(L,[ce.Expression,ce.ForInitializer,ce.Conditional])}function ne(L,Q){for(var de=0;de<L.length;de++){var we=L[de].trim();if(we.charAt(0)!==Q)return!1}return!0}function ee(L,Q){for(var de=0,we=L.length,Pe;de<we;de++)if(Pe=L[de],Pe&&Pe.indexOf(Q)!==0)return!1;return!0}function ie(L,Q){Q=Q||{},this._source_text=L||"",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(L,Q){var de=0;L&&(de=L.indentation_level,!this._output.just_added_newline()&&L.line_indent_level>de&&(de=L.line_indent_level));var we={mode:Q,parent:L,last_token:L?L.last_token:new y(P.START_BLOCK,""),last_word:L?L.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:L?L.line_indent_level:de,start_line_index:this._output.get_line_number(),ternary_depth:0};return we},ie.prototype._reset=function(L){var Q=L.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(L,this._options);return this._tokens=de.tokenize(),L},ie.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var L,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 we=this._tokens.next();we;)this.handle_token(we),this._last_last_text=this._flags.last_token.text,this._flags.last_token=we,we=this._tokens.next();return L=this._output.get_code(de),L},ie.prototype.handle_token=function(L,Q){L.type===P.START_EXPR?this.handle_start_expr(L):L.type===P.END_EXPR?this.handle_end_expr(L):L.type===P.START_BLOCK?this.handle_start_block(L):L.type===P.END_BLOCK?this.handle_end_block(L):L.type===P.WORD?this.handle_word(L):L.type===P.RESERVED?this.handle_word(L):L.type===P.SEMICOLON?this.handle_semicolon(L):L.type===P.STRING?this.handle_string(L):L.type===P.EQUALS?this.handle_equals(L):L.type===P.OPERATOR?this.handle_operator(L):L.type===P.COMMA?this.handle_comma(L):L.type===P.BLOCK_COMMENT?this.handle_block_comment(L,Q):L.type===P.COMMENT?this.handle_comment(L,Q):L.type===P.DOT?this.handle_dot(L):L.type===P.EOF?this.handle_eof(L):L.type===P.UNKNOWN?this.handle_unknown(L,Q):this.handle_unknown(L,Q)},ie.prototype.handle_whitespace_and_comments=function(L,Q){var de=L.newlines,we=this._options.keep_array_indentation&&Y(this._flags.mode);if(L.comments_before)for(var Pe=L.comments_before.next();Pe;)this.handle_whitespace_and_comments(Pe,Q),this.handle_token(Pe,Q),Pe=L.comments_before.next();if(we)for(var Ue=0;Ue<de;Ue+=1)this.print_newline(Ue>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 Be=1;Be<de;Be+=1)this.print_newline(!0,Q)}};var F=["async","break","continue","return","throw","yield"];ie.prototype.allow_wrap_or_preserved_newline=function(L,Q){if(Q=Q===void 0?!1:Q,!this._output.just_added_newline()){var de=this._options.preserve_newlines&&L.newlines||Q,we=D(this._flags.last_token.text,M)||D(L.text,M);if(we){var Pe=D(this._flags.last_token.text,M)&&D(this._options.operator_position,ae)||D(L.text,M);de=de&&Pe}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(L,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(L)&&(this._flags.multiline_frame=!0)},ie.prototype.print_token_line_indentation=function(L){this._output.just_added_newline()&&(this._options.keep_array_indentation&&L.newlines&&(L.text==="["||Y(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(L.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(L){if(this._output.raw){this._output.add_raw_token(L);return}if(this._options.comma_first&&L.previous&&L.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(L),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(L),this._output.non_breaking_space=!0,this._output.add_token(L.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(L){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,L),this._flags=this.create_flags(this._previous_flags,L),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(L){var Q=!1;return Q=Q||K(this._flags.last_token,["var","let","const"])&&L.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)&&!L.newlines,Q=Q||j(this._flags.last_token,"else")&&!(j(L,"if")&&!L.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&&!(L.text==="--"||L.text==="++")&&this._last_last_text!=="function"&&L.type!==P.WORD&&L.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(L,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(L,K(L,["do","for","if","while"])),!0):!1},ie.prototype.handle_start_expr=function(L){this.start_of_statement(L)||this.handle_whitespace_and_comments(L);var Q=ce.Expression;if(L.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(L),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"&&L.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(L);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 we=this._tokens.peek(-4);K(de,["async","function"])||de.text==="*"&&K(we,["async","function"])?this._output.space_before_token=!0:this._flags.mode===ce.ObjectLiteral?(de.text==="{"||de.text===","||de.text==="*"&&(we.text==="{"||we.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(L);(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(L,L.newlines),this.print_token(L),this.set_mode(Q),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},ie.prototype.handle_end_expr=function(L){for(;this._flags.mode===ce.Statement;)this.restore_mode();this.handle_whitespace_and_comments(L),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(L,L.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(L),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(L){this.handle_whitespace_and_comments(L);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 we=!Q.comments_before&&Q.text==="}",Pe=we&&this._flags.last_word==="function"&&this._flags.last_token.type===P.END_EXPR;if(this._options.brace_preserve_inline){var Ue=0,Be=null;this._flags.inline_frame=!0;do if(Ue+=1,Be=this._tokens.peek(Ue-1),Be.newlines){this._flags.inline_frame=!1;break}while(Be.type!==P.EOF&&!(Be.type===P.END_BLOCK&&Be.opened===L))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&L.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==P.OPERATOR&&(Pe||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(L),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(L),this.indent(),!we&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},ie.prototype.handle_end_block=function(L){for(this.handle_whitespace_and_comments(L);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(L)},ie.prototype.handle_word=function(L){if(L.type===P.RESERVED){if(D(L.text,["set","get"])&&this._flags.mode!==ce.ObjectLiteral)L.type=P.WORD;else if(L.text==="import"&&D(this._tokens.peek().text,["(","."]))L.type=P.WORD;else if(D(L.text,["as","from"])&&!this._flags.import_block)L.type=P.WORD;else if(this._flags.mode===ce.ObjectLiteral){var Q=this._tokens.peek();Q.text===":"&&(L.type=P.WORD)}}if(this.start_of_statement(L)?K(this._flags.last_token,["var","let","const"])&&L.type===P.WORD&&(this._flags.declaration_statement=!0):L.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(L),this.print_newline()):this.handle_whitespace_and_comments(L),this._flags.do_block&&!this._flags.do_while)if(j(L,"while")){this._output.space_before_token=!0,this.print_token(L),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(L,"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(L,["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(L),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(L),j(L,"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()&&!L.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(L),this._flags.last_word=L.text;return}var de="NONE";if(this._flags.last_token.type===P.END_BLOCK?this._previous_flags.inline_frame?de="SPACE":K(L,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&L.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(L,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(L,["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"&&L.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var we=this._output.current_line;we.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(L,["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(L,["var","let","const"]))&&this._flags.last_token.text!==":"&&(j(L,"if")&&j(L.previous,"else")?this._output.space_before_token=!0:this.print_newline()):K(L,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);L.previous&&(L.previous.type===P.WORD||L.previous.type===P.RESERVED)&&(this._output.space_before_token=!0),this.print_token(L),this._flags.last_word=L.text,L.type===P.RESERVED&&(L.text==="do"?this._flags.do_block=!0:L.text==="if"?this._flags.if_block=!0:L.text==="import"?this._flags.import_block=!0:this._flags.import_block&&j(L,"from")&&(this._flags.import_block=!1))},ie.prototype.handle_semicolon=function(L){this.start_of_statement(L)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(L);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(L)},ie.prototype.handle_string=function(L){L.text.startsWith("`")&&L.newlines===0&&L.whitespace_before===""&&(L.previous.text===")"||this._flags.last_token.type===P.WORD)||(this.start_of_statement(L)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(L),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(L):L.text.startsWith("`")&&this._flags.last_token.type===P.END_EXPR&&(L.previous.text==="]"||L.previous.text===")")&&L.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(L)},ie.prototype.handle_equals=function(L){this.start_of_statement(L)||this.handle_whitespace_and_comments(L),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(L),this._output.space_before_token=!0},ie.prototype.handle_comma=function(L){this.handle_whitespace_and_comments(L,!0),this.print_token(L),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(L)):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(L)},ie.prototype.handle_operator=function(L){var Q=L.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(L.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(L)){var we=!Q;this.handle_whitespace_and_comments(L,we)}if(L.text==="*"&&this._flags.last_token.type===P.DOT){this.print_token(L);return}if(L.text==="::"){this.print_token(L);return}if(D(L.text,["-","+"])&&this.start_of_object_property()){this.print_token(L);return}if(this._flags.last_token.type===P.OPERATOR&&D(this._options.operator_position,ae)&&this.allow_wrap_or_preserved_newline(L),L.text===":"&&this._flags.in_case){this.print_token(L),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 Pe=!0,Ue=!0,Be=!1;if(L.text===":"?this._flags.ternary_depth===0?Pe=!1:(this._flags.ternary_depth-=1,Be=!0):L.text==="?"&&(this._flags.ternary_depth+=1),!de&&!Q&&this._options.preserve_newlines&&D(L.text,M)){var Ft=L.text===":",mt=Ft&&Be,Pt=Ft&&!Be;switch(this._options.operator_position){case oe.before_newline:this._output.space_before_token=!Pt,this.print_token(L),(!Ft||mt)&&this.allow_wrap_or_preserved_newline(L),this._output.space_before_token=!0;return;case oe.after_newline:this._output.space_before_token=!0,!Ft||mt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(L):this._output.space_before_token=!1,this.print_token(L),this._output.space_before_token=!0;return;case oe.preserve_newline:Pt||this.allow_wrap_or_preserved_newline(L),Pe=!(this._output.just_added_newline()||Pt),this._output.space_before_token=Pe,this.print_token(L),this._output.space_before_token=!0;return}}if(Q){this.allow_wrap_or_preserved_newline(L),Pe=!1;var Qt=this._tokens.peek();Ue=Qt&&D(Qt.type,[P.WORD,P.RESERVED])}else if(L.text==="...")this.allow_wrap_or_preserved_newline(L),Pe=this._flags.last_token.type===P.START_BLOCK,Ue=!1;else if(D(L.text,["--","++","!","~"])||de){if((this._flags.last_token.type===P.COMMA||this._flags.last_token.type===P.START_EXPR)&&this.allow_wrap_or_preserved_newline(L),Pe=!1,Ue=!1,L.newlines&&(L.text==="--"||L.text==="++"||L.text==="~")){var qt=K(this._flags.last_token,V)&&L.newlines;qt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(qt,!0)}this._flags.last_token.text===";"&&le(this._flags.mode)&&(Pe=!0),this._flags.last_token.type===P.RESERVED?Pe=!0:this._flags.last_token.type===P.END_EXPR?Pe=!(this._flags.last_token.text==="]"&&(L.text==="--"||L.text==="++")):this._flags.last_token.type===P.OPERATOR&&(Pe=D(L.text,["--","-","++","+"])&&D(this._flags.last_token.text,["--","-","++","+"]),D(L.text,["+","-"])&&D(this._flags.last_token.text,["--","++"])&&(Ue=!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||Pe,this.print_token(L),this._output.space_before_token=Ue},ie.prototype.handle_block_comment=function(L,Q){if(this._output.raw){this._output.add_raw_token(L),L.directives&&L.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(L.directives){this.print_newline(!1,Q),this.print_token(L),L.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!_.newline.test(L.text)&&!L.newlines){this._output.space_before_token=!0,this.print_token(L),this._output.space_before_token=!0;return}else this.print_block_commment(L,Q)},ie.prototype.print_block_commment=function(L,Q){var de=J(L.text),we,Pe=!1,Ue=!1,Be=L.whitespace_before,Ft=Be.length;if(this.print_newline(!1,Q),this.print_token_line_indentation(L),this._output.add_token(de[0]),this.print_newline(!1,Q),de.length>1){for(de=de.slice(1),Pe=ne(de,"*"),Ue=ee(de,Be),Pe&&(this._flags.alignment=1),we=0;we<de.length;we++)Pe?(this.print_token_line_indentation(L),this._output.add_token(B(de[we]))):Ue&&de[we]?(this.print_token_line_indentation(L),this._output.add_token(de[we].substring(Ft))):(this._output.current_line.set_indent(-1),this._output.add_token(de[we])),this.print_newline(!1,Q);this._flags.alignment=0}},ie.prototype.handle_comment=function(L,Q){L.newlines?this.print_newline(!1,Q):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(L),this.print_newline(!1,Q)},ie.prototype.handle_dot=function(L){this.start_of_statement(L)||this.handle_whitespace_and_comments(L,!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(L,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(L)},ie.prototype.handle_unknown=function(L,Q){this.print_token(L),L.text[L.text.length-1]===`
|
|
|
`&&this.print_newline(!1,Q)},ie.prototype.handle_eof=function(L){for(;this._flags.mode===ce.Statement;)this.restore_mode();this.handle_whitespace_and_comments(L)},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 M=/[\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 M=0;M<R.length;M++)R[M]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=R[M];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,M=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 M(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,L=!1;this._input.hasNext()&&(F||L||this._input.peek()!==ne)&&!this._input.testChar(A.newline);)ie+=this._input.peek(),F?F=!1:(F=this._input.peek()==="\\",this._input.peek()==="["?L=!0:this._input.peek()==="]"&&(L=!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 L=F[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),Q=L.indexOf("{")===0,de=0;F;){var we=!!F[1],Pe=F[2],Ue=!!F[F.length-1]||Pe.slice(0,8)==="![CDATA[";if(!Ue&&(Pe===L||Q&&Pe.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(we?--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),L=null;F.hasNext();)if(L=F.match(/([\s]|[^\\]|\\\\)+/g),L&&(ee+=L[0]),F.peek()==="\\"){if(F.next(),F.peek()==="x")L=F.match(/x([0-9A-Fa-f]{2})/g);else if(F.peek()==="u")L=F.match(/u([0-9A-Fa-f]{4})/g),L||(L=F.match(/u\{([0-9A-Fa-f]+)\}/g));else{ee+="\\",F.hasNext()&&(ee+=F.next());continue}if(!L||(ie=parseInt(L[1],16),ie>126&&ie<=255&&L[0].indexOf("x")===0))return ne;ie>=0&&ie<32||ie>1114111?ee+="\\"+L[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,L;ne==="'"?L=this.__patterns.single_quote:ne==='"'?L=this.__patterns.double_quote:ne==="`"?L=this.__patterns.template_text:ne==="}"&&(L=this.__patterns.template_expression);for(var Q=L.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+=L.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(M,P){this._input=new p(M),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 M,P=new y(A.START,""),D=null,B=[],$=new _;P.type!==A.EOF;){for(M=this._get_next_token(P,D);this._is_comment(M);)$.add(M),M=this._get_next_token(P,D);$.isEmpty()||(M.comments_before=$,$=new _),M.parent=D,this._is_opening(M)?(B.push(D),D=M):D&&this._is_closing(M,D)&&(M.opened=D,D.closed=M,D=B.pop(),M.parent=D),M.previous=P,P.next=M,this.__tokens.add(M),P=M}return this.__tokens},R.prototype._is_first_token=function(){return this.__tokens.isEmpty()},R.prototype._reset=function(){},R.prototype._get_next_token=function(M,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(M){return!1},R.prototype._is_opening=function(M){return!1},R.prototype._is_closing=function(M,P){return!1},R.prototype._create_token=function(M,P){var D=new y(M,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=[],M=_.exec(b);M;)R.push(b.substring(A,M.index)),A=M.index+M[0].length,M=_.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 Ke(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 Ke.range=function(X,te){return te?!X||!X.loc||!te.loc||X.loc.lexer!==te.loc.lexer?null:new Ke(X.loc.lexer,X.loc.start,te.loc.end):X&&X.loc},Ke}(),c=function(){function Ke(X,te){this.text=void 0,this.loc=void 0,this.text=X,this.loc=te}var Z=Ke.prototype;return Z.range=function(te,pe){return new Ke(pe,l.range(this,te))},Ke}(),f=function Ke(Z,X){this.position=void 0;var te="KaTeX parse error: "+Z,pe,Ce=X&&X.loc;if(Ce&&Ce.start<=Ce.end){var Ve=Ce.lexer.input;pe=Ce.start;var Tt=Ce.end;pe===Ve.length?te+=" at end of input: ":te+=" at position "+(pe+1)+": ";var $t=Ve.slice(pe,Tt).replace(/[^]/g,"$&\u0332"),rr;pe>15?rr="\u2026"+Ve.slice(pe-15,pe):rr=Ve.slice(0,pe);var Ar;Tt+15<Ve.length?Ar=Ve.slice(Tt,Tt+15)+"\u2026":Ar=Ve.slice(Tt),te+=rr+$t+Ar}var zr=new Error(te);return zr.name="ParseError",zr.__proto__=Ke.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 _(Ke){return String(Ke).replace(y,function(Z){return p[Z]})}var b=function Ke(Z){return Z.type==="ordgroup"||Z.type==="color"?Z.body.length===1?Ke(Z.body[0]):Z:Z.type==="font"?Ke(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},M=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:M},D=function(){function Ke(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=Ke.prototype;return Z.reportNonstrict=function(te,pe,Ce){var Ve=this.strict;if(typeof Ve=="function"&&(Ve=Ve(te,pe,Ce)),!(!Ve||Ve==="ignore")){if(Ve===!0||Ve==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(pe+" ["+te+"]"),Ce);Ve==="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 '"+Ve+"': "+pe+" ["+te+"]"))}},Z.useStrictBehavior=function(te,pe,Ce){var Ve=this.strict;if(typeof Ve=="function")try{Ve=Ve(te,pe,Ce)}catch(Tt){Ve="error"}return!Ve||Ve==="ignore"?!1:Ve===!0||Ve==="error"?!0:Ve==="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 '"+Ve+"': "+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},Ke}(),B=function(){function Ke(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=Ke.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},Ke}(),$=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]},L=[{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(Ke){for(var Z=0;Z<L.length;Z++)for(var X=L[Z],te=0;te<X.blocks.length;te++){var pe=X.blocks[te];if(Ke>=pe[0]&&Ke<=pe[1])return X.name}return null}var de=[];L.forEach(function(Ke){return Ke.blocks.forEach(function(Z){return de.push.apply(de,Z)})});function we(Ke){for(var Z=0;Z<de.length;Z+=2)if(Ke>=de[Z]&&Ke<=de[Z+1])return!0;return!1}var Pe=80,Ue=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"},Be=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"},mt=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"},qt=function(Z,X,te){X=1e3*X;var pe="";switch(Z){case"sqrtMain":pe=Ue(X,Pe);break;case"sqrtSize1":pe=Be(X,Pe);break;case"sqrtSize2":pe=Ft(X,Pe);break;case"sqrtSize3":pe=mt(X,Pe);break;case"sqrtSize4":pe=Pt(X,Pe);break;case"sqrtTall":pe=Qt(X,Pe,te)}return pe},Jt={doubleleftarrow:`M262 157
|
|
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
|
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
|
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
|
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
|
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
|
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
|
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
|
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
|
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
|
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
|
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
|
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
|
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
|
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
|
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
|
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
|
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
|
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
|
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
|
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
|
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
|
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
|
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
|
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
|
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
|
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
|
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
|
435 0h399565z`,leftgroupunder:`M400000 262
|
|
|
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
|
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
|
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
|
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
|
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
|
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
|
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
|
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
|
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
|
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
|
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
|
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
|
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
|
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
|
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
|
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
|
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
|
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
|
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
|
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
|
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
|
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
|
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
|
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
|
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
|
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
|
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
|
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
|
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
|
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
|
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
|
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
|
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
|
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
|
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
|
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
|
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
|
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
|
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
|
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
|
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
|
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
|
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
|
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
|
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
|
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
|
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
|
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
|
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
|
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
|
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
|
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
|
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
|
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
|
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
|
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
|
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
|
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
|
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
|
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
|
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
|
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
|
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
|
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
|
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
|
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
|
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
|
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
|
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
|
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
|
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
|
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
|
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
|
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
|
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
|
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
|
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
|
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
|
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
|
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
|
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
|
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
|
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
|
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
|
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
|
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
|
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
|
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
|
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
|
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
|
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
|
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
|
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
|
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
|
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
|
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
|
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
|
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
|
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
|
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
|
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
|
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
|
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
|
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
|
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
|
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
|
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
|
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
|
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
|
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
|
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
|
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
|
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
|
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
|
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
|
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
|
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
|
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
|
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
|
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
|
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
|
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
|
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
|
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
|
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
|
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
|
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Xe=function(){function Ke(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=Ke.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(Ce){return Ce.toText()};return this.children.map(te).join("")},Ke}(),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)}},ut=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 Ce=0;Ce<this.children.length;Ce++)X.appendChild(this.children[Ce].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 Ce in this.attributes)this.attributes.hasOwnProperty(Ce)&&(X+=" "+Ce+'="'+P.escape(this.attributes[Ce])+'"');X+=">";for(var Ve=0;Ve<this.children.length;Ve++)X+=this.children[Ve].toMarkup();return X+="</"+Z+">",X},pt=function(){function Ke(X,te,pe,Ce){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,Ce),this.children=te||[]}var Z=Ke.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 ut.call(this,"span")},Z.toMarkup=function(){return bt.call(this,"span")},Ke}(),tt=function(){function Ke(X,te,pe,Ce){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,Ce),this.children=pe||[],this.setAttribute("href",X)}var Z=Ke.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 ut.call(this,"a")},Z.toMarkup=function(){return bt.call(this,"a")},Ke}(),ze=function(){function Ke(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=Ke.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 Ce in this.style)this.style.hasOwnProperty(Ce)&&(pe+=P.hyphenate(Ce)+":"+this.style[Ce]+";");return pe&&(te+=' style="'+P.escape(pe)+'"'),te+="'/>",te},Ke}(),ye={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Te=function(){function Ke(X,te,pe,Ce,Ve,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=Ce||0,this.skew=Ve||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=Ke.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 Ce in this.style)this.style.hasOwnProperty(Ce)&&(pe=pe||document.createElement("span"),pe.style[Ce]=this.style[Ce]);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 Ce="";this.italic>0&&(Ce+="margin-right:"+this.italic+"em;");for(var Ve in this.style)this.style.hasOwnProperty(Ve)&&(Ce+=P.hyphenate(Ve)+":"+this.style[Ve]+";");Ce&&(te=!0,pe+=' style="'+P.escape(Ce)+'"');var Tt=P.escape(this.text);return te?(pe+=">",pe+=Tt,pe+="</span>",pe):Tt},Ke}(),Me=function(){function Ke(X,te){this.children=void 0,this.attributes=void 0,this.children=X||[],this.attributes=te||{}}var Z=Ke.prototype;return Z.toNode=function(){var te="http://www.w3.org/2000/svg",pe=document.createElementNS(te,"svg");for(var Ce in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ce)&&pe.setAttribute(Ce,this.attributes[Ce]);for(var Ve=0;Ve<this.children.length;Ve++)pe.appendChild(this.children[Ve].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 Ce=0;Ce<this.children.length;Ce++)te+=this.children[Ce].toMarkup();return te+="</svg>",te},Ke}(),$e=function(){function Ke(X,te){this.pathName=void 0,this.alternate=void 0,this.pathName=X,this.alternate=te}var Z=Ke.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",Jt[this.pathName]),pe},Z.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Jt[this.pathName]+"'/>"},Ke}(),We=function(){function Ke(X){this.attributes=void 0,this.attributes=X||{}}var Z=Ke.prototype;return Z.toNode=function(){var te="http://www.w3.org/2000/svg",pe=document.createElementNS(te,"line");for(var Ce in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ce)&&pe.setAttribute(Ce,this.attributes[Ce]);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},Ke}();function it(Ke){if(Ke instanceof Te)return Ke;throw new Error("Expected symbolNode but got "+String(Ke)+".")}function ft(Ke){if(Ke instanceof pt)return Ke;throw new Error("Expected span<HtmlDomNode> but got "+String(Ke)+".")}var Vt={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},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]},De={\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 et(Ke,Z){Vt[Ke]=Z}function Wt(Ke,Z,X){if(!Vt[Z])throw new Error("Font metrics not found for font: "+Z+".");var te=Ke.charCodeAt(0),pe=Vt[Z][te];if(!pe&&Ke[0]in De&&(te=De[Ke[0]].charCodeAt(0),pe=Vt[Z][te]),!pe&&X==="text"&&we(te)&&(pe=Vt[Z][77]),pe)return{depth:pe[0],height:pe[1],italic:pe[2],skew:pe[3],width:pe[4]}}var Rt={};function Zt(Ke){var Z;if(Ke>=5?Z=0:Ke>=3?Z=1:Z=2,!Rt[Z]){var X=Rt[Z]={cssEmPerMu:Ht.quad[Z]/18};for(var te in Ht)Ht.hasOwnProperty(te)&&(X[te]=Ht[te][Z])}return Rt[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:{}},Ge=Kt;function fe(Ke,Z,X,te,pe,Ce){Kt[Ke][pe]={font:Z,group:X,replace:te},Ce&&te&&(Kt[Ke][te]=Kt[Ke][pe])}var _e="math",Ot="text",Ie="main",ht="ams",zt="accent-token",Ct="bin",ke="close",wt="inner",je="mathord",Qe="op-token",Oe="open",kt="punct",Fe="rel",Dr="spacing",St="textord";fe(_e,Ie,Fe,"\u2261","\\equiv",!0),fe(_e,Ie,Fe,"\u227A","\\prec",!0),fe(_e,Ie,Fe,"\u227B","\\succ",!0),fe(_e,Ie,Fe,"\u223C","\\sim",!0),fe(_e,Ie,Fe,"\u22A5","\\perp"),fe(_e,Ie,Fe,"\u2AAF","\\preceq",!0),fe(_e,Ie,Fe,"\u2AB0","\\succeq",!0),fe(_e,Ie,Fe,"\u2243","\\simeq",!0),fe(_e,Ie,Fe,"\u2223","\\mid",!0),fe(_e,Ie,Fe,"\u226A","\\ll",!0),fe(_e,Ie,Fe,"\u226B","\\gg",!0),fe(_e,Ie,Fe,"\u224D","\\asymp",!0),fe(_e,Ie,Fe,"\u2225","\\parallel"),fe(_e,Ie,Fe,"\u22C8","\\bowtie",!0),fe(_e,Ie,Fe,"\u2323","\\smile",!0),fe(_e,Ie,Fe,"\u2291","\\sqsubseteq",!0),fe(_e,Ie,Fe,"\u2292","\\sqsupseteq",!0),fe(_e,Ie,Fe,"\u2250","\\doteq",!0),fe(_e,Ie,Fe,"\u2322","\\frown",!0),fe(_e,Ie,Fe,"\u220B","\\ni",!0),fe(_e,Ie,Fe,"\u221D","\\propto",!0),fe(_e,Ie,Fe,"\u22A2","\\vdash",!0),fe(_e,Ie,Fe,"\u22A3","\\dashv",!0),fe(_e,Ie,Fe,"\u220B","\\owns"),fe(_e,Ie,kt,".","\\ldotp"),fe(_e,Ie,kt,"\u22C5","\\cdotp"),fe(_e,Ie,St,"#","\\#"),fe(Ot,Ie,St,"#","\\#"),fe(_e,Ie,St,"&","\\&"),fe(Ot,Ie,St,"&","\\&"),fe(_e,Ie,St,"\u2135","\\aleph",!0),fe(_e,Ie,St,"\u2200","\\forall",!0),fe(_e,Ie,St,"\u210F","\\hbar",!0),fe(_e,Ie,St,"\u2203","\\exists",!0),fe(_e,Ie,St,"\u2207","\\nabla",!0),fe(_e,Ie,St,"\u266D","\\flat",!0),fe(_e,Ie,St,"\u2113","\\ell",!0),fe(_e,Ie,St,"\u266E","\\natural",!0),fe(_e,Ie,St,"\u2663","\\clubsuit",!0),fe(_e,Ie,St,"\u2118","\\wp",!0),fe(_e,Ie,St,"\u266F","\\sharp",!0),fe(_e,Ie,St,"\u2662","\\diamondsuit",!0),fe(_e,Ie,St,"\u211C","\\Re",!0),fe(_e,Ie,St,"\u2661","\\heartsuit",!0),fe(_e,Ie,St,"\u2111","\\Im",!0),fe(_e,Ie,St,"\u2660","\\spadesuit",!0),fe(Ot,Ie,St,"\xA7","\\S",!0),fe(Ot,Ie,St,"\xB6","\\P",!0),fe(_e,Ie,St,"\u2020","\\dag"),fe(Ot,Ie,St,"\u2020","\\dag"),fe(Ot,Ie,St,"\u2020","\\textdagger"),fe(_e,Ie,St,"\u2021","\\ddag"),fe(Ot,Ie,St,"\u2021","\\ddag"),fe(Ot,Ie,St,"\u2021","\\textdaggerdbl"),fe(_e,Ie,ke,"\u23B1","\\rmoustache",!0),fe(_e,Ie,Oe,"\u23B0","\\lmoustache",!0),fe(_e,Ie,ke,"\u27EF","\\rgroup",!0),fe(_e,Ie,Oe,"\u27EE","\\lgroup",!0),fe(_e,Ie,Ct,"\u2213","\\mp",!0),fe(_e,Ie,Ct,"\u2296","\\ominus",!0),fe(_e,Ie,Ct,"\u228E","\\uplus",!0),fe(_e,Ie,Ct,"\u2293","\\sqcap",!0),fe(_e,Ie,Ct,"\u2217","\\ast"),fe(_e,Ie,Ct,"\u2294","\\sqcup",!0),fe(_e,Ie,Ct,"\u25EF","\\bigcirc"),fe(_e,Ie,Ct,"\u2219","\\bullet"),fe(_e,Ie,Ct,"\u2021","\\ddagger"),fe(_e,Ie,Ct,"\u2240","\\wr",!0),fe(_e,Ie,Ct,"\u2A3F","\\amalg"),fe(_e,Ie,Ct,"&","\\And"),fe(_e,Ie,Fe,"\u27F5","\\longleftarrow",!0),fe(_e,Ie,Fe,"\u21D0","\\Leftarrow",!0),fe(_e,Ie,Fe,"\u27F8","\\Longleftarrow",!0),fe(_e,Ie,Fe,"\u27F6","\\longrightarrow",!0),fe(_e,Ie,Fe,"\u21D2","\\Rightarrow",!0),fe(_e,Ie,Fe,"\u27F9","\\Longrightarrow",!0),fe(_e,Ie,Fe,"\u2194","\\leftrightarrow",!0),fe(_e,Ie,Fe,"\u27F7","\\longleftrightarrow",!0),fe(_e,Ie,Fe,"\u21D4","\\Leftrightarrow",!0),fe(_e,Ie,Fe,"\u27FA","\\Longleftrightarrow",!0),fe(_e,Ie,Fe,"\u21A6","\\mapsto",!0),fe(_e,Ie,Fe,"\u27FC","\\longmapsto",!0),fe(_e,Ie,Fe,"\u2197","\\nearrow",!0),fe(_e,Ie,Fe,"\u21A9","\\hookleftarrow",!0),fe(_e,Ie,Fe,"\u21AA","\\hookrightarrow",!0),fe(_e,Ie,Fe,"\u2198","\\searrow",!0),fe(_e,Ie,Fe,"\u21BC","\\leftharpoonup",!0),fe(_e,Ie,Fe,"\u21C0","\\rightharpoonup",!0),fe(_e,Ie,Fe,"\u2199","\\swarrow",!0),fe(_e,Ie,Fe,"\u21BD","\\leftharpoondown",!0),fe(_e,Ie,Fe,"\u21C1","\\rightharpoondown",!0),fe(_e,Ie,Fe,"\u2196","\\nwarrow",!0),fe(_e,Ie,Fe,"\u21CC","\\rightleftharpoons",!0),fe(_e,ht,Fe,"\u226E","\\nless",!0),fe(_e,ht,Fe,"\uE010","\\@nleqslant"),fe(_e,ht,Fe,"\uE011","\\@nleqq"),fe(_e,ht,Fe,"\u2A87","\\lneq",!0),fe(_e,ht,Fe,"\u2268","\\lneqq",!0),fe(_e,ht,Fe,"\uE00C","\\@lvertneqq"),fe(_e,ht,Fe,"\u22E6","\\lnsim",!0),fe(_e,ht,Fe,"\u2A89","\\lnapprox",!0),fe(_e,ht,Fe,"\u2280","\\nprec",!0),fe(_e,ht,Fe,"\u22E0","\\npreceq",!0),fe(_e,ht,Fe,"\u22E8","\\precnsim",!0),fe(_e,ht,Fe,"\u2AB9","\\precnapprox",!0),fe(_e,ht,Fe,"\u2241","\\nsim",!0),fe(_e,ht,Fe,"\uE006","\\@nshortmid"),fe(_e,ht,Fe,"\u2224","\\nmid",!0),fe(_e,ht,Fe,"\u22AC","\\nvdash",!0),fe(_e,ht,Fe,"\u22AD","\\nvDash",!0),fe(_e,ht,Fe,"\u22EA","\\ntriangleleft"),fe(_e,ht,Fe,"\u22EC","\\ntrianglelefteq",!0),fe(_e,ht,Fe,"\u228A","\\subsetneq",!0),fe(_e,ht,Fe,"\uE01A","\\@varsubsetneq"),fe(_e,ht,Fe,"\u2ACB","\\subsetneqq",!0),fe(_e,ht,Fe,"\uE017","\\@varsubsetneqq"),fe(_e,ht,Fe,"\u226F","\\ngtr",!0),fe(_e,ht,Fe,"\uE00F","\\@ngeqslant"),fe(_e,ht,Fe,"\uE00E","\\@ngeqq"),fe(_e,ht,Fe,"\u2A88","\\gneq",!0),fe(_e,ht,Fe,"\u2269","\\gneqq",!0),fe(_e,ht,Fe,"\uE00D","\\@gvertneqq"),fe(_e,ht,Fe,"\u22E7","\\gnsim",!0),fe(_e,ht,Fe,"\u2A8A","\\gnapprox",!0),fe(_e,ht,Fe,"\u2281","\\nsucc",!0),fe(_e,ht,Fe,"\u22E1","\\nsucceq",!0),fe(_e,ht,Fe,"\u22E9","\\succnsim",!0),fe(_e,ht,Fe,"\u2ABA","\\succnapprox",!0),fe(_e,ht,Fe,"\u2246","\\ncong",!0),fe(_e,ht,Fe,"\uE007","\\@nshortparallel"),fe(_e,ht,Fe,"\u2226","\\nparallel",!0),fe(_e,ht,Fe,"\u22AF","\\nVDash",!0),fe(_e,ht,Fe,"\u22EB","\\ntriangleright"),fe(_e,ht,Fe,"\u22ED","\\ntrianglerighteq",!0),fe(_e,ht,Fe,"\uE018","\\@nsupseteqq"),fe(_e,ht,Fe,"\u228B","\\supsetneq",!0),fe(_e,ht,Fe,"\uE01B","\\@varsupsetneq"),fe(_e,ht,Fe,"\u2ACC","\\supsetneqq",!0),fe(_e,ht,Fe,"\uE019","\\@varsupsetneqq"),fe(_e,ht,Fe,"\u22AE","\\nVdash",!0),fe(_e,ht,Fe,"\u2AB5","\\precneqq",!0),fe(_e,ht,Fe,"\u2AB6","\\succneqq",!0),fe(_e,ht,Fe,"\uE016","\\@nsubseteqq"),fe(_e,ht,Ct,"\u22B4","\\unlhd"),fe(_e,ht,Ct,"\u22B5","\\unrhd"),fe(_e,ht,Fe,"\u219A","\\nleftarrow",!0),fe(_e,ht,Fe,"\u219B","\\nrightarrow",!0),fe(_e,ht,Fe,"\u21CD","\\nLeftarrow",!0),fe(_e,ht,Fe,"\u21CF","\\nRightarrow",!0),fe(_e,ht,Fe,"\u21AE","\\nleftrightarrow",!0),fe(_e,ht,Fe,"\u21CE","\\nLeftrightarrow",!0),fe(_e,ht,Fe,"\u25B3","\\vartriangle"),fe(_e,ht,St,"\u210F","\\hslash"),fe(_e,ht,St,"\u25BD","\\triangledown"),fe(_e,ht,St,"\u25CA","\\lozenge"),fe(_e,ht,St,"\u24C8","\\circledS"),fe(_e,ht,St,"\xAE","\\circledR"),fe(Ot,ht,St,"\xAE","\\circledR"),fe(_e,ht,St,"\u2221","\\measuredangle",!0),fe(_e,ht,St,"\u2204","\\nexists"),fe(_e,ht,St,"\u2127","\\mho"),fe(_e,ht,St,"\u2132","\\Finv",!0),fe(_e,ht,St,"\u2141","\\Game",!0),fe(_e,ht,St,"\u2035","\\backprime"),fe(_e,ht,St,"\u25B2","\\blacktriangle"),fe(_e,ht,St,"\u25BC","\\blacktriangledown"),fe(_e,ht,St,"\u25A0","\\blacksquare"),fe(_e,ht,St,"\u29EB","\\blacklozenge"),fe(_e,ht,St,"\u2605","\\bigstar"),fe(_e,ht,St,"\u2222","\\sphericalangle",!0),fe(_e,ht,St,"\u2201","\\complement",!0),fe(_e,ht,St,"\xF0","\\eth",!0),fe(_e,ht,St,"\u2571","\\diagup"),fe(_e,ht,St,"\u2572","\\diagdown"),fe(_e,ht,St,"\u25A1","\\square"),fe(_e,ht,St,"\u25A1","\\Box"),fe(_e,ht,St,"\u25CA","\\Diamond"),fe(_e,ht,St,"\xA5","\\yen",!0),fe(Ot,ht,St,"\xA5","\\yen",!0),fe(_e,ht,St,"\u2713","\\checkmark",!0),fe(Ot,ht,St,"\u2713","\\checkmark"),fe(_e,ht,St,"\u2136","\\beth",!0),fe(_e,ht,St,"\u2138","\\daleth",!0),fe(_e,ht,St,"\u2137","\\gimel",!0),fe(_e,ht,St,"\u03DD","\\digamma",!0),fe(_e,ht,St,"\u03F0","\\varkappa"),fe(_e,ht,Oe,"\u250C","\\ulcorner",!0),fe(_e,ht,ke,"\u2510","\\urcorner",!0),fe(_e,ht,Oe,"\u2514","\\llcorner",!0),fe(_e,ht,ke,"\u2518","\\lrcorner",!0),fe(_e,ht,Fe,"\u2266","\\leqq",!0),fe(_e,ht,Fe,"\u2A7D","\\leqslant",!0),fe(_e,ht,Fe,"\u2A95","\\eqslantless",!0),fe(_e,ht,Fe,"\u2272","\\lesssim",!0),fe(_e,ht,Fe,"\u2A85","\\lessapprox",!0),fe(_e,ht,Fe,"\u224A","\\approxeq",!0),fe(_e,ht,Ct,"\u22D6","\\lessdot"),fe(_e,ht,Fe,"\u22D8","\\lll",!0),fe(_e,ht,Fe,"\u2276","\\lessgtr",!0),fe(_e,ht,Fe,"\u22DA","\\lesseqgtr",!0),fe(_e,ht,Fe,"\u2A8B","\\lesseqqgtr",!0),fe(_e,ht,Fe,"\u2251","\\doteqdot"),fe(_e,ht,Fe,"\u2253","\\risingdotseq",!0),fe(_e,ht,Fe,"\u2252","\\fallingdotseq",!0),fe(_e,ht,Fe,"\u223D","\\backsim",!0),fe(_e,ht,Fe,"\u22CD","\\backsimeq",!0),fe(_e,ht,Fe,"\u2AC5","\\subseteqq",!0),fe(_e,ht,Fe,"\u22D0","\\Subset",!0),fe(_e,ht,Fe,"\u228F","\\sqsubset",!0),fe(_e,ht,Fe,"\u227C","\\preccurlyeq",!0),fe(_e,ht,Fe,"\u22DE","\\curlyeqprec",!0),fe(_e,ht,Fe,"\u227E","\\precsim",!0),fe(_e,ht,Fe,"\u2AB7","\\precapprox",!0),fe(_e,ht,Fe,"\u22B2","\\vartriangleleft"),fe(_e,ht,Fe,"\u22B4","\\trianglelefteq"),fe(_e,ht,Fe,"\u22A8","\\vDash",!0),fe(_e,ht,Fe,"\u22AA","\\Vvdash",!0),fe(_e,ht,Fe,"\u2323","\\smallsmile"),fe(_e,ht,Fe,"\u2322","\\smallfrown"),fe(_e,ht,Fe,"\u224F","\\bumpeq",!0),fe(_e,ht,Fe,"\u224E","\\Bumpeq",!0),fe(_e,ht,Fe,"\u2267","\\geqq",!0),fe(_e,ht,Fe,"\u2A7E","\\geqslant",!0),fe(_e,ht,Fe,"\u2A96","\\eqslantgtr",!0),fe(_e,ht,Fe,"\u2273","\\gtrsim",!0),fe(_e,ht,Fe,"\u2A86","\\gtrapprox",!0),fe(_e,ht,Ct,"\u22D7","\\gtrdot"),fe(_e,ht,Fe,"\u22D9","\\ggg",!0),fe(_e,ht,Fe,"\u2277","\\gtrless",!0),fe(_e,ht,Fe,"\u22DB","\\gtreqless",!0),fe(_e,ht,Fe,"\u2A8C","\\gtreqqless",!0),fe(_e,ht,Fe,"\u2256","\\eqcirc",!0),fe(_e,ht,Fe,"\u2257","\\circeq",!0),fe(_e,ht,Fe,"\u225C","\\triangleq",!0),fe(_e,ht,Fe,"\u223C","\\thicksim"),fe(_e,ht,Fe,"\u2248","\\thickapprox"),fe(_e,ht,Fe,"\u2AC6","\\supseteqq",!0),fe(_e,ht,Fe,"\u22D1","\\Supset",!0),fe(_e,ht,Fe,"\u2290","\\sqsupset",!0),fe(_e,ht,Fe,"\u227D","\\succcurlyeq",!0),fe(_e,ht,Fe,"\u22DF","\\curlyeqsucc",!0),fe(_e,ht,Fe,"\u227F","\\succsim",!0),fe(_e,ht,Fe,"\u2AB8","\\succapprox",!0),fe(_e,ht,Fe,"\u22B3","\\vartriangleright"),fe(_e,ht,Fe,"\u22B5","\\trianglerighteq"),fe(_e,ht,Fe,"\u22A9","\\Vdash",!0),fe(_e,ht,Fe,"\u2223","\\shortmid"),fe(_e,ht,Fe,"\u2225","\\shortparallel"),fe(_e,ht,Fe,"\u226C","\\between",!0),fe(_e,ht,Fe,"\u22D4","\\pitchfork",!0),fe(_e,ht,Fe,"\u221D","\\varpropto"),fe(_e,ht,Fe,"\u25C0","\\blacktriangleleft"),fe(_e,ht,Fe,"\u2234","\\therefore",!0),fe(_e,ht,Fe,"\u220D","\\backepsilon"),fe(_e,ht,Fe,"\u25B6","\\blacktriangleright"),fe(_e,ht,Fe,"\u2235","\\because",!0),fe(_e,ht,Fe,"\u22D8","\\llless"),fe(_e,ht,Fe,"\u22D9","\\gggtr"),fe(_e,ht,Ct,"\u22B2","\\lhd"),fe(_e,ht,Ct,"\u22B3","\\rhd"),fe(_e,ht,Fe,"\u2242","\\eqsim",!0),fe(_e,Ie,Fe,"\u22C8","\\Join"),fe(_e,ht,Fe,"\u2251","\\Doteq",!0),fe(_e,ht,Ct,"\u2214","\\dotplus",!0),fe(_e,ht,Ct,"\u2216","\\smallsetminus"),fe(_e,ht,Ct,"\u22D2","\\Cap",!0),fe(_e,ht,Ct,"\u22D3","\\Cup",!0),fe(_e,ht,Ct,"\u2A5E","\\doublebarwedge",!0),fe(_e,ht,Ct,"\u229F","\\boxminus",!0),fe(_e,ht,Ct,"\u229E","\\boxplus",!0),fe(_e,ht,Ct,"\u22C7","\\divideontimes",!0),fe(_e,ht,Ct,"\u22C9","\\ltimes",!0),fe(_e,ht,Ct,"\u22CA","\\rtimes",!0),fe(_e,ht,Ct,"\u22CB","\\leftthreetimes",!0),fe(_e,ht,Ct,"\u22CC","\\rightthreetimes",!0),fe(_e,ht,Ct,"\u22CF","\\curlywedge",!0),fe(_e,ht,Ct,"\u22CE","\\curlyvee",!0),fe(_e,ht,Ct,"\u229D","\\circleddash",!0),fe(_e,ht,Ct,"\u229B","\\circledast",!0),fe(_e,ht,Ct,"\u22C5","\\centerdot"),fe(_e,ht,Ct,"\u22BA","\\intercal",!0),fe(_e,ht,Ct,"\u22D2","\\doublecap"),fe(_e,ht,Ct,"\u22D3","\\doublecup"),fe(_e,ht,Ct,"\u22A0","\\boxtimes",!0),fe(_e,ht,Fe,"\u21E2","\\dashrightarrow",!0),fe(_e,ht,Fe,"\u21E0","\\dashleftarrow",!0),fe(_e,ht,Fe,"\u21C7","\\leftleftarrows",!0),fe(_e,ht,Fe,"\u21C6","\\leftrightarrows",!0),fe(_e,ht,Fe,"\u21DA","\\Lleftarrow",!0),fe(_e,ht,Fe,"\u219E","\\twoheadleftarrow",!0),fe(_e,ht,Fe,"\u21A2","\\leftarrowtail",!0),fe(_e,ht,Fe,"\u21AB","\\looparrowleft",!0),fe(_e,ht,Fe,"\u21CB","\\leftrightharpoons",!0),fe(_e,ht,Fe,"\u21B6","\\curvearrowleft",!0),fe(_e,ht,Fe,"\u21BA","\\circlearrowleft",!0),fe(_e,ht,Fe,"\u21B0","\\Lsh",!0),fe(_e,ht,Fe,"\u21C8","\\upuparrows",!0),fe(_e,ht,Fe,"\u21BF","\\upharpoonleft",!0),fe(_e,ht,Fe,"\u21C3","\\downharpoonleft",!0),fe(_e,ht,Fe,"\u22B8","\\multimap",!0),fe(_e,ht,Fe,"\u21AD","\\leftrightsquigarrow",!0),fe(_e,ht,Fe,"\u21C9","\\rightrightarrows",!0),fe(_e,ht,Fe,"\u21C4","\\rightleftarrows",!0),fe(_e,ht,Fe,"\u21A0","\\twoheadrightarrow",!0),fe(_e,ht,Fe,"\u21A3","\\rightarrowtail",!0),fe(_e,ht,Fe,"\u21AC","\\looparrowright",!0),fe(_e,ht,Fe,"\u21B7","\\curvearrowright",!0),fe(_e,ht,Fe,"\u21BB","\\circlearrowright",!0),fe(_e,ht,Fe,"\u21B1","\\Rsh",!0),fe(_e,ht,Fe,"\u21CA","\\downdownarrows",!0),fe(_e,ht,Fe,"\u21BE","\\upharpoonright",!0),fe(_e,ht,Fe,"\u21C2","\\downharpoonright",!0),fe(_e,ht,Fe,"\u21DD","\\rightsquigarrow",!0),fe(_e,ht,Fe,"\u21DD","\\leadsto"),fe(_e,ht,Fe,"\u21DB","\\Rrightarrow",!0),fe(_e,ht,Fe,"\u21BE","\\restriction"),fe(_e,Ie,St,"\u2018","`"),fe(_e,Ie,St,"$","\\$"),fe(Ot,Ie,St,"$","\\$"),fe(Ot,Ie,St,"$","\\textdollar"),fe(_e,Ie,St,"%","\\%"),fe(Ot,Ie,St,"%","\\%"),fe(_e,Ie,St,"_","\\_"),fe(Ot,Ie,St,"_","\\_"),fe(Ot,Ie,St,"_","\\textunderscore"),fe(_e,Ie,St,"\u2220","\\angle",!0),fe(_e,Ie,St,"\u221E","\\infty",!0),fe(_e,Ie,St,"\u2032","\\prime"),fe(_e,Ie,St,"\u25B3","\\triangle"),fe(_e,Ie,St,"\u0393","\\Gamma",!0),fe(_e,Ie,St,"\u0394","\\Delta",!0),fe(_e,Ie,St,"\u0398","\\Theta",!0),fe(_e,Ie,St,"\u039B","\\Lambda",!0),fe(_e,Ie,St,"\u039E","\\Xi",!0),fe(_e,Ie,St,"\u03A0","\\Pi",!0),fe(_e,Ie,St,"\u03A3","\\Sigma",!0),fe(_e,Ie,St,"\u03A5","\\Upsilon",!0),fe(_e,Ie,St,"\u03A6","\\Phi",!0),fe(_e,Ie,St,"\u03A8","\\Psi",!0),fe(_e,Ie,St,"\u03A9","\\Omega",!0),fe(_e,Ie,St,"A","\u0391"),fe(_e,Ie,St,"B","\u0392"),fe(_e,Ie,St,"E","\u0395"),fe(_e,Ie,St,"Z","\u0396"),fe(_e,Ie,St,"H","\u0397"),fe(_e,Ie,St,"I","\u0399"),fe(_e,Ie,St,"K","\u039A"),fe(_e,Ie,St,"M","\u039C"),fe(_e,Ie,St,"N","\u039D"),fe(_e,Ie,St,"O","\u039F"),fe(_e,Ie,St,"P","\u03A1"),fe(_e,Ie,St,"T","\u03A4"),fe(_e,Ie,St,"X","\u03A7"),fe(_e,Ie,St,"\xAC","\\neg",!0),fe(_e,Ie,St,"\xAC","\\lnot"),fe(_e,Ie,St,"\u22A4","\\top"),fe(_e,Ie,St,"\u22A5","\\bot"),fe(_e,Ie,St,"\u2205","\\emptyset"),fe(_e,ht,St,"\u2205","\\varnothing"),fe(_e,Ie,je,"\u03B1","\\alpha",!0),fe(_e,Ie,je,"\u03B2","\\beta",!0),fe(_e,Ie,je,"\u03B3","\\gamma",!0),fe(_e,Ie,je,"\u03B4","\\delta",!0),fe(_e,Ie,je,"\u03F5","\\epsilon",!0),fe(_e,Ie,je,"\u03B6","\\zeta",!0),fe(_e,Ie,je,"\u03B7","\\eta",!0),fe(_e,Ie,je,"\u03B8","\\theta",!0),fe(_e,Ie,je,"\u03B9","\\iota",!0),fe(_e,Ie,je,"\u03BA","\\kappa",!0),fe(_e,Ie,je,"\u03BB","\\lambda",!0),fe(_e,Ie,je,"\u03BC","\\mu",!0),fe(_e,Ie,je,"\u03BD","\\nu",!0),fe(_e,Ie,je,"\u03BE","\\xi",!0),fe(_e,Ie,je,"\u03BF","\\omicron",!0),fe(_e,Ie,je,"\u03C0","\\pi",!0),fe(_e,Ie,je,"\u03C1","\\rho",!0),fe(_e,Ie,je,"\u03C3","\\sigma",!0),fe(_e,Ie,je,"\u03C4","\\tau",!0),fe(_e,Ie,je,"\u03C5","\\upsilon",!0),fe(_e,Ie,je,"\u03D5","\\phi",!0),fe(_e,Ie,je,"\u03C7","\\chi",!0),fe(_e,Ie,je,"\u03C8","\\psi",!0),fe(_e,Ie,je,"\u03C9","\\omega",!0),fe(_e,Ie,je,"\u03B5","\\varepsilon",!0),fe(_e,Ie,je,"\u03D1","\\vartheta",!0),fe(_e,Ie,je,"\u03D6","\\varpi",!0),fe(_e,Ie,je,"\u03F1","\\varrho",!0),fe(_e,Ie,je,"\u03C2","\\varsigma",!0),fe(_e,Ie,je,"\u03C6","\\varphi",!0),fe(_e,Ie,Ct,"\u2217","*"),fe(_e,Ie,Ct,"+","+"),fe(_e,Ie,Ct,"\u2212","-"),fe(_e,Ie,Ct,"\u22C5","\\cdot",!0),fe(_e,Ie,Ct,"\u2218","\\circ"),fe(_e,Ie,Ct,"\xF7","\\div",!0),fe(_e,Ie,Ct,"\xB1","\\pm",!0),fe(_e,Ie,Ct,"\xD7","\\times",!0),fe(_e,Ie,Ct,"\u2229","\\cap",!0),fe(_e,Ie,Ct,"\u222A","\\cup",!0),fe(_e,Ie,Ct,"\u2216","\\setminus"),fe(_e,Ie,Ct,"\u2227","\\land"),fe(_e,Ie,Ct,"\u2228","\\lor"),fe(_e,Ie,Ct,"\u2227","\\wedge",!0),fe(_e,Ie,Ct,"\u2228","\\vee",!0),fe(_e,Ie,St,"\u221A","\\surd"),fe(_e,Ie,Oe,"(","("),fe(_e,Ie,Oe,"[","["),fe(_e,Ie,Oe,"\u27E8","\\langle",!0),fe(_e,Ie,Oe,"\u2223","\\lvert"),fe(_e,Ie,Oe,"\u2225","\\lVert"),fe(_e,Ie,ke,")",")"),fe(_e,Ie,ke,"]","]"),fe(_e,Ie,ke,"?","?"),fe(_e,Ie,ke,"!","!"),fe(_e,Ie,ke,"\u27E9","\\rangle",!0),fe(_e,Ie,ke,"\u2223","\\rvert"),fe(_e,Ie,ke,"\u2225","\\rVert"),fe(_e,Ie,Fe,"=","="),fe(_e,Ie,Fe,"<","<"),fe(_e,Ie,Fe,">",">"),fe(_e,Ie,Fe,":",":"),fe(_e,Ie,Fe,"\u2248","\\approx",!0),fe(_e,Ie,Fe,"\u2245","\\cong",!0),fe(_e,Ie,Fe,"\u2265","\\ge"),fe(_e,Ie,Fe,"\u2265","\\geq",!0),fe(_e,Ie,Fe,"\u2190","\\gets"),fe(_e,Ie,Fe,">","\\gt"),fe(_e,Ie,Fe,"\u2208","\\in",!0),fe(_e,Ie,Fe,"\uE020","\\@not"),fe(_e,Ie,Fe,"\u2282","\\subset",!0),fe(_e,Ie,Fe,"\u2283","\\supset",!0),fe(_e,Ie,Fe,"\u2286","\\subseteq",!0),fe(_e,Ie,Fe,"\u2287","\\supseteq",!0),fe(_e,ht,Fe,"\u2288","\\nsubseteq",!0),fe(_e,ht,Fe,"\u2289","\\nsupseteq",!0),fe(_e,Ie,Fe,"\u22A8","\\models"),fe(_e,Ie,Fe,"\u2190","\\leftarrow",!0),fe(_e,Ie,Fe,"\u2264","\\le"),fe(_e,Ie,Fe,"\u2264","\\leq",!0),fe(_e,Ie,Fe,"<","\\lt"),fe(_e,Ie,Fe,"\u2192","\\rightarrow",!0),fe(_e,Ie,Fe,"\u2192","\\to"),fe(_e,ht,Fe,"\u2271","\\ngeq",!0),fe(_e,ht,Fe,"\u2270","\\nleq",!0),fe(_e,Ie,Dr,"\xA0","\\ "),fe(_e,Ie,Dr,"\xA0","~"),fe(_e,Ie,Dr,"\xA0","\\space"),fe(_e,Ie,Dr,"\xA0","\\nobreakspace"),fe(Ot,Ie,Dr,"\xA0","\\ "),fe(Ot,Ie,Dr,"\xA0","~"),fe(Ot,Ie,Dr,"\xA0","\\space"),fe(Ot,Ie,Dr,"\xA0","\\nobreakspace"),fe(_e,Ie,Dr,null,"\\nobreak"),fe(_e,Ie,Dr,null,"\\allowbreak"),fe(_e,Ie,kt,",",","),fe(_e,Ie,kt,";",";"),fe(_e,ht,Ct,"\u22BC","\\barwedge",!0),fe(_e,ht,Ct,"\u22BB","\\veebar",!0),fe(_e,Ie,Ct,"\u2299","\\odot",!0),fe(_e,Ie,Ct,"\u2295","\\oplus",!0),fe(_e,Ie,Ct,"\u2297","\\otimes",!0),fe(_e,Ie,St,"\u2202","\\partial",!0),fe(_e,Ie,Ct,"\u2298","\\oslash",!0),fe(_e,ht,Ct,"\u229A","\\circledcirc",!0),fe(_e,ht,Ct,"\u22A1","\\boxdot",!0),fe(_e,Ie,Ct,"\u25B3","\\bigtriangleup"),fe(_e,Ie,Ct,"\u25BD","\\bigtriangledown"),fe(_e,Ie,Ct,"\u2020","\\dagger"),fe(_e,Ie,Ct,"\u22C4","\\diamond"),fe(_e,Ie,Ct,"\u22C6","\\star"),fe(_e,Ie,Ct,"\u25C3","\\triangleleft"),fe(_e,Ie,Ct,"\u25B9","\\triangleright"),fe(_e,Ie,Oe,"{","\\{"),fe(Ot,Ie,St,"{","\\{"),fe(Ot,Ie,St,"{","\\textbraceleft"),fe(_e,Ie,ke,"}","\\}"),fe(Ot,Ie,St,"}","\\}"),fe(Ot,Ie,St,"}","\\textbraceright"),fe(_e,Ie,Oe,"{","\\lbrace"),fe(_e,Ie,ke,"}","\\rbrace"),fe(_e,Ie,Oe,"[","\\lbrack"),fe(Ot,Ie,St,"[","\\lbrack"),fe(_e,Ie,ke,"]","\\rbrack"),fe(Ot,Ie,St,"]","\\rbrack"),fe(_e,Ie,Oe,"(","\\lparen"),fe(_e,Ie,ke,")","\\rparen"),fe(Ot,Ie,St,"<","\\textless"),fe(Ot,Ie,St,">","\\textgreater"),fe(_e,Ie,Oe,"\u230A","\\lfloor",!0),fe(_e,Ie,ke,"\u230B","\\rfloor",!0),fe(_e,Ie,Oe,"\u2308","\\lceil",!0),fe(_e,Ie,ke,"\u2309","\\rceil",!0),fe(_e,Ie,St,"\\","\\backslash"),fe(_e,Ie,St,"\u2223","|"),fe(_e,Ie,St,"\u2223","\\vert"),fe(Ot,Ie,St,"|","\\textbar"),fe(_e,Ie,St,"\u2225","\\|"),fe(_e,Ie,St,"\u2225","\\Vert"),fe(Ot,Ie,St,"\u2225","\\textbardbl"),fe(Ot,Ie,St,"~","\\textasciitilde"),fe(Ot,Ie,St,"\\","\\textbackslash"),fe(Ot,Ie,St,"^","\\textasciicircum"),fe(_e,Ie,Fe,"\u2191","\\uparrow",!0),fe(_e,Ie,Fe,"\u21D1","\\Uparrow",!0),fe(_e,Ie,Fe,"\u2193","\\downarrow",!0),fe(_e,Ie,Fe,"\u21D3","\\Downarrow",!0),fe(_e,Ie,Fe,"\u2195","\\updownarrow",!0),fe(_e,Ie,Fe,"\u21D5","\\Updownarrow",!0),fe(_e,Ie,Qe,"\u2210","\\coprod"),fe(_e,Ie,Qe,"\u22C1","\\bigvee"),fe(_e,Ie,Qe,"\u22C0","\\bigwedge"),fe(_e,Ie,Qe,"\u2A04","\\biguplus"),fe(_e,Ie,Qe,"\u22C2","\\bigcap"),fe(_e,Ie,Qe,"\u22C3","\\bigcup"),fe(_e,Ie,Qe,"\u222B","\\int"),fe(_e,Ie,Qe,"\u222B","\\intop"),fe(_e,Ie,Qe,"\u222C","\\iint"),fe(_e,Ie,Qe,"\u222D","\\iiint"),fe(_e,Ie,Qe,"\u220F","\\prod"),fe(_e,Ie,Qe,"\u2211","\\sum"),fe(_e,Ie,Qe,"\u2A02","\\bigotimes"),fe(_e,Ie,Qe,"\u2A01","\\bigoplus"),fe(_e,Ie,Qe,"\u2A00","\\bigodot"),fe(_e,Ie,Qe,"\u222E","\\oint"),fe(_e,Ie,Qe,"\u222F","\\oiint"),fe(_e,Ie,Qe,"\u2230","\\oiiint"),fe(_e,Ie,Qe,"\u2A06","\\bigsqcup"),fe(_e,Ie,Qe,"\u222B","\\smallint"),fe(Ot,Ie,wt,"\u2026","\\textellipsis"),fe(_e,Ie,wt,"\u2026","\\mathellipsis"),fe(Ot,Ie,wt,"\u2026","\\ldots",!0),fe(_e,Ie,wt,"\u2026","\\ldots",!0),fe(_e,Ie,wt,"\u22EF","\\@cdots",!0),fe(_e,Ie,wt,"\u22F1","\\ddots",!0),fe(_e,Ie,St,"\u22EE","\\varvdots"),fe(_e,Ie,zt,"\u02CA","\\acute"),fe(_e,Ie,zt,"\u02CB","\\grave"),fe(_e,Ie,zt,"\xA8","\\ddot"),fe(_e,Ie,zt,"~","\\tilde"),fe(_e,Ie,zt,"\u02C9","\\bar"),fe(_e,Ie,zt,"\u02D8","\\breve"),fe(_e,Ie,zt,"\u02C7","\\check"),fe(_e,Ie,zt,"^","\\hat"),fe(_e,Ie,zt,"\u20D7","\\vec"),fe(_e,Ie,zt,"\u02D9","\\dot"),fe(_e,Ie,zt,"\u02DA","\\mathring"),fe(_e,Ie,je,"\u0131","\\imath",!0),fe(_e,Ie,je,"\u0237","\\jmath",!0),fe(Ot,Ie,St,"\u0131","\\i",!0),fe(Ot,Ie,St,"\u0237","\\j",!0),fe(Ot,Ie,St,"\xDF","\\ss",!0),fe(Ot,Ie,St,"\xE6","\\ae",!0),fe(Ot,Ie,St,"\xE6","\\ae",!0),fe(Ot,Ie,St,"\u0153","\\oe",!0),fe(Ot,Ie,St,"\xF8","\\o",!0),fe(Ot,Ie,St,"\xC6","\\AE",!0),fe(Ot,Ie,St,"\u0152","\\OE",!0),fe(Ot,Ie,St,"\xD8","\\O",!0),fe(Ot,Ie,zt,"\u02CA","\\'"),fe(Ot,Ie,zt,"\u02CB","\\`"),fe(Ot,Ie,zt,"\u02C6","\\^"),fe(Ot,Ie,zt,"\u02DC","\\~"),fe(Ot,Ie,zt,"\u02C9","\\="),fe(Ot,Ie,zt,"\u02D8","\\u"),fe(Ot,Ie,zt,"\u02D9","\\."),fe(Ot,Ie,zt,"\u02DA","\\r"),fe(Ot,Ie,zt,"\u02C7","\\v"),fe(Ot,Ie,zt,"\xA8",'\\"'),fe(Ot,Ie,zt,"\u02DD","\\H"),fe(Ot,Ie,zt,"\u25EF","\\textcircled");var Gr={"--":!0,"---":!0,"``":!0,"''":!0};fe(Ot,Ie,St,"\u2013","--"),fe(Ot,Ie,St,"\u2013","\\textendash"),fe(Ot,Ie,St,"\u2014","---"),fe(Ot,Ie,St,"\u2014","\\textemdash"),fe(Ot,Ie,St,"\u2018","`"),fe(Ot,Ie,St,"\u2018","\\textquoteleft"),fe(Ot,Ie,St,"\u2019","'"),fe(Ot,Ie,St,"\u2019","\\textquoteright"),fe(Ot,Ie,St,"\u201C","``"),fe(Ot,Ie,St,"\u201C","\\textquotedblleft"),fe(Ot,Ie,St,"\u201D","''"),fe(Ot,Ie,St,"\u201D","\\textquotedblright"),fe(_e,Ie,St,"\xB0","\\degree",!0),fe(Ot,Ie,St,"\xB0","\\degree"),fe(Ot,Ie,St,"\xB0","\\textdegree",!0),fe(_e,Ie,je,"\xA3","\\pounds"),fe(_e,Ie,je,"\xA3","\\mathsterling",!0),fe(Ot,Ie,je,"\xA3","\\pounds"),fe(Ot,Ie,je,"\xA3","\\textsterling",!0),fe(_e,ht,St,"\u2720","\\maltese"),fe(Ot,ht,St,"\u2720","\\maltese"),fe(Ot,Ie,Dr,"\xA0","\\ "),fe(Ot,Ie,Dr,"\xA0"," "),fe(Ot,Ie,Dr,"\xA0","~");for(var Qr='0123456789/@."',Sr=0;Sr<Qr.length;Sr++){var Or=Qr.charAt(Sr);fe(_e,Ie,St,Or,Or)}for(var hr='0123456789!@*()-=+[]<>|";:?/.,',$r=0;$r<hr.length;$r++){var nn=hr.charAt($r);fe(Ot,Ie,St,nn,nn)}for(var on="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",sr=0;sr<on.length;sr++){var Mt=on.charAt(sr);fe(_e,Ie,je,Mt,Mt),fe(Ot,Ie,St,Mt,Mt)}fe(_e,ht,St,"C","\u2102"),fe(Ot,ht,St,"C","\u2102"),fe(_e,ht,St,"H","\u210D"),fe(Ot,ht,St,"H","\u210D"),fe(_e,ht,St,"N","\u2115"),fe(Ot,ht,St,"N","\u2115"),fe(_e,ht,St,"P","\u2119"),fe(Ot,ht,St,"P","\u2119"),fe(_e,ht,St,"Q","\u211A"),fe(Ot,ht,St,"Q","\u211A"),fe(_e,ht,St,"R","\u211D"),fe(Ot,ht,St,"R","\u211D"),fe(_e,ht,St,"Z","\u2124"),fe(Ot,ht,St,"Z","\u2124"),fe(_e,Ie,je,"h","\u210E"),fe(Ot,Ie,je,"h","\u210E");for(var gt="",yt=0;yt<on.length;yt++){var Nt=on.charAt(yt);gt=String.fromCharCode(55349,56320+yt),fe(_e,Ie,je,Nt,gt),fe(Ot,Ie,St,Nt,gt),gt=String.fromCharCode(55349,56372+yt),fe(_e,Ie,je,Nt,gt),fe(Ot,Ie,St,Nt,gt),gt=String.fromCharCode(55349,56424+yt),fe(_e,Ie,je,Nt,gt),fe(Ot,Ie,St,Nt,gt),gt=String.fromCharCode(55349,56580+yt),fe(_e,Ie,je,Nt,gt),fe(Ot,Ie,St,Nt,gt),gt=String.fromCharCode(55349,56736+yt),fe(_e,Ie,je,Nt,gt),fe(Ot,Ie,St,Nt,gt),gt=String.fromCharCode(55349,56788+yt),fe(_e,Ie,je,Nt,gt),fe(Ot,Ie,St,Nt,gt),gt=String.fromCharCode(55349,56840+yt),fe(_e,Ie,je,Nt,gt),fe(Ot,Ie,St,Nt,gt),gt=String.fromCharCode(55349,56944+yt),fe(_e,Ie,je,Nt,gt),fe(Ot,Ie,St,Nt,gt),yt<26&&(gt=String.fromCharCode(55349,56632+yt),fe(_e,Ie,je,Nt,gt),fe(Ot,Ie,St,Nt,gt),gt=String.fromCharCode(55349,56476+yt),fe(_e,Ie,je,Nt,gt),fe(Ot,Ie,St,Nt,gt))}gt="\u{1D55C}",fe(_e,Ie,je,"k",gt),fe(Ot,Ie,St,"k",gt);for(var Cr=0;Cr<10;Cr++){var vr=Cr.toString();gt=String.fromCharCode(55349,57294+Cr),fe(_e,Ie,je,vr,gt),fe(Ot,Ie,St,vr,gt),gt=String.fromCharCode(55349,57314+Cr),fe(_e,Ie,je,vr,gt),fe(Ot,Ie,St,vr,gt),gt=String.fromCharCode(55349,57324+Cr),fe(_e,Ie,je,vr,gt),fe(Ot,Ie,St,vr,gt),gt=String.fromCharCode(55349,57334+Cr),fe(_e,Ie,je,vr,gt),fe(Ot,Ie,St,vr,gt)}for(var lt="\xC7\xD0\xDE\xE7\xFE",Lr=0;Lr<lt.length;Lr++){var _n=lt.charAt(Lr);fe(_e,Ie,je,_n,_n),fe(Ot,Ie,St,_n,_n)}fe(Ot,Ie,St,"\xF0","\xF0"),fe(Ot,Ie,St,"\u2013","\u2013"),fe(Ot,Ie,St,"\u2014","\u2014"),fe(Ot,Ie,St,"\u2018","\u2018"),fe(Ot,Ie,St,"\u2019","\u2019"),fe(Ot,Ie,St,"\u201C","\u201C"),fe(Ot,Ie,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),Ce=(te-55296)*1024+(pe-56320)+65536,Ve=X==="math"?0:1;if(119808<=Ce&&Ce<120484){var Tt=Math.floor((Ce-119808)/26);return[Un[Tt][2],Un[Tt][Ve]]}else if(120782<=Ce&&Ce<=120831){var $t=Math.floor((Ce-120782)/10);return[_r[$t][2],_r[$t][Ve]]}else{if(Ce===120485||Ce===120486)return[Un[0][2],Un[0][Ve]];if(120486<Ce&&Ce<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 Ke(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||Ke.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=Ke.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 Ce in te)te.hasOwnProperty(Ce)&&(pe[Ce]=te[Ce]);return new Ke(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(Ke.BASESIZE,te);return this.size===pe&&this.textSize===Ke.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!==Ke.BASESIZE?["sizing","reset-size"+this.size,"size"+Ke.BASESIZE]:[]},Z.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Zt(this.size)),this._fontMetrics},Z.getColor=function(){return this.phantom?"transparent":this.color},Ke}();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 Ge[te][Z]&&Ge[te][Z].replace&&(Z=Ge[te][Z].replace),{value:Z,metrics:Wt(Z,X,te)}},Vi=function(Z,X,te,pe,Ce){var Ve=Xn(Z,X,te),Tt=Ve.metrics;Z=Ve.value;var $t;if(Tt){var rr=Tt.italic;(te==="text"||pe&&pe.font==="mathit")&&(rr=0),$t=new Te(Z,Tt.height,Tt.depth,rr,Tt.skew,Tt.width,Ce)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+Z+"' in style '"+X+"' and mode '"+te+"'")),$t=new Te(Z,0,0,0,0,0,Ce);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==="\\"||Ge[X][Z].font==="main"?Vi(Z,"Main-Regular",X,te,pe):Vi(Z,"AMS-Regular",X,te,pe.concat(["amsrm"]))},ct=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,Ce=Z.text,Ve=["mord"],Tt=pe==="math"||pe==="text"&&X.font,$t=Tt?X.font:X.fontFamily;if(Ce.charCodeAt(0)===55349){var rr=Jr(Ce,pe),Ar=rr[0],zr=rr[1];return Vi(Ce,Ar,pe,X,Ve.concat(zr))}else if($t){var qr,En;if($t==="boldsymbol"||$t==="mathnormal"){var Rn=$t==="boldsymbol"?xi(Ce,pe,X,Ve):Qn(Ce,pe,X,Ve);qr=Rn.fontName,En=[Rn.fontClass]}else P.contains(Yi,Ce)?(qr="Main-Italic",En=["mathit"]):Tt?(qr=He[$t].fontName,En=[$t]):(qr=Ur($t,X.fontWeight,X.fontShape),En=[$t,X.fontWeight,X.fontShape]);if(Xn(Ce,qr,pe).metrics)return Vi(Ce,qr,pe,X,Ve.concat(En));if(Gr.hasOwnProperty(Ce)&&qr.substr(0,10)==="Typewriter"){for(var lr=[],Ei=0;Ei<Ce.length;Ei++)lr.push(Vi(Ce[Ei],qr,pe,X,Ve.concat(En)));return Dt(lr)}}if(te==="mathord"){var ia=ct(Ce,pe,X,Ve);return Vi(Ce,ia.fontName,pe,X,Ve.concat([ia.fontClass]))}else if(te==="textord"){var aa=Ge[pe][Ce]&&Ge[pe][Ce].font;if(aa==="ams"){var Xi=Ur("amsrm",X.fontWeight,X.fontShape);return Vi(Ce,Xi,pe,X,Ve.concat("amsrm",X.fontWeight,X.fontShape))}else if(aa==="main"||!aa){var Ja=Ur("textrm",X.fontWeight,X.fontShape);return Vi(Ce,Ja,pe,X,Ve.concat(X.fontWeight,X.fontShape))}else{var ss=Ur(aa,X.fontWeight,X.fontShape);return Vi(Ce,ss,pe,X,Ve.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 Te&&pe instanceof Te&&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,Ce=0;Ce<Z.children.length;Ce++){var Ve=Z.children[Ce];Ve.height>X&&(X=Ve.height),Ve.depth>te&&(te=Ve.depth),Ve.maxFontSize>pe&&(pe=Ve.maxFontSize)}Z.height=X,Z.depth=te,Z.maxFontSize=pe},bn=function(Z,X,te,pe){var Ce=new pt(Z,X,te,pe);return ni(Ce),Ce},tr=function(Z,X,te,pe){return new pt(Z,X,te,pe)},vt=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},nt=function(Z,X,te,pe){var Ce=new tt(Z,X,te,pe);return ni(Ce),Ce},Dt=function(Z){var X=new Xe(Z);return ni(X),X},_t=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,Ce=pe,Ve=1;Ve<X.length;Ve++){var Tt=-X[Ve].shift-Ce-X[Ve].elem.depth,$t=Tt-(X[Ve-1].elem.height+X[Ve-1].elem.depth);Ce=Ce+Tt,te.push({type:"kern",size:$t}),te.push(X[Ve])}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,Ce=te.depth,Ve=0,Tt=0;Tt<pe.length;Tt++){var $t=pe[Tt];if($t.type==="elem"){var rr=$t.elem;Ve=Math.max(Ve,rr.maxFontSize,rr.height)}}Ve+=2;var Ar=bn(["pstrut"],[]);Ar.style.height=Ve+"em";for(var zr=[],qr=Ce,En=Ce,Rn=Ce,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=-Ve-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 Te("\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 Ce;return X==="textbf"&&te==="textit"?Ce="BoldItalic":X==="textbf"?Ce="Bold":X==="textit"?Ce="Italic":Ce="Regular",pe+"-"+Ce},He={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"}},rt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},xe=function(Z,X){var te=rt[Z],pe=te[0],Ce=te[1],Ve=te[2],Tt=new $e(pe),$t=new Me([Tt],{width:Ce+"em",height:Ve+"em",style:"width:"+Ce+"em",viewBox:"0 0 "+1e3*Ce+" "+1e3*Ve,preserveAspectRatio:"xMinYMin"}),rr=tr(["overlay"],[$t],X);return rr.height=Ve,rr.style.height=Ve+"em",rr.style.width=Ce+"em",rr},st={fontMap:He,makeSymbol:Vi,mathsym:Et,makeSpan:bn,makeSvgSpan:tr,makeLineSpan:vt,makeAnchor:nt,makeFragment:Dt,wrapFragment:_t,makeVList:cr,makeOrd:qn,makeGlue:Tr,staticSvg:xe,svgData:rt,tryCombineChars:hi};function nr(Ke,Z){var X=Pr(Ke,Z);if(!X)throw new Error("Expected node of type "+Z+", but got "+(Ke?"node of type "+Ke.type:String(Ke)));return X}function Pr(Ke,Z){return Ke&&Ke.type===Z?Ke:null}function br(Ke,Z){var X=Ir(Ke,Z);if(!X)throw new Error('Expected node of type "atom" and family "'+Z+'", but got '+(Ke?Ke.type==="atom"?"atom of family "+Ke.family:"node of type "+Ke.type:String(Ke)));return X}function Ir(Ke,Z){return Ke&&Ke.type==="atom"&&Ke.family===Z?Ke:null}function Br(Ke){var Z=mn(Ke);if(!Z)throw new Error("Expected node of symbol group type, but got "+(Ke?"node of type "+Ke.type:String(Ke)));return Z}function mn(Ke){return Ke&&(Ke.type==="atom"||At.hasOwnProperty(Ke.type))?Ke: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(Ke){for(var Z=Ke.type,X=Ke.names,te=Ke.props,pe=Ke.handler,Ce=Ke.htmlBuilder,Ve=Ke.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&&(Ce&&(Ci[Z]=Ce),Ve&&(fi[Z]=Ve))}function ai(Ke){var Z=Ke.type,X=Ke.htmlBuilder,te=Ke.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=st.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 Ce=[],Ve=0;Ve<Z.length;Ve++){var Tt=Bi(Z[Ve],X);if(Tt instanceof Xe){var $t=Tt.children;Ce.push.apply(Ce,$t)}else Ce.push(Tt)}if(!te)return Ce;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(Ce,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(Ce,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 st.makeGlue(ia,rr)},{node:zr},qr),Ce},gs=function Ke(Z,X,te,pe){pe&&Z.push(pe);for(var Ce=0;Ce<Z.length;Ce++){var Ve=Z[Ce],Tt=Zn(Ve);if(Tt){Ke(Tt.children,X,te);continue}if(Ve.classes[0]!=="mspace"){var $t=X(Ve,te.node);$t&&(te.insertAfter?te.insertAfter($t):(Z.unshift($t),Ce++)),te.node=Ve,te.insertAfter=function(rr){return function(Ar){Z.splice(rr+1,0,Ar),Ce++}}(Ce)}}pe&&Z.pop()},Zn=function(Z){return Z instanceof Xe||Z instanceof tt?Z:null},qa=function Ke(Z,X){var te=Zn(Z);if(te){var pe=te.children;if(pe.length){if(X==="right")return Ke(pe[pe.length-1],"right");if(X==="left")return Ke(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 Ce=X.sizeMultiplier/te.sizeMultiplier;pe.height*=Ce,pe.depth*=Ce}return pe}else throw new o("Got group of unknown type: '"+Z.type+"'")};function hs(Ke,Z){var X=sa(["base"],Ke,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(Ke,Z){var X=null;Ke.length===1&&Ke[0].type==="tag"&&(X=Ke[0].tag,Ke=Ke[0].body);for(var te=ka(Ke,Z,!0),pe=[],Ce=[],Ve=0;Ve<te.length;Ve++)if(Ce.push(te[Ve]),te[Ve].hasClass("mbin")||te[Ve].hasClass("mrel")||te[Ve].hasClass("allowbreak")){for(var Tt=!1;Ve<te.length-1&&te[Ve+1].hasClass("mspace")&&!te[Ve+1].hasClass("newline");)Ve++,Ce.push(te[Ve]),te[Ve].hasClass("nobreak")&&(Tt=!0);Tt||(pe.push(hs(Ce,Z)),Ce=[])}else te[Ve].hasClass("newline")&&(Ce.pop(),Ce.length>0&&(pe.push(hs(Ce,Z)),Ce=[]),pe.push(te[Ve]));Ce.length>0&&pe.push(hs(Ce,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(Ke){return new Xe(Ke)}var ta=function(){function Ke(X,te){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=X,this.attributes={},this.children=te||[]}var Z=Ke.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 Ce=0;Ce<this.children.length;Ce++)te.appendChild(this.children[Ce].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 Ce=0;Ce<this.children.length;Ce++)te+=this.children[Ce].toMarkup();return te+="</"+this.type+">",te},Z.toText=function(){return this.children.map(function(te){return te.toText()}).join("")},Ke}(),Ma=function(){function Ke(X){this.text=void 0,this.text=X}var Z=Ke.prototype;return Z.toNode=function(){return document.createTextNode(this.text)},Z.toMarkup=function(){return P.escape(this.toText())},Z.toText=function(){return this.text},Ke}(),Hs=function(){function Ke(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=Ke.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:" "},Ke}(),On={MathNode:ta,TextNode:Ma,SpaceNode:Hs,newDocumentFragment:Pa},Ra=function(Z,X,te){return Ge[X][Z]&&Ge[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=Ge[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 Ce=Z.text;if(P.contains(["\\imath","\\jmath"],Ce))return null;Ge[pe][Ce]&&Ge[pe][Ce].replace&&(Ce=Ge[pe][Ce].replace);var Ve=st.fontMap[te].fontName;return Wt(Ce,Ve,pe)?st.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 Ce=[],Ve,Tt=0;Tt<Z.length;Tt++){var $t=Ca(Z[Tt],X);if($t instanceof ta&&Ve instanceof ta){if($t.type==="mtext"&&Ve.type==="mtext"&&$t.getAttribute("mathvariant")===Ve.getAttribute("mathvariant")){var rr;(rr=Ve.children).push.apply(rr,$t.children);continue}else if($t.type==="mn"&&Ve.type==="mn"){var Ar;(Ar=Ve.children).push.apply(Ar,$t.children);continue}else if($t.type==="mi"&&$t.children.length===1&&Ve.type==="mn"){var zr=$t.children[0];if(zr instanceof Ma&&zr.text==="."){var qr;(qr=Ve.children).push.apply(qr,$t.children);continue}}else if(Ve.type==="mi"&&Ve.children.length===1){var En=Ve.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),Ce.pop())}}}Ce.push($t),Ve=$t}return Ce},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(Ke,Z,X,te){var pe=Li(Ke,X),Ce;pe.length===1&&pe[0]instanceof ta&&P.contains(["mrow","mtable"],pe[0].type)?Ce=pe[0]:Ce=new On.MathNode("mrow",pe);var Ve=new On.MathNode("annotation",[new On.TextNode(Z)]);Ve.setAttribute("encoding","application/x-tex");var Tt=new On.MathNode("semantics",[Ce,Ve]),$t=new On.MathNode("math",[Tt]);$t.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var rr=te?"katex":"katex-mathml";return st.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=st.makeSpan(te,[Z])}return Z},Co=function(Z,X,te){var pe=Ws(te),Ce;if(te.output==="mathml")return ls(Z,X,pe,!0);if(te.output==="html"){var Ve=Ao(Z,pe);Ce=st.makeSpan(["katex"],[Ve])}else{var Tt=ls(Z,X,pe,!1),$t=Ao(Z,pe);Ce=st.makeSpan(["katex"],[Tt,$t])}return bo(Ce,te)},To=function(Z,X,te){var pe=Ws(te),Ce=Ao(Z,pe),Ve=st.makeSpan(["katex"],[Ce]);return bo(Ve,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:st.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=st.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:st.makeSpan(["stretchy"],aa,X),minWidth:ss,height:es}}}var pe=te(),Ce=pe.span,Ve=pe.minWidth,Tt=pe.height;return Ce.height=Tt,Ce.style.height=Tt+"em",Ve>0&&(Ce.style.minWidth=Ve+"em"),Ce},li=function(Z,X,te,pe){var Ce,Ve=Z.height+Z.depth+2*te;if(/fbox|color/.test(X)){if(Ce=st.makeSpan(["stretchy",X],[],pe),X==="fbox"){var Tt=pe.color&&pe.getColor();Tt&&(Ce.style.borderColor=Tt)}}else{var $t=[];/^[bx]cancel$/.test(X)&&$t.push(new We({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(X)&&$t.push(new We({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var rr=new Me($t,{width:"100%",height:Ve+"em"});Ce=st.makeSvgSpan([],[rr],pe)}return Ce.height=Ve,Ce.style.height=Ve+"em",Ce},si={encloseSpan:li,mathMLnode:uo,svgSpan:xo},Fa=function(Z,X){var te,pe,Ce=Pr(Z,"supsub"),Ve;Ce?(pe=nr(Ce.base,"accent"),te=pe.base,Ce.base=te,Ve=ft(Bi(Ce,X)),Ce.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=it(zr).skew}var qr=Math.min(Tt.height,X.fontMetrics().xHeight),En;if(pe.isStretchy)En=si.svgSpan(pe,X),En=st.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=st.staticSvg("vec",X),lr=st.svgData.vec[1]):(Rn=st.makeOrd({mode:pe.mode,text:pe.label},X,"textord"),Rn=it(Rn),Rn.italic=0,lr=Rn.width),En=st.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=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tt},{type:"kern",size:-qr},{type:"elem",elem:En}]},X)}var aa=st.makeSpan(["mord","accent"],[En],X);return Ve?(Ve.children[0]=aa,Ve.height=Math.max(aa.height,Ve.height),Ve.classes[0]="mord",Ve):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(Ke){return"\\"+Ke}).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),Ce=!pe||Z.funcName==="\\widehat"||Z.funcName==="\\widetilde"||Z.funcName==="\\widecheck";return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:pe,isShifty:Ce,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,Ce=X[0];return{type:"accentUnder",mode:te.mode,label:pe,base:Ce}},htmlBuilder:function(Z,X){var te=Bi(Z.base,X),pe=si.svgSpan(Z,X),Ce=Z.label==="\\utilde"?.12:0,Ve=st.makeVList({positionType:"bottom",positionData:pe.height+Ce,children:[{type:"elem",elem:pe,wrapperClasses:["svg-align"]},{type:"kern",size:Ce},{type:"elem",elem:te}]},X);return st.makeSpan(["mord","accentunder"],[Ve],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,Ce=Z.funcName;return{type:"xArrow",mode:pe.mode,label:Ce,body:X[0],below:te[0]}},htmlBuilder:function(Z,X){var te=X.style,pe=X.havingStyle(te.sup()),Ce=st.wrapFragment(Bi(Z.body,pe,X),X);Ce.classes.push("x-arrow-pad");var Ve;Z.below&&(pe=X.havingStyle(te.sub()),Ve=st.wrapFragment(Bi(Z.below,pe,X),X),Ve.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;(Ce.depth>.25||Z.label==="\\xleftequilibrium")&&(rr-=Ce.depth);var Ar;if(Ve){var zr=-X.fontMetrics().axisHeight+Ve.height+.5*Tt.height+.111;Ar=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ce,shift:rr},{type:"elem",elem:Tt,shift:$t},{type:"elem",elem:Ve,shift:zr}]},X)}else Ar=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ce,shift:rr},{type:"elem",elem:Tt,shift:$t}]},X);return Ar.children[0].children[0].children[1].classes.push("svg-align"),st.makeSpan(["mrel","x-arrow"],[Ar],X)},mathmlBuilder:function(Z,X){var te=si.mathMLnode(Z.label),pe;if(Z.body){var Ce=Gs(Ca(Z.body,X));if(Z.below){var Ve=Gs(Ca(Z.below,X));pe=new On.MathNode("munderover",[te,Ve,Ce])}else pe=new On.MathNode("mover",[te,Ce])}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"),Ce=pe.body,Ve="",Tt=0;Tt<Ce.length;Tt++){var $t=nr(Ce[Tt],"textord");Ve+=$t.text}var rr=parseInt(Ve);if(isNaN(rr))throw new o("\\@char has non-numeric argument "+Ve);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 st.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,Ce=X[1];return{type:"color",mode:te.mode,color:pe,body:Mi(Ce)}},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,Ce=nr(X[0],"color-token").color;te.gullet.macros.set("\\current@color",Ce);var Ve=te.parseExpression(!0,pe);return{type:"color",mode:te.mode,color:Ce,body:Ve}},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,Ce=Z.funcName,Ve=te[0],Tt=Ce==="\\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:Ve&&nr(Ve,"size").value}},htmlBuilder:function(Z,X){if(Z.newRow)throw new o("\\cr valid only within a tabular/array environment");var te=st.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=Ge.math[Z]&&Ge.math[Z].replace,Ce=Wt(pe||Z,X,te);if(!Ce)throw new Error("Unsupported symbol "+Z+" and font size "+X+".");return Ce},Io=function(Z,X,te,pe){var Ce=te.havingBaseStyle(X),Ve=st.makeSpan(pe.concat(Ce.sizingClasses(te)),[Z],te),Tt=Ce.sizeMultiplier/te.sizeMultiplier;return Ve.height*=Tt,Ve.depth*=Tt,Ve.maxFontSize=Ce.sizeMultiplier,Ve},Do=function(Z,X,te){var pe=X.havingBaseStyle(te),Ce=(1-X.sizeMultiplier/pe.sizeMultiplier)*X.fontMetrics().axisHeight;Z.classes.push("delimcenter"),Z.style.top=Ce+"em",Z.height-=Ce,Z.depth+=Ce},jo=function(Z,X,te,pe,Ce,Ve){var Tt=st.makeSymbol(Z,"Main-Regular",Ce,pe),$t=Io(Tt,X,pe,Ve);return te&&Do($t,pe,X),$t},Au=function(Z,X,te,pe){return st.makeSymbol(Z,"Size"+X+"-Regular",te,pe)},Eo=function(Z,X,te,pe,Ce,Ve){var Tt=Au(Z,X,Ce,pe),$t=Io(st.makeSpan(["delimsizing","size"+X],[Tt],pe),F.TEXT,pe,Ve);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 Ce=st.makeSpan(["delimsizinginner",pe],[st.makeSpan([],[st.makeSymbol(Z,X,te)])]);return{type:"elem",elem:Ce}},Ks={type:"kern",size:-.005},Mu=function(Z,X,te,pe,Ce,Ve){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,Ce),En=qr.height+qr.depth,Rn=cs(rr,zr,Ce),lr=Rn.height+Rn.depth,Ei=cs(Ar,zr,Ce),ia=Ei.height+Ei.depth,aa=0,Xi=1;if($t!==null){var Ja=cs($t,zr,Ce);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,Ce)),$t===null)for(var Us=0;Us<bs;Us++)_i.push(Ks),_i.push(lo(rr,zr,Ce));else{for(var ms=0;ms<bs;ms++)_i.push(Ks),_i.push(lo(rr,zr,Ce));_i.push({type:"kern",size:xs}),_i.push(lo(rr,zr,Ce)),_i.push(Ks),_i.push(lo($t,zr,Ce));for(var Xo=0;Xo<bs;Xo++)_i.push(Ks),_i.push(lo(rr,zr,Ce))}_i.push({type:"kern",size:xs}),_i.push(lo(rr,zr,Ce)),_i.push(Ks),_i.push(lo(Tt,zr,Ce));var Ps=pe.havingBaseStyle(F.TEXT),_o=st.makeVList({positionType:"bottom",positionData:fs,children:_i},Ps);return Io(st.makeSpan(["delimsizing","mult"],[_o],Ps),F.TEXT,pe,Ve)},Oo=80,ko=.08,Ns=function(Z,X,te,pe,Ce){var Ve=qt(Z,pe,te),Tt=new $e(Z,Ve),$t=new Me([Tt],{width:"400em",height:X+"em",viewBox:"0 0 400000 "+te,preserveAspectRatio:"xMinYMin slice"});return st.makeSvgSpan(["hide-tail"],[$t],Ce)},du=function(Z,X){var te=X.havingBaseSizing(),pe=mr("\\surd",Z*te.sizeMultiplier,fr,te),Ce=te.sizeMultiplier,Ve=Math.max(0,X.minRuleThickness-X.fontMetrics().sqrtRuleThickness),Tt,$t=0,rr=0,Ar=0,zr;return pe.type==="small"?(Ar=1e3+1e3*Ve+Oo,Z<1?Ce=1:Z<1.4&&(Ce=.7),$t=(1+Ve+ko)/Ce,rr=(1+Ve)/Ce,Tt=Ns("sqrtMain",$t,Ar,Ve,X),Tt.style.minWidth="0.853em",zr=.833/Ce):pe.type==="large"?(Ar=(1e3+Oo)*Ds[pe.size],rr=(Ds[pe.size]+Ve)/Ce,$t=(Ds[pe.size]+Ve+ko)/Ce,Tt=Ns("sqrtSize"+pe.size,$t,Ar,Ve,X),Tt.style.minWidth="1.02em",zr=1/Ce):($t=Z+Ve+ko,rr=Z+Ve,Ar=Math.floor(1e3*Z+Ve)+Oo,Tt=Ns("sqrtTall",$t,Ar,Ve,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+Ve)*Ce}},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,Ce){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,Ce);if(P.contains(wo,Z))return Mu(Z,Ds[X],!1,te,pe,Ce);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 Ce=Math.min(2,3-pe.style.size),Ve=Ce;Ve<te.length&&te[Ve].type!=="stack";Ve++){var Tt=cs(Z,ar(te[Ve]),"math"),$t=Tt.height+Tt.depth;if(te[Ve].type==="small"){var rr=pe.havingBaseStyle(te[Ve].style);$t*=rr.sizeMultiplier}if($t>X)return te[Ve]}return te[te.length-1]},xr=function(Z,X,te,pe,Ce,Ve){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,Ce,Ve):$t.type==="large"?Eo(Z,$t.size,te,pe,Ce,Ve):Mu(Z,X,te,pe,Ce,Ve)},vn=function(Z,X,te,pe,Ce,Ve){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,Ce,Ve)},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(Ke,Z){var X=mn(Ke);if(X&&P.contains(kn,X.text))return X;throw new o("Invalid delimiter: '"+(X?X.text:JSON.stringify(Ke))+"' after '"+Z.funcName+"'",Ke)}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==="."?st.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(Ke){if(!Ke.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 Ce=pe.parseExpression(!1);--pe.leftrightDepth,pe.expect("\\right",!1);var Ve=nr(pe.parseFunction(),"leftright-right");return{type:"leftright",mode:pe.mode,body:Ce,left:te.text,right:Ve.delim,rightColor:Ve.color}},htmlBuilder:function(Z,X){or(Z);for(var te=ka(Z.body,X,!0,["mopen","mclose"]),pe=0,Ce=0,Ve=!1,Tt=0;Tt<te.length;Tt++)te[Tt].isMiddle?Ve=!0:(pe=Math.max(te[Tt].height,pe),Ce=Math.max(te[Tt].depth,Ce));pe*=X.sizeMultiplier,Ce*=X.sizeMultiplier;var $t;if(Z.left==="."?$t=Ss(X,["mopen"]):$t=xn.leftRightDelim(Z.left,pe,Ce,X,Z.mode,["mopen"]),te.unshift($t),Ve)for(var rr=1;rr<te.length;rr++){var Ar=te[rr],zr=Ar.isMiddle;zr&&(te[rr]=xn.leftRightDelim(zr.delim,pe,Ce,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,Ce,En,Z.mode,["mclose"])}return te.push(qr),st.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 Ce=new On.MathNode("mo",[Ra(Z.right,Z.mode)]);Ce.setAttribute("fence","true"),Z.rightColor&&Ce.setAttribute("mathcolor",Z.rightColor),te.push(Ce)}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 Mr=function(Z,X){var te=st.wrapFragment(Bi(Z.body,X),X),pe=Z.label.substr(1),Ce=X.sizeMultiplier,Ve,Tt=0,$t=P.isCharacterBox(Z.body);if(pe==="sout")Ve=st.makeSpan(["stretchy","sout"]),Ve.height=X.fontMetrics().defaultRuleThickness/Ce,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,Ve=si.encloseSpan(te,pe,rr,X),/fbox|boxed|fcolorbox/.test(pe)&&(Ve.style.borderStyle="solid",Ve.style.borderWidth=Ar+"em"),Tt=te.depth+rr,Z.backgroundColor&&(Ve.style.backgroundColor=Z.backgroundColor,Z.borderColor&&(Ve.style.borderColor=Z.borderColor))}var zr;return Z.backgroundColor?zr=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ve,shift:Tt},{type:"elem",elem:te,shift:0}]},X):zr=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:te,shift:0},{type:"elem",elem:Ve,shift:Tt,wrapperClasses:/cancel/.test(pe)?["svg-align"]:[]}]},X),/cancel/.test(pe)&&(zr.height=te.height,zr.depth=te.depth),/cancel/.test(pe)&&!$t?st.makeSpan(["mord","cancel-lap"],[zr],X):st.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 Ce=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness);pe.setAttribute("style","border: "+Ce+"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,Ce=Z.funcName,Ve=nr(X[0],"color-token").color,Tt=X[1];return{type:"enclose",mode:pe.mode,label:Ce,backgroundColor:Ve,body:Tt}},htmlBuilder:Mr,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,Ce=Z.funcName,Ve=nr(X[0],"color-token").color,Tt=nr(X[1],"color-token").color,$t=X[2];return{type:"enclose",mode:pe.mode,label:Ce,backgroundColor:Tt,borderColor:Ve,body:$t}},htmlBuilder:Mr,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,Ce=Z.funcName,Ve=X[0];return{type:"enclose",mode:pe.mode,label:Ce,body:Ve}},htmlBuilder:Mr,mathmlBuilder:yr});var fn={};function zn(Ke){for(var Z=Ke.type,X=Ke.names,te=Ke.props,pe=Ke.handler,Ce=Ke.htmlBuilder,Ve=Ke.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;Ce&&(Ci[Z]=Ce),Ve&&(fi[Z]=Ve)}function dt(Ke){var Z=[];Ke.consumeSpaces();for(var X=Ke.fetch().text;X==="\\hline"||X==="\\hdashline";)Ke.consume(),Z.push(X==="\\hdashline"),Ke.consumeSpaces(),X=Ke.fetch().text;return Z}function Cn(Ke,Z,X){var te=Z.hskipBeforeAndAfter,pe=Z.addJot,Ce=Z.cols,Ve=Z.arraystretch,Tt=Z.colSeparationType;if(Ke.gullet.beginGroup(),Ke.gullet.macros.set("\\\\","\\cr"),!Ve){var $t=Ke.gullet.expandMacroAsText("\\arraystretch");if($t==null)Ve=1;else if(Ve=parseFloat($t),!Ve||Ve<0)throw new o("Invalid \\arraystretch: "+$t)}Ke.gullet.beginGroup();var rr=[],Ar=[rr],zr=[],qr=[];for(qr.push(dt(Ke));;){var En=Ke.parseExpression(!1,"\\cr");Ke.gullet.endGroup(),Ke.gullet.beginGroup(),En={type:"ordgroup",mode:Ke.mode,body:En},X&&(En={type:"styling",mode:Ke.mode,style:X,body:[En]}),rr.push(En);var Rn=Ke.fetch().text;if(Rn==="&")Ke.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(Ke.parseFunction(),"cr");zr.push(lr.size),qr.push(dt(Ke)),rr=[],Ar.push(rr)}else throw new o("Expected & or \\\\ or \\cr or \\end",Ke.nextToken)}return Ke.gullet.endGroup(),Ke.gullet.endGroup(),{type:"array",mode:Ke.mode,addJot:pe,arraystretch:Ve,body:Ar,cols:Ce,rowGaps:zr,hskipBeforeAndAfter:te,hLinesBeforeRow:qr,colSeparationType:Tt}}function Hn(Ke){return Ke.substr(0,1)==="d"?"display":"text"}var oi=function(Z,X){var te,pe,Ce=Z.body.length,Ve=Z.hLinesBeforeRow,Tt=0,$t=new Array(Ce),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(Ve[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(Ve[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=st.makeSpan(["arraycolsep"],[]),Ps.style.width=X.fontMetrics().doubleRuleSep+"em",Xo.push(Ps)),qs.separator==="|"||qs.separator===":"){var Fu=qs.separator==="|"?"solid":"dashed",Bo=st.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=st.makeSpan(["arraycolsep"],[]),Ps.style.width=ru+"em",Xo.push(Ps)));var ks=[];for(te=0;te<Ce;++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=st.makeVList({positionType:"individualShift",children:ks},X),ks=st.makeSpan(["col-align-"+(qs.align||"c")],[ks]),Xo.push(ks),(pe<Tt-1||Z.hskipBeforeAndAfter)&&(ru=P.deflt(qs.postgap,qr),ru!==0&&(Ps=st.makeSpan(["arraycolsep"],[]),Ps.style.width=ru+"em",Xo.push(Ps)))}}if($t=st.makeSpan(["mtable"],Xo),rr.length>0){for(var gl=st.makeLineSpan("hline",X,Ar),yl=st.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=st.makeVList({positionType:"individualShift",children:Uo},X)}return st.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 Ce="",Ve="";if(Z.cols){var Tt=Z.cols,$t="",rr=!1,Ar=0,zr=Tt.length;Tt[0].type==="separator"&&(Ce+="top ",Ar=1),Tt[Tt.length-1].type==="separator"&&(Ce+="bottom ",zr-=1);for(var qr=Ar;qr<zr;qr++)Tt[qr].type==="align"?(Ve+=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",Ve.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;Ce+=ia[0].length>0?"left ":"",Ce+=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()),Ce!==""&&(te=new On.MathNode("menclose",[te]),te.setAttribute("notation",Ce.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"),Ce,Ve=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}Ce=Number(rr),Ve=Ce*2}var qr=!Ve;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)Ve<Ei.length&&(Ve=Ei.length);else{var Ja=Ei.length/2;if(Ce<Ja)throw new o("Too many math in a row: "+("expected "+Ce+", but got "+Ja),Ei[0])}});for(var En=0;En<Ve;++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,Ce=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)}),Ve={cols:Ce,hskipBeforeAndAfter:!0};return Cn(Z.parser,Ve,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,Ce=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(Ce.length>1)throw new o("{subarray} can contain only one column");var Ve={cols:Ce,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ve=Cn(Z.parser,Ve,"script"),Ve.body[0].length>1)throw new o("{subarray} can contain only one column");return Ve},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,Ce=X[0];if(Ce.type!=="ordgroup")throw new o("Invalid environment name",Ce);for(var Ve="",Tt=0;Tt<Ce.body.length;++Tt)Ve+=nr(Ce.body[Tt],"textord").text;if(pe==="\\begin"){if(!Ti.hasOwnProperty(Ve))throw new o("No such environment: "+Ve,Ce);var $t=Ti[Ve],rr=te.parseArguments("\\begin{"+Ve+"}",$t),Ar=rr.args,zr=rr.optArgs,qr={mode:te.mode,envName:Ve,parser:te},En=$t.handler(qr,Ar,zr);te.expect("\\end",!1);var Rn=te.nextToken,lr=nr(te.parseFunction(),"environment");if(lr.name!==Ve)throw new o("Mismatch: \\begin{"+Ve+"} matched by \\end{"+lr.name+"}",Rn);return En}return{type:"environment",mode:te.mode,name:Ve,nameGroup:Ce}}});var ra=st.makeSpan;function Ts(Ke,Z){var X=ka(Ke.body,Z,!0);return ra([Ke.mclass],X,Z)}function ui(Ke,Z){var X,te=Li(Ke.body,Z);return Ke.mclass==="minner"?On.newDocumentFragment(te):(Ke.mclass==="mord"?Ke.isCharacterBox?(X=te[0],X.type="mi"):X=new On.MathNode("mi",te):(Ke.isCharacterBox?(X=te[0],X.type="mo"):X=new On.MathNode("mo",te),Ke.mclass==="mbin"?(X.attributes.lspace="0.22em",X.attributes.rspace="0.22em"):Ke.mclass==="mpunct"?(X.attributes.lspace="0em",X.attributes.rspace="0.17em"):(Ke.mclass==="mopen"||Ke.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,Ce=X[0];return{type:"mclass",mode:te.mode,mclass:"m"+pe.substr(5),body:Mi(Ce),isCharacterBox:P.isCharacterBox(Ce)}},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,Ce=X[1],Ve=X[0],Tt;pe!=="\\stackrel"?Tt=$s(Ce):Tt="mrel";var $t={type:"op",mode:Ce.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:pe!=="\\stackrel",body:Mi(Ce)},rr={type:"supsub",mode:Ve.mode,base:$t,sup:pe==="\\underset"?null:Ve,sub:pe==="\\underset"?Ve: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,Ce=X[0],Ve=pe;return Ve in ha&&(Ve=ha[Ve]),{type:"font",mode:te.mode,font:Ve.slice(1),body:Ce}},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],Ce=P.isCharacterBox(pe);return{type:"mclass",mode:te.mode,mclass:$s(pe),body:[{type:"font",mode:te.mode,font:"boldsymbol",body:pe}],isCharacterBox:Ce}}}),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,Ce=Z.breakOnTokenText,Ve=te.mode,Tt=te.parseExpression(!0,Ce),$t="math"+pe.slice(1);return{type:"font",mode:Ve,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(),Ce=te.fracDen(),Ve;Ve=X.havingStyle(pe);var Tt=Bi(Z.numer,Ve,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}Ve=X.havingStyle(Ce);var Ar=Bi(Z.denom,Ve,X),zr,qr,En;Z.hasBarLine?(Z.barSize?(qr=di(Z.barSize,X),zr=st.makeLineSpan("frac-line",X,qr)):zr=st.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=st.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=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ar,shift:Ei},{type:"elem",elem:Tt,shift:-Rn}]},X)}Ve=X.havingStyle(te),ia.height*=Ve.sizeMultiplier/X.sizeMultiplier,ia.depth*=Ve.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=st.makeSpan([]):Z.rightDelim==null?es=Ss(X,["mclose"]):es=xn.customSizedDelim(Z.rightDelim,ss,!0,X.havingStyle(te),Z.mode,["mclose"]),st.makeSpan(["mord"].concat(Ve.sizingClasses(X)),[bs,st.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 Ce=Na(Z.size,X.style);if(Ce.size!==X.style.size){te=new On.MathNode("mstyle",[te]);var Ve=Ce.size===F.DISPLAY.size?"true":"false";te.setAttribute("displaystyle",Ve),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,Ce=X[0],Ve=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:Ce,denom:Ve,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,Ce;switch(te){case"\\over":Ce="\\frac";break;case"\\choose":Ce="\\binom";break;case"\\atop":Ce="\\\\atopfrac";break;case"\\brace":Ce="\\\\bracefrac";break;case"\\brack":Ce="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:X.mode,replaceWith:Ce,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],Ce=X[5],Ve=Pr(X[0],"atom");Ve&&(Ve=br(X[0],"open"));var Tt=Ve?Ms(Ve.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:Ce,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,Ce=Z.token;return{type:"infix",mode:te.mode,replaceWith:"\\\\abovefrac",size:nr(X[0],"size").value,token:Ce}}}),hn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(Z,X){var te=Z.parser,pe=Z.funcName,Ce=X[0],Ve=R(nr(X[1],"infix").size),Tt=X[2],$t=Ve.number>0;return{type:"genfrac",mode:te.mode,numer:Ce,denom:Tt,continued:!1,hasBarLine:$t,barSize:Ve,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ps,mathmlBuilder:Ln});var Ye=function(Z,X){var te=X.style,pe,Ce,Ve=Pr(Z,"supsub");Ve?(pe=Ve.sup?Bi(Ve.sup,X.havingStyle(te.sup()),X):Bi(Ve.sub,X.havingStyle(te.sub()),X),Ce=nr(Ve.base,"horizBrace")):Ce=nr(Z,"horizBrace");var Tt=Bi(Ce.base,X.havingBaseStyle(F.DISPLAY)),$t=si.svgSpan(Ce,X),rr;if(Ce.isOver?(rr=st.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=st.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=st.makeSpan(["mord",Ce.isOver?"mover":"munder"],[rr],X);Ce.isOver?rr=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ar},{type:"kern",size:.2},{type:"elem",elem:pe}]},X):rr=st.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 st.makeSpan(["mord",Ce.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],Ce=nr(X[0],"url").url;return te.settings.isTrusted({command:"\\href",url:Ce})?{type:"href",mode:te.mode,href:Ce,body:Mi(pe)}:te.formatUnsupportedCmd("\\href")},htmlBuilder:function(Z,X){var te=ka(Z.body,X,!1);return st.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 Ce=[],Ve=0;Ve<pe.length;Ve++){var Tt=pe[Ve];Tt==="~"&&(Tt="\\textasciitilde"),Ce.push({type:"textord",mode:"text",text:Tt})}var $t={type:"text",mode:te.mode,font:"\\texttt",body:Ce};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 st.makeFragment(te)},mathmlBuilder:function(Z,X){return Da(Z.mathml,X)}});var Lt=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,Ce={number:0,unit:"em"},Ve={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":Ce=Lt(En);break;case"height":Ve=Lt(En);break;case"totalheight":Tt=Lt(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:Ce,height:Ve,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 Ce=0;Z.width.number>0&&(Ce=di(Z.width,X));var Ve={height:te+pe+"em"};Ce>0&&(Ve.width=Ce+"em"),pe>0&&(Ve.verticalAlign=-pe+"em");var Tt=new ze(Z.src,Z.alt,Ve);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),Ce=0;if(Z.totalheight.number>0&&(Ce=di(Z.totalheight,X)-pe,Ce=Ce.toFixed(2),te.setAttribute("valign","-"+Ce+"em")),te.setAttribute("height",pe+Ce+"em"),Z.width.number>0){var Ve=di(Z.width,X);te.setAttribute("width",Ve+"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,Ce=nr(X[0],"size");if(te.settings.strict){var Ve=pe[1]==="m",Tt=Ce.value.unit==="mu";Ve?(Tt||te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+pe+" supports only mu units, "+("not "+Ce.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:Ce.value}},htmlBuilder:function(Z,X){return st.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,Ce=X[0];return{type:"lap",mode:te.mode,alignment:pe.slice(5),body:Ce}},htmlBuilder:function(Z,X){var te;Z.alignment==="clap"?(te=st.makeSpan([],[Bi(Z.body,X)]),te=st.makeSpan(["inner"],[te],X)):te=st.makeSpan(["inner"],[Bi(Z.body,X)]);var pe=st.makeSpan(["fix"],[]),Ce=st.makeSpan([Z.alignment],[te,pe],X),Ve=st.makeSpan(["strut"]);return Ve.style.height=Ce.height+Ce.depth+"em",Ve.style.verticalAlign=-Ce.depth+"em",Ce.children.unshift(Ve),Ce=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ce}]},X),st.makeSpan(["mord"],[Ce],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,Ce=pe.mode;pe.switchMode("math");var Ve=te==="\\("?"\\)":"$",Tt=pe.parseExpression(!1,Ve);return pe.expect(Ve),pe.switchMode(Ce),{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 Gt=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=Gt(Z,X),pe=ka(te,X,!1);return st.makeFragment(pe)},mathmlBuilder:function(Z,X){var te=Gt(Z,X);return Da(te,X)}});var dr=function(Z,X,te,pe,Ce,Ve,Tt){Z=st.makeSpan([],[Z]);var $t,rr;if(X){var Ar=Bi(X,pe.havingStyle(Ce.sup()),pe);rr={elem:Ar,kern:Math.max(pe.fontMetrics().bigOpSpacing1,pe.fontMetrics().bigOpSpacing3-Ar.depth)}}if(te){var zr=Bi(te,pe.havingStyle(Ce.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=st.makeVList({positionType:"bottom",positionData:En,children:[{type:"kern",size:pe.fontMetrics().bigOpSpacing5},{type:"elem",elem:$t.elem,marginLeft:-Ve+"em"},{type:"kern",size:$t.kern},{type:"elem",elem:Z},{type:"kern",size:rr.kern},{type:"elem",elem:rr.elem,marginLeft:Ve+"em"},{type:"kern",size:pe.fontMetrics().bigOpSpacing5}]},pe)}else if($t){var Rn=Z.height-Tt;qr=st.makeVList({positionType:"top",positionData:Rn,children:[{type:"kern",size:pe.fontMetrics().bigOpSpacing5},{type:"elem",elem:$t.elem,marginLeft:-Ve+"em"},{type:"kern",size:$t.kern},{type:"elem",elem:Z}]},pe)}else if(rr){var lr=Z.depth+Tt;qr=st.makeVList({positionType:"bottom",positionData:lr,children:[{type:"elem",elem:Z},{type:"kern",size:rr.kern},{type:"elem",elem:rr.elem,marginLeft:Ve+"em"},{type:"kern",size:pe.fontMetrics().bigOpSpacing5}]},pe)}else return Z;return st.makeSpan(["mop","op-limits"],[qr],pe)},Rr=["\\smallint"],jr=function(Z,X){var te,pe,Ce=!1,Ve,Tt=Pr(Z,"supsub");Tt?(te=Tt.sup,pe=Tt.sub,Ve=nr(Tt.base,"op"),Ce=!0):Ve=nr(Z,"op");var $t=X.style,rr=!1;$t.size===F.DISPLAY.size&&Ve.symbol&&!P.contains(Rr,Ve.name)&&(rr=!0);var Ar;if(Ve.symbol){var zr=rr?"Size2-Regular":"Size1-Regular",qr="";if((Ve.name==="\\oiint"||Ve.name==="\\oiiint")&&(qr=Ve.name.substr(1),Ve.name=qr==="oiint"?"\\iint":"\\iiint"),Ar=st.makeSymbol(Ve.name,zr,"math",X,["mop","op-symbol",rr?"large-op":"small-op"]),qr.length>0){var En=Ar.italic,Rn=st.staticSvg(qr+"Size"+(rr?"2":"1"),X);Ar=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ar,shift:0},{type:"elem",elem:Rn,shift:rr?.08:0}]},X),Ve.name="\\"+qr,Ar.classes.unshift("mop"),Ar.italic=En}}else if(Ve.body){var lr=ka(Ve.body,X,!0);lr.length===1&&lr[0]instanceof Te?(Ar=lr[0],Ar.classes[0]="mop"):Ar=st.makeSpan(["mop"],st.tryCombineChars(lr),X)}else{for(var Ei=[],ia=1;ia<Ve.name.length;ia++)Ei.push(st.mathsym(Ve.name[ia],Ve.mode,X));Ar=st.makeSpan(["mop"],Ei,X)}var aa=0,Xi=0;return(Ar instanceof Te||Ve.name==="\\oiint"||Ve.name==="\\oiiint")&&!Ve.suppressBaseShift&&(aa=(Ar.height-Ar.depth)/2-X.fontMetrics().axisHeight,Xi=Ar.italic),Ce?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(Rr,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,Ce=pe;return Ce.length===1&&(Ce=en[Ce]),{type:"op",mode:te.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Ce}},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,Ce=!1,Ve,Tt=Pr(Z,"supsub");Tt?(te=Tt.sup,pe=Tt.sub,Ve=nr(Tt.base,"operatorname"),Ce=!0):Ve=nr(Z,"operatorname");var $t;if(Ve.body.length>0){for(var rr=Ve.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 Te&&(qr.text=qr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}$t=st.makeSpan(["mop"],Ar,X)}else $t=st.makeSpan(["mop"],[],X);return Ce?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,Ce=0;Ce<te.length;Ce++){var Ve=te[Ce];if(!(Ve instanceof On.SpaceNode))if(Ve instanceof On.MathNode)switch(Ve.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Tt=Ve.children[0];Ve.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,Ce=X[0];return{type:"operatorname",mode:te.mode,body:Mi(Ce),alwaysHandleSupSub:pe==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Wn,mathmlBuilder:ti}),ai({type:"ordgroup",htmlBuilder:function(Z,X){return Z.semisimple?st.makeFragment(ka(Z.body,X,!1)):st.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=st.makeLineSpan("overline-line",X),Ce=X.fontMetrics().defaultRuleThickness,Ve=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te},{type:"kern",size:3*Ce},{type:"elem",elem:pe},{type:"kern",size:Ce}]},X);return st.makeSpan(["mord","overline"],[Ve],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 st.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=st.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=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te}]},X),st.makeSpan(["mord"],[te],X)},mathmlBuilder:function(Z,X){var te=Li(Mi(Z.body),X),pe=new On.MathNode("mphantom",te),Ce=new On.MathNode("mpadded",[pe]);return Ce.setAttribute("height","0px"),Ce.setAttribute("depth","0px"),Ce}}),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=st.makeSpan(["inner"],[Bi(Z.body,X.withPhantom())]),pe=st.makeSpan(["fix"],[]);return st.makeSpan(["mord","rlap"],[te,pe],X)},mathmlBuilder:function(Z,X){var te=Li(Mi(Z.body),X),pe=new On.MathNode("mphantom",te),Ce=new On.MathNode("mpadded",[pe]);return Ce.setAttribute("width","0px"),Ce}}),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,Ce=X[1];return{type:"raisebox",mode:te.mode,dy:pe,body:Ce}},htmlBuilder:function(Z,X){var te=Bi(Z.body,X),pe=di(Z.dy,X);return st.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,Ce=te[0],Ve=nr(X[0],"size"),Tt=nr(X[1],"size");return{type:"rule",mode:pe.mode,shift:Ce&&nr(Ce,"size").value,width:Ve.value,height:Tt.value}},htmlBuilder:function(Z,X){var te=st.makeSpan(["mord","rule"],[],X),pe=di(Z.width,X),Ce=di(Z.height,X),Ve=Z.shift?di(Z.shift,X):0;return te.style.borderRightWidth=pe+"em",te.style.borderTopWidth=Ce+"em",te.style.bottom=Ve+"em",te.width=pe,te.height=Ce+Ve,te.depth=-Ve,te.maxFontSize=Ce*1.125*X.sizeMultiplier,te},mathmlBuilder:function(Z,X){var te=di(Z.width,X),pe=di(Z.height,X),Ce=Z.shift?di(Z.shift,X):0,Ve=X.color&&X.getColor()||"black",Tt=new On.MathNode("mspace");Tt.setAttribute("mathbackground",Ve),Tt.setAttribute("width",te+"em"),Tt.setAttribute("height",pe+"em");var $t=new On.MathNode("mpadded",[Tt]);return Ce>=0?$t.setAttribute("height","+"+Ce+"em"):($t.setAttribute("height",Ce+"em"),$t.setAttribute("depth","+"+-Ce+"em")),$t.setAttribute("voffset",Ce+"em"),$t}});function gi(Ke,Z,X){for(var te=ka(Ke,Z,!1),pe=Z.sizeMultiplier/X.sizeMultiplier,Ce=0;Ce<te.length;Ce++){var Ve=te[Ce].classes.indexOf("sizing");Ve<0?Array.prototype.push.apply(te[Ce].classes,Z.sizingClasses(X)):te[Ce].classes[Ve+1]==="reset-size"+Z.size&&(te[Ce].classes[Ve+1]="reset-size"+X.size),te[Ce].height*=pe,te[Ce].depth*=pe}return st.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,Ce=Z.parser,Ve=Ce.parseExpression(!1,te);return{type:"sizing",mode:Ce.mode,size:wi.indexOf(pe)+1,body:Ve}},htmlBuilder:Ni,mathmlBuilder:function(Z,X){var te=X.havingSize(Z.size),pe=Li(Z.body,te),Ce=new On.MathNode("mstyle",pe);return Ce.setAttribute("mathsize",te.sizeMultiplier+"em"),Ce}}),hn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(Z,X,te){var pe=Z.parser,Ce=!1,Ve=!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")Ce=!0;else if($t==="b")Ve=!0;else{Ce=!1,Ve=!1;break}}else Ce=!0,Ve=!0;var zr=X[0];return{type:"smash",mode:pe.mode,body:zr,smashHeight:Ce,smashDepth:Ve}},htmlBuilder:function(Z,X){var te=st.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 Ce=0;Ce<te.children.length;Ce++)te.children[Ce].depth=0;var Ve=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te}]},X);return st.makeSpan(["mord"],[Ve],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,Ce=te[0],Ve=X[0];return{type:"sqrt",mode:pe.mode,body:Ve,index:Ce}},htmlBuilder:function(Z,X){var te=Bi(Z.body,X.havingCrampedStyle());te.height===0&&(te.height=X.fontMetrics().xHeight),te=st.wrapFragment(te,X);var pe=X.fontMetrics(),Ce=pe.defaultRuleThickness,Ve=Ce;X.style.id<F.TEXT.id&&(Ve=X.fontMetrics().xHeight);var Tt=Ce+Ve/4,$t=te.height+te.depth+Tt+Ce,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=st.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=st.makeVList({positionType:"shift",positionData:-aa,children:[{type:"elem",elem:ia}]},X),Ja=st.makeSpan(["root"],[Xi]);return st.makeSpan(["mord","sqrt"],[Ja,lr],X)}else return st.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,Ce=Z.parser,Ve=Ce.parseExpression(!0,te),Tt=pe.slice(1,pe.length-5);return{type:"styling",mode:Ce.mode,style:Tt,body:Ve}},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),Ce=Li(Z.body,pe),Ve=new On.MathNode("mstyle",Ce),Tt={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},$t=Tt[Z.style];return Ve.setAttribute("scriptlevel",$t[0]),Ve.setAttribute("displaystyle",$t[1]),Ve}});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 Ce=te.alwaysHandleSupSub&&(X.style.size===F.DISPLAY.size||te.limits);return Ce?Wn:null}else{if(te.type==="accent")return P.isCharacterBox(te.base)?Fa:null;if(te.type==="horizBrace"){var Ve=!Z.sub;return Ve===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,Ce=Z.sup,Ve=Z.sub,Tt=Bi(pe,X),$t,rr,Ar=X.fontMetrics(),zr=0,qr=0,En=pe&&P.isCharacterBox(pe);if(Ce){var Rn=X.havingStyle(X.style.sup());$t=Bi(Ce,Rn,X),En||(zr=Tt.height-Rn.fontMetrics().supDrop*Rn.sizeMultiplier/X.sizeMultiplier)}if(Ve){var lr=X.havingStyle(X.style.sub());rr=Bi(Ve,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 Te||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=st.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=st.makeVList({positionType:"shift",positionData:qr,children:xs},X)}else if($t)zr=Math.max(zr,Ei,$t.depth+.25*Ar.xHeight),ss=st.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 st.makeSpan([_i],[Tt,st.makeSpan(["msupsub"],[ss])],X)},mathmlBuilder:function(Z,X){var te=!1,pe,Ce,Ve=Pr(Z.base,"horizBrace");Ve&&(Ce=!!Z.sup,Ce===Ve.isOver&&(te=!0,pe=Ve.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 st.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 st.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 st.makeOrd(Z,X,"textord")},mathmlBuilder:function(Z,X){var te=Ra(Z.text,Z.mode,X),pe=as(Z,X)||"normal",Ce;return Z.mode==="text"?Ce=new On.MathNode("mtext",[te]):/[0-9]/.test(Z.text)?Ce=new On.MathNode("mn",[te]):Z.text==="\\prime"?Ce=new On.MathNode("mo",[te]):Ce=new On.MathNode("mi",[te]),pe!==pa[Ce.type]&&Ce.setAttribute("mathvariant",pe),Ce}});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=st.makeOrd(Z,X,"textord");return pe.classes.push(te),pe}else return st.makeSpan(["mspace",te],[st.mathsym(Z.text,Z.mode,X)],X)}else{if(Pi.hasOwnProperty(Z.text))return st.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,Ce=X[0];return{type:"text",mode:te.mode,body:Mi(Ce),font:pe}},htmlBuilder:function(Z,X){var te=Oa(Z,X),pe=ka(Z.body,te,!0);return st.makeSpan(["mord","text"],st.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=st.makeLineSpan("underline-line",X),Ce=X.fontMetrics().defaultRuleThickness,Ve=st.makeVList({positionType:"top",positionData:te.height,children:[{type:"kern",size:Ce},{type:"elem",elem:pe},{type:"kern",size:3*Ce},{type:"elem",elem:te}]},X);return st.makeSpan(["mord","underline"],[Ve],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=[],Ce=X.havingStyle(X.style.text()),Ve=0;Ve<te.length;Ve++){var Tt=te[Ve];Tt==="~"&&(Tt="\\textasciitilde"),pe.push(st.makeSymbol(Tt,"Typewriter-Regular",Z.mode,Ce,["mord","texttt"]))}return st.makeSpan(["mord","text"].concat(Ce.sizingClasses(X)),st.tryCombineChars(pe),Ce)},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 Ke(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=Ke.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 Ce=this.tokenRegex.exec(te);if(Ce===null||Ce.index!==pe)throw new o("Unexpected character: '"+te[pe]+"'",new c(te[pe],new l(this,pe,pe+1)));var Ve=Ce[2]||" ";if(this.catcodes[Ve]===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=Ve.match(co);return $t&&(Ve=$t[1]),new c(Ve,new l(this,pe,this.tokenRegex.lastIndex))},Ke}(),ja=function(){function Ke(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=Ke.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,Ce){if(Ce===void 0&&(Ce=!1),Ce){for(var Ve=0;Ve<this.undefStack.length;Ve++)delete this.undefStack[Ve][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},Ke}(),ys={},Hi=ys;function be(Ke,Z){ys[Ke]=Z}be("\\@firstoftwo",function(Ke){var Z=Ke.consumeArgs(2);return{tokens:Z[0],numArgs:0}}),be("\\@secondoftwo",function(Ke){var Z=Ke.consumeArgs(2);return{tokens:Z[1],numArgs:0}}),be("\\@ifnextchar",function(Ke){var Z=Ke.consumeArgs(3),X=Ke.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(Ke){var Z=Ke.consumeArgs(2);return Ke.mode==="text"?{tokens:Z[0],numArgs:0}:{tokens:Z[1],numArgs:0}});var Ae={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(Ke){var Z=Ke.popToken(),X,te="";if(Z.text==="'")X=8,Z=Ke.popToken();else if(Z.text==='"')X=16,Z=Ke.popToken();else if(Z.text==="`")if(Z=Ke.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=Ae[Z.text],te==null||te>=X)throw new o("Invalid base-"+X+" digit "+Z.text);for(var pe;(pe=Ae[Ke.future().text])!=null&&pe<X;)te*=X,te+=pe,Ke.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,Ce=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(Ce++,parseInt(te[0].text)!==Ce)throw new o('Argument number "'+te[0].text+'" out of order');te=Z.consumeArgs(1)[0]}return Z.macros.set(pe,{tokens:te,numArgs:Ce},X),""};be("\\gdef",function(Ke){return wr(Ke,!0)}),be("\\def",function(Ke){return wr(Ke,!1)}),be("\\global",function(Ke){var Z=Ke.consumeArgs(1)[0];if(Z.length!==1)throw new o("Invalid command after \\global");var X=Z[0].text;if(X==="\\def")return wr(Ke,!0);throw new o("Invalid command '"+X+"' after \\global")});var Xr=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 Ce=pe[0].text,Ve=Z.isDefined(Ce);if(Ve&&!X)throw new o("\\newcommand{"+Ce+"} attempting to redefine "+(Ce+"; use \\renewcommand"));if(!Ve&&!te)throw new o("\\renewcommand{"+Ce+"} when command "+Ce+" 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(Ce,{tokens:pe,numArgs:Tt}),""};be("\\newcommand",function(Ke){return Xr(Ke,!1,!0)}),be("\\renewcommand",function(Ke){return Xr(Ke,!0,!1)}),be("\\providecommand",function(Ke){return Xr(Ke,!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(Ke){var Z="\\dotso",X=Ke.expandAfterFuture().text;return X in gr?Z=gr[X]:(X.substr(0,4)==="\\not"||X in Ge.math&&P.contains(["bin","rel"],Ge.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(Ke){var Z=Ke.future().text;return Z in Yr?"\\ldots\\,":"\\ldots"}),be("\\dotsc",function(Ke){var Z=Ke.future().text;return Z in Yr&&Z!==","?"\\ldots\\,":"\\ldots"}),be("\\cdots",function(Ke){var Z=Ke.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(Ke){if(Ke.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=Vt["Main-Regular"][84][1]-.7*Vt["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 Ke(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=Ke.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=[],Ce=0;Ce<te;++Ce){this.consumeSpaces();var Ve=this.popToken();if(Ve.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",Ve)}Tt.pop(),Tt.reverse(),pe[Ce]=Tt}else{if(Ve.text==="EOF")throw new o("End of input expecting macro argument");pe[Ce]=[Ve]}}return pe},Z.expandOnce=function(){var te=this.popToken(),pe=te.text,Ce=this._getExpansion(pe);if(Ce==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 Ve=Ce.tokens;if(Ce.numArgs){var Tt=this.consumeArgs(Ce.numArgs);Ve=Ve.slice();for(var $t=Ve.length-1;$t>=0;--$t){var rr=Ve[$t];if(rr.text==="#"){if($t===0)throw new o("Incomplete placeholder at end of macro body",rr);if(rr=Ve[--$t],rr.text==="#")Ve.splice($t+1,1);else if(/^[1-9]$/.test(rr.text)){var Ar;(Ar=Ve).splice.apply(Ar,[$t,2].concat(Tt[+rr.text-1]))}else throw new o("Not a valid argument number",rr)}}}return this.pushTokens(Ve),Ve},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=[],Ce=this.stack.length;for(this.pushToken(new c(te));this.stack.length>Ce;){var Ve=this.expandOnce();Ve instanceof c&&pe.push(this.stack.pop())}return pe}},Z.expandMacroAsText=function(te){var pe=this.expandMacro(te);return pe&&pe.map(function(Ce){return Ce.text}).join("")},Z._getExpansion=function(te){var pe=this.macros.get(te);if(pe==null)return pe;var Ce=typeof pe=="function"?pe(this):pe;if(typeof Ce=="string"){var Ve=0;if(Ce.indexOf("#")!==-1)for(var Tt=Ce.replace(/##/g,"");Tt.indexOf("#"+(Ve+1))!==-1;)++Ve;for(var $t=new na(Ce,this.settings),rr=[],Ar=$t.lex();Ar.text!=="EOF";)rr.push(Ar),Ar=$t.lex();rr.reverse();var zr={tokens:rr,numArgs:Ve};return zr}return Ce},Z.isDefined=function(te){return this.macros.has(te)||ya.hasOwnProperty(te)||Ge.math.hasOwnProperty(te)||Ge.text.hasOwnProperty(te)||ei.hasOwnProperty(te)},Ke}(),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 Ke(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=Ke.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 Ce=[];;){this.mode==="math"&&this.consumeSpaces();var Ve=this.fetch();if(Ke.endOfExpression.indexOf(Ve.text)!==-1||pe&&Ve.text===pe||te&&ya[Ve.text]&&ya[Ve.text].infix)break;var Tt=this.parseAtom(pe);if(!Tt)break;Ce.push(Tt)}return this.mode==="text"&&this.formLigatures(Ce),this.handleInfixNodes(Ce)},Z.handleInfixNodes=function(te){for(var pe=-1,Ce,Ve=0;Ve<te.length;Ve++){var Tt=Pr(te[Ve],"infix");if(Tt){if(pe!==-1)throw new o("only one infix operator per group",Tt.token);pe=Ve,Ce=Tt.replaceWith}}if(pe!==-1&&Ce){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 Ce==="\\\\abovefrac"?qr=this.callFunction(Ce,[$t,te[pe],rr],[]):qr=this.callFunction(Ce,[$t,rr],[]),[qr]}else return te},Z.handleSupSubscript=function(te){var pe=this.fetch(),Ce=pe.text;this.consume();var Ve=this.parseGroup(te,!1,Ke.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ve)throw new o("Expected group after '"+Ce+"'",pe);return Ve},Z.formatUnsupportedCmd=function(te){for(var pe=[],Ce=0;Ce<te.length;Ce++)pe.push({type:"textord",mode:"text",text:te[Ce]});var Ve={type:"text",mode:this.mode,body:pe},Tt={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ve]};return Tt},Z.parseAtom=function(te){var pe=this.parseGroup("atom",!1,null,te);if(this.mode==="text")return pe;for(var Ce,Ve;;){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(Ce)throw new o("Double superscript",Tt);Ce=this.handleSupSubscript("superscript")}else if(Tt.text==="_"){if(Ve)throw new o("Double subscript",Tt);Ve=this.handleSupSubscript("subscript")}else if(Tt.text==="'"){if(Ce)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")),Ce={type:"ordgroup",mode:this.mode,body:qr}}else break}return Ce||Ve?{type:"supsub",mode:this.mode,base:pe,sup:Ce,sub:Ve}:pe},Z.parseFunction=function(te,pe,Ce){var Ve=this.fetch(),Tt=Ve.text,$t=ya[Tt];if(!$t)return null;if(this.consume(),Ce!=null&&$t.greediness<=Ce)throw new o("Got function '"+Tt+"' with no arguments"+(pe?" as "+pe:""),Ve);if(this.mode==="text"&&!$t.allowedInText)throw new o("Can't use function '"+Tt+"' in text mode",Ve);if(this.mode==="math"&&$t.allowedInMath===!1)throw new o("Can't use function '"+Tt+"' in math mode",Ve);var rr=this.parseArguments(Tt,$t),Ar=rr.args,zr=rr.optArgs;return this.callFunction(Tt,Ar,zr,Ve,te)},Z.callFunction=function(te,pe,Ce,Ve,Tt){var $t={funcName:te,parser:this,token:Ve,breakOnTokenText:Tt},rr=ya[te];if(rr&&rr.handler)return rr.handler($t,pe,Ce);throw new o("No function handler for "+te)},Z.parseArguments=function(te,pe){var Ce=pe.numArgs+pe.numOptionalArgs;if(Ce===0)return{args:[],optArgs:[]};for(var Ve=pe.greediness,Tt=[],$t=[],rr=0;rr<Ce;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,Ve,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,Ce,Ve,Tt){switch(pe){case"color":return Tt&&this.consumeSpaces(),this.parseColorGroup(Ce);case"size":return Tt&&this.consumeSpaces(),this.parseSizeGroup(Ce);case"url":return this.parseUrlGroup(Ce,Tt);case"math":case"text":return this.parseGroup(te,Ce,Ve,void 0,pe,Tt);case"hbox":{var $t=this.parseGroup(te,Ce,Ve,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(),Ce&&this.fetch().text==="{")return null;var Ar=this.parseStringGroup("raw",Ce,!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,Ce,Ve,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,Ce){var Ve=pe?"[":"{",Tt=pe?"]":"}",$t=this.fetch();if($t.text!==Ve){if(pe)return null;if(Ce&&$t.text!=="EOF"&&/[^{}[\]]/.test($t.text))return this.consume(),$t}var rr=this.mode;this.mode="text",this.expect(Ve);for(var Ar="",zr=this.fetch(),qr=0,En=zr,Rn;(Rn=this.fetch()).text!==Tt||Ce&&qr>0;){switch(Rn.text){case"EOF":throw new o("Unexpected end of input in "+te,zr.range(En,Ar));case Ve: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 Ce=this.mode;this.mode="text";for(var Ve=this.fetch(),Tt=Ve,$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+": '"+Ve.text+"'",Ve);return this.mode=Ce,Ve.range(Tt,$t)},Z.parseColorGroup=function(te){var pe=this.parseStringGroup("color",te);if(!pe)return null;var Ce=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(pe.text);if(!Ce)throw new o("Invalid color: '"+pe.text+"'",pe);var Ve=Ce[0];return/^[0-9a-f]{6}$/i.test(Ve)&&(Ve="#"+Ve),{type:"color-token",mode:this.mode,color:Ve}},Z.parseSizeGroup=function(te){var pe,Ce=!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",Ce=!0);var Ve=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(pe.text);if(!Ve)throw new o("Invalid size: '"+pe.text+"'",pe);var Tt={number:+(Ve[1]+Ve[2]),unit:Ve[3]};if(!vi(Tt))throw new o("Invalid unit: '"+Tt.unit+"'",pe);return{type:"size",mode:this.mode,value:Tt,isBlank:Ce}},Z.parseUrlGroup=function(te,pe){this.gullet.lexer.setCatcode("%",13);var Ce=this.parseStringGroup("url",te,!0);if(this.gullet.lexer.setCatcode("%",14),!Ce)return null;var Ve=Ce.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ve}},Z.parseGroup=function(te,pe,Ce,Ve,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=Ke.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(Ve,te,Ce)||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,Ce=0;Ce<pe;++Ce){var Ve=te[Ce],Tt=Ve.text;Tt==="-"&&te[Ce+1].text==="-"&&(Ce+1<pe&&te[Ce+2].text==="-"?(te.splice(Ce,3,{type:"textord",mode:"text",loc:l.range(Ve,te[Ce+2]),text:"---"}),pe-=2):(te.splice(Ce,2,{type:"textord",mode:"text",loc:l.range(Ve,te[Ce+1]),text:"--"}),pe-=1)),(Tt==="'"||Tt==="`")&&te[Ce+1].text===Tt&&(te.splice(Ce,2,{type:"textord",mode:"text",loc:l.range(Ve,te[Ce+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 Ce=pe.slice(5),Ve=Ce.charAt(0)==="*";if(Ve&&(Ce=Ce.slice(1)),Ce.length<2||Ce.charAt(0)!==Ce.slice(-1))throw new o(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return Ce=Ce.slice(1,-1),{type:"verb",mode:"text",body:Ce,star:Ve}}Tn.hasOwnProperty(pe[0])&&!Ge[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(Ge[this.mode][pe]){this.settings.strict&&this.mode==="math"&<.indexOf(pe)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+pe[0]+'" used in math mode',te);var rr=Ge[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&&(we(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},Ke}();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=st.makeSpan(["katex-error"],[new Te(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(Ce){return tl(Ce,Z,te)}},Tu=function(Z,X){var te=new D(X);try{var pe=$i(Z,te);return To(pe,Z,te)}catch(Ce){return tl(Ce,Z,te)}},zc={version:"0.11.1",render:po,renderToString:Qs,ParseError:o,__parse:tu,__renderToDomTree:Ku,__renderToHTMLTree:Tu,__setFontMetrics:et,__defineSymbol:fe,__defineMacro:be,__domTree:{Span:pt,Anchor:tt,SymbolNode:Te,SvgNode:Me,PathNode:$e,LineNode:We}},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,M=R?r(x.length,String):[],P=M.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)))&&M.push(D);return M}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]",M="[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[M]=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(M,P,D,B,$,j,K){var V=b(M,D),W=b(P,D),oe=K.get(W);if(oe){r(M,D,oe);return}var ae=j?j(V,W,D+"",M,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(M,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,M=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,L=4294967295,Q=L-1,de=L>>>1,we=[["ary",K],["bind",R],["bindKey",M],["curry",D],["curryRight",B],["flip",W],["partial",$],["partialRight",j],["rearg",V]],Pe="[object Arguments]",Ue="[object Array]",Be="[object AsyncFunction]",Ft="[object Boolean]",mt="[object Date]",Pt="[object DOMException]",Qt="[object Error]",qt="[object Function]",Jt="[object GeneratorFunction]",Xe="[object Map]",It="[object Number]",Ut="[object Null]",ut="[object Object]",bt="[object Promise]",pt="[object Proxy]",tt="[object RegExp]",ze="[object Set]",ye="[object String]",Te="[object Symbol]",Me="[object Undefined]",$e="[object WeakMap]",We="[object WeakSet]",it="[object ArrayBuffer]",ft="[object DataView]",Vt="[object Float32Array]",Ht="[object Float64Array]",De="[object Int8Array]",et="[object Int16Array]",Wt="[object Int32Array]",Rt="[object Uint8Array]",Zt="[object Uint8ClampedArray]",Bt="[object Uint16Array]",At="[object Uint32Array]",Kt=/\b__p \+= '';/g,Ge=/\b(__p \+=) '' \+/g,fe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_e=/&(?:amp|lt|gt|quot|#39);/g,Ot=/[&<>"']/g,Ie=RegExp(_e.source),ht=RegExp(Ot.source),zt=/<%-([\s\S]+?)%>/g,Ct=/<%([\s\S]+?)%>/g,ke=/<%=([\s\S]+?)%>/g,wt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,je=/^\w*$/,Qe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Oe=/[\\^$.*+?()[\]{}|]/g,kt=RegExp(Oe.source),Fe=/^\s+/,Dr=/\s/,St=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Gr=/\{\n\/\* \[wrapped with (.+)\] \*/,Qr=/,? & /,Sr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Or=/[()=,{}\[\]\/\s]/,hr=/\\(\\)?/g,$r=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nn=/\w*$/,on=/^[-+]0x[0-9a-f]+$/i,sr=/^0b[01]+$/i,Mt=/^\[object .+?Constructor\]$/,gt=/^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,lt="\\ud800-\\udfff",Lr="\\u0300-\\u036f",_n="\\ufe20-\\ufe2f",Un="\\u20d0-\\u20ff",_r=Lr+_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="["+lt+"]",Xn="["+vi+"]",Vi="["+_r+"]",Et="\\d+",ct="["+Jr+"]",Qn="["+dn+"]",xi="[^"+lt+vi+Et+Jr+dn+mi+"]",qn="\\ud83c[\\udffb-\\udfff]",Wi="(?:"+Vi+"|"+qn+")",hi="[^"+lt+"]",ni="(?:\\ud83c[\\udde6-\\uddff]){2}",bn="[\\ud800-\\udbff][\\udc00-\\udfff]",tr="["+mi+"]",vt="\\u200d",nt="(?:"+Qn+"|"+xi+")",Dt="(?:"+tr+"|"+xi+")",_t="(?:"+di+"(?:d|ll|m|re|s|t|ve))?",ur="(?:"+di+"(?:D|LL|M|RE|S|T|VE))?",cr=Wi+"?",Tr="["+bi+"]?",Ur="(?:"+vt+"(?:"+[hi,ni,bn].join("|")+")"+Tr+cr+")*",He="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xe=Tr+cr+Ur,st="(?:"+[ct,ni,bn].join("|")+")"+xe,nr="(?:"+[hi+Vi+"?",Vi,ni,bn,Yi].join("|")+")",Pr=RegExp(di,"g"),br=RegExp(Vi,"g"),Ir=RegExp(qn+"(?="+qn+")|"+nr+xe,"g"),Br=RegExp([tr+"?"+Qn+"+"+_t+"(?="+[Xn,tr,"$"].join("|")+")",Dt+"+"+ur+"(?="+[Xn,tr+nt,"$"].join("|")+")",tr+"?"+nt+"+"+_t,tr+"+"+ur,rt,He,Et,st].join("|"),"g"),mn=RegExp("["+vt+lt+_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[Vt]=sn[Ht]=sn[De]=sn[et]=sn[Wt]=sn[Rt]=sn[Zt]=sn[Bt]=sn[At]=!0,sn[Pe]=sn[Ue]=sn[it]=sn[Ft]=sn[ft]=sn[mt]=sn[Qt]=sn[qt]=sn[Xe]=sn[It]=sn[ut]=sn[tt]=sn[ze]=sn[ye]=sn[$e]=!1;var wn={};wn[Pe]=wn[Ue]=wn[it]=wn[ft]=wn[Ft]=wn[mt]=wn[Vt]=wn[Ht]=wn[De]=wn[et]=wn[Wt]=wn[Xe]=wn[It]=wn[ut]=wn[tt]=wn[ze]=wn[ye]=wn[Te]=wn[Rt]=wn[Zt]=wn[Bt]=wn[At]=!0,wn[Qt]=wn[qt]=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(Mr){}}(),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,Mr,yr){switch(yr.length){case 0:return or.call(Mr);case 1:return or.call(Mr,yr[0]);case 2:return or.call(Mr,yr[0],yr[1]);case 3:return or.call(Mr,yr[0],yr[1],yr[2])}return or.apply(Mr,yr)}function ta(or,Mr,yr,fn){for(var zn=-1,dt=or==null?0:or.length;++zn<dt;){var Cn=or[zn];Mr(fn,Cn,yr(Cn),or)}return fn}function Ma(or,Mr){for(var yr=-1,fn=or==null?0:or.length;++yr<fn&&Mr(or[yr],yr,or)!==!1;);return or}function Hs(or,Mr){for(var yr=or==null?0:or.length;yr--&&Mr(or[yr],yr,or)!==!1;);return or}function On(or,Mr){for(var yr=-1,fn=or==null?0:or.length;++yr<fn;)if(!Mr(or[yr],yr,or))return!1;return!0}function Ra(or,Mr){for(var yr=-1,fn=or==null?0:or.length,zn=0,dt=[];++yr<fn;){var Cn=or[yr];Mr(Cn,yr,or)&&(dt[zn++]=Cn)}return dt}function is(or,Mr){var yr=or==null?0:or.length;return!!yr&&uo(or,Mr,0)>-1}function as(or,Mr,yr){for(var fn=-1,zn=or==null?0:or.length;++fn<zn;)if(yr(Mr,or[fn]))return!0;return!1}function Li(or,Mr){for(var yr=-1,fn=or==null?0:or.length,zn=Array(fn);++yr<fn;)zn[yr]=Mr(or[yr],yr,or);return zn}function Da(or,Mr){for(var yr=-1,fn=Mr.length,zn=or.length;++yr<fn;)or[zn+yr]=Mr[yr];return or}function Ca(or,Mr,yr,fn){var zn=-1,dt=or==null?0:or.length;for(fn&&dt&&(yr=or[++zn]);++zn<dt;)yr=Mr(yr,or[zn],zn,or);return yr}function ls(or,Mr,yr,fn){var zn=or==null?0:or.length;for(fn&&zn&&(yr=or[--zn]);zn--;)yr=Mr(yr,or[zn],zn,or);return yr}function Ws(or,Mr){for(var yr=-1,fn=or==null?0:or.length;++yr<fn;)if(Mr(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,Mr,yr){var fn;return yr(or,function(zn,dt,Cn){if(Mr(zn,dt,Cn))return fn=dt,!1}),fn}function Ka(or,Mr,yr,fn){for(var zn=or.length,dt=yr+(fn?1:-1);fn?dt--:++dt<zn;)if(Mr(or[dt],dt,or))return dt;return-1}function uo(or,Mr,yr){return Mr===Mr?Cu(or,Mr,yr):Ka(or,Po,yr)}function ho(or,Mr,yr,fn){for(var zn=yr-1,dt=or.length;++zn<dt;)if(fn(or[zn],Mr))return zn;return-1}function Po(or){return or!==or}function xo(or,Mr){var yr=or==null?0:or.length;return yr?Ga(or,Mr)/yr:F}function li(or){return function(Mr){return Mr==null?i:Mr[or]}}function si(or){return function(Mr){return or==null?i:or[Mr]}}function Fa(or,Mr,yr,fn,zn){return zn(or,function(dt,Cn,Hn){yr=fn?(fn=!1,dt):Mr(yr,dt,Cn,Hn)}),yr}function Wa(or,Mr){var yr=or.length;for(or.sort(Mr);yr--;)or[yr]=or[yr].value;return or}function Ga(or,Mr){for(var yr,fn=-1,zn=or.length;++fn<zn;){var dt=Mr(or[fn]);dt!==i&&(yr=yr===i?dt:yr+dt)}return yr}function Gs(or,Mr){for(var yr=-1,fn=Array(or);++yr<or;)fn[yr]=Mr(yr);return fn}function Vs(or,Mr){return Li(Mr,function(yr){return[yr,or[yr]]})}function Yo(or){return or&&or.slice(0,mr(or)+1).replace(Fe,"")}function cs(or){return function(Mr){return or(Mr)}}function Io(or,Mr){return Li(Mr,function(yr){return or[yr]})}function Do(or,Mr){return or.has(Mr)}function jo(or,Mr){for(var yr=-1,fn=or.length;++yr<fn&&uo(Mr,or[yr],0)>-1;);return yr}function Au(or,Mr){for(var yr=or.length;yr--&&uo(Mr,or[yr],0)>-1;);return yr}function Eo(or,Mr){for(var yr=or.length,fn=0;yr--;)or[yr]===Mr&&++fn;return fn}var lo=si(fa),Ks=si(Ci);function Mu(or){return"\\"+hn[or]}function Oo(or,Mr){return or==null?i:or[Mr]}function ko(or){return mn.test(or)}function Ns(or){return Er.test(or)}function du(or){for(var Mr,yr=[];!(Mr=or.next()).done;)yr.push(Mr.value);return yr}function Mo(or){var Mr=-1,yr=Array(or.size);return or.forEach(function(fn,zn){yr[++Mr]=[zn,fn]}),yr}function wo(or,Mr){return function(yr){return or(Mr(yr))}}function Rs(or,Mr){for(var yr=-1,fn=or.length,zn=0,dt=[];++yr<fn;){var Cn=or[yr];(Cn===Mr||Cn===x)&&(or[yr]=x,dt[zn++]=yr)}return dt}function Ds(or){var Mr=-1,yr=Array(or.size);return or.forEach(function(fn){yr[++Mr]=fn}),yr}function hu(or){var Mr=-1,yr=Array(or.size);return or.forEach(function(fn){yr[++Mr]=[fn,fn]}),yr}function Cu(or,Mr,yr){for(var fn=yr-1,zn=or.length;++fn<zn;)if(or[fn]===Mr)return fn;return-1}function Xt(or,Mr,yr){for(var fn=yr+1;fn--;)if(or[fn]===Mr)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 Mr=or.length;Mr--&&Dr.test(or.charAt(Mr)););return Mr}var xr=si(fi);function vn(or){for(var Mr=Ir.lastIndex=0;Ir.test(or);)++Mr;return Mr}function xn(or){return or.match(Ir)||[]}function $n(or){return or.match(Br)||[]}var kn=function or(Mr){Mr=Mr==null?oa:Yn.defaults(oa.Object(),Mr,Yn.pick(oa,un));var yr=Mr.Array,fn=Mr.Date,zn=Mr.Error,dt=Mr.Function,Cn=Mr.Math,Hn=Mr.Object,oi=Mr.RegExp,zi=Mr.String,Nr=Mr.TypeError,Hr=yr.prototype,da=dt.prototype,Ti=Hn.prototype,ra=Mr["__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(Oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ln=ka?Mr.Buffer:i,Ls=Mr.Symbol,Ms=Mr.Uint8Array,Ye=Ln?Ln.allocUnsafe:i,qe=wo(Hn.getPrototypeOf,Hn),Lt=Hn.create,Gt=Ti.propertyIsEnumerable,dr=Hr.splice,Rr=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=Mr.clearTimeout!==oa.clearTimeout&&Mr.clearTimeout,Wn=fn&&fn.now!==oa.Date.now&&fn.now,ti=Mr.setTimeout!==oa.setTimeout&&Mr.setTimeout,gi=Cn.ceil,wi=Cn.floor,Ni=Hn.getOwnPropertySymbols,Fi=Ln?Ln.isBuffer:i,yi=Mr.isFinite,pa=Hr.join,Pi=wo(Hn.keys,Hn),pi=Cn.max,ua=Cn.min,Ys=fn.now,_s=Mr.parseInt,Zi=Cn.random,Oa=Hr.reverse,qi=ma(Mr,"DataView"),Ii=ma(Mr,"Map"),ya=ma(Mr,"Promise"),$a=ma(Mr,"Set"),Va=ma(Mr,"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 Ae(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(Lt)return Lt(N);S.prototype=N;var he=new S;return S.prototype=i,he}}();function Xr(){}function gr(S,N){this.__wrapped__=S,this.__actions__=[],this.__chain__=!!N,this.__index__=0,this.__values__=i}Ae.templateSettings={escape:zt,evaluate:Ct,interpolate:ke,variable:"",imports:{_:Ae}},Ae.prototype=Xr.prototype,Ae.prototype.constructor=Ae,gr.prototype=wr(Xr.prototype),gr.prototype.constructor=gr;function Yr(S){this.__wrapped__=S,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=L,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__),pr=Yt.start,kr=Yt.end,Vr=kr-pr,Pn=Ne?kr:pr-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(Xr.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 Ke(){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=Ke,pu.prototype.delete=Z,pu.prototype.get=X,pu.prototype.has=te,pu.prototype.set=pe;function Ce(S){var N=-1,he=S==null?0:S.length;for(this.__data__=new pu;++N<he;)this.add(S[N])}function Ve(S){return this.__data__.set(S,u),this}function Tt(S){return this.__data__.has(S)}Ce.prototype.add=Ce.prototype.push=Ve,Ce.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),pr=he||Ne||xt||Yt,kr=pr?Gs(S.length,zi):[],Vr=kr.length;for(var Pn in S)(N||ui.call(S,Pn))&&!(pr&&(Pn=="length"||xt&&(Pn=="offset"||Pn=="parent")||Yt&&(Pn=="buffer"||Pn=="byteLength"||Pn=="byteOffset")||Lo(Pn,Vr)))&&kr.push(Pn);return kr}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,pr){N(Ne,xt,he(xt),pr)}),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 pr,kr=N&p,Vr=N&y,Pn=N&_;if(he&&(pr=xt?he(S,Ne,xt,Yt):he(S)),pr!==i)return pr;if(!Ko(S))return S;var Dn=Za(S);if(Dn){if(pr=Rc(S),!kr)return Ro(S,pr)}else{var jn=os(S),Ai=jn==qt||jn==Jt;if(Af(S))return of(S,kr);if(jn==ut||jn==Pe||Ai&&!xt){if(pr=Vr||Ai?{}:ll(S),!kr)return Vr?Gl(S,es(pr,S)):Ho(S,bs(pr,S))}else{if(!wn[jn])return xt?S:{};pr=Si(S,jn,kr)}}Yt||(Yt=new $t);var ea=Yt.get(S);if(ea)return ea;Yt.set(S,pr),vd(S)?S.forEach(function(Aa){pr.add(_i(Aa,N,he,Aa,S,Yt))}):_d(S)&&S.forEach(function(Aa,vs){pr.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(pr,vs,_i(Aa,N,he,vs,S,Yt))}),pr}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],pr=S[xt];if(pr===i&&!(xt in S)||!Yt(pr))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,pr=!0,kr=S.length,Vr=[],Pn=N.length;if(!kr)return Vr;he&&(N=Li(N,cs(he))),Ne?(Yt=as,pr=!1):N.length>=c&&(Yt=Do,pr=!1,N=new Ce(N));e:for(;++xt<kr;){var Dn=S[xt],jn=he==null?Dn:he(Dn);if(Dn=Ne||Dn!==0?Dn:0,pr&&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],pr=N(Yt);if(pr!=null&&(kr===i?pr===pr&&!nc(pr):he(pr,kr)))var kr=pr,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,pr=S.length;for(he||(he=ec),xt||(xt=[]);++Yt<pr;){var kr=S[Yt];N>0&&he(kr)?N>1?ks(kr,N-1,he,Ne,xt):Da(xt,kr):Ne||(xt[xt.length]=kr)}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,pr=Yt,kr=yr(Yt),Vr=1/0,Pn=[];pr--;){var Dn=S[pr];pr&&N&&(Dn=Li(Dn,cs(N))),Vr=ua(Dn.length,Vr),kr[pr]=!he&&(N||xt>=120&&Dn.length>=120)?new Ce(pr&&Dn):i}Dn=S[0];var jn=-1,Ai=kr[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(pr=Yt;--pr;){var ns=kr[pr];if(!(ns?Do(ns,Sa):Ne(S[pr],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,pr){N(Ne,he(xt),Yt,pr)}),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)==Pe}function eo(S){return eu(S)&&zs(S)==it}function Ac(S){return eu(S)&&zs(S)==mt}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 pr=Za(S),kr=Za(N),Vr=pr?Ue:os(S),Pn=kr?Ue:os(N);Vr=Vr==Pe?ut:Vr,Pn=Pn==Pe?ut:Pn;var Dn=Vr==ut,jn=Pn==ut,Ai=Vr==Pn;if(Ai&&Af(S)){if(!Af(N))return!1;pr=!0,Dn=!1}if(Ai&&!Dn)return Yt||(Yt=new $t),pr||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,pr=!Ne;if(S==null)return!Yt;for(S=Hn(S);xt--;){var kr=he[xt];if(pr&&kr[2]?kr[1]!==S[kr[0]]:!(kr[0]in S))return!1}for(;++xt<Yt;){kr=he[xt];var Vr=kr[0],Pn=S[Vr],Dn=kr[1];if(pr&&kr[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)==tt}function zo(S){return eu(S)&&os(S)==ze}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,pr){Ne[++he]=N(xt,Yt,pr)}),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,pr){if(xt||(xt=new $t),Ko(Yt))No(S,N,pr,he,to,Ne,xt);else{var kr=Ne?Ne(rc(S,pr),Yt,pr+"",S,N,xt):i;kr===i&&(kr=Yt),aa(S,pr,kr)}},Ml)}function No(S,N,he,Ne,xt,Yt,pr){var kr=rc(S,he),Vr=rc(N,he),Pn=pr.get(Vr);if(Pn){aa(S,he,Pn);return}var Dn=Yt?Yt(kr,Vr,he+"",S,N,pr):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(kr)?Dn=kr:uu(kr)?Dn=Ro(kr):ea?(jn=!1,Dn=of(Vr,!0)):Sa?(jn=!1,Dn=Cl(Vr,!0)):Dn=[]:Gf(Vr)||Rf(Vr)?(Dn=kr,Rf(kr)?Dn=bd(kr):(!Ko(kr)||yf(kr))&&(Dn=ll(Vr))):jn=!1}jn&&(pr.set(Vr,Dn),xt(Dn,Vr,Ne,Yt,pr),pr.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(pr){return Uo(pr,Yt.length===1?Yt[0]:Yt)}:Yt}):N=[Fl];var Ne=-1;N=Li(N,cs(cn()));var xt=mu(S,function(Yt,pr,kr){var Vr=Li(N,function(Pn){return Pn(Yt)});return{criteria:Vr,index:++Ne,value:Yt}});return Wa(xt,function(Yt,pr){return yu(Yt,pr,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 pr=N[Ne],kr=Uo(S,pr);he(kr,pr)&&ju(Yt,Iu(pr,S),kr)}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,pr=N.length,kr=S;for(S===N&&(N=Ro(N)),he&&(kr=Li(S,cs(he)));++Yt<pr;)for(var Vr=0,Pn=N[Yt],Dn=he?he(Pn):Pn;(Vr=xt(kr,Dn,Vr,Ne))>-1;)kr!==S&&dr.call(kr,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),pr=yr(Yt);Yt--;)pr[Ne?Yt:++xt]=S,S+=he;return pr}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,pr=Yt-1,kr=S;kr!=null&&++xt<Yt;){var Vr=ji(N[xt]),Pn=he;if(Vr==="__proto__"||Vr==="constructor"||Vr==="prototype")return S;if(xt!=pr){var Dn=kr[Vr];Pn=Ne?Ne(Dn,Vr,kr):i,Pn===i&&(Pn=Ko(Dn)?Dn:Lo(N[xt+1])?[]:{})}Xi(kr,Vr,Pn),kr=kr[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,pr=S[Yt];pr!==null&&!nc(pr)&&(he?pr<=N:pr<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 pr=N!==N,kr=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(pr)var Aa=Ne||Sa;else Pn?Aa=Sa&&(Ne||Ai):kr?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 pr=S[he],kr=N?N(pr):pr;if(!he||!jc(kr,Vr)){var Vr=kr;Yt[xt++]=pr===0?0:pr}}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,pr=!0,kr=[],Vr=kr;if(he)pr=!1,xt=as;else if(Yt>=c){var Pn=N?null:Yc(S);if(Pn)return Ds(Pn);pr=!1,xt=Do,Vr=new Ce}else Vr=N?[]:kr;e:for(;++Ne<Yt;){var Dn=S[Ne],jn=N?N(Dn):Dn;if(Dn=he||Dn!==0?Dn:0,pr&&jn===jn){for(var Ai=Vr.length;Ai--;)if(Vr[Ai]===jn)continue e;N&&Vr.push(jn),kr.push(Dn)}else xt(Vr,jn,he)||(Vr!==kr&&Vr.push(jn),kr.push(Dn))}return kr}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 pr=S[xt],kr=-1;++kr<Ne;)kr!=xt&&(Yt[xt]=Ps(Yt[xt]||pr,S[kr],N,he));return gu(ks(Yt,1),N,he)}function ao(S,N,he){for(var Ne=-1,xt=S.length,Yt=N.length,pr={};++Ne<xt;){var kr=Ne<Yt?N[Ne]:i;he(pr,S[Ne],kr)}return pr}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),pr=N!==i,kr=N===null,Vr=N===N,Pn=nc(N);if(!kr&&!Pn&&!Yt&&S>N||Yt&&pr&&Vr&&!kr&&!Pn||Ne&&pr&&Vr||!he&&Vr||!xt)return 1;if(!Ne&&!Yt&&!Pn&&S<N||Pn&&he&&xt&&!Ne&&!Yt||kr&&he&&xt||!pr&&xt||!Vr)return-1}return 0}function yu(S,N,he){for(var Ne=-1,xt=S.criteria,Yt=N.criteria,pr=xt.length,kr=he.length;++Ne<pr;){var Vr=Ze(xt[Ne],Yt[Ne]);if(Vr){if(Ne>=kr)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,pr=he.length,kr=-1,Vr=N.length,Pn=pi(Yt-pr,0),Dn=yr(Vr+Pn),jn=!Ne;++kr<Vr;)Dn[kr]=N[kr];for(;++xt<pr;)(jn||xt<Yt)&&(Dn[he[xt]]=S[xt]);for(;Pn--;)Dn[kr++]=S[xt++];return Dn}function Tl(S,N,he,Ne){for(var xt=-1,Yt=S.length,pr=-1,kr=he.length,Vr=-1,Pn=N.length,Dn=pi(Yt-kr,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(;++pr<kr;)(Ai||xt<Yt)&&(jn[ea+he[pr]]=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,pr=N.length;++Yt<pr;){var kr=N[Yt],Vr=Ne?Ne(he[kr],S[kr],kr,he,S):i;Vr===i&&(Vr=S[kr]),xt?wa(he,kr,Vr):Xi(he,kr,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,pr=xt>2?he[2]:i;for(Yt=S.length>3&&typeof Yt=="function"?(xt--,Yt):i,pr&&Zs(he[0],he[1],pr)&&(Yt=xt<3?i:Yt,xt=1),N=Hn(N);++Ne<xt;){var kr=he[Ne];kr&&S(N,kr,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,pr=Hn(he);(N?Yt--:++Yt<xt)&&Ne(pr[Yt],Yt,pr)!==!1;);return he}}function Vl(S){return function(N,he,Ne){for(var xt=-1,Yt=Hn(N),pr=Ne(N),kr=pr.length;kr--;){var Vr=pr[S?kr:++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 pr=this&&this!==oa&&this instanceof Yt?xt:S;return pr.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,pr=yr(Yt),kr=Yt,Vr=Bn(xt);kr--;)pr[kr]=arguments[kr];var Pn=Yt<3&&pr[0]!==Vr&&pr[Yt-1]!==Vr?[]:Rs(pr,Vr);if(Yt-=Pn.length,Yt<he)return Ql(S,N,al,xt.placeholder,i,pr,Pn,i,i,he-Yt);var Dn=this&&this!==oa&&this instanceof xt?Ne:S;return Pa(Dn,this,pr)}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(kr){return Yt(xt[kr],kr,xt)}}var pr=S(N,he,Ne);return pr>-1?xt[Yt?N[pr]:pr]: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&&!pr&&rn(Yt)=="wrapper")var pr=new gr([],!0)}for(Ne=pr?Ne:he;++Ne<he;){Yt=N[Ne];var kr=rn(Yt),Vr=kr=="wrapper"?Re(Yt):i;Vr&&Dl(Vr[0])&&Vr[1]==(K|D|$|V)&&!Vr[4].length&&Vr[9]==1?pr=pr[rn(Vr[0])].apply(pr,Vr[3]):pr=Yt.length==1&&Dl(Yt)?pr[kr]():pr.thru(Yt)}return function(){var Pn=arguments,Dn=Pn[0];if(pr&&Pn.length==1&&Za(Dn))return pr.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,pr,kr,Vr,Pn){var Dn=N&K,jn=N&R,Ai=N&M,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,pr,ea)),vs-=ac,ea&&vs<Pn){var lu=Rs(Cs,vl);return Ql(S,N,al,Aa.placeholder,he,Cs,lu,kr,Vr,Pn-vs)}var Uc=jn?he:this,xf=Ai?Uc[S]:S;return vs=Cs.length,kr?Cs=Ol(Cs,kr):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 pr(){for(var kr=-1,Vr=arguments.length,Pn=-1,Dn=Ne.length,jn=yr(Dn+Vr),Ai=this&&this!==oa&&this instanceof pr?Yt:S;++Pn<Dn;)jn[Pn]=Ne[Pn];for(;Vr--;)jn[Pn++]=arguments[++kr];return Pa(Ai,xt?he:this,jn)}return pr}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,pr,kr,Vr,Pn){var Dn=N&D,jn=Dn?pr:i,Ai=Dn?i:pr,ea=Dn?Yt:i,Sa=Dn?i:Yt;N|=Dn?$:j,N&=~(Dn?j:$),N&P||(N&=~(R|M));var ns=[S,N,xt,ea,jn,Sa,Ai,kr,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==ze?hu(N):Vs(N,S(N))}}function go(S,N,he,Ne,xt,Yt,pr,kr){var Vr=N&M;if(!Vr&&typeof S!="function")throw new Nr(o);var Pn=Ne?Ne.length:0;if(Pn||(N&=~($|j),Ne=xt=i),pr=pr===i?pr:pi(Qa(pr),0),kr=kr===i?kr:Qa(kr),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,pr,kr];if(Ai&&Qc(ea,Ai),S=ea[0],N=ea[1],he=ea[2],Ne=ea[3],xt=ea[4],kr=ea[9]=ea[9]===i?Vr?0:S.length:pi(ea[9]-Pn,0),!kr&&N&(D|B)&&(N&=~(D|B)),!N||N==R)var Sa=Kl(S,N,he);else N==D||N==B?Sa=pc(S,N,kr):(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 pr=he&b,kr=S.length,Vr=N.length;if(kr!=Vr&&!(pr&&Vr>kr))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 Ce:i;for(Yt.set(S,N),Yt.set(N,S);++jn<kr;){var Sa=S[jn],ns=N[jn];if(Ne)var Aa=pr?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,pr){switch(he){case ft:if(S.byteLength!=N.byteLength||S.byteOffset!=N.byteOffset)return!1;S=S.buffer,N=N.buffer;case it:return!(S.byteLength!=N.byteLength||!Yt(new Ms(S),new Ms(N)));case Ft:case mt:case It:return jc(+S,+N);case Qt:return S.name==N.name&&S.message==N.message;case tt:case ye:return S==N+"";case Xe:var kr=Mo;case ze:var Vr=Ne&b;if(kr||(kr=Ds),S.size!=N.size&&!Vr)return!1;var Pn=pr.get(S);if(Pn)return Pn==N;Ne|=A,pr.set(S,N);var Dn=mc(kr(S),kr(N),Ne,xt,Yt,pr);return pr.delete(S),Dn;case Te:if(Hi)return Hi.call(S)==Hi.call(N)}return!1}function I(S,N,he,Ne,xt,Yt){var pr=he&b,kr=k(S),Vr=kr.length,Pn=k(N),Dn=Pn.length;if(Vr!=Dn&&!pr)return!1;for(var jn=Vr;jn--;){var Ai=kr[jn];if(!(pr?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=pr;++jn<Vr;){Ai=kr[jn];var vs=S[Ai],Cs=N[Ai];if(Ne)var ic=pr?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(Ae,"placeholder")?Ae:S;return N.placeholder}function cn(){var S=Ae.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 Gt.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)))!=ft||Ii&&os(new Ii)!=Xe||ya&&os(ya.resolve())!=bt||$a&&os(new $a)!=ze||Va&&os(new Va)!=$e)&&(os=function(S){var N=zs(S),he=N==ut?S.constructor:i,Ne=he?ca(he):"";if(Ne)switch(Ne){case La:return ft;case Xs:return Xe;case js:return bt;case na:return ze;case ja:return $e}return N});function vc(S,N,he){for(var Ne=-1,xt=he.length;++Ne<xt;){var Yt=he[Ne],pr=Yt.size;switch(Yt.type){case"drop":S+=pr;break;case"dropRight":N-=pr;break;case"take":N=ua(N,S+pr);break;case"takeRight":S=pi(S,N-pr);break}}return{start:S,end:N}}function gc(S){var N=S.match(Gr);return N?N[1].split(Qr):[]}function ul(S,N,he){N=Iu(N,S);for(var Ne=-1,xt=N.length,Yt=!1;++Ne<xt;){var pr=ji(N[Ne]);if(!(Yt=S!=null&&he(S,pr)))break;S=S[pr]}return Yt||++Ne!=xt?Yt:(xt=S==null?0:S.length,!!xt&&Qf(xt)&&Lo(pr,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 it:return Oc(S);case Ft:case mt:return new Ne(+S);case ft:return Kc(S,he);case Vt:case Ht:case De:case et:case Wt:case Rt:case Zt:case Bt:case At:return Cl(S,he);case Xe:return new Ne;case It:case ye:return new Ne(S);case tt:return nl(S);case ze:return new Ne;case Te: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)||!!(Rr&&S&&S[Rr])}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:je.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=Ae[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|M|K),pr=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||pr))return S;Ne&R&&(S[2]=N[2],xt|=he&R?0:P);var kr=N[3];if(kr){var Vr=S[3];S[3]=Vr?Jo(Vr,kr,N[4]):kr,S[4]=Vr?Rs(S[3],x):N[4]}return kr=N[5],kr&&(Vr=S[5],S[5]=Vr?Tl(Vr,kr,N[6]):kr,S[6]=Vr?Rs(S[5],x):N[6]),kr=N[7],kr&&(S[7]=kr),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),pr=yr(Yt);++xt<Yt;)pr[xt]=Ne[N+xt];xt=-1;for(var kr=yr(N+1);++xt<N;)kr[xt]=Ne[xt];return kr[N]=he(pr),Pa(S,this,kr)}}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),pr=S[Yt];S[Yt]=S[he],S[he]=pr}return S.length=N,S}var xa=Zu(function(S){var N=[];return S.charCodeAt(0)===46&&N.push(""),S.replace(Qe,function(he,Ne,xt,Yt){N.push(xt?Yt.replace(hr,"$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(we,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,pr=yr(gi(Ne/N));xt<Ne;)pr[Yt++]=iu(S,xt,xt+=N);return pr}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 pr=S[Ne];N(pr,Ne,S)&&(he.push(pr),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))}),ot=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 Se=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 Ee(S){var N=Ae(S);return N.__chain__=!0,N}function Je(S,N){return N(S),S}function at(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:at,args:[xt],thisArg:i}),new gr(Ne,this.__chain__).thru(function(Yt){return N&&!Yt.length&&Yt.push(i),Yt}))});function ir(){return Ee(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 Xr;){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:at,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(pr){Yt[++Ne]=xt?Pa(N,pr,he):ii(pr,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==ze?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|M;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,pr,kr,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,pr=S.apply(xf,Uc),pr}function Sa(lu){return Pn=lu,kr=kl(vs,N),Dn?ea(lu):pr}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);kr=kl(vs,ns(lu))}function Cs(lu){return kr=i,Ai&&Ne?ea(lu):(Ne=xt=i,pr)}function ic(){kr!==i&&Yu(kr),Pn=0,Ne=Vr=xt=kr=i}function vl(){return kr===i?pr:Cs(Hf())}function ac(){var lu=Hf(),Uc=Aa(lu);if(Ne=arguments,xt=this,Vr=lu,Uc){if(kr===i)return Sa(Vr);if(jn)return Yu(kr),kr=kl(vs,N),ea(Vr)}return kr===i&&(kr=kl(vs,N)),pr}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 pr=S.apply(this,Ne);return he.cache=Yt.set(xt,pr)||Yt,pr};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")&&!Gt.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==ze)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==qt||N==Jt||N==Be||N==pt}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)!=ut)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)==Te}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)==We}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==ze?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,L):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||gt.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],pr=Ml(Yt),kr=-1,Vr=pr.length;++kr<Vr;){var Pn=pr[kr],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(pr,kr,Vr){return N(he,pr,kr,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&&ht.test(S)?S.replace(Ot,Ks):S}function J0(S){return S=no(S),S&&kt.test(S)?S.replace(Oe,"\\$&"):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(Fe,""),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?L: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=Ae.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),pr=Io(xt,Yt),kr,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&&(kr=!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(Or.test(Sa))throw new zn(h);jn=(Vr?jn.replace(Kt,""):jn).replace(Ge,"$1").replace(fe,"$1;"),jn="function("+(Sa||"obj")+`) {
|
|
|
`+(Sa?"":`obj || (obj = {});
|
|
|
`)+"var __t, __p = ''"+(kr?", __e = _.escape":"")+(Vr?`, __j = Array.prototype.join;
|
|
|
function print() { __p += __j.call(arguments, '') }
|
|
|
`:`;
|
|
|
`)+jn+`return __p
|
|
|
}`;var ns=Id(function(){return dt(Yt,ea+"return "+jn).apply(i,pr)});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),pr=Au(Ne,xt)+1;return so(Ne,Yt,pr).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(Fe,"");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 pr=ar(S);Yt=pr.length}if(he>=Yt)return S;var kr=he-fr(Ne);if(kr<1)return Ne;var Vr=pr?so(pr,0,kr).join(""):S.slice(0,kr);if(xt===i)return Vr+Ne;if(pr&&(kr+=Vr.length-kr),nd(xt)){if(S.slice(kr).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?kr:jn)}}else if(S.indexOf(Zo(xt),kr)!=kr){var Ai=Vr.lastIndexOf(xt);Ai>-1&&(Vr=Vr.slice(0,Ai))}return Vr+Ne}function bh(S){return S=no(S),S&&Ie.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,pr=yf(S);return Ma(xt,function(kr){var Vr=N[kr];S[kr]=Vr,pr&&(S.prototype[kr]=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=L,Ne=ua(S,L);N=cn(N),S-=L;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 Ae.after=Is,Ae.ary=Su,Ae.assign=_0,Ae.assignIn=xd,Ae.assignInWith=Jf,Ae.assignWith=m0,Ae.at=v0,Ae.before=ml,Ae.bind=$c,Ae.bindAll=Eh,Ae.bindKey=Rl,Ae.castArray=jd,Ae.chain=Ee,Ae.chunk=Gi,Ae.compact=us,Ae.concat=ku,Ae.cond=wh,Ae.conforms=Sh,Ae.constant=od,Ae.countBy=yn,Ae.create=g0,Ae.curry=vf,Ae.curryRight=nf,Ae.debounce=Wf,Ae.defaults=y0,Ae.defaultsDeep=b0,Ae.defer=Mf,Ae.delay=Kf,Ae.difference=Wu,Ae.differenceBy=Gu,Ae.differenceWith=Qu,Ae.drop=hl,Ae.dropRight=Cf,Ae.dropRightWhile=Ef,Ae.dropWhile=pl,Ae.fill=wf,Ae.filter=Vn,Ae.flatMap=ba,Ae.flatMapDeep=Ji,Ae.flatMapDepth=Ri,Ae.flatten=lf,Ae.flattenDeep=qu,Ae.flattenDepth=Tf,Ae.flip=Of,Ae.flow=Ch,Ae.flowRight=Th,Ae.fromPairs=Ru,Ae.functions=T0,Ae.functionsIn=P0,Ae.groupBy=Kn,Ae.initial=Go,Ae.intersection=Jc,Ae.intersectionBy=Bc,Ae.intersectionWith=Ju,Ae.invert=D0,Ae.invertBy=O0,Ae.invokeMap=Ta,Ae.iteratee=ud,Ae.keyBy=Ea,Ae.keys=Lu,Ae.keysIn=Ml,Ae.map=Ba,Ae.mapKeys=R0,Ae.mapValues=L0,Ae.matches=Ph,Ae.matchesProperty=Ih,Ae.memoize=kf,Ae.merge=M0,Ae.mergeWith=Ed,Ae.method=Dh,Ae.methodOf=Oh,Ae.mixin=ld,Ae.negate=Ff,Ae.nthArg=Rh,Ae.omit=F0,Ae.omitBy=B0,Ae.once=Yf,Ae.orderBy=As,Ae.over=Lh,Ae.overArgs=Xf,Ae.overEvery=Mh,Ae.overSome=Fh,Ae.partial=gf,Ae.partialRight=hd,Ae.partition=Bs,Ae.pick=N0,Ae.pickBy=wd,Ae.property=Dd,Ae.propertyOf=Bh,Ae.pull=Nc,Ae.pullAll=Ec,Ae.pullAllBy=ef,Ae.pullAllWith=tf,Ae.pullAt=hf,Ae.range=Nh,Ae.rangeRight=$h,Ae.rearg=Ld,Ae.reject=el,Ae.remove=Pf,Ae.rest=Md,Ae.reverse=wc,Ae.sampleSize=Vf,Ae.set=j0,Ae.setWith=U0,Ae.shuffle=ed,Ae.slice=$f,Ae.sortBy=Zf,Ae.sortedUniq=mf,Ae.sortedUniqBy=Uf,Ae.split=ch,Ae.spread=Fd,Ae.tail=Sf,Ae.take=v,Ae.takeRight=T,Ae.takeRightWhile=z,Ae.takeWhile=ge,Ae.tap=Je,Ae.throttle=Bd,Ae.thru=at,Ae.toArray=gd,Ae.toPairs=Sd,Ae.toPairsIn=Ad,Ae.toPath=Hh,Ae.toPlainObject=bd,Ae.transform=z0,Ae.unary=Nd,Ae.union=Le,Ae.unionBy=ot,Ae.unionWith=w,Ae.uniq=t,Ae.uniqBy=n,Ae.uniqWith=s,Ae.unset=Z0,Ae.unzip=m,Ae.unzipWith=E,Ae.update=H0,Ae.updateWith=W0,Ae.values=Nf,Ae.valuesIn=G0,Ae.without=C,Ae.words=Pd,Ae.wrap=$d,Ae.xor=U,Ae.xorBy=G,Ae.xorWith=H,Ae.zip=se,Ae.zipObject=ue,Ae.zipObjectDeep=ve,Ae.zipWith=Se,Ae.entries=Sd,Ae.entriesIn=Ad,Ae.extend=xd,Ae.extendWith=Jf,ld(Ae,Ae),Ae.add=Gh,Ae.attempt=Id,Ae.camelCase=X0,Ae.capitalize=Cd,Ae.ceil=Vh,Ae.clamp=V0,Ae.clone=Ud,Ae.cloneDeep=Zd,Ae.cloneDeepWith=Hd,Ae.cloneWith=zd,Ae.conformsTo=Wd,Ae.deburr=Td,Ae.defaultTo=Ah,Ae.divide=Kh,Ae.endsWith=Q0,Ae.eq=jc,Ae.escape=q0,Ae.escapeRegExp=J0,Ae.every=Kr,Ae.find=ci,Ae.findIndex=Mc,Ae.findKey=x0,Ae.findLast=rs,Ae.findLastIndex=qc,Ae.findLastKey=E0,Ae.floor=Yh,Ae.forEach=Qi,Ae.forEachRight=Ki,Ae.forIn=w0,Ae.forInRight=S0,Ae.forOwn=A0,Ae.forOwnRight=C0,Ae.get=id,Ae.gt=Gd,Ae.gte=Vd,Ae.has=I0,Ae.hasIn=ad,Ae.head=Fc,Ae.identity=Fl,Ae.includes=ri,Ae.indexOf=cf,Ae.inRange=K0,Ae.invoke=k0,Ae.isArguments=Rf,Ae.isArray=Za,Ae.isArrayBuffer=Kd,Ae.isArrayLike=Ll,Ae.isArrayLikeObject=uu,Ae.isBoolean=Yd,Ae.isBuffer=Af,Ae.isDate=Xd,Ae.isElement=Qd,Ae.isEmpty=qd,Ae.isEqual=Jd,Ae.isEqualWith=e0,Ae.isError=rd,Ae.isFinite=t0,Ae.isFunction=yf,Ae.isInteger=pd,Ae.isLength=Qf,Ae.isMap=_d,Ae.isMatch=r0,Ae.isMatchWith=n0,Ae.isNaN=i0,Ae.isNative=a0,Ae.isNil=o0,Ae.isNull=s0,Ae.isNumber=md,Ae.isObject=Ko,Ae.isObjectLike=eu,Ae.isPlainObject=Gf,Ae.isRegExp=nd,Ae.isSafeInteger=u0,Ae.isSet=vd,Ae.isString=qf,Ae.isSymbol=nc,Ae.isTypedArray=Bf,Ae.isUndefined=l0,Ae.isWeakMap=c0,Ae.isWeakSet=f0,Ae.join=_l,Ae.kebabCase=eh,Ae.last=Vo,Ae.lastIndexOf=ff,Ae.lowerCase=th,Ae.lowerFirst=rh,Ae.lt=d0,Ae.lte=h0,Ae.max=Xh,Ae.maxBy=Qh,Ae.mean=qh,Ae.meanBy=Jh,Ae.min=ep,Ae.minBy=tp,Ae.stubArray=fd,Ae.stubFalse=dd,Ae.stubObject=jh,Ae.stubString=Uh,Ae.stubTrue=zh,Ae.multiply=rp,Ae.nth=df,Ae.noConflict=kh,Ae.noop=cd,Ae.now=Hf,Ae.pad=nh,Ae.padEnd=ih,Ae.padStart=ah,Ae.parseInt=sh,Ae.random=Y0,Ae.reduce=oo,Ae.reduceRight=Vu,Ae.repeat=oh,Ae.replace=uh,Ae.result=$0,Ae.round=np,Ae.runInContext=or,Ae.sample=rf,Ae.size=td,Ae.snakeCase=lh,Ae.some=zf,Ae.sortedIndex=If,Ae.sortedIndexBy=pf,Ae.sortedIndexOf=jf,Ae.sortedLastIndex=_f,Ae.sortedLastIndexBy=Df,Ae.sortedLastIndexOf=Lf,Ae.startCase=fh,Ae.startsWith=dh,Ae.subtract=ip,Ae.sum=ap,Ae.sumBy=sp,Ae.template=hh,Ae.times=Zh,Ae.toFinite=bf,Ae.toInteger=Qa,Ae.toLength=yd,Ae.toLower=ph,Ae.toNumber=Sc,Ae.toSafeInteger=p0,Ae.toString=no,Ae.toUpper=_h,Ae.trim=mh,Ae.trimEnd=vh,Ae.trimStart=gh,Ae.truncate=yh,Ae.unescape=bh,Ae.uniqueId=Wh,Ae.upperCase=xh,Ae.upperFirst=sd,Ae.each=Qi,Ae.eachRight=Ki,Ae.first=Fc,ld(Ae,function(){var S={};return Js(Ae,function(N,he){ui.call(Ae.prototype,he)||(S[he]=N)}),S}(),{chain:!1}),Ae.VERSION=l,Ma(["bind","bindKey","curry","curryRight","partial","partialRight"],function(S){Ae[S].placeholder=Ae}),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,L),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(L)},Js(Yr.prototype,function(S,N){var he=/^(?:filter|find|map|reject)|While$/.test(N),Ne=/^(?:head|last)$/.test(N),xt=Ae[Ne?"take"+(N=="last"?"Right":""):N],Yt=Ne||/^find/.test(N);xt&&(Ae.prototype[N]=function(){var pr=this.__wrapped__,kr=Ne?[1]:arguments,Vr=pr instanceof Yr,Pn=kr[0],Dn=Vr||Za(pr),jn=function(vs){var Cs=xt.apply(Ae,Da([vs],kr));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){pr=ns?pr:new Yr(this);var Aa=S.apply(pr,kr);return Aa.__actions__.push({func:at,args:[jn],thisArg:i}),new gr(Aa,Ai)}return Sa&&ns?S.apply(this,kr):(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);Ae.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(pr){return N.apply(Za(pr)?pr:[],xt)})}}),Js(Yr.prototype,function(S,N){var he=Ae[N];if(he){var Ne=he.name+"";ui.call(co,Ne)||(co[Ne]=[]),co[Ne].push({name:N,func:he})}}),co[al(i,M).name]=[{name:"wrapper",func:i}],Yr.prototype.clone=Sn,Yr.prototype.reverse=ei,Yr.prototype.value=Oi,Ae.prototype.at=jt,Ae.prototype.chain=ir,Ae.prototype.commit=er,Ae.prototype.next=Fr,Ae.prototype.plant=ln,Ae.prototype.reverse=Wr,Ae.prototype.toJSON=Ae.prototype.valueOf=Ae.prototype.value=an,Ae.prototype.first=Ae.prototype.head,jr&&(Ae.prototype[jr]=Zr),Ae},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 je=ke[wt];je.enumerable=je.enumerable||!1,je.configurable=!0,"value"in je&&(je.writable=!0),Object.defineProperty(Ct,je.key,je)}}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,je=new Array(ke);wt<ke;wt++)je[wt]=Ct[wt];return je}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 je=0;return function(){return je>=Ct.length?{done:!0}:{done:!1,value:Ct[je++]}}}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 M(Ct,ke){Ct=Ct.source||Ct,ke=ke||"";var wt={replace:function(Qe,Oe){return Oe=Oe.source||Oe,Oe=Oe.replace(R,"$1"),Ct=Ct.replace(Qe,Oe),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 je;try{je=decodeURIComponent(A(wt)).replace(P,"").toLowerCase()}catch(Qe){return null}if(je.indexOf("javascript:")===0||je.indexOf("vbscript:")===0||je.indexOf("data:")===0)return null}ke&&!D.test(wt)&&(wt=W(ke,wt));try{wt=encodeURI(wt).replace(/%25/g,"%")}catch(Qe){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,je;ke<arguments.length;ke++){wt=arguments[ke];for(je in wt)Object.prototype.hasOwnProperty.call(wt,je)&&(Ct[je]=wt[je])}return Ct}function ce(Ct,ke){var wt=Ct.replace(/\|/g,function(Oe,kt,Fe){for(var Dr=!1,St=kt;--St>=0&&Fe[St]==="\\";)Dr=!Dr;return Dr?"|":" |"}),je=wt.split(/ \|/),Qe=0;if(je.length>ke)je.splice(ke);else for(;je.length<ke;)je.push("");for(;Qe<je.length;Qe++)je[Qe]=je[Qe].trim().replace(/\\\|/g,"|");return je}function q(Ct,ke,wt){var je=Ct.length;if(je===0)return"";for(var Qe=0;Qe<je;){var Oe=Ct.charAt(je-Qe-1);if(Oe===ke&&!wt)Qe++;else if(Oe!==ke&&wt)Qe++;else break}return Ct.substr(0,je-Qe)}function J(Ct,ke){if(Ct.indexOf(ke[1])===-1)return-1;for(var wt=Ct.length,je=0,Qe=0;Qe<wt;Qe++)if(Ct[Qe]==="\\")Qe++;else if(Ct[Qe]===ke[0])je++;else if(Ct[Qe]===ke[1]&&(je--,je<0))return Qe;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:M,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,L=ne.escape,Q=ne.findClosingBracket;function de(Ct,ke,wt){var je=ke.href,Qe=ke.title?L(ke.title):null,Oe=Ct[1].replace(/\\([\[\]])/g,"$1");return Ct[0].charAt(0)!=="!"?{type:"link",raw:wt,href:je,title:Qe,text:Oe}:{type:"image",raw:wt,href:je,title:Qe,text:L(Oe)}}function we(Ct,ke){var wt=Ct.match(/^(\s+)(?:```)/);if(wt===null)return ke;var je=wt[1];return ke.split(`
|
|
|
`).map(function(Qe){var Oe=Qe.match(/^\s+/);if(Oe===null)return Qe;var kt=Oe[0];return kt.length>=je.length?Qe.slice(je.length):Qe}).join(`
|
|
|
`)}var Pe=function(){function Ct(wt){this.options=wt||ee}var ke=Ct.prototype;return ke.space=function(je){var Qe=this.rules.block.newline.exec(je);if(Qe)return Qe[0].length>1?{type:"space",raw:Qe[0]}:{raw:`
|
|
|
`}},ke.code=function(je){var Qe=this.rules.block.code.exec(je);if(Qe){var Oe=Qe[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Qe[0],codeBlockStyle:"indented",text:this.options.pedantic?Oe:ie(Oe,`
|
|
|
`)}}},ke.fences=function(je){var Qe=this.rules.block.fences.exec(je);if(Qe){var Oe=Qe[0],kt=we(Oe,Qe[3]||"");return{type:"code",raw:Oe,lang:Qe[2]?Qe[2].trim():Qe[2],text:kt}}},ke.heading=function(je){var Qe=this.rules.block.heading.exec(je);if(Qe){var Oe=Qe[2].trim();if(/#$/.test(Oe)){var kt=ie(Oe,"#");(this.options.pedantic||!kt||/ $/.test(kt))&&(Oe=kt.trim())}return{type:"heading",raw:Qe[0],depth:Qe[1].length,text:Oe}}},ke.nptable=function(je){var Qe=this.rules.block.nptable.exec(je);if(Qe){var Oe={type:"table",header:F(Qe[1].replace(/^ *| *\| *$/g,"")),align:Qe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Qe[3]?Qe[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:Qe[0]};if(Oe.header.length===Oe.align.length){var kt=Oe.align.length,Fe;for(Fe=0;Fe<kt;Fe++)/^ *-+: *$/.test(Oe.align[Fe])?Oe.align[Fe]="right":/^ *:-+: *$/.test(Oe.align[Fe])?Oe.align[Fe]="center":/^ *:-+ *$/.test(Oe.align[Fe])?Oe.align[Fe]="left":Oe.align[Fe]=null;for(kt=Oe.cells.length,Fe=0;Fe<kt;Fe++)Oe.cells[Fe]=F(Oe.cells[Fe],Oe.header.length);return Oe}}},ke.hr=function(je){var Qe=this.rules.block.hr.exec(je);if(Qe)return{type:"hr",raw:Qe[0]}},ke.blockquote=function(je){var Qe=this.rules.block.blockquote.exec(je);if(Qe){var Oe=Qe[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Qe[0],text:Oe}}},ke.list=function(je){var Qe=this.rules.block.list.exec(je);if(Qe){var Oe=Qe[0],kt=Qe[2],Fe=kt.length>1,Dr={type:"list",raw:Oe,ordered:Fe,start:Fe?+kt.slice(0,-1):"",loose:!1,items:[]},St=Qe[0].match(this.rules.block.item),Gr=!1,Qr,Sr,Or,hr,$r,nn,on,sr,Mt,gt=St.length;Or=this.rules.block.listItemStart.exec(St[0]);for(var yt=0;yt<gt;yt++){if(Qr=St[yt],Oe=Qr,this.options.pedantic||(Mt=Qr.match(new RegExp("\\n\\s*\\n {0,"+(Or[0].length-1)+"}\\S")),Mt&&($r=Qr.length-Mt.index+St.slice(yt+1).join(`
|
|
|
`).length,Dr.raw=Dr.raw.substring(0,Dr.raw.length-$r),Qr=Qr.substring(0,Mt.index),Oe=Qr,gt=yt+1)),yt!==gt-1){if(hr=this.rules.block.listItemStart.exec(St[yt+1]),this.options.pedantic?hr[1].length>Or[1].length:hr[1].length>=Or[0].length||hr[1].length>3){St.splice(yt,2,St[yt]+(!this.options.pedantic&&hr[1].length<Or[0].length&&!St[yt].match(/\n$/)?"":`
|
|
|
`)+St[yt+1]),yt--,gt--;continue}else(!this.options.pedantic||this.options.smartLists?hr[2][hr[2].length-1]!==kt[kt.length-1]:Fe===(hr[2].length===1))&&($r=St.slice(yt+1).join(`
|
|
|
`).length,Dr.raw=Dr.raw.substring(0,Dr.raw.length-$r),yt=gt-1);Or=hr}Sr=Qr.length,Qr=Qr.replace(/^ *([*+-]|\d+[.)]) ?/,""),~Qr.indexOf(`
|
|
|
`)&&(Sr-=Qr.length,Qr=this.options.pedantic?Qr.replace(/^ {1,4}/gm,""):Qr.replace(new RegExp("^ {1,"+Sr+"}","gm"),"")),Qr=ie(Qr,`
|
|
|
`),yt!==gt-1&&(Oe=Oe+`
|
|
|
`),nn=Gr||/\n\n(?!\s*$)/.test(Oe),yt!==gt-1&&(Gr=Oe.slice(-2)===`
|
|
|
|
|
|
`,nn||(nn=Gr)),nn&&(Dr.loose=!0),this.options.gfm&&(on=/^\[[ xX]\] /.test(Qr),sr=void 0,on&&(sr=Qr[1]!==" ",Qr=Qr.replace(/^\[[ xX]\] +/,""))),Dr.items.push({type:"list_item",raw:Oe,task:on,checked:sr,loose:nn,text:Qr})}return Dr}},ke.html=function(je){var Qe=this.rules.block.html.exec(je);if(Qe)return{type:this.options.sanitize?"paragraph":"html",raw:Qe[0],pre:!this.options.sanitizer&&(Qe[1]==="pre"||Qe[1]==="script"||Qe[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Qe[0]):L(Qe[0]):Qe[0]}},ke.def=function(je){var Qe=this.rules.block.def.exec(je);if(Qe){Qe[3]&&(Qe[3]=Qe[3].substring(1,Qe[3].length-1));var Oe=Qe[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:Oe,raw:Qe[0],href:Qe[2],title:Qe[3]}}},ke.table=function(je){var Qe=this.rules.block.table.exec(je);if(Qe){var Oe={type:"table",header:F(Qe[1].replace(/^ *| *\| *$/g,"")),align:Qe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Qe[3]?Qe[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(Oe.header.length===Oe.align.length){Oe.raw=Qe[0];var kt=Oe.align.length,Fe;for(Fe=0;Fe<kt;Fe++)/^ *-+: *$/.test(Oe.align[Fe])?Oe.align[Fe]="right":/^ *:-+: *$/.test(Oe.align[Fe])?Oe.align[Fe]="center":/^ *:-+ *$/.test(Oe.align[Fe])?Oe.align[Fe]="left":Oe.align[Fe]=null;for(kt=Oe.cells.length,Fe=0;Fe<kt;Fe++)Oe.cells[Fe]=F(Oe.cells[Fe].replace(/^ *\| *| *\| *$/g,""),Oe.header.length);return Oe}}},ke.lheading=function(je){var Qe=this.rules.block.lheading.exec(je);if(Qe)return{type:"heading",raw:Qe[0],depth:Qe[2].charAt(0)==="="?1:2,text:Qe[1]}},ke.paragraph=function(je){var Qe=this.rules.block.paragraph.exec(je);if(Qe)return{type:"paragraph",raw:Qe[0],text:Qe[1].charAt(Qe[1].length-1)===`
|
|
|
`?Qe[1].slice(0,-1):Qe[1]}},ke.text=function(je){var Qe=this.rules.block.text.exec(je);if(Qe)return{type:"text",raw:Qe[0],text:Qe[0]}},ke.escape=function(je){var Qe=this.rules.inline.escape.exec(je);if(Qe)return{type:"escape",raw:Qe[0],text:L(Qe[1])}},ke.tag=function(je,Qe,Oe){var kt=this.rules.inline.tag.exec(je);if(kt)return!Qe&&/^<a /i.test(kt[0])?Qe=!0:Qe&&/^<\/a>/i.test(kt[0])&&(Qe=!1),!Oe&&/^<(pre|code|kbd|script)(\s|>)/i.test(kt[0])?Oe=!0:Oe&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(kt[0])&&(Oe=!1),{type:this.options.sanitize?"text":"html",raw:kt[0],inLink:Qe,inRawBlock:Oe,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(kt[0]):L(kt[0]):kt[0]}},ke.link=function(je){var Qe=this.rules.inline.link.exec(je);if(Qe){var Oe=Qe[2].trim();if(!this.options.pedantic&&/^</.test(Oe)){if(!/>$/.test(Oe))return;var kt=ie(Oe.slice(0,-1),"\\");if((Oe.length-kt.length)%2===0)return}else{var Fe=Q(Qe[2],"()");if(Fe>-1){var Dr=Qe[0].indexOf("!")===0?5:4,St=Dr+Qe[1].length+Fe;Qe[2]=Qe[2].substring(0,Fe),Qe[0]=Qe[0].substring(0,St).trim(),Qe[3]=""}}var Gr=Qe[2],Qr="";if(this.options.pedantic){var Sr=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Gr);Sr&&(Gr=Sr[1],Qr=Sr[3])}else Qr=Qe[3]?Qe[3].slice(1,-1):"";return Gr=Gr.trim(),/^</.test(Gr)&&(this.options.pedantic&&!/>$/.test(Oe)?Gr=Gr.slice(1):Gr=Gr.slice(1,-1)),de(Qe,{href:Gr&&Gr.replace(this.rules.inline._escapes,"$1"),title:Qr&&Qr.replace(this.rules.inline._escapes,"$1")},Qe[0])}},ke.reflink=function(je,Qe){var Oe;if((Oe=this.rules.inline.reflink.exec(je))||(Oe=this.rules.inline.nolink.exec(je))){var kt=(Oe[2]||Oe[1]).replace(/\s+/g," ");if(kt=Qe[kt.toLowerCase()],!kt||!kt.href){var Fe=Oe[0].charAt(0);return{type:"text",raw:Fe,text:Fe}}return de(Oe,kt,Oe[0])}},ke.emStrong=function(je,Qe,Oe){Oe===void 0&&(Oe="");var kt=this.rules.inline.emStrong.lDelim.exec(je);if(kt&&!(kt[3]&&Oe.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var Fe=kt[1]||kt[2]||"";if(!Fe||Fe&&(Oe===""||this.rules.inline.punctuation.exec(Oe))){var Dr=kt[0].length-1,St,Gr,Qr=Dr,Sr=0,Or=kt[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Or.lastIndex=0,Qe=Qe.slice(-1*je.length+Dr);(kt=Or.exec(Qe))!=null;)if(St=kt[1]||kt[2]||kt[3]||kt[4]||kt[5]||kt[6],!!St){if(Gr=St.length,kt[3]||kt[4]){Qr+=Gr;continue}else if((kt[5]||kt[6])&&Dr%3&&!((Dr+Gr)%3)){Sr+=Gr;continue}if(Qr-=Gr,!(Qr>0))return Gr=Math.min(Gr,Gr+Qr+Sr),Math.min(Dr,Gr)%2?{type:"em",raw:je.slice(0,Dr+kt.index+Gr+1),text:je.slice(1,Dr+kt.index+Gr)}:{type:"strong",raw:je.slice(0,Dr+kt.index+Gr+1),text:je.slice(2,Dr+kt.index+Gr-1)}}}}},ke.codespan=function(je){var Qe=this.rules.inline.code.exec(je);if(Qe){var Oe=Qe[2].replace(/\n/g," "),kt=/[^ ]/.test(Oe),Fe=/^ /.test(Oe)&&/ $/.test(Oe);return kt&&Fe&&(Oe=Oe.substring(1,Oe.length-1)),Oe=L(Oe,!0),{type:"codespan",raw:Qe[0],text:Oe}}},ke.br=function(je){var Qe=this.rules.inline.br.exec(je);if(Qe)return{type:"br",raw:Qe[0]}},ke.del=function(je){var Qe=this.rules.inline.del.exec(je);if(Qe)return{type:"del",raw:Qe[0],text:Qe[2]}},ke.autolink=function(je,Qe){var Oe=this.rules.inline.autolink.exec(je);if(Oe){var kt,Fe;return Oe[2]==="@"?(kt=L(this.options.mangle?Qe(Oe[1]):Oe[1]),Fe="mailto:"+kt):(kt=L(Oe[1]),Fe=kt),{type:"link",raw:Oe[0],text:kt,href:Fe,tokens:[{type:"text",raw:kt,text:kt}]}}},ke.url=function(je,Qe){var Oe;if(Oe=this.rules.inline.url.exec(je)){var kt,Fe;if(Oe[2]==="@")kt=L(this.options.mangle?Qe(Oe[0]):Oe[0]),Fe="mailto:"+kt;else{var Dr;do Dr=Oe[0],Oe[0]=this.rules.inline._backpedal.exec(Oe[0])[0];while(Dr!==Oe[0]);kt=L(Oe[0]),Oe[1]==="www."?Fe="http://"+kt:Fe=kt}return{type:"link",raw:Oe[0],text:kt,href:Fe,tokens:[{type:"text",raw:kt,text:kt}]}}},ke.inlineText=function(je,Qe,Oe){var kt=this.rules.inline.text.exec(je);if(kt){var Fe;return Qe?Fe=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(kt[0]):L(kt[0]):kt[0]:Fe=L(this.options.smartypants?Oe(kt[0]):kt[0]),{type:"text",raw:kt[0],text:Fe}}},Ct}(),Ue=ne.noopTest,Be=ne.edit,Ft=ne.merge,mt={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:Ue,table:Ue,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};mt._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,mt._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,mt.def=Be(mt.def).replace("label",mt._label).replace("title",mt._title).getRegex(),mt.bullet=/(?:[*+-]|\d{1,9}[.)])/,mt.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,mt.item=Be(mt.item,"gm").replace(/bull/g,mt.bullet).getRegex(),mt.listItemStart=Be(/^( *)(bull) */).replace("bull",mt.bullet).getRegex(),mt.list=Be(mt.list).replace(/bull/g,mt.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+mt.def.source+")").getRegex(),mt._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",mt._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,mt.html=Be(mt.html,"i").replace("comment",mt._comment).replace("tag",mt._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),mt.paragraph=Be(mt._paragraph).replace("hr",mt.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",mt._tag).getRegex(),mt.blockquote=Be(mt.blockquote).replace("paragraph",mt.paragraph).getRegex(),mt.normal=Ft({},mt),mt.gfm=Ft({},mt.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*|$)"}),mt.gfm.nptable=Be(mt.gfm.nptable).replace("hr",mt.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",mt._tag).getRegex(),mt.gfm.table=Be(mt.gfm.table).replace("hr",mt.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",mt._tag).getRegex(),mt.pedantic=Ft({},mt.normal,{html:Be(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",mt._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:Ue,paragraph:Be(mt.normal._paragraph).replace("hr",mt.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",mt.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Pt={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ue,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:Ue,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};Pt._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Pt.punctuation=Be(Pt.punctuation).replace(/punctuation/g,Pt._punctuation).getRegex(),Pt.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Pt.escapedEmSt=/\\\*|\\_/g,Pt._comment=Be(mt._comment).replace("(?:-->|$)","-->").getRegex(),Pt.emStrong.lDelim=Be(Pt.emStrong.lDelim).replace(/punct/g,Pt._punctuation).getRegex(),Pt.emStrong.rDelimAst=Be(Pt.emStrong.rDelimAst,"g").replace(/punct/g,Pt._punctuation).getRegex(),Pt.emStrong.rDelimUnd=Be(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=Be(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=Be(Pt.tag).replace("comment",Pt._comment).replace("attribute",Pt._attribute).getRegex(),Pt._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Pt._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Pt._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Pt.link=Be(Pt.link).replace("label",Pt._label).replace("href",Pt._href).replace("title",Pt._title).getRegex(),Pt.reflink=Be(Pt.reflink).replace("label",Pt._label).getRegex(),Pt.reflinkSearch=Be(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:Be(/^!?\[(label)\]\((.*?)\)/).replace("label",Pt._label).getRegex(),reflink:Be(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Pt._label).getRegex()}),Pt.gfm=Ft({},Pt.normal,{escape:Be(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=Be(Pt.gfm.url,"i").replace("email",Pt.gfm._extended_email).getRegex(),Pt.breaks=Ft({},Pt.gfm,{br:Be(Pt.br).replace("{2,}","*").getRegex(),text:Be(Pt.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Qt={block:mt,inline:Pt},qt=Pe,Jt=c.exports.defaults,Xe=Qt.block,It=Qt.inline,Ut=ne.repeatString;function ut(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,je,Qe=Ct.length;for(wt=0;wt<Qe;wt++)je=Ct.charCodeAt(wt),Math.random()>.5&&(je="x"+je.toString(16)),ke+="&#"+je+";";return ke}var pt=function(){function Ct(wt){this.tokens=[],this.tokens.links=Object.create(null),this.options=wt||Jt,this.options.tokenizer=this.options.tokenizer||new qt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var je={block:Xe.normal,inline:It.normal};this.options.pedantic?(je.block=Xe.pedantic,je.inline=It.pedantic):this.options.gfm&&(je.block=Xe.gfm,this.options.breaks?je.inline=It.breaks:je.inline=It.gfm),this.tokenizer.rules=je}Ct.lex=function(je,Qe){var Oe=new Ct(Qe);return Oe.lex(je)},Ct.lexInline=function(je,Qe){var Oe=new Ct(Qe);return Oe.inlineTokens(je)};var ke=Ct.prototype;return ke.lex=function(je){return je=je.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(je,this.tokens,!0),this.inline(this.tokens),this.tokens},ke.blockTokens=function(je,Qe,Oe){Qe===void 0&&(Qe=[]),Oe===void 0&&(Oe=!0),this.options.pedantic&&(je=je.replace(/^ +$/gm,""));for(var kt,Fe,Dr,St;je;){if(kt=this.tokenizer.space(je)){je=je.substring(kt.raw.length),kt.type&&Qe.push(kt);continue}if(kt=this.tokenizer.code(je)){je=je.substring(kt.raw.length),St=Qe[Qe.length-1],St&&St.type==="paragraph"?(St.raw+=`
|
|
|
`+kt.raw,St.text+=`
|
|
|
`+kt.text):Qe.push(kt);continue}if(kt=this.tokenizer.fences(je)){je=je.substring(kt.raw.length),Qe.push(kt);continue}if(kt=this.tokenizer.heading(je)){je=je.substring(kt.raw.length),Qe.push(kt);continue}if(kt=this.tokenizer.nptable(je)){je=je.substring(kt.raw.length),Qe.push(kt);continue}if(kt=this.tokenizer.hr(je)){je=je.substring(kt.raw.length),Qe.push(kt);continue}if(kt=this.tokenizer.blockquote(je)){je=je.substring(kt.raw.length),kt.tokens=this.blockTokens(kt.text,[],Oe),Qe.push(kt);continue}if(kt=this.tokenizer.list(je)){for(je=je.substring(kt.raw.length),Dr=kt.items.length,Fe=0;Fe<Dr;Fe++)kt.items[Fe].tokens=this.blockTokens(kt.items[Fe].text,[],!1);Qe.push(kt);continue}if(kt=this.tokenizer.html(je)){je=je.substring(kt.raw.length),Qe.push(kt);continue}if(Oe&&(kt=this.tokenizer.def(je))){je=je.substring(kt.raw.length),this.tokens.links[kt.tag]||(this.tokens.links[kt.tag]={href:kt.href,title:kt.title});continue}if(kt=this.tokenizer.table(je)){je=je.substring(kt.raw.length),Qe.push(kt);continue}if(kt=this.tokenizer.lheading(je)){je=je.substring(kt.raw.length),Qe.push(kt);continue}if(Oe&&(kt=this.tokenizer.paragraph(je))){je=je.substring(kt.raw.length),Qe.push(kt);continue}if(kt=this.tokenizer.text(je)){je=je.substring(kt.raw.length),St=Qe[Qe.length-1],St&&St.type==="text"?(St.raw+=`
|
|
|
`+kt.raw,St.text+=`
|
|
|
`+kt.text):Qe.push(kt);continue}if(je){var Gr="Infinite loop on byte: "+je.charCodeAt(0);if(this.options.silent){console.error(Gr);break}else throw new Error(Gr)}}return Qe},ke.inline=function(je){var Qe,Oe,kt,Fe,Dr,St,Gr=je.length;for(Qe=0;Qe<Gr;Qe++)switch(St=je[Qe],St.type){case"paragraph":case"text":case"heading":{St.tokens=[],this.inlineTokens(St.text,St.tokens);break}case"table":{for(St.tokens={header:[],cells:[]},Fe=St.header.length,Oe=0;Oe<Fe;Oe++)St.tokens.header[Oe]=[],this.inlineTokens(St.header[Oe],St.tokens.header[Oe]);for(Fe=St.cells.length,Oe=0;Oe<Fe;Oe++)for(Dr=St.cells[Oe],St.tokens.cells[Oe]=[],kt=0;kt<Dr.length;kt++)St.tokens.cells[Oe][kt]=[],this.inlineTokens(Dr[kt],St.tokens.cells[Oe][kt]);break}case"blockquote":{this.inline(St.tokens);break}case"list":{for(Fe=St.items.length,Oe=0;Oe<Fe;Oe++)this.inline(St.items[Oe].tokens);break}}return je},ke.inlineTokens=function(je,Qe,Oe,kt){Qe===void 0&&(Qe=[]),Oe===void 0&&(Oe=!1),kt===void 0&&(kt=!1);var Fe,Dr,St=je,Gr,Qr,Sr;if(this.tokens.links){var Or=Object.keys(this.tokens.links);if(Or.length>0)for(;(Gr=this.tokenizer.rules.inline.reflinkSearch.exec(St))!=null;)Or.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(;je;){if(Qr||(Sr=""),Qr=!1,Fe=this.tokenizer.escape(je)){je=je.substring(Fe.raw.length),Qe.push(Fe);continue}if(Fe=this.tokenizer.tag(je,Oe,kt)){je=je.substring(Fe.raw.length),Oe=Fe.inLink,kt=Fe.inRawBlock;var hr=Qe[Qe.length-1];hr&&Fe.type==="text"&&hr.type==="text"?(hr.raw+=Fe.raw,hr.text+=Fe.text):Qe.push(Fe);continue}if(Fe=this.tokenizer.link(je)){je=je.substring(Fe.raw.length),Fe.type==="link"&&(Fe.tokens=this.inlineTokens(Fe.text,[],!0,kt)),Qe.push(Fe);continue}if(Fe=this.tokenizer.reflink(je,this.tokens.links)){je=je.substring(Fe.raw.length);var $r=Qe[Qe.length-1];Fe.type==="link"?(Fe.tokens=this.inlineTokens(Fe.text,[],!0,kt),Qe.push(Fe)):$r&&Fe.type==="text"&&$r.type==="text"?($r.raw+=Fe.raw,$r.text+=Fe.text):Qe.push(Fe);continue}if(Fe=this.tokenizer.emStrong(je,St,Sr)){je=je.substring(Fe.raw.length),Fe.tokens=this.inlineTokens(Fe.text,[],Oe,kt),Qe.push(Fe);continue}if(Fe=this.tokenizer.codespan(je)){je=je.substring(Fe.raw.length),Qe.push(Fe);continue}if(Fe=this.tokenizer.br(je)){je=je.substring(Fe.raw.length),Qe.push(Fe);continue}if(Fe=this.tokenizer.del(je)){je=je.substring(Fe.raw.length),Fe.tokens=this.inlineTokens(Fe.text,[],Oe,kt),Qe.push(Fe);continue}if(Fe=this.tokenizer.autolink(je,bt)){je=je.substring(Fe.raw.length),Qe.push(Fe);continue}if(!Oe&&(Fe=this.tokenizer.url(je,bt))){je=je.substring(Fe.raw.length),Qe.push(Fe);continue}if(Fe=this.tokenizer.inlineText(je,kt,ut)){je=je.substring(Fe.raw.length),Fe.raw.slice(-1)!=="_"&&(Sr=Fe.raw.slice(-1)),Qr=!0,Dr=Qe[Qe.length-1],Dr&&Dr.type==="text"?(Dr.raw+=Fe.raw,Dr.text+=Fe.text):Qe.push(Fe);continue}if(je){var nn="Infinite loop on byte: "+je.charCodeAt(0);if(this.options.silent){console.error(nn);break}else throw new Error(nn)}}return Qe},e(Ct,null,[{key:"rules",get:function(){return{block:Xe,inline:It}}}]),Ct}(),tt=c.exports.defaults,ze=ne.cleanUrl,ye=ne.escape,Te=function(){function Ct(wt){this.options=wt||tt}var ke=Ct.prototype;return ke.code=function(je,Qe,Oe){var kt=(Qe||"").match(/\S*/)[0];if(this.options.highlight){var Fe=this.options.highlight(je,kt);Fe!=null&&Fe!==je&&(Oe=!0,je=Fe)}return je=je.replace(/\n$/,"")+`
|
|
|
`,kt?'<pre><code class="'+this.options.langPrefix+ye(kt,!0)+'">'+(Oe?je:ye(je,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(Oe?je:ye(je,!0))+`</code></pre>
|
|
|
`},ke.blockquote=function(je){return`<blockquote>
|
|
|
`+je+`</blockquote>
|
|
|
`},ke.html=function(je){return je},ke.heading=function(je,Qe,Oe,kt){return this.options.headerIds?"<h"+Qe+' id="'+this.options.headerPrefix+kt.slug(Oe)+'">'+je+"</h"+Qe+`>
|
|
|
`:"<h"+Qe+">"+je+"</h"+Qe+`>
|
|
|
`},ke.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},ke.list=function(je,Qe,Oe){var kt=Qe?"ol":"ul",Fe=Qe&&Oe!==1?' start="'+Oe+'"':"";return"<"+kt+Fe+`>
|
|
|
`+je+"</"+kt+`>
|
|
|
`},ke.listitem=function(je){return"<li>"+je+`</li>
|
|
|
`},ke.checkbox=function(je){return"<input "+(je?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},ke.paragraph=function(je){return"<p>"+je+`</p>
|
|
|
`},ke.table=function(je,Qe){return Qe&&(Qe="<tbody>"+Qe+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+je+`</thead>
|
|
|
`+Qe+`</table>
|
|
|
`},ke.tablerow=function(je){return`<tr>
|
|
|
`+je+`</tr>
|
|
|
`},ke.tablecell=function(je,Qe){var Oe=Qe.header?"th":"td",kt=Qe.align?"<"+Oe+' align="'+Qe.align+'">':"<"+Oe+">";return kt+je+"</"+Oe+`>
|
|
|
`},ke.strong=function(je){return"<strong>"+je+"</strong>"},ke.em=function(je){return"<em>"+je+"</em>"},ke.codespan=function(je){return"<code>"+je+"</code>"},ke.br=function(){return this.options.xhtml?"<br/>":"<br>"},ke.del=function(je){return"<del>"+je+"</del>"},ke.link=function(je,Qe,Oe){if(je=ze(this.options.sanitize,this.options.baseUrl,je),je===null)return Oe;var kt='<a href="'+ye(je)+'"';return Qe&&(kt+=' title="'+Qe+'"'),kt+=">"+Oe+"</a>",kt},ke.image=function(je,Qe,Oe){if(je=ze(this.options.sanitize,this.options.baseUrl,je),je===null)return Oe;var kt='<img src="'+je+'" alt="'+Oe+'"';return Qe&&(kt+=' title="'+Qe+'"'),kt+=this.options.xhtml?"/>":">",kt},ke.text=function(je){return je},Ct}(),Me=function(){function Ct(){}var ke=Ct.prototype;return ke.strong=function(je){return je},ke.em=function(je){return je},ke.codespan=function(je){return je},ke.del=function(je){return je},ke.html=function(je){return je},ke.text=function(je){return je},ke.link=function(je,Qe,Oe){return""+Oe},ke.image=function(je,Qe,Oe){return""+Oe},ke.br=function(){return""},Ct}(),$e=function(){function Ct(){this.seen={}}var ke=Ct.prototype;return ke.serialize=function(je){return je.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},ke.getNextSafeSlug=function(je,Qe){var Oe=je,kt=0;if(this.seen.hasOwnProperty(Oe)){kt=this.seen[je];do kt++,Oe=je+"-"+kt;while(this.seen.hasOwnProperty(Oe))}return Qe||(this.seen[je]=kt,this.seen[Oe]=0),Oe},ke.slug=function(je,Qe){Qe===void 0&&(Qe={});var Oe=this.serialize(je);return this.getNextSafeSlug(Oe,Qe.dryrun)},Ct}(),We=Te,it=Me,ft=$e,Vt=c.exports.defaults,Ht=ne.unescape,De=function(){function Ct(wt){this.options=wt||Vt,this.options.renderer=this.options.renderer||new We,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new it,this.slugger=new ft}Ct.parse=function(je,Qe){var Oe=new Ct(Qe);return Oe.parse(je)},Ct.parseInline=function(je,Qe){var Oe=new Ct(Qe);return Oe.parseInline(je)};var ke=Ct.prototype;return ke.parse=function(je,Qe){Qe===void 0&&(Qe=!0);var Oe="",kt,Fe,Dr,St,Gr,Qr,Sr,Or,hr,$r,nn,on,sr,Mt,gt,yt,Nt,Cr,vr=je.length;for(kt=0;kt<vr;kt++)switch($r=je[kt],$r.type){case"space":continue;case"hr":{Oe+=this.renderer.hr();continue}case"heading":{Oe+=this.renderer.heading(this.parseInline($r.tokens),$r.depth,Ht(this.parseInline($r.tokens,this.textRenderer)),this.slugger);continue}case"code":{Oe+=this.renderer.code($r.text,$r.lang,$r.escaped);continue}case"table":{for(Or="",Sr="",St=$r.header.length,Fe=0;Fe<St;Fe++)Sr+=this.renderer.tablecell(this.parseInline($r.tokens.header[Fe]),{header:!0,align:$r.align[Fe]});for(Or+=this.renderer.tablerow(Sr),hr="",St=$r.cells.length,Fe=0;Fe<St;Fe++){for(Qr=$r.tokens.cells[Fe],Sr="",Gr=Qr.length,Dr=0;Dr<Gr;Dr++)Sr+=this.renderer.tablecell(this.parseInline(Qr[Dr]),{header:!1,align:$r.align[Dr]});hr+=this.renderer.tablerow(Sr)}Oe+=this.renderer.table(Or,hr);continue}case"blockquote":{hr=this.parse($r.tokens),Oe+=this.renderer.blockquote(hr);continue}case"list":{for(nn=$r.ordered,on=$r.start,sr=$r.loose,St=$r.items.length,hr="",Fe=0;Fe<St;Fe++)gt=$r.items[Fe],yt=gt.checked,Nt=gt.task,Mt="",gt.task&&(Cr=this.renderer.checkbox(yt),sr?gt.tokens.length>0&>.tokens[0].type==="text"?(gt.tokens[0].text=Cr+" "+gt.tokens[0].text,gt.tokens[0].tokens&>.tokens[0].tokens.length>0&>.tokens[0].tokens[0].type==="text"&&(gt.tokens[0].tokens[0].text=Cr+" "+gt.tokens[0].tokens[0].text)):gt.tokens.unshift({type:"text",text:Cr}):Mt+=Cr),Mt+=this.parse(gt.tokens,sr),hr+=this.renderer.listitem(Mt,Nt,yt);Oe+=this.renderer.list(hr,nn,on);continue}case"html":{Oe+=this.renderer.html($r.text);continue}case"paragraph":{Oe+=this.renderer.paragraph(this.parseInline($r.tokens));continue}case"text":{for(hr=$r.tokens?this.parseInline($r.tokens):$r.text;kt+1<vr&&je[kt+1].type==="text";)$r=je[++kt],hr+=`
|
|
|
`+($r.tokens?this.parseInline($r.tokens):$r.text);Oe+=Qe?this.renderer.paragraph(hr):hr;continue}default:{var lt='Token with "'+$r.type+'" type was not found.';if(this.options.silent){console.error(lt);return}else throw new Error(lt)}}return Oe},ke.parseInline=function(je,Qe){Qe=Qe||this.renderer;var Oe="",kt,Fe,Dr=je.length;for(kt=0;kt<Dr;kt++)switch(Fe=je[kt],Fe.type){case"escape":{Oe+=Qe.text(Fe.text);break}case"html":{Oe+=Qe.html(Fe.text);break}case"link":{Oe+=Qe.link(Fe.href,Fe.title,this.parseInline(Fe.tokens,Qe));break}case"image":{Oe+=Qe.image(Fe.href,Fe.title,Fe.text);break}case"strong":{Oe+=Qe.strong(this.parseInline(Fe.tokens,Qe));break}case"em":{Oe+=Qe.em(this.parseInline(Fe.tokens,Qe));break}case"codespan":{Oe+=Qe.codespan(Fe.text);break}case"br":{Oe+=Qe.br();break}case"del":{Oe+=Qe.del(this.parseInline(Fe.tokens,Qe));break}case"text":{Oe+=Qe.text(Fe.text);break}default:{var St='Token with "'+Fe.type+'" type was not found.';if(this.options.silent){console.error(St);return}else throw new Error(St)}}return Oe},Ct}(),et=pt,Wt=De,Rt=Pe,Zt=Te,Bt=Me,At=$e,Kt=ne.merge,Ge=ne.checkSanitizeDeprecation,fe=ne.escape,_e=c.exports.getDefaults,Ot=c.exports.changeDefaults,Ie=c.exports.defaults;function ht(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({},ht.defaults,ke||{}),Ge(ke),wt){var je=ke.highlight,Qe;try{Qe=et.lex(Ct,ke)}catch(Dr){return wt(Dr)}var Oe=function(St){var Gr;if(!St)try{ke.walkTokens&&ht.walkTokens(Qe,ke.walkTokens),Gr=Wt.parse(Qe,ke)}catch(Qr){St=Qr}return ke.highlight=je,St?wt(St):wt(null,Gr)};if(!je||je.length<3||(delete ke.highlight,!Qe.length))return Oe();var kt=0;ht.walkTokens(Qe,function(Dr){Dr.type==="code"&&(kt++,setTimeout(function(){je(Dr.text,Dr.lang,function(St,Gr){if(St)return Oe(St);Gr!=null&&Gr!==Dr.text&&(Dr.text=Gr,Dr.escaped=!0),kt--,kt===0&&Oe()})},0))}),kt===0&&Oe();return}try{var Fe=et.lex(Ct,ke);return ke.walkTokens&&ht.walkTokens(Fe,ke.walkTokens),Wt.parse(Fe,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}}ht.options=ht.setOptions=function(Ct){return Kt(ht.defaults,Ct),Ot(ht.defaults),ht},ht.getDefaults=_e,ht.defaults=Ie,ht.use=function(Ct){var ke=Kt({},Ct);if(Ct.renderer&&function(){var je=ht.defaults.renderer||new Zt,Qe=function(Fe){var Dr=je[Fe];je[Fe]=function(){for(var St=arguments.length,Gr=new Array(St),Qr=0;Qr<St;Qr++)Gr[Qr]=arguments[Qr];var Sr=Ct.renderer[Fe].apply(je,Gr);return Sr===!1&&(Sr=Dr.apply(je,Gr)),Sr}};for(var Oe in Ct.renderer)Qe(Oe);ke.renderer=je}(),Ct.tokenizer&&function(){var je=ht.defaults.tokenizer||new Rt,Qe=function(Fe){var Dr=je[Fe];je[Fe]=function(){for(var St=arguments.length,Gr=new Array(St),Qr=0;Qr<St;Qr++)Gr[Qr]=arguments[Qr];var Sr=Ct.tokenizer[Fe].apply(je,Gr);return Sr===!1&&(Sr=Dr.apply(je,Gr)),Sr}};for(var Oe in Ct.tokenizer)Qe(Oe);ke.tokenizer=je}(),Ct.walkTokens){var wt=ht.defaults.walkTokens;ke.walkTokens=function(je){Ct.walkTokens(je),wt&&wt(je)}}ht.setOptions(ke)},ht.walkTokens=function(Ct,ke){for(var wt=l(Ct),je;!(je=wt()).done;){var Qe=je.value;switch(ke(Qe),Qe.type){case"table":{for(var Oe=l(Qe.tokens.header),kt;!(kt=Oe()).done;){var Fe=kt.value;ht.walkTokens(Fe,ke)}for(var Dr=l(Qe.tokens.cells),St;!(St=Dr()).done;)for(var Gr=St.value,Qr=l(Gr),Sr;!(Sr=Qr()).done;){var Or=Sr.value;ht.walkTokens(Or,ke)}break}case"list":{ht.walkTokens(Qe.items,ke);break}default:Qe.tokens&&ht.walkTokens(Qe.tokens,ke)}}},ht.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({},ht.defaults,ke||{}),Ge(ke);try{var wt=et.lexInline(Ct,ke);return ke.walkTokens&&ht.walkTokens(wt,ke.walkTokens),Wt.parseInline(wt,ke)}catch(je){if(je.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,ke.silent)return"<p>An error occurred:</p><pre>"+fe(je.message+"",!0)+"</pre>";throw je}},ht.Parser=Wt,ht.parser=Wt.parse,ht.Renderer=Zt,ht.TextRenderer=Bt,ht.Lexer=et,ht.lexer=et.lex,ht.Tokenizer=Rt,ht.Slugger=At,ht.parse=ht;var zt=ht;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=M(oe,ae));try{ae=encodeURI(ae).replace(/%25/g,"%")}catch(ce){return null}return ae}const _={},b=/^[^:]+:\/*[^/]*$/,A=/^([^:]+:)[\s\S]*$/,R=/^([^:]+:\/*[^/]*)[\s\S]*$/;function M(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:M,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,M=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=M(x,p,y,_,u[b+5],4,-378558),_=M(_,x,p,y,u[b+8],11,-2022574463),y=M(y,_,x,p,u[b+11],16,1839030562),p=M(p,y,_,x,u[b+14],23,-35309556),x=M(x,p,y,_,u[b+1],4,-1530992060),_=M(_,x,p,y,u[b+4],11,1272893353),y=M(y,_,x,p,u[b+7],16,-155497632),p=M(p,y,_,x,u[b+10],23,-1094730640),x=M(x,p,y,_,u[b+13],4,681279174),_=M(_,x,p,y,u[b+0],11,-358537222),y=M(y,_,x,p,u[b+3],16,-722521979),p=M(p,y,_,x,u[b+6],23,76029189),x=M(x,p,y,_,u[b+9],4,-640364487),_=M(_,x,p,y,u[b+12],11,-421815835),y=M(y,_,x,p,u[b+15],16,530742520),p=M(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 M(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(M,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,M]=A;const P=["codicon","codicon-"+R];return M&&P.push("codicon-modifier-"+M.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,L;return L=le(Q=>{if(!F)return L?L.dispose():F=!0,ne.call(ee,Q)},null,ie),F&&L.dispose(),L}}b.once=A;function R(le,ne){return j((ee,ie=null,F)=>le(L=>ee.call(ie,ne(L)),null,F))}b.map=R;function M(le,ne){return j((ee,ie=null,F)=>le(L=>{ne(L),ee.call(ie,L)},null,F))}b.forEach=M;function P(le,ne){return j((ee,ie=null,F)=>le(L=>ne(L)&&ee.call(ie,L),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(L=>ne.call(ee,L),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 L,Q,de,we=0;const Pe=new a({leakWarningThreshold:F,onFirstListenerAdd(){L=le(Ue=>{we++,Q=ne(Q,Ue),ie&&!de&&(Pe.fire(Q),Q=void 0),clearTimeout(de),de=setTimeout(()=>{const Be=Q;Q=void 0,de=void 0,(!ie||we>1)&&Pe.fire(Be),we=0},ee)})},onLastListenerRemove(){L.dispose()}});return Pe.event}b.debounce=K;function V(le,ne=(ee,ie)=>ee===ie){let ee=!0,ie;return P(le,F=>{const L=ee||!ne(F,ie);return ee=!1,ie=F,L})}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 L=()=>{ie&&ie.forEach(de=>Q.fire(de)),ie=null},Q=new a({onFirstListenerAdd(){F||(F=le(de=>Q.fire(de)))},onFirstListenerDidAdd(){ie&&(ne?setTimeout(L):L())},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(M(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),L=()=>le.removeListener(ne,ie),Q=new a({onFirstListenerAdd:F,onLastListenerRemove:L});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),L=()=>le.removeEventListener(ne,ie),Q=new a({onFirstListenerAdd:F,onLastListenerRemove:L});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 M=new Error().stack.split(`
|
|
|
`).slice(3).join(`
|
|
|
`),P=this._stacks.get(M)||0;if(this._stacks.set(M,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(M)||0;this._stacks.set(M,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,M)=>{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 M instanceof i.SL?M.add(j):Array.isArray(M)&&M.push(j),j}),this._event}fire(A){var R,M;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)}}(M=this._perfMon)===null||M===void 0||M.stop()}}dispose(){var A,R,M,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=(M=this._options)===null||M===void 0?void 0:M.onLastListenerRemove)===null||P===void 0||P.call(M),(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,M,P)=>A(D=>{const B=this.buffers[this.buffers.length-1];B?B.push(()=>R.call(M,D)):R.call(M,D)},void 0,P)}bufferEvents(A){const R=[];this.buffers.push(R);const M=A();return this.buffers.pop(),R.forEach(P=>P()),M}}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*M(B,$,j=B.length){for($<0&&($+=B.length),j<0?j+=B.length:j>B.length&&(j=B.length);$<j;$++)yield B[$]}i.slice=M;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 M},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($&&$!==M.None)try{$[B]=!0}catch(K){}}markAsDisposed($){if($&&$!==M.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 M{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($)}}M.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 M=typeof((i=R==null?void 0:R.versions)===null||i===void 0?void 0:i.electron)=="string"&&R.type==="renderer";if(typeof navigator=="object"&&!M)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,L=ne.length;F<L;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 we},C8:function(){return mt},GF:function(){return p},HO:function(){return ee},IO:function(){return y},K7:function(){return Ft},Kw:function(){return qt},LC:function(){return A},Mh:function(){return oe},P1:function(){return ae},PJ:function(){return Jt},Qe:function(){return Pe},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 Ue},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 M},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 Be},zY:function(){return B}});function r(ye){return!ye||typeof ye!="string"?!0:ye.trim().length===0}const i=/{(\d+)}/g;function l(ye,...Te){return Te.length===0?ye:ye.replace(i,function(Me,$e){const We=parseInt($e,10);return isNaN(We)||We<0||We>=Te.length?Me:Te[We]})}function c(ye){return ye.replace(/[<>&]/g,function(Te){switch(Te){case"<":return"<";case">":return">";case"&":return"&";default:return Te}})}function f(ye){return ye.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function o(ye,Te=" "){const Me=h(ye,Te);return u(Me,Te)}function h(ye,Te){if(!ye||!Te)return ye;const Me=Te.length;if(Me===0||ye.length===0)return ye;let $e=0;for(;ye.indexOf(Te,$e)===$e;)$e=$e+Me;return ye.substring($e)}function u(ye,Te){if(!ye||!Te)return ye;const Me=Te.length,$e=ye.length;if(Me===0||$e===0)return ye;let We=$e,it=-1;for(;it=ye.lastIndexOf(Te,We-1),!(it===-1||it+Me!==We);){if(it===0)return"";We=it}return ye.substring(0,We)}function a(ye){return ye.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function x(ye){return ye.replace(/\*/g,"")}function p(ye,Te,Me={}){if(!ye)throw new Error("Cannot create regex from empty string");Te||(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 Te=0,Me=ye.length;Te<Me;Te++){const $e=ye.charCodeAt(Te);if($e!==32&&$e!==9)return Te}return-1}function R(ye,Te=0,Me=ye.length){for(let $e=Te;$e<Me;$e++){const We=ye.charCodeAt($e);if(We!==32&&We!==9)return ye.substring(Te,$e)}return ye.substring(Te,Me)}function M(ye,Te=ye.length-1){for(let Me=Te;Me>=0;Me--){const $e=ye.charCodeAt(Me);if($e!==32&&$e!==9)return Me}return-1}function P(ye,Te){return ye<Te?-1:ye>Te?1:0}function D(ye,Te,Me=0,$e=ye.length,We=0,it=Te.length){for(;Me<$e&&We<it;Me++,We++){let Ht=ye.charCodeAt(Me),De=Te.charCodeAt(We);if(Ht<De)return-1;if(Ht>De)return 1}const ft=$e-Me,Vt=it-We;return ft<Vt?-1:ft>Vt?1:0}function B(ye,Te){return $(ye,Te,0,ye.length,0,Te.length)}function $(ye,Te,Me=0,$e=ye.length,We=0,it=Te.length){for(;Me<$e&&We<it;Me++,We++){let Ht=ye.charCodeAt(Me),De=Te.charCodeAt(We);if(Ht===De)continue;if(Ht>=128||De>=128)return D(ye.toLowerCase(),Te.toLowerCase(),Me,$e,We,it);j(Ht)&&(Ht-=32),j(De)&&(De-=32);const et=Ht-De;if(et!==0)return et}const ft=$e-Me,Vt=it-We;return ft<Vt?-1:ft>Vt?1:0}function j(ye){return ye>=97&&ye<=122}function K(ye){return ye>=65&&ye<=90}function V(ye,Te){return ye.length===Te.length&&$(ye,Te)===0}function W(ye,Te){const Me=Te.length;return Te.length>ye.length?!1:$(ye,Te,0,Me)===0}function oe(ye,Te){let Me,$e=Math.min(ye.length,Te.length);for(Me=0;Me<$e;Me++)if(ye.charCodeAt(Me)!==Te.charCodeAt(Me))return Me;return $e}function ae(ye,Te){let Me,$e=Math.min(ye.length,Te.length);const We=ye.length-1,it=Te.length-1;for(Me=0;Me<$e;Me++)if(ye.charCodeAt(We-Me)!==Te.charCodeAt(it-Me))return Me;return $e}function ce(ye){return 55296<=ye&&ye<=56319}function q(ye){return 56320<=ye&&ye<=57343}function J(ye,Te){return(ye-55296<<10)+(Te-56320)+65536}function Y(ye,Te,Me){const $e=ye.charCodeAt(Me);if(ce($e)&&Me+1<Te){const We=ye.charCodeAt(Me+1);if(q(We))return J($e,We)}return $e}function le(ye,Te){const Me=ye.charCodeAt(Te-1);if(q(Me)&&Te>1){const $e=ye.charCodeAt(Te-2);if(ce($e))return J($e,Me)}return Me}function ne(ye,Te){const Me=Ut.getInstance(),$e=Te,We=ye.length,it=Y(ye,We,Te);Te+=it>=65536?2:1;let ft=Me.getGraphemeBreakType(it);for(;Te<We;){const Vt=Y(ye,We,Te),Ht=Me.getGraphemeBreakType(Vt);if(It(ft,Ht))break;Te+=Vt>=65536?2:1,ft=Ht}return Te-$e}function ee(ye,Te){const Me=Ut.getInstance(),$e=Te,We=le(ye,Te);Te-=We>=65536?2:1;let it=Me.getGraphemeBreakType(We);for(;Te>0;){const ft=le(ye,Te),Vt=Me.getGraphemeBreakType(ft);if(It(Vt,it))break;Te-=ft>=65536?2:1,it=Vt}return $e-Te}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 L=/(?:[\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 L.test(ye)}const de=/^[\t\n\r\x20-\x7E]*$/;function we(ye){return de.test(ye)}const Pe=/[\u2028\u2029]/;function Ue(ye){return Pe.test(ye)}function Be(ye){for(let Te=0,Me=ye.length;Te<Me;Te++)if(Ft(ye.charCodeAt(Te)))return!0;return!1}function Ft(ye){return ye=+ye,ye>=11904&&ye<=55215||ye>=63744&&ye<=64255||ye>=65281&&ye<=65374}function mt(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 qt(ye,Te=!1){return ye?(Te&&(ye=ye.replace(/\\./g,"")),ye.toLowerCase()!==ye):!1}function Jt(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,Te){return ye===0?Te!==5&&Te!==7:ye===2&&Te===3?!1:ye===4||ye===2||ye===3||Te===4||Te===2||Te===3?!0:!(ye===8&&(Te===8||Te===9||Te===11||Te===12)||(ye===11||ye===9)&&(Te===9||Te===10)||(ye===12||ye===10)&&Te===10||Te===5||Te===13||Te===7||ye===1||ye===13&&Te===14||ye===6&&Te===6)}class Ut{constructor(){this._data=ut()}static getInstance(){return Ut._INSTANCE||(Ut._INSTANCE=new Ut),Ut._INSTANCE}getGraphemeBreakType(Te){if(Te<32)return Te===10?3:Te===13?2:4;if(Te<127)return 0;const Me=this._data,$e=Me.length/3;let We=1;for(;We<=$e;)if(Te<Me[3*We])We=2*We;else if(Te>Me[3*We+1])We=2*We+1;else return Me[3*We+2];return 0}}Ut._INSTANCE=null;function ut(){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,Te){if(ye===0)return 0;const Me=pt(ye,Te);if(Me!==void 0)return Me;const $e=le(Te,ye);return ye-=tt($e),ye}function pt(ye,Te){let Me=le(Te,ye);for(ye-=tt(Me);ze(Me)||Me===65039||Me===8419;){if(ye===0)return;Me=le(Te,ye),ye-=tt(Me)}if(mt(Me)){if(ye>=0){const $e=le(Te,ye);$e===8205&&(ye-=tt($e))}return ye}}function tt(ye){return ye>=65536?2:1}function ze(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 M},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 M(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 M},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 M 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 M of a.description.args)A.push(M.constraint);const R=a.handler;a.handler=function(M,...P){return(0,f.D8)(P,A),R(M,...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,L){return _.create(F,L)}static regex(F,L){return K.create(F,L)}static not(F){return M.create(F)}static and(...F){return oe.create(F,null)}static or(...F){return ae.create(F,null,!0)}static deserialize(F,L=!1){if(F)return this._deserializeOrExpression(F,L)}static _deserializeOrExpression(F,L){let Q=F.split("||");return ae.create(Q.map(de=>this._deserializeAndExpression(de,L)),null,!0)}static _deserializeAndExpression(F,L){let Q=F.split("&&");return oe.create(Q.map(de=>this._deserializeOne(de,L)),null)}static _deserializeOne(F,L){if(F=F.trim(),F.indexOf("!=")>=0){let Q=F.split("!=");return R.create(Q[0].trim(),this._deserializeValue(Q[1],L))}if(F.indexOf("==")>=0){let Q=F.split("==");return _.create(Q[0].trim(),this._deserializeValue(Q[1],L))}if(F.indexOf("=~")>=0){let Q=F.split("=~");return K.create(Q[0].trim(),this._deserializeRegexValue(Q[1],L))}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)?M.create(F.substr(1).trim()):y.create(F)}static _deserializeValue(F,L){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,L){if((0,i.m5)(F)){if(L)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(L)throw new Error(`bad regexp-value '${F}', missing /-enclosure`);return console.warn(`bad regexp-value '${F}', missing /-enclosure`),null}let we=F.slice(Q+1,de),Pe=F[de+1]==="i"?"i":"";try{return new RegExp(we,Pe)}catch(Ue){if(L)throw new Error(`bad regexp-value '${F}', parse error: ${Ue}`);return console.warn(`bad regexp-value '${F}', parse error: ${Ue}`),null}}}function u(ie,F){const L=ie?ie.substituteConstants():void 0,Q=F?F.substituteConstants():void 0;return!L&&!Q?!0:!L||!Q?!1:L.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,L){this.key=F,this.negated=L,this.type=2}static create(F,L=null){const Q=f.get(F);return typeof Q=="boolean"?Q?p.INSTANCE:x.INSTANCE:new y(F,L)}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=M.create(this.key,this)),this.negated}}class _{constructor(F,L,Q){this.key=F,this.value=L,this.negated=Q,this.type=4}static create(F,L,Q=null){if(typeof L=="boolean")return L?y.create(F,Q):M.create(F,Q);const de=f.get(F);return typeof de=="boolean"?L===(de?"true":"false")?p.INSTANCE:x.INSTANCE:new _(F,L,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 L=F?"true":"false";return this.value===L?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,L){this.key=F,this.valueKey=L,this.type=10,this.negated=null}static create(F,L){return new b(F,L)}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 L=F.getValue(this.valueKey),Q=F.getValue(this.key);return Array.isArray(L)?L.indexOf(Q)>=0:typeof Q=="string"&&typeof L=="object"&&L!==null?o.call(L,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,L,Q){this.key=F,this.value=L,this.negated=Q,this.type=5}static create(F,L,Q=null){if(typeof L=="boolean")return L?M.create(F,Q):y.create(F,Q);const de=f.get(F);return typeof de=="boolean"?L===(de?"true":"false")?x.INSTANCE:p.INSTANCE:new R(F,L,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 L=F?"true":"false";return this.value===L?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 M{constructor(F,L){this.key=F,this.negated=L,this.type=3}static create(F,L=null){const Q=f.get(F);return typeof Q=="boolean"?Q?x.INSTANCE:p.INSTANCE:new M(F,L)}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 L=parseFloat(ie);isNaN(L)||(ie=L)}return typeof ie=="string"||typeof ie=="number"?F(ie):x.INSTANCE}class D{constructor(F,L,Q){this.key=F,this.value=L,this.negated=Q,this.type=12}static create(F,L,Q=null){return P(L,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,L,Q){this.key=F,this.value=L,this.negated=Q,this.type=13}static create(F,L,Q=null){return P(L,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,L,Q){this.key=F,this.value=L,this.negated=Q,this.type=14}static create(F,L,Q=null){return P(L,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,L,Q){this.key=F,this.value=L,this.negated=Q,this.type=15}static create(F,L,Q=null){return P(L,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,L){this.key=F,this.regexp=L,this.type=7,this.negated=null}static create(F,L){return new K(F,L)}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 L=this.regexp?this.regexp.source:"",Q=F.regexp?F.regexp.source:"";return L<Q?-1:L>Q?1:0}equals(F){if(F.type===this.type){const L=this.regexp?this.regexp.source:"",Q=F.regexp?F.regexp.source:"";return this.key===F.key&&L===Q}return!1}substituteConstants(){return this}evaluate(F){let L=F.getValue(this.key);return this.regexp?this.regexp.test(L):!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 L=0,Q=ie.length;L<Q;L++){const de=ie[L].substituteConstants();if(ie[L]!==de&&F===null){F=[];for(let we=0;we<L;we++)F[we]=ie[we]}F!==null&&(F[L]=de)}return F===null?ie:F}class oe{constructor(F,L){this.expr=F,this.negated=L,this.type=6}static create(F,L){return oe._normalizeArr(F,L)}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 L=0,Q=this.expr.length;L<Q;L++){const de=a(this.expr[L],F.expr[L]);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 L=0,Q=this.expr.length;L<Q;L++)if(!this.expr[L].equals(F.expr[L]))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 L=0,Q=this.expr.length;L<Q;L++)if(!this.expr[L].evaluate(F))return!1;return!0}static _normalizeArr(F,L){const Q=[];let de=!1;for(const we of F)if(we){if(we.type===1){de=!0;continue}if(we.type===0)return x.INSTANCE;if(we.type===6){Q.push(...we.expr);continue}Q.push(we)}if(Q.length===0&&de)return p.INSTANCE;if(Q.length!==0){if(Q.length===1)return Q[0];Q.sort(a);for(let we=1;we<Q.length;we++)Q[we-1].equals(Q[we])&&(Q.splice(we,1),we--);if(Q.length===1)return Q[0];for(;Q.length>1;){const we=Q[Q.length-1];if(we.type!==9)break;Q.pop();const Pe=Q.pop(),Ue=Q.length===0,Be=ae.create(we.expr.map(Ft=>oe.create([Ft,Pe],null)),null,Ue);Be&&(Q.push(Be),Q.sort(a))}return Q.length===1?Q[0]:new oe(Q,L)}}serialize(){return this.expr.map(F=>F.serialize()).join(" && ")}keys(){const F=[];for(let L of this.expr)F.push(...L.keys());return F}negate(){if(!this.negated){const F=[];for(let L of this.expr)F.push(L.negate());this.negated=ae.create(F,this,!0)}return this.negated}}class ae{constructor(F,L){this.expr=F,this.negated=L,this.type=9}static create(F,L,Q){return ae._normalizeArr(F,L,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 L=0,Q=this.expr.length;L<Q;L++){const de=a(this.expr[L],F.expr[L]);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 L=0,Q=this.expr.length;L<Q;L++)if(!this.expr[L].equals(F.expr[L]))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 L=0,Q=this.expr.length;L<Q;L++)if(this.expr[L].evaluate(F))return!0;return!1}static _normalizeArr(F,L,Q){let de=[],we=!1;if(F){for(let Pe=0,Ue=F.length;Pe<Ue;Pe++){const Be=F[Pe];if(Be){if(Be.type===0){we=!0;continue}if(Be.type===1)return p.INSTANCE;if(Be.type===9){de=de.concat(Be.expr);continue}de.push(Be)}}if(de.length===0&&we)return x.INSTANCE;de.sort(a)}if(de.length!==0){if(de.length===1)return de[0];for(let Pe=1;Pe<de.length;Pe++)de[Pe-1].equals(de[Pe])&&(de.splice(Pe,1),Pe--);if(de.length===1)return de[0];if(Q){for(let Pe=0;Pe<de.length;Pe++)for(let Ue=Pe+1;Ue<de.length;Ue++)ne(de[Pe],de[Ue])&&(de.splice(Ue,1),Ue--);if(de.length===1)return de[0]}return new ae(de,L)}}serialize(){return this.expr.map(F=>F.serialize()).join(" || ")}keys(){const F=[];for(let L of this.expr)F.push(...L.keys());return F}negate(){if(!this.negated){let F=[];for(let L of this.expr)F.push(L.negate());for(;F.length>1;){const L=F.shift(),Q=F.shift(),de=[];for(const Pe of ee(L))for(const Ue of ee(Q))de.push(oe.create([Pe,Ue],null));const we=F.length===0;F.unshift(ae.create(de,null,we))}this.negated=F[0]}return this.negated}}class ce extends y{constructor(F,L,Q){super(F,null),this._defaultValue=L,typeof Q=="object"?ce._info.push(Object.assign(Object.assign({},Q),{key:F})):Q!==!0&&ce._info.push({key:F,description:Q,type:L!=null?typeof L: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,L,Q){return ie<L?-1:ie>L?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 L=ie.negate(),Q=ee(L).concat(ee(F));Q.sort(a);for(let de=0;de<Q.length;de++){const Pe=Q[de].negate();for(let Ue=de+1;Ue<Q.length;Ue++){const Be=Q[Ue];if(Pe.equals(Be))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(M){function P(D){return D&&typeof D=="object"&&typeof D.id=="string"}M.isThemeColor=P})(u||(u={}));function a(M){return{id:M}}var x;(function(M){function P(V){return V&&typeof V=="object"&&typeof V.id=="string"&&(typeof V.color=="undefined"||u.isThemeColor(V.color))}M.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}}M.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}}M.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)}M.isEqual=j;function K(V,W){return{id:V.id,color:W?a(W):void 0}}M.asThemeIcon=K,M.asClassNameArray=r.dT.asClassNameArray,M.asClassName=r.dT.asClassName,M.asCSSSelector=r.dT.asCSSSelector})(x||(x={}));function p(M){switch(M){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(M){return b.onColorThemeChange(M)}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),M=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,L=q.closable,Q=q.closeIcon,de=q.onClose,we=q.children,Pe=q.bodyStyle,Ue=q.bodyProps,Be=q.modalRender,Ft=q.onMouseDown,mt=q.onMouseUp,Pt=q.holderRef,Qt=q.visible,qt=q.forceRender,Jt=q.width,Xe=q.height,It=c.useContext(f),Ut=It.panel,ut=(0,M.x1)(Pt,Ut),bt=(0,c.useRef)(),pt=(0,c.useRef)();c.useImperativeHandle(J,function(){return{focus:function(){var We;(We=bt.current)===null||We===void 0||We.focus()},changeActive:function(We){var it=document,ft=it.activeElement;We&&ft===pt.current?bt.current.focus():!We&&ft===bt.current&&pt.current.focus()}}});var tt={};Jt!==void 0&&(tt.width=Jt),Xe!==void 0&&(tt.height=Xe);var ze;F&&(ze=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 Te;L&&(Te=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")},Te,ye,c.createElement("div",(0,r.Z)({className:"".concat(Y,"-body"),style:Pe},Ue),we),ze);return c.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":ee?ie:null,"aria-modal":"true",ref:ut,style:(0,o.Z)((0,o.Z)({},ne),tt),className:u()(Y,le),onMouseDown:Ft,onMouseUp:mt},c.createElement("div",{tabIndex:0,ref:bt,style:D,"aria-hidden":"true"}),c.createElement(P,{shouldUpdate:Qt||qt},Be?Be(Me):Me),c.createElement("div",{tabIndex:0,ref:pt,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,L=q.destroyOnClose,Q=q.motionName,de=q.ariaId,we=q.onVisibleChanged,Pe=q.mousePosition,Ue=(0,c.useRef)(),Be=c.useState(),Ft=(0,i.Z)(Be,2),mt=Ft[0],Pt=Ft[1],Qt={};mt&&(Qt.transformOrigin=mt);function qt(){var Jt=A(Ue.current);Pt(Pe?"".concat(Pe.x-Jt.left,"px ").concat(Pe.y-Jt.top,"px"):"")}return c.createElement(R.default,{visible:ie,onVisibleChanged:we,onAppearPrepare:qt,onEnterPrepare:qt,forceRender:F,motionName:Q,removeOnLeave:L,ref:Ue},function(Jt,Xe){var It=Jt.className,Ut=Jt.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 L=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"),L)},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,L=q.focusTriggerAfterClose,Q=L===void 0?!0:L,de=q.wrapStyle,we=q.wrapClassName,Pe=q.wrapProps,Ue=q.onClose,Be=q.afterOpenChange,Ft=q.afterClose,mt=q.transitionName,Pt=q.animation,Qt=q.closable,qt=Qt===void 0?!0:Qt,Jt=q.mask,Xe=Jt===void 0?!0:Jt,It=q.maskTransitionName,Ut=q.maskAnimation,ut=q.maskClosable,bt=ut===void 0?!0:ut,pt=q.maskStyle,tt=q.maskProps,ze=q.rootClassName,ye=(0,c.useRef)(),Te=(0,c.useRef)(),Me=(0,c.useRef)(),$e=c.useState(ee),We=(0,i.Z)($e,2),it=We[0],ft=We[1],Vt=(0,x.Z)();function Ht(){(0,a.Z)(Te.current,document.activeElement)||(ye.current=document.activeElement)}function De(){if(!(0,a.Z)(Te.current,document.activeElement)){var fe;(fe=Me.current)===null||fe===void 0||fe.focus()}}function et(fe){if(fe)De();else{if(ft(!1),Xe&&ye.current&&Q){try{ye.current.focus({preventScroll:!0})}catch(_e){}ye.current=null}it&&(Ft==null||Ft())}Be==null||Be(fe)}function Wt(fe){Ue==null||Ue(fe)}var Rt=(0,c.useRef)(!1),Zt=(0,c.useRef)(),Bt=function(){clearTimeout(Zt.current),Rt.current=!0},At=function(){Zt.current=setTimeout(function(){Rt.current=!1})},Kt=null;bt&&(Kt=function(_e){Rt.current?Rt.current=!1:Te.current===_e.target&&Wt(_e)});function Ge(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&&(ft(!0),Ht())},[ee]),(0,c.useEffect)(function(){return function(){clearTimeout(Zt.current)}},[]),c.createElement("div",(0,r.Z)({className:u()("".concat(Y,"-root"),ze)},(0,y.Z)(q,{data:!0})),c.createElement(V,{prefixCls:Y,visible:Xe&&ee,motionName:_(Y,It,Ut),style:(0,o.Z)({zIndex:le},pt),maskProps:tt}),c.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:Ge,className:u()("".concat(Y,"-wrap"),we),ref:Te,onClick:Kt,style:(0,o.Z)((0,o.Z)({zIndex:le},de),{},{display:it?null:"none"})},Pe),c.createElement(K,(0,r.Z)({},q,{onMouseDown:Bt,onMouseUp:At,ref:Me,closable:qt,ariaId:Vt,prefixCls:Y,visible:ee&&it,onClose:Wt,onVisibleChanged:et,motionName:_(Y,mt,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,L=J.panelRef,Q=c.useState(Y),de=(0,i.Z)(Q,2),we=de[0],Pe=de[1],Ue=c.useMemo(function(){return{panel:L}},[L]);return c.useEffect(function(){Y&&Pe(!0)},[Y]),!ne&&ie&&!we?null:c.createElement(f.Provider,{value:Ue},c.createElement(l.Z,{open:Y||ne||we,autoDestroy:!1,getContainer:le,autoLock:Y||we},c.createElement(W,(0,r.Z)({},J,{destroyOnClose:ie,afterClose:function(){F==null||F(),Pe(!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 Lr},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),M="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 vt=1;vt<arguments.length;vt++){var nt=arguments[vt];for(var Dt in nt)Object.prototype.hasOwnProperty.call(nt,Dt)&&(tr[Dt]=nt[Dt])}return tr},oe.apply(this,arguments)}function ae(tr,vt){tr.prototype=Object.create(vt.prototype),tr.prototype.constructor=tr,q(tr,vt)}function ce(tr){return ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(nt){return nt.__proto__||Object.getPrototypeOf(nt)},ce(tr)}function q(tr,vt){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Dt,_t){return Dt.__proto__=_t,Dt},q(tr,vt)}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,vt,nt){return J()?Y=Reflect.construct.bind():Y=function(_t,ur,cr){var Tr=[null];Tr.push.apply(Tr,ur);var Ur=Function.bind.apply(_t,Tr),He=new Ur;return cr&&q(He,cr.prototype),He},Y.apply(null,arguments)}function le(tr){return Function.toString.call(tr).indexOf("[native code]")!==-1}function ne(tr){var vt=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 vt!="undefined"){if(vt.has(Dt))return vt.get(Dt);vt.set(Dt,_t)}function _t(){return Y(Dt,arguments,ce(this).constructor)}return _t.prototype=Object.create(Dt.prototype,{constructor:{value:_t,enumerable:!1,writable:!0,configurable:!0}}),q(_t,Dt)},ne(tr)}var ee=/%[sdj%]/g,ie=function(){};function F(tr){if(!tr||!tr.length)return null;var vt={};return tr.forEach(function(nt){var Dt=nt.field;vt[Dt]=vt[Dt]||[],vt[Dt].push(nt)}),vt}function L(tr){for(var vt=arguments.length,nt=new Array(vt>1?vt-1:0),Dt=1;Dt<vt;Dt++)nt[Dt-1]=arguments[Dt];var _t=0,ur=nt.length;if(typeof tr=="function")return tr.apply(null,nt);if(typeof tr=="string"){var cr=tr.replace(ee,function(Tr){if(Tr==="%%")return"%";if(_t>=ur)return Tr;switch(Tr){case"%s":return String(nt[_t++]);case"%d":return Number(nt[_t++]);case"%j":try{return JSON.stringify(nt[_t++])}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,vt){return!!(tr==null||vt==="array"&&Array.isArray(tr)&&!tr.length||Q(vt)&&typeof tr=="string"&&!tr)}function we(tr,vt,nt){var Dt=[],_t=0,ur=tr.length;function cr(Tr){Dt.push.apply(Dt,Tr||[]),_t++,_t===ur&&nt(Dt)}tr.forEach(function(Tr){vt(Tr,cr)})}function Pe(tr,vt,nt){var Dt=0,_t=tr.length;function ur(cr){if(cr&&cr.length){nt(cr);return}var Tr=Dt;Dt=Dt+1,Tr<_t?vt(tr[Tr],ur):nt([])}ur([])}function Ue(tr){var vt=[];return Object.keys(tr).forEach(function(nt){vt.push.apply(vt,tr[nt]||[])}),vt}var Be=function(tr){ae(vt,tr);function vt(nt,Dt){var _t;return _t=tr.call(this,"Async Validation Error")||this,_t.errors=nt,_t.fields=Dt,_t}return vt}(ne(Error));function Ft(tr,vt,nt,Dt,_t){if(vt.first){var ur=new Promise(function(st,nr){var Pr=function(Br){return Dt(Br),Br.length?nr(new Be(Br,F(Br))):st(_t)},br=Ue(tr);Pe(br,nt,Pr)});return ur.catch(function(st){return st}),ur}var cr=vt.firstFields===!0?Object.keys(tr):vt.firstFields||[],Tr=Object.keys(tr),Ur=Tr.length,He=0,rt=[],xe=new Promise(function(st,nr){var Pr=function(Ir){if(rt.push.apply(rt,Ir),He++,He===Ur)return Dt(rt),rt.length?nr(new Be(rt,F(rt))):st(_t)};Tr.length||(Dt(rt),st(_t)),Tr.forEach(function(br){var Ir=tr[br];cr.indexOf(br)!==-1?Pe(Ir,nt,Pr):we(Ir,nt,Pr)})});return xe.catch(function(st){return st}),xe}function mt(tr){return!!(tr&&tr.message!==void 0)}function Pt(tr,vt){for(var nt=tr,Dt=0;Dt<vt.length;Dt++){if(nt==null)return nt;nt=nt[vt[Dt]]}return nt}function Qt(tr,vt){return function(nt){var Dt;return tr.fullFields?Dt=Pt(vt,tr.fullFields):Dt=vt[nt.field||tr.fullField],mt(nt)?(nt.field=nt.field||tr.fullField,nt.fieldValue=Dt,nt):{message:typeof nt=="function"?nt():nt,fieldValue:Dt,field:nt.field||tr.fullField}}}function qt(tr,vt){if(vt){for(var nt in vt)if(vt.hasOwnProperty(nt)){var Dt=vt[nt];typeof Dt=="object"&&typeof tr[nt]=="object"?tr[nt]=oe({},tr[nt],Dt):tr[nt]=Dt}}return tr}var Jt=function(vt,nt,Dt,_t,ur,cr){vt.required&&(!Dt.hasOwnProperty(vt.field)||de(nt,cr||vt.type))&&_t.push(L(ur.messages.required,vt.fullField))},Xe=function(vt,nt,Dt,_t,ur){(/^\s+$/.test(nt)||nt==="")&&_t.push(L(ur.messages.whitespace,vt.fullField))},It,Ut=function(){if(It)return It;var tr="[a-fA-F\\d:]",vt=function(un){return un&&un.includeBoundaries?"(?:(?<=\\s|^)(?="+tr+")|(?<="+tr+")(?=\\s|$))":""},nt="(?: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}",_t=(`
|
|
|
(?:
|
|
|
(?:`+Dt+":){7}(?:"+Dt+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
|
(?:`+Dt+":){6}(?:"+nt+"|:"+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}(?::"+nt+"|(?::"+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}:"+nt+"|(?::"+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}:"+nt+"|(?::"+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}:"+nt+"|(?::"+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}:"+nt+"|(?::"+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}:"+nt+"|(?::"+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("(?:^"+nt+"$)|(?:^"+_t+"$)"),cr=new RegExp("^"+nt+"$"),Tr=new RegExp("^"+_t+"$"),Ur=function(un){return un&&un.exact?ur:new RegExp("(?:"+vt(un)+nt+vt(un)+")|(?:"+vt(un)+_t+vt(un)+")","g")};Ur.v4=function(Er){return Er&&Er.exact?cr:new RegExp(""+vt(Er)+nt+vt(Er),"g")},Ur.v6=function(Er){return Er&&Er.exact?Tr:new RegExp(""+vt(Er)+_t+vt(Er),"g")};var He="(?:(?:[a-z]+:)?//)",rt="(?:\\S+(?::\\S*)?@)?",xe=Ur.v4().source,st=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="(?:"+He+"|www\\.)"+rt+"(?:localhost|"+xe+"|"+st+"|"+nr+Pr+br+")"+Ir+Br;return It=new RegExp("(?:^"+mn+"$)","i"),It},ut={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(vt){return bt.number(vt)&&parseInt(vt,10)===vt},float:function(vt){return bt.number(vt)&&!bt.integer(vt)},array:function(vt){return Array.isArray(vt)},regexp:function(vt){if(vt instanceof RegExp)return!0;try{return!!new RegExp(vt)}catch(nt){return!1}},date:function(vt){return typeof vt.getTime=="function"&&typeof vt.getMonth=="function"&&typeof vt.getYear=="function"&&!isNaN(vt.getTime())},number:function(vt){return isNaN(vt)?!1:typeof vt=="number"},object:function(vt){return typeof vt=="object"&&!bt.array(vt)},method:function(vt){return typeof vt=="function"},email:function(vt){return typeof vt=="string"&&vt.length<=320&&!!vt.match(ut.email)},url:function(vt){return typeof vt=="string"&&vt.length<=2048&&!!vt.match(Ut())},hex:function(vt){return typeof vt=="string"&&!!vt.match(ut.hex)}},pt=function(vt,nt,Dt,_t,ur){if(vt.required&&nt===void 0){Jt(vt,nt,Dt,_t,ur);return}var cr=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Tr=vt.type;cr.indexOf(Tr)>-1?bt[Tr](nt)||_t.push(L(ur.messages.types[Tr],vt.fullField,vt.type)):Tr&&typeof nt!==vt.type&&_t.push(L(ur.messages.types[Tr],vt.fullField,vt.type))},tt=function(vt,nt,Dt,_t,ur){var cr=typeof vt.len=="number",Tr=typeof vt.min=="number",Ur=typeof vt.max=="number",He=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rt=nt,xe=null,st=typeof nt=="number",nr=typeof nt=="string",Pr=Array.isArray(nt);if(st?xe="number":nr?xe="string":Pr&&(xe="array"),!xe)return!1;Pr&&(rt=nt.length),nr&&(rt=nt.replace(He,"_").length),cr?rt!==vt.len&&_t.push(L(ur.messages[xe].len,vt.fullField,vt.len)):Tr&&!Ur&&rt<vt.min?_t.push(L(ur.messages[xe].min,vt.fullField,vt.min)):Ur&&!Tr&&rt>vt.max?_t.push(L(ur.messages[xe].max,vt.fullField,vt.max)):Tr&&Ur&&(rt<vt.min||rt>vt.max)&&_t.push(L(ur.messages[xe].range,vt.fullField,vt.min,vt.max))},ze="enum",ye=function(vt,nt,Dt,_t,ur){vt[ze]=Array.isArray(vt[ze])?vt[ze]:[],vt[ze].indexOf(nt)===-1&&_t.push(L(ur.messages[ze],vt.fullField,vt[ze].join(", ")))},Te=function(vt,nt,Dt,_t,ur){if(vt.pattern){if(vt.pattern instanceof RegExp)vt.pattern.lastIndex=0,vt.pattern.test(nt)||_t.push(L(ur.messages.pattern.mismatch,vt.fullField,nt,vt.pattern));else if(typeof vt.pattern=="string"){var cr=new RegExp(vt.pattern);cr.test(nt)||_t.push(L(ur.messages.pattern.mismatch,vt.fullField,nt,vt.pattern))}}},Me={required:Jt,whitespace:Xe,type:pt,range:tt,enum:ye,pattern:Te},$e=function(vt,nt,Dt,_t,ur){var cr=[],Tr=vt.required||!vt.required&&_t.hasOwnProperty(vt.field);if(Tr){if(de(nt,"string")&&!vt.required)return Dt();Me.required(vt,nt,_t,cr,ur,"string"),de(nt,"string")||(Me.type(vt,nt,_t,cr,ur),Me.range(vt,nt,_t,cr,ur),Me.pattern(vt,nt,_t,cr,ur),vt.whitespace===!0&&Me.whitespace(vt,nt,_t,cr,ur))}Dt(cr)},We=function(vt,nt,Dt,_t,ur){var cr=[],Tr=vt.required||!vt.required&&_t.hasOwnProperty(vt.field);if(Tr){if(de(nt)&&!vt.required)return Dt();Me.required(vt,nt,_t,cr,ur),nt!==void 0&&Me.type(vt,nt,_t,cr,ur)}Dt(cr)},it=function(vt,nt,Dt,_t,ur){var cr=[],Tr=vt.required||!vt.required&&_t.hasOwnProperty(vt.field);if(Tr){if(nt===""&&(nt=void 0),de(nt)&&!vt.required)return Dt();Me.required(vt,nt,_t,cr,ur),nt!==void 0&&(Me.type(vt,nt,_t,cr,ur),Me.range(vt,nt,_t,cr,ur))}Dt(cr)},ft=function(vt,nt,Dt,_t,ur){var cr=[],Tr=vt.required||!vt.required&&_t.hasOwnProperty(vt.field);if(Tr){if(de(nt)&&!vt.required)return Dt();Me.required(vt,nt,_t,cr,ur),nt!==void 0&&Me.type(vt,nt,_t,cr,ur)}Dt(cr)},Vt=function(vt,nt,Dt,_t,ur){var cr=[],Tr=vt.required||!vt.required&&_t.hasOwnProperty(vt.field);if(Tr){if(de(nt)&&!vt.required)return Dt();Me.required(vt,nt,_t,cr,ur),de(nt)||Me.type(vt,nt,_t,cr,ur)}Dt(cr)},Ht=function(vt,nt,Dt,_t,ur){var cr=[],Tr=vt.required||!vt.required&&_t.hasOwnProperty(vt.field);if(Tr){if(de(nt)&&!vt.required)return Dt();Me.required(vt,nt,_t,cr,ur),nt!==void 0&&(Me.type(vt,nt,_t,cr,ur),Me.range(vt,nt,_t,cr,ur))}Dt(cr)},De=function(vt,nt,Dt,_t,ur){var cr=[],Tr=vt.required||!vt.required&&_t.hasOwnProperty(vt.field);if(Tr){if(de(nt)&&!vt.required)return Dt();Me.required(vt,nt,_t,cr,ur),nt!==void 0&&(Me.type(vt,nt,_t,cr,ur),Me.range(vt,nt,_t,cr,ur))}Dt(cr)},et=function(vt,nt,Dt,_t,ur){var cr=[],Tr=vt.required||!vt.required&&_t.hasOwnProperty(vt.field);if(Tr){if(nt==null&&!vt.required)return Dt();Me.required(vt,nt,_t,cr,ur,"array"),nt!=null&&(Me.type(vt,nt,_t,cr,ur),Me.range(vt,nt,_t,cr,ur))}Dt(cr)},Wt=function(vt,nt,Dt,_t,ur){var cr=[],Tr=vt.required||!vt.required&&_t.hasOwnProperty(vt.field);if(Tr){if(de(nt)&&!vt.required)return Dt();Me.required(vt,nt,_t,cr,ur),nt!==void 0&&Me.type(vt,nt,_t,cr,ur)}Dt(cr)},Rt="enum",Zt=function(vt,nt,Dt,_t,ur){var cr=[],Tr=vt.required||!vt.required&&_t.hasOwnProperty(vt.field);if(Tr){if(de(nt)&&!vt.required)return Dt();Me.required(vt,nt,_t,cr,ur),nt!==void 0&&Me[Rt](vt,nt,_t,cr,ur)}Dt(cr)},Bt=function(vt,nt,Dt,_t,ur){var cr=[],Tr=vt.required||!vt.required&&_t.hasOwnProperty(vt.field);if(Tr){if(de(nt,"string")&&!vt.required)return Dt();Me.required(vt,nt,_t,cr,ur),de(nt,"string")||Me.pattern(vt,nt,_t,cr,ur)}Dt(cr)},At=function(vt,nt,Dt,_t,ur){var cr=[],Tr=vt.required||!vt.required&&_t.hasOwnProperty(vt.field);if(Tr){if(de(nt,"date")&&!vt.required)return Dt();if(Me.required(vt,nt,_t,cr,ur),!de(nt,"date")){var Ur;nt instanceof Date?Ur=nt:Ur=new Date(nt),Me.type(vt,Ur,_t,cr,ur),Ur&&Me.range(vt,Ur.getTime(),_t,cr,ur)}}Dt(cr)},Kt=function(vt,nt,Dt,_t,ur){var cr=[],Tr=Array.isArray(nt)?"array":typeof nt;Me.required(vt,nt,_t,cr,ur,Tr),Dt(cr)},Ge=function(vt,nt,Dt,_t,ur){var cr=vt.type,Tr=[],Ur=vt.required||!vt.required&&_t.hasOwnProperty(vt.field);if(Ur){if(de(nt,cr)&&!vt.required)return Dt();Me.required(vt,nt,_t,Tr,ur,cr),de(nt,cr)||Me.type(vt,nt,_t,Tr,ur)}Dt(Tr)},fe=function(vt,nt,Dt,_t,ur){var cr=[],Tr=vt.required||!vt.required&&_t.hasOwnProperty(vt.field);if(Tr){if(de(nt)&&!vt.required)return Dt();Me.required(vt,nt,_t,cr,ur)}Dt(cr)},_e={string:$e,method:We,number:it,boolean:ft,regexp:Vt,integer:Ht,float:De,array:et,object:Wt,enum:Zt,pattern:Bt,date:At,url:Ge,hex:Ge,email:Ge,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 vt=JSON.parse(JSON.stringify(this));return vt.clone=this.clone,vt}}}var Ie=Ot(),ht=function(){function tr(nt){this.rules=null,this._messages=Ie,this.define(nt)}var vt=tr.prototype;return vt.define=function(Dt){var _t=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];_t.rules[ur]=Array.isArray(cr)?cr:[cr]})},vt.messages=function(Dt){return Dt&&(this._messages=qt(Ot(),Dt)),this._messages},vt.validate=function(Dt,_t,ur){var cr=this;_t===void 0&&(_t={}),ur===void 0&&(ur=function(){});var Tr=Dt,Ur=_t,He=ur;if(typeof Ur=="function"&&(He=Ur,Ur={}),!this.rules||Object.keys(this.rules).length===0)return He&&He(null,Tr),Promise.resolve(Tr);function rt(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),He(Ir,Br)):He(null,Tr)}if(Ur.messages){var xe=this.messages();xe===Ie&&(xe=Ot()),qt(xe,Ur.messages),Ur.messages=xe}else Ur.messages=this.messages();var st={},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),st[br]=st[br]||[],st[br].push({rule:Er,value:Br,source:Tr,field:br}))})});var Pr={};return Ft(st,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,L(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){rt(br)},Tr)},vt.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(L("Unknown rule type %s",Dt.type));return Dt.type||"string"},vt.getValidationMethod=function(Dt){if(typeof Dt.validator=="function")return Dt.validator;var _t=Object.keys(Dt),ur=_t.indexOf("message");return ur!==-1&&_t.splice(ur,1),_t.length===1&&_t[0]==="required"?_e.required:_e[this.getType(Dt)]||void 0},tr}();ht.register=function(vt,nt){if(typeof nt!="function")throw new Error("Cannot register a validator by type, validator is not a function");_e[vt]=nt},ht.warning=ie,ht.messages=Ie,ht.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=ht;function je(tr,vt){return tr.replace(/\$\{\w+\}/g,function(nt){var Dt=nt.slice(2,-1);return vt[Dt]})}var Qe="CODE_LOGIC_ERROR";function Oe(tr,vt,nt,Dt,_t){return kt.apply(this,arguments)}function kt(){return kt=(0,f.Z)((0,c.Z)().mark(function tr(vt,nt,Dt,_t,ur){var cr,Tr,Ur,He,rt,xe,st,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(Qe)}}),Ur=null,cr&&cr.type==="array"&&cr.defaultField&&(Ur=cr.defaultField,delete cr.defaultField),He=new wt((0,_.Z)({},vt,[cr])),rt=(0,ke.T)(Ct,_t.validateMessages),He.messages(rt),xe=[],Ir.prev=10,Ir.next=13,Promise.resolve(He.validate((0,_.Z)({},vt,nt),(0,o.Z)({},_t)));case 13:Ir.next=18;break;case 15:Ir.prev=15,Ir.t0=Ir.catch(10),Ir.t0.errors&&(xe=Ir.t0.errors.map(function(Br,mn){var Er=Br.message,un=Er===Qe?rt.default:Er;return r.isValidElement(un)?r.cloneElement(un,{key:"error_".concat(mn)}):un}));case 18:if(!(!xe.length&&Ur)){Ir.next=23;break}return Ir.next=21,Promise.all(nt.map(function(Br,mn){return Oe("".concat(vt,".").concat(mn),Br,Ur,_t,ur)}));case 21:return st=Ir.sent,Ir.abrupt("return",st.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:vt,enum:(Dt.enum||[]).join(", ")},ur),Pr=xe.map(function(Br){return typeof Br=="string"?je(Br,nr):Br}),Ir.abrupt("return",Pr);case 26:case"end":return Ir.stop()}},tr,null,[[10,15]])})),kt.apply(this,arguments)}function Fe(tr,vt,nt,Dt,_t,ur){var cr=tr.join("."),Tr=nt.map(function(rt,xe){var st=rt.validator,nr=(0,o.Z)((0,o.Z)({},rt),{},{ruleIndex:xe});return st&&(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=st(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(rt,xe){var st=rt.warningOnly,nr=rt.ruleIndex,Pr=xe.warningOnly,br=xe.ruleIndex;return!!st==!!Pr?nr-br:st?1:-1}),Ur;if(_t===!0)Ur=new Promise(function(){var rt=(0,f.Z)((0,c.Z)().mark(function xe(st,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,Oe(cr,vt,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:st([]);case 13:case"end":return mn.stop()}},xe)}));return function(xe,st){return rt.apply(this,arguments)}}());else{var He=Tr.map(function(rt){return Oe(cr,vt,rt,Dt,ur).then(function(xe){return{errors:xe,rule:rt}})});Ur=(_t?Gr(He):Dr(He)).then(function(rt){return Promise.reject(rt)})}return Ur.catch(function(rt){return rt}),Ur}function Dr(tr){return St.apply(this,arguments)}function St(){return St=(0,f.Z)((0,c.Z)().mark(function tr(vt){return(0,c.Z)().wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:return Dt.abrupt("return",Promise.all(vt).then(function(_t){var ur,cr=(ur=[]).concat.apply(ur,(0,h.Z)(_t));return cr}));case 1:case"end":return Dt.stop()}},tr)})),St.apply(this,arguments)}function Gr(tr){return Qr.apply(this,arguments)}function Qr(){return Qr=(0,f.Z)((0,c.Z)().mark(function tr(vt){var nt;return(0,c.Z)().wrap(function(_t){for(;;)switch(_t.prev=_t.next){case 0:return nt=0,_t.abrupt("return",new Promise(function(ur){vt.forEach(function(cr){cr.then(function(Tr){Tr.errors.length&&ur([Tr]),nt+=1,nt===vt.length&&ur([])})})}));case 2:case"end":return _t.stop()}},tr)})),Qr.apply(this,arguments)}var Sr=e(62853),Or=e(97938);function hr(tr){return K(tr)}function $r(tr,vt){var nt={};return vt.forEach(function(Dt){var _t=(0,Or.Z)(tr,Dt);nt=(0,ke.Z)(nt,Dt,_t)}),nt}function nn(tr,vt){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return tr&&tr.some(function(Dt){return on(vt,Dt,nt)})}function on(tr,vt){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!tr||!vt||!nt&&tr.length!==vt.length?!1:vt.every(function(Dt,_t){return tr[_t]===Dt})}function sr(tr,vt){if(tr===vt)return!0;if(!tr&&vt||tr&&!vt||!tr||!vt||(0,Sr.Z)(tr)!=="object"||(0,Sr.Z)(vt)!=="object")return!1;var nt=Object.keys(tr),Dt=Object.keys(vt),_t=new Set([].concat(nt,Dt));return(0,h.Z)(_t).every(function(ur){var cr=tr[ur],Tr=vt[ur];return typeof cr=="function"&&typeof Tr=="function"?!0:cr===Tr})}function Mt(tr){var vt=arguments.length<=1?void 0:arguments[1];return vt&&vt.target&&(0,Sr.Z)(vt.target)==="object"&&tr in vt.target?vt.target[tr]:vt}function gt(tr,vt,nt){var Dt=tr.length;if(vt<0||vt>=Dt||nt<0||nt>=Dt)return tr;var _t=tr[vt],ur=vt-nt;return ur>0?[].concat((0,h.Z)(tr.slice(0,nt)),[_t],(0,h.Z)(tr.slice(nt,vt)),(0,h.Z)(tr.slice(vt+1,Dt))):ur<0?[].concat((0,h.Z)(tr.slice(0,vt)),(0,h.Z)(tr.slice(vt+1,nt+1)),[_t],(0,h.Z)(tr.slice(nt+1,Dt))):tr}var yt=["name"],Nt=[];function Cr(tr,vt,nt,Dt,_t,ur){return typeof tr=="function"?tr(vt,nt,"source"in ur?{source:ur.source}:{}):Dt!==_t}var vr=function(tr){(0,p.Z)(nt,tr);var vt=(0,y.Z)(nt);function nt(Dt){var _t;if((0,u.Z)(this,nt),_t=vt.call(this,Dt),(0,_.Z)((0,x.Z)(_t),"state",{resetCount:0}),(0,_.Z)((0,x.Z)(_t),"cancelRegisterFunc",null),(0,_.Z)((0,x.Z)(_t),"mounted",!1),(0,_.Z)((0,x.Z)(_t),"touched",!1),(0,_.Z)((0,x.Z)(_t),"dirty",!1),(0,_.Z)((0,x.Z)(_t),"validatePromise",void 0),(0,_.Z)((0,x.Z)(_t),"prevValidating",void 0),(0,_.Z)((0,x.Z)(_t),"errors",Nt),(0,_.Z)((0,x.Z)(_t),"warnings",Nt),(0,_.Z)((0,x.Z)(_t),"cancelRegister",function(){var Ur=_t.props,He=Ur.preserve,rt=Ur.isListField,xe=Ur.name;_t.cancelRegisterFunc&&_t.cancelRegisterFunc(rt,He,hr(xe)),_t.cancelRegisterFunc=null}),(0,_.Z)((0,x.Z)(_t),"getNamePath",function(){var Ur=_t.props,He=Ur.name,rt=Ur.fieldContext,xe=rt.prefixName,st=xe===void 0?[]:xe;return He!==void 0?[].concat((0,h.Z)(st),(0,h.Z)(He)):[]}),(0,_.Z)((0,x.Z)(_t),"getRules",function(){var Ur=_t.props,He=Ur.rules,rt=He===void 0?[]:He,xe=Ur.fieldContext;return rt.map(function(st){return typeof st=="function"?st(xe):st})}),(0,_.Z)((0,x.Z)(_t),"refresh",function(){_t.mounted&&_t.setState(function(Ur){var He=Ur.resetCount;return{resetCount:He+1}})}),(0,_.Z)((0,x.Z)(_t),"metaCache",null),(0,_.Z)((0,x.Z)(_t),"triggerMetaEvent",function(Ur){var He=_t.props.onMetaChange;if(He){var rt=(0,o.Z)((0,o.Z)({},_t.getMeta()),{},{destroy:Ur});(0,A.Z)(_t.metaCache,rt)||He(rt),_t.metaCache=rt}else _t.metaCache=null}),(0,_.Z)((0,x.Z)(_t),"onStoreChange",function(Ur,He,rt){var xe=_t.props,st=xe.shouldUpdate,nr=xe.dependencies,Pr=nr===void 0?[]:nr,br=xe.onReset,Ir=rt.store,Br=_t.getNamePath(),mn=_t.getValue(Ur),Er=_t.getValue(Ir),un=He&&nn(He,Br);switch(rt.type==="valueUpdate"&&rt.source==="external"&&mn!==Er&&(_t.touched=!0,_t.dirty=!0,_t.validatePromise=null,_t.errors=Nt,_t.warnings=Nt,_t.triggerMetaEvent()),rt.type){case"reset":if(!He||un){_t.touched=!1,_t.dirty=!1,_t.validatePromise=void 0,_t.errors=Nt,_t.warnings=Nt,_t.triggerMetaEvent(),br==null||br(),_t.refresh();return}break;case"remove":{if(st){_t.reRender();return}break}case"setField":{var tn=rt.data;if(un){"touched"in tn&&(_t.touched=tn.touched),"validating"in tn&&!("originRCField"in tn)&&(_t.validatePromise=tn.validating?Promise.resolve([]):null),"errors"in tn&&(_t.errors=tn.errors||Nt),"warnings"in tn&&(_t.warnings=tn.warnings||Nt),_t.dirty=!0,_t.triggerMetaEvent(),_t.reRender();return}else if("value"in tn&&nn(He,Br,!0)){_t.reRender();return}if(st&&!Br.length&&Cr(st,Ur,Ir,mn,Er,rt)){_t.reRender();return}break}case"dependenciesUpdate":{var sn=Pr.map(hr);if(sn.some(function(wn){return nn(rt.relatedFields,wn)})){_t.reRender();return}break}default:if(un||(!Pr.length||Br.length||st)&&Cr(st,Ur,Ir,mn,Er,rt)){_t.reRender();return}break}st===!0&&_t.reRender()}),(0,_.Z)((0,x.Z)(_t),"validateRules",function(Ur){var He=_t.getNamePath(),rt=_t.getValue(),xe=Ur||{},st=xe.triggerName,nr=xe.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(_t.mounted){Ci.next=2;break}return Ci.abrupt("return",[]);case 2:if(Br=_t.props,mn=Br.validateFirst,Er=mn===void 0?!1:mn,un=Br.messageVariables,tn=Br.validateDebounce,sn=_t.getRules(),st&&(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(st)})),!(tn&&st)){Ci.next=10;break}return Ci.next=8,new Promise(function(fi){setTimeout(fi,tn)});case 8:if(_t.validatePromise===br){Ci.next=10;break}return Ci.abrupt("return",[]);case 10:return wn=Fe(He,rt,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(_t.validatePromise===br){var hn;_t.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))}),_t.errors=ai,_t.warnings=Mi,_t.triggerMetaEvent(),_t.reRender()}}),Ci.abrupt("return",wn);case 13:case"end":return Ci.stop()}},Ir)})));return Pr||(_t.validatePromise=br,_t.dirty=!0,_t.errors=Nt,_t.warnings=Nt,_t.triggerMetaEvent(),_t.reRender()),br}),(0,_.Z)((0,x.Z)(_t),"isFieldValidating",function(){return!!_t.validatePromise}),(0,_.Z)((0,x.Z)(_t),"isFieldTouched",function(){return _t.touched}),(0,_.Z)((0,x.Z)(_t),"isFieldDirty",function(){if(_t.dirty||_t.props.initialValue!==void 0)return!0;var Ur=_t.props.fieldContext,He=Ur.getInternalHooks(M),rt=He.getInitialValue;return rt(_t.getNamePath())!==void 0}),(0,_.Z)((0,x.Z)(_t),"getErrors",function(){return _t.errors}),(0,_.Z)((0,x.Z)(_t),"getWarnings",function(){return _t.warnings}),(0,_.Z)((0,x.Z)(_t),"isListField",function(){return _t.props.isListField}),(0,_.Z)((0,x.Z)(_t),"isList",function(){return _t.props.isList}),(0,_.Z)((0,x.Z)(_t),"isPreserve",function(){return _t.props.preserve}),(0,_.Z)((0,x.Z)(_t),"getMeta",function(){_t.prevValidating=_t.isFieldValidating();var Ur={touched:_t.isFieldTouched(),validating:_t.prevValidating,errors:_t.errors,warnings:_t.warnings,name:_t.getNamePath(),validated:_t.validatePromise===null};return Ur}),(0,_.Z)((0,x.Z)(_t),"getOnlyChild",function(Ur){if(typeof Ur=="function"){var He=_t.getMeta();return(0,o.Z)((0,o.Z)({},_t.getOnlyChild(Ur(_t.getControlled(),He,_t.props.fieldContext))),{},{isFunction:!0})}var rt=(0,b.Z)(Ur);return rt.length!==1||!r.isValidElement(rt[0])?{child:rt,isFunction:!1}:{child:rt[0],isFunction:!1}}),(0,_.Z)((0,x.Z)(_t),"getValue",function(Ur){var He=_t.props.fieldContext.getFieldsValue,rt=_t.getNamePath();return(0,Or.Z)(Ur||He(!0),rt)}),(0,_.Z)((0,x.Z)(_t),"getControlled",function(){var Ur=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},He=_t.props,rt=He.trigger,xe=He.validateTrigger,st=He.getValueFromEvent,nr=He.normalize,Pr=He.valuePropName,br=He.getValueProps,Ir=He.fieldContext,Br=xe!==void 0?xe:Ir.validateTrigger,mn=_t.getNamePath(),Er=Ir.getInternalHooks,un=Ir.getFieldsValue,tn=Er(M),sn=tn.dispatch,wn=_t.getValue(),fa=br||function(ai){return(0,_.Z)({},Pr,ai)},Ci=Ur[rt],fi=(0,o.Z)((0,o.Z)({},Ur),fa(wn));fi[rt]=function(){_t.touched=!0,_t.dirty=!0,_t.triggerMetaEvent();for(var ai,Mi=arguments.length,sa=new Array(Mi),Es=0;Es<Mi;Es++)sa[Es]=arguments[Es];st?ai=st.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=_t.props.rules;sa&&sa.length&&sn({type:"validateField",namePath:mn,triggerName:ai})}}),fi}),Dt.fieldContext){var ur=Dt.fieldContext.getInternalHooks,cr=ur(M),Tr=cr.initEntityValue;Tr((0,x.Z)(_t))}return _t}return(0,a.Z)(nt,[{key:"componentDidMount",value:function(){var _t=this.props,ur=_t.shouldUpdate,cr=_t.fieldContext;if(this.mounted=!0,cr){var Tr=cr.getInternalHooks,Ur=Tr(M),He=Ur.registerField;this.cancelRegisterFunc=He(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 _t=this.state.resetCount,ur=this.props.children,cr=this.getOnlyChild(ur),Tr=cr.child,Ur=cr.isFunction,He;return Ur?He=Tr:r.isValidElement(Tr)?He=r.cloneElement(Tr,this.getControlled(Tr.props)):((0,R.ZP)(!Tr,"`children` of Field is not validate ReactElement."),He=Tr),r.createElement(r.Fragment,{key:_t},He)}}]),nt}(r.Component);(0,_.Z)(vr,"contextType",B),(0,_.Z)(vr,"defaultProps",{trigger:"onChange",valuePropName:"value"});function lt(tr){var vt=tr.name,nt=(0,l.Z)(tr,yt),Dt=r.useContext(B),_t=r.useContext(j),ur=vt!==void 0?hr(vt):void 0,cr="keep";return nt.isListField||(cr="_".concat((ur||[]).join("_"))),r.createElement(vr,(0,i.Z)({key:cr,name:ur,isListField:!!_t},nt,{fieldContext:Dt}))}var Lr=lt;function _n(tr){var vt=tr.name,nt=tr.initialValue,Dt=tr.children,_t=tr.rules,ur=tr.validateTrigger,cr=tr.isListField,Tr=r.useContext(B),Ur=r.useContext(j),He=r.useRef({keys:[],id:0}),rt=He.current,xe=r.useMemo(function(){var br=hr(Tr.prefixName)||[];return[].concat((0,h.Z)(br),(0,h.Z)(hr(vt)))},[Tr.prefixName,vt]),st=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},Tr),{},{prefixName:xe})},[Tr,xe]),nr=r.useMemo(function(){return{getKey:function(Ir){var Br=xe.length,mn=Ir[Br];return[rt.keys[mn],Ir.slice(Br+1)]}}},[xe]);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:st},r.createElement(Lr,{name:[],shouldUpdate:Pr,rules:_t,validateTrigger:ur,initialValue:nt,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(xe||[]);return Ci||[]},sn={add:function(Ci,fi){var hn=tn();fi>=0&&fi<=hn.length?(rt.keys=[].concat((0,h.Z)(rt.keys.slice(0,fi)),[rt.id],(0,h.Z)(rt.keys.slice(fi))),Er([].concat((0,h.Z)(hn.slice(0,fi)),[Ci],(0,h.Z)(hn.slice(fi))))):(rt.keys=[].concat((0,h.Z)(rt.keys),[rt.id]),Er([].concat((0,h.Z)(hn),[Ci]))),rt.id+=1},remove:function(Ci){var fi=tn(),hn=new Set(Array.isArray(Ci)?Ci:[Ci]);hn.size<=0||(rt.keys=rt.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||(rt.keys=gt(rt.keys,Ci,fi),Er(gt(hn,Ci,fi)))}}},wn=mn||[];return Array.isArray(wn)||(wn=[]),Dt(wn.map(function(fa,Ci){var fi=rt.keys[Ci];return fi===void 0&&(rt.keys[Ci]=rt.id,fi=rt.keys[Ci],rt.id+=1),{name:Ci,key:fi,isListField:!0}}),sn,Ir)})))}var Un=_n,_r=e(52487);function Jr(tr){var vt=!1,nt=tr.length,Dt=[];return tr.length?new Promise(function(_t,ur){tr.forEach(function(cr,Tr){cr.catch(function(Ur){return vt=!0,Ur}).then(function(Ur){nt-=1,Dt[Tr]=Ur,!(nt>0)&&(vt&&ur(Dt),_t(Dt))})})}):Promise.resolve([])}var dn="__@field_split__";function Mn(tr){return tr.map(function(vt){return"".concat((0,Sr.Z)(vt),":").concat(vt)}).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(nt,Dt){this.kvs.set(Mn(nt),Dt)}},{key:"get",value:function(nt){return this.kvs.get(Mn(nt))}},{key:"update",value:function(nt,Dt){var _t=this.get(nt),ur=Dt(_t);ur?this.set(nt,ur):this.delete(nt)}},{key:"delete",value:function(nt){this.kvs.delete(Mn(nt))}},{key:"map",value:function(nt){return(0,h.Z)(this.kvs.entries()).map(function(Dt){var _t=(0,_r.Z)(Dt,2),ur=_t[0],cr=_t[1],Tr=ur.split(dn);return nt({key:Tr.map(function(Ur){var He=Ur.match(/^([^:]*):(.*)$/),rt=(0,_r.Z)(He,3),xe=rt[1],st=rt[2];return xe==="number"?Number(st):st}),value:cr})})}},{key:"toJSON",value:function(){var nt={};return this.map(function(Dt){var _t=Dt.key,ur=Dt.value;return nt[_t.join(".")]=ur,null}),nt}}]),tr}(),Nn=Jn,Ui=["name"],mi=(0,a.Z)(function tr(vt){var nt=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:nt.getFieldValue,getFieldsValue:nt.getFieldsValue,getFieldError:nt.getFieldError,getFieldWarning:nt.getFieldWarning,getFieldsError:nt.getFieldsError,isFieldsTouched:nt.isFieldsTouched,isFieldTouched:nt.isFieldTouched,isFieldValidating:nt.isFieldValidating,isFieldsValidating:nt.isFieldsValidating,resetFields:nt.resetFields,setFields:nt.setFields,setFieldValue:nt.setFieldValue,setFieldsValue:nt.setFieldsValue,validateFields:nt.validateFields,submit:nt.submit,_init:!0,getInternalHooks:nt.getInternalHooks}}),(0,_.Z)(this,"getInternalHooks",function(Dt){return Dt===M?(nt.formHooked=!0,{dispatch:nt.dispatch,initEntityValue:nt.initEntityValue,registerField:nt.registerField,useSubscribe:nt.useSubscribe,setInitialValues:nt.setInitialValues,destroyForm:nt.destroyForm,setCallbacks:nt.setCallbacks,setValidateMessages:nt.setValidateMessages,getFields:nt.getFields,setPreserve:nt.setPreserve,getInitialValue:nt.getInitialValue,registerWatch:nt.registerWatch}):((0,R.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,_.Z)(this,"useSubscribe",function(Dt){nt.subscribable=Dt}),(0,_.Z)(this,"prevWithoutPreserves",null),(0,_.Z)(this,"setInitialValues",function(Dt,_t){if(nt.initialValues=Dt||{},_t){var ur,cr=(0,ke.T)(Dt,nt.store);(ur=nt.prevWithoutPreserves)===null||ur===void 0||ur.map(function(Tr){var Ur=Tr.key;cr=(0,ke.Z)(cr,Ur,(0,Or.Z)(Dt,Ur))}),nt.prevWithoutPreserves=null,nt.updateStore(cr)}}),(0,_.Z)(this,"destroyForm",function(){var Dt=new Nn;nt.getFieldEntities(!0).forEach(function(_t){nt.isMergedPreserve(_t.isPreserve())||Dt.set(_t.getNamePath(),!0)}),nt.prevWithoutPreserves=Dt}),(0,_.Z)(this,"getInitialValue",function(Dt){var _t=(0,Or.Z)(nt.initialValues,Dt);return Dt.length?(0,ke.T)(_t):_t}),(0,_.Z)(this,"setCallbacks",function(Dt){nt.callbacks=Dt}),(0,_.Z)(this,"setValidateMessages",function(Dt){nt.validateMessages=Dt}),(0,_.Z)(this,"setPreserve",function(Dt){nt.preserve=Dt}),(0,_.Z)(this,"watchList",[]),(0,_.Z)(this,"registerWatch",function(Dt){return nt.watchList.push(Dt),function(){nt.watchList=nt.watchList.filter(function(_t){return _t!==Dt})}}),(0,_.Z)(this,"notifyWatch",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(nt.watchList.length){var _t=nt.getFieldsValue(),ur=nt.getFieldsValue(!0);nt.watchList.forEach(function(cr){cr(_t,ur,Dt)})}}),(0,_.Z)(this,"timeoutId",null),(0,_.Z)(this,"warningUnhooked",function(){}),(0,_.Z)(this,"updateStore",function(Dt){nt.store=Dt}),(0,_.Z)(this,"getFieldEntities",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Dt?nt.fieldEntities.filter(function(_t){return _t.getNamePath().length}):nt.fieldEntities}),(0,_.Z)(this,"getFieldsMap",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,_t=new Nn;return nt.getFieldEntities(Dt).forEach(function(ur){var cr=ur.getNamePath();_t.set(cr,ur)}),_t}),(0,_.Z)(this,"getFieldEntitiesForNamePathList",function(Dt){if(!Dt)return nt.getFieldEntities(!0);var _t=nt.getFieldsMap(!0);return Dt.map(function(ur){var cr=hr(ur);return _t.get(cr)||{INVALIDATE_NAME_PATH:hr(ur)}})}),(0,_.Z)(this,"getFieldsValue",function(Dt,_t){nt.warningUnhooked();var ur,cr,Tr;if(Dt===!0||Array.isArray(Dt)?(ur=Dt,cr=_t):Dt&&(0,Sr.Z)(Dt)==="object"&&(Tr=Dt.strict,cr=Dt.filter),ur===!0&&!cr)return nt.store;var Ur=nt.getFieldEntitiesForNamePathList(Array.isArray(ur)?ur:null),He=[];return Ur.forEach(function(rt){var xe,st,nr="INVALIDATE_NAME_PATH"in rt?rt.INVALIDATE_NAME_PATH:rt.getNamePath();if(Tr){var Pr,br;if((Pr=(br=rt).isList)!==null&&Pr!==void 0&&Pr.call(br))return}else if(!ur&&(xe=(st=rt).isListField)!==null&&xe!==void 0&&xe.call(st))return;if(!cr)He.push(nr);else{var Ir="getMeta"in rt?rt.getMeta():null;cr(Ir)&&He.push(nr)}}),$r(nt.store,He.map(hr))}),(0,_.Z)(this,"getFieldValue",function(Dt){nt.warningUnhooked();var _t=hr(Dt);return(0,Or.Z)(nt.store,_t)}),(0,_.Z)(this,"getFieldsError",function(Dt){nt.warningUnhooked();var _t=nt.getFieldEntitiesForNamePathList(Dt);return _t.map(function(ur,cr){return ur&&!("INVALIDATE_NAME_PATH"in ur)?{name:ur.getNamePath(),errors:ur.getErrors(),warnings:ur.getWarnings()}:{name:hr(Dt[cr]),errors:[],warnings:[]}})}),(0,_.Z)(this,"getFieldError",function(Dt){nt.warningUnhooked();var _t=hr(Dt),ur=nt.getFieldsError([_t])[0];return ur.errors}),(0,_.Z)(this,"getFieldWarning",function(Dt){nt.warningUnhooked();var _t=hr(Dt),ur=nt.getFieldsError([_t])[0];return ur.warnings}),(0,_.Z)(this,"isFieldsTouched",function(){nt.warningUnhooked();for(var Dt=arguments.length,_t=new Array(Dt),ur=0;ur<Dt;ur++)_t[ur]=arguments[ur];var cr=_t[0],Tr=_t[1],Ur,He=!1;_t.length===0?Ur=null:_t.length===1?Array.isArray(cr)?(Ur=cr.map(hr),He=!1):(Ur=null,He=cr):(Ur=cr.map(hr),He=Tr);var rt=nt.getFieldEntities(!0),xe=function(Ir){return Ir.isFieldTouched()};if(!Ur)return He?rt.every(xe):rt.some(xe);var st=new Nn;Ur.forEach(function(br){st.set(br,[])}),rt.forEach(function(br){var Ir=br.getNamePath();Ur.forEach(function(Br){Br.every(function(mn,Er){return Ir[Er]===mn})&&st.update(Br,function(mn){return[].concat((0,h.Z)(mn),[br])})})});var nr=function(Ir){return Ir.some(xe)},Pr=st.map(function(br){var Ir=br.value;return Ir});return He?Pr.every(nr):Pr.some(nr)}),(0,_.Z)(this,"isFieldTouched",function(Dt){return nt.warningUnhooked(),nt.isFieldsTouched([Dt])}),(0,_.Z)(this,"isFieldsValidating",function(Dt){nt.warningUnhooked();var _t=nt.getFieldEntities();if(!Dt)return _t.some(function(cr){return cr.isFieldValidating()});var ur=Dt.map(hr);return _t.some(function(cr){var Tr=cr.getNamePath();return nn(ur,Tr)&&cr.isFieldValidating()})}),(0,_.Z)(this,"isFieldValidating",function(Dt){return nt.warningUnhooked(),nt.isFieldsValidating([Dt])}),(0,_.Z)(this,"resetWithFieldInitialValue",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},_t=new Nn,ur=nt.getFieldEntities(!0);ur.forEach(function(Ur){var He=Ur.props.initialValue,rt=Ur.getNamePath();if(He!==void 0){var xe=_t.get(rt)||new Set;xe.add({entity:Ur,value:He}),_t.set(rt,xe)}});var cr=function(He){He.forEach(function(rt){var xe=rt.props.initialValue;if(xe!==void 0){var st=rt.getNamePath(),nr=nt.getInitialValue(st);if(nr!==void 0)(0,R.ZP)(!1,"Form already set 'initialValues' with path '".concat(st.join("."),"'. Field can not overwrite it."));else{var Pr=_t.get(st);if(Pr&&Pr.size>1)(0,R.ZP)(!1,"Multiple Field with path '".concat(st.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(Pr){var br=nt.getFieldValue(st);(!Dt.skipExist||br===void 0)&&nt.updateStore((0,ke.Z)(nt.store,st,(0,h.Z)(Pr)[0].value))}}}})},Tr;Dt.entities?Tr=Dt.entities:Dt.namePathList?(Tr=[],Dt.namePathList.forEach(function(Ur){var He=_t.get(Ur);if(He){var rt;(rt=Tr).push.apply(rt,(0,h.Z)((0,h.Z)(He).map(function(xe){return xe.entity})))}})):Tr=ur,cr(Tr)}),(0,_.Z)(this,"resetFields",function(Dt){nt.warningUnhooked();var _t=nt.store;if(!Dt){nt.updateStore((0,ke.T)(nt.initialValues)),nt.resetWithFieldInitialValue(),nt.notifyObservers(_t,null,{type:"reset"}),nt.notifyWatch();return}var ur=Dt.map(hr);ur.forEach(function(cr){var Tr=nt.getInitialValue(cr);nt.updateStore((0,ke.Z)(nt.store,cr,Tr))}),nt.resetWithFieldInitialValue({namePathList:ur}),nt.notifyObservers(_t,ur,{type:"reset"}),nt.notifyWatch(ur)}),(0,_.Z)(this,"setFields",function(Dt){nt.warningUnhooked();var _t=nt.store,ur=[];Dt.forEach(function(cr){var Tr=cr.name,Ur=(0,l.Z)(cr,Ui),He=hr(Tr);ur.push(He),"value"in Ur&&nt.updateStore((0,ke.Z)(nt.store,He,Ur.value)),nt.notifyObservers(_t,[He],{type:"setField",data:cr})}),nt.notifyWatch(ur)}),(0,_.Z)(this,"getFields",function(){var Dt=nt.getFieldEntities(!0),_t=Dt.map(function(ur){var cr=ur.getNamePath(),Tr=ur.getMeta(),Ur=(0,o.Z)((0,o.Z)({},Tr),{},{name:cr,value:nt.getFieldValue(cr)});return Object.defineProperty(Ur,"originRCField",{value:!0}),Ur});return _t}),(0,_.Z)(this,"initEntityValue",function(Dt){var _t=Dt.props.initialValue;if(_t!==void 0){var ur=Dt.getNamePath(),cr=(0,Or.Z)(nt.store,ur);cr===void 0&&nt.updateStore((0,ke.Z)(nt.store,ur,_t))}}),(0,_.Z)(this,"isMergedPreserve",function(Dt){var _t=Dt!==void 0?Dt:nt.preserve;return _t!=null?_t:!0}),(0,_.Z)(this,"registerField",function(Dt){nt.fieldEntities.push(Dt);var _t=Dt.getNamePath();if(nt.notifyWatch([_t]),Dt.props.initialValue!==void 0){var ur=nt.store;nt.resetWithFieldInitialValue({entities:[Dt],skipExist:!0}),nt.notifyObservers(ur,[Dt.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(cr,Tr){var Ur=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(nt.fieldEntities=nt.fieldEntities.filter(function(xe){return xe!==Dt}),!nt.isMergedPreserve(Tr)&&(!cr||Ur.length>1)){var He=cr?void 0:nt.getInitialValue(_t);if(_t.length&&nt.getFieldValue(_t)!==He&&nt.fieldEntities.every(function(xe){return!on(xe.getNamePath(),_t)})){var rt=nt.store;nt.updateStore((0,ke.Z)(rt,_t,He,!0)),nt.notifyObservers(rt,[_t],{type:"remove"}),nt.triggerDependenciesUpdate(rt,_t)}}nt.notifyWatch([_t])}}),(0,_.Z)(this,"dispatch",function(Dt){switch(Dt.type){case"updateValue":{var _t=Dt.namePath,ur=Dt.value;nt.updateValue(_t,ur);break}case"validateField":{var cr=Dt.namePath,Tr=Dt.triggerName;nt.validateFields([cr],{triggerName:Tr});break}default:}}),(0,_.Z)(this,"notifyObservers",function(Dt,_t,ur){if(nt.subscribable){var cr=(0,o.Z)((0,o.Z)({},ur),{},{store:nt.getFieldsValue(!0)});nt.getFieldEntities().forEach(function(Tr){var Ur=Tr.onStoreChange;Ur(Dt,_t,cr)})}else nt.forceRootUpdate()}),(0,_.Z)(this,"triggerDependenciesUpdate",function(Dt,_t){var ur=nt.getDependencyChildrenFields(_t);return ur.length&&nt.validateFields(ur),nt.notifyObservers(Dt,ur,{type:"dependenciesUpdate",relatedFields:[_t].concat((0,h.Z)(ur))}),ur}),(0,_.Z)(this,"updateValue",function(Dt,_t){var ur=hr(Dt),cr=nt.store;nt.updateStore((0,ke.Z)(nt.store,ur,_t)),nt.notifyObservers(cr,[ur],{type:"valueUpdate",source:"internal"}),nt.notifyWatch([ur]);var Tr=nt.triggerDependenciesUpdate(cr,ur),Ur=nt.callbacks.onValuesChange;if(Ur){var He=$r(nt.store,[ur]);Ur(He,nt.getFieldsValue())}nt.triggerOnFieldsChange([ur].concat((0,h.Z)(Tr)))}),(0,_.Z)(this,"setFieldsValue",function(Dt){nt.warningUnhooked();var _t=nt.store;if(Dt){var ur=(0,ke.T)(nt.store,Dt);nt.updateStore(ur)}nt.notifyObservers(_t,null,{type:"valueUpdate",source:"external"}),nt.notifyWatch()}),(0,_.Z)(this,"setFieldValue",function(Dt,_t){nt.setFields([{name:Dt,value:_t}])}),(0,_.Z)(this,"getDependencyChildrenFields",function(Dt){var _t=new Set,ur=[],cr=new Nn;nt.getFieldEntities().forEach(function(Ur){var He=Ur.props.dependencies;(He||[]).forEach(function(rt){var xe=hr(rt);cr.update(xe,function(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return st.add(Ur),st})})});var Tr=function Ur(He){var rt=cr.get(He)||new Set;rt.forEach(function(xe){if(!_t.has(xe)){_t.add(xe);var st=xe.getNamePath();xe.isFieldDirty()&&st.length&&(ur.push(st),Ur(st))}})};return Tr(Dt),ur}),(0,_.Z)(this,"triggerOnFieldsChange",function(Dt,_t){var ur=nt.callbacks.onFieldsChange;if(ur){var cr=nt.getFields();if(_t){var Tr=new Nn;_t.forEach(function(He){var rt=He.name,xe=He.errors;Tr.set(rt,xe)}),cr.forEach(function(He){He.errors=Tr.get(He.name)||He.errors})}var Ur=cr.filter(function(He){var rt=He.name;return nn(Dt,rt)});Ur.length&&ur(Ur,cr)}}),(0,_.Z)(this,"validateFields",function(Dt,_t){var ur;nt.warningUnhooked();var cr,Tr;Array.isArray(Dt)||typeof Dt=="string"||typeof _t=="string"?(cr=Dt,Tr=_t):Tr=Dt;var Ur=!!cr,He=Ur?cr.map(hr):[],rt=[],xe=String(Date.now()),st=new Set,nr=(ur=Tr)===null||ur===void 0?void 0:ur.recursive;nt.getFieldEntities(!0).forEach(function(Br){if(Ur||He.push(Br.getNamePath()),!(!Br.props.rules||!Br.props.rules.length)){var mn=Br.getNamePath();if(st.add(mn.join(xe)),!Ur||nn(He,mn,nr)){var Er=Br.validateRules((0,o.Z)({validateMessages:(0,o.Z)((0,o.Z)({},Ct),nt.validateMessages)},Tr));rt.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(rt);nt.lastValidatePromise=Pr,Pr.catch(function(Br){return Br}).then(function(Br){var mn=Br.map(function(Er){var un=Er.name;return un});nt.notifyObservers(nt.store,mn,{type:"validateFinish"}),nt.triggerOnFieldsChange(mn,Br)});var br=Pr.then(function(){return nt.lastValidatePromise===Pr?Promise.resolve(nt.getFieldsValue(He)):Promise.reject([])}).catch(function(Br){var mn=Br.filter(function(Er){return Er&&Er.errors.length});return Promise.reject({values:nt.getFieldsValue(He),errorFields:mn,outOfDate:nt.lastValidatePromise!==Pr})});br.catch(function(Br){return Br});var Ir=He.filter(function(Br){return st.has(Br.join(xe))});return nt.triggerOnFieldsChange(Ir),br}),(0,_.Z)(this,"submit",function(){nt.warningUnhooked(),nt.validateFields().then(function(Dt){var _t=nt.callbacks.onFinish;if(_t)try{_t(Dt)}catch(ur){console.error(ur)}}).catch(function(Dt){var _t=nt.callbacks.onFinishFailed;_t&&_t(Dt)})}),this.forceRootUpdate=vt});function bi(tr){var vt=r.useRef(),nt=r.useState({}),Dt=(0,_r.Z)(nt,2),_t=Dt[1];if(!vt.current)if(tr)vt.current=tr;else{var ur=function(){_t({})},cr=new mi(ur);vt.current=cr.getForm()}return[vt.current]}var vi=bi,di=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Yi=function(vt){var nt=vt.validateMessages,Dt=vt.onFormChange,_t=vt.onFormFinish,ur=vt.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),nt),triggerFormChange:function(He,rt){Dt&&Dt(He,{changedFields:rt,forms:Tr.current}),cr.triggerFormChange(He,rt)},triggerFormFinish:function(He,rt){_t&&_t(He,{values:rt,forms:Tr.current}),cr.triggerFormFinish(He,rt)},registerForm:function(He,rt){He&&(Tr.current=(0,o.Z)((0,o.Z)({},Tr.current),{},(0,_.Z)({},He,rt))),cr.registerForm(He,rt)},unregisterForm:function(He){var rt=(0,o.Z)({},Tr.current);delete rt[He],Tr.current=rt,cr.unregisterForm(He)}})},ur)},Xn=di,Vi=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Et=function(vt,nt){var Dt=vt.name,_t=vt.initialValues,ur=vt.fields,cr=vt.form,Tr=vt.preserve,Ur=vt.children,He=vt.component,rt=He===void 0?"form":He,xe=vt.validateMessages,st=vt.validateTrigger,nr=st===void 0?"onChange":st,Pr=vt.onValuesChange,br=vt.onFieldsChange,Ir=vt.onFinish,Br=vt.onFinishFailed,mn=(0,l.Z)(vt,Vi),Er=r.useContext(Xn),un=vi(cr),tn=(0,_r.Z)(un,1),sn=tn[0],wn=sn.getInternalHooks(M),fa=wn.useSubscribe,Ci=wn.setInitialValues,fi=wn.setCallbacks,hn=wn.setValidateMessages,ai=wn.setPreserve,Mi=wn.destroyForm;r.useImperativeHandle(nt,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),xe)),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(_t,!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 rt===!1?gs:r.createElement(rt,(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)},ct=Et;function Qn(tr){try{return JSON.stringify(tr)}catch(vt){return Math.random()}}var xi=function(){};function qn(){for(var tr=arguments.length,vt=new Array(tr),nt=0;nt<tr;nt++)vt[nt]=arguments[nt];var Dt=vt[0],_t=Dt===void 0?[]:Dt,ur=vt[1],cr=ur===void 0?{}:ur,Tr=V(cr)?{form:cr}:cr,Ur=Tr.form,He=(0,r.useState)(),rt=(0,_r.Z)(He,2),xe=rt[0],st=rt[1],nr=(0,r.useMemo)(function(){return Qn(xe)},[xe]),Pr=(0,r.useRef)(nr);Pr.current=nr;var br=(0,r.useContext)(B),Ir=Ur||br,Br=Ir&&Ir._init,mn=hr(_t),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(M),wn=sn.registerWatch,fa=wn(function(fi,hn){var ai=(0,Or.Z)(Tr.preserve?hn:fi,Er.current),Mi=Qn(ai);Pr.current!==Mi&&(Pr.current=Mi,st(ai))}),Ci=(0,Or.Z)(Tr.preserve?un(!0):un(),Er.current);return xe!==Ci&&st(Ci),fa}},[Br]),xe}var Wi=qn,hi=r.forwardRef(ct),ni=hi;ni.FormProvider=Yi,ni.Field=Lr,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 Ge},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,Ie=(0,x.Z)(_e,p);return a.createElement(y.Provider,{value:Ie},Ot)}var b=e(96949),A=e(55090),R=e(77205),M=e(38793),P=function(_e){(0,R.Z)(Ie,_e);var Ot=(0,M.Z)(Ie);function Ie(){return(0,b.Z)(this,Ie),Ot.apply(this,arguments)}return(0,A.Z)(Ie,[{key:"render",value:function(){return this.props.children}}]),Ie}(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),Ie=(0,l.Z)(Ot,2),ht=Ie[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,ht()});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 Ie={};return Ie[_e.toLowerCase()]=Ot.toLowerCase(),Ie["Webkit".concat(_e)]="webkit".concat(Ot),Ie["Moz".concat(_e)]="moz".concat(Ot),Ie["ms".concat(_e)]="MS".concat(Ot),Ie["O".concat(_e)]="o".concat(Ot.toLowerCase()),Ie}function F(_e,Ot){var Ie={animationend:ie("Animation","AnimationEnd"),transitionend:ie("Transition","TransitionEnd")};return _e&&("AnimationEvent"in Ot||delete Ie.animationend.animation,"TransitionEvent"in Ot||delete Ie.transitionend.transition),Ie}var L=F((0,ee.Z)(),typeof window!="undefined"?window:{}),Q={};if((0,ee.Z)()){var de=document.createElement("div");Q=de.style}var we={};function Pe(_e){if(we[_e])return we[_e];var Ot=L[_e];if(Ot)for(var Ie=Object.keys(Ot),ht=Ie.length,zt=0;zt<ht;zt+=1){var Ct=Ie[zt];if(Object.prototype.hasOwnProperty.call(Ot,Ct)&&Ct in Q)return we[_e]=Ot[Ct],we[_e]}return""}var Ue=Pe("animationend"),Be=Pe("transitionend"),Ft=!!(Ue&&Be),mt=Ue||"animationend",Pt=Be||"transitionend";function Qt(_e,Ot){if(!_e)return null;if((0,c.Z)(_e)==="object"){var Ie=Ot.replace(/-\w/g,function(ht){return ht[1].toUpperCase()});return _e[Ie]}return"".concat(_e,"-").concat(Ot)}var qt=function(_e){var Ot=(0,a.useRef)();function Ie(zt){zt&&(zt.removeEventListener(Pt,_e),zt.removeEventListener(mt,_e))}function ht(zt){Ot.current&&Ot.current!==zt&&Ie(Ot.current),zt&&zt!==Ot.current&&(zt.addEventListener(Pt,_e),zt.addEventListener(mt,_e),Ot.current=zt)}return a.useEffect(function(){return function(){Ie(Ot.current)}},[]),[ht,Ie]},Jt=(0,ee.Z)()?a.useLayoutEffect:a.useEffect,Xe=Jt,It=e(16089),Ut=function(){var _e=a.useRef(null);function Ot(){It.Z.cancel(_e.current)}function Ie(ht){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Ot();var Ct=(0,It.Z)(function(){zt<=1?ht({isCanceled:function(){return Ct!==_e.current}}):Ie(ht,zt-1)});_e.current=Ct}return a.useEffect(function(){return function(){Ot()}},[]),[Ie,Ot]},ut=[q,J,Y,le],bt=[q,ne],pt=!1,tt=!0;function ze(_e){return _e===Y||_e===le}var ye=function(_e,Ot,Ie){var ht=(0,$.Z)(ce),zt=(0,l.Z)(ht,2),Ct=zt[0],ke=zt[1],wt=Ut(),je=(0,l.Z)(wt,2),Qe=je[0],Oe=je[1];function kt(){ke(q,!0)}var Fe=Ot?bt:ut;return Xe(function(){if(Ct!==ce&&Ct!==le){var Dr=Fe.indexOf(Ct),St=Fe[Dr+1],Gr=Ie(Ct);Gr===pt?ke(St,!0):St&&Qe(function(Qr){function Sr(){Qr.isCanceled()||ke(St,!0)}Gr===!0?Sr():Promise.resolve(Gr).then(Sr)})}},[_e,Ct]),a.useEffect(function(){return function(){Oe()}},[]),[kt,Ct]};function Te(_e,Ot,Ie,ht){var zt=ht.motionEnter,Ct=zt===void 0?!0:zt,ke=ht.motionAppear,wt=ke===void 0?!0:ke,je=ht.motionLeave,Qe=je===void 0?!0:je,Oe=ht.motionDeadline,kt=ht.motionLeaveImmediately,Fe=ht.onAppearPrepare,Dr=ht.onEnterPrepare,St=ht.onLeavePrepare,Gr=ht.onAppearStart,Qr=ht.onEnterStart,Sr=ht.onLeaveStart,Or=ht.onAppearActive,hr=ht.onEnterActive,$r=ht.onLeaveActive,nn=ht.onAppearEnd,on=ht.onEnterEnd,sr=ht.onLeaveEnd,Mt=ht.onVisibleChanged,gt=(0,$.Z)(),yt=(0,l.Z)(gt,2),Nt=yt[0],Cr=yt[1],vr=K(V),lt=(0,l.Z)(vr,2),Lr=lt[0],_n=lt[1],Un=(0,$.Z)(null),_r=(0,l.Z)(Un,2),Jr=_r[0],dn=_r[1],Mn=Lr(),Jn=(0,a.useRef)(!1),Nn=(0,a.useRef)(null);function Ui(){return Ie()}var mi=(0,a.useRef)(!1);function bi(){_n(V),dn(null,!0)}var vi=(0,B.useEvent)(function(tr){var vt=Lr();if(vt!==V){var nt=Ui();if(!(tr&&!tr.deadline&&tr.target!==nt)){var Dt=mi.current,_t;vt===W&&Dt?_t=nn==null?void 0:nn(nt,tr):vt===oe&&Dt?_t=on==null?void 0:on(nt,tr):vt===ae&&Dt&&(_t=sr==null?void 0:sr(nt,tr)),Dt&&_t!==!1&&bi()}}}),di=qt(vi),Yi=(0,l.Z)(di,1),Xn=Yi[0],Vi=function(vt){switch(vt){case W:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Fe),J,Gr),Y,Or);case oe:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Dr),J,Qr),Y,hr);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]),ct=ye(Mn,!_e,function(tr){if(tr===q){var vt=Et[q];return vt?vt(Ui()):pt}if(qn in Et){var nt;dn(((nt=Et[qn])===null||nt===void 0?void 0:nt.call(Et,Ui(),null))||null)}return qn===Y&&Mn!==V&&(Xn(Ui()),Oe>0&&(clearTimeout(Nn.current),Nn.current=setTimeout(function(){vi({deadline:!0})},Oe))),qn===ne&&bi(),tt}),Qn=(0,l.Z)(ct,2),xi=Qn[0],qn=Qn[1],Wi=ze(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 vt;!tr&&Ot&&wt&&(vt=W),tr&&Ot&&Ct&&(vt=oe),(tr&&!Ot&&Qe||!tr&&kt&&!Ot&&Qe)&&(vt=ae);var nt=Vi(vt);vt&&(_e||nt[q])?(_n(vt),xi()):_n(V),hi.current=Ot}},[Ot]),(0,a.useEffect)(function(){(Mn===W&&!wt||Mn===oe&&!Ct||Mn===ae&&!Qe)&&_n(V)},[wt,Ct,Qe]),(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 Ie(zt,Ct){return!!(zt.motionName&&Ot&&Ct!==!1)}var ht=a.forwardRef(function(zt,Ct){var ke=zt.visible,wt=ke===void 0?!0:ke,je=zt.removeOnLeave,Qe=je===void 0?!0:je,Oe=zt.forceRender,kt=zt.children,Fe=zt.motionName,Dr=zt.leavedClassName,St=zt.eventProps,Gr=a.useContext(y),Qr=Gr.motion,Sr=Ie(zt,Qr),Or=(0,a.useRef)(),hr=(0,a.useRef)();function $r(){try{return Or.current instanceof HTMLElement?Or.current:(0,h.ZP)(hr.current)}catch(_r){return null}}var nn=Te(Sr,wt,$r,zt),on=(0,l.Z)(nn,4),sr=on[0],Mt=on[1],gt=on[2],yt=on[3],Nt=a.useRef(yt);yt&&(Nt.current=!0);var Cr=a.useCallback(function(_r){Or.current=_r,(0,u.mH)(Ct,_r)},[Ct]),vr,lt=(0,i.Z)((0,i.Z)({},St),{},{visible:wt});if(!kt)vr=null;else if(sr===V)yt?vr=kt((0,i.Z)({},lt),Cr):!Qe&&Nt.current&&Dr?vr=kt((0,i.Z)((0,i.Z)({},lt),{},{className:Dr}),Cr):Oe||!Qe&&!Dr?vr=kt((0,i.Z)((0,i.Z)({},lt),{},{style:{display:"none"}}),Cr):vr=null;else{var Lr;Mt===q?Lr="prepare":ze(Mt)?Lr="active":Mt===J&&(Lr="start");var _n=Qt(Fe,"".concat(sr,"-").concat(Lr));vr=kt((0,i.Z)((0,i.Z)({},lt),{},{className:o()(Qt(Fe,sr),(0,r.Z)((0,r.Z)({},_n,_n&&Lr),Fe,typeof Fe=="string")),style:gt}),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:hr},vr)});return ht.displayName="CSSMotion",ht}var $e=Me(Ft),We=e(72308),it=e(80237),ft="add",Vt="keep",Ht="remove",De="removed";function et(_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(et)}function Rt(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ie=[],ht=0,zt=Ot.length,Ct=Wt(_e),ke=Wt(Ot);Ct.forEach(function(Qe){for(var Oe=!1,kt=ht;kt<zt;kt+=1){var Fe=ke[kt];if(Fe.key===Qe.key){ht<kt&&(Ie=Ie.concat(ke.slice(ht,kt).map(function(Dr){return(0,i.Z)((0,i.Z)({},Dr),{},{status:ft})})),ht=kt),Ie.push((0,i.Z)((0,i.Z)({},Fe),{},{status:Vt})),ht+=1,Oe=!0;break}}Oe||Ie.push((0,i.Z)((0,i.Z)({},Qe),{},{status:Ht}))}),ht<zt&&(Ie=Ie.concat(ke.slice(ht).map(function(Qe){return(0,i.Z)((0,i.Z)({},Qe),{},{status:ft})})));var wt={};Ie.forEach(function(Qe){var Oe=Qe.key;wt[Oe]=(wt[Oe]||0)+1});var je=Object.keys(wt).filter(function(Qe){return wt[Qe]>1});return je.forEach(function(Qe){Ie=Ie.filter(function(Oe){var kt=Oe.key,Fe=Oe.status;return kt!==Qe||Fe!==Ht}),Ie.forEach(function(Oe){Oe.key===Qe&&(Oe.status=Vt)})}),Ie}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,Ie=function(ht){(0,R.Z)(Ct,ht);var zt=(0,M.Z)(Ct);function Ct(){var ke;(0,b.Z)(this,Ct);for(var wt=arguments.length,je=new Array(wt),Qe=0;Qe<wt;Qe++)je[Qe]=arguments[Qe];return ke=zt.call.apply(zt,[this].concat(je)),(0,r.Z)((0,it.Z)(ke),"state",{keyEntities:[]}),(0,r.Z)((0,it.Z)(ke),"removeKey",function(Oe){ke.setState(function(kt){var Fe=kt.keyEntities.map(function(Dr){return Dr.key!==Oe?Dr:(0,i.Z)((0,i.Z)({},Dr),{},{status:De})});return{keyEntities:Fe}},function(){var kt=ke.state.keyEntities,Fe=kt.filter(function(Dr){var St=Dr.status;return St!==De}).length;Fe===0&&ke.props.onAllRemoved&&ke.props.onAllRemoved()})}),ke}return(0,A.Z)(Ct,[{key:"render",value:function(){var wt=this,je=this.state.keyEntities,Qe=this.props,Oe=Qe.component,kt=Qe.children,Fe=Qe.onVisibleChanged,Dr=Qe.onAllRemoved,St=(0,x.Z)(Qe,Zt),Gr=Oe||a.Fragment,Qr={};return At.forEach(function(Sr){Qr[Sr]=St[Sr],delete St[Sr]}),delete St.keys,a.createElement(Gr,St,je.map(function(Sr,Or){var hr=Sr.status,$r=(0,x.Z)(Sr,Bt),nn=hr===ft||hr===Vt;return a.createElement(Ot,(0,We.Z)({},Qr,{key:$r.key,visible:nn,eventProps:$r,onVisibleChanged:function(sr){Fe==null||Fe(sr,{key:$r.key}),sr||wt.removeKey($r.key)}}),function(on,sr){return kt((0,i.Z)((0,i.Z)({},on),{},{index:Or}),sr)})}))}}],[{key:"getDerivedStateFromProps",value:function(wt,je){var Qe=wt.keys,Oe=je.keyEntities,kt=Wt(Qe),Fe=Rt(Oe,kt);return{keyEntities:Fe.filter(function(Dr){var St=Oe.find(function(Gr){var Qr=Gr.key;return Dr.key===Qr});return!(St&&St.status===De&&Dr.status===Ht)})}}}]),Ct}(a.Component);return(0,r.Z)(Ie,"defaultProps",{component:"div"}),Ie}var Ge=Kt(Ft),fe=$e},581:function(d,g,e){"use strict";e.d(g,{qX:function(){return b},JB:function(){return M},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,L=ae.closeIcon,Q=L===void 0?"x":L,de=ae.props,we=ae.onClick,Pe=ae.onNoticeClose,Ue=ae.times,Be=c.useState(!1),Ft=(0,i.Z)(Be,2),mt=Ft[0],Pt=Ft[1],Qt=function(){Pe(ee)},qt=function(It){(It.key==="Enter"||It.code==="Enter"||It.keyCode===y.Z.ENTER)&&Qt()};c.useEffect(function(){if(!mt&&ne>0){var Xe=setTimeout(function(){Qt()},ne*1e3);return function(){clearTimeout(Xe)}}},[ne,mt,Ue]);var Jt="".concat(q,"-notice");return c.createElement("div",(0,h.Z)({},de,{ref:ce,className:a()(Jt,Y,(0,p.Z)({},"".concat(Jt,"-closable"),F)),style:J,onMouseEnter:function(){Pt(!0)},onMouseLeave:function(){Pt(!1)},onClick:we}),c.createElement("div",{className:"".concat(Jt,"-content")},ie),F&&c.createElement("a",{tabIndex:0,className:"".concat(Jt,"-close"),onKeyDown:qt,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)},M=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,L=(0,c.useContext)(A),Q=L.classNames,de=q.map(function(Pe){return{config:Pe,key:Pe.key}}),we=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},we,{onAllRemoved:function(){ie(J)}}),function(Pe,Ue){var Be=Pe.config,Ft=Pe.className,mt=Pe.style,Pt=Be,Qt=Pt.key,qt=Pt.times,Jt=Be,Xe=Jt.className,It=Jt.style;return c.createElement(b,(0,h.Z)({},Be,{ref:Ue,prefixCls:Y,className:a()(Ft,Xe,Q==null?void 0:Q.notice),style:(0,f.Z)((0,f.Z)({},mt),It),times:qt,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,L=ae.renderNotifications,Q=c.useState([]),de=(0,i.Z)(Q,2),we=de[0],Pe=de[1],Ue=function(It){var Ut,ut=we.find(function(bt){return bt.key===It});ut==null||(Ut=ut.onClose)===null||Ut===void 0||Ut.call(ut),Pe(function(bt){return bt.filter(function(pt){return pt.key!==It})})};c.useImperativeHandle(ce,function(){return{open:function(It){Pe(function(Ut){var ut=(0,r.Z)(Ut),bt=ut.findIndex(function(ze){return ze.key===It.key}),pt=(0,f.Z)({},It);if(bt>=0){var tt;pt.times=(((tt=Ut[bt])===null||tt===void 0?void 0:tt.times)||0)+1,ut[bt]=pt}else pt.times=0,ut.push(pt);return ne>0&&ut.length>ne&&(ut=ut.slice(-ne)),ut})},close:function(It){Ue(It)},destroy:function(){Pe([])}}});var Be=c.useState({}),Ft=(0,i.Z)(Be,2),mt=Ft[0],Pt=Ft[1];c.useEffect(function(){var Xe={};we.forEach(function(It){var Ut=It.placement,ut=Ut===void 0?"topRight":Ut;ut&&(Xe[ut]=Xe[ut]||[],Xe[ut].push(It))}),Object.keys(mt).forEach(function(It){Xe[It]=Xe[It]||[]}),Pt(Xe)},[we]);var Qt=function(It){Pt(function(Ut){var ut=(0,f.Z)({},Ut),bt=ut[It]||[];return bt.length||delete ut[It],ut})},qt=c.useRef(!1);if(c.useEffect(function(){Object.keys(mt).length>0?qt.current=!0:qt.current&&(F==null||F(),qt.current=!1)},[mt]),!Y)return null;var Jt=Object.keys(mt);return(0,o.createPortal)(c.createElement(c.Fragment,null,Jt.map(function(Xe){var It=mt[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:Ue,onAllNoticeRemoved:Qt});return L?L(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,L=(0,l.Z)(ae,j),Q=c.useState(),de=(0,i.Z)(Q,2),we=de[0],Pe=de[1],Ue=c.useRef(),Be=c.createElement($,{container:we,ref:Ue,prefixCls:Y,motion:J,maxCount:le,className:ne,style:ee,onAllRemoved:ie,renderNotifications:F}),Ft=c.useState([]),mt=(0,i.Z)(Ft,2),Pt=mt[0],Qt=mt[1],qt=c.useMemo(function(){return{open:function(Xe){var It=W(L,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(){Pe(q())}),c.useEffect(function(){Ue.current&&Pt.length&&(Pt.forEach(function(Jt){switch(Jt.type){case"open":Ue.current.open(Jt.config);break;case"close":Ue.current.close(Jt.key);break;case"destroy":Ue.current.destroy();break}}),Qt(function(Jt){return Jt.filter(function(Xe){return!Pt.includes(Xe)})}))},[Pt]),[qt,Be]}},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),L=i.useCallback(function(Q,de,we){ee.current+=1;var Pe=ee.current;ie.current.push({size:Q,element:de,data:we}),Promise.resolve().then(function(){Pe===ee.current&&(ne==null||ne(ie.current),ie.current=[])}),F==null||F(Q,de,we)},[ne,F]);return i.createElement(a.Provider,{value:L},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 M(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),L=i.useContext(a),Q=typeof ne=="function",de=Q?ne(ie):ne,we=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Pe=!Q&&i.isValidElement(de)&&(0,u.Yr)(de),Ue=Pe?(0,u.C4)(de):null,Be=(0,u.x1)(Ue,ie),Ft=function(){var qt;return(0,h.ZP)(ie.current)||(ie.current&&(0,o.Z)(ie.current)==="object"?(0,h.ZP)((qt=ie.current)===null||qt===void 0?void 0:qt.nativeElement):null)||(0,h.ZP)(F.current)};i.useImperativeHandle(le,function(){return Ft()});var mt=i.useRef(Y);mt.current=Y;var Pt=i.useCallback(function(Qt){var qt=mt.current,Jt=qt.onResize,Xe=qt.data,It=Qt.getBoundingClientRect(),Ut=It.width,ut=It.height,bt=Qt.offsetWidth,pt=Qt.offsetHeight,tt=Math.floor(Ut),ze=Math.floor(ut);if(we.current.width!==tt||we.current.height!==ze||we.current.offsetWidth!==bt||we.current.offsetHeight!==pt){var ye={width:tt,height:ze,offsetWidth:bt,offsetHeight:pt};we.current=ye;var Te=bt===Math.round(Ut)?Ut:bt,Me=pt===Math.round(ut)?ut:pt,$e=(0,f.Z)((0,f.Z)({},ye),{},{offsetWidth:Te,offsetHeight:Me});L==null||L($e,Qt,Xe),Jt&&Promise.resolve().then(function(){Jt($e,Qt)})}},[]);return i.useEffect(function(){var Qt=Ft();return Qt&&!ee&&M(Qt,Pt),function(){return P(Qt,Pt)}},[ie.current,ee]),i.createElement(K,{ref:F},Pe?i.cloneElement(de,{ref:Be}):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 L=(ie==null?void 0:ie.key)||"".concat(ae,"-").concat(F);return i.createElement(oe,(0,r.Z)({},Y,{key:L,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 M}});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,L=D.placement,Q=L===void 0?"right":L,de=D.align,we=de===void 0?{}:de,Pe=D.destroyTooltipOnHide,Ue=Pe===void 0?!1:Pe,Be=D.defaultVisible,Ft=D.getTooltipContainer,mt=D.overlayInnerStyle,Pt=D.arrowContent,Qt=D.overlay,qt=D.id,Jt=D.showArrow,Xe=Jt===void 0?!0:Jt,It=(0,l.Z)(D,b),Ut=(0,f.useRef)(null);(0,f.useImperativeHandle)(B,function(){return Ut.current});var ut=(0,i.Z)({},It);"visible"in D&&(ut.popupVisible=D.visible);var bt=function(){return f.createElement(_,{key:"content",prefixCls:J,id:qt,overlayInnerStyle:mt},Qt)};return f.createElement(c.Z,(0,r.Z)({popupClassName:$,prefixCls:J,popup:bt,action:K,builtinPlacements:a,popupPlacement:Q,ref:Ut,popupAlign:we,getPopupContainer:Ft,onPopupVisibleChange:le,afterPopupVisibleChange:ne,popupTransitionName:ee,popupAnimation:ie,popupMotion:F,defaultPopupVisible:Be,autoDestroy:Ue,mouseLeaveDelay:ae,popupStyle:ce,mouseEnterDelay:W,arrow:Xe},ut),Y)},R=(0,f.forwardRef)(A),M=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 M},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 M(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 M(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,";"):"",M=A?"height: ".concat(_.height,";"):"";(0,r.hq)(`
|
|
|
#`.concat(h,`::-webkit-scrollbar {
|
|
|
`).concat(R,`
|
|
|
`).concat(M,`
|
|
|
}`),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],M=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)||M(p)},[p]);var W=(0,i.Z)(function(oe,ae){M(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),M=0;M<A;M++)R[M]=arguments[M];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),M=0;M<A;M++)R[M]=arguments[M];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,M;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"&&!((M=A.prototype)!==null&&M!==void 0&&M.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)(_),M=R[0],P=R.slice(1),D;return!y&&typeof M=="number"?D=[]:Array.isArray(y)?D=(0,l.Z)(y):D=(0,i.Z)({},y),A&&b===void 0&&P.length===1?delete D[M][P[0]]:D[M]=o(D[M],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 M(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){M([].concat((0,l.Z)(P),[V]),B)})}}else A=h(A,P,$)}M([])}),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){M(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 M(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))),M(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,M(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 M(v,T,z,ge,Le,ot,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=ot,this.removeEmptyString=w}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(v){P[v]=new M(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 M(T,1,!1,v[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(v){P[v]=new M(v,2,!1,v.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(v){P[v]=new M(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 M(v,3,!1,v.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(v){P[v]=new M(v,3,!0,v,null,!1,!1)}),["capture","download"].forEach(function(v){P[v]=new M(v,4,!1,v,null,!1,!1)}),["cols","rows","size","span"].forEach(function(v){P[v]=new M(v,6,!1,v,null,!1,!1)}),["rowSpan","start"].forEach(function(v){P[v]=new M(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 M(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 M(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 M(T,1,!1,v,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(v){P[v]=new M(v,1,!1,v.toLowerCase(),null,!1,!1)}),P.xlinkHref=new M("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(v){P[v]=new M(v,1,!1,v.toLowerCase(),null,!0,!0)});function $(v,T,z,ge){var Le=P.hasOwnProperty(T)?P[T]:null,ot=Le!==null?Le.type===0:ge?!1:!(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N");ot||(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,L=60129,Q=60130,de=60131;if(typeof Symbol=="function"&&Symbol.for){var we=Symbol.for;K=we("react.element"),V=we("react.portal"),W=we("react.fragment"),oe=we("react.strict_mode"),ae=we("react.profiler"),ce=we("react.provider"),q=we("react.context"),J=we("react.forward_ref"),Y=we("react.suspense"),le=we("react.suspense_list"),ne=we("react.memo"),ee=we("react.lazy"),ie=we("react.block"),we("react.scope"),F=we("react.opaque.id"),L=we("react.debug_trace_mode"),Q=we("react.offscreen"),de=we("react.legacy_hidden")}var Pe=typeof Symbol=="function"&&Symbol.iterator;function Ue(v){return v===null||typeof v!="object"?null:(v=Pe&&v[Pe]||v["@@iterator"],typeof v=="function"?v:null)}var Be;function Ft(v){if(Be===void 0)try{throw Error()}catch(z){var T=z.stack.trim().match(/\n( *(at )?)/);Be=T&&T[1]||""}return`
|
|
|
`+Be+v}var mt=!1;function Pt(v,T){if(!v||mt)return"";mt=!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(`
|
|
|
`),ot=ge.stack.split(`
|
|
|
`),w=Le.length-1,t=ot.length-1;1<=w&&0<=t&&Le[w]!==ot[t];)t--;for(;1<=w&&0<=t;w--,t--)if(Le[w]!==ot[t]){if(w!==1||t!==1)do if(w--,t--,0>t||Le[w]!==ot[t])return`
|
|
|
`+Le[w].replace(" at new "," at ");while(1<=w&&0<=t);break}}}finally{mt=!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 qt(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 qt(v.type);case ie:return qt(v._render);case ee:T=v._payload,v=v._init;try{return qt(v(T))}catch(z){}}return null}function Jt(v){switch(typeof v){case"boolean":case"number":case"object":case"string":case"undefined":return v;default:return""}}function Xe(v){var 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,ot=z.set;return Object.defineProperty(v,T,{configurable:!0,get:function(){return Le.call(this)},set:function(w){ge=""+w,ot.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 ut(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 pt(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 tt(v,T){var z=T.defaultValue==null?"":T.defaultValue,ge=T.checked!=null?T.checked:T.defaultChecked;z=Jt(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 ze(v,T){T=T.checked,T!=null&&$(v,"checked",T,!1)}function ye(v,T){ze(v,T);var z=Jt(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,Jt(T.defaultValue)),T.checked==null&&T.defaultChecked!=null&&(v.defaultChecked=!!T.defaultChecked)}function Te(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 We(v,T){return v=i({children:void 0},T),(T=$e(T.children))&&(v.children=T),v}function it(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=""+Jt(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 ft(v,T){if(T.dangerouslySetInnerHTML!=null)throw Error(c(91));return i({},T,{value:void 0,defaultValue:void 0,children:""+v._wrapperState.initialValue})}function Vt(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:Jt(z)}}function Ht(v,T){var z=Jt(T.value),ge=Jt(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 De(v){var T=v.textContent;T===v._wrapperState.initialValue&&T!==""&&T!==null&&(v.value=T)}var et={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 Rt(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!==et.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},Ge=["Webkit","ms","Moz","O"];Object.keys(Kt).forEach(function(v){Ge.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 Ie(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 ht(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 je(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 Qe(v){ke?wt?wt.push(v):wt=[v]:ke=v}function Oe(){if(ke){var v=ke,T=wt;if(wt=ke=null,je(v),T)for(v=0;v<T.length;v++)je(T[v])}}function kt(v,T){return v(T)}function Fe(v,T,z,ge,Le){return v(T,z,ge,Le)}function Dr(){}var St=kt,Gr=!1,Qr=!1;function Sr(){(ke!==null||wt!==null)&&(Dr(),Oe())}function Or(v,T,z){if(Qr)return v(T,z);Qr=!0;try{return St(v,T,z)}finally{Qr=!1,Sr()}}function hr(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,ot,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,gt=!1,yt=null,Nt={onError:function(v){sr=!0,Mt=v}};function Cr(v,T,z,ge,Le,ot,w,t,n){sr=!1,Mt=null,on.apply(Nt,arguments)}function vr(v,T,z,ge,Le,ot,w,t,n){if(Cr.apply(this,arguments),sr){if(sr){var s=Mt;sr=!1,Mt=null}else throw Error(c(198));gt||(gt=!0,yt=s)}}function lt(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 Lr(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(lt(v)!==v)throw Error(c(188))}function Un(v){var T=v.alternate;if(!T){if(T=lt(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 ot=Le.alternate;if(ot===null){if(ge=Le.return,ge!==null){z=ge;continue}break}if(Le.child===ot.child){for(ot=Le.child;ot;){if(ot===z)return _n(Le),v;if(ot===ge)return _n(Le),T;ot=ot.sibling}throw Error(c(188))}if(z.return!==ge.return)z=Le,ge=ot;else{for(var w=!1,t=Le.child;t;){if(t===z){w=!0,z=Le,ge=ot;break}if(t===ge){w=!0,ge=Le,z=ot;break}t=t.sibling}if(!w){for(t=ot.child;t;){if(t===z){w=!0,z=ot,ge=Le;break}if(t===ge){w=!0,ge=ot,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 ct(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,ot){return v===null||v.nativeEvent!==ot?(v=ct(T,z,ge,Le,ot),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 ot=Le.pointerId;return Yi.set(ot,xi(Yi.get(ot)||null,v,T,z,ge,Le)),!0;case"gotpointercapture":return ot=Le.pointerId,Xn.set(ot,xi(Xn.get(ot)||null,v,T,z,ge,Le)),!0}return!1}function Wi(v){var T=$a(v.target);if(T!==null){var z=lt(T);if(z!==null){if(T=z.tag,T===13){if(T=Lr(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 vt(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 nt(v,T){var z={};return z[v.toLowerCase()]=T.toLowerCase(),z["Webkit"+v]="webkit"+T,z["Moz"+v]="moz"+T,z}var Dt={animationend:nt("Animation","AnimationEnd"),animationiteration:nt("Animation","AnimationIteration"),animationstart:nt("Animation","AnimationStart"),transitionend:nt("Transition","TransitionEnd")},_t={},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(_t[v])return _t[v];if(!Dt[v])return v;var T=Dt[v],z;for(z in T)if(T.hasOwnProperty(z)&&z in ur)return _t[v]=T[z];return v}var Tr=cr("animationend"),Ur=cr("animationiteration"),He=cr("animationstart"),rt=cr("transitionend"),xe=new Map,st=new Map,nr=["abort","abort",Tr,"animationEnd",Ur,"animationIteration",He,"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",rt,"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)),st.set(ge,T),xe.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,ot=v.expiredLanes,w=v.suspendedLanes,t=v.pingedLanes;if(ot!==0)ge=ot,Le=Ir=15;else if(ot=z&134217727,ot!==0){var n=ot&~w;n!==0?(ge=Br(n),Le=Ir):(t&=ot,t!==0&&(ge=Br(t),Le=Ir))}else ot=z&~w,ot!==0?(ge=Br(ot),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,ot=Gr;Gr=!0;try{Fe(Le,v,T,z,ge)}finally{(Gr=ot)||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=ct(null,v,T,z,ge),mi.push(v);else{var ot=gs(v,T,z,ge);if(ot===null)Le&&Qn(v,ge);else{if(Le){if(-1<Et.indexOf(v)){v=ct(ot,v,T,z,ge),mi.push(v);return}if(qn(ot,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 ot=lt(Le);if(ot===null)Le=null;else{var w=ot.tag;if(w===13){if(Le=Lr(ot),Le!==null)return Le;Le=null}else if(w===3){if(ot.stateNode.hydrate)return ot.tag===3?ot.stateNode.containerInfo:null;Le=null}else ot!==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,ot=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[ot-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,ot,w){this._reactName=z,this._targetInst=Le,this.type=ge,this.nativeEvent=ot,this.target=w,this.currentTarget=null;for(var t in v)v.hasOwnProperty(t)&&(z=v[t],this[t]=z?z(ot):ot[t]);return this.isDefaultPrevented=(ot.defaultPrevented!=null?ot.defaultPrevented:ot.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){Qe(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(ut(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",Mr),ar=fr=null)}function Mr(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{kt(v,T)}finally{Gr=!1,Sr()}}}}function yr(v,T,z){v==="focusin"?(or(),fr=T,ar=z,fr.attachEvent("onpropertychange",Mr)):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 dt(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++)st.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 ot=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!==ot&&Le.isPropagationStopped())break e;Ms(Le,t,s),ot=n}else for(w=0;w<ge.length;w++){if(t=ge[w],n=t.instance,s=t.currentTarget,t=t.listener,n!==ot&&Le.isPropagationStopped())break e;Ms(Le,t,s),ot=n}}}if(gt)throw v=yt,gt=!1,yt=null,v}function qe(v,T){var z=co(T),ge=v+"__bubble";z.has(ge)||(Rr(T,v,2,!1),z.add(ge))}var Lt="_reactListening"+Math.random().toString(36).slice(2);function Gt(v){v[Lt]||(v[Lt]=!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,ot=z;if(v==="selectionchange"&&z.nodeType!==9&&(ot=z.ownerDocument),ge!==null&&!T&&Ls.has(v)){if(v!=="scroll")return;Le|=2,ot=ge}var w=co(ot),t=v+"__"+(T?"capture":"bubble");w.has(t)||(T&&(Le|=4),Rr(ot,v,Le,T),w.add(t))}function Rr(v,T,z,ge){var Le=st.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 ot=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=ot=w;continue e}t=t.parentNode}}ge=ge.return}Or(function(){var s=ot,m=zt(z),E=[];e:{var C=xe.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 He:U=To;break;case rt: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,Se;ve!==null;){Se=ve;var Ee=Se.stateNode;if(Se.tag===5&&Ee!==null&&(Se=Ee,ue!==null&&(Ee=hr(ve,ue),Ee!=null&&H.push(pn(ve,Ee,Se)))),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=lt(G),G!==se||G.tag!==5&&G.tag!==6)&&(G=null)):(U=null,G=s),U!==G)){if(H=Da,Ee="onMouseLeave",ue="onMouseEnter",ve="mouse",(v==="pointerout"||v==="pointerover")&&(H=Vs,Ee="onPointerLeave",ue="onPointerEnter",ve="pointer"),se=U==null?C:io(U),Se=G==null?C:io(G),C=new H(Ee,ve+"leave",U,z,m),C.target=se,C.relatedTarget=Se,Ee=null,$a(m)===s&&(H=new H(ue,ve+"enter",G,z,m),H.target=Se,H.relatedTarget=se,Ee=H),se=Ee,U&&G)t:{for(H=U,ue=G,ve=0,Se=H;Se;Se=gn(Se))ve++;for(Se=0,Ee=ue;Ee;Ee=gn(Ee))Se++;for(;0<ve-Se;)H=gn(H),ve--;for(;0<Se-ve;)ue=gn(ue),Se--;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 Je=vn;else if(Cu(C))if(xn)Je=dt;else{Je=fn;var at=yr}else(U=C.nodeName)&&U.toLowerCase()==="input"&&(C.type==="checkbox"||C.type==="radio")&&(Je=zn);if(Je&&(Je=Je(v,s))){Xt(E,Je,z,m);break e}at&&at(v,C,s),v==="focusout"&&(at=C._wrapperState)&&at.controlled&&C.type==="number"&&Me(C,"number",C.value)}switch(at=s?io(s):window,v){case"focusin":(Cu(at)||at.contentEditable==="true")&&(ui=at,$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)),at=en(s,ir),0<at.length&&(ir=new ho(ir,v,null,z,m),E.push({event:ir,listeners:at}),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,ot=Le.stateNode;Le.tag===5&&ot!==null&&(Le=ot,ot=hr(v,z),ot!=null&&ge.unshift(pn(v,ot,Le)),ot=hr(v,T),ot!=null&&ge.push(pn(v,ot,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 ot=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=hr(z,ot),n!=null&&w.unshift(pn(z,n,t))):Le||(n=hr(z,ot),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),Ae=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={},ot;for(ot in z)Le[ot]=T[ot];return ge&&(v=v.stateNode,v.__reactInternalMemoizedUnmaskedChildContext=T,v.__reactInternalMemoizedMaskedChildContext=Le),Le}function Xr(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,qt(T)||"Unknown",Le));return i({},z,ge)}function ei(v){return v=(v=v.stateNode)&&v.__reactInternalMemoizedMergedChildContext||ys,Ae=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,Ae),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,Ke=l.unstable_IdlePriority,Z={},X=Qs!==void 0?Qs:function(){},te=null,pe=null,Ce=!1,Ve=tu(),Tt=1e4>Ve?tu:function(){return tu()-Ve};function $t(){switch(tl()){case Ku:return 99;case Tu:return 98;case zc:return 97;case pu:return 96;case Ke: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 Ke;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(!Ce&&te!==null){Ce=!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{Ce=!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,ot=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};ot===null?Le=ot=w:ot=ot.next=w,z=z.next}while(z!==null);ot===null?Le=ot=T:ot=ot.next=T}else Le=ot=T;z={baseState:ge.baseState,firstBaseUpdate:Le,lastBaseUpdate:ot,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 ot=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?ot=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(ot!==null){E=Le.baseState,w=0,m=s=n=null;do{t=ot.lane;var C=ot.eventTime;if((ge&t)===t){m!==null&&(m=m.next={eventTime:C,lane:0,tag:ot.tag,payload:ot.payload,callback:ot.callback,next:null});e:{var U=v,G=ot;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}}ot.callback!==null&&(v.flags|=32,t=Le.effects,t===null?Le.effects=[ot]:t.push(ot))}else C={eventTime:C,lane:t,tag:ot.tag,payload:ot.payload,callback:ot.callback,next:null},m===null?(s=m=C,n=E):m=m.next=C,w|=t;if(ot=ot.next,ot===null){if(t=Le.shared.pending,t===null)break;ot=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)?lt(v)===v:!1},enqueueSetState:function(v,T,z){v=v._reactInternals;var ge=ou(),Le=Hu(v),ot=Us(ge,Le);ot.payload=T,z!=null&&(ot.callback=z),ms(v,ot),Ol(v,Le,ge)},enqueueReplaceState:function(v,T,z){v=v._reactInternals;var ge=ou(),Le=Hu(v),ot=Us(ge,Le);ot.tag=1,ot.payload=T,z!=null&&(ot.callback=z),ms(v,ot),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,ot,w){return v=v.stateNode,typeof v.shouldComponentUpdate=="function"?v.shouldComponentUpdate(ge,ot,w):T.prototype&&T.prototype.isPureReactComponent?!zi(z,ge)||!zi(Le,ot):!0}function ru(v,T,z){var ge=!1,Le=ys,ot=T.contextType;return typeof ot=="object"&&ot!==null?ot=wa(ot):(Le=Xr(T)?Ae:Hi.current,ge=T.contextTypes,ot=(ge=ge!=null)?wr(v,Le):ys),T=new T(z,ot),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=ot),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 ot=T.contextType;typeof ot=="object"&&ot!==null?Le.context=wa(ot):(ot=Xr(T)?Ae:Hi.current,Le.context=wr(v,ot)),Ps(v,z,Le,ge),Le.state=v.memoizedState,ot=T.getDerivedStateFromProps,typeof ot=="function"&&(Bl(v,T,ot,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(ot){var w=ge.refs;w===qs&&(w=ge.refs={}),ot===null?delete w[Le]:w[Le]=ot},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 ot(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,Se){return ue===null||ue.tag!==6?(ue=df(ve,se.mode,Se),ue.return=se,ue):(ue=Le(ue,ve),ue.return=se,ue)}function n(se,ue,ve,Se){return ue!==null&&ue.elementType===ve.type?(Se=Le(ue,ve.props),Se.ref=Js(se,ue,ve),Se.return=se,Se):(Se=_l(ve.type,ve.key,ve.props,null,se.mode,Se),Se.ref=Js(se,ue,ve),Se.return=se,Se)}function s(se,ue,ve,Se){return ue===null||ue.tag!==4||ue.stateNode.containerInfo!==ve.containerInfo||ue.stateNode.implementation!==ve.implementation?(ue=Nc(ve,se.mode,Se),ue.return=se,ue):(ue=Le(ue,ve.children||[]),ue.return=se,ue)}function m(se,ue,ve,Se,Ee){return ue===null||ue.tag!==7?(ue=Vo(ve,se.mode,Se,Ee),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)||Ue(ue))return ue=Vo(ue,se.mode,ve,null),ue.return=se,ue;gl(se,ue)}return null}function C(se,ue,ve,Se){var Ee=ue!==null?ue.key:null;if(typeof ve=="string"||typeof ve=="number")return Ee!==null?null:t(se,ue,""+ve,Se);if(typeof ve=="object"&&ve!==null){switch(ve.$$typeof){case K:return ve.key===Ee?ve.type===W?m(se,ue,ve.props.children,Se,Ee):n(se,ue,ve,Se):null;case V:return ve.key===Ee?s(se,ue,ve,Se):null}if(cu(ve)||Ue(ve))return Ee!==null?null:m(se,ue,ve,Se,null);gl(se,ve)}return null}function U(se,ue,ve,Se,Ee){if(typeof Se=="string"||typeof Se=="number")return se=se.get(ve)||null,t(ue,se,""+Se,Ee);if(typeof Se=="object"&&Se!==null){switch(Se.$$typeof){case K:return se=se.get(Se.key===null?ve:Se.key)||null,Se.type===W?m(ue,se,Se.props.children,Ee,Se.key):n(ue,se,Se,Ee);case V:return se=se.get(Se.key===null?ve:Se.key)||null,s(ue,se,Se,Ee)}if(cu(Se)||Ue(Se))return se=se.get(ve)||null,m(ue,se,Se,Ee,null);gl(ue,Se)}return null}function G(se,ue,ve,Se){for(var Ee=null,Je=null,at=ue,jt=ue=0,ir=null;at!==null&&jt<ve.length;jt++){at.index>jt?(ir=at,at=null):ir=at.sibling;var er=C(se,at,ve[jt],Se);if(er===null){at===null&&(at=ir);break}v&&at&&er.alternate===null&&T(se,at),ue=ot(er,ue,jt),Je===null?Ee=er:Je.sibling=er,Je=er,at=ir}if(jt===ve.length)return z(se,at),Ee;if(at===null){for(;jt<ve.length;jt++)at=E(se,ve[jt],Se),at!==null&&(ue=ot(at,ue,jt),Je===null?Ee=at:Je.sibling=at,Je=at);return Ee}for(at=ge(se,at);jt<ve.length;jt++)ir=U(at,se,jt,ve[jt],Se),ir!==null&&(v&&ir.alternate!==null&&at.delete(ir.key===null?jt:ir.key),ue=ot(ir,ue,jt),Je===null?Ee=ir:Je.sibling=ir,Je=ir);return v&&at.forEach(function(Fr){return T(se,Fr)}),Ee}function H(se,ue,ve,Se){var Ee=Ue(ve);if(typeof Ee!="function")throw Error(c(150));if(ve=Ee.call(ve),ve==null)throw Error(c(151));for(var Je=Ee=null,at=ue,jt=ue=0,ir=null,er=ve.next();at!==null&&!er.done;jt++,er=ve.next()){at.index>jt?(ir=at,at=null):ir=at.sibling;var Fr=C(se,at,er.value,Se);if(Fr===null){at===null&&(at=ir);break}v&&at&&Fr.alternate===null&&T(se,at),ue=ot(Fr,ue,jt),Je===null?Ee=Fr:Je.sibling=Fr,Je=Fr,at=ir}if(er.done)return z(se,at),Ee;if(at===null){for(;!er.done;jt++,er=ve.next())er=E(se,er.value,Se),er!==null&&(ue=ot(er,ue,jt),Je===null?Ee=er:Je.sibling=er,Je=er);return Ee}for(at=ge(se,at);!er.done;jt++,er=ve.next())er=U(at,se,jt,er.value,Se),er!==null&&(v&&er.alternate!==null&&at.delete(er.key===null?jt:er.key),ue=ot(er,ue,jt),Je===null?Ee=er:Je.sibling=er,Je=er);return v&&at.forEach(function(Zr){return T(se,Zr)}),Ee}return function(se,ue,ve,Se){var Ee=typeof ve=="object"&&ve!==null&&ve.type===W&&ve.key===null;Ee&&(ve=ve.props.children);var Je=typeof ve=="object"&&ve!==null;if(Je)switch(ve.$$typeof){case K:e:{for(Je=ve.key,Ee=ue;Ee!==null;){if(Ee.key===Je){switch(Ee.tag){case 7:if(ve.type===W){z(se,Ee.sibling),ue=Le(Ee,ve.props.children),ue.return=se,se=ue;break e}break;default:if(Ee.elementType===ve.type){z(se,Ee.sibling),ue=Le(Ee,ve.props),ue.ref=Js(se,Ee,ve),ue.return=se,se=ue;break e}}z(se,Ee);break}else T(se,Ee);Ee=Ee.sibling}ve.type===W?(ue=Vo(ve.props.children,se.mode,Se,ve.key),ue.return=se,se=ue):(Se=_l(ve.type,ve.key,ve.props,null,se.mode,Se),Se.ref=Js(se,ue,ve),Se.return=se,se=Se)}return w(se);case V:e:{for(Ee=ve.key;ue!==null;){if(ue.key===Ee)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,Se),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,Se),ue.return=se,se=ue),w(se);if(cu(ve))return G(se,ue,ve,Se);if(Ue(ve))return H(se,ue,ve,Se);if(Je&&gl(se,ve),typeof ve=="undefined"&&!Ee)switch(se.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,qt(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:Rt(null,"");break;default:v=v===8?T.parentNode:T,T=v.namespaceURI||null,v=v.tagName,T=Rt(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=Rt(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,ot){if(Pu=ot,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){ot=0;do{if(wl=!1,!(25>ot))throw Error(c(301));ot+=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,ot=z.pending;if(ot!==null){if(Le!==null){var w=Le.next;Le.next=ot.next,ot.next=w}ge.baseQueue=Le=ot,z.pending=null}if(Le!==null){Le=Le.next,ge=ge.baseState;var t=w=ot=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,ot=ge):t=t.next=m,Fs.lanes|=s,fo|=s}n=n.next}while(n!==null&&n!==Le);t===null?ot=ge:t.next=w,Hn(ge,T.memoizedState)||(Du=!0),T.memoizedState=ge,T.baseState=ot,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,ot=T.memoizedState;if(Le!==null){z.pending=null;var w=Le=Le.next;do ot=v(ot,w.action),w=w.next;while(w!==Le);Hn(ot,T.memoizedState)||(Du=!0),T.memoizedState=ot,T.baseQueue===null&&(T.baseState=ot),z.lastRenderedState=ot}return[ot,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 ot=T._getVersion,w=ot(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=ot(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 Se=31-fi(ve),Ee=1<<Se;ue[Se]|=se,ve&=~Ee}}},[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(Se){ue(function(){throw Se})}})},[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 ot=void 0;if(to!==null){var w=to.memoizedState;if(ot=w.destroy,ge!==null&&uc(ge,w.deps)){Tc(T,z,ot,ge);return}}Fs.flags|=v,Le.memoizedState=Tc(1|T,z,ot,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),ot={lane:Le,action:z,eagerReducer:null,eagerState:null,next:null},w=T.pending;if(w===null?ot.next=ot:(ot.next=w.next,w.next=ot),T.pending=ot,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(ot.eagerReducer=w,ot.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 ot=T.ref;return es(T,Le),ge=lc(v,T,z,ge,ot,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,ot){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,ot)):(v=_l(z.type,null,ge,T,T.mode,ot),v.ref=T.ref,v.return=T,T.child=v)}return w=v.child,!(Le&ot)&&(Le=w.memoizedProps,z=z.compare,z=z!==null?z:zi,z(Le,ge)&&v.ref===T.ref)?Wo(v,T,ot):(T.flags|=1,v=Ju(w,ge),v.ref=T.ref,v.return=T,T.child=v)}function Oc(v,T,z,ge,Le,ot){if(v!==null&&zi(v.memoizedProps,ge)&&v.ref===T.ref)if(Du=!1,(ot&Le)!==0)v.flags&16384&&(Du=!0);else return T.lanes=v.lanes,Wo(v,T,ot);return So(v,T,z,ge,ot)}function Kc(v,T,z){var ge=T.pendingProps,Le=ge.children,ot=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,ot!==null?ot.baseLanes:z);else return v=ot!==null?ot.baseLanes|z:z,T.lanes=T.childLanes=1073741824,T.memoizedState={baseLanes:v},ji(T,v),null;else ot!==null?(ge=ot.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 ot=Xr(z)?Ae:Hi.current;return ot=wr(T,ot),es(T,Le),z=lc(v,T,z,ge,ot,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(Xr(z)){var ot=!0;ei(T)}else ot=!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=Xr(z)?Ae: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=Xr(z)?Ae: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,ot,Le)}function Ze(v,T,z,ge,Le,ot){nl(v,T);var w=(T.flags&64)!==0;if(!ge&&!w)return Le&&Oi(T,z,!1),Wo(v,T,ot);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,ot),T.child=Uo(T,null,t,ot)):so(v,T,t,ot),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,ot=!1,w;return(w=(T.flags&64)!==0)||(w=v!==null&&v.memoizedState===null?!1:(Le&2)!==0),w?(ot=!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,ot?(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?ot?(ge=Ho(v,T,ge.children,ge.fallback,z),ot=T.child,Le=v.child.memoizedState,ot.memoizedState=Le===null?{baseLanes:z}:{baseLanes:Le.baseLanes|z},ot.childLanes=v.childLanes&~z,T.memoizedState=Jo,ge):(z=$o(v,T,ge.children,z),T.memoizedState=null,z):ot?(ge=Ho(v,T,ge.children,ge.fallback,z),ot=T.child,Le=v.child.memoizedState,ot.memoizedState=Le===null?{baseLanes:z}:{baseLanes:Le.baseLanes|z},ot.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,ot=v.child;return T={mode:"hidden",children:T},!(Le&2)&&ot!==null?(ot.childLanes=0,ot.pendingProps=T):ot=ff(T,Le,0,null),z=Vo(z,Le,ge,null),ot.return=v,z.return=v,ot.sibling=z,v.child=ot,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 ot=T.mode,w=v.child;v=w.sibling;var t={mode:"hidden",children:z};return!(ot&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,ot,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,ot){var w=v.memoizedState;w===null?v.memoizedState={isBackwards:T,rendering:null,renderingStartTime:0,last:ge,tail:z,tailMode:Le,lastEffect:ot}:(w.isBackwards=T,w.rendering=null,w.renderingStartTime=0,w.last=ge,w.tail=z,w.tailMode=Le,w.lastEffect=ot)}function zu(v,T,z){var ge=T.pendingProps,Le=ge.revealOrder,ot=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,ot,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,ot,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 ot=null;switch(z){case"input":Le=pt(v,Le),ge=pt(v,ge),ot=[];break;case"option":Le=We(v,Le),ge=We(v,ge),ot=[];break;case"select":Le=i({},Le,{value:void 0}),ge=i({},ge,{value:void 0}),ot=[];break;case"textarea":Le=ft(v,Le),ge=ft(v,ge),ot=[];break;default:typeof Le.onClick!="function"&&typeof ge.onClick=="function"&&(v.onclick=ti)}Ie(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)?ot||(ot=[]):(ot=ot||[]).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||(ot||(ot=[]),ot.push(s,z)),z=n;else s==="dangerouslySetInnerHTML"?(n=n?n.__html:void 0,t=t?t.__html:void 0,n!=null&&t!==n&&(ot=ot||[]).push(s,n)):s==="children"?typeof n!="string"&&typeof n!="number"||(ot=ot||[]).push(s,""+n):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(o.hasOwnProperty(s)?(n!=null&&s==="onScroll"&&qe("scroll",v),ot||t===n||(ot=[])):typeof n=="object"&&n!==null&&n.$$typeof===F?n.toString():(ot=ot||[]).push(s,n))}z&&(ot=ot||[]).push("style",z);var s=ot;(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 Xr(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 ot=T.memoizedProps;switch(ge[Oa]=T,ge[qi]=ot,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":tt(ge,ot),qe("invalid",ge);break;case"select":ge._wrapperState={wasMultiple:!!ot.multiple},qe("invalid",ge);break;case"textarea":Vt(ge,ot),qe("invalid",ge)}Ie(z,ot),v=null;for(var w in ot)ot.hasOwnProperty(w)&&(Le=ot[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),Te(ge,ot,!0);break;case"textarea":Ut(ge),De(ge);break;case"select":case"option":break;default:typeof ot.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===et.html&&(v=Wt(z)),v===et.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=ht(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":tt(v,ge),Le=pt(v,ge),qe("invalid",v);break;case"option":Le=We(v,ge);break;case"select":v._wrapperState={wasMultiple:!!ge.multiple},Le=i({},ge,{value:void 0}),qe("invalid",v);break;case"textarea":Vt(v,ge),Le=ft(v,ge),qe("invalid",v);break;default:Le=ge}Ie(z,Le);var t=Le;for(ot in t)if(t.hasOwnProperty(ot)){var n=t[ot];ot==="style"?_e(v,n):ot==="dangerouslySetInnerHTML"?(n=n?n.__html:void 0,n!=null&&Bt(v,n)):ot==="children"?typeof n=="string"?(z!=="textarea"||n!=="")&&At(v,n):typeof n=="number"&&At(v,""+n):ot!=="suppressContentEditableWarning"&&ot!=="suppressHydrationWarning"&&ot!=="autoFocus"&&(o.hasOwnProperty(ot)?n!=null&&ot==="onScroll"&&qe("scroll",v):n!=null&&$(v,ot,n,w))}switch(z){case"input":Ut(v),Te(v,ge,!1);break;case"textarea":Ut(v),De(v);break;case"option":ge.value!=null&&v.setAttribute("value",""+Jt(ge.value));break;case"select":v.multiple=!!ge.multiple,ot=ge.value,ot!=null?it(v,!!ge.multiple,ot,!1):ge.defaultValue!=null&&it(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&&Gt(T.stateNode.containerInfo),null;case 10:return ss(T),null;case 17:return Xr(T.type)&&gr(),null;case 19:if(na(eo),ge=T.memoizedState,ge===null)return null;if(ot=(T.flags&64)!==0,w=ge.rendering,w===null)if(ot)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),ot=w.updateQueue,ot!==null&&(T.updateQueue=ot,T.flags|=4),ge.lastEffect===null&&(T.firstEffect=null),T.lastEffect=ge.lastEffect,ge=z,z=T.child;z!==null;)ot=z,v=ge,ot.flags&=2,ot.nextEffect=null,ot.firstEffect=null,ot.lastEffect=null,w=ot.alternate,w===null?(ot.childLanes=0,ot.lanes=v,ot.child=null,ot.memoizedProps=null,ot.memoizedState=null,ot.updateQueue=null,ot.dependencies=null,ot.stateNode=null):(ot.childLanes=w.childLanes,ot.lanes=w.lanes,ot.child=w.child,ot.memoizedProps=w.memoizedProps,ot.memoizedState=w.memoizedState,ot.updateQueue=w.updateQueue,ot.type=w.type,v=w.dependencies,ot.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,ot=!0,xu(ge,!1),T.lanes=33554432)}else{if(!ot)if(v=Ac(w),v!==null){if(T.flags|=64,ot=!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,ot=!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,ot?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:Xr(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(ot){Le=`
|
|
|
Error generating stack: `+ot.message+`
|
|
|
`+ot.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 ot=v.stateNode;return ot!==null&&typeof ot.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&&vt(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(ot){}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(ot){qu(ge,ot)}}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(ot){qu(T,ot)}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,ot;;){if(!ge){ge=z.return;e:for(;;){if(ge===null)throw Error(c(160));switch(Le=ge.stateNode,ge.tag){case 5:ot=!1;break e;case 3:Le=Le.containerInfo,ot=!0;break e;case 4:Le=Le.containerInfo,ot=!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}ot?(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,ot=!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 ot=T.updateQueue;if(T.updateQueue=null,ot!==null){for(z[qi]=ge,v==="input"&&ge.type==="radio"&&ge.name!=null&&ze(z,ge),ht(v,Le),T=ht(v,ge),Le=0;Le<ot.length;Le+=2){var w=ot[Le],t=ot[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,ot=ge.value,ot!=null?it(z,!!ge.multiple,ot,!1):v!==!!ge.multiple&&(ge.defaultValue!=null?it(z,!!ge.multiple,ge.defaultValue,!0):it(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,vt(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,ot=v.expirationTimes,w=v.pendingLanes;0<w;){var t=31-fi(w),n=1<<t,s=ot[t];if(s===-1){if(!(n&ge)||n&Le){s=T,Br(n);var m=Ir;ot[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 ot=Gi();(rn!==v||cn!==ge)&&(ll(),va(v,ge));do try{Wu();break}catch(t){Xa(v,t)}while(!0);if(Ja(),k.current=ot,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);ot=1<<w,w=ge[w],w>Le&&(Le=w),z&=~ot}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 ot=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 Se=ot.pingCache;if(Se===null?(Se=ot.pingCache=new kc,n=new Set,Se.set(s,n)):(n=Se.get(s),n===void 0&&(n=new Set,Se.set(s,n))),!n.has(t)){n.add(t);var Ee=Tf.bind(null,ot,s,t);s.then(Ee,Ee)}C.flags|=4096,C.lanes=T;break e}C=C.return}while(C!==null);n=Error((qt(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:ot=n,C.flags|=4096,T&=-T,C.lanes|=T;var Je=sl(C,ot,T);Xo(C,Je);break e;case 1:ot=n;var at=C.type,jt=C.stateNode;if(!(C.flags&64)&&(typeof at.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,ot,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,ot=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<ot;){var n=31-fi(ot),s=1<<n;Le[n]=0,w[n]=-1,t[n]=-1,ot&=~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,ot=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||ot!==0&&H.nodeType!==3||(E=m+ot),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===ot&&(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 Se=Si.alternate;if(Se!==null){var Ee=Se.ref;Ee!==null&&(typeof Ee=="function"?Ee(null):Ee.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 Je=t.alternate;Yc(t),Je!==null&&Yc(Je)}Si=Si.nextEffect}}catch(er){if(Si===null)throw Error(c(330));qu(Si,er),Si=Si.nextEffect}while(Si!==null);if(Ee=wi,Se=Ti(),ve=Ee.focusedElem,w=Ee.selectionRange,Se!==ve&&ve&&ve.ownerDocument&&da(ve.ownerDocument.documentElement,ve)){for(w!==null&&ra(ve)&&(Se=w.start,Ee=w.end,Ee===void 0&&(Ee=Se),"selectionStart"in ve?(ve.selectionStart=Se,ve.selectionEnd=Math.min(Ee,ve.value.length)):(Ee=(Se=ve.ownerDocument||document)&&Se.defaultView||window,Ee.getSelection&&(Ee=Ee.getSelection(),t=ve.textContent.length,Je=Math.min(w.start,t),w=w.end===void 0?Je:Math.min(w.end,t),!Ee.extend&&Je>w&&(t=w,w=Je,Je=t),t=Hr(ve,Je),ot=Hr(ve,w),t&&ot&&(Ee.rangeCount!==1||Ee.anchorNode!==t.node||Ee.anchorOffset!==t.offset||Ee.focusNode!==ot.node||Ee.focusOffset!==ot.offset)&&(Se=Se.createRange(),Se.setStart(t.node,t.offset),Ee.removeAllRanges(),Je>w?(Ee.addRange(Se),Ee.extend(ot.node,ot.offset)):(Se.setEnd(ot.node,ot.offset),Ee.addRange(Se)))))),Se=[],Ee=ve;Ee=Ee.parentNode;)Ee.nodeType===1&&Se.push({element:Ee,left:Ee.scrollLeft,top:Ee.scrollTop});for(typeof ve.focus=="function"&&ve.focus(),ve=0;ve<Se.length;ve++)Ee=Se[ve],Ee.element.scrollLeft=Ee.left,Ee.element.scrollTop=Ee.top}oa=!!gi,wi=gi=null,v.current=z,Si=ge;do try{for(ve=v;Si!==null;){var at=Si.flags;if(at&36&&Xl(ve,Si.alternate,Si),at&128){Se=void 0;var jt=Si.ref;if(jt!==null){var ir=Si.stateNode;switch(Si.tag){case 5:Se=ir;break;default:Se=ir}typeof jt=="function"?jt(Se):jt.current=Se}}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&&(at=Si,at.sibling=null,at.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],ot=z[ge+1],w=Le.destroy;if(Le.destroy=void 0,typeof w=="function")try{w()}catch(n){if(ot===null)throw Error(c(330));qu(ot,n)}}for(z=Dl,Dl=[],ge=0;ge<z.length;ge+=2){Le=z[ge],ot=z[ge+1];try{var t=Le.create;Le.destroy=t()}catch(n){if(ot===null)throw Error(c(330));qu(ot,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(ot){}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:Xr(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,Xr(ge)){var ot=!0;ei(T)}else ot=!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,ot,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,ot=Le._init,Le=ot(Le._payload),T.type=Le,ot=T.tag=Bc(Le),v=lr(Le,v),ot){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,(ot=Le.hydrate)&&(Nu=pi(T.stateNode.containerInfo.firstChild),fu=T,ot=$u=!0),ot){if(v=Le.mutableSourceEagerHydrationData,v!=null)for(Le=0;Le<v.length;Le+=2)ot=v[Le],ot._workInProgressVersionPrimary=v[Le+1],El.push(ot);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,ot=v!==null?v.memoizedProps:null,w=Le.children,Fi(ge,Le)?w=null:ot!==null&&Fi(ge,ot)&&(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,ot=Le.value;var t=T.type._context;if(ja(Ei,t._currentValue),t._currentValue=ot,w!==null)if(t=w.value,ot=Hn(t,ot)?0:(typeof ge._calculateChangedBits=="function"?ge._calculateChangedBits(t,ot):1073741823)|0,ot===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&ot){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,ot=T.pendingProps,ge=ot.children,es(T,z),Le=wa(Le,ot.unstable_observedBits),ge=ge(Le),T.flags|=1,so(v,T,ge,z),T.child;case 14:return Le=T.type,ot=lr(Le,T.pendingProps),ot=lr(Le.type,ot),of(v,T,Le,ot,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,Xr(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,ot){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,ot,T);case L: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=ot,v;case Y:return v=Go(13,z,T,Le),v.type=Y,v.elementType=Y,v.lanes=ot,v;case le:return v=Go(19,z,T,Le),v.elementType=le,v.lanes=ot,v;case Q:return ff(z,Le,ot,T);case de:return v=Go(24,z,T,Le),v.elementType=de,v.lanes=ot,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=ot,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,ot=ou(),w=Hu(Le);e:if(z){z=z._reactInternals;t:{if(lt(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(Xr(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(Xr(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(ot,w),T.payload={element:v},ge=ge===void 0?null:ge,ge!==null&&(T.callback=ge),ms(Le,T),Ol(Le,w,ot),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,Gt(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 ot=z._reactRootContainer;if(ot){var w=ot._internalRoot;if(typeof Le=="function"){var t=Le;Le=function(){var s=hf(w);t.call(s)}}tf(T,w,v,Le)}else{if(ot=z._reactRootContainer=jf(z,ge),w=ot._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));ut(ge),ye(ge,Le)}}}break;case"textarea":Ht(v,z);break;case"select":T=z.value,T!=null&&it(v,!!z.multiple,T,!1)}},kt=ki,Fe=function(v,T,z,ge,Le){var ot=Re;Re|=4;try{return Ar(98,v.bind(null,T,z,ge,Le))}finally{Re=ot,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,Qe,Oe,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,M=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===M||$.$$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 M=R.$$typeof;switch(M){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 M}}case r:return M}}}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)(M(P)),B=(0,i.TH)(),$=(0,r.useMemo)(()=>{let V=M(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("?"+M(V),W)},[j]);return[$,K]}function M(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 ut},Fg:function(){return Xe},Gn:function(){return x},TH:function(){return Q},UO:function(){return mt},V$:function(){return Qt},WU:function(){return Pt},bx:function(){return Be},fp:function(){return p},j3:function(){return It},oQ:function(){return F},s0:function(){return Pe}});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(ze,ye){if(!ze)throw new Error(ye)}function h(ze,ye){if(!ze){typeof console!="undefined"&&console.warn(ye);try{throw new Error(ye)}catch(Te){}}}const u={};function a(ze,ye,Te){!ye&&!u[ze]&&(u[ze]=!0)}function x(ze,ye){return ye===void 0&&(ye={}),ze.replace(/:(\w+)/g,(Te,Me)=>(ye[Me]==null&&o(!1),ye[Me])).replace(/\/*\*$/,Te=>ye["*"]==null?"":ye["*"].replace(/^\/*/,"/"))}function p(ze,ye,Te){Te===void 0&&(Te="/");let Me=typeof ye=="string"?(0,r.cP)(ye):ye,$e=Y(Me.pathname||"/",Te);if($e==null)return null;let We=y(ze);_(We);let it=null;for(let ft=0;it==null&&ft<We.length;++ft)it=K(We[ft],$e);return it}function y(ze,ye,Te,Me){return ye===void 0&&(ye=[]),Te===void 0&&(Te=[]),Me===void 0&&(Me=""),ze.forEach(($e,We)=>{let it={relativePath:$e.path||"",caseSensitive:$e.caseSensitive===!0,childrenIndex:We,route:$e};it.relativePath.startsWith("/")&&(it.relativePath.startsWith(Me)||o(!1),it.relativePath=it.relativePath.slice(Me.length));let ft=le([Me,it.relativePath]),Vt=Te.concat(it);$e.children&&$e.children.length>0&&($e.index===!0&&o(!1),y($e.children,ye,Vt,ft)),!($e.path==null&&!$e.index)&&ye.push({path:ft,score:$(ft,$e.index),routesMeta:Vt})}),ye}function _(ze){ze.sort((ye,Te)=>ye.score!==Te.score?Te.score-ye.score:j(ye.routesMeta.map(Me=>Me.childrenIndex),Te.routesMeta.map(Me=>Me.childrenIndex)))}const b=/^:\w+$/,A=3,R=2,M=1,P=10,D=-2,B=ze=>ze==="*";function $(ze,ye){let Te=ze.split("/"),Me=Te.length;return Te.some(B)&&(Me+=D),ye&&(Me+=R),Te.filter($e=>!B($e)).reduce(($e,We)=>$e+(b.test(We)?A:We===""?M:P),Me)}function j(ze,ye){return ze.length===ye.length&&ze.slice(0,-1).every((Me,$e)=>Me===ye[$e])?ze[ze.length-1]-ye[ye.length-1]:0}function K(ze,ye){let{routesMeta:Te}=ze,Me={},$e="/",We=[];for(let it=0;it<Te.length;++it){let ft=Te[it],Vt=it===Te.length-1,Ht=$e==="/"?ye:ye.slice($e.length)||"/",De=V({path:ft.relativePath,caseSensitive:ft.caseSensitive,end:Vt},Ht);if(!De)return null;Object.assign(Me,De.params);let et=ft.route;We.push({params:Me,pathname:le([$e,De.pathname]),pathnameBase:ne(le([$e,De.pathnameBase])),route:et}),De.pathnameBase!=="/"&&($e=le([$e,De.pathnameBase]))}return We}function V(ze,ye){typeof ze=="string"&&(ze={path:ze,caseSensitive:!1,end:!0});let[Te,Me]=W(ze.path,ze.caseSensitive,ze.end),$e=ye.match(Te);if(!$e)return null;let We=$e[0],it=We.replace(/(.)\/+$/,"$1"),ft=$e.slice(1);return{params:Me.reduce((Ht,De,et)=>{if(De==="*"){let Wt=ft[et]||"";it=We.slice(0,We.length-Wt.length).replace(/(.)\/+$/,"$1")}return Ht[De]=oe(ft[et]||"",De),Ht},{}),pathname:We,pathnameBase:it,pattern:ze}}function W(ze,ye,Te){ye===void 0&&(ye=!1),Te===void 0&&(Te=!0);let Me=[],$e="^"+ze.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(it,ft)=>(Me.push(ft),"([^\\/]+)"));return ze.endsWith("*")?(Me.push("*"),$e+=ze==="*"||ze==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):$e+=Te?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp($e,ye?void 0:"i"),Me]}function oe(ze,ye){try{return decodeURIComponent(ze)}catch(Te){return ze}}function ae(ze,ye){ye===void 0&&(ye="/");let{pathname:Te,search:Me="",hash:$e=""}=typeof ze=="string"?(0,r.cP)(ze):ze;return{pathname:Te?Te.startsWith("/")?Te:ce(Te,ye):ye,search:ee(Me),hash:ie($e)}}function ce(ze,ye){let Te=ye.replace(/\/+$/,"").split("/");return ze.split("/").forEach($e=>{$e===".."?Te.length>1&&Te.pop():$e!=="."&&Te.push($e)}),Te.length>1?Te.join("/"):"/"}function q(ze,ye,Te){let Me=typeof ze=="string"?(0,r.cP)(ze):ze,$e=ze===""||Me.pathname===""?"/":Me.pathname,We;if($e==null)We=Te;else{let ft=ye.length-1;if($e.startsWith("..")){let Vt=$e.split("/");for(;Vt[0]==="..";)Vt.shift(),ft-=1;Me.pathname=Vt.join("/")}We=ft>=0?ye[ft]:"/"}let it=ae(Me,We);return $e&&$e!=="/"&&$e.endsWith("/")&&!it.pathname.endsWith("/")&&(it.pathname+="/"),it}function J(ze){return ze===""||ze.pathname===""?"/":typeof ze=="string"?(0,r.cP)(ze).pathname:ze.pathname}function Y(ze,ye){if(ye==="/")return ze;if(!ze.toLowerCase().startsWith(ye.toLowerCase()))return null;let Te=ze.charAt(ye.length);return Te&&Te!=="/"?null:ze.slice(ye.length)||"/"}const le=ze=>ze.join("/").replace(/\/\/+/g,"/"),ne=ze=>ze.replace(/\/+$/,"").replace(/^\/*/,"/"),ee=ze=>!ze||ze==="?"?"":ze.startsWith("?")?ze:"?"+ze,ie=ze=>!ze||ze==="#"?"":ze.startsWith("#")?ze:"#"+ze;function F(ze){L()||o(!1);let{basename:ye,navigator:Te}=(0,i.useContext)(l),{hash:Me,pathname:$e,search:We}=Pt(ze),it=$e;if(ye!=="/"){let ft=J(ze),Vt=ft!=null&&ft.endsWith("/");it=$e==="/"?ye+(Vt?"/":""):le([ye,$e])}return Te.createHref({pathname:it,search:We,hash:Me})}function L(){return(0,i.useContext)(c)!=null}function Q(){return L()||o(!1),(0,i.useContext)(c).location}function de(){return useContext(c).navigationType}function we(ze){L()||o(!1);let{pathname:ye}=Q();return useMemo(()=>V(ze,ye),[ye,ze])}function Pe(){L()||o(!1);let{basename:ze,navigator:ye}=(0,i.useContext)(l),{matches:Te}=(0,i.useContext)(f),{pathname:Me}=Q(),$e=JSON.stringify(Te.map(ft=>ft.pathnameBase)),We=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{We.current=!0}),(0,i.useCallback)(function(ft,Vt){if(Vt===void 0&&(Vt={}),!We.current)return;if(typeof ft=="number"){ye.go(ft);return}let Ht=q(ft,JSON.parse($e),Me);ze!=="/"&&(Ht.pathname=le([ze,Ht.pathname])),(Vt.replace?ye.replace:ye.push)(Ht,Vt.state)},[ze,ye,$e,Me])}const Ue=(0,i.createContext)(null);function Be(){return(0,i.useContext)(Ue)}function Ft(ze){let ye=(0,i.useContext)(f).outlet;return ye&&(0,i.createElement)(Ue.Provider,{value:ze},ye)}function mt(){let{matches:ze}=(0,i.useContext)(f),ye=ze[ze.length-1];return ye?ye.params:{}}function Pt(ze){let{matches:ye}=(0,i.useContext)(f),{pathname:Te}=Q(),Me=JSON.stringify(ye.map($e=>$e.pathnameBase));return(0,i.useMemo)(()=>q(ze,JSON.parse(Me),Te),[ze,Me,Te])}function Qt(ze,ye){L()||o(!1);let{matches:Te}=(0,i.useContext)(f),Me=Te[Te.length-1],$e=Me?Me.params:{},We=Me?Me.pathname:"/",it=Me?Me.pathnameBase:"/",ft=Me&&Me.route,Vt=Q(),Ht;if(ye){var De;let Zt=typeof ye=="string"?(0,r.cP)(ye):ye;it==="/"||(De=Zt.pathname)!=null&&De.startsWith(it)||o(!1),Ht=Zt}else Ht=Vt;let et=Ht.pathname||"/",Wt=it==="/"?et:et.slice(it.length)||"/",Rt=p(ze,{pathname:Wt});return qt(Rt&&Rt.map(Zt=>Object.assign({},Zt,{params:Object.assign({},$e,Zt.params),pathname:le([it,Zt.pathname]),pathnameBase:Zt.pathnameBase==="/"?it:le([it,Zt.pathnameBase])})),Te)}function qt(ze,ye){return ye===void 0&&(ye=[]),ze==null?null:ze.reduceRight((Te,Me,$e)=>(0,i.createElement)(f.Provider,{children:Me.route.element!==void 0?Me.route.element:Te,value:{outlet:Te,matches:ye.concat(ze.slice(0,$e+1))}}),null)}function Jt(ze){let{basename:ye,children:Te,initialEntries:Me,initialIndex:$e}=ze,We=useRef();We.current==null&&(We.current=createMemoryHistory({initialEntries:Me,initialIndex:$e}));let it=We.current,[ft,Vt]=useState({action:it.action,location:it.location});return useLayoutEffect(()=>it.listen(Vt),[it]),createElement(ut,{basename:ye,children:Te,location:ft.location,navigationType:ft.action,navigator:it})}function Xe(ze){let{to:ye,replace:Te,state:Me}=ze;L()||o(!1);let $e=Pe();return(0,i.useEffect)(()=>{$e(ye,{replace:Te,state:Me})}),null}function It(ze){return Ft(ze.context)}function Ut(ze){o(!1)}function ut(ze){let{basename:ye="/",children:Te=null,location:Me,navigationType:$e=r.aU.Pop,navigator:We,static:it=!1}=ze;L()&&o(!1);let ft=ne(ye),Vt=(0,i.useMemo)(()=>({basename:ft,navigator:We,static:it}),[ft,We,it]);typeof Me=="string"&&(Me=(0,r.cP)(Me));let{pathname:Ht="/",search:De="",hash:et="",state:Wt=null,key:Rt="default"}=Me,Zt=(0,i.useMemo)(()=>{let Bt=Y(Ht,ft);return Bt==null?null:{pathname:Bt,search:De,hash:et,state:Wt,key:Rt}},[ft,Ht,De,et,Wt,Rt]);return Zt==null?null:(0,i.createElement)(l.Provider,{value:Vt},(0,i.createElement)(c.Provider,{children:Te,value:{location:Zt,navigationType:$e}}))}function bt(ze){let{children:ye,location:Te}=ze;return Qt(pt(ye),Te)}function pt(ze){let ye=[];return Children.forEach(ze,Te=>{if(!isValidElement(Te))return;if(Te.type===Fragment){ye.push.apply(ye,pt(Te.props.children));return}Te.type!==Ut&&o(!1);let Me={caseSensitive:Te.props.caseSensitive,element:Te.props.element,index:Te.props.index,path:Te.props.path};Te.props.children&&(Me.children=pt(Te.props.children)),ye.push(Me)}),ye}function tt(ze){return qt(ze)}},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 M(ee,ie,F){this.props=ee,this.context=ie,this.refs=b,this.updater=F||_}var P=M.prototype=new R;P.constructor=M,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 L,Q={},de=null,we=null;if(ie!=null)for(L in ie.ref!==void 0&&(we=ie.ref),ie.key!==void 0&&(de=""+ie.key),ie)B.call(ie,L)&&!$.hasOwnProperty(L)&&(Q[L]=ie[L]);var Pe=arguments.length-2;if(Pe===1)Q.children=F;else if(1<Pe){for(var Ue=Array(Pe),Be=0;Be<Pe;Be++)Ue[Be]=arguments[Be+2];Q.children=Ue}if(ee&&ee.defaultProps)for(L in Pe=ee.defaultProps,Pe)Q[L]===void 0&&(Q[L]=Pe[L]);return{$$typeof:i,type:ee,key:de,ref:we,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,L,Q){var de=typeof ee;(de==="undefined"||de==="boolean")&&(ee=null);var we=!1;if(ee===null)we=!0;else switch(de){case"string":case"number":we=!0;break;case"object":switch(ee.$$typeof){case i:case l:we=!0}}if(we)return we=ee,Q=Q(we),ee=L===""?"."+ae(we,0):L,Array.isArray(Q)?(F="",ee!=null&&(F=ee.replace(oe,"$&/")+"/"),ce(Q,ie,F,"",function(Be){return Be})):Q!=null&&(V(Q)&&(Q=K(Q,F+(!Q.key||we&&we.key===Q.key?"":(""+Q.key).replace(oe,"$&/")+"/")+ee)),ie.push(Q)),1;if(we=0,L=L===""?".":L+":",Array.isArray(ee))for(var Pe=0;Pe<ee.length;Pe++){de=ee[Pe];var Ue=L+ae(de,Pe);we+=ce(de,ie,F,Ue,Q)}else if(Ue=p(ee),typeof Ue=="function")for(ee=Ue.call(ee),Pe=0;!(de=ee.next()).done;)de=de.value,Ue=L+ae(de,Pe++),we+=ce(de,ie,F,Ue,Q);else if(de==="object")throw ie=""+ee,Error(y(31,ie==="[object Object]"?"object with keys {"+Object.keys(ee).join(", ")+"}":ie));return we}function q(ee,ie,F){if(ee==null)return ee;var L=[],Q=0;return ce(ee,L,"","",function(de){return ie.call(F,de,Q++)}),L}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=M,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 L=r({},ee.props),Q=ee.key,de=ee.ref,we=ee._owner;if(ie!=null){if(ie.ref!==void 0&&(de=ie.ref,we=D.current),ie.key!==void 0&&(Q=""+ie.key),ee.type&&ee.type.defaultProps)var Pe=ee.type.defaultProps;for(Ue in ie)B.call(ie,Ue)&&!$.hasOwnProperty(Ue)&&(L[Ue]=ie[Ue]===void 0&&Pe!==void 0?Pe[Ue]:ie[Ue])}var Ue=arguments.length-2;if(Ue===1)L.children=F;else if(1<Ue){Pe=Array(Ue);for(var Be=0;Be<Ue;Be++)Pe[Be]=arguments[Be+2];L.children=Pe}return{$$typeof:i,type:ee.type,key:Q,ref:de,props:L,_owner:we}},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 M},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(L){if(typeof L!="function")throw new Error(i(4));if(J)throw new Error(i(5));var Q=!0;return Y(),q.push(L),function(){if(Q){if(J)throw new Error(i(6));Q=!1,Y();var we=q.indexOf(L);q.splice(we,1),ce=null}}}function ee(L){if(!o(L))throw new Error(i(7));if(typeof L.type=="undefined")throw new Error(i(8));if(J)throw new Error(i(9));try{J=!0,ae=oe(ae,L)}finally{J=!1}for(var Q=ce=q,de=0;de<Q.length;de++){var we=Q[de];we()}return L}function ie(L){if(typeof L!="function")throw new Error(i(10));oe=L,ee({type:f.REPLACE})}function F(){var L,Q=ne;return L={subscribe:function(we){if(typeof we!="object"||we===null)throw new Error(i(11));function Pe(){we.next&&we.next(le())}Pe();var Ue=Q(Pe);return{unsubscribe:Ue}}},L[l]=function(){return this},L}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 M(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 L=ae[F],Q=V[L],de=Y[L],we=Q(de,le);if(typeof we=="undefined"){var Pe=le&&le.type;throw new Error(i(14))}ie[L]=we,ee=ee||we!==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 L=ee&&ee.prototype instanceof M?ee:M,Q=Object.create(L.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 M(){}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=M.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,we,Pe){var Ue=p(ne[Q],ne,de);if(Ue.type==="throw")Pe(Ue.arg);else{var Be=Ue.arg,Ft=Be.value;return Ft&&typeof Ft=="object"&&i.call(Ft,"__await")?ee.resolve(Ft.__await).then(function(mt){ie("next",mt,we,Pe)},function(mt){ie("throw",mt,we,Pe)}):ee.resolve(Ft).then(function(mt){Be.value=mt,we(Be)},function(mt){return ie("throw",mt,we,Pe)})}}var F;function L(Q,de){function we(){return new ee(function(Pe,Ue){ie(Q,de,Pe,Ue)})}return F=F?F.then(we,we):we()}l(this,"_invoke",{value:L})}V(W.prototype),a(W.prototype,h,function(){return this}),e.AsyncIterator=W,e.async=function(ne,ee,ie,F,L){L===void 0&&(L=Promise);var Q=new W(x(ne,ee,ie,F),L);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 we=ie.delegate;if(we){var Pe=ae(we,ie);if(Pe){if(Pe===R)continue;return Pe}}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 Ue=p(ne,ee,ie);if(Ue.type==="normal"){if(F=ie.done?A:_,Ue.arg===R)continue;return{value:Ue.arg,done:ie.done}}else Ue.type==="throw"&&(F=A,ie.method="throw",ie.arg=Ue.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 L=p(F,ne.iterator,ee.arg);if(L.type==="throw")return ee.method="throw",ee.arg=L.arg,ee.delegate=null,R;var Q=L.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 L(){for(;ie.length;){var Q=ie.pop();if(Q in ee)return L.value=Q,L.done=!1,L}return L.done=!0,L}};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 L(){for(;++ie<ne.length;)if(i.call(ne,ie))return L.value=ne[ie],L.done=!1,L;return L.value=c,L.done=!0,L};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(Pe,Ue){return Q.type="throw",Q.arg=ne,ee.next=Pe,Ue&&(ee.method="next",ee.arg=c),!!Ue}for(var F=this.tryEntries.length-1;F>=0;--F){var L=this.tryEntries[F],Q=L.completion;if(L.tryLoc==="root")return ie("end");if(L.tryLoc<=this.prev){var de=i.call(L,"catchLoc"),we=i.call(L,"finallyLoc");if(de&&we){if(this.prev<L.catchLoc)return ie(L.catchLoc,!0);if(this.prev<L.finallyLoc)return ie(L.finallyLoc)}else if(de){if(this.prev<L.catchLoc)return ie(L.catchLoc,!0)}else if(we){if(this.prev<L.finallyLoc)return ie(L.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 L=F;break}}L&&(ne==="break"||ne==="continue")&&L.tryLoc<=ee&&ee<=L.finallyLoc&&(L=null);var Q=L?L.completion:{};return Q.type=ne,Q.arg=ee,L?(this.method="next",this.next=L.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 L=F.arg;q(ie)}return L}}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&&L()}function F(){c(ie)}function L(){var Q=Date.now();if(le){if(Q-ee<f)return;ne=!0}else le=!0,ne=!1,setTimeout(F,Y);ee=Q}return L}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 M(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,L=b(ne.width),Q=b(ne.height);if(ne.boxSizing==="border-box"&&(Math.round(L+ie)!==Y&&(L-=A(ne,"left","right")+ie),Math.round(Q+F)!==le&&(Q-=A(ne,"top","bottom")+F)),!B(J)){var de=Math.round(L+ie)-Y,we=Math.round(Q+F)-le;Math.abs(de)!==1&&(L-=de),Math.abs(we)!==1&&(Q-=we)}return K(ee.left,ee.top,L,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)?M(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(L){throw setTimeout(a,0),L}};e=function(F){h!==null?setTimeout(e,0,F):(h=F,setTimeout(a,0))},r=function(F,L){u=setTimeout(F,L)},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,M=0;g.unstable_shouldYield=function(){return g.unstable_now()>=M},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();M=F+R;try{b(!0,F)?D.postMessage(null):(_=!1,b=null)}catch(L){throw D.postMessage(null),L}}else _=!1},e=function(F){b=F,_||(_=!0,D.postMessage(null))},r=function(F,L){A=x(function(){F(g.unstable_now())},L)},i=function(){p(A),A=-1}}function B(F,L){var Q=F.length;F.push(L);e:for(;;){var de=Q-1>>>1,we=F[de];if(we!==void 0&&0<K(we,L))F[de]=L,F[Q]=we,Q=de;else break e}}function $(F){return F=F[0],F===void 0?null:F}function j(F){var L=F[0];if(L!==void 0){var Q=F.pop();if(Q!==L){F[0]=Q;e:for(var de=0,we=F.length;de<we;){var Pe=2*(de+1)-1,Ue=F[Pe],Be=Pe+1,Ft=F[Be];if(Ue!==void 0&&0>K(Ue,Q))Ft!==void 0&&0>K(Ft,Ue)?(F[de]=Ft,F[Be]=Q,de=Be):(F[de]=Ue,F[Pe]=Q,de=Pe);else if(Ft!==void 0&&0>K(Ft,Q))F[de]=Ft,F[Be]=Q,de=Be;else break e}}return L}return null}function K(F,L){var Q=F.sortIndex-L.sortIndex;return Q!==0?Q:F.id-L.id}var V=[],W=[],oe=1,ae=null,ce=3,q=!1,J=!1,Y=!1;function le(F){for(var L=$(W);L!==null;){if(L.callback===null)j(W);else if(L.startTime<=F)j(W),L.sortIndex=L.expirationTime,B(V,L);else break;L=$(W)}}function ne(F){if(Y=!1,le(F),!J)if($(V)!==null)J=!0,e(ee);else{var L=$(W);L!==null&&r(ne,L.startTime-F)}}function ee(F,L){J=!1,Y&&(Y=!1,i()),q=!0;var Q=ce;try{for(le(L),ae=$(V);ae!==null&&(!(ae.expirationTime>L)||F&&!g.unstable_shouldYield());){var de=ae.callback;if(typeof de=="function"){ae.callback=null,ce=ae.priorityLevel;var we=de(ae.expirationTime<=L);L=g.unstable_now(),typeof we=="function"?ae.callback=we:ae===$(V)&&j(V),le(L)}else j(V);ae=$(V)}if(ae!==null)var Pe=!0;else{var Ue=$(W);Ue!==null&&r(ne,Ue.startTime-L),Pe=!1}return Pe}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 L=3;break;default:L=ce}var Q=ce;ce=L;try{return F()}finally{ce=Q}},g.unstable_pauseExecution=function(){},g.unstable_requestPaint=ie,g.unstable_runWithPriority=function(F,L){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var Q=ce;ce=F;try{return L()}finally{ce=Q}},g.unstable_scheduleCallback=function(F,L,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 we=-1;break;case 2:we=250;break;case 5:we=1073741823;break;case 4:we=1e4;break;default:we=5e3}return we=Q+we,F={id:oe++,callback:L,priorityLevel:F,startTime:Q,expirationTime:we,sortIndex:-1},Q>de?(F.sortIndex=Q,B(W,F),$(V)===null&&F===$(W)&&(Y?i():Y=!0,r(ne,Q-de))):(F.sortIndex=we,B(V,F),J||q||(J=!0,e(ee))),F},g.unstable_wrapCallback=function(F){var L=ce;return function(){var Q=ce;ce=L;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,M=A[1];return o(function(){R.value=b,R.getSnapshot=_,a(R)&&M({inst:R})},[y,b,_]),f(function(){return a(R)&&M({inst:R}),y(function(){a(R)&&M({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 M=f(x,A[0],A[1]);return h(function(){R.hasValue=!0,R.value=M},[M]),a(M),M}},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 M=0;M<16;++M)b[A+M]=R[M];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,L){ie[F]=L.value},u=typeof Symbol=="function"?Symbol:{},a=u.iterator||"@@iterator",x=u.asyncIterator||"@@asyncIterator",p=u.toStringTag||"@@toStringTag";function y(ie,F,L){return Object.defineProperty(ie,F,{value:L,enumerable:!0,configurable:!0,writable:!0}),ie[F]}try{y({},"")}catch(ie){y=function(L,Q,de){return L[Q]=de}}function _(ie,F,L,Q){var de=F&&F.prototype instanceof B?F:B,we=Object.create(de.prototype),Pe=new ne(Q||[]);return h(we,"_invoke",{value:q(ie,L,Pe)}),we}function b(ie,F,L){try{return{type:"normal",arg:ie.call(F,L)}}catch(Q){return{type:"throw",arg:Q}}}c.wrap=_;var A="suspendedStart",R="suspendedYield",M="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(L){return this._invoke(F,L)})})}function ce(ie,F){function L(de,we,Pe,Ue){var Be=b(ie[de],ie,we);if(Be.type!=="throw"){var Ft=Be.arg,mt=Ft.value;return mt&&r(mt)=="object"&&o.call(mt,"__await")?F.resolve(mt.__await).then(function(Pt){L("next",Pt,Pe,Ue)},function(Pt){L("throw",Pt,Pe,Ue)}):F.resolve(mt).then(function(Pt){Ft.value=Pt,Pe(Ft)},function(Pt){return L("throw",Pt,Pe,Ue)})}Ue(Be.arg)}var Q;h(this,"_invoke",{value:function(we,Pe){function Ue(){return new F(function(Be,Ft){L(we,Pe,Be,Ft)})}return Q=Q?Q.then(Ue,Ue):Ue()}})}function q(ie,F,L){var Q=A;return function(de,we){if(Q===M)throw Error("Generator is already running");if(Q===P){if(de==="throw")throw we;return{value:l,done:!0}}for(L.method=de,L.arg=we;;){var Pe=L.delegate;if(Pe){var Ue=J(Pe,L);if(Ue){if(Ue===D)continue;return Ue}}if(L.method==="next")L.sent=L._sent=L.arg;else if(L.method==="throw"){if(Q===A)throw Q=P,L.arg;L.dispatchException(L.arg)}else L.method==="return"&&L.abrupt("return",L.arg);Q=M;var Be=b(ie,F,L);if(Be.type==="normal"){if(Q=L.done?P:R,Be.arg===D)continue;return{value:Be.arg,done:L.done}}Be.type==="throw"&&(Q=P,L.method="throw",L.arg=Be.arg)}}}function J(ie,F){var L=F.method,Q=ie.iterator[L];if(Q===l)return F.delegate=null,L==="throw"&&ie.iterator.return&&(F.method="return",F.arg=l,J(ie,F),F.method==="throw")||L!=="return"&&(F.method="throw",F.arg=new TypeError("The iterator does not provide a '"+L+"' 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 we=de.arg;return we?we.done?(F[ie.resultName]=we.value,F.next=ie.nextLoc,F.method!=="return"&&(F.method="next",F.arg=l),F.delegate=null,D):we:(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 L=-1,Q=function de(){for(;++L<ie.length;)if(o.call(ie,L))return de.value=ie[L],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,L,Q,de){de===void 0&&(de=Promise);var we=new ce(_(ie,F,L,Q),de);return c.isGeneratorFunction(F)?we:we.next().then(function(Pe){return Pe.done?Pe.value:we.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),L=[];for(var Q in F)L.push(Q);return L.reverse(),function de(){for(;L.length;){var we=L.pop();if(we in F)return de.value=we,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 L in this)L.charAt(0)==="t"&&o.call(this,L)&&!isNaN(+L.slice(1))&&(this[L]=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 L=this;function Q(Ft,mt){return Pe.type="throw",Pe.arg=F,L.next=Ft,mt&&(L.method="next",L.arg=l),!!mt}for(var de=this.tryEntries.length-1;de>=0;--de){var we=this.tryEntries[de],Pe=we.completion;if(we.tryLoc==="root")return Q("end");if(we.tryLoc<=this.prev){var Ue=o.call(we,"catchLoc"),Be=o.call(we,"finallyLoc");if(Ue&&Be){if(this.prev<we.catchLoc)return Q(we.catchLoc,!0);if(this.prev<we.finallyLoc)return Q(we.finallyLoc)}else if(Ue){if(this.prev<we.catchLoc)return Q(we.catchLoc,!0)}else{if(!Be)throw Error("try statement without catch or finally");if(this.prev<we.finallyLoc)return Q(we.finallyLoc)}}}},abrupt:function(F,L){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 we=de;break}}we&&(F==="break"||F==="continue")&&we.tryLoc<=L&&L<=we.finallyLoc&&(we=null);var Pe=we?we.completion:{};return Pe.type=F,Pe.arg=L,we?(this.method="next",this.next=we.finallyLoc,D):this.complete(Pe)},complete:function(F,L){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"&&L&&(this.next=L),D},finish:function(F){for(var L=this.tryEntries.length-1;L>=0;--L){var Q=this.tryEntries[L];if(Q.finallyLoc===F)return this.complete(Q.completion,Q.afterLoc),le(Q),D}},catch:function(F){for(var L=this.tryEntries.length-1;L>=0;--L){var Q=this.tryEntries[L];if(Q.tryLoc===F){var de=Q.completion;if(de.type==="throw"){var we=de.arg;le(Q)}return we}}throw Error("illegal catch attempt")},delegateYield:function(F,L,Q){return this.delegate={iterator:ee(F),resultName:L,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,M){var P;if(arguments.length<4){if(o(A)&&R==="sync-dispose")return;P=_(A,R)}else P=_(void 0,R,M);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),M=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=!M||!M($),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),M=e(94844),P=M.enforce,D=M.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},L={BigInt64Array:8,BigUint64Array:8},Q=function(Pt){if(!f(Pt))return!1;var Qt=h(Pt);return Qt==="DataView"||o(F,Qt)||o(L,Qt)},de=function(mt){var Pt=_(mt);if(f(Pt)){var Qt=D(Pt);return Qt&&o(Qt,J)?Qt[J]:de(Pt)}},we=function(mt){if(!f(mt))return!1;var Pt=h(mt);return o(F,Pt)||o(L,Pt)},Pe=function(mt){if(we(mt))return mt;throw new ae("Target is not a typed array")},Ue=function(mt){if(c(mt)&&(!b||y(V,mt)))return mt;throw new ae(u(mt)+" is not a typed array constructor")},Be=function(mt,Pt,Qt,qt){if(i){if(Qt)for(var Jt in F){var Xe=l[Jt];if(Xe&&o(Xe.prototype,mt))try{delete Xe.prototype[mt]}catch(It){try{Xe.prototype[mt]=Pt}catch(Ut){}}}(!W[mt]||Qt)&&x(W,mt,Qt?Pt:Y&&$[mt]||Pt,qt)}},Ft=function(mt,Pt,Qt){var qt,Jt;if(i){if(b){if(Qt){for(qt in F)if(Jt=l[qt],Jt&&o(Jt,mt))try{delete Jt[mt]}catch(Xe){}}if(!V[mt]||Qt)try{return x(V,mt,Qt?Pt:Y&&V[mt]||Pt)}catch(Xe){}else return}for(qt in F)Jt=l[qt],Jt&&(!Jt[mt]||Qt)&&x(Jt,mt,Pt)}};for(ne in F)ee=l[ne],ie=ee&&ee.prototype,ie?P(ie)[J]=ee:Y=!1;for(ne in L)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:Pe,aTypedArrayConstructor:Ue,exportTypedArrayMethod:Be,exportTypedArrayStaticMethod:Ft,getTypedArrayConstructor:de,isView:Q,isTypedArray:we,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),M=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],L=F&&F[ae],Q=Object.prototype,de=r.Array,we=r.RangeError,Pe=i(D),Ue=i([].reverse),Be=A.pack,Ft=A.unpack,mt=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]},qt=function(Me){return Me[3]<<24|Me[2]<<16|Me[1]<<8|Me[0]},Jt=function(Me){return Be(b(Me),23,4)},Xe=function(Me){return Be(Me,52,8)},It=function(Me,$e,We){h(Me[ae],$e,{configurable:!0,get:function(){return We(this)[$e]}})},Ut=function(Me,$e,We,it){var ft=Y(Me),Vt=_(We),Ht=!!it;if(Vt+$e>ft.byteLength)throw new we(q);var De=ft.bytes,et=Vt+ft.byteOffset,Wt=B(De,et,et+$e);return Ht?Wt:Ue(Wt)},ut=function(Me,$e,We,it,ft,Vt){var Ht=Y(Me),De=_(We),et=it(+ft),Wt=!!Vt;if(De+$e>Ht.byteLength)throw new we(q);for(var Rt=Ht.bytes,Zt=De+Ht.byteOffset,Bt=0;Bt<$e;Bt++)Rt[Zt+Bt]=et[Wt?Bt:$e-Bt-1]};if(!c)ee=function($e){x(this,ie);var We=_($e);le(this,{type:W,bytes:Pe(de(We),0),byteLength:We}),l||(this.byteLength=We,this.detached=!1)},ie=ee[ae],F=function($e,We,it){x(this,L),x($e,ie);var ft=J($e),Vt=ft.byteLength,Ht=p(We);if(Ht<0||Ht>Vt)throw new we("Wrong offset");if(it=it===void 0?Vt-Ht:y(it),Ht+it>Vt)throw new we(ce);le(this,{type:oe,buffer:$e,byteLength:it,byteOffset:Ht,bytes:ft.bytes}),l||(this.buffer=$e,this.byteLength=it,this.byteOffset=Ht)},L=F[ae],l&&(It(ee,"byteLength",J),It(F,"buffer",Y),It(F,"byteLength",Y),It(F,"byteOffset",Y)),u(L,{getInt8:function($e){return Ut(this,1,$e)[0]<<24>>24},getUint8:function($e){return Ut(this,1,$e)[0]},getInt16:function($e){var We=Ut(this,2,$e,arguments.length>1?arguments[1]:!1);return(We[1]<<8|We[0])<<16>>16},getUint16:function($e){var We=Ut(this,2,$e,arguments.length>1?arguments[1]:!1);return We[1]<<8|We[0]},getInt32:function($e){return qt(Ut(this,4,$e,arguments.length>1?arguments[1]:!1))},getUint32:function($e){return qt(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,We){ut(this,1,$e,mt,We)},setUint8:function($e,We){ut(this,1,$e,mt,We)},setInt16:function($e,We){ut(this,2,$e,Pt,We,arguments.length>2?arguments[2]:!1)},setUint16:function($e,We){ut(this,2,$e,Pt,We,arguments.length>2?arguments[2]:!1)},setInt32:function($e,We){ut(this,4,$e,Qt,We,arguments.length>2?arguments[2]:!1)},setUint32:function($e,We){ut(this,4,$e,Qt,We,arguments.length>2?arguments[2]:!1)},setFloat32:function($e,We){ut(this,4,$e,Jt,We,arguments.length>2?arguments[2]:!1)},setFloat64:function($e,We){ut(this,8,$e,Xe,We,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 pt=P(ne),tt=0,ze;pt.length>tt;)(ze=pt[tt++])in ee||o(ee,ze,ne[ze]);ie.constructor=ee}else bt&&V&&o(ne,"name",W);M&&R(L)!==Q&&M(L,Q);var ye=new F(new ee(2)),Te=i(L.setInt8);ye.setInt8(0,2147483648),ye.setInt8(1,2147483649),(ye.getInt8(0)||!ye.getInt8(1))&&u(L,{setInt8:function($e,We){Te(this,$e,We<<24>>24)},setUint8:function($e,We){Te(this,$e,We<<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")),M=i(R([]).next),P=function(){return new D(this)},D=function(B){this.iterator=R(B)};D.prototype.next=function(){return M(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,M=R>1?arguments[1]:void 0,P=M!==void 0;P&&(M=r(M,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,M,[K.value,B],!0):K.value,u(j,B,oe);else for($=h(b),j=A?new this($):p($);$>B;B++)oe=P?M(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),M=new h,P=f(A),D=0,B,$;P>D;D++)$=A[D],B=R($,D,b),a(M,B)?p(u(M,B),$):x(M,B,[$]);return M}},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),M=r(y,_),P=h(null),D=o(R),B=0,$,j,K;D>B;B++)K=R[B],j=f(M(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(M,P,D,B){for(var $=c(M),j=l($),K=f(j),V=r(P,D),W=0,oe=B||o,ae=x?oe(M,K):p||A?oe(M,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=[],M=new u,P=l(_)?function(j){return j}:i(_),D,B,$;for(D=0;D<A;D++)B=b[D],$=P(B),a(M,$)||x(M,$,B);return h(M,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,M,P){var D=R.done;x.resolve(R.value).then(function(B){M(a(B,D))},P)},A=function(M){M.type=p,y(this,M)};A.prototype=f(l(u),{next:function(){var M=_(this);return new x(function(P,D){var B=i(r(M.next,M.iterator));b(B,P,D)})},return:function(){var R=_(this).iterator;return new x(function(M,P){var D=c(R,"return");if(D===void 0)return M(a(void 0,!0));var B=i(r(D,R));b(B,M,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",M="WrapForValidAsyncIterator",P=u.set,D=function(j){var K=!j,V=u.getterFor(j?M: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?M: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,M){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?(M.length=K,V(M)):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{M[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 M[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)},M=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($,M):$(B)}catch(j){M(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,M,P,D){var B=R(function(W,oe){f(W,$),b(W,{type:M,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(M),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,M,P){var D=M+" Iterator",B=A(M),$=A(D);u(R,M,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(M)}}},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),M=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:M++,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,M,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,L){return ee(this,F===0?0:F,L),this})},ae=c(R,!a(j)||!(B||K.forEach&&!y(function(){new j().entries().next()})));if(ae)V=P.getConstructor(M,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=M(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,M,P;if(p?b=r:y?b=r[x]||f(x,{}):b=(r[x]||{}).prototype,b)for(A in a){if(M=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 M==typeof R)continue;o(M,R)}(u.sham||R&&R.sham)&&l(M,"sham",!0),c(b,A,M,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(/./[_]),M=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,M[0]),i(u,_,M[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,M,P;A<a;)A in u&&(M=R?R(u[A],A,h):u[A],p>0&&r(M)?(P=i(M),b=f(o,h,M,P,b,p-1)-1):(l(b+1),o[b]=M),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),M=function(){var D=u(R,f(arguments));return this instanceof M?p(b,D.length,D):b.apply(_,D)};return l(A)&&(M.prototype=A),M}},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,M=u;return _!==void 0&&(_=i(_),M=h),f(b,M,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,M,P,D;for(h=e(h),h!==h||h===1/0?(P=h!==h?1:0,M=y):(M=i(l(h)/c),D=r(2,-M),h*D<1&&(M--,D*=2),M+_>=1?h+=b/D:h+=b*r(2,1-_),h*D>=2&&(M++,D/=2),M+_>=y?(P=0,M=y):M+_>=1?(P=(h*D-1)*r(2,u),M+=_):(P=h*r(2,_-1)*r(2,u),M=0));u>=8;)x[R++]=P&255,P/=256,u-=8;for(M=M<<u|P,p+=u;p>0;)x[R++]=M&255,M/=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,M;for(A>>=7;_>0;)R=R*256+h[b--],_-=8;for(M=R&(1<<-_)-1,R>>=-_,_+=u;_>0;)M=M*256+h[b--],_-=8;if(R===0)R=1-y;else{if(R===p)return M?NaN:A?-1/0:1/0;M+=r(2,u),R-=y}return(A?-1:1)*M*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},M=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:M,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 M=o.state||(o.state=new p);M.get=M.get,M.has=M.has,M.set=M.set,y=function(D,B){if(M.has(D))throw new x(a);return B.facade=D,M.set(D,B),B},_=function(D){return M.get(D)||{}},b=function(D){return M.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(M){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(M){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 M=R&&R.that,P=!!(R&&R.AS_ENTRIES),D=!!(R&&R.IS_RECORD),B=!!(R&&R.IS_ITERATOR),$=!!(R&&R.INTERRUPTED),j=r(A,M),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),M=A(!1);l(M,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:M,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,M=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(Pe){if(Pe===ce&&F)return F;if(!P&&Pe&&Pe in ee)return ee[Pe];switch(Pe){case B:return function(){return new oe(this,Pe)};case $:return function(){return new oe(this,Pe)};case j:return function(){return new oe(this,Pe)}}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),L=W==="Array"&&ee.entries||ie,Q,de,we;if(L&&(Q=h(L.call(new V)),Q!==Object.prototype&&Q.next&&(!l&&h(Q)!==M&&(u?u(Q,M):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(we in de)(P||ne||!(we in ee))&&p(ee,we,de[we]);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}),M=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(M,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,M,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?(M=!0,P=p.createTextNode(""),new x(j).observe(P,{characterData:!0}),R=function(){P.data=M=!M}):!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(M,P,D,B,$,j){if(typeof M!=B||P!==1/0&&P!==-1/0&&typeof P!=B)throw new _(u);if(M===1/0||M===-1/0)throw new y(u);var K=P>M,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===$&&M!==P)throw new y(u);var oe=M!==M||P!==P||W!==W||P>M!=W>$;x(this,{type:a,start:M,end:P,step:W,inclusive:V,hitsEnd:oe,currentCount:$,zero:$}),h||(this.start=M,this.end=P,this.step=W,this.inclusive=V)},a,function(){var M=p(this);if(M.hitsEnd)return l(void 0,!0);var P=M.start,D=M.end,B=M.step,$=P+B*M.currentCount++;$===D&&(M.hitsEnd=!0);var j=M.inclusive,K;return D>P?K=j?$>D:$>=D:K=j?D>$:D>=$,K?(M.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(M){b[M]=M}),x({},_)[A]!==7||f(x({},b)).join("")!==R})?function(b,A){for(var R=u(b),M=arguments.length,P=1,D=o.f,B=h.f;M>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},M,P=function(){try{M=new ActiveXObject("htmlfile")}catch(B){}P=typeof document!="undefined"?document.domain&&M?A(M):R():A(M);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,M=A.length,P=0,D=[],B;M>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 M=h(y,_,_+2);if(i(a,M))A+=a[M],_+=2;else if(M==="\\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: "'+M+'"')}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),M=R!==String(i);if(!M&&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!M&&(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,M){var P=u.get(A);if(!P){if(!M)return;u.set(A,P=new c)}var D=P.get(R);if(!D){if(!M)return;P.set(R,D=new c)}return D},x=function(A,R,M){var P=a(R,M,!1);return P===void 0?!1:P.has(A)},p=function(A,R,M){var P=a(R,M,!1);return P===void 0?void 0:P.get(A)},y=function(A,R,M,P){a(M,P,!0).set(A,R)},_=function(A,R){var M=a(A,R,!1),P=[];return M&&M.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),M=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,L=r(c,V),Q=V.source,de=0,we=oe;if(F&&(L=R(L,"y",""),A(L,"g")===-1&&(L+="g"),we=M(oe,V.lastIndex),V.lastIndex>0&&(!V.multiline||V.multiline&&b(oe,V.lastIndex-1)!==`
|
|
|
`)&&(Q="(?: "+Q+")",we=" "+we,de++),q=new RegExp("^(?:"+Q+")",L)),B&&(q=new RegExp("^"+Q+"$(?!\\s)",L)),P&&(J=V.lastIndex),Y=r(y,F?q:V,we),F?Y?(Y.input=M(Y.input,de),Y[0]=M(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(_),M=A?o(arguments,y):[],P=A?function(){i(R,this,M)}: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,M=_===void 0?" ":l(_),P,D;return A<=R||M===""?b:(P=A-R,D=o(M,u(P/M.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=M(o(P,D));if(j===-1)return-1;$=$*16+j}return $},M=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),M=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?M(q/h):q>>1,q+=M(q/J);q>b*f>>1;)q=M(q/b),le+=l;return M(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 L=J.length,Q=L;for(L&&$(J,x);Q<Y;){var de=i;for(ie=0;ie<q.length;ie++)F=q[ie],F>=le&&F<de&&(de=F);var we=Q+1;if(de-le>M((i-ne)/we))throw new A(_);for(ne+=(de-le)*we,le=de,ie=0;ie<q.length;ie++){if(F=q[ie],F<le&&++ne>i)throw new A(_);if(F===le){for(var Pe=ne,Ue=l;;){var Be=Ue<=ee?c:Ue>=ee+f?f:Ue-ee;if(Pe<Be)break;var Ft=Pe-Be,mt=l-Be;$(J,P(oe(Be+Ft%mt))),Pe=M(Ft/mt),Ue+=l}$(J,P(oe(Pe))),ee=ae(ne,we,Q===L),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 M=a(R),P=0,D=u(x),B=D.length;P<B;P++)if(x[D[P]]==M)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,M=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:M(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),M=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,L=J.f,Q=i.RangeError,de=h.ArrayBuffer,we=de.prototype,Pe=h.DataView,Ue=o.NATIVE_ARRAY_BUFFER_VIEWS,Be=o.TYPED_ARRAY_TAG,Ft=o.TypedArray,mt=o.TypedArrayPrototype,Pt=o.aTypedArrayConstructor,Qt=o.isTypedArray,qt="BYTES_PER_ELEMENT",Jt="Wrong length",Xe=function(tt,ze){Pt(tt);for(var ye=0,Te=ze.length,Me=new tt(Te);Te>ye;)Me[ye]=ze[ye++];return Me},It=function(tt,ze){ce(tt,ze,{configurable:!0,get:function(){return ne(this)[ze]}})},Ut=function(tt){var ze;return j(we,tt)||(ze=P(tt))==="ArrayBuffer"||ze==="SharedArrayBuffer"},ut=function(tt,ze){return Qt(tt)&&!B(ze)&&ze in tt&&p(+ze)&&ze>=0},bt=function(ze,ye){return ye=R(ye),ut(ze,ye)?a(2,ze[ye]):L(ze,ye)},pt=function(ze,ye,Te){return ye=R(ye),ut(ze,ye)&&D(Te)&&M(Te,"value")&&!M(Te,"get")&&!M(Te,"set")&&!Te.configurable&&(!M(Te,"writable")||Te.writable)&&(!M(Te,"enumerable")||Te.enumerable)?(ze[ye]=Te.value,ze):F(ze,ye,Te)};c?(Ue||(J.f=bt,q.f=pt,It(mt,"buffer"),It(mt,"byteOffset"),It(mt,"byteLength"),It(mt,"length")),r({target:"Object",stat:!0,forced:!Ue},{getOwnPropertyDescriptor:bt,defineProperty:pt}),d.exports=function(tt,ze,ye){var Te=tt.match(/\d+/)[0]/8,Me=tt+(ye?"Clamped":"")+"Array",$e="get"+tt,We="set"+tt,it=i[Me],ft=it,Vt=ft&&ft.prototype,Ht={},De=function(Zt,Bt){var At=ne(Zt);return At.view[$e](Bt*Te+At.byteOffset,!0)},et=function(Zt,Bt,At){var Kt=ne(Zt);Kt.view[We](Bt*Te+Kt.byteOffset,ye?A(At):At,!0)},Wt=function(Zt,Bt){F(Zt,Bt,{get:function(){return De(this,Bt)},set:function(At){return et(this,Bt,At)},enumerable:!0})};Ue?f&&(ft=ze(function(Zt,Bt,At,Kt){return u(Zt,Vt),le(function(){return D(Bt)?Ut(Bt)?Kt!==void 0?new it(Bt,b(At,Te),Kt):At!==void 0?new it(Bt,b(At,Te)):new it(Bt):Qt(Bt)?Xe(ft,Bt):l(W,ft,Bt):new it(_(Bt))}(),Zt,ft)}),K&&K(ft,Ft),oe(V(it),function(Zt){Zt in ft||x(ft,Zt,it[Zt])}),ft.prototype=Vt):(ft=ze(function(Zt,Bt,At,Kt){u(Zt,Vt);var Ge=0,fe=0,_e,Ot,Ie;if(!D(Bt))Ie=_(Bt),Ot=Ie*Te,_e=new de(Ot);else if(Ut(Bt)){_e=Bt,fe=b(At,Te);var ht=Bt.byteLength;if(Kt===void 0){if(ht%Te)throw new Q(Jt);if(Ot=ht-fe,Ot<0)throw new Q(Jt)}else if(Ot=y(Kt)*Te,Ot+fe>ht)throw new Q(Jt);Ie=Ot/Te}else return Qt(Bt)?Xe(ft,Bt):l(W,ft,Bt);for(ee(Zt,{buffer:_e,byteOffset:fe,byteLength:Ot,length:Ie,view:new Pe(_e)});Ge<Ie;)Wt(Zt,Ge++)}),K&&K(ft,Ft),Vt=ft.prototype=$(mt)),Vt.constructor!==ft&&x(Vt,"constructor",ft),ie(Vt).TypedArrayConstructor=ft,Be&&x(Vt,Be,Me);var Rt=ft!==it;Ht[Me]=ft,r({global:!0,constructor:!0,forced:Rt,sham:!Ue},Ht),qt in ft||x(ft,qt,Te),qt in Vt||x(Vt,qt,Te),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,M=R>1?arguments[1]:void 0,P=M!==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&&(M=r(M,arguments[2])),$=f(A),j=new(x(b))($),K=a(j),B=0;$>B;B++)V=P?M(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,M){var P="stackTraceLimit",D=M?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(M?ae:oe,void 0),q=M?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,M=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,M,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(M,A):f(M,A,{name:!0});var P=M.prototype=o(A.prototype,{constructor:u(1,M),message:u(1,""),name:u(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:M})},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(M,P){if(y&&P===void 0)return y(f(this),M);for(var D=f(this).byteLength,B=o(M,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 M=[];return M[_]=!1,M.concat()[0]!==M}),A=function(M){if(!c(M))return!1;var P=M[_];return P!==void 0?!!P:l(M)},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(M,P){var D=h(this),B=o(D),$=f(M,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),M=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&&M(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,M){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(M),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),M=arguments.length,P=0,D,B,$,j;for(M===0?D=B=0:M===1?(D=0,B=A-R):(D=M-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 M=0;M<b;M++)y[M]=arguments[M]}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,M,P;R<A;)M=c(_,R++),o(a,M)?b+=M:(P=f(M,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),M=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"?M(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,M=0;return f(b,function(P){var D=A(P,M++);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,M=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,L,Q,de,we,Pe;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,L=49;break;case 79:case 111:F=8,L=55;break;default:return+ne}for(Q=V(ne,2),de=Q.length,we=0;we<de;we++)if(Pe=W(Q,we),Pe<48||Pe>L)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(){M(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),M=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=M(ae,0,1)+"."+M(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},M=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=M(K)}else A(K,0,ae),A(K,1<<-oe,0),W=M(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=[],M=0,P=1;o(a,function(D){var B=M++,$=!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=[],M=0,P=1;o(a,function(D){var B=M++,$=!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,M=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 M.error&&R(M.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),M=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,L=F,Q=!!(ee&&ee.createEvent&&c.dispatchEvent),de="unhandledrejection",we="rejectionhandled",Pe=0,Ue=1,Be=2,Ft=1,mt=2,Pt,Qt,qt,Jt,Xe=function(Me){var $e;return y(Me)&&p($e=Me.then)?$e:!1},It=function(Me,$e){var We=$e.value,it=$e.state===Ue,ft=it?Me.ok:Me.fail,Vt=Me.resolve,Ht=Me.reject,De=Me.domain,et,Wt,Rt;try{ft?(it||($e.rejection===mt&&tt($e),$e.rejection=Ft),ft===!0?et=We:(De&&De.enter(),et=ft(We),De&&(De.exit(),Rt=!0)),et===Me.promise?Ht(new ne("Promise-chain cycle")):(Wt=Xe(et))?f(Wt,et,Vt,Ht):Vt(et)):Ht(We)}catch(Zt){De&&!Rt&&De.exit(),Ht(Zt)}},Ut=function(Me,$e){Me.notified||(Me.notified=!0,R(function(){for(var We=Me.reactions,it;it=We.get();)It(it,Me);Me.notified=!1,$e&&!Me.rejection&&bt(Me)}))},ut=function(Me,$e,We){var it,ft;Q?(it=ee.createEvent("Event"),it.promise=$e,it.reason=We,it.initEvent(Me,!1,!0),c.dispatchEvent(it)):it={promise:$e,reason:We},!oe&&(ft=c["on"+Me])?ft(it):Me===de&&M("Unhandled promise rejection",We)},bt=function(Me){f(A,c,function(){var $e=Me.facade,We=Me.value,it=pt(Me),ft;if(it&&(ft=P(function(){l?ie.emit("unhandledRejection",We,$e):ut(de,$e,We)}),Me.rejection=l||pt(Me)?mt:Ft,ft.error))throw ft.value})},pt=function(Me){return Me.rejection!==Ft&&!Me.parent},tt=function(Me){f(A,c,function(){var $e=Me.facade;l?ie.emit("rejectionHandled",$e):ut(we,$e,Me.value)})},ze=function(Me,$e,We){return function(it){Me($e,it,We)}},ye=function(Me,$e,We){Me.done||(Me.done=!0,We&&(Me=We),Me.value=$e,Me.state=Be,Ut(Me,!0))},Te=function(Me,$e,We){if(!Me.done){Me.done=!0,We&&(Me=We);try{if(Me.facade===$e)throw new ne("Promise can't be resolved itself");var it=Xe($e);it?R(function(){var ft={done:!1};try{f(it,$e,ze(Te,ft,Me),ze(ye,ft,Me))}catch(Vt){ye(ft,Vt,Me)}}):(Me.value=$e,Me.state=Ue,Ut(Me,!1))}catch(ft){ye({done:!1},ft,Me)}}};if(W&&(Y=function($e){_(this,le),x($e),f(Pt,this);var We=ce(this);try{$e(ze(Te,We),ze(ye,We))}catch(it){ye(We,it)}},le=Y.prototype,Pt=function($e){q(this,{type:V,done:!1,notified:!1,parent:!1,reactions:new D,rejection:!1,state:Pe,value:void 0})},Pt.prototype=o(le,"then",function($e,We){var it=ce(this),ft=F(b(this,Y));return it.parent=!0,ft.ok=p($e)?$e:!0,ft.fail=p(We)&&We,ft.domain=l?ie.domain:void 0,it.state===Pe?it.reactions.add(ft):R(function(){It(ft,it)}),ft.promise}),Qt=function(){var Me=new Pt,$e=ce(Me);this.promise=Me,this.resolve=ze(Te,$e),this.reject=ze(ye,$e)},K.f=F=function(Me){return Me===Y||Me===qt?new Qt(Me):L(Me)},!i&&p($)&&J!==Object.prototype)){Jt=J.then,ae||o(J,"then",function($e,We){var it=this;return new Y(function(ft,Vt){f(Jt,it,ft,Vt)}).then($e,We)},{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(M,P){f(M),o(P);var D=arguments.length<3?M:f(arguments[2]);if(b&&!_)return x(M,P,D);if(M===D){switch(P.length){case 0:return new M;case 1:return new M(P[0]);case 2:return new M(P[0],P[1]);case 3:return new M(P[0],P[1],P[2]);case 4:return new M(P[0],P[1],P[2],P[3])}var B=[null];return l(y,B,P),new(l(c,M,B))}var $=D.prototype,j=u(h($)?$:p),K=l(M,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],M=u.f(l(_),b),P,D,B;if(!M){if(c(D=a(_)))return p(D,b,A,R);M=x(0)}if(f(M)){if(M.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=M.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),M=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,L=_.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 mt=Ft.length,Pt=0,Qt="",qt=!1,Jt;Pt<=mt;Pt++){if(Jt=ce(Ft,Pt),Jt==="\\"){Qt+=Jt+ce(Ft,++Pt);continue}!qt&&Jt==="."?Qt+="[\\s\\S]":(Jt==="["?qt=!0:Jt==="]"&&(qt=!1),Qt+=Jt)}return Qt},we=function(Ft){for(var mt=Ft.length,Pt=0,Qt="",qt=[],Jt=h(null),Xe=!1,It=!1,Ut=0,ut="",bt;Pt<=mt;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(ut===""||M(Jt,ut))throw new oe("Invalid capture group name");Jt[ut]=!0,qt[qt.length]=[ut,Ut],It=!1,ut="";continue}It?ut+=bt:Qt+=bt}return[Qt,qt]};if(c("RegExp",Q)){for(var Pe=function(mt,Pt){var Qt=a(W,this),qt=x(mt),Jt=Pt===void 0,Xe=[],It=mt,Ut,ut,bt,pt,tt,ze;if(!Qt&&qt&&Jt&&mt.constructor===Pe)return mt;if((qt||a(W,mt))&&(mt=mt.source,Jt&&(Pt=y(It))),mt=mt===void 0?"":p(mt),Pt=Pt===void 0?"":p(Pt),It=mt,$&&"dotAll"in ne&&(ut=!!Pt&&J(Pt,"s")>-1,ut&&(Pt=q(Pt,/s/g,""))),Ut=Pt,F&&"sticky"in ne&&(bt=!!Pt&&J(Pt,"y")>-1,bt&&L&&(Pt=q(Pt,/y/g,""))),j&&(pt=we(mt),mt=pt[0],Xe=pt[1]),tt=f(V(mt,Pt),Qt?this:W,Pe),(ut||bt||Xe.length)&&(ze=P(tt),ut&&(ze.dotAll=!0,ze.raw=Pe(de(mt),Ut)),bt&&(ze.sticky=!0),Xe.length&&(ze.groups=Xe)),mt!==It)try{o(tt,"source",It===""?"(?:)":It)}catch(ye){}return tt},Ue=u(V),Be=0;Ue.length>Be;)b(Pe,V,Ue[Be++]);W.constructor=Pe,Pe.prototype=W,A(i,"RegExp",Pe,{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(M){a=!1}var x={},p="",y=a?"dgimsy":"gimsy",_=function(M,P){Object.defineProperty(x,M,{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 M=f(h(this));o(R);var P=arguments.length>1?arguments[1]:void 0,D=M.length,B=P===void 0?D:y(c(P),D),$=f(R);return x?x(M,$,B):p(M,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),M=e(59893),P=e(60473),D=e(52216),B=e(94338),$=e(94844),j=e(16697),K=M("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,L,Q,de){oe(this,{type:W,regexp:F,string:L,global:Q,unicode:de,done:!1})},V,function(){var F=ae(this);if(F.done)return f(void 0,!0);var L=F.regexp,Q=F.string,de=B(L,Q);return de===null?(F.done=!0,f(void 0,!0)):F.global?(u(de[0])===""&&(L.lastIndex=D(Q,h(L.lastIndex),F.unicode)),f(de,!1)):(F.done=!0,f(de,!1))}),ee=function(ie){var F=a(this),L=u(ie),Q=P(F,RegExp),de=u(_(F)),we,Pe,Ue;return we=new Q(Q===RegExp?F.source:F,de),Pe=!!~J(de,"g"),Ue=!!~J(de,"u"),we.lastIndex=h(F.lastIndex),new ne(we,L,Pe,Ue)};r({target:"String",proto:!0,forced:le},{matchAll:function(F){var L=o(this),Q,de,we,Pe;if(x(F)){if(le)return Y(L,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(L,F);if(we=b(F,K),we===void 0&&j&&p(F)==="RegExp"&&(we=ee),we)return i(we,F,L)}return de=u(L),Pe=new RegExp(F,"g"),j?i(ee,Pe,de):Pe[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),M=c(A)?void 0:u(A,p);return M?r(M,A,R):new RegExp(A)[p](o(R))},function(b){var A=l(this),R=o(b),M=_(y,A,R);if(M.done)return M.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),M=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 M(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),M=e(59893),P=M("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),L=u(ee)?void 0:b(ee,P);return L?i(L,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 L=Y(J,ie,F,ee);if(L.done)return L.value}var Q=h(ee);Q||(ee=p(ee));var de=ie.global,we;de&&(we=ie.unicode,ie.lastIndex=0);for(var Pe=[],Ue;Ue=R(ie,F),!(Ue===null||(j(Pe,Ue),!de));){var Be=p(Ue[0]);Be===""&&(ie.lastIndex=_(F,x(ie.lastIndex),we))}for(var Ft="",mt=0,Pt=0;Pt<Pe.length;Pt++){Ue=Pe[Pt];for(var Qt=p(Ue[0]),qt=D(B(a(Ue.index),F.length),0),Jt=[],Xe,It=1;It<Ue.length;It++)j(Jt,W(Ue[It]));var Ut=Ue.groups;if(Q){var ut=$([Qt],Jt,qt,F);Ut!==void 0&&j(ut,Ut),Xe=p(r(ee,void 0,ut))}else Xe=A(Qt,F,qt,Jt,Ut,ee);qt>=mt&&(Ft+=V(F,mt,qt)+Xe,mt=qt+Qt.length)}return Ft+V(F,mt)}]},!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 M=b.lastIndex;o(M,0)||(b.lastIndex=0);var P=a(b,A);return o(b.lastIndex,M)||(b.lastIndex=M),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),M=e(19286),P=e(3338),D=M.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":""),L=0,Q=new RegExp(Y.source,F+"g"),de,we,Pe;(de=i(R,Q,ne))&&(we=Q.lastIndex,!(we>L&&(V(ie,W(ne,L,de.index)),de.length>1&&de.index<ne.length&&r(j,ie,b(de,1)),Pe=de[0].length,L=we,ie.length>=ee)));)Q.lastIndex===de.index&&Q.lastIndex++;return L===ne.length?(Pe||!K(Q,""))&&V(ie,""):V(ie,W(ne,L)),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),L=ne.unicode,Q=(ne.ignoreCase?"i":"")+(ne.multiline?"m":"")+(ne.unicode?"u":"")+(D?"g":"y"),de=new F(D?"^(?:"+ne.source+")":ne,Q),we=le===void 0?B:le>>>0;if(we===0)return[];if(ee.length===0)return A(de,ee)===null?[ee]:[];for(var Pe=0,Ue=0,Be=[];Ue<ee.length;){de.lastIndex=D?0:Ue;var Ft=A(de,D?W(ee,Ue):ee),mt;if(Ft===null||(mt=$(p(de.lastIndex+(D?Ue:0)),ee.length))===Pe)Ue=x(ee,Ue,L);else{if(V(Be,W(ee,Pe,Ue)),Be.length===we)return Be;for(var Pt=1;Pt<=Ft.length-1;Pt++)if(V(Be,Ft[Pt]),Be.length===we)return Be;Ue=Pe=mt}}return V(Be,W(ee,Pe)),Be}]},!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 M=f(h(this));o(R);var P=c(y(arguments.length>1?arguments[1]:void 0,M.length)),D=f(R);return x?x(M,D,P):p(M,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,M;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?"":(M=u(A+R,b),A>=M?"":o(_,A,M))}})},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,M=h(R),P=0;P<R;P++){var D=a(A,P);(D&63488)!==55296?M[P]=u(A,P):D>=56320||P+1>=R||(a(A,P+1)&64512)!==56320?M[P]=y:(M[P]=u(A,P),M[++P]=u(A,P))}return x(M,"")}})},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),M=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),L=e(90560).forEach,Q=ce("hidden"),de="Symbol",we="prototype",Pe=F.set,Ue=F.getterFor(de),Be=Object[we],Ft=i.Symbol,mt=Ft&&Ft[we],Pt=i.RangeError,Qt=i.TypeError,qt=i.QObject,Jt=$.f,Xe=j.f,It=D.f,Ut=V.f,ut=c([].push),bt=ae("symbols"),pt=ae("op-symbols"),tt=ae("wks"),ze=!qt||!qt[we]||!qt[we].findChild,ye=function(et,Wt,Rt){var Zt=Jt(Be,Wt);Zt&&delete Be[Wt],Xe(et,Wt,Rt),Zt&&et!==Be&&Xe(Be,Wt,Zt)},Te=o&&u(function(){return R(Xe({},"a",{get:function(){return Xe(this,"a",{value:7}).a}})).a!==7})?ye:Xe,Me=function(et,Wt){var Rt=bt[et]=R(mt);return Pe(Rt,{type:de,tag:et,description:Wt}),o||(Rt.description=Wt),Rt},$e=function(Wt,Rt,Zt){Wt===Be&&$e(pt,Rt,Zt),p(Wt);var Bt=_(Rt);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),Te(Wt,Bt,Zt)):Xe(Wt,Bt,Zt)},We=function(Wt,Rt){p(Wt);var Zt=y(Rt),Bt=M(Zt).concat(De(Zt));return L(Bt,function(At){(!o||l(ft,Zt,At))&&$e(Wt,At,Zt[At])}),Wt},it=function(Wt,Rt){return Rt===void 0?R(Wt):We(R(Wt),Rt)},ft=function(Wt){var Rt=_(Wt),Zt=l(Ut,this,Rt);return this===Be&&a(bt,Rt)&&!a(pt,Rt)?!1:Zt||!a(this,Rt)||!a(bt,Rt)||a(this,Q)&&this[Q][Rt]?Zt:!0},Vt=function(Wt,Rt){var Zt=y(Wt),Bt=_(Rt);if(!(Zt===Be&&a(bt,Bt)&&!a(pt,Bt))){var At=Jt(Zt,Bt);return At&&a(bt,Bt)&&!(a(Zt,Q)&&Zt[Q][Bt])&&(At.enumerable=!0),At}},Ht=function(Wt){var Rt=It(y(Wt)),Zt=[];return L(Rt,function(Bt){!a(bt,Bt)&&!a(q,Bt)&&ut(Zt,Bt)}),Zt},De=function(et){var Wt=et===Be,Rt=It(Wt?pt:y(et)),Zt=[];return L(Rt,function(Bt){a(bt,Bt)&&(!Wt||a(Be,Bt))&&ut(Zt,bt[Bt])}),Zt};h||(Ft=function(){if(x(mt,this))throw new Qt("Symbol is not a constructor");var Wt=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),Rt=J(Wt),Zt=function(Bt){var At=this===void 0?i:this;At===Be&&l(Zt,pt,Bt),a(At,Q)&&a(At[Q],Rt)&&(At[Q][Rt]=!1);var Kt=A(1,Bt);try{Te(At,Rt,Kt)}catch(Ge){if(!(Ge instanceof Pt))throw Ge;ye(At,Rt,Kt)}};return o&&ze&&Te(Be,Rt,{configurable:!0,set:Zt}),Me(Rt,Wt)},mt=Ft[we],W(mt,"toString",function(){return Ue(this).tag}),W(Ft,"withoutSetter",function(et){return Me(J(et),et)}),V.f=ft,j.f=$e,K.f=We,$.f=Vt,P.f=D.f=Ht,B.f=De,le.f=function(et){return Me(Y(et),et)},o&&(oe(mt,"description",{configurable:!0,get:function(){return Ue(this).description}}),f||W(Be,"propertyIsEnumerable",ft,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Ft}),L(M(tt),function(et){ne(et)}),r({target:de,stat:!0,forced:!h},{useSetter:function(){ze=!0},useSimple:function(){ze=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!o},{create:it,defineProperty:$e,defineProperties:We,getOwnPropertyDescriptor:Vt}),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),M=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=M(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",M=function(){return a(y(this))};_("entries",function(){return p(y(this))},A),_("keys",function(){return x(y(this))},A),_("values",M,A||!R,{name:"values"}),_(h,M,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(M){y(this);var P=f(arguments.length>1?arguments[1]:void 0,1),D=o(M);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}),M=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),M(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,M;A<b;){if(R=f(y,A++),R==="%"){if(f(y,A)==="u"){if(M=h(y,A+1,A+5),o(a,M)){_+=c(parseInt(M,16)),A+=5;continue}}else if(M=h(y,A,A+2),o(u,M)){_+=c(parseInt(M,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,M=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=M([]);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&&M(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"),M="AsyncDisposableStack",P=x.set,D=x.getterFor(M),B="async-dispose",$="disposed",j="pending",K=function(oe){var ae=D(oe);if(ae.state===$)throw new b(M+" already disposed");return ae},V=function(){P(f(this,W),{type:M,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(L){ne?ee=new _(L,ee):(ne=!0,ee=L),F()},F=function(){if(le){var L=Y[--le];Y[le]=null;try{y.resolve(L()).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,M,{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(M){y.done=!0,b(M)},R=function(){try{p.resolve(l(i(y.next,y.iterator))).then(function(M){try{l(M).done?(y.done=!0,_(u(void 0,!0))):y.remaining?(y.remaining--,R()):_(u(M.value,!1))}catch(P){A(P)}},A)}catch(M){A(M)}};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,M){var P=function($){_.done=!0,M($)},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(M,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,M(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,$()):M(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,M=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(M);else{var V=K.value;if(R)R=!1,M=V,j();else try{var W=y(M,V,P),oe=function(ae){M=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",M=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(){M(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",M=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,M)||j(M,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),M=l.JSON,P=l.Number,D=l.SyntaxError,B=M&&M.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(we,Pe){we=p(we);var Ue=new L(we,0,""),Be=Ue.parse(),Ft=Be.value,mt=Ue.skip(J,Be.end);if(mt<we.length)throw new D('Unexpected extra character: "'+K(we,mt)+'" after the parsed data at: '+mt);return h(Pe)?ee({"":Ft},"",Pe,Be):Ft},ee=function(we,Pe,Ue,Be){var Ft=we[Pe],mt=Be&&Ft===Be.value,Pt=mt&&typeof Be.source=="string"?{source:Be.source}:{},Qt,qt,Jt,Xe,It;if(u(Ft)){var Ut=a(Ft),ut=mt?Be.nodes:Ut?[]:{};if(Ut)for(Qt=ut.length,Jt=y(Ft),Xe=0;Xe<Jt;Xe++)ie(Ft,Xe,ee(Ft,""+Xe,Ue,Xe<Qt?ut[Xe]:void 0));else for(qt=$(Ft),Jt=y(qt),Xe=0;Xe<Jt;Xe++)It=qt[Xe],ie(Ft,It,ee(Ft,It,Ue,x(ut,It)?ut[It]:void 0))}return o(Ue,we,Pe,Ft,Pt)},ie=function(we,Pe,Ue){if(i){var Be=j(we,Pe);if(Be&&!Be.configurable)return}Ue===void 0?delete we[Pe]:_(we,Pe,Ue)},F=function(we,Pe,Ue,Be){this.value=we,this.end=Pe,this.source=Ue,this.nodes=Be},L=function(we,Pe){this.source=we,this.index=Pe};L.prototype={fork:function(we){return new L(this.source,we)},parse:function(){var we=this.source,Pe=this.skip(J,this.index),Ue=this.fork(Pe),Be=K(we,Pe);if(W(q,Be))return Ue.number();switch(Be){case"{":return Ue.object();case"[":return Ue.array();case'"':return Ue.string();case"t":return Ue.keyword(!0);case"f":return Ue.keyword(!1);case"n":return Ue.keyword(null)}throw new D('Unexpected character: "'+Be+'" at: '+Pe)},node:function(we,Pe,Ue,Be,Ft){return new F(Pe,Be,we?null:V(this.source,Ue,Be),Ft)},object:function(){for(var we=this.source,Pe=this.index+1,Ue=!1,Be={},Ft={};Pe<we.length;){if(Pe=this.until(['"',"}"],Pe),K(we,Pe)==="}"&&!Ue){Pe++;break}var mt=this.fork(Pe).string(),Pt=mt.value;Pe=mt.end,Pe=this.until([":"],Pe)+1,Pe=this.skip(J,Pe),mt=this.fork(Pe).parse(),_(Ft,Pt,mt),_(Be,Pt,mt.value),Pe=this.until([",","}"],mt.end);var Qt=K(we,Pe);if(Qt===",")Ue=!0,Pe++;else if(Qt==="}"){Pe++;break}}return this.node(le,Be,this.index,Pe,Ft)},array:function(){for(var we=this.source,Pe=this.index+1,Ue=!1,Be=[],Ft=[];Pe<we.length;){if(Pe=this.skip(J,Pe),K(we,Pe)==="]"&&!Ue){Pe++;break}var mt=this.fork(Pe).parse();if(oe(Ft,mt),oe(Be,mt.value),Pe=this.until([",","]"],mt.end),K(we,Pe)===",")Ue=!0,Pe++;else if(K(we,Pe)==="]"){Pe++;break}}return this.node(le,Be,this.index,Pe,Ft)},string:function(){var we=this.index,Pe=A(this.source,this.index+1);return this.node(Y,Pe.value,we,Pe.end)},number:function(){var we=this.source,Pe=this.index,Ue=Pe;if(K(we,Ue)==="-"&&Ue++,K(we,Ue)==="0")Ue++;else if(W(ce,K(we,Ue)))Ue=this.skip(ae,++Ue);else throw new D("Failed to parse number at: "+Ue);if(K(we,Ue)==="."&&(Ue=this.skip(ae,++Ue)),K(we,Ue)==="e"||K(we,Ue)==="E"){Ue++,(K(we,Ue)==="+"||K(we,Ue)==="-")&&Ue++;var Be=Ue;if(Ue=this.skip(ae,Ue),Be===Ue)throw new D("Failed to parse number's exponent value at: "+Ue)}return this.node(Y,P(V(we,Pe,Ue)),Pe,Ue)},keyword:function(we){var Pe=""+we,Ue=this.index,Be=Ue+Pe.length;if(V(this.source,Ue,Be)!==Pe)throw new D("Failed to parse value at: "+Ue);return this.node(Y,we,Ue,Be)},skip:function(we,Pe){for(var Ue=this.source;Pe<Ue.length&&W(we,K(Ue,Pe));Pe++);return Pe},until:function(we,Pe){Pe=this.skip(J,Pe);for(var Ue=K(this.source,Pe),Be=0;Be<we.length;Be++)if(we[Be]===Ue)return Pe;throw new D('Unexpected character: "'+Ue+'" at: '+Pe)}};var Q=b(function(){var we="9007199254740993",Pe;return B(we,function(Ue,Be,Ft){Pe=Ft.source}),Pe!==we}),de=R&&!b(function(){return 1/B("-0 ")!==-1/0});r({target:"JSON",stat:!0,forced:Q},{parse:function(Pe,Ue){return de&&!h(Ue)?B(Pe):ne(Pe,Ue)}})},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,M=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=M(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(Ue,Be){var Ft=h(ne)?f(ne,this,A(Ue),Be):Be;return u(Ft)?W+(V(ee,Ft.rawJSON)-1):Ft},le);if(typeof ie!="string")return ie;for(var F="",L=ie.length,Q=0;Q<L;Q++){var de=$(ie,Q);if(de==='"'){var we=p(ie,++Q).end-1,Pe=j(ie,Q,we);F+=j(Pe,0,oe)===W?ee[j(Pe,oe)]:'"'+Pe+'"',Q=we}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),M=e(94844),P=R("observable"),D="Observable",B="Subscription",$="SubscriptionObserver",j=M.getterFor,K=M.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 L=ne(F),Q=L;a(L)||(ee.cleanup=u(L.unsubscribe)?function(){Q.unsubscribe()}:f(L))}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(L){A(L)}}},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(L){A(L)}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(M){return A.subscribe(M)})}var R=o(y);return new _(function(M){u(R,function(P,D){if(M.next(P),M.closed)return D()},{IS_ITERATOR:!0,INTERRUPTED:!0}),M.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,M=A.index,P;return M>=R.length?l(void 0,!0):(P=a(R,M),A.index+=P.length,l({codePoint:u(P,0),position:M},!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,M=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(Pe){var Ue=Pe.raw;if(r&&!K(Ue))throw new $("Raw template should be frozen");if(P(R,Ue))return M(R,Ue);var Be=F(Ue),Ft=Q(Be);return x(Ft,"raw",{value:j(Be)}),j(Ft),D(R,Ue,Ft),Ft},F=function(Pe){var Ue=h(Pe),Be=a(Ue),Ft=B(Be),mt=B(Be),Pt=0,Qt,qt,Jt,Xe;if(!Be)throw new $(le);for(;Pt<Be;Pt++){var It=Ue[Pt];if(typeof It=="string")Ft[Pt]=ae(It,q);else throw new $(le)}for(Pt=0;Pt<Be;Pt++){var Ut=Pt+1===Be;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 ut=2;ut<Qt.length;ut+=2){var bt=Qt[ut],pt=ut+1===Qt.length&&!Ut,tt=ce(J,bt)[0];if(!pt&&tt.length===bt.length){Qt[ut]="";continue}qt=L(tt,qt)}}var ze=qt?qt.length:0;for(Pt=0;Pt<Be;Pt++){for(Qt=Ft[Pt],Jt=Qt[0],Xe=1;Xe<Qt.length;Xe+=2)Jt+=Qt[Xe]+oe(Qt[Xe+1],ze);mt[Pt]=Jt}return mt},L=function(Pe,Ue){if(Ue===void 0||Pe===Ue)return Pe;for(var Be=0,Ft=V(Pe.length,Ue.length);Be<Ft&&W(Pe,Be)===W(Ue,Be);Be++);return oe(Pe,0,Be)},Q=function(Pe){for(var Ue=0,Be=Pe.length,Ft=B(Be);Ue<Be;Ue++)Ft[Ue]=b(Pe[Ue]);return Ft},de=function(Pe){return l(function(Ue){var Be=p(arguments);return Be[0]=ie(o(Ue)),f(Pe,this,Be)},"")},we=de(_);i({target:"String",stat:!0,forced:!0},{dedent:function(Ue){return o(Ue),u(Ue)?de(Ue):f(we,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(M,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",M),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 M=u(this),P=a(M),D=i(M),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]=M[j];for(;j<B+K;j++)q[j]=oe[j-B];for(;j<ce;j++)q[j]=M[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),M=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);M(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="",M=0,P=_.length,D,B=function($){return p(A,D>>6*$&63)};M+2<P;M+=3)D=(_[M]<<16)+(_[M+1]<<8)+_[M+2],R+=B(3)+B(2)+B(1)+B(0);return M+2===P?(D=(_[M]<<16)+(_[M+1]<<8),R+=B(3)+B(2)+B(1)+"="):M+1===P&&(D=_[M]<<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),M=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||M(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),M=e(94844),P=e(35454),D=e(16697),B="DOMException",$="DATA_CLONE_ERR",j=l("Error"),K=l(B)||function(){try{var mt=l("MessageChannel")||i("worker_threads").MessageChannel;new mt().port1.postMessage(new WeakMap)}catch(Pt){if(Pt.name===$&&Pt.code===25)return Pt.constructor}}(),V=K&&K.prototype,W=j.prototype,oe=M.set,ae=M.getterFor(B),ce="stack"in new j(B),q=function(mt){return x(A,mt)&&A[mt].m?A[mt].c:0},J=function(){p(this,Y);var Pt=arguments.length,Qt=b(Pt<1?void 0:arguments[0]),qt=b(Pt<2?void 0:arguments[1],"Error"),Jt=q(qt);if(oe(this,{type:B,name:qt,message:Qt,code:Jt}),P||(this.name=qt,this.message=Qt,this.code=Jt),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(mt){return{enumerable:!0,configurable:!0,get:mt}},ne=function(mt){return le(function(){return ae(this)[mt]})};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}),L=ee||K[$]!==25||V[$]!==25,Q=D?ie||F||L:ee;r({global:!0,constructor:!0,forced:Q},{DOMException:Q?J:K});var de=l(B),we=de.prototype;ie&&(D||K===de)&&u(we,"toString",_),F&&P&&K===de&&a(we,"code",le(function(){return q(y(this).name)}));for(var Pe in A)if(x(A,Pe)){var Ue=A[Pe],Be=Ue.s,Ft=o(6,Ue.c);x(de,Be)||h(de,Be,Ft),x(we,Be)||h(we,Be,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),M=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,M),ne},P=M.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?M: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),M=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,L=j.get,Q=j.set,de=K.Set,we=K.add,Pe=K.has,Ue=c("Object","keys"),Be=f([].push),Ft=f((!0).valueOf),mt=f(1 .valueOf),Pt=f("".valueOf),Qt=f(J.prototype.getTime),qt=h("structuredClone"),Jt="DataCloneError",Xe="Transferring",It=function(De){return!o(function(){var et=new l.Set([7]),Wt=De(et),Rt=De(ce(7));return Wt===et||!Wt.has(7)||!p(Rt)||+Rt!=7})&&De},Ut=function(De,et){return!o(function(){var Wt=new et,Rt=De({a:Wt,b:Wt});return!(Rt&&Rt.a===Rt.b&&Rt.a instanceof et&&Rt.a.stack===Wt.stack)})},ut=function(De){return!o(function(){var et=De(new l.AggregateError([1],qt,{cause:3}));return et.name!=="AggregateError"||et.errors[0]!==1||et.message!==qt||et.cause!==3})},bt=l.structuredClone,pt=r||!Ut(bt,Y)||!Ut(bt,ee)||!ut(bt),tt=!bt&&It(function(De){return new ne(qt,{detail:De}).detail}),ze=It(bt)||tt,ye=function(De){throw new ee("Uncloneable type: "+De,Jt)},Te=function(De,et){throw new ee((et||"Cloning")+" of "+De+" cannot be properly polyfilled in this engine",Jt)},Me=function(De,et){return ze||Te(et),ze(De)},$e=function(){var De;try{De=new l.DataTransfer}catch(et){try{De=new l.ClipboardEvent("").clipboardData}catch(Wt){}}return De&&De.items&&De.files?De:null},We=function(De,et,Wt){if(F(et,De))return L(et,De);var Rt=Wt||A(De),Zt,Bt,At,Kt,Ge,fe;if(Rt==="SharedArrayBuffer")ze?Zt=ze(De):Zt=De;else{var _e=l.DataView;!_e&&!u(De.slice)&&Te("ArrayBuffer");try{if(u(De.slice)&&!De.resizable)Zt=De.slice(0);else for(Bt=De.byteLength,At=("maxByteLength"in De)?{maxByteLength:De.maxByteLength}:void 0,Zt=new ArrayBuffer(Bt,At),Kt=new _e(De),Ge=new _e(Zt),fe=0;fe<Bt;fe++)Ge.setUint8(fe,Kt.getUint8(fe))}catch(Ot){throw new ee("ArrayBuffer is detached",Jt)}}return Q(et,De,Zt),Zt},it=function(De,et,Wt,Rt,Zt){var Bt=l[et];return p(Bt)||Te(et),new Bt(We(De.buffer,Zt),Wt,Rt)},ft=function(De,et){if(y(De)&&ye("Symbol"),!p(De))return De;if(et){if(F(et,De))return L(et,De)}else et=new ie;var Wt=A(De),Rt,Zt,Bt,At,Kt,Ge,fe,_e;switch(Wt){case"Array":Bt=q(D(De));break;case"Object":Bt={};break;case"Map":Bt=new ie;break;case"Set":Bt=new de;break;case"RegExp":Bt=new RegExp(De.source,$(De));break;case"Error":switch(Zt=De.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(De.message,De.name);break;case"ArrayBuffer":case"SharedArrayBuffer":Bt=We(De,et,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":Ge=Wt==="DataView"?De.byteLength:De.length,Bt=it(De,Wt,De.byteOffset,Ge,et);break;case"DOMQuad":try{Bt=new DOMQuad(ft(De.p1,et),ft(De.p2,et),ft(De.p3,et),ft(De.p4,et))}catch(Ot){Bt=Me(De,Wt)}break;case"File":if(ze)try{Bt=ze(De),A(Bt)!==Wt&&(Bt=void 0)}catch(Ot){}if(!Bt)try{Bt=new File([De],De.name,De)}catch(Ot){}Bt||Te(Wt);break;case"FileList":if(At=$e(),At){for(Kt=0,Ge=D(De);Kt<Ge;Kt++)At.items.add(ft(De[Kt],et));Bt=At.files}else Bt=Me(De,Wt);break;case"ImageData":try{Bt=new ImageData(ft(De.data,et),De.width,De.height,{colorSpace:De.colorSpace})}catch(Ot){Bt=Me(De,Wt)}break;default:if(ze)Bt=ze(De);else switch(Wt){case"BigInt":Bt=ce(De.valueOf());break;case"Boolean":Bt=ce(Ft(De));break;case"Number":Bt=ce(mt(De));break;case"String":Bt=ce(Pt(De));break;case"Date":Bt=new J(Qt(De));break;case"Blob":try{Bt=De.slice(0,De.size,De.type)}catch(Ot){Te(Wt)}break;case"DOMPoint":case"DOMPointReadOnly":Rt=l[Wt];try{Bt=Rt.fromPoint?Rt.fromPoint(De):new Rt(De.x,De.y,De.z,De.w)}catch(Ot){Te(Wt)}break;case"DOMRect":case"DOMRectReadOnly":Rt=l[Wt];try{Bt=Rt.fromRect?Rt.fromRect(De):new Rt(De.x,De.y,De.width,De.height)}catch(Ot){Te(Wt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":Rt=l[Wt];try{Bt=Rt.fromMatrix?Rt.fromMatrix(De):new Rt(De)}catch(Ot){Te(Wt)}break;case"AudioData":case"VideoFrame":u(De.clone)||Te(Wt);try{Bt=De.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":Te(Wt);default:ye(Wt)}}switch(Q(et,De,Bt),Wt){case"Array":case"Object":for(fe=Ue(De),Kt=0,Ge=D(fe);Kt<Ge;Kt++)_e=fe[Kt],M(Bt,_e,ft(De[_e],et));break;case"Map":De.forEach(function(Ot,Ie){Q(Bt,ft(Ie,et),ft(Ot,et))});break;case"Set":De.forEach(function(Ot){we(Bt,ft(Ot,et))});break;case"Error":P(Bt,"message",ft(De.message,et)),R(De,"cause")&&P(Bt,"cause",ft(De.cause,et)),Zt==="AggregateError"?Bt.errors=ft(De.errors,et):Zt==="SuppressedError"&&(Bt.error=ft(De.error,et),Bt.suppressed=ft(De.suppressed,et));case"DOMException":oe&&P(Bt,"stack",ft(De.stack,et))}return Bt},Vt=function(De,et){if(!p(De))throw new le("Transfer option cannot be converted to a sequence");var Wt=[];_(De,function(Ie){Be(Wt,b(Ie))});for(var Rt=0,Zt=D(Wt),Bt=new de,At,Kt,Ge,fe,_e,Ot;Rt<Zt;){if(At=Wt[Rt++],Kt=A(At),Kt==="ArrayBuffer"?Pe(Bt,At):F(et,At))throw new ee("Duplicate transferable",Jt);if(Kt==="ArrayBuffer"){we(Bt,At);continue}if(ae)fe=bt(At,{transfer:[At]});else switch(Kt){case"ImageBitmap":Ge=l.OffscreenCanvas,a(Ge)||Te(Kt,Xe);try{_e=new Ge(At.width,At.height),Ot=_e.getContext("bitmaprenderer"),Ot.transferFromImageBitmap(At),fe=_e.transferToImageBitmap()}catch(Ie){}break;case"AudioData":case"VideoFrame":(!u(At.clone)||!u(At.close))&&Te(Kt,Xe);try{fe=At.clone(),At.close()}catch(Ie){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":Te(Kt,Xe)}if(fe===void 0)throw new ee("This object cannot be transferred: "+Kt,Jt);Q(et,At,fe)}return Bt},Ht=function(De){V(De,function(et){ae?ze(et,{transfer:[et]}):u(et.transfer)?et.transfer():W?W(et):Te("ArrayBuffer",Xe)})};i({global:!0,enumerable:!0,sham:!ae,forced:pt},{structuredClone:function(et){var Wt=B(arguments.length,1)>1&&!x(arguments[1])?b(arguments[1]):void 0,Rt=Wt?Wt.transfer:void 0,Zt,Bt;Rt!==void 0&&(Zt=new ie,Bt=Vt(Rt,Zt));var At=ft(et,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),M=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},L=F("fetch"),Q=F("Request"),de=F("Headers"),we=Q&&Q.prototype,Pe=de&&de.prototype,Ue=i.RegExp,Be=i.TypeError,Ft=i.decodeURIComponent,mt=i.encodeURIComponent,Pt=c("".charAt),Qt=c([].join),qt=c([].push),Jt=c("".replace),Xe=c([].shift),It=c([].splice),Ut=c("".split),ut=c("".slice),bt=/\+/g,pt=Array(4),tt=function(Zt){return pt[Zt-1]||(pt[Zt-1]=Ue("((?:%[\\da-f]{2}){"+Zt+"})","gi"))},ze=function(Zt){try{return Ft(Zt)}catch(Bt){return Zt}},ye=function(Zt){var Bt=Jt(Zt,bt," "),At=4;try{return Ft(Bt)}catch(Kt){for(;At;)Bt=Jt(Bt,tt(At--),ze);return Bt}},Te=/[!'()~]|%20/g,Me={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},$e=function(Zt){return Me[Zt]},We=function(Zt){return Jt(mt(Zt),Te,$e)},it=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 Ge=At[Kt];switch(Bt.kind){case"keys":return W(Ge.key,!1);case"values":return W(Ge.value,!1)}return W([Ge.key,Ge.value],!1)},!0),ft=function(Zt){this.entries=[],this.url=null,Zt!==void 0&&(D(Zt)?this.parseObject(Zt):this.parseQuery(typeof Zt=="string"?Pt(Zt,0)==="?"?ut(Zt,1):Zt:B(Zt)))};ft.prototype={type:J,bindURL:function(Zt){this.url=Zt,this.update()},parseObject:function(Zt){var Bt=this.entries,At=V(Zt),Kt,Ge,fe,_e,Ot,Ie,ht;if(At)for(Kt=K(Zt,At),Ge=Kt.next;!(fe=l(Ge,Kt)).done;){if(_e=K(P(fe.value)),Ot=_e.next,(Ie=l(Ot,_e)).done||(ht=l(Ot,_e)).done||!l(Ot,_e).done)throw new Be("Expected sequence with length 2");qt(Bt,{key:B(Ie.value),value:B(ht.value)})}else for(var zt in Zt)A(Zt,zt)&&qt(Bt,{key:zt,value:B(Zt[zt])})},parseQuery:function(Zt){if(Zt)for(var Bt=this.entries,At=Ut(Zt,"&"),Kt=0,Ge,fe;Kt<At.length;)Ge=At[Kt++],Ge.length&&(fe=Ut(Ge,"="),qt(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++],qt(Bt,We(Kt.key)+"="+We(Kt.value));return Qt(Bt,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Vt=function(){_(this,Ht);var Bt=arguments.length>0?arguments[0]:void 0,At=le(this,new ft(Bt));f||(this.size=At.entries.length)},Ht=Vt.prototype;if(a(Ht,{append:function(Bt,At){var Kt=ne(this);oe(arguments.length,2),qt(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,Ge=B(Zt),fe=At<2?void 0:arguments[1],_e=fe===void 0?fe:B(fe),Ot=0;Ot<Kt.length;){var Ie=Kt[Ot];if(Ie.key===Ge&&(_e===void 0||Ie.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),Ge=0;Ge<At.length;Ge++)if(At[Ge].key===Kt)return At[Ge].value;return null},getAll:function(Bt){var At=ne(this).entries;oe(arguments.length,1);for(var Kt=B(Bt),Ge=[],fe=0;fe<At.length;fe++)At[fe].key===Kt&&qt(Ge,At[fe].value);return Ge},has:function(Bt){for(var At=ne(this).entries,Kt=oe(arguments.length,1),Ge=B(Bt),fe=Kt<2?void 0:arguments[1],_e=fe===void 0?fe:B(fe),Ot=0;Ot<At.length;){var Ie=At[Ot++];if(Ie.key===Ge&&(_e===void 0||Ie.value===_e))return!0}return!1},set:function(Bt,At){var Kt=ne(this);oe(arguments.length,1);for(var Ge=Kt.entries,fe=!1,_e=B(Bt),Ot=B(At),Ie=0,ht;Ie<Ge.length;Ie++)ht=Ge[Ie],ht.key===_e&&(fe?It(Ge,Ie--,1):(fe=!0,ht.value=Ot));fe||qt(Ge,{key:_e,value:Ot}),f||(this.size=Ge.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),Ge=0,fe;Ge<At.length;)fe=At[Ge++],Kt(fe.value,fe.key,this)},keys:function(){return new it(this,"keys")},values:function(){return new it(this,"values")},entries:function(){return new it(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(Vt,J),r({global:!0,constructor:!0,forced:!o},{URLSearchParams:Vt}),!o&&b(de)){var De=c(Pe.has),et=c(Pe.set),Wt=function(Zt){if(D(Zt)){var Bt=Zt.body,At;if(M(Bt)===J)return At=Zt.headers?new de(Zt.headers):new de,De(At,"content-type")||et(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(L)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Bt){return L(Bt,arguments.length>1?Wt(arguments[1]):{})}}),b(Q)){var Rt=function(Bt){return _(this,we),new Q(Bt,arguments.length>1?Wt(arguments[1]):{})};we.constructor=Rt,Rt.prototype=we,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Rt})}}d.exports={URLSearchParams:Vt,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),M=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===M||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),M=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),L=o([].shift),Q=o("".split),de=o("".slice),we=o("".toLowerCase),Pe=o([].unshift),Ue="Invalid authority",Be="Invalid scheme",Ft="Invalid host",mt="Invalid port",Pt=/[a-z]/i,Qt=/[\d+-.a-z]/i,qt=/\d/,Jt=/^0x/i,Xe=/^[0-7]+$/,It=/^\d+$/,Ut=/^[\da-f]+$/i,ut=/[\0\t\n\r #%/:<>?@[\\\]^|]/,bt=/[\0\t\n\r #/:<>?@[\\\]^|]/,pt=/^[\u0000-\u0020]+/,tt=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ze=/[\t\n\r]/g,ye,Te=function(sr){var Mt=Q(sr,"."),gt,yt,Nt,Cr,vr,lt,Lr;if(Mt.length&&Mt[Mt.length-1]===""&&Mt.length--,gt=Mt.length,gt>4)return sr;for(yt=[],Nt=0;Nt<gt;Nt++){if(Cr=Mt[Nt],Cr==="")return sr;if(vr=10,Cr.length>1&&J(Cr,0)==="0"&&(vr=Y(Jt,Cr)?16:8,Cr=de(Cr,vr===8?1:2)),Cr==="")lt=0;else{if(!Y(vr===10?It:vr===8?Xe:Ut,Cr))return sr;lt=ae(Cr,vr)}ie(yt,lt)}for(Nt=0;Nt<gt;Nt++)if(lt=yt[Nt],Nt===gt-1){if(lt>=q(256,5-gt))return null}else if(lt>255)return null;for(Lr=ee(yt),Nt=0;Nt<yt.length;Nt++)Lr+=yt[Nt]*q(256,3-Nt);return Lr},Me=function(sr){var Mt=[0,0,0,0,0,0,0,0],gt=0,yt=null,Nt=0,Cr,vr,lt,Lr,_n,Un,_r,Jr=function(){return J(sr,Nt)};if(Jr()===":"){if(J(sr,1)!==":")return;Nt+=2,gt++,yt=gt}for(;Jr();){if(gt===8)return;if(Jr()===":"){if(yt!==null)return;Nt++,gt++,yt=gt;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,gt>6))return;for(lt=0;Jr();){if(Lr=null,lt>0)if(Jr()==="."&<<4)Nt++;else return;if(!Y(qt,Jr()))return;for(;Y(qt,Jr());){if(_n=ae(Jr(),10),Lr===null)Lr=_n;else{if(Lr===0)return;Lr=Lr*10+_n}if(Lr>255)return;Nt++}Mt[gt]=Mt[gt]*256+Lr,lt++,(lt===2||lt===4)&>++}if(lt!==4)return;break}else if(Jr()===":"){if(Nt++,!Jr())return}else if(Jr())return;Mt[gt++]=Cr}if(yt!==null)for(Un=gt-yt,gt=7;gt!==0&&Un>0;)_r=Mt[gt],Mt[gt--]=Mt[yt+Un-1],Mt[yt+--Un]=_r;else if(gt!==8)return;return Mt},$e=function(sr){for(var Mt=null,gt=1,yt=null,Nt=0,Cr=0;Cr<8;Cr++)sr[Cr]!==0?(Nt>gt&&(Mt=yt,gt=Nt),yt=null,Nt=0):(yt===null&&(yt=Cr),++Nt);return Nt>gt&&(Mt=yt,gt=Nt),Mt},We=function(sr){var Mt,gt,yt,Nt;if(typeof sr=="number"){for(Mt=[],gt=0;gt<4;gt++)Pe(Mt,sr%256),sr=ce(sr/256);return le(Mt,".")}else if(typeof sr=="object"){for(Mt="",yt=$e(sr),gt=0;gt<8;gt++)Nt&&sr[gt]===0||(Nt&&(Nt=!1),yt===gt?(Mt+=gt?":":"::",Nt=!0):(Mt+=ne(sr[gt],16),gt<7&&(Mt+=":")));return"["+Mt+"]"}return sr},it={},ft=p({},it,{" ":1,'"':1,"<":1,">":1,"`":1}),Vt=p({},ft,{"#":1,"?":1,"{":1,"}":1}),Ht=p({},Vt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),De=function(sr,Mt){var gt=b(sr,0);return gt>32&><127&&!x(Mt,sr)?sr:encodeURIComponent(sr)},et={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Wt=function(sr,Mt){var gt;return sr.length===2&&Y(Pt,J(sr,0))&&((gt=J(sr,1))===":"||!Mt&>==="|")},Rt=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==="."||we(sr)==="%2e"},Bt=function(sr){return sr=we(sr),sr===".."||sr==="%2e."||sr===".%2e"||sr==="%2e%2e"},At={},Kt={},Ge={},fe={},_e={},Ot={},Ie={},ht={},zt={},Ct={},ke={},wt={},je={},Qe={},Oe={},kt={},Fe={},Dr={},St={},Gr={},Qr={},Sr=function(sr,Mt,gt){var yt=R(sr),Nt,Cr,vr;if(Mt){if(Cr=this.parse(yt),Cr)throw new oe(Cr);this.searchParams=null}else{if(gt!==void 0&&(Nt=new Sr(gt,!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,gt){var yt=this,Nt=Mt||At,Cr=0,vr="",lt=!1,Lr=!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,pt,""),sr=F(sr,tt,"$1")),sr=F(sr,ze,""),Un=y(sr);Cr<=Un.length;){switch(_r=Un[Cr],Nt){case At:if(_r&&Y(Pt,_r))vr+=we(_r),Nt=Kt;else{if(Mt)return Be;Nt=Ge;continue}break;case Kt:if(_r&&(Y(Qt,_r)||_r==="+"||_r==="-"||_r==="."))vr+=we(_r);else if(_r===":"){if(Mt&&(yt.isSpecial()!==x(et,vr)||vr==="file"&&(yt.includesCredentials()||yt.port!==null)||yt.scheme==="file"&&!yt.host))return;if(yt.scheme=vr,Mt){yt.isSpecial()&&et[yt.scheme]===yt.port&&(yt.port=null);return}vr="",yt.scheme==="file"?Nt=Qe:yt.isSpecial()&>&>.scheme===yt.scheme?Nt=fe:yt.isSpecial()?Nt=ht:Un[Cr+1]==="/"?(Nt=_e,Cr++):(yt.cannotBeABaseURL=!0,ie(yt.path,""),Nt=St)}else{if(Mt)return Be;vr="",Nt=Ge,Cr=0;continue}break;case Ge:if(!gt||gt.cannotBeABaseURL&&_r!=="#")return Be;if(gt.cannotBeABaseURL&&_r==="#"){yt.scheme=gt.scheme,yt.path=_(gt.path),yt.query=gt.query,yt.fragment="",yt.cannotBeABaseURL=!0,Nt=Qr;break}Nt=gt.scheme==="file"?Qe: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=gt.scheme,_r===ye)yt.username=gt.username,yt.password=gt.password,yt.host=gt.host,yt.port=gt.port,yt.path=_(gt.path),yt.query=gt.query;else if(_r==="/"||_r==="\\"&&yt.isSpecial())Nt=Ie;else if(_r==="?")yt.username=gt.username,yt.password=gt.password,yt.host=gt.host,yt.port=gt.port,yt.path=_(gt.path),yt.query="",Nt=Gr;else if(_r==="#")yt.username=gt.username,yt.password=gt.password,yt.host=gt.host,yt.port=gt.port,yt.path=_(gt.path),yt.query=gt.query,yt.fragment="",Nt=Qr;else{yt.username=gt.username,yt.password=gt.password,yt.host=gt.host,yt.port=gt.port,yt.path=_(gt.path),yt.path.length--,Nt=Dr;continue}break;case Ie:if(yt.isSpecial()&&(_r==="/"||_r==="\\"))Nt=zt;else if(_r==="/")Nt=Ct;else{yt.username=gt.username,yt.password=gt.password,yt.host=gt.host,yt.port=gt.port,Nt=Dr;continue}break;case ht:if(Nt=zt,_r!=="/"||J(vr,Cr+1)!=="/")continue;Cr++;break;case zt:if(_r!=="/"&&_r!=="\\"){Nt=Ct;continue}break;case Ct:if(_r==="@"){lt&&(vr="%40"+vr),lt=!0,Jr=y(vr);for(var Mn=0;Mn<Jr.length;Mn++){var Jn=Jr[Mn];if(Jn===":"&&!_n){_n=!0;continue}var Nn=De(Jn,Ht);_n?yt.password+=Nn:yt.username+=Nn}vr=""}else if(_r===ye||_r==="/"||_r==="?"||_r==="#"||_r==="\\"&&yt.isSpecial()){if(lt&&vr==="")return Ue;Cr-=y(vr).length+1,vr="",Nt=ke}else vr+=_r;break;case ke:case wt:if(Mt&&yt.scheme==="file"){Nt=kt;continue}else if(_r===":"&&!Lr){if(vr==="")return Ft;if(dn=yt.parseHost(vr),dn)return dn;if(vr="",Nt=je,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=Fe,Mt)return;continue}else _r==="["?Lr=!0:_r==="]"&&(Lr=!1),vr+=_r;break;case je:if(Y(qt,_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 mt;yt.port=yt.isSpecial()&&Ui===et[yt.scheme]?null:Ui,vr=""}if(Mt)return;Nt=Fe;continue}else return mt;break;case Qe:if(yt.scheme="file",_r==="/"||_r==="\\")Nt=Oe;else if(gt&>.scheme==="file")switch(_r){case ye:yt.host=gt.host,yt.path=_(gt.path),yt.query=gt.query;break;case"?":yt.host=gt.host,yt.path=_(gt.path),yt.query="",Nt=Gr;break;case"#":yt.host=gt.host,yt.path=_(gt.path),yt.query=gt.query,yt.fragment="",Nt=Qr;break;default:Rt(le(_(Un,Cr),""))||(yt.host=gt.host,yt.path=_(gt.path),yt.shortenPath()),Nt=Dr;continue}else{Nt=Dr;continue}break;case Oe:if(_r==="/"||_r==="\\"){Nt=kt;break}gt&>.scheme==="file"&&!Rt(le(_(Un,Cr),""))&&(Wt(gt.path[0],!0)?ie(yt.path,gt.path[0]):yt.host=gt.host),Nt=Dr;continue;case kt:if(_r===ye||_r==="/"||_r==="\\"||_r==="?"||_r==="#"){if(!Mt&&Wt(vr))Nt=Dr;else if(vr===""){if(yt.host="",Mt)return;Nt=Fe}else{if(dn=yt.parseHost(vr),dn)return dn;if(yt.host==="localhost"&&(yt.host=""),Mt)return;vr="",Nt=Fe}continue}else vr+=_r;break;case Fe:if(yt.isSpecial()){if(Nt=Dr,_r!=="/"&&_r!=="\\")continue}else if(!Mt&&_r==="?")yt.query="",Nt=Gr;else if(!Mt&&_r==="#")yt.fragment="",Nt=Qr;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]==="";)L(yt.path);_r==="?"?(yt.query="",Nt=Gr):_r==="#"&&(yt.fragment="",Nt=Qr)}else vr+=De(_r,Vt);break;case St:_r==="?"?(yt.query="",Nt=Gr):_r==="#"?(yt.fragment="",Nt=Qr):_r!==ye&&(yt.path[0]+=De(_r,it));break;case Gr:!Mt&&_r==="#"?(yt.fragment="",Nt=Qr):_r!==ye&&(_r==="'"&&yt.isSpecial()?yt.query+="%27":_r==="#"?yt.query+="%23":yt.query+=De(_r,it));break;case Qr:_r!==ye&&(yt.fragment+=De(_r,ft));break}Cr++}},parseHost:function(sr){var Mt,gt,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(ut,sr)||(Mt=Te(sr),Mt===null))return Ft;this.host=Mt}else{if(Y(bt,sr))return Ft;for(Mt="",gt=y(sr),yt=0;yt<gt.length;yt++)Mt+=De(gt[yt],it);this.host=Mt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return x(et,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,gt=sr.username,yt=sr.password,Nt=sr.host,Cr=sr.port,vr=sr.path,lt=sr.query,Lr=sr.fragment,_n=Mt+":";return Nt!==null?(_n+="//",sr.includesCredentials()&&(_n+=gt+(yt?":"+yt:"")+"@"),_n+=We(Nt),Cr!==null&&(_n+=":"+Cr)):Mt==="file"&&(_n+="//"),_n+=sr.cannotBeABaseURL?vr[0]:vr.length?"/"+le(vr,"/"):"",lt!==null&&(_n+="?"+lt),Lr!==null&&(_n+="#"+Lr),_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 Or(sr.path[0]).origin}catch(gt){return"null"}return sr==="file"||!this.isSpecial()?"null":sr+"://"+We(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 gt=0;gt<Mt.length;gt++)this.username+=De(Mt[gt],Ht)}},getPassword:function(){return this.password},setPassword:function(sr){var Mt=y(R(sr));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var gt=0;gt<Mt.length;gt++)this.password+=De(Mt[gt],Ht)}},getHost:function(){var sr=this.host,Mt=this.port;return sr===null?"":Mt===null?We(sr):We(sr)+":"+Mt},setHost:function(sr){this.cannotBeABaseURL||this.parse(sr,ke)},getHostname:function(){var sr=this.host;return sr===null?"":We(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,je))},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,Fe))},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,Qr)},update:function(){this.query=this.searchParams.serialize()||null}};var Or=function(Mt){var gt=a(this,hr),yt=P(arguments.length,1)>1?arguments[1]:void 0,Nt=$(gt,new Sr(Mt,!1,yt));i||(gt.href=Nt.serialize(),gt.origin=Nt.getOrigin(),gt.protocol=Nt.getProtocol(),gt.username=Nt.getUsername(),gt.password=Nt.getPassword(),gt.host=Nt.getHost(),gt.hostname=Nt.getHostname(),gt.port=Nt.getPort(),gt.pathname=Nt.getPathname(),gt.search=Nt.getSearch(),gt.searchParams=Nt.getSearchParams(),gt.hash=Nt.getHash())},hr=Or.prototype,$r=function(sr,Mt){return{get:function(){return j(this)[sr]()},set:Mt&&function(gt){return j(this)[Mt](gt)},configurable:!0,enumerable:!0}};if(i&&(u(hr,"href",$r("serialize","setHref")),u(hr,"origin",$r("getOrigin")),u(hr,"protocol",$r("getProtocol","setProtocol")),u(hr,"username",$r("getUsername","setUsername")),u(hr,"password",$r("getPassword","setPassword")),u(hr,"host",$r("getHost","setHost")),u(hr,"hostname",$r("getHostname","setHostname")),u(hr,"port",$r("getPort","setPort")),u(hr,"pathname",$r("getPathname","setPathname")),u(hr,"search",$r("getSearch","setSearch")),u(hr,"searchParams",$r("getSearchParams")),u(hr,"hash",$r("getHash","setHash"))),h(hr,"toJSON",function(){return j(this).serialize()},{enumerable:!0}),h(hr,"toString",function(){return j(this).serialize()},{enumerable:!0}),W){var nn=W.createObjectURL,on=W.revokeObjectURL;nn&&h(Or,"createObjectURL",f(nn,W)),on&&h(Or,"revokeObjectURL",f(on,W))}M(Or,"URL"),r({global:!0,constructor:!0,forced:!l,sham:!i},{URL:Or})},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,L){ie[F]=L.value},u=typeof Symbol=="function"?Symbol:{},a=u.iterator||"@@iterator",x=u.asyncIterator||"@@asyncIterator",p=u.toStringTag||"@@toStringTag";function y(ie,F,L){return Object.defineProperty(ie,F,{value:L,enumerable:!0,configurable:!0,writable:!0}),ie[F]}try{y({},"")}catch(ie){y=function(L,Q,de){return L[Q]=de}}function _(ie,F,L,Q){var de=F&&F.prototype instanceof B?F:B,we=Object.create(de.prototype),Pe=new ne(Q||[]);return h(we,"_invoke",{value:q(ie,L,Pe)}),we}function b(ie,F,L){try{return{type:"normal",arg:ie.call(F,L)}}catch(Q){return{type:"throw",arg:Q}}}c.wrap=_;var A="suspendedStart",R="suspendedYield",M="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(L){return this._invoke(F,L)})})}function ce(ie,F){function L(de,we,Pe,Ue){var Be=b(ie[de],ie,we);if(Be.type!=="throw"){var Ft=Be.arg,mt=Ft.value;return mt&&(0,r.Z)(mt)=="object"&&o.call(mt,"__await")?F.resolve(mt.__await).then(function(Pt){L("next",Pt,Pe,Ue)},function(Pt){L("throw",Pt,Pe,Ue)}):F.resolve(mt).then(function(Pt){Ft.value=Pt,Pe(Ft)},function(Pt){return L("throw",Pt,Pe,Ue)})}Ue(Be.arg)}var Q;h(this,"_invoke",{value:function(we,Pe){function Ue(){return new F(function(Be,Ft){L(we,Pe,Be,Ft)})}return Q=Q?Q.then(Ue,Ue):Ue()}})}function q(ie,F,L){var Q=A;return function(de,we){if(Q===M)throw Error("Generator is already running");if(Q===P){if(de==="throw")throw we;return{value:l,done:!0}}for(L.method=de,L.arg=we;;){var Pe=L.delegate;if(Pe){var Ue=J(Pe,L);if(Ue){if(Ue===D)continue;return Ue}}if(L.method==="next")L.sent=L._sent=L.arg;else if(L.method==="throw"){if(Q===A)throw Q=P,L.arg;L.dispatchException(L.arg)}else L.method==="return"&&L.abrupt("return",L.arg);Q=M;var Be=b(ie,F,L);if(Be.type==="normal"){if(Q=L.done?P:R,Be.arg===D)continue;return{value:Be.arg,done:L.done}}Be.type==="throw"&&(Q=P,L.method="throw",L.arg=Be.arg)}}}function J(ie,F){var L=F.method,Q=ie.iterator[L];if(Q===l)return F.delegate=null,L==="throw"&&ie.iterator.return&&(F.method="return",F.arg=l,J(ie,F),F.method==="throw")||L!=="return"&&(F.method="throw",F.arg=new TypeError("The iterator does not provide a '"+L+"' 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 we=de.arg;return we?we.done?(F[ie.resultName]=we.value,F.next=ie.nextLoc,F.method!=="return"&&(F.method="next",F.arg=l),F.delegate=null,D):we:(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 L=-1,Q=function de(){for(;++L<ie.length;)if(o.call(ie,L))return de.value=ie[L],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,L,Q,de){de===void 0&&(de=Promise);var we=new ce(_(ie,F,L,Q),de);return c.isGeneratorFunction(F)?we:we.next().then(function(Pe){return Pe.done?Pe.value:we.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),L=[];for(var Q in F)L.push(Q);return L.reverse(),function de(){for(;L.length;){var we=L.pop();if(we in F)return de.value=we,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 L in this)L.charAt(0)==="t"&&o.call(this,L)&&!isNaN(+L.slice(1))&&(this[L]=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 L=this;function Q(Ft,mt){return Pe.type="throw",Pe.arg=F,L.next=Ft,mt&&(L.method="next",L.arg=l),!!mt}for(var de=this.tryEntries.length-1;de>=0;--de){var we=this.tryEntries[de],Pe=we.completion;if(we.tryLoc==="root")return Q("end");if(we.tryLoc<=this.prev){var Ue=o.call(we,"catchLoc"),Be=o.call(we,"finallyLoc");if(Ue&&Be){if(this.prev<we.catchLoc)return Q(we.catchLoc,!0);if(this.prev<we.finallyLoc)return Q(we.finallyLoc)}else if(Ue){if(this.prev<we.catchLoc)return Q(we.catchLoc,!0)}else{if(!Be)throw Error("try statement without catch or finally");if(this.prev<we.finallyLoc)return Q(we.finallyLoc)}}}},abrupt:function(F,L){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 we=de;break}}we&&(F==="break"||F==="continue")&&we.tryLoc<=L&&L<=we.finallyLoc&&(we=null);var Pe=we?we.completion:{};return Pe.type=F,Pe.arg=L,we?(this.method="next",this.next=we.finallyLoc,D):this.complete(Pe)},complete:function(F,L){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"&&L&&(this.next=L),D},finish:function(F){for(var L=this.tryEntries.length-1;L>=0;--L){var Q=this.tryEntries[L];if(Q.finallyLoc===F)return this.complete(Q.completion,Q.afterLoc),le(Q),D}},catch:function(F){for(var L=this.tryEntries.length-1;L>=0;--L){var Q=this.tryEntries[L];if(Q.tryLoc===F){var de=Q.completion;if(de.type==="throw"){var we=de.arg;le(Q)}return we}}throw Error("illegal catch attempt")},delegateYield:function(F,L,Q){return this.delegate={iterator:ee(F),resultName:L,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 ot}});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 M{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 Se=U.parseURL(G);if(!Se)throw new Error("Error trying to parse base URL.");if(!Se.netLoc&&Se.path&&Se.path[0]!=="/"){var Ee=m.exec(Se.path);Se.netLoc=Ee[1],Se.path=Ee[2]}Se.netLoc&&!Se.path&&(Se.path="/");var Je={scheme:Se.scheme,netLoc:ve.netLoc,path:null,params:ve.params,query:ve.query,fragment:ve.fragment};if(!ve.netLoc&&(Je.netLoc=Se.netLoc,ve.path[0]!=="/"))if(!ve.path)Je.path=Se.path,ve.params||(Je.params=Se.params,ve.query||(Je.query=Se.query));else{var at=Se.path,jt=at.substring(0,at.lastIndexOf("/")+1)+ve.path;Je.path=U.normalizePath(jt)}return Je.path===null&&(Je.path=se.alwaysNormalize?U.normalizePath(ve.path):ve.path),U.buildURLFromParts(Je)},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 L={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,Be(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={[L.AUDIO]:null,[L.VIDEO]:null,[L.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[L.AUDIO]=null,t[L.VIDEO]=null,t[L.AUDIOVIDEO]=null}}function de(w){return w.sn!=="initSegment"}class we 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 Pe 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 Ue(w,t){const n=Object.getPrototypeOf(w);if(n){const s=Object.getOwnPropertyDescriptor(n,t);return s||Ue(n,t)}}function Be(w,t){const n=Ue(w,t);n&&(n.enumerable=!0,Object.defineProperty(w,t,n))}const Ft=Math.pow(2,32)-1,mt=[].push,Pt={video:1,audio:2,id3:3,text:4};function Qt(w){return String.fromCharCode.apply(null,w)}function qt(w,t){const n=w[t]<<8|w[t+1];return n<0?65536+n:n}function Jt(w,t){const n=It(w,t);return n<0?4294967296+n:n}function Xe(w,t){let n=Jt(w,t);return n*=Math.pow(2,32),n+=Jt(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 ut(w){const t=w.byteLength;for(let n=0;n<t;){const s=Jt(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=Jt(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&&mt.apply(n,G)}m=U}return n}function pt(w){const t=[],n=w[0];let s=8;const m=Jt(w,s);s+=4;let E=0,C=0;n===0?(E=Jt(w,s),C=Jt(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=qt(w,s);s+=2;for(let H=0;H<G;H++){let se=s;const ue=Jt(w,se);se+=4;const ve=ue&2147483647;if((ue&2147483648)>>>31===1)return W.warn("SIDX has hierarchical references (not supported)"),null;const Ee=Jt(w,se);se+=4,t.push({referenceSize:ve,subsegmentDuration:Ee,info:{duration:Ee/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 tt(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=Jt(C,U===0?12:20),H=bt(E,["mdia","mdhd"])[0];if(H){U=H[0];const se=Jt(H,U===0?12:20),ue=bt(E,["mdia","hdlr"])[0];if(ue){const ve=Qt(ue.subarray(8,12)),Se={soun:L.AUDIO,vide:L.VIDEO}[ve],Ee=bt(E,["mdia","minf","stbl","stsd"])[0],Je=ze(Ee);Se?(t[G]={timescale:se,type:Se,stsd:Je},t[Se]=b({timescale:se,id:G},Je)):t[G]={timescale:se,type:ve,stsd:Je}}}}}return bt(w,["moov","mvex","trex"]).forEach(m=>{const E=Jt(m,4),C=t[E];C&&(C.default={duration:Jt(m,12),flags:Jt(m,20)})}),t}function ze(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 Se=Qt(ve.subarray(4,8));if(Se==="cbcs"||Se==="cenc"){const Ee=bt(ue,["frma"])[0];Ee&&(m=Qt(Ee))}}})}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=Te(H,se),se+=2;const ue=H[se++];if(ue&128&&(se+=2),ue&64&&(se+=H[se++]),H[se++]!==4)break;se=Te(H,se);const ve=H[se++];if(ve===64)m+="."+Me(ve);else break;if(se+=12,H[se++]!==5)break;se=Te(H,se);const Se=H[se++];let Ee=(Se&248)>>3;Ee===31&&(Ee+=1+((Se&7)<<3)+((H[se]&224)>>5)),m+="."+Ee}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,Se=Jt(H,2),Ee=(se&32)>>5?"H":"L",Je=H[12],at=H.subarray(6,12);m+="."+ue+ve,m+="."+Se.toString(16).toUpperCase(),m+="."+Ee+Je;let jt="";for(let ir=at.length;ir--;){const er=at[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,Se=(G[2]&32)>>5,Ee=H===2&&ve?Se?12:10:ve?10:8,Je=(G[2]&16)>>4,at=(G[2]&8)>>3,jt=(G[2]&4)>>2,ir=G[2]&3;m+="."+H+"."+$e(se)+ue+"."+$e(Ee)+"."+Je+"."+at+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 Te(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 We(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 Se=it(ve);if(Se){const Ee=Se.subarray(8,24);Ee.some(Je=>Je!==0)||(W.log(`[eme] Patching keyId in 'enc${G?"a":"v"}>sinf>>tenc' box: ${J.hexDump(Ee)} -> ${J.hexDump(n)}`),Se.set(n,8))}})})}),w}function it(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 ft(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=Jt(G,4),se=w[H];if(se){let ue=Jt(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+=Jt(m,8)}const ve=se.timescale||9e4,Se=ue/ve;if(r(Se)&&(U===null||Se<U))return Se}return U},null);return C!==null&&r(C)&&(n===null||C<n)?C:n},null)}function Vt(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=Jt(G,4),se=t[H];if(!se)continue;const ue=se.default,ve=Jt(G,0)|(ue==null?void 0:ue.flags);let Se=ue==null?void 0:ue.duration;ve&8&&(ve&2?Se=Jt(G,12):Se=Jt(G,8));const Ee=se.timescale||9e4,Je=bt(U,["trun"]);for(let at=0;at<Je.length;at++){if(n=Ht(Je[at]),!n&&Se){const jt=Jt(Je[at],4);n=Se*jt}se.type===L.VIDEO?s+=n/Ee:se.type===L.AUDIO&&(m+=n/Ee)}}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=pt(H[se]);if(ue!=null&&ue.references){C=Math.min(C,ue.earliestPresentationTime/ue.timescale);const ve=ue.references.reduce((Se,Ee)=>Se+Ee.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=Jt(w,0);let n=8;t&1&&(n+=4),t&4&&(n+=4);let s=0;const m=Jt(w,4);for(let E=0;E<m;E++){if(t&256){const C=Jt(w,n);s+=C,n+=4}t&512&&(n+=4),t&1024&&(n+=4),t&2048&&(n+=4)}return s}function De(w,t,n){bt(t,["moof","traf"]).forEach(s=>{bt(s,["tfhd"]).forEach(m=>{const E=Jt(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=Jt(G,4);if(H===0)ue-=se,ue=Math.max(ue,0),Ut(G,4,ue);else{ue*=Math.pow(2,32),ue+=Jt(G,8),ue-=se,ue=Math.max(ue,0);const ve=Math.floor(ue/(Ft+1)),Se=Math.floor(ue%(Ft+1));Ut(G,4,ve),Ut(G,8,Se)}}})})})}function et(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 Rt(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(Se=>{const Ee=Se[0];let Je=Jt(Se,4);return Ee===1&&(Je*=Math.pow(2,32),Je+=Jt(Se,8)),Je/m})[0];return ve!==void 0&&(w=ve),bt(ue,["tfhd"]).map(Se=>{const Ee=Jt(Se,4),Je=Jt(Se,0)&16777215,at=(Je&1)!==0,jt=(Je&2)!==0,ir=(Je&8)!==0;let er=0;const Fr=(Je&16)!==0;let Zr=0;const ln=(Je&32)!==0;let Wr=8;Ee===E&&(at&&(Wr+=8),jt&&(Wr+=4),ir&&(er=Jt(Se,Wr),Wr+=4),Fr&&(Zr=Jt(Se,Wr),Wr+=4),ln&&(Wr+=4),t.type==="video"&&(C=Zt(t.codec)),bt(ue,["trun"]).map(an=>{const yn=an[0],Kr=Jt(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=Jt(an,4);let Ea=8;Vn&&(ci=Jt(an,Ea),Ea+=4),rs&&(Ea+=4);let Ba=ci+H;for(let As=0;As<Ta;As++){if(ba?(Ji=Jt(an,Ea),Ea+=4):Ji=er,Ri?(Qi=Jt(an,Ea),Ea+=4):Qi=Zr,Ki&&(Ea+=4),Kn&&(yn===0?ri=Jt(an,Ea):ri=It(an,Ea),Ea+=4),t.type===L.VIDEO){let Bs=0;for(;Bs<Qi;){const oo=Jt(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=qt(m,se);if(se+=2,ve===49){const Se=Jt(m,se);if(se+=4,Se===1195456820){const Ee=m[se++];if(Ee===3){const Je=m[se++],at=31&Je,jt=64&Je,ir=jt?2+at*3:0,er=new Uint8Array(ir);if(jt){er[0]=Je;for(let Fr=1;Fr<ir;Fr++)er[Fr]=m[se++]}s.push({type:Ee,payloadType:C,pts:n,bytes:er})}}}}}else if(C===5&&U>16){const ue=[];for(let Ee=0;Ee<16;Ee++){const Je=m[se++].toString(16);ue.push(Je.length==1?"0"+Je:Je),(Ee===3||Ee===5||Ee===7||Ee===9)&&ue.push("-")}const ve=U-16,Se=new Uint8Array(ve);for(let Ee=0;Ee<ve;Ee++)Se[Ee]=m[se++];s.push({payloadType:C,pts:n,uuid:ue.join(""),userData:q(Se),userDataBytes:Se})}}}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 Ge(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=Jt(w,12),E=Jt(w,16),U=Jt(w,20),G=Jt(w,24),H=28}else if(t===1){H+=4,m=Jt(w,H),H+=4;const ue=Jt(w,H);H+=4;const ve=Jt(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=Jt(w,H),H+=4,G=Jt(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=Ie(m);t.push(E),s+=E.size}}return t}function Ie(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 ht=()=>/\(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(je(w,t)))!=null?s:!1}function je(w,t){return`${t}/mp4;codecs=${w}`}function Qe(w){if(w){const t=w.substring(0,4);return zt.video[t]}return 2}function Oe(w){const t=ht();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 kt={};function Fe(w,t=!0){if(kt[w])return kt[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 kt[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=>Fe(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 Qr(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 Or(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 hr(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 Se=t.groups[ve];if(!Se)throw new Error(`Audio track group ${ve} not found`);Object.keys(Se.channels).forEach(Ee=>{ue[Ee]=(ue[Ee]||0)+Se.channels[Ee]})}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 gt(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))&&ht())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:je(Or(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:je(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 lt(w){return!!w&&vr.indexOf(w)>-1}var Lr={No:"",Yes:"YES",v2:"v2"};function _n(w){const{canSkipUntil:t,canSkipDateRanges:n,age:s}=w,m=s<t/2;return t&&m?n?Lr.v2:Lr.Yes:Lr.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,Se=1/0,Ee=1/0,Je=1/0,at=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),Se=Math.min(Se,yn.minFramerate),Ee=Math.min(Ee,yn.minBitrate),er.filter(Vn=>yn.videoRanges[Vn]>0).length>0&&(ue=!0)}ve=r(ve)?ve:0,Se=r(Se)?Se:0;const Fr=Math.max(1080,ve),Zr=Math.max(30,Se);Ee=r(Ee)?Ee:n,n=Math.max(Ee,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<at)return mi(yn,`max score of ${Kr.maxScore} < selected max of ${at}`),an}return an&&(Oe(yn)>=Oe(an)||Kr.fragmentError>w[an].fragmentError)?an:(Je=Kr.minIndex,at=Kr.maxScore,yn)},void 0),videoRanges:jt,preferHDR:ir,minFramerate:Se,minBitrate:Ee,minIndex:Je}}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 ct(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,Se,Ee)=>{const Je=Se.uri;return(ve[Je]||(ve[Je]=[])).push(Ee),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 Se=ve.audioGroups,Ee=n.filter(Je=>!Se||Se.indexOf(Je.groupId)!==-1);return Yi(w,Ee,m)>-1});return ue>-1?ue:xi(t,s,ve=>{const Se=ve.audioGroups,Ee=n.filter(Je=>!Se||Se.indexOf(Je.groupId)!==-1);return Yi(w,Ee,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 M{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,Se=C.minAutoLevel,Ee=m.level,Je=this._nextAutoLevel;if(se.aborted||se.loaded&&se.loaded===se.total||Ee<=Se){this.clearTimer(),this._nextAutoLevel=-1;return}if(!U)return;const at=Je>-1&&Je!==Ee,jt=!!n||at;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[Ee],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=Ee-1;ri>Se;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,Se,ri,0,Zr,1,1);Ea>-1&&(ri=Ea),this.warn(`Fragment ${m.sn}${E?" part "+E.index:""} of level ${Ee} 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>Se){let Bs=this.findBestLevel(this.hls.levels[Se].bitrate,Se,ri,0,As,1,1);Bs===-1&&(Bs=Se),this.hls.nextLoadLevel=this.hls.nextAutoLevel=Bs,this.resetEstimator(this.hls.levels[Bs].bitrate)}}};at||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 at=this.findBestLevel(G,C,m,H,0,se,ue);if(at>=0)return this.rebufferNotice=-1,at}let ve=U?Math.min(U,E.maxStarvationDelay):E.maxStarvationDelay;if(!H){const at=this.bitrateTestDelay;at&&(ve=(U?Math.min(U,E.maxLoadingDelay):E.maxLoadingDelay)-at,this.info(`bitrate test took ${Math.round(1e3*at)}ms, set first fragment max fetchDuration to ${Math.round(1e3*ve)} ms`),se=ue=1)}const Se=this.findBestLevel(G,C,m,H,ve,se,ue);if(this.rebufferNotice!==Se&&(this.rebufferNotice=Se,this.info(`${H?"rebuffering expected":"buffer is empty"}, optimal quality level ${Se}`)),Se>-1)return Se;const Ee=s.levels[C],Je=s.loadLevelObj;return Je&&(Ee==null?void 0:Ee.bitrate)<Je.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:Se}=this,{levels:Ee,allAudioTracks:Je,loadLevel:at,config:jt}=this.hls;if(Ee.length===1)return 0;const ir=Ee[ue],er=!!((G=this.hls.latestLevelDetails)!=null&&G.live),Fr=at===-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(Je));let Vn=-1;if(Fr){if(this.firstSelection!==-1)return this.firstSelection;const Ri=this.codecTiers||(this.codecTiers=vi(Ee,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=Se?Se.duration:ve?ve.duration:0,rs=this.bwEstimator.getEstimateTTFB()/1e3,ba=[];for(let Ri=s;Ri>=n;Ri--){var Ji;const Qi=Ee[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=gt(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=(Se?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!==at&&(Bs===-1||Bs!==at)&&(ba.length&&this.trace(`Skipped level(s) ${ba.join(",")} of ${s} max with CODECS and VIDEO-RANGE:"${Ee[ba[0]].codecs}" ${Ee[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:${at}`)),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(nt(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)&&vt(n,s,E)===0||tr(E,w,Math.min(m,s))))return E;const C=hi.search(t,vt.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 vt(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 nt(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 _t(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 He(w,t,n,s){if(!w)return!1;const m=s==null?void 0:s.code,E=t<w.maxNumRetry&&(rt(m)||!!n);return w.shouldRetry?w.shouldRetry(w,t,n,s,E):E}function rt(w){return w===0&&navigator.onLine===!1||!!w&&(w<400||w>499)}var xe={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},st={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class nr extends M{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=xe.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=xe.SendAlternateToPenaltyBox,n.errorAction.flags=st.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:xe.SendAlternateToPenaltyBox,flags:st.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(He(m,E,ur(t),t.response))return{action:xe.RetryRequest,flags:st.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++,He(U,G,ur(t),t.response)))return{action:xe.RetryRequest,flags:st.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:Se,maxAutoLevel:Ee}=s;s.autoLevelEnabled||(s.loadLevel=-1);const Je=(E=t.frag)==null?void 0:E.type,jt=(Je===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>=Se&&Wr<=Ee&&ue[Wr].loadError===0){var U,G;const an=ue[Wr];if(H===f.FRAG_GAP&&Je===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(Je===u.AUDIO&&(U=m.audioGroups)!=null&&U.some(yn=>an.hasAudioGroup(yn))||Je===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:xe.SendAlternateToPenaltyBox,flags:st.None,nextAutoLevel:se}}return{action:xe.SendAlternateToPenaltyBox,flags:st.MoveAllAlternatesMatchingHost}}onErrorOut(t,n){var s;switch((s=n.errorAction)==null?void 0:s.action){case xe.DoNothing:break;case xe.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 xe.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 st.None:this.switchLevel(t,C);break;case st.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:xe.DoNothing,flags:st.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 Se=Math.max(C,m.start(se)),Ee=Math.min(U,m.end(se));Ee>Se&&(E.partial=!0,E.time.push({startPTS:Se,endPTS:Ee}))}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],Se=new Uint32Array(256);let Ee=0,Je=0,at=0;for(at=0;at<256;at++)at<128?Se[at]=at<<1:Se[at]=at<<1^283;for(at=0;at<256;at++){let jt=Je^Je<<1^Je<<2^Je<<3^Je<<4;jt=jt>>>8^jt&255^99,t[Ee]=jt,n[jt]=Ee;const ir=Se[Ee],er=Se[ir],Fr=Se[er];let Zr=Se[jt]*257^jt*16843008;m[Ee]=Zr<<24|Zr>>>8,E[Ee]=Zr<<16|Zr>>>16,C[Ee]=Zr<<8|Zr>>>24,U[Ee]=Zr,Zr=Fr*16843009^er*65537^ir*257^Ee*16843008,H[jt]=Zr<<24|Zr>>>8,se[jt]=Zr<<16|Zr>>>16,ue[jt]=Zr<<8|Zr>>>24,ve[jt]=Zr,Ee?(Ee=ir^Se[Se[Se[Fr^ir]]],Je^=Se[Se[Je]]):Ee=Je=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,Se=this.invSubMix,Ee=Se[0],Je=Se[1],at=Se[2],jt=Se[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]=Ee[ue[er>>>24]]^Je[ue[er>>>16&255]]^at[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 Se=ve[0],Ee=ve[1],Je=ve[2],at=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^Se),ir[n+1]=Qi(ln^Ee),ir[n+2]=Qi(Zr^Je),ir[n+3]=Qi(Fr^at),Se=Vn,Ee=ci,Je=rs,at=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(Ee=>Ee[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 Se={onSuccess:(Ee,Je,at,jt)=>{this.resetLoader(t,H);let ir=Ee.data;at.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:(Ee,Je,at,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},Ee),error:new Error(`HTTP Error ${Ee.code} ${Ee.text}`),networkDetails:at,stats:jt}))},onAbort:(Ee,Je,at)=>{this.resetLoader(t,H),G(new oa({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:at,stats:Ee}))},onTimeout:(Ee,Je,at)=>{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:at,stats:Ee}))}};n&&(Se.onProgress=(Ee,Je,at,jt)=>n({frag:t,part:null,payload:at,networkDetails:jt})),H.load(se,ve,Se)})}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:(Se,Ee,Je,at)=>{this.resetLoader(t,H),this.updateStatsFromPart(t,n);const jt={frag:t,part:n,payload:Se.data,networkDetails:at};s(jt),U(jt)},onError:(Se,Ee,Je,at)=>{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},Se),error:new Error(`HTTP Error ${Se.code} ${Se.text}`),networkDetails:Je,stats:at}))},onAbort:(Se,Ee,Je)=>{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:Je,stats:Se}))},onTimeout:(Se,Ee,Je)=>{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:Je,stats:Se}))}})})}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 M{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 Se=H["SUPPLEMENTAL-CODECS"];Se&&(ue.supplemental={},ko(Se,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 Se=H.LANGUAGE,Ee=H["ASSOC-LANGUAGE"],Je=H.CHANNELS,at=H.CHARACTERISTICS,jt=H["INSTREAM-ID"],ir={attrs:H,bitrate:0,id:G++,groupId:H["GROUP-ID"]||"",name:H.NAME||Se||"",type:se,default:H.bool("DEFAULT"),autoselect:H.bool("AUTOSELECT"),forced:H.bool("FORCED"),lang:Se,url:H.URI?Eo.resolve(H.URI,n):""};if(Ee&&(ir.assocLang=Ee),Je&&(ir.channels=Je),at&&(ir.characteristics=at),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,Se=0,Ee=0,Je=0,at=0,jt=0,ir=null,er=new we(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 we(m,G),er.playlistOffset=Je,er.start=Je,er.sn=Se,er.cc=at,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=Je,er.start=Je,ln&&Rs(er,ln,H),er.sn=Se,er.level=s,er.cc=at,se.push(er);const Ji=(" "+Fr[3]).slice(1);er.relurl=Ss(H,Ji),Mo(er,ir,ue),ir=er,Je+=er.duration,Se++,Ee=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),Se=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);Se+=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":at++,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=at=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 we(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=at;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=Ee>0?Ki[Ki.length-1]:void 0,ri=Ee++,Ta=new ta(Ri,H),Ea=new Pe(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(),Je-=ir.duration,H.partList&&(H.fragmentHint=ir)):H.partList&&(Mo(er,ir,ue),er.cc=at,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(Je+=H.skippedSegments*H.targetduration,Je>0&&Vn&&rs){H.averagetargetduration=Je/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&&(Je+=H.fragmentHint.duration),H.totalduration=Je,ue.length&&H.dateRangeTagCount&&ci&&lo(ue,H),H.endCC=at,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 Se=ve;Se>H;Se--){const Ee=se[Se].programDateTime;if(t>=Ee&&t<Ee+se[Se].duration*1e3)return Se}}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 at=Math.abs(H-n);r(t.deltaPTS)?t.deltaPTS=Math.max(at,t.deltaPTS):t.deltaPTS=at,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 Se;const Ee=ve-w.startSN,Je=w.fragments;for(Je[Ee]=t,Se=Ee;Se>0;Se--)Cu(Je[Se],Je[Se-1]);for(Se=Ee;Se<Je.length-1;Se++)Cu(Je[Se],Je[Se+1]);return w.fragmentHint&&Cu(Je[Je.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 Se=se;Se<ue.length;Se++)ue[Se].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?Mr(w.partList,t,n):null}function Mr(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 dt(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++)dt(n[s],w);t.fragmentHint&&dt(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 Se=C.maxFragLookUpTolerance,Ee=U.start-Se,Je=U.start+U.duration+Se;if(!ve.len||Je<ve.start||Ee>ve.end){const at=ue>Je;(ue<Ee||at)&&(at&&U.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),U.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(G){this.fragmentTracker.removeFragmentsInRange(ue,1/0,this.playlistType,!0);const Se=this.lastCurrentTime;if(ue>Se&&(this.lastCurrentTime=ue),!this.loadingParts){const Ee=Math.max(ve.end,ue),Je=this.shouldLoadParts(this.getLevelDetails(),Ee);Je&&(this.log(`LL-Part loading ON after seeking to ${ue.toFixed(2)} with buffer @${Ee.toFixed(2)}`),this.loadingParts=Je)}}!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 Se=ue[ve];t=this.fragCurrent=Se.fragment,this.log(`Loading ${t.type} sn: ${t.sn} part: ${Se.index} (${ve}/${ue.length-1}) of ${this.fragInfo(t,!1,Se)}) cc: ${t.cc} [${C.startSN}-${C.endSN}], target: ${parseFloat(s.toFixed(3))}`),this.nextLoadPosition=Se.start+Se.duration,this.state=Hr.FRAG_LOADING;let Ee;return U?Ee=U.then(Je=>!Je||this.fragContextChanged(Je.frag)?null:this.doFragPartsLoad(t,Se,n,m)).catch(Je=>this.handleFragLoadError(Je)):Ee=this.doFragPartsLoad(t,Se,n,m).catch(Je=>this.handleFragLoadError(Je)),this.hls.trigger(o.FRAG_LOADING,{frag:t,part:Se,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):Ee}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 Se=ve.part;this.hls.trigger(o.FRAG_LOADED,ve);const Ee=or(s.details,t.sn,ue.index+1)||Mr(H,t.sn,ue.index+1);if(Ee)se(Ee);else return E({frag:t,part:Se,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,Se=this.hls.liveSyncPosition,Ee=G?(ve!==-1&&ve>=C?ve:Se)||G.start:t;this.log(`Setting startPosition to ${Ee} to match start frag at live edge. mainStart: ${ve} liveSyncPosition: ${Se} frag.start: ${(H=G)==null?void 0:H.start}`),this.startPosition=this.nextLoadPosition=Ee}}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 Se;const Je=t<this.lastCurrentTime||t>n-H||(Se=this.media)!=null&&Se.paused||!this.startFragRequested?0:H;ve=bn(E,C,t,Je)}else ve=C[C.length-1];if(ve){const Ee=ve.sn-s.startSN,Je=this.fragmentTracker.getState(ve);if((Je===br.OK||Je===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[Ee+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 Ee=this.getCurrentContext(n.chunkMeta);Ee&&(n.frag=Ee.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===xe.RetryRequest,Se=ue&&!C.resolved&&G===st.MoveAllAlternatesMatchingHost;if(!ve&&Se&&de(s)&&!s.endList)this.resetFragmentErrors(t),this.treatAsGap(s),C.resolved=!0;else if((ve||Se)&&H<se.maxNumRetry){this.resetStartWhenNotLoaded(this.levelLastLoaded);const Ee=Tr(se,H);this.warn(`Fragment ${s.sn} of ${t} ${s.level} errored with ${n.details}, retrying loading ${H+1}/${se.maxNumRetry} in ${Ee}ms`),C.resolved=!0,this.retryDate=self.performance.now()+Ee,this.state=Hr.FRAG_LOADING_WAITING_RETRY}else if(se&&C)if(this.resetFragmentErrors(t),H<se.maxNumRetry)!E&&U!==xe.RemoveAlternatePermanently&&(C.resolved=!0);else{this.warn(`${n.details} reached or exceeded max retry (${H})`);return}else U===xe.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 Se=new m(se,ue||G,ve),Ee=n?n+H:H;return G._events[Ee]?G._events[Ee].fn?G._events[Ee]=[G._events[Ee],Se]:G._events[Ee].push(Se):(G._events[Ee]=Se,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,Se=ue.length,Ee=new Array(Se);ve<Se;ve++)Ee[ve]=ue[ve].fn;return Ee},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,Se,Ee){var Je=n?n+H:H;if(!this._events[Je])return!1;var at=this._events[Je],jt=arguments.length,ir,er;if(at.fn){switch(at.once&&this.removeListener(H,at.fn,void 0,!0),jt){case 1:return at.fn.call(at.context),!0;case 2:return at.fn.call(at.context,se),!0;case 3:return at.fn.call(at.context,se,ue),!0;case 4:return at.fn.call(at.context,se,ue,ve),!0;case 5:return at.fn.call(at.context,se,ue,ve,Se),!0;case 6:return at.fn.call(at.context,se,ue,ve,Se,Ee),!0}for(er=1,ir=new Array(jt-1);er<jt;er++)ir[er-1]=arguments[er];at.fn.apply(at.context,ir)}else{var Fr=at.length,Zr;for(er=0;er<Fr;er++)switch(at[er].once&&this.removeListener(H,at[er].fn,void 0,!0),jt){case 1:at[er].fn.call(at[er].context);break;case 2:at[er].fn.call(at[er].context,se);break;case 3:at[er].fn.call(at[er].context,se,ue);break;case 4:at[er].fn.call(at[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];at[er].fn.apply(at[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 Se=n?n+H:H;if(!this._events[Se])return this;if(!se)return C(this,Se),this;var Ee=this._events[Se];if(Ee.fn)Ee.fn===se&&(!ve||Ee.once)&&(!ue||Ee.context===ue)&&C(this,Se);else{for(var Je=0,at=[],jt=Ee.length;Je<jt;Je++)(Ee[Je].fn!==se||ve&&!Ee[Je].once||ue&&Ee[Je].context!==ue)&&at.push(Ee[Je]);at.length?this._events[Se]=at.length===1?at[0]:at:C(this,Se)}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 Lt(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 Gt(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(;Lt(w,t);){s+=10;const m=Gt(w,t+6);s+=m,qe(w,t+10)&&(s+=10),t+=s}if(s>0)return w.subarray(n,n+s)}function Rr(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 Se=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:Se,reason:Se.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=Rr(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,Se=ve+ue,Ee=Math.max(0,n+Se-t.length);Ee?(G=new Uint8Array(Se-ve),G.set(t.subarray(n+ve,t.length),0)):G=t.subarray(n+ve,n+Se);const Je={unit:G,pts:C};return Ee||w.samples.push(Je),{sample:Je,length:Se,missing:Ee}}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 Lt(w,t)&&Gt(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=Gt(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(;Lt(w,t);){const s=Gt(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 Ae{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 Xr=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,Se=Sn[n][s],Ee=ei[s],Je=Se*8*Ee,at=Math.floor(Se*H/ue+C)*Ee;if(Xr===null){const er=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Xr=er?parseInt(er[1]):0}return!!Xr&&Xr<=87&&s===2&&H>=224e3&&U===0&&(w[t+3]=w[t+3]|128),{sampleRate:ue,channelCount:ve,frameLength:at,samplesPerFrame:Je}}}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 Ae{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 Ae{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 Se=(t[n+6]<<8|t[n+7])>>12-ve&1,Je=[2,1,2,3,3,4,4,5][ue]+Se,at=t[n+5]>>3,jt=t[n+5]&7,ir=new Uint8Array([E<<6|at<<1|jt>>2,(jt&3)<<6|ue<<3|Se<<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=Je,w.samplerate=U,w.samples.push({unit:Zr,pts:Fr}),se}class Ku extends Ae{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=tt(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 ut(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=et(s);this.remainderData=U.remainder,m.samples=U.valid||new Uint8Array}else m.samples=s;const C=this.extractID3Track(m,n);return E.samples=Rt(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=Rt(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=Ge(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 Ke{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,Se=0;for(E===-1&&(ve=0,Se=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 Ee={data:n.subarray(ve,se),type:Se};U.push(Ee)}else{const Ee=this.getLastNalUnit(t.samples);Ee&&(C&&G<=4-C&&Ee.state&&(Ee.data=Ee.data.subarray(0,Ee.data.byteLength-C)),se>0&&(Ee.data=Wt(Ee.data,n.subarray(0,se)),Ee.state=0))}G<m?(ue=this.getNALuType(n,G),ve=G,Se=ue,E=0):E=-1}else E=0}if(ve>=0&&E>=0){const Ee={data:n.subarray(ve,m),type:Se,state:E};U.push(Ee)}if(U.length===0){const Ee=this.getLastNalUnit(t.samples);Ee&&(Ee.data=Wt(Ee.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 Je=!1;U=!0;const at=H.data;if(G&&at.length>4){const jt=this.readSliceType(at);(jt===2||jt===4||jt===7||jt===9)&&(Je=!0)}if(Je){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=Je;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 Se,Ee;U=!0,G=!0;const Je=H.data,at=this.readSPS(Je);if(!t.sps||t.width!==at.width||t.height!==at.height||((Se=t.pixelRatio)==null?void 0:Se[0])!==at.pixelRatio[0]||((Ee=t.pixelRatio)==null?void 0:Ee[1])!==at.pixelRatio[1]){t.width=at.width,t.height=at.height,t.pixelRatio=at.pixelRatio,t.sps=[Je];const jt=Je.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),Se=n.readBoolean.bind(n),Ee=n.skipBits.bind(n),Je=n.skipEG.bind(n),at=n.skipUEG.bind(n),jt=this.skipScalingList.bind(this);se();const ir=se();if(ue(5),Ee(3),se(),at(),ir===100||ir===110||ir===122||ir===244||ir===44||ir===83||ir===86||ir===118||ir===128){const an=ve();if(an===3&&Ee(1),at(),at(),Ee(1),Se())for(G=an!==3?8:12,H=0;H<G;H++)Se()&&(H<6?jt(16,n):jt(64,n))}at();const er=ve();if(er===0)ve();else if(er===1)for(Ee(1),Je(),Je(),U=ve(),H=0;H<U;H++)Je();at(),Ee(1);const Fr=ve(),Zr=ve(),ln=ue(1);ln===0&&Ee(1),Ee(1),Se()&&(s=ve(),m=ve(),E=ve(),C=ve());let Wr=[1,1];if(Se()&&Se())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 Se=this.readSPS(H.data);t.width=Se.width,t.height=Se.height,t.pixelRatio=Se.pixelRatio,t.codec=Se.codecString,t.sps=[],typeof t.params!="object"&&(t.params={});for(const Ee in Se.params)t.params[Ee]=Se.params[Ee]}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 Se=this.readPPS(H.data);for(const Ee in Se)t.params[Ee]=Se[Ee]}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(),Se=n.readUByte(),Ee=n.readUByte(),Je=n.readUByte(),at=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,Se,Ee,Je,at],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 Ce=188;class Ve{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=Ve.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(Ce*5,n-Ce)+1,m=0;for(;m<s;){let E=!1,C=-1,U=0;for(let G=m;G<n;G+=Ce)if(t[G]===71&&(n-G===Ce||t[G+Ce]===71)){if(U++,C===-1&&(C=G,C!==0&&(s=Math.min(C+Ce*99,t.length-Ce)+1)),E||(E=Tt(t,G)===0),E&&U>1&&(C===0&&U>2||G+Ce>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=Ve.createTrack("video"),this._videoTrack.duration=m,this._audioTrack=Ve.createTrack("audio",m),this._id3Track=Ve.createTrack("id3"),this._txtTrack=Ve.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,Se=G.pid,Ee=U.pesData,Je=G.pesData,at=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<Ce&&!m)return this.remainderData=t,{audioTrack:U,videoTrack:C,id3Track:G,textTrack:H};const Fr=Math.max(0,Ve.syncOffset(t));er-=(er-Fr)%Ce,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+=Ce)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+Ce)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+Ce)),ue.size+=Wr+Ce-Vn);break;case ve:if(an){if(Ee&&(E=qr(Ee,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}Ee={data:[],size:0}}Ee&&(Ee.data.push(t.subarray(Vn,Wr+Ce)),Ee.size+=Wr+Ce-Vn);break;case Se:an&&(Je&&(E=qr(Je,this.logger))&&this.parseID3PES(G,E),Je={data:[],size:0}),Je&&(Je.data.push(t.subarray(Vn,Wr+Ce)),Je.size+=Wr+Ce-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),Se=ci.id3Pid,Se>0&&(G.pid=Se),at!==null&&!jt&&(this.logger.warn(`MPEG-TS PMT found at ${Wr} after unknown PID '${at}'. Backtracking to sync byte @${Fr} to parse all TS packets.`),at=null,Wr=Fr-188),jt=this.pmtParsed=!0;break}case 17:case 8191:break;default:at=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=Ee,G.pesData=Je;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 Ke(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 Se=ve-ue;m.sample.unit.set(E.subarray(0,ue),Se),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,Se=ue;for(;Se>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 Je=w[ve+1]+2;ve+=Je,Se-=Je}}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 Se=0,Ee=G.length;Se<Ee;Se++){s=G[Se];let Je=s.byteLength;if(ue)if(ue>Je){ue-=Je;continue}else s=s.subarray(ue),Je-=ue,ue=0;ve.set(s,n),n+=Je}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 Ee=0;Ee<s.length;Ee+=1){C+=3;for(let Je=0;Je<s[Ee].length;Je+=1)C+=2+s[Ee][Je].length}const U=new Uint8Array(C);U.set(E,0),C=E.length;const G=s.length-1;for(let Ee=0;Ee<s.length;Ee+=1){U.set(new Uint8Array([32+Ee|(Ee===G?128:0),0,s[Ee].length]),C),C+=3;for(let Je=0;Je<s[Ee].length;Je+=1)U.set(new Uint8Array([s[Ee][Je].length>>8,s[Ee][Je].length&255]),C),C+=2,U.set(s[Ee][Je],C),C+=s[Ee][Je].length}const H=lr.box(lr.types.hvcC,U),se=t.width,ue=t.height,ve=t.pixelRatio[0],Se=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,Se>>24,Se>>16&255,Se>>8&255,Se&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,Se,Ee,Je=E,at=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(Ee=!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,at+=(n.samples[0].pts-ba)/n.inputTimeScale,rs=at}else ci===-1&&(this.logger.warn(`[mp4-remuxer]: No keyframe found out of ${er} video samples`),Ee=!1);if(this.ISGenerated){if(Fr&&Zr){const ba=this.getVideoStartPts(n.samples),Ri=(ms(t.samples[0].pts,ba)-ba)/n.inputTimeScale;Je+=Math.max(0,Ri),at+=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,Je,this.isAudioContiguous,C,ir||Zr||G===u.AUDIO?at: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,at,Vn,ba)}}else Zr&&(H=this.remuxVideo(n,at,Vn,0));H&&(H.firstKeyFrame=ci,H.independent=ci!==-1,H.firstKeyFramePTS=rs)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(s.samples.length&&(Se=Ps(s,E,this._initPTS,this._initDTS)),m.samples.length&&(ve=_o(m,E,this._initPTS))),{audio:se,video:H,initSegment:ue,independent:Ee,text:ve,id3:Se}}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,Se,Ee;if(se&&(ve=Se=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&&(Ee=t.inputTimeScale,!H||Ee!==H.timescale?ve=Se=E[0].pts-Math.round(Ee*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(Ee=n.inputTimeScale,!H||Ee!==H.timescale){const Je=this.getVideoStartPts(C),at=Math.round(Ee*s);Se=Math.min(Se,ms(C[0].dts,Je)-at),ve=Math.min(ve,Je-at)}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:Ee},this._initDTS={baseTime:Se,timescale:Ee}):ve=Ee=void 0,{tracks:G,initPTS:ve,timescale:Ee}}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,Se,Ee,Je=Number.POSITIVE_INFINITY,at=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}),Se=C[0].dts,Ee=C[C.length-1].dts;const er=Ee-Se,Fr=er?Math.round(er/(G-1)):ve||t.inputTimeScale/30;if(s){const Kn=Se-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)){Se=se;const Ea=C[0].pts-Kn;if(ri)C[0].dts=Se,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(Se,!0)}, delta: ${Xi(Kn,!0)} ms`)}}Se=Math.max(0,Se);let Zr=0,ln=0,Wr=Se;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,Je=Math.min(ri.pts,Je),at=Math.max(ri.pts,at)}Ee=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?Je+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=Se;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=Ee+ve,this.videoSampleDuration=ve,this.isVideoContiguous=!0;const Ki={data1:lr.moof(t.sequenceNumber++,Se,y(t,{samples:U})),data2:yn,startPTS:Je/E,endPTS:(at+ve)/E,startDTS:Se/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,Se=[],Ee=E!==void 0;let Je=t.samples,at=ve?0:8,jt=this.nextAudioPts||-1;const ir=n*C,er=ue.baseTime*C/ue.timescale;if(this.isAudioContiguous=s=s||Je.length&&jt>0&&(m&&Math.abs(ir-jt)<9e3||Math.abs(ms(Je[0].pts-er,ir)-jt)<20*se),Je.forEach(function(Ri){Ri.pts=ms(Ri.pts-er,ir)}),!s||jt<0){if(Je=Je.filter(Ri=>Ri.pts>=0),!Je.length)return;E===0?jt=0:m&&!Ee?jt=Math.max(0,ir):jt=Je[0].pts}if(t.segmentCodec==="aac"){const Ri=this.config.maxAudioFramesDrift;for(let Qi=0,Ki=jt;Qi<Je.length;Qi++){const Kn=Je[Qi],ri=Kn.pts,Ta=ri-Ki,Ea=Math.abs(1e3*Ta/C);if(Ta<=-Ri*se&&Ee)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&&Ee){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()),Je.splice(Qi,0,{unit:oo,pts:Bs}),Ki+=se,Qi++}}Kn.pts=Ki,Ki+=se}}let Fr=null,Zr=null,ln,Wr=0,an=Je.length;for(;an--;)Wr+=Je[an].unit.byteLength;for(let Ri=0,Qi=Je.length;Ri<Qi;Ri++){const Ki=Je[Ri],Kn=Ki.unit;let ri=Ki.pts;if(Zr!==null){const Ea=Se[Ri-1];Ea.duration=Math.round((ri-Zr)/G)}else if(s&&t.segmentCodec==="aac"&&(ri=jt),Fr=ri,Wr>0){Wr+=at;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,at);const Ta=Kn.byteLength;at+=Ta,Se.push(_i(!0,H,Ta,0)),Zr=ri}const yn=Se.length;if(!yn)return;const Kr=Se[Se.length-1];this.nextAudioPts=jt=Zr+G*Kr.duration;const Vn=ve?new Uint8Array(0):lr.moof(t.sequenceNumber++,Fr/G,y({},t,{samples:Se}));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(We(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=tt(t);m.audio&&(n=Fu(m.audio,L.AUDIO)),m.video&&(s=Fu(m.video,L.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 Se={initPTS:void 0,timescale:1};let Ee=this.initData;if((U=Ee)!=null&&U.length||(this.generateInitSegment(ve),Ee=this.initData),!((G=Ee)!=null&&G.length))return this.logger.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),ue;this.emitInitSegment&&(Se.tracks=this.initTracks,this.emitInitSegment=!1);const Je=Vt(ve,Ee),at=ft(Ee,ve),jt=at===null?E:at;(C||!H)&&(Bl(H,jt,E,Je)||Se.timescale!==H.timescale)&&(Se.initPTS=jt-E,H&&H.timescale===1&&this.logger.warn(`Adjusting initPTS @${E} from ${H.baseTime/H.timescale} to ${Se.initPTS}`),this.initPTS=H={baseTime:Se.initPTS,timescale:1});const ir=t?jt-H.baseTime/H.timescale:se,er=ir+Je;De(Ee,ve,H.baseTime/H.timescale),Je>0?this.lastEndTime=er:(this.logger.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const Fr=!!Ee.audio,Zr=!!Ee.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=Se,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===L.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:Ve,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:Se,initSegmentChange:Ee}=m||U,{audioCodec:Je,videoCodec:at,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||Ee||Zr)&&this.resetInitSegment(er,Je,at,ir,n),(se||Ee||Zr)&&this.resetInitialTimestamp(jt),H||this.resetContiguity();const ln=this.transmux(C,Fr,Se,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=hr(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=hr(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:Se,transmuxer:Ee}=this,Je=C?C.start:E.start,at=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,Je,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: ${Je}
|
|
|
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:Se,cmd:"demux",data:t,decryptdata:at,chunkMeta:H,state:Kr},t instanceof ArrayBuffer?[t]:[]);else if(Ee){const Vn=Ee.push(t,at,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 _t(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,L.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,Se=G.fragments,Ee=Se[0].start,Je=this.getLoadPosition(),at=this.flushing?Je:se.end;if(this.switchingTrack&&m){const er=Je;G.PTSKnown&&er<Ee&&(se.end>Ee||se.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),m.currentTime=Ee+.05)}if(ue>=ve&&!this.switchingTrack&&at<Se[Se.length-1].start)return;let jt=this.getNextFragment(at,G);if(jt&&this.isLoopLoading(jt,at)&&(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&&at<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(at,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,at)}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 Se=this.initPTS[s.cc],Ee=(n=s.initSegment)==null?void 0:n.data;if(Se!==void 0){const at=m?m.index:-1,jt=at!==-1,ir=new ws(s.level,s.sn,s.stats.chunkCount,E.byteLength,at,jt);ve.push(E,Ee,ue,"",s,m,se.totalduration,!1,ir,Se)}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:Je}=this.waitingData=this.waitingData||{frag:s,part:m,cache:new ra,complete:!1};Je.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!==L.VIDEO&&(this.flushing=!0)}onBufferFlushed(t,{type:n}){if(n!==L.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:Se,id3:Ee,initSegment:Je}=E;if(this.fragContextChanged(G)||!ue){this.fragmentTracker.removeFragment(G);return}if(this.state=Hr.PARSING,this.switchingTrack&&ve&&this.completeAudioSwitch(this.switchingTrack),Je!=null&&Je.tracks){const at=G.initSegment||G;this._bufferInitSegment(se,Je.tracks,at,C),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:at,id:s,tracks:Je.tracks})}if(ve){const{startPTS:at,endPTS:jt,startDTS:ir,endDTS:er}=ve;H&&(H.elementaryStreams[L.AUDIO]={startPTS:at,endPTS:jt,startDTS:ir,endDTS:er}),G.setElementaryStreamInfo(L.AUDIO,at,jt,ir,er),this.bufferFragmentData(ve,G,H,C)}if(Ee!=null&&(n=Ee.samples)!=null&&n.length){const at=y({id:s,frag:G,details:ue},Ee);m.trigger(o.FRAG_PARSING_METADATA,at)}if(Se){const at=y({id:s,frag:G,details:ue},Se);m.trigger(o.FRAG_PARSING_USERDATA,at)}}_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,ct)||(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 M{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,Se=(m.edge-ve)*1e3,Ee=kn(m,Se);if(m.requestScheduled+Ee<C?m.requestScheduled=C:m.requestScheduled+=Ee,this.log(`live playlist ${t} ${m.advanced?"REFRESHED "+m.lastPartSn+"-"+m.lastPartIndex:m.updated?"UPDATED":"MISSED"}`),!this.canLoad||!m.live)return;let Je,at,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?(at=Fr+1,jt=ir?0:Zr):(at=er,jt=ir?Zr+1:m.maxPartIndex):at=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.`),at=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(at+=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(Je=this.getDeliveryDirectives(m,n.deliveryDirectives,at,jt),ir||!Wr){m.requestScheduled=C,this.loadingPlaylist(se,Je);return}}else(m.canBlockReload||m.canSkipUntil)&&(Je=this.getDeliveryDirectives(m,n.deliveryDirectives,at,jt));Je&&at!==void 0&&m.canBlockReload&&(m.requestScheduled=E.loading.first+Math.max(Ee-U*2,Ee/2)),this.scheduleLoading(se,Je,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=Lr.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===xe.RetryRequest||!m.resolved&&E===xe.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,Se)=>{ve.id=Se});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=U;const G=this.hls.config.audioPreference;if(!E&&G){const ve=Yi(G,U,ct);if(ve>-1)E=U[ve];else{const Se=Yi(G,this.tracks);E=this.tracks[Se]}}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,ct))return m;const E=Yi(t,this.tracksInGroup,ct);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,ct);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,ct)))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,ct))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 M{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,Se=se.id;if(ve.hasFragments(Se)||ve.hasParts(Se)){const at=Zn.getBuffered(ue);ve.detectEvictedFragments(H,at,Se,null,!0)}const Ee=jl(H),Je=[H,ue];this.sourceBuffers[Ee]=Je,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:Se,levelCodec:Ee,container:Je,metadata:at,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:Se,supplemental:jt,container:Je,levelCodec:Ee,metadata:at,id:ve});const Wr=Qr(Zr,ln),an=Wr==null?void 0:Wr.replace(sc,"$1");let yn=Qr(Se,Ee);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=Je,this.appendChangeType(U,Je,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 Se=U.stats.buffering,Ee=G?G.stats.buffering:null;Se.start===0&&(Se.start=ve),Ee&&Ee.start===0&&(Ee.start=ve);const Je=s.audio;let at=!1;E==="audio"&&(Je==null?void 0:Je.container)==="audio/mpeg"&&(at=!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(),at){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,Se.first===0&&(Se.first=Zr),Ee&&Ee.first===0&&(Ee.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[L.AUDIOVIDEO]?E.push("audiovideo"):(C[L.AUDIO]&&E.push("audio"),C[L.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=Qr(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(Se=>Se[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 M{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)===xe.SendAlternateToPenaltyBox&&s.flags===st.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}`,Se=ue.SUBTITLES&&`${ue.SUBTITLES}_clone_${C}`;ve&&(s[ue.AUDIO]=ve,ue.AUDIO=ve),Se&&(m[ue.SUBTITLES]=Se,ue.SUBTITLES=Se);const Ee=Ro(se.uri,ue["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",G),Je=new _r({attrs:ue,audioCodec:se.audioCodec,bitrate:se.bitrate,height:se.height,name:se.name,url:Ee,videoCodec:se.videoCodec,width:se.width});if(se.audioGroups)for(let at=1;at<se.audioGroups.length;at++)Je.addGroupId("audio",`${se.audioGroups[at]}_clone_${C}`);if(se.subtitleGroups)for(let at=1;at<se.subtitleGroups.length;at++)Je.addGroupId("text",`${se.subtitleGroups[at]}_clone_${C}`);return Je});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,Se)=>{this.log(`Loaded steering manifest: "${m}"`);const Ee=se.data;if((Ee==null?void 0:Ee.VERSION)!==1){this.log(`Steering VERSION ${Ee.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Ee.TTL;const{"RELOAD-URI":Je,"PATHWAY-CLONES":at,"PATHWAY-PRIORITY":jt}=Ee;if(Je)try{this.uri=new self.URL(Je,m).href}catch(er){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${Je}`);return}this.scheduleRefresh(this.uri||ve.url),at&&this.clonePathways(at);const ir={steeringManifest:Ee,url:m.toString()};this.hls.trigger(o.STEERING_MANIFEST_LOADED,ir),jt&&this.updatePathwayPriority(jt)},onError:(se,ue,ve,Se)=>{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 Ee=this.timeToLoad*1e3;if(se.code===429){const Je=this.loader;if(typeof(Je==null?void 0:Je.getResponseHeader)=="function"){const at=Je.getResponseHeader("Retry-After");at&&(Ee=parseFloat(at)*1e3)}this.log(`Steering manifest ${ue.url} rate limited`);return}this.scheduleRefresh(this.uri||ue.url,Ee)},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 M{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 Ee=Qt(new Uint8Array(m));try{const Je=Ca(JSON.parse(Ee).sinf),at=it(Je);if(!at)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");G=new Uint8Array(at.subarray(8,24)),H=ga.FAIRPLAY}catch(Je){this.warn(`${E} Failed to parse sinf: ${Je}`);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 Ee=Ot(m),Je=Ee.filter(jt=>!!jt.systemId&&Po(jt.systemId)===U);Je.length>1&&this.warn(`${E} Using first of ${Je.length} pssh found for selected key-system ${U}`);const at=Je[0];if(!at){Ee.length===0||Ee.some(jt=>!jt.systemId)?this.warn(`${E} contains incomplete or invalid pssh data`):this.log(`ignoring ${E} for ${Ee.map(jt=>Po(jt.systemId)).join(",")} pssh data in favor of playlist keys`);return}if(H=Po(at.systemId),at.version===0&&at.data)if(H===ga.WIDEVINE){const jt=at.data.length-22;G=new Uint8Array(at.data.subarray(jt,jt+16))}else H===ga.PLAYREADY&&(G=Ga(at.data))}if(!H||!G)return;const se=J.hexDump(G),{keyIdToKeySessionPromise:ue,mediaKeySessions:ve}=this;let Se=ue[se];for(let Ee=0;Ee<ve.length;Ee++){const Je=ve[Ee],at=Je.decryptdata;if(!at.keyId)continue;const jt=J.hexDump(at.keyId);if(se===jt||at.uri.replace(/-/g,"").indexOf(se)!==-1){if(Se=ue[jt],at.pssh)break;delete ue[jt],at.pssh=new Uint8Array(m),at.keyId=G,Se=ue[se]=Se.then(()=>this.generateRequestWithPreferredKeySession(Je,s,m,"encrypted-event-key-match")),Se.catch(ir=>this.handleError(ir));break}}if(!Se){if(H!==U){this.log(`Ignoring "${n.type}" event with ${H} init data for selected key-system ${U}`);return}Se=ue[se]=this.getKeySystemSelectionPromise([H]).then(({keySystem:Ee,mediaKeys:Je})=>{var at;this.throwIfDestroyed();const jt=new Vs("ISO-23001-7",se,(at=xo(Ee))!=null?at:"");return jt.pssh=new Uint8Array(m),jt.keyId=G,this.attemptSetMediaKeys(Ee,Je).then(()=>{this.throwIfDestroyed();const ir=this.createMediaKeySessionContext({decryptdata:jt,keySystem:Ee,mediaKeys:Je});return this.generateRequestWithPreferredKeySession(ir,s,m,"encrypted-event-no-match")})}),Se.catch(Ee=>this.handleError(Ee))}})}},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 Ee=U.call(this.hls,n,s,t);if(!Ee)throw new Error("Invalid response from configured generateRequest filter");n=Ee.initDataType,s=Ee.initData?Ee.initData:null,t.decryptdata.pssh=s?new Uint8Array(s):null}catch(Ee){var G;if(this.warn(Ee.message),(G=this.hls)!=null&&G.config.debug)throw Ee}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=Ee=>{const Je=t.mediaKeysSession;if(!Je){se.emit("error",new Error("invalid state"));return}const{messageType:at,message:jt}=Ee;this.log(`"${at}" message event for session "${Je.sessionId}" message size: ${jt.byteLength}`),at==="license-request"||at==="license-renewal"?this.renewLicense(t,jt).catch(ir=>{se.eventNames().length?se.emit("error",ir):this.handleError(ir)}):at==="license-release"?t.keySystem===ga.FAIRPLAY&&(this.updateKeySession(t,ls("acknowledged")),this.removeSession(t)):this.warn(`unhandled media key message type "${at}"`)},ve=t._onkeystatuseschange=Ee=>{if(!t.mediaKeysSession){se.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(t);const at=t.keyStatus;se.emit("keyStatus",at),at==="expired"&&(this.warn(`${t.keySystem} expired for key ${H}`),this.renewKeySession(t))};t.mediaKeysSession.addEventListener("message",ue),t.mediaKeysSession.addEventListener("keystatuseschange",ve);const Se=new Promise((Ee,Je)=>{se.on("error",Je),se.on("keyStatus",at=>{at.startsWith("usable")?Ee():at==="output-restricted"?Je(new Ho({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):at==="internal-error"?Je(new Ho({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${at}"`)):at==="expired"?Je(new Error("key expired while generating request")):this.warn(`unhandled key status change "${at}"`)})});return t.mediaKeysSession.generateRequest(n,s).then(()=>{var Ee;this.log(`Request generated for key-session "${(Ee=t.mediaKeysSession)==null?void 0:Ee.sessionId}" keyId: ${H}`)}).catch(Ee=>{throw new Ho({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_SESSION,error:Ee,fatal:!1},`Error generating key-session request: ${Ee}`)}).then(()=>Se).catch(Ee=>{throw se.removeAllListeners(),this.removeSession(t),Ee}).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,Se,Ee,Je)=>{C(ve.data)},onError:(ve,Se,Ee,Je)=>{U(new Ho({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Ee,response:b({url:G.url,data:void 0},ve)},`"${t}" certificate request failed (${E}). Status: ${ve.code} (${ve.text})`))},onTimeout:(ve,Se,Ee)=>{U(new Ho({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Ee,response:{url:G.url,data:void 0}},`"${t}" certificate request timed out (${E})`))},onAbort:(ve,Se,Ee)=>{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 Se=(C=se.querySelector("name"))==null?void 0:C.textContent,Ee=(U=se.querySelector("value"))==null?void 0:U.textContent;Se&&Ee&&t.setRequestHeader(Se,Ee)}}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 M{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,Se=se.cue.pre,Ee=se.cue.post;if(ue&&!Se)return-1;if(Se&&!ue||ve&&!Ee)return 1;if(Ee&&!ve)return-1;if(!ue&&!Se&&!ve&&!Ee){const Je=H.startTime,at=se.startTime;if(Je!==at)return Je-at}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,Se=se.cue.post,Ee=t[ue-1]||null,Je=se.appendInPlace,at=Se?E:se.startOffset,jt=se.duration,ir=se.timelineOccupancy===vo.Range?jt:0,er=se.resumptionOffset,Fr=(Ee==null?void 0:Ee.startTime)===at,Zr=at+se.cumulativeDuration;let ln=Je?Zr+jt:at+er;if(ve||!Se&&at<=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(at<=E){if(!Fr){const Kr=at-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&&Ee&&(Ee.cumulativeDuration+=Kr,s[s.length-1].end=at)}Se&&(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;Se||Wr>E?G=E:G=Wr}),G<E){var U;const se=G,ue=H,ve=E-G;H+=ve;const Se=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:Se,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 Se=r(U.resumeOffset)?U.resumeOffset:U.duration;E+=Se})}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 Se=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,ve,s);this.hls.trigger(o.ERROR,Se);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,Se,Ee,Je)=>{const at=ve.data,jt=at==null?void 0:at.ASSETS;if(!Array.isArray(jt)){const ir=this.assignAssetListError(t,f.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),Ee.url,Se,Je);this.hls.trigger(o.ERROR,ir);return}t.assetListResponse=at,this.hls.trigger(o.ASSET_LIST_LOADED,{event:t,assetListResponse:at,networkDetails:Je})},onError:(ve,Se,Ee,Je)=>{const at=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${ve.code} ${ve.text} (${Se.url})`),Se.url,Je,Ee);this.hls.trigger(o.ERROR,at)},onTimeout:(ve,Se,Ee)=>{const Je=this.assignAssetListError(t,f.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${Se.url})`),Se.url,ve,Ee);this.hls.trigger(o.ERROR,Je)}};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 M{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 Se=this.findItemIndex(U);if(ve>Se){const Ee=this.schedule.findJumpRestrictedIndex(Se+1,ve);if(Ee>Se){this.setSchedulePosition(Ee);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(Se=>Se.identifier),ue=!!(U.length||se.length);if(ue&&this.log(`INTERSTITIALS_UPDATED (${U.length}): ${U}
|
|
|
Schedule: ${G.map(Se=>su(Se))}`),se.length&&this.log(`Removed events ${se}`),this.playerQueue.forEach(Se=>{if(Se.interstitial.appendInPlace){const Ee=Se.assetItem.timelineStart,Je=Se.timelineOffset-Ee;if(Je)try{Se.timelineOffset=Ee}catch(at){Math.abs(Je)>il&&this.warn(`${at} ("${Se.assetId}" ${Se.timelineOffset}->${Ee})`)}}}),C){const Se=this.updateItem(C,this.timelinePos);this.itemsMatch(C,Se)&&(this.playingItem=Se,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 Se=this.updateItem(ve,this.bufferedPos);this.itemsMatch(ve,Se)?this.bufferingItem=Se:ve.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(ve.event,null))}if(s.forEach(Se=>{Se.assetList.forEach(Ee=>{this.clearAssetPlayer(Ee.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,Se,Ee,Je)=>{if(ue){let at=ue[ve].start;const jt=ue.event;if(jt){if(ve==="playout"||jt.timelineOccupancy!==vo.Point){const ir=s(Se);(ir==null?void 0:ir.interstitial)===jt&&(at+=ir.assetItem.startOffset+ir[Je])}}else{const ir=Ee==="bufferedPos"?C():t[Ee];at+=ir-ue.start}return at}return 0},E=(ue,ve)=>{if(ue!==0&&ve!=="primary"&&t.schedule.length){var Se;const Ee=t.schedule.findItemIndexAtTime(ue),Je=(Se=t.schedule.items)==null?void 0:Se[Ee];if(Je){const at=Je[ve].start-Je.start;return ue+at}}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 Se,Ee;const Je=t.effectivePlayingItem;if(Je!=null&&(Se=Je.event)!=null&&Se.restrictions.skip)return;t.log(`seek to ${ue} "${ve}"`);const at=t.effectivePlayingItem,jt=t.schedule.findItemIndexAtTime(ue,ve),ir=(Ee=t.schedule.items)==null?void 0:Ee[jt],er=t.getBufferingPlayer(),Fr=er==null?void 0:er.interstitial,Zr=Fr==null?void 0:Fr.appendInPlace,ln=at&&t.itemsMatch(at,ir);if(at&&(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(at,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(at)||at.event.appendInPlace)&&(yn||ir.event.appendInPlace)){const Kr=t.media||(Zr?er==null?void 0:er.media:null);Kr&&(Kr.currentTime=an)}else if(at){const Kr=t.findItemIndex(at);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(),Se=t.effectivePlayingItem;Se&&Se===ve&&G(ue+Se.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(Se=>t.getAssetPlayer(Se.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 Se=t.findItemIndex(ue);if(ve.appendInPlace){const Ee=ue.playout.start+ue.event.duration;G(Ee+.001,"playout")}else t.advanceAfterAssetEnded(ve,Se,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 Se=this.getBufferingPlayer();Se?(E=Se.transferMedia(),se=`${Se}`):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 Se=this.playerQueue;Se.length>1&&Se.forEach(Ee=>{if(U&&Ee.interstitial.appendInPlace!==G){const Je=Ee.interstitial;this.clearInterstitial(Ee.interstitial,null),Je.appendInPlace=!1,Je.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${Je}`)}}),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 Se=U&&t.assetId===this.schedule.assetIdAtEnd;ve.overrides={duration:this.schedule.duration,endOfStream:!U||Se,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 Se=H.findAssetIndex(se);this.log(`INTERSTITIAL_ASSET_ENDED ${Se+1}/${H.assetList.length} ${ol(se)}`),this.endedAsset=se,this.playingAsset=null,this.hls.trigger(o.INTERSTITIAL_ASSET_ENDED,{asset:se,assetListIndex:Se,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 Se=this.schedule.items;if(m&&Se){const Ee=this.schedule.findItemIndex(m);this.advanceSchedule(Ee,Se,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 Se=n[t+1],Ee=this.media;Se&&Ee&&!this.isInterstitial(Se)&&Ee.currentTime<Se.start&&(Ee.currentTime=this.timelinePos=Se.start),this.advanceAfterAssetEnded(H,t,s||0);return}if(ue||(ue=this.getAssetPlayer(ve.identifier)),ue===null||ue.destroyed){const Se=H.assetList.length;this.warn(`asset ${s+1}/${Se} 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),Se=n[ve];if((G===-1&&E&&t>=E.end||(H=Se.event)!=null&&H.appendInPlace&&t+.01>=Se.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(Se);else{const Ee=this.primaryDetails;this.primaryLive&&Ee&&t>Ee.edge-Ee.targetduration&&Se.start<Ee.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(Se)&&this.preloadAssets(Se.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 Se=ve.cmcd;Se!=null&&Se.sessionId&&Se.contentId&&(ve.cmcd=y({},Se,{contentId:pc(n.uri)})),this.getAssetPlayer(ue)&&this.warn(`Duplicate date range identifier ${t} and asset ${ue}`);const Ee=new uf(this.HlsPlayerClass,ve,t,n);this.playerQueue.push(Ee),t.assetList[s]=n;const Je=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())};Ee.on(o.LEVEL_UPDATED,(er,{details:Fr})=>Je(Fr)),Ee.on(o.LEVEL_PTS_UPDATED,(er,{details:Fr})=>Je(Fr));const at=(er,Fr)=>{const Zr=this.getAssetPlayer(ue);if(Zr&&Fr.tracks){Zr.off(o.BUFFER_CODECS,at),Zr.tracks=Fr.tracks;const ln=this.primaryMedia;this.bufferingAsset===Zr.assetItem&&ln&&!Zr.media&&this.bufferAssetPlayer(Zr,ln)}};Ee.on(o.BUFFER_CODECS,at);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)}};Ee.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 Ee.once(o.MEDIA_ENDED,ir(s)),Ee.once(o.PLAYOUT_LIMIT_REACHED,ir(1/0)),Ee.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}`)}),Ee.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:Ee}),Ee}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 Se=new Error(`Asset "${U}" SourceBuffer tracks ('${Object.keys(t.tracks)}') are not compatible with primary content tracks ('${Object.keys(ve)}')`),Ee={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Se},Je=E.findAssetIndex(C);this.handleAssetItemError(Ee,E,G,Je,Se.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((Ee,Je)=>{const at=parseFloat(Ee.DURATION);this.createAsset(m,Je,H,U+H,at,Ee.URI),H+=at}),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 Se;const Ee=this.schedule.findEventIndex(E),Je=(Se=this.schedule.items)==null?void 0:Se[Ee];if(Je){if(!this.playingItem&&this.timelinePos>Je.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==Ee){m.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${m}`),this.primaryFallback(m);return}this.setBufferingItem(Je)}this.setSchedulePosition(Ee)}else if((ve==null?void 0:ve.identifier)===E&&ve.appendInPlace){const Ee=m.assetList[0],Je=this.getAssetPlayer(Ee.identifier),at=this.primaryMedia;Ee&&Je&&at&&this.bufferAssetPlayer(Je,at)}}onError(t,n){switch(n.details){case f.ASSET_LIST_PARSING_ERROR:case f.ASSET_LIST_LOAD_ERROR:case f.ASSET_LIST_LOAD_TIMEOUT:{const 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,Se=H.edge;let Ee=null;const Je=this.fragPrevious;if(U<Se){const ir=m.maxFragLookUpTolerance,er=U>Se-ir?0:ir;Ee=bn(Je,ue,Math.max(ue[0].start,U),er),!Ee&&Je&&Je.start<ue[0].start&&(Ee=ue[0])}else Ee=ue[ve-1];if(Ee=this.filterReplacedPrimary(Ee,s.details),!Ee)return;const at=Ee.sn-H.startSN,jt=ue[at-1];if(jt&&jt.cc===Ee.cc&&this.fragmentTracker.getState(jt)===br.NOT_LOADED&&(Ee=jt),this.fragmentTracker.getState(Ee)===br.NOT_LOADED){const ir=this.mapToInitFragWhenRequired(Ee);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="",Se=!1,Ee=U,Je=G,at=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 Se},set:function(Kr){Se=!!Kr}})),Object.defineProperty(se,"startTime",E({},ue,{get:function(){return Ee},set:function(Kr){if(typeof Kr!="number")throw new TypeError("Start time must be set to a number.");Ee=Kr,this.hasBeenReset=!0}})),Object.defineProperty(se,"endTime",E({},ue,{get:function(){return Je},set:function(Kr){if(typeof Kr!="number")throw new TypeError("End time must be set to a number.");Je=Kr,this.hasBeenReset=!0}})),Object.defineProperty(se,"text",E({},ue,{get:function(){return at},set:function(Kr){at=""+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,Se){let Ee;switch(ve){case"region":for(let Je=n.length-1;Je>=0;Je--)if(n[Je].id===Se){H.set(ve,n[Je].region);break}break;case"vertical":H.alt(ve,Se,["rl","lr"]);break;case"line":Ee=Se.split(","),H.integer(ve,Ee[0]),H.percent(ve,Ee[0])&&H.set("snapToLines",!1),H.alt(ve,Ee[0],["auto"]),Ee.length===2&&H.alt("lineAlign",Ee[1],["start",Ou,"end"]);break;case"position":Ee=Se.split(","),H.percent(ve,Ee[0]),Ee.length===2&&H.alt("positionAlign",Ee[1],["start",Ou,"end","line-left","line-right","auto"]);break;case"size":H.percent(ve,Se);break;case"align":H.alt(ve,Se,["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,Se=0,Ee,Je=!0;U.oncue=function(at){const jt=n[s];let ir=n.ccOffset;const er=(ve-se)/9e4;if(jt!=null&&jt.new&&(Se!==void 0?ir=n.ccOffset=jt.start:Qc(n,s,er)),er){if(!t){Ee=new Error("Missing initPTS for VTT MPEGTS");return}ir=er-n.presentationOffset}const Fr=at.endTime-at.startTime,Zr=ms((at.startTime+ir-Se)*9e4,m*9e4)/9e4;at.startTime=Math.max(Zr,0),at.endTime=Math.max(Zr+Fr,0);const ln=at.text.trim();at.text=decodeURIComponent(encodeURIComponent(ln)),at.id||(at.id=Zu(at.startTime,at.endTime,ln)),at.endTime>0&&H.push(at)},U.onparsingerror=function(at){Ee=at},U.onflush=function(){if(Ee){C(Ee);return}E(H)},G.forEach(at=>{if(Je)if(yc(at,"X-TIMESTAMP-MAP=")){Je=!1,at.slice(16).split(",").forEach(jt=>{yc(jt,"LOCAL:")?ue=jt.slice(6):yc(jt,"MPEGTS:")&&(ve=parseInt(jt.slice(7)))});try{Se=Lc(ue)/1e3}catch(jt){Ee=jt}return}else at===""&&(Je=!1);U.parse(at+`
|
|
|
`)}),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 Se=ji(ue.getAttribute("begin"),C),Ee=ji(ue.getAttribute("dur"),C);let Je=ji(ue.getAttribute("end"),C);if(Se===null)throw xa(ue);if(Je===null){if(Ee===null)throw xa(ue);Je=Se+Ee}const at=new Si(Se-t,Je-t,ve);at.id=Zu(at.startTime,at.endTime,at.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&&(at.lineAlign=Zr),at.align=Fr}return y(at,er),at}).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 Je=0;Je<E.chars.length;Je++)Qu.test(E.chars[Je].uchar)&&U?G++:(H+=E.chars[Je].uchar,U=!1);E.cueStartTime=t,t===n&&(n+=1e-4),G>=16?G--:G++;const Se=tc(H.trim()),Ee=Zu(t,n,Se);w!=null&&(ue=w.cues)!=null&&ue.getCueById(Ee)||(C=new se(t,n,Se),C.id=Ee,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,Se)=>ve.line==="auto"||Se.line==="auto"?0:ve.line>8&&Se.line>8?Se.line-ve.line:ve.line-Se.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 Se=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-(Se-m.loading.start)),!ue.ok){const{status:Je,statusText:at}=ue;throw new qu(at||"fetch, bad network response",Je,ue)}m.loading.first=Se,m.total=qc(ue.headers)||m.total;const Ee=(ve=this.callbacks)==null?void 0:ve.onProgress;return Ee&&r(n.highWaterMark)?this.loadProgressively(ue,m,t,n.highWaterMark,Ee):C?ue.arrayBuffer():t.responseType==="json"?ue.json():ue.text()}).then(ue=>{var ve,Se;const Ee=this.response;if(!Ee)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const Je=ue[U];Je&&(m.loaded=m.total=Je);const at={url:Ee.url,data:ue,code:Ee.status},jt=(ve=this.callbacks)==null?void 0:ve.onProgress;jt&&!r(n.highWaterMark)&&jt(m,t,ue,Ee),(Se=this.callbacks)==null||Se.onSuccess(at,m,t,Ee)}).catch(ue=>{var ve;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Se=ue&&ue.code||0,Ee=ue?ue.message:null;(ve=this.callbacks)==null||ve.onError({code:Se,text:Ee},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 Ee=se!=null?se:n.response;if(Ee!=null){var C,U;s.loading.end=Math.max(self.performance.now(),s.loading.first);const Je=n.responseType==="arraybuffer"?Ee.byteLength:Ee.length;s.loaded=s.total=Je,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const at=(C=this.callbacks)==null?void 0:C.onProgress;at&&at(s,t,Ee,n);const jt={url:n.responseURL,data:Ee,code:H};(U=this.callbacks)==null||U.onSuccess(jt,s,t,n);return}}const ue=E.loadPolicy.errorRetry,ve=s.retry,Se={url:t.url,data:void 0,code:H};if(He(ue,ve,!1,Se))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(He(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 Se=s[U].default;switch(t[U]={default:Se},se){case"TimeOut":Se.maxLoadTimeMs=ve,Se.maxTimeToFirstByteMs=ve;break;case"MaxRetry":Se.errorRetry.maxNumRetry=ve,Se.timeoutRetry.maxNumRetry=ve;break;case"RetryDelay":Se.errorRetry.retryDelayMs=ve,Se.timeoutRetry.retryDelayMs=ve;break;case"MaxRetryTimeout":Se.errorRetry.maxRetryDelayMs=ve,Se.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),Se=ve.nextStart||0,Ee=this.fragmentTracker;if(G&&Ee&&this.hls){const ln=Ec(this.hls.inFlightFragments,t),Wr=ve.len>_l,an=!Se||ln||Se-t>_l&&!Ee.getPartialFragment(t);if(Wr||an)return;this.moved=!1}const Je=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Ee){if(!(ve.len>0)&&!Se)return;const Wr=Math.max(Se,ve.start||0)-t,yn=!!(Je!=null&&Je.live)?Je.targetduration*2:_l,Kr=Ee.getPartialFragment(t);if(Wr>0&&(Wr<=yn||Kr)){C.paused||this._trySkipBufferHole(Kr);return}}const at=E.detectStallWithCurrentTimeMs,jt=self.performance.now(),ir=this.waiting;if(U===null){ir>0&&jt-ir<at?this.stalled=ir:this.stalled=jt;return}const er=jt-U;if(!G&&(er>=at||ir)&&this.hls){var Fr;if(((Fr=this.mediaSource)==null?void 0:Fr.readyState)==="ended"&&!(Je!=null&&Je.live)&&Math.abs(t-((Je==null?void 0:Je.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,Se=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:Se.len,bufferInfo:Se})}}}}}_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 Ee=!1;if(C===0){const Je=s.getAppendedFrag(0,u.MAIN);Je&&G<Je.end&&(Ee=!0)}if(!Ee){const Je=t||s.getAppendedFrag(C,u.MAIN);if(Je){var H;if(!((H=this.hls.loadLevelObj)!=null&&H.details)||Ec(this.hls.inFlightFragments,G))return 0;let jt=!1,ir=Je.end;for(;ir<G;){const er=s.getPartialFragment(ir);if(er)ir+=er.duration;else{jt=!0;break}}if(jt)return 0}}}const Se=Math.max(G+ff,C+Vo);if(this.warn(`skipping hole, adjusting currentTime from ${C} to ${Se}`),this.moved=!0,m.currentTime=Se,!(t!=null&&t.gap)){const Ee=new Error(`fragment loaded with buffer holes, seeking from ${C} to ${Se}`);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:Ee,reason:Ee.message,frag:t||void 0,buffer:U.len,bufferInfo:U})}return Se}}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 Se=0;Se<H.length;Se++){const Ee=H[Se];if(!na(Ee)){this.updateId3CueEnds(se,G);const Je=Pf(C,se,ue,Ee,G);Je&&this.id3Track.addCue(Je)}}}}}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],Se=C[ve].cues;delete C[ve],Object.keys(Se).forEach(Ee=>{try{const Je=Se[Ee];Je.removeEventListener("enter",this.onEventCueEnter),s.removeCue(Je)}catch(Je){}})}}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],Se=ve.startTime,Ee=C[ue],Je=(Ee==null?void 0:Ee.cues)||{};let at=(Ee==null?void 0:Ee.durationKnown)||!1,jt=wc;const{duration:ir,endDate:er}=ve;if(er&&ir!==null)jt=Se+ir,at=!0;else if(ve.endOnNext&&!at){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,at=!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=Je[ln];if(Wr)at&&!Ee.durationKnown?Wr.endTime=jt:Math.abs(Wr.startTime-Se)>.01&&(Wr.startTime=Se,Wr.endTime=jt);else if(H){let an=ve.attr[ln];On(ln)&&(an=$f(an));const Kr=Pf(H,Se,jt,{key:ln,data:an},Hi.dateRange);Kr&&(Kr.id=ue,this.id3Track.addCue(Kr),Je[ln]=Kr,this.hls.config.interstitialsController&&(ln==="X-ASSET-LIST"||ln==="X-ASSET-URL")&&Kr.addEventListener("enter",this.onEventCueEnter))}}C[ue]={cues:Je,dateRange:ve,durationKnown:at}}}}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,Se=Math.min(ue,Math.max(1,ve));this.changeMediaPlaybackRate(n,Se)}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:Se,videoCodec:Ee}=se;Se&&(se.audioCodec=Se=St(Se,s)||void 0),((ue=Ee)==null?void 0:ue.indexOf("avc1"))===0&&(Ee=se.videoCodec=Sr(Ee));const{width:Je,height:at,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=Se=Se?`${Se},${ci}`:ci,ir--,zt.audio[Se.substring(0,4)]=2):this.isVideoSupported(ci)&&(se.videoCodec=Ee=Ee?`${Ee},${ci}`:ci,ir--,zt.video[Ee.substring(0,4)]=2)}if(U||(U=!!(Je&&at)),G||(G=!!Ee),H||(H=!!Se),ir||Se&&!this.isAudioSupported(Se)||Ee&&!this.isVideoSupported(Ee)){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:Ee,videoRange:Je,width:at,height:jt})=>(!!Ee||!!(at&&jt))&<(Je))),G.length===0){Promise.resolve().then(()=>{if(this.hls){let Ee="no level with compatible codecs found in manifest",Je=Ee;n.levels.length&&(Je=`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(Je),Ee+=` (${Je})`);const at=new Error(Ee);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:at,reason:Je})}});return}n.audioTracks&&(C=n.audioTracks.filter(Ee=>!Ee.audioCodec||this.isAudioSupported(Ee.audioCodec)),_f(C)),n.subtitles&&(U=n.subtitles,_f(U));const H=G.slice(0);G.sort((Ee,Je)=>{if(Ee.attrs["HDCP-LEVEL"]!==Je.attrs["HDCP-LEVEL"])return(Ee.attrs["HDCP-LEVEL"]||"")>(Je.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&Ee.height!==Je.height)return Ee.height-Je.height;if(Ee.frameRate!==Je.frameRate)return Ee.frameRate-Je.frameRate;if(Ee.videoRange!==Je.videoRange)return vr.indexOf(Ee.videoRange)-vr.indexOf(Je.videoRange);if(Ee.videoCodec!==Je.videoCodec){const at=Qe(Ee.videoCodec),jt=Qe(Je.videoCodec);if(at!==jt)return jt-at}if(Ee.uri===Je.uri&&Ee.codecSet!==Je.codecSet){const at=Oe(Ee.codecSet),jt=Oe(Je.codecSet);if(at!==jt)return jt-at}return Ee.averageBitrate!==Je.averageBitrate?Ee.averageBitrate-Je.averageBitrate:0});let se=H[0];if(this.steering&&(G=this.steering.filterParsedLevels(G),G.length!==H.length)){for(let Ee=0;Ee<H.length;Ee++)if(H[Ee].pathwayId===G[0].pathwayId){se=H[Ee];break}}this._levels=G;for(let Ee=0;Ee<G.length;Ee++)if(G[Ee]===se){var ue;this._firstLevel=Ee;const Je=se.bitrate,at=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${G.length} level(s) found, first bitrate: ${Je}`),((ue=this.hls.userConfig)==null?void 0:ue.abrEwmaDefaultEstimate)===void 0){const jt=Math.min(Je,this.hls.config.abrEwmaDefaultEstimateMax);jt>at&&at===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=jt)}break}const ve=E&&!m,Se={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(Ee=>!!Ee.url)};this.hls.trigger(o.MANIFEST_PARSED,Se)}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(je(t,"video")))||["mp4a.40.2","fLaC"].some(t=>w.isTypeSupported(je(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 Je={};this.altAudio===2&&(Je.type="video"),this.hls.trigger(o.BUFFER_EOS,Je),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 Se=this.getNextFragment(ve,H);if(this.couldBacktrack&&!this.fragPrevious&&Se&&de(Se)&&this.fragmentTracker.getState(Se)!==br.OK){var Ee;const at=((Ee=this.backtrackFragment)!=null?Ee:Se).sn-H.startSN,jt=H.fragments[at-1];jt&&Se.cc===jt.cc&&(Se=jt,this.fragmentTracker.removeFragment(jt))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(Se&&this.isLoopLoading(Se,ve)){if(!Se.gap){const at=this.audioOnly&&!this.altAudio?L.AUDIO:L.VIDEO,jt=(at===L.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;jt&&this.afterBufferFlushed(jt,at,u.MAIN)}Se=this.getNextFragmentLoopLoading(Se,H,U,u.MAIN,ue)}Se&&(Se.initSegment&&!Se.initSegment.data&&!this.bitrateTest&&(Se=Se.initSegment),this.loadFragment(Se,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),Se=this.transmuxer=this.transmuxer||new bl(this.hls,u.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Ee=m?m.index:-1,Je=Ee!==-1,at=new ws(s.level,s.sn,s.stats.chunkCount,E.byteLength,Ee,Je),jt=this.initPTS[s.cc];Se.push(E,ue,ve,H,s,m,G.totalduration,se,at,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!==L.AUDIO||!this.altAudio){const s=(n===L.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:Se,initSegment:Ee}=E,{details:Je}=se,at=this.altAudio?void 0:E.audio;if(this.fragContextChanged(G)){this.fragmentTracker.removeFragment(G);return}if(this.state=Hr.PARSING,Ee){if(Ee!=null&&Ee.tracks){const er=G.initSegment||G;this._bufferInitSegment(se,Ee.tracks,er,C),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:er,id:s,tracks:Ee.tracks})}const jt=Ee.initPTS,ir=Ee.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&&Je){const jt=Je.fragments[G.sn-1-Je.startSN],ir=G.sn===Je.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-(Je.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(at){const{startPTS:jt,endPTS:ir,startDTS:er,endDTS:Fr}=at;H&&(H.elementaryStreams[L.AUDIO]={startPTS:jt,endPTS:ir,startDTS:er,endDTS:Fr}),G.setElementaryStreamInfo(L.AUDIO,jt,ir,er,Fr),this.bufferFragmentData(at,G,H,C)}if(Je&&Se!=null&&(n=Se.samples)!=null&&n.length){const jt={id:s,frag:G,details:Je,samples:Se.samples};m.trigger(o.FRAG_PARSING_METADATA,jt)}if(Je&&ve){const jt={id:s,frag:G,details:Je,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=Qr(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,Se,Ee,Je)=>{const{frag:at,keyInfo:jt,url:ir}=Ee;if(!at.decryptdata||jt!==this.keyUriToKeyInfo[ir])return U(this.createKeyLoadError(at,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),Je));jt.decryptdata.key=at.decryptdata.key=new Uint8Array(ve.data),at.keyLoader=null,jt.loader=null,C({frag:at,keyInfo:jt})},onError:(ve,Se,Ee,Je)=>{this.resetLoader(Se),U(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${ve.code} loading key ${ve.text}`),Ee,b({url:G.url,data:void 0},ve)))},onTimeout:(ve,Se,Ee)=>{this.resetLoader(Se),U(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Ee))},onAbort:(ve,Se,Ee)=>{this.resetLoader(Se),U(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Ee))}};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 Se=this.getInternalLoader(ue);this.resetInternalLoader(ue.type);const Ee=H.data;if(Ee.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(H,ue,new Error("no EXTM3U delimiter"),ve||null,se);return}se.parsing.start=performance.now(),Eo.isMediaPlaylist(Ee)||ue.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(H,se,ue,ve||null,Se):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:Se,variableList:Ee}=G;this.variableList=Ee;const{AUDIO:Je=[],SUBTITLES:at,"CLOSED-CAPTIONS":jt}=Eo.parseMasterPlaylistMedia(C,U,G);Je.length&&!Je.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"),Je.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:Je,subtitles:at,captions:jt,contentSteering:H,url:U,stats:n,networkDetails:m,sessionData:ue,sessionKeys:ve,startTimeOffset:Se,variableList:Ee})}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),Se=Eo.parseLevelPlaylist(t.data,se,ue,ve,0,this.variableList);if(H===h.MANIFEST){const Ee={attrs:new ta({}),bitrate:0,details:Se,name:"",url:se};Se.requestScheduled=n.loading.start+kn(Se,0),C.trigger(o.MANIFEST_LOADED,{levels:[Ee],audioTracks:[],url:se,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Se,this.handlePlaylistLoaded(Se,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,Se=ge(n,m),Ee=z(m),Je=typeof m.level=="number"&&Ee===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:Se,error:jt,reason:jt.message,response:n,context:m,level:Je,parent:Ee,networkDetails:E,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const at=t.playlistParsingError;if(at){if(this.hls.logger.warn(at),!U.config.ignorePlaylistParsingErrors){U.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Se,error:at,reason:at.message,response:n,context:m,level:Je,parent:Ee,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:Je||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 ot{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 ot.defaultConfig?ot.defaultConfig:cf}static set DefaultConfig(t){ot.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(ot.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,Se=ve?this.interstitialsController=new ve(this,ot):null,Ee=this.bufferController=new E(this,ue),Je=this.capLevelController=new C(this),at=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);Je.setStreamController(Wr),at.setStreamController(Wr);const yn=[jt,Fr,Wr];Se&&yn.splice(1,0,Se),er&&yn.splice(1,0,er),this.networkControllers=yn;const Kr=[se,Ee,an,Je,at,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 gt(t,s,navigator.mediaCapabilities)}}ot.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 M(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=M,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:"610a5c73",109:"41a3c364",195:"92cffdac",264:"0e913148",265:"b355dd13",278:"79cb3652",292:"1d365f8d",310:"54bb26fe",316:"1f60ada6",337:"13252c9a",342:"d67d9b9a",354:"d4d139cf",479:"cb1f173a",485:"59a48868",508:"a85742e8",532:"2c1b9917",533:"e5a3bbc6",547:"3b89fa9b",556:"6b181cd4",559:"c1b5407c",570:"6e3882ff",576:"c4019958",629:"44a1d9a5",643:"92ee2d76",671:"4a609b8d",672:"37450f7c",680:"5cfeaedf",700:"32e9347a",737:"97542717",741:"ac5fd360",799:"b232dfaa",869:"ebef3244",895:"54118fc8",921:"ea7d46fb",928:"832b16fc",981:"24da50c7",1006:"57045f9f",1043:"f9115961",1045:"f71e96c2",1048:"90ae4838",1070:"2bbb6f26",1144:"c90eccaf",1148:"e123b473",1154:"8cb80842",1188:"95b9edeb",1211:"961c0c29",1253:"14956cae",1257:"ff5f4b4b",1265:"e00bb72f",1274:"5f6ea65a",1276:"1232c571",1343:"c3e74d2a",1416:"13efa849",1423:"c0dca4fb",1427:"f469fd33",1450:"bba4318f",1461:"b110eb38",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:"d803af96",1717:"c62366a7",1727:"1a5a7e41",1783:"48d225de",1799:"a3991011",1831:"e6fd8f89",1836:"c220805c",1855:"18c35631",1880:"010e520a",1939:"a97c3db8",1953:"41daaabf",1962:"b40ad8da",2011:"59d51f98",2045:"7ba792fc",2076:"683b7a28",2102:"e89c60e6",2141:"14dee967",2216:"d90f3d03",2240:"0f3cbb90",2249:"f4830452",2254:"1103017a",2300:"e1bf89cf",2303:"0bc17daf",2307:"94c28f7e",2338:"6f38fca2",2339:"0b7eb40e",2386:"192e235c",2396:"a7b7f8ca",2404:"b05421af",2412:"41f78533",2413:"db3cfa73",2425:"19aba420",2443:"d71bbec3",2476:"99b8606d",2494:"68080a87",2501:"00cfd1ba",2509:"95753e21",2529:"4a409128",2538:"de4a3723",2539:"5ed59e76",2548:"a8fbf09d",2570:"cd046697",2594:"e87d3761",2603:"54bfd052",2654:"5e49bbf5",2659:"c0671c95",2707:"f349ea60",2806:"b45e4131",2819:"40be0883",2823:"796b62fc",2826:"71ba03f0",2829:"7f623b7e",2837:"54a82605",2865:"dc6aaae7",2875:"94795336",2884:"ccc4ba38",2969:"ab3357d7",2983:"81ce2380",3006:"0c33b4f0",3133:"9bf3f89c",3141:"c3718062",3157:"c9f357fe",3183:"c60406fb",3198:"8e655451",3212:"57bcb6c1",3220:"31a2f900",3247:"9a171d91",3260:"cc293fd2",3267:"7bab569a",3276:"a2f501c6",3282:"e9b14950",3317:"424d4280",3332:"d99ab07d",3355:"1999ce12",3356:"a5afb9c5",3391:"00ddeb53",3433:"bd332fd8",3442:"e3d2423c",3447:"1e9582ee",3451:"51fb556e",3496:"de9ced63",3509:"5c270ac8",3550:"3dc83156",3581:"d02734ab",3585:"2ce6a2ed",3665:"695041d1",3668:"a302d23f",3697:"481a10d9",3747:"72c48668",3754:"8a42053c",3777:"d5b0f2f1",3784:"9ae968e5",3805:"9dbcb95e",3862:"41064403",3873:"8ba5297c",3885:"f87f7f15",3910:"badbd452",3935:"8d6059c2",3951:"a1e276dd",3987:"a5fa1e4d",4014:"27a8e97c",4017:"b1859413",4030:"d60bde26",4056:"3b76996e",4058:"4b8bcbfb",4078:"185ef1bc",4088:"236723f3",4093:"55abdac2",4105:"7814eeab",4144:"07e2f551",4164:"5f19b0d9",4184:"ff08337d",4216:"1c2d22eb",4217:"47867fad",4227:"551d4e86",4259:"7527addd",4264:"1f57a794",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"def1e764",4492:"ea77b119",4496:"31c1bf16",4498:"5b9ab9df",4504:"80d36b42",4514:"7795d8af",4520:"78484881",4546:"afb7a70b",4565:"34ca03e6",4572:"06fb93fc",4599:"61def4cb",4601:"2b92ed20",4610:"6f1cf0cb",4621:"62a4a8b2",4628:"ece2c60c",4662:"5e2d9b6e",4685:"c33f1528",4715:"ca178dd0",4736:"a12e9a42",4741:"032c8da5",4757:"ca92561b",4766:"d267690e",4770:"8dd4f97f",4790:"619413e4",4795:"4edb13ab",4797:"a24e92db",4800:"81e35ea6",4849:"0857b5b7",4850:"1edda4b7",4862:"81fc9060",4884:"c0724104",4889:"d258fa24",4928:"28a19e48",4973:"242caa1a",4994:"cd9784be",5022:"6cf35daa",5043:"ca2729ac",5048:"999dcbf8",5060:"85dafcc6",5096:"069fc2d9",5111:"9d8ae95a",5125:"edf1a30d",5148:"70aa3de0",5176:"61cb7b49",5179:"18ce2532",5186:"37a751ae",5191:"ea8cb87b",5238:"88235e6b",5290:"5dabcdc2",5297:"2bdb9fb2",5319:"e6da2aaa",5321:"1163c84e",5335:"514012f2",5354:"7ae70604",5357:"2c86df7f",5359:"4e16f788",5382:"36a7e0ac",5402:"744da6bf",5416:"454536b7",5434:"38b302a6",5470:"91acd208",5494:"d89549c4",5518:"92bb0cc5",5549:"868e0d0a",5572:"bb9daff6",5573:"3e51b2e0",5599:"eb3c292d",5624:"cf771be9",5631:"e00d3d36",5650:"56f167ae",5679:"4a090bef",5705:"41d2c5f1",5729:"c00ffdae",5764:"e0d7e586",5775:"22f2e9b0",5786:"ae92d5f7",5798:"42f0887c",5816:"bcf18e5c",5825:"e773cfe6",5876:"5eded409",5886:"490e40cd",5888:"dfaebb48",5891:"8e2fa740",5895:"4b5481de",5902:"7cd1f947",5915:"be52cf50",5972:"97f6f51b",5992:"9f868259",6029:"fb375dfe",6034:"fe6c7c3e",6045:"d268f87f",6047:"3ce45acd",6052:"1898c611",6063:"d3f940ad",6069:"5324d3f7",6126:"99519171",6127:"c6cfdc1a",6170:"07f25c2b",6265:"5a2c3565",6270:"4fe58fea",6277:"d7e2fd41",6328:"80484f26",6366:"8e178fa0",6378:"7f3a946a",6411:"7d1994e3",6434:"ad308506",6444:"e60eb700",6452:"27483645",6531:"eac0ffe2",6541:"ad57488e",6583:"fe9fc10f",6587:"06086327",6634:"51e9a4e3",6651:"3c975bed",6675:"3fe93ad4",6685:"db619ca8",6729:"773bbde3",6741:"66024dc6",6758:"a6ebaec2",6774:"59d4d618",6784:"cf8d7ee4",6788:"62557ba4",6796:"92b8fb84",6805:"75d6f20e",6820:"0a3a6307",6845:"b6812cc4",6882:"bbc43576",6883:"6cb80143",6904:"7e5f687f",6913:"f3ae2021",6963:"4c8ec4c4",6982:"d23c348d",7008:"bc80f084",7043:"e04a8c28",7045:"8300cac2",7046:"0b4c2083",7058:"2e179147",7062:"edac11a2",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:"4ede0808",7482:"dc3069a8",7527:"cbc59715",7545:"3798ccdc",7560:"45ff3853",7589:"0f9b4344",7591:"8354027c",7614:"2b342611",7622:"8d77cff0",7631:"dee68dc0",7686:"4fcec9f9",7706:"c2a79e40",7806:"3baa01b4",7852:"280dc0a4",7855:"2861791d",7857:"c83de972",7878:"a0fbd301",7884:"afc9dc37",7922:"73ab34ee",7948:"f05bcdbc",7964:"29aed9a1",8014:"c90be913",8062:"93095cf4",8072:"fe9a0a02",8077:"448cf5ab",8085:"2d81509c",8089:"d536b13a",8143:"a32bd7e8",8155:"e4bba52a",8161:"83c5fa9a",8237:"b1bc9d79",8241:"2d5d6437",8302:"1629f21b",8307:"24eed329",8340:"39c85824",8350:"07df8a75",8365:"0d4517f4",8398:"3a78e845",8431:"cf20462c",8435:"cf745377",8447:"1c472614",8517:"a0029897",8561:"333e8ec9",8563:"f03c83c0",8600:"ef0c4e2b",8634:"2f37f271",8639:"68809bd0",8665:"88f5987a",8688:"6c381a14",8689:"1a5a7cd8",8723:"35dbdc5d",8737:"ce7dad23",8776:"0ad26240",8782:"ed00ab15",8787:"d34b726d",8797:"6aa0f202",8823:"4a4cf1b2",8827:"d8d038a7",8842:"9f25a3e2",8866:"2ebea658",8882:"ceccc690",8885:"46b0088a",8898:"d002bcd8",8909:"82cefd99",8920:"7f82440c",8963:"790aecdd",8982:"c51111cc",8999:"12cf3ee7",9076:"e0aaaea3",9104:"bbcb2345",9133:"ebc3805b",9205:"4c7d3a16",9215:"0206d198",9252:"0d791a59",9260:"cf5f8140",9332:"c78101bd",9360:"a16c3086",9366:"dd08abde",9391:"84dd65c2",9404:"9fcc3d3e",9408:"45a96c6f",9416:"f7fd7080",9487:"bbefb860",9489:"79ad516e",9507:"ddda36f5",9519:"f7e77954",9554:"ed358e7b",9559:"f794af19",9590:"354a5c87",9647:"c1489d3b",9649:"cf89daca",9674:"af8d1a44",9677:"e4f97a85",9695:"230b77b9",9715:"06bb626f",9716:"8cc894f5",9785:"df4b74d7",9788:"d6208b5c",9890:"80a7510d",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:"4c1ff0fa",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:"10388497",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:"f735c547",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"49ca09b2",3267:"03cdfb68",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"53db048d",3355:"39e3d07c",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"7630d0f9",3585:"5f288e7b",3665:"99f7daed",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:"7acb8825",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:"08684a02",5992:"419f5d2f",6029:"2ded5a5a",6052:"6963b012",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"a67f9b79",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"97309d03",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:"1bd08f60",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:"6e84a8f6",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),M=__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),L=__webpack_require__(91550),Q=__webpack_require__(85223),de=__webpack_require__(7154),we=__webpack_require__(67788),Pe=__webpack_require__(96009),Ue=__webpack_require__(9402),Be=__webpack_require__(62489),Ft=__webpack_require__(80881),mt=__webpack_require__(62837),Pt=__webpack_require__(4705),Qt=__webpack_require__(13941),qt=__webpack_require__(1148),Jt=__webpack_require__(82445),Xe=__webpack_require__(27267),It=__webpack_require__(96353),Ut=__webpack_require__(90308),ut=__webpack_require__(84818),bt=__webpack_require__(80585),pt=__webpack_require__(89170),tt=__webpack_require__(71012),ze=__webpack_require__(84203),ye=__webpack_require__(22112),Te=__webpack_require__(81440),Me=__webpack_require__(25430),$e=__webpack_require__(70105),We=__webpack_require__(71390),it=__webpack_require__(96844),ft=__webpack_require__(83578),Vt=__webpack_require__(69762),Ht=__webpack_require__(76880),De=__webpack_require__(65009),et=__webpack_require__(28796),Wt=__webpack_require__(56450),Rt=__webpack_require__(78342),Zt=__webpack_require__(13161),Bt=__webpack_require__(54226),At=__webpack_require__(70201),Kt=__webpack_require__(34941),Ge=__webpack_require__(85671),fe=__webpack_require__(35152),_e=__webpack_require__(85660),Ot=__webpack_require__(80031),Ie=__webpack_require__(34434),ht=__webpack_require__(83579),zt=__webpack_require__(74307),Ct=__webpack_require__(97423),ke=__webpack_require__(93321),wt=__webpack_require__(82277),je=__webpack_require__(61425),Qe=__webpack_require__(61873),Oe=__webpack_require__(9307),kt=__webpack_require__(8821),Fe=__webpack_require__(64385),Dr=__webpack_require__(64099),St=__webpack_require__(62455),Gr=__webpack_require__(79965),Qr=__webpack_require__(59118),Sr=__webpack_require__(275),Or=__webpack_require__(31919),hr=__webpack_require__(51284),$r=__webpack_require__(10177),nn=__webpack_require__(85690),on=__webpack_require__(92114),sr=__webpack_require__(1017),Mt=__webpack_require__(14480),gt=__webpack_require__(40516),yt=__webpack_require__(76345),Nt=__webpack_require__(7282),Cr=__webpack_require__(58055),vr=__webpack_require__(93547),lt=__webpack_require__(31237),Lr=__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),ct=__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),vt=__webpack_require__(49988),nt=__webpack_require__(38823),Dt=__webpack_require__(24627),_t=__webpack_require__(4045),ur=__webpack_require__(50747),cr=__webpack_require__(43595),Tr=__webpack_require__(92324),Ur=__webpack_require__(23551),He=__webpack_require__(74521),rt=__webpack_require__(57891),xe=__webpack_require__(84138),st=__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),Mr=__webpack_require__(91809),yr=__webpack_require__(77517),fn=__webpack_require__(30149),zn=__webpack_require__(55410),dt=__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),Lt=__webpack_require__(27427),Gt=__webpack_require__(43890),dr=__webpack_require__(55844),Rr=__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),Ae=__webpack_require__(28566),wr=__webpack_require__(51697),Xr=__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),Ke=__webpack_require__(6736),Z=__webpack_require__(8774),X=__webpack_require__(94065),te=__webpack_require__(93036),pe=__webpack_require__(75708),Ce=__webpack_require__(84624),Ve=__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:"/",redirect:"/paths",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"1",id:"3"},4:{path:"/paperlibrary",parentId:"3",id:"4"},5:{path:"/paperlibrary/add",parentId:"3",id:"5"},6:{path:"/paperlibrary/add/:id",parentId:"3",id:"6"},7:{path:"/paperlibrary/see/:id",parentId:"3",id:"7"},8:{path:"/paperlibrary/edit_select/:id",parentId:"3",id:"8"},9:{path:"/paperlibrary/exchangequestion",parentId:"3",id:"9"},10:{path:"/paths",parentId:"1",id:"10"},11:{path:"/paths",parentId:"10",id:"11"},12:{path:"/paths/higherVocationalEducation",parentId:"10",id:"12"},13:{path:"/paths/new",parentId:"10",id:"13"},14:{path:"/paths/guidance",exact:!0,parentId:"10",id:"14"},15:{path:"/paths/:pathId",parentId:"10",id:"15"},16:{path:"/paths/:pathId/statistics",parentId:"10",id:"16"},17:{path:"/paths/:pathId/edit",parentId:"10",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"10",id:"18"},19:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"10",id:"19"},20:{path:"/classrooms",parentId:"1",id:"20"},21:{path:"/classrooms",parentId:"20",id:"21"},22:{path:"/classrooms/examList",parentId:"20",id:"22"},23:{path:"/classrooms/classicCases",parentId:"20",id:"23"},24:{path:"/classrooms/index",parentId:"20",id:"24"},25:{path:"/classrooms/new",parentId:"20",id:"25"},26:{path:"/classrooms/:coursesId/edit",parentId:"20",id:"26"},27:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"20",id:"27"},28:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"20",id:"28"},29:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"20",id:"29"},30:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"20",id:"30"},31:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"20",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"20",id:"32"},33:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"20",id:"33"},34:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"20",id:"34"},35:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"20",id:"35"},36:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"20",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"20",id:"37"},38:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"20",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"20",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"20",id:"40"},41:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"20",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"20",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"20",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"20",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"20",id:"45"},46:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"20",id:"46"},47:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"20",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"20",id:"48"},49:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"20",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add",parentId:"20",id:"50"},51:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"20",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"20",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"20",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"20",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"20",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"20",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"20",id:"57"},58:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"20",id:"58"},59:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"20",id:"59"},60:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"20",id:"60"},61:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"20",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"20",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"20",id:"63"},64:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"20",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"20",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"20",id:"66"},67:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"20",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"20",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"20",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"20",id:"70"},71:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"20",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"20",id:"72"},73:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"20",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"20",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"20",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"20",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"20",id:"77"},78:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"20",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"20",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"20",id:"80"},81:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"20",id:"81"},82:{path:"/classrooms/:courseId/template/:templateId",parentId:"20",id:"82"},83:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"20",id:"83"},84:{path:"/classrooms/guidance",parentId:"20",id:"84"},85:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"20",id:"85"},86:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"20",id:"86"},87:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"20",id:"87"},88:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"20",id:"88"},89:{path:"/classrooms/:coursesId/engineering/datail",parentId:"20",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"20",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"20",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"20",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"20",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"20",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"20",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"20",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"20",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"20",id:"98"},99:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"20",id:"99"},100:{path:"/classrooms/:videoId/video_info",parentId:"20",id:"100"},101:{path:"/classrooms/",parentId:"20",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"101",id:"102"},103:{path:"/classrooms/:coursesId/shixun_homework",parentId:"101",id:"103"},104:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"101",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"105"},106:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"106"},107:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"101",id:"107"},108:{path:"/classrooms/:coursesId/exercise",parentId:"101",id:"108"},109:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"101",id:"109"},110:{path:"/classrooms/:coursesId/poll",parentId:"101",id:"110"},111:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"101",id:"111"},112:{path:"/classrooms/:coursesId/common_homework",parentId:"101",id:"112"},113:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"101",id:"113"},114:{path:"/classrooms/:coursesId/group_homework",parentId:"101",id:"114"},115:{path:"/classrooms/:coursesId/teachers",parentId:"101",id:"115"},116:{path:"/classrooms/:coursesId/students",parentId:"101",id:"116"},117:{path:"/classrooms/:coursesId/assistant",parentId:"101",id:"117"},118:{path:"/classrooms/:coursesId/program_homework",parentId:"101",id:"118"},119:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"101",id:"119"},120:{path:"/classrooms/:coursesId/engineering",parentId:"101",id:"120"},121:{path:"/classrooms/:coursesId/learning_path",parentId:"101",id:"121"},122:{path:"/classrooms/:coursesId/resource_recommend",parentId:"101",id:"122"},123:{path:"/classrooms/:coursesId/attendance",parentId:"101",id:"123"},124:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"101",id:"124"},125:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"101",id:"125"},126:{path:"/classrooms/:coursesId/announcement",parentId:"101",id:"126"},127:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"101",id:"127"},128:{path:"/classrooms/:coursesId/online_learning",parentId:"101",id:"128"},129:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"101",id:"129"},130:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"101",id:"130"},131:{path:"/classrooms/:coursesId/attachment",parentId:"101",id:"131"},132:{path:"/classrooms/:coursesId/video",parentId:"101",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"101",id:"133"},134:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"101",id:"134"},135:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"101",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"101",id:"136"},137:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"101",id:"137"},138:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"101",id:"138"},139:{path:"/classrooms/:coursesId/live_video",parentId:"101",id:"139"},140:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"101",id:"140"},141:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"101",id:"141"},142:{path:"/classrooms/:coursesId/board",parentId:"101",id:"142"},143:{path:"/classrooms/:coursesId/course_group",parentId:"101",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"101",id:"144"},145:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"101",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"101",id:"146"},147:{path:"/classrooms/:coursesId/not_course_group",parentId:"101",id:"147"},148:{path:"/classrooms/:coursesId/statistics/",parentId:"101",id:"148"},149:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"101",id:"149"},150:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"101",id:"150"},151:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"101",id:"151"},152:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"101",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"101",id:"153"},154:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"101",id:"154"},155:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"101",id:"155"},156:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"101",id:"156"},157:{path:"/classrooms/:coursesId",parentId:"101",id:"157"},158:{path:"/classrooms/:coursesId/template",parentId:"101",id:"158"},159:{path:"/competitions",parentId:"1",id:"159"},160:{path:"/competitions/index",parentId:"159",id:"160"},161:{path:"/competitions/:identifier/list",parentId:"159",id:"161"},162:{path:"/competitions/exports",parentId:"159",id:"162"},163:{path:"/competitions",parentId:"159",id:"163"},164:{path:"/competitions/:identifier",parentId:"159",id:"164"},165:{path:"/competitions/index/:identifier",parentId:"159",id:"165"},166:{path:"/competitions/:identifier/detail/enroll",parentId:"159",id:"166"},167:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"159",id:"167"},168:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"159",id:"168"},169:{path:"/competitions/detail/:identifier",parentId:"159",id:"169"},170:{path:"/forums",parentId:"1",id:"170"},171:{path:"/forums",parentId:"170",id:"171"},172:{path:"/forums/categories/:memoType",parentId:"170",id:"172"},173:{path:"/forums/new",parentId:"170",id:"173"},174:{path:"/forums/:memoId/edit",parentId:"170",id:"174"},175:{path:"/forums/:memoId",parentId:"170",id:"175"},176:{path:"/problemset",parentId:"1",id:"176"},177:{path:"/problemset",parentId:"176",id:"177"},178:{path:"/problemset/newitem",parentId:"176",id:"178"},179:{path:"/problemset/:type/:id",parentId:"176",id:"179"},180:{path:"/problemset/preview",parentId:"176",id:"180"},181:{path:"/problemset/preview_new",parentId:"176",id:"181"},182:{path:"/problemset/preview_select",parentId:"176",id:"182"},183:{path:"/shixuns",parentId:"1",id:"183"},184:{path:"/shixuns",parentId:"183",id:"184"},185:{path:"/shixuns/exports",parentId:"183",id:"185"},186:{path:"/shixuns/new",parentId:"183",id:"186"},187:{path:"/shixuns/new/CreateImg",parentId:"183",id:"187"},188:{path:"/shixuns/new/:id/imagepreview",parentId:"183",id:"188"},189:{path:"/shixuns/:id/Merge",parentId:"183",id:"189"},190:{path:"/shixuns/:id/Split",parentId:"183",id:"190"},191:{path:"/shixuns/:id/edit",parentId:"183",id:"191"},192:{path:"shixuns/:id/edit/warehouse",parentId:"191",id:"192"},193:{path:"/shixuns/:id/edit/newquestion",parentId:"191",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"191",id:"194"},195:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"191",id:"195"},196:{path:"/shixuns/:id/edit/new",parentId:"191",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"191",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"191",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"191",id:"199"},200:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"191",id:"200"},201:{path:"/shixuns/:id",parentId:"183",id:"201"},202:{path:"/shixuns/:id/challenges",parentId:"201",id:"202"},203:{path:"/shixuns/:id/repository",parentId:"201",id:"203"},204:{path:"/shixuns/:id/secret_repository",parentId:"201",id:"204"},205:{path:"/shixuns/:id/collaborators",parentId:"201",id:"205"},206:{path:"/shixuns/:id/dataset",parentId:"201",id:"206"},207:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"201",id:"207"},208:{path:"/shixuns/:id/shixun_discuss",parentId:"201",id:"208"},209:{path:"/shixuns/:id/ranking_list",parentId:"201",id:"209"},210:{path:"/shixuns/:id/settings",parentId:"201",id:"210"},211:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"201",id:"211"},212:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"201",id:"212"},213:{path:"/shixuns/:id/repository/upload_file",parentId:"201",id:"213"},214:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"201",id:"214"},215:{path:"/shixuns/:id/repository/add_file",parentId:"201",id:"215"},216:{path:"/shixuns/:id/secret_repository/add_file",parentId:"201",id:"216"},217:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"217"},218:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"218"},219:{path:"/shixuns/:id/audit_situation",parentId:"201",id:"219"},220:{path:"/shixuns/:id/fork_list",parentId:"201",id:"220"},221:{path:"/users",parentId:"1",id:"221"},222:{path:"/users/:username/videos/protocol",parentId:"221",id:"222"},223:{path:"/users/:username/videos/resourceProtocol",parentId:"221",id:"223"},224:{path:"/users/:username/videos/success",parentId:"221",id:"224"},225:{path:"/users/:username/topicbank/:topicstype",parentId:"221",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"221",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"221",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"221",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"221",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"221",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"221",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"221",id:"232"},233:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"221",id:"233"},234:{path:"/users/:username/experiment-img/add",parentId:"221",id:"234"},235:{path:"/users/:username",parentId:"221",id:"235"},236:{path:"/users/:username",parentId:"235",id:"236"},237:{path:"/users/:username/baseInfo/edit",parentId:"235",id:"237"},238:{path:"/users/:username/baseInfo",parentId:"235",id:"238"},239:{path:"/users/:username/realNameCertification",parentId:"235",id:"239"},240:{path:"/users/:username/careerCertification",parentId:"235",id:"240"},241:{path:"/users/:username/classrooms",parentId:"235",id:"241"},242:{path:"/users/:username/shixuns",parentId:"235",id:"242"},243:{path:"/users/:username/dataSet",parentId:"235",id:"243"},244:{path:"/users/:username/userPortrait",parentId:"235",id:"244"},245:{path:"/users/:username/learningPath",parentId:"235",id:"245"},246:{path:"/users/:username/teach-group",parentId:"235",id:"246"},247:{path:"/users/:username/competitions",parentId:"235",id:"247"},248:{path:"/users/:username/experiment-img",parentId:"235",id:"248"},249:{path:"/users/:username/experiment-img/:experid/detail",parentId:"235",id:"249"},250:{path:"/users/:username/certificate",parentId:"235",id:"250"},251:{path:"/users/:username/otherResources",parentId:"235",id:"251"},252:{path:"/users/:username/classmanagement",parentId:"235",id:"252"},253:{path:"/users/:username/classmanagement/:couserid",parentId:"235",id:"253"},254:{path:"/users/:username/paths",parentId:"235",id:"254"},255:{path:"/users/:username/projects",parentId:"235",id:"255"},256:{path:"/users/:username/videos",parentId:"235",id:"256"},257:{path:"/users/:username/videos/upload",parentId:"235",id:"257"},258:{path:"/users/:username/topics/:topicstype",parentId:"235",id:"258"},259:{path:"/users/:username/vspaces",parentId:"235",id:"259"},260:{path:"/users/:username/resourcesCenter",parentId:"235",id:"260"},261:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"235",id:"261"},262:{path:"/users/:username/resourceGuarantee",parentId:"235",id:"262"},263:{path:"/users/:username/resourceAllocation",parentId:"235",id:"263"},264:{parentId:"1",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems",parentId:"265",id:"266"},267:{path:"/problems/batchAdd",parentId:"265",id:"267"},268:{path:"/problems/newcreate",parentId:"264",id:"268"},269:{path:"/problems/newedit/:id",exact:!0,parentId:"264",id:"269"},270:{path:"/problems/:id/edit",exact:!0,parentId:"264",id:"270"},271:{path:"/problems/new",exact:!0,parentId:"264",id:"271"},272:{path:"/problems/:id/oj/:save_identifier",parentId:"264",id:"272"},273:{path:"/problems/:id/record-detail/:submitId",parentId:"264",id:"273"},274:{path:"/problems/add",parentId:"264",id:"274"},275:{path:"/problems/:id/ojedit",parentId:"264",id:"275"},276:{path:"/engineering",parentId:"1",id:"276"},277:{path:"/engineering",parentId:"276",id:"277"},278:{path:"/engineering/teacherList",parentId:"277",id:"278"},279:{path:"/engineering/studentList",parentId:"277",id:"279"},280:{path:"/engineering/training/program",parentId:"277",id:"280"},281:{path:"/engineering/training/program/add",parentId:"277",id:"281"},282:{path:"/engineering/training/program/edit",parentId:"277",id:"282"},283:{path:"/engineering/training/objectives",parentId:"277",id:"283"},284:{path:"/engineering/graduated/index",parentId:"277",id:"284"},285:{path:"/engineering/graduated/matrix",parentId:"277",id:"285"},286:{path:"/engineering/course/list",parentId:"277",id:"286"},287:{path:"/engineering/course/setting",parentId:"277",id:"287"},288:{path:"/engineering/course/matrix",parentId:"277",id:"288"},289:{path:"/engineering/navigation",parentId:"277",id:"289"},290:{path:"/engineering/evaluate/course",parentId:"277",id:"290"},291:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"277",id:"291"},292:{path:"/engineering/evaluate/norm",parentId:"277",id:"292"},293:{path:"/engineering/evaluate/document",parentId:"277",id:"293"},294:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"277",id:"294"},295:{path:"/engineering/*",redirect:"/404",parentId:"277",id:"295"},296:{path:"/innovation",parentId:"1",id:"296"},297:{path:"/innovation/tasks/:taskId",parentId:"296",id:"297"},298:{path:"/innovation",parentId:"296",id:"298"},299:{path:"/innovation/project",parentId:"298",id:"299"},300:{path:"/innovation/dataset",parentId:"298",id:"300"},301:{path:"/innovation/mirror",parentId:"298",id:"301"},302:{path:"/innovation/my-project",parentId:"298",id:"302"},303:{path:"/innovation/my-dataset",parentId:"298",id:"303"},304:{path:"/innovation/my-mirror",parentId:"298",id:"304"},305:{path:"/innovation/project/create",parentId:"298",id:"305"},306:{path:"/innovation/project/edit/:id",parentId:"298",id:"306"},307:{path:"/innovation/project/detail/:taskId",parentId:"298",id:"307"},308:{path:"/tasks",parentId:"1",id:"308"},309:{path:"/tasks/:taskId",exact:!0,parentId:"308",id:"309"},310:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"308",id:"310"},311:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"308",id:"311"},312:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"308",id:"312"},313:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"308",id:"313"},314:{path:"/myproblems",parentId:"1",id:"314"},315:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"314",id:"315"},316:{path:"/myproblems/:id",exact:!0,parentId:"314",id:"316"},317:{path:"/account",parentId:"1",id:"317"},318:{path:"/account",parentId:"317",id:"318"},319:{path:"/account/profile",parentId:"318",id:"319"},320:{path:"/account/profile/edit",parentId:"318",id:"320"},321:{path:"/account/certification",parentId:"318",id:"321"},322:{path:"/account/secure",parentId:"318",id:"322"},323:{path:"/account/binding",parentId:"318",id:"323"},324:{path:"/account/Results",parentId:"318",id:"324"},325:{path:"/ch",parentId:"1",id:"325"},326:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"325",id:"326"},327:{path:"/ch/rest/",exact:!0,parentId:"325",id:"327"},328:{path:"/ch/rest/:id",exact:!0,parentId:"325",id:"328"},329:{path:"/order",parentId:"1",id:"329"},330:{path:"/order",parentId:"329",id:"330"},331:{path:"/order/invoice",parentId:"329",id:"331"},332:{path:"/order/records",parentId:"329",id:"332"},333:{path:"/order/apply",parentId:"329",id:"333"},334:{path:"/order/view",parentId:"329",id:"334"},335:{path:"/order/:courseId/information",parentId:"329",id:"335"},336:{path:"/order/:courseId/pay",parentId:"329",id:"336"},337:{path:"/order/:orderNum/result",parentId:"329",id:"337"},338:{path:"/messages",parentId:"1",id:"338"},339:{path:"/messages/:userId/user_tidings",parentId:"338",id:"339"},340:{path:"/messages/:userId/private_messages",parentId:"338",id:"340"},341:{path:"/messages/:userId/message_detail",parentId:"338",id:"341"},342:{path:"/vtrs",parentId:"1",id:"342"},343:{path:"/vtrs/:virtual_spacesId",parentId:"342",id:"343"},344:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"343",id:"344"},345:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"343",id:"345"},346:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"343",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"343",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"343",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"343",id:"349"},350:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"343",id:"350"},351:{path:"/vtrs/:virtual_spacesId/survey",parentId:"343",id:"351"},352:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"343",id:"352"},353:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"343",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"343",id:"354"},355:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"343",id:"355"},356:{path:"/vtrs/:virtual_spacesId/material",parentId:"343",id:"356"},357:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"343",id:"357"},358:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"343",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"343",id:"359"},360:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"343",id:"360"},361:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"343",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"343",id:"362"},363:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"343",id:"363"},364:{path:"/vtrs/:virtual_spacesId/settings",parentId:"343",id:"364"},365:{path:"/vtrs/:virtual_spacesId/resources",parentId:"343",id:"365"},366:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"343",id:"366"},367:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"343",id:"367"},368:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"343",id:"368"},369:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"343",id:"369"},370:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"343",id:"370"},371:{path:"/vtrs/:virtual_spacesId/*",parentId:"343",id:"371"},372:{path:"/101",parentId:"1",id:"372"},373:{path:"/101/:virtual_spacesId",parentId:"372",id:"373"},374:{path:"/101/:virtual_spacesId",exact:!0,parentId:"373",id:"374"},375:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"373",id:"375"},376:{path:"/101/:virtual_spacesId/experiment",parentId:"373",id:"376"},377:{path:"/101/:virtual_spacesId/announcement",parentId:"373",id:"377"},378:{path:"/101/:virtual_spacesId/announcement/add",parentId:"373",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"373",id:"379"},380:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"373",id:"380"},381:{path:"/101/:virtual_spacesId/survey",parentId:"373",id:"381"},382:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"373",id:"382"},383:{path:"/101/:virtual_spacesId/knowledge",parentId:"373",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"373",id:"384"},385:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"373",id:"385"},386:{path:"/101/:virtual_spacesId/material",parentId:"373",id:"386"},387:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"373",id:"387"},388:{path:"/101/:virtual_spacesId/lesson",parentId:"373",id:"388"},389:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"373",id:"389"},390:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"373",id:"390"},391:{path:"/101/:virtual_spacesId/discussion",parentId:"373",id:"391"},392:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"373",id:"392"},393:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"373",id:"393"},394:{path:"/101/:virtual_spacesId/settings",parentId:"373",id:"394"},395:{path:"/101/:virtual_spacesId/resources",parentId:"373",id:"395"},396:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"373",id:"396"},397:{path:"/101/:virtual_spacesId/Plan",parentId:"373",id:"397"},398:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"373",id:"398"},399:{path:"/101/:virtual_spacesId/digtal",parentId:"373",id:"399"},400:{path:"/101/:virtual_spacesId/homepage",parentId:"373",id:"400"},401:{path:"/101/:virtual_spacesId/*",parentId:"373",id:"401"},402:{path:"/administration",parentId:"1",id:"402"},403:{path:"/administration",parentId:"402",id:"403"},404:{path:"/administration/college",parentId:"403",id:"404"},405:{path:"/administration/student",parentId:"403",id:"405"},406:{path:"/administration/student/:studentId/edit",parentId:"403",id:"406"},407:{path:"/administration/profession",parentId:"403",id:"407"},408:{path:"/graduations",parentId:"1",id:"408"},409:{path:"/graduations",exact:!0,parentId:"408",id:"409"},410:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"408",id:"410"},411:{path:"/graduations/:id",parentId:"408",id:"411"},412:{path:"/graduations/:id/index",parentId:"411",id:"412"},413:{path:"/graduations/:id/topics",parentId:"411",id:"413"},414:{path:"/graduations/:id/student_selection",parentId:"411",id:"414"},415:{path:"/graduations/:id/tasks",parentId:"411",id:"415"},416:{path:"/graduations/:id/opening_report",parentId:"411",id:"416"},417:{path:"/graduations/:id/midterm_report",parentId:"411",id:"417"},418:{path:"/graduations/:id/thesis",parentId:"411",id:"418"},419:{path:"/graduations/:id/final_defense",parentId:"411",id:"419"},420:{path:"/graduations/:id/final_thesis",parentId:"411",id:"420"},421:{path:"/graduations/:id/settings",parentId:"411",id:"421"},422:{path:"/graduations/:id/teachers",parentId:"411",id:"422"},423:{path:"/graduations/:id/students",parentId:"411",id:"423"},424:{path:"/graduations/:id/archives",parentId:"411",id:"424"},425:{path:"/graduations/:id/grading_summary",parentId:"411",id:"425"},426:{path:"/dataset",parentId:"1",id:"426"},427:{path:"/dataset",exact:!0,parentId:"426",id:"427"},428:{path:"/dataset/:id/detail",exact:!0,parentId:"426",id:"428"},429:{path:"/knowledgegraph",parentId:"1",id:"429"},430:{path:"/knowledgegraph/:pathId",parentId:"429",id:"430"},431:{path:"/knowledgegraph/:pathId/statistics",parentId:"429",id:"431"},432:{path:"/onlinenum",parentId:"1",id:"432"},433:{path:"/onlinenum",parentId:"432",id:"433"},434:{path:"/shixuncontext",parentId:"1",id:"434"},435:{path:"/shixuncontext",parentId:"434",id:"435"},436:{path:"/shixuncontext/:Id/detail",parentId:"434",id:"436"},437:{path:"/educoder-demo",exact:!0,parentId:"1",id:"437"},438:{path:"/training",parentId:"1",id:"438"},439:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"438",id:"439"},440:{path:"/largeScreen",exact:!0,parentId:"1",id:"440"},441:{path:"/quality",parentId:"1",id:"441"},442:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"441",id:"442"},443:{path:"/otherlogin",exact:!0,parentId:"1",id:"443"},444:{path:"/otherloginqq",exact:!0,parentId:"1",id:"444"},445:{path:"/otherloginstart",exact:!0,parentId:"1",id:"445"},446:{path:"/pathsoverview",exact:!0,parentId:"1",id:"446"},447:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"448"},449:{path:"/login",parentId:"1",id:"449"},450:{path:"/login",parentId:"449",id:"450"},451:{path:"/user",parentId:"1",id:"451"},452:{path:"/user/login",parentId:"451",id:"452"},453:{path:"/user/register",parentId:"451",id:"453"},454:{path:"/user/reset-password",parentId:"451",id:"454"},455:{path:"/colleges",parentId:"1",id:"455"},456:{path:"/colleges/:id/statistics",parentId:"455",id:"456"},457:{path:"/help",parentId:"1",id:"457"},458:{path:"/help/:id",parentId:"457",id:"458"},459:{path:"/video",parentId:"1",id:"459"},460:{path:"/video/:videoId",parentId:"459",id:"460"},461:{path:"/terminal",parentId:"1",id:"461"},462:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"462"},463:{path:"/",parentId:"1",id:"463"},464:{path:"/",exact:!0,parentId:"463",id:"464"},465:{path:"/api/*",exact:!0,parentId:"463",id:"465"},466:{path:"/search",exact:!0,parentId:"463",id:"466"},467:{path:"/moop_cases",exact:!0,parentId:"463",id:"467"},468:{path:"/moop_cases/new",exact:!0,parentId:"463",id:"468"},469:{path:"/moop_cases/:caseId",exact:!0,parentId:"463",id:"469"},470:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"463",id:"470"},471:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"463",id:"471"},472:{path:"/randompaper",exact:!0,parentId:"463",id:"472"},473:{path:"/randompaper/edit/:id",exact:!0,parentId:"463",id:"473"},474:{path:"/randompaper/detail/:id",exact:!0,parentId:"463",id:"474"},475:{path:"/403",parentId:"463",id:"475"},476:{path:"/500",parentId:"463",id:"476"},477:{path:"/404",parentId:"463",id:"477"},478:{path:"/download",parentId:"463",id:"478"},479:{path:"/iwce",parentId:"463",id:"479"},480:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"463",id:"480"},481:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"463",id:"481"},482:{path:"/Activities",parentId:"463",id:"482"},483:{path:"/iwce/:itemname",parentId:"463",id:"483"},484:{path:"/hpc-course",parentId:"463",id:"484"},485:{path:"/user_agents",parentId:"463",id:"485"},486:{path:"/three",parentId:"463",id:"486"},487:{path:"/introduction",parentId:"463",id:"487"},488:{path:"/chatgpt",parentId:"463",id:"488"},489:{path:"/*",parentId:"463",id:"489"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:Ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),2:Ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),3:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),4:Ze.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,63041))),5:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),6:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),7:Ze.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,66415))),8: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))),9: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))),10:Ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),11:Ze.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,72324))),12:Ze.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27945))),13:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),14:Ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),15:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,24037))),16:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,38239))),17:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),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(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),20:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),21:Ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),22:Ze.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,43276))),23:Ze.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,33165))),24:Ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),25:Ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),26:Ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),27:Ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),28:Ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),29:Ze.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,74719))),30:Ze.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,79213))),31:Ze.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,24997))),32:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,9920))),33:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,56575))),34:Ze.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,67059))),35:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,21871))),36:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,52784))),37:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,93982))),38:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,99061))),39:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,4654))),40:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,44180))),41:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,69993))),42:Ze.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,88810))),43:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,42562))),44: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))),45:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,50357))),46:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,72560))),47:Ze.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,74139))),48:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),49:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,76175))),50:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),51:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),52:Ze.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,1464))),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(()=>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))),55:Ze.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,69884))),56:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,17950))),57:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,56954))),58:Ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),59:Ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),60:Ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),61:Ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),62:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,19116))),63:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,15732))),64:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,84625))),65:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,89859))),66:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,427))),67:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,90923))),68:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,60884))),69:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,72794))),70:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,4549))),71:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,75405))),72:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,8993))),73:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,79131))),74:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,15056))),75:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,52796))),76:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,40222))),77:Ze.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,94453))),78:Ze.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,59325))),79:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,852))),80:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,94884))),81:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,89590))),82:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,55964))),83:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,4056))),84:Ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),85:Ze.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,43928))),86:Ze.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,18522))),87:Ze.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,39306))),88:Ze.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,43125))),89:Ze.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,17203))),90:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),91:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),92:Ze.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,92435))),93:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,74020))),94:Ze.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,16286))),95:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,11091))),96:Ze.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,30056))),97:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,37710))),98:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,55818))),99:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,24400))),100:Ze.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,37183))),101:Ze.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,60917))),102:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),103:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),104:Ze.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,11790))),105:Ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),106:Ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),107:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),108:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),109:Ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),110:Ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),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(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),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(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),115:Ze.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,17425))),116:Ze.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,98247))),117:Ze.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,49412))),118:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),119:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),120:Ze.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,4573))),121:Ze.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,66676))),122:Ze.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,81357))),123:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),124:Ze.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,17081))),125:Ze.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,45243))),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(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),128:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,45723))),129:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,45723))),130:Ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),131:Ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),132:Ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),133:Ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),134:Ze.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,49957))),135:Ze.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,24401))),136:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,32365))),137:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,49100))),138:Ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),139:Ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),140:Ze.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,85247))),141:Ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,17224))),142:Ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,17224))),143:Ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),144:Ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),145:Ze.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,72229))),146:Ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),147:Ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),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(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),150:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,73237))),151:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,55003))),152:Ze.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,44739))),153:Ze.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,35297))),154:Ze.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,3499))),155:Ze.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,59353))),156:Ze.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,2735))),157:Ze.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,63557))),158:Ze.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,53136))),159:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),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(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),162:Ze.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,33769))),163:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),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(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),166:Ze.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,30968))),167:Ze.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,60001))),168:Ze.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,60433))),169:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2413),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,78963))),170:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),171:Ze.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,61612))),172:Ze.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,61292))),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(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),175:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,85419))),176:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),177: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))),178:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),179:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),180:Ze.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,71806))),181:Ze.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,80558))),182: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))),183:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),184:Ze.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,34108))),185:Ze.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,20290))),186:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,88394))),187:Ze.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,71311))),188:Ze.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,94282))),189:Ze.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,21190))),190:Ze.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,78234))),191: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))),192:Ze.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,86566))),193:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,48979))),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(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),196:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),197:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),198:Ze.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,70980))),199:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,98372))),200:Ze.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,89815))),201:Ze.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,13344))),202:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,20296))),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(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),205:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,15282))),206:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,99192))),207:Ze.lazy(()=>Promise.all([__webpack_require__.e(278),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,7985))),208:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,96418))),209:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,46593))),210:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,14959))),211:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),212:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),213:Ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),214:Ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),215:Ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),216:Ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),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(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),219:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,84210))),220:Ze.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,43468))),221:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),222:Ze.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,54629))),223:Ze.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,70982))),224:Ze.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,34111))),225:Ze.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,51751))),226:Ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),227:Ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),228:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,74917))),229:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,47400))),230:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,4359))),231:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,92511))),232:Ze.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,85597))),233:Ze.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,8735))),234:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,47018))),235:Ze.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,65097))),236:Ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),237:Ze.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,12587))),238:Ze.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,30127))),239:Ze.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,57943))),240:Ze.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,39674))),241:Ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),242:Ze.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,15107))),243:Ze.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,50073))),244:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,84272))),245:Ze.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,55149))),246:Ze.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,59896))),247:Ze.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,73985))),248:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,59360))),249:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,26098))),250:Ze.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,40109))),251:Ze.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,346))),252:Ze.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,56890))),253:Ze.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,18131))),254:Ze.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,5566))),255:Ze.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,74545))),256:Ze.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,56749))),257:Ze.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,80643))),258:Ze.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,74930))),259:Ze.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,86310))),260:Ze.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,45956))),261:Ze.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,41901))),262:Ze.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,91370))),263:Ze.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,69393))),264:Ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),265:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),266:Ze.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,58747))),267:Ze.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,47781))),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(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),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(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),272:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,31723))),273:Ze.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,45710))),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(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),276:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),277:Ze.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,5226))),278:Ze.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,65417))),279:Ze.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,34897))),280:Ze.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,3681))),281:Ze.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,17249))),282:Ze.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,18112))),283:Ze.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,81654))),284:Ze.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,75432))),285:Ze.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,19893))),286:Ze.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,88590))),287:Ze.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,67112))),288:Ze.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,23513))),289:Ze.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,74565))),290:Ze.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,20944))),291:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,9986))),292:Ze.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,23479))),293:Ze.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,23921))),294:Ze.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,95707))),295:Ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),296:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),297:Ze.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,84428))),298:Ze.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,67537))),299:Ze.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,76342))),300:Ze.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,14160))),301:Ze.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,60971))),302:Ze.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,46157))),303:Ze.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,97236))),304:Ze.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,55734))),305:Ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),306:Ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),307:Ze.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,21618))),308:Ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),309: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))),310:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),311: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))),312:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),313: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))),314:Ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),315:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,92740))),316:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,34587))),317:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),318:Ze.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,68549))),319:Ze.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,32928))),320:Ze.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,16059))),321:Ze.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,14200))),322:Ze.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,83386))),323:Ze.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,98065))),324:Ze.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,35038))),325:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),326:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,77906))),327:Ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),328:Ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),329:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),330:Ze.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,89595))),331:Ze.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,15612))),332:Ze.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,61071))),333:Ze.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,96965))),334:Ze.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,74722))),335:Ze.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,52935))),336:Ze.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,38403))),337:Ze.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,35742))),338:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),339:Ze.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,56764))),340:Ze.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,7121))),341:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,86529))),342:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),343:Ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),344:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),345:Ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),346:Ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),347:Ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),348:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),349:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),350:Ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),351:Ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),352:Ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),353:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),354:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),355:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),356:Ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),357:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),358:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),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(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),361:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),362:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),363:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),364:Ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),365:Ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),366:Ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),367:Ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),368:Ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),369:Ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),370:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),371:Ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),372:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),373:Ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),374:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),375:Ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),376:Ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),377:Ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),378:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),379:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),380:Ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),381:Ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),382:Ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),383:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),384:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),385:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),386:Ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),387:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),388:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),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(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),391:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),392:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),393:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),394:Ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),395:Ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),396:Ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),397:Ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),398:Ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),399:Ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),400:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),401:Ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),402:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),403:Ze.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,41669))),404:Ze.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,44718))),405:Ze.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,69726))),406:Ze.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,92642))),407:Ze.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,13497))),408:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),409:Ze.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,11181))),410:Ze.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,61885))),411:Ze.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,46780))),412:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,8741))),413:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,80096))),414:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,37052))),415:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,75098))),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(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),421:Ze.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,51514))),422:Ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),423:Ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),424:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,52442))),425:Ze.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,52337))),426:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),427:Ze.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,83252))),428:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,437))),429:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),430:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,21541))),431:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,49627))),432:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),433:Ze.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,50804))),434:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),435:Ze.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,50212))),436:Ze.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,49079))),437:Ze.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,9338))),438:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),439:Ze.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,9330))),440:Ze.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,91437))),441:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),442:Ze.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,7370))),443:Ze.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,44876))),444:Ze.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,72281))),445:Ze.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,70806))),446:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,74247))),447:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,94211))),448:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,10257))),449:Ze.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,57694))),450:Ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,60490))),451:Ze.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,24236))),452:Ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,60490))),453:Ze.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,92521))),454:Ze.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,48412))),455:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),456:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,37204))),457:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),458:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,429))),459:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),460:Ze.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,33154))),461:Ze.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,43254))),462:Ze.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,48030))),463:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),464:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,50471))),465:Ze.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,99623))),466:Ze.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,21918))),467:Ze.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,16456))),468:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),469:Ze.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,65128))),470:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),471:Ze.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,28919))),472:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),473:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),474:Ze.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,52900))),475:Ze.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,50885))),476:Ze.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,85039))),477:Ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),478:Ze.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,57849))),479:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),480:Ze.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,13893))),481:Ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),482:Ze.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,36634))),483:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),484:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),485:Ze.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,89693))),486:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,57265))),487:Ze.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,61516))),488:Ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,19373))),489: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__,69912)))}}})}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"})})()})();
|