|
|
(function(){var __webpack_modules__={30071:function(d,v,e){"use strict";e.r(v),e.d(v,{blue:function(){return ue},blueDark:function(){return Ne},cyan:function(){return ie},cyanDark:function(){return Ze},geekblue:function(){return q},geekblueDark:function(){return Bt},generate:function(){return A},gold:function(){return Y},goldDark:function(){return se},gray:function(){return ee},green:function(){return ae},greenDark:function(){return ke},grey:function(){return oe},greyDark:function(){return Jt},lime:function(){return G},limeDark:function(){return De},magenta:function(){return K},magentaDark:function(){return Dt},orange:function(){return j},orangeDark:function(){return $},presetDarkPalettes:function(){return er},presetPalettes:function(){return Q},presetPrimaryColors:function(){return D},purple:function(){return J},purpleDark:function(){return yt},red:function(){return M},redDark:function(){return le},volcano:function(){return B},volcanoDark:function(){return Z},yellow:function(){return V},yellowDark:function(){return _e}});var r=e(4635);const i=Math.round;function l(tr,Xe){const Pt=tr.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],Zt=Pt.map(ot=>parseFloat(ot));for(let ot=0;ot<3;ot+=1)Zt[ot]=Xe(Zt[ot]||0,Pt[ot]||"",ot);return Pt[3]?Zt[3]=Pt[3].includes("%")?Zt[3]/100:Zt[3]:Zt[3]=1,Zt}const c=(tr,Xe,Pt)=>Pt===0?tr:tr/100;function f(tr,Xe){const Pt=Xe||255;return tr>Pt?Pt:tr<0?0:tr}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 Pt(Zt){return Zt[0]in Xe&&Zt[1]in Xe&&Zt[2]in Xe}if(Xe)if(typeof Xe=="string"){let ot=function(xt){return Zt.startsWith(xt)};const Zt=Xe.trim();/^#?[A-F\d]{3,8}$/i.test(Zt)?this.fromHexString(Zt):ot("rgb")?this.fromRgbString(Zt):ot("hsl")?this.fromHslString(Zt):(ot("hsv")||ot("hsb"))&&this.fromHsvString(Zt)}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(Pt("rgb"))this.r=f(Xe.r),this.g=f(Xe.g),this.b=f(Xe.b),this.a=typeof Xe.a=="number"?f(Xe.a,1):1;else if(Pt("hsl"))this.fromHsl(Xe);else if(Pt("hsv"))this.fromHsv(Xe);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(Xe))}setR(Xe){return this._sc("r",Xe)}setG(Xe){return this._sc("g",Xe)}setB(Xe){return this._sc("b",Xe)}setA(Xe){return this._sc("a",Xe,1)}setHue(Xe){const Pt=this.toHsv();return Pt.h=Xe,this._c(Pt)}getLuminance(){function Xe(xt){const ht=xt/255;return ht<=.03928?ht/12.92:Math.pow((ht+.055)/1.055,2.4)}const Pt=Xe(this.r),Zt=Xe(this.g),ot=Xe(this.b);return .2126*Pt+.7152*Zt+.0722*ot}getHue(){if(typeof this._h=="undefined"){const Xe=this.getMax()-this.getMin();Xe===0?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/Xe+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/Xe+2:(this.r-this.g)/Xe+4))}return this._h}getSaturation(){if(typeof this._s=="undefined"){const Xe=this.getMax()-this.getMin();Xe===0?this._s=0:this._s=Xe/this.getMax()}return this._s}getLightness(){return typeof this._l=="undefined"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v=="undefined"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness=="undefined"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(Xe=10){const Pt=this.getHue(),Zt=this.getSaturation();let ot=this.getLightness()-Xe/100;return ot<0&&(ot=0),this._c({h:Pt,s:Zt,l:ot,a:this.a})}lighten(Xe=10){const Pt=this.getHue(),Zt=this.getSaturation();let ot=this.getLightness()+Xe/100;return ot>1&&(ot=1),this._c({h:Pt,s:Zt,l:ot,a:this.a})}mix(Xe,Pt=50){const Zt=this._c(Xe),ot=Pt/100,xt=et=>(Zt[et]-this[et])*ot+this[et],ht={r:i(xt("r")),g:i(xt("g")),b:i(xt("b")),a:i(xt("a")*100)/100};return this._c(ht)}tint(Xe=10){return this.mix({r:255,g:255,b:255,a:1},Xe)}shade(Xe=10){return this.mix({r:0,g:0,b:0,a:1},Xe)}onBackground(Xe){const Pt=this._c(Xe),Zt=this.a+Pt.a*(1-this.a),ot=xt=>i((this[xt]*this.a+Pt[xt]*Pt.a*(1-this.a))/Zt);return this._c({r:ot("r"),g:ot("g"),b:ot("b"),a:Zt})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(Xe){return this.r===Xe.r&&this.g===Xe.g&&this.b===Xe.b&&this.a===Xe.a}clone(){return this._c(this)}toHexString(){let Xe="#";const Pt=(this.r||0).toString(16);Xe+=Pt.length===2?Pt:"0"+Pt;const Zt=(this.g||0).toString(16);Xe+=Zt.length===2?Zt:"0"+Zt;const ot=(this.b||0).toString(16);if(Xe+=ot.length===2?ot:"0"+ot,typeof this.a=="number"&&this.a>=0&&this.a<1){const xt=i(this.a*255).toString(16);Xe+=xt.length===2?xt:"0"+xt}return Xe}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const Xe=this.getHue(),Pt=i(this.getSaturation()*100),Zt=i(this.getLightness()*100);return this.a!==1?`hsla(${Xe},${Pt}%,${Zt}%,${this.a})`:`hsl(${Xe},${Pt}%,${Zt}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(Xe,Pt,Zt){const ot=this.clone();return ot[Xe]=f(Pt,Zt),ot}_c(Xe){return new this.constructor(Xe)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(Xe){const Pt=Xe.replace("#","");function Zt(ot,xt){return parseInt(Pt[ot]+Pt[xt||ot],16)}Pt.length<6?(this.r=Zt(0),this.g=Zt(1),this.b=Zt(2),this.a=Pt[3]?Zt(3)/255:1):(this.r=Zt(0,1),this.g=Zt(2,3),this.b=Zt(4,5),this.a=Pt[6]?Zt(6,7)/255:1)}fromHsl({h:Xe,s:Pt,l:Zt,a:ot}){if(this._h=Xe%360,this._s=Pt,this._l=Zt,this.a=typeof ot=="number"?ot:1,Pt<=0){const $e=i(Zt*255);this.r=$e,this.g=$e,this.b=$e}let xt=0,ht=0,et=0;const je=Xe/60,ge=(1-Math.abs(2*Zt-1))*Pt,Se=ge*(1-Math.abs(je%2-1));je>=0&&je<1?(xt=ge,ht=Se):je>=1&&je<2?(xt=Se,ht=ge):je>=2&&je<3?(ht=ge,et=Se):je>=3&&je<4?(ht=Se,et=ge):je>=4&&je<5?(xt=Se,et=ge):je>=5&&je<6&&(xt=ge,et=Se);const Me=Zt-ge/2;this.r=i((xt+Me)*255),this.g=i((ht+Me)*255),this.b=i((et+Me)*255)}fromHsv({h:Xe,s:Pt,v:Zt,a:ot}){this._h=Xe%360,this._s=Pt,this._v=Zt,this.a=typeof ot=="number"?ot:1;const xt=i(Zt*255);if(this.r=xt,this.g=xt,this.b=xt,Pt<=0)return;const ht=Xe/60,et=Math.floor(ht),je=ht-et,ge=i(Zt*(1-Pt)*255),Se=i(Zt*(1-Pt*je)*255),Me=i(Zt*(1-Pt*(1-je))*255);switch(et){case 0:this.g=Me,this.b=ge;break;case 1:this.r=Se,this.b=ge;break;case 2:this.r=ge,this.b=Me;break;case 3:this.r=ge,this.g=Se;break;case 4:this.r=Me,this.g=ge;break;case 5:default:this.g=ge,this.b=Se;break}}fromHsvString(Xe){const Pt=l(Xe,c);this.fromHsv({h:Pt[0],s:Pt[1],v:Pt[2],a:Pt[3]})}fromHslString(Xe){const Pt=l(Xe,c);this.fromHsl({h:Pt[0],s:Pt[1],l:Pt[2],a:Pt[3]})}fromRgbString(Xe){const Pt=l(Xe,(Zt,ot)=>ot.includes("%")?i(Zt/100*255):Zt);this.r=Pt[0],this.g=Pt[1],this.b=Pt[2],this.a=Pt[3]}}var h=2,u=.16,a=.05,x=.05,p=.15,y=5,_=4,b=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function S(tr,Xe,Pt){var Zt;return Math.round(tr.h)>=60&&Math.round(tr.h)<=240?Zt=Pt?Math.round(tr.h)-h*Xe:Math.round(tr.h)+h*Xe:Zt=Pt?Math.round(tr.h)+h*Xe:Math.round(tr.h)-h*Xe,Zt<0?Zt+=360:Zt>=360&&(Zt-=360),Zt}function k(tr,Xe,Pt){if(tr.h===0&&tr.s===0)return tr.s;var Zt;return Pt?Zt=tr.s-u*Xe:Xe===_?Zt=tr.s+u:Zt=tr.s+a*Xe,Zt>1&&(Zt=1),Pt&&Xe===y&&Zt>.1&&(Zt=.1),Zt<.06&&(Zt=.06),Math.round(Zt*100)/100}function R(tr,Xe,Pt){var Zt;return Pt?Zt=tr.v+x*Xe:Zt=tr.v-p*Xe,Zt=Math.max(0,Math.min(1,Zt)),Math.round(Zt*100)/100}function A(tr){for(var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pt=[],Zt=new o(tr),ot=Zt.toHsv(),xt=y;xt>0;xt-=1){var ht=new o({h:S(ot,xt,!0),s:k(ot,xt,!0),v:R(ot,xt,!0)});Pt.push(ht)}Pt.push(Zt);for(var et=1;et<=_;et+=1){var je=new o({h:S(ot,et),s:k(ot,et),v:R(ot,et)});Pt.push(je)}return Xe.theme==="dark"?b.map(function(ge){var Se=ge.index,Me=ge.amount;return new o(Xe.backgroundColor||"#141414").mix(Pt[Se],Me).toHexString()}):Pt.map(function(ge){return ge.toHexString()})}var D={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},M=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];M.primary=M[5];var B=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];B.primary=B[5];var j=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];j.primary=j[5];var Y=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Y.primary=Y[5];var V=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];V.primary=V[5];var G=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];G.primary=G[5];var ae=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ae.primary=ae[5];var ie=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ie.primary=ie[5];var ue=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];ue.primary=ue[5];var 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 K=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];K.primary=K[5];var oe=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];oe.primary=oe[5];var ee=oe,Q={red:M,volcano:B,orange:j,gold:Y,yellow:V,lime:G,green:ae,cyan:ie,blue:ue,geekblue:q,purple:J,magenta:K,grey:oe},le=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];le.primary=le[5];var Z=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];Z.primary=Z[5];var $=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];$.primary=$[5];var se=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];se.primary=se[5];var _e=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];_e.primary=_e[5];var De=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];De.primary=De[5];var ke=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];ke.primary=ke[5];var Ze=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];Ze.primary=Ze[5];var Ne=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Ne.primary=Ne[5];var Bt=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Bt.primary=Bt[5];var yt=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];yt.primary=yt[5];var Dt=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Dt.primary=Dt[5];var Jt=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];Jt.primary=Jt[5];var er={red:le,volcano:Z,orange:$,gold:se,yellow:_e,lime:De,green:ke,cyan:Ze,blue:Ne,geekblue:Bt,purple:yt,magenta:Dt,grey:Jt}},93083:function(d,v,e){"use strict";e.r(v),e.d(v,{Keyframes:function(){return Js},NaNLinter:function(){return $a},StyleContext:function(){return ie},StyleProvider:function(){return ae},Theme:function(){return Dt},_experimental:function(){return Au},createCache:function(){return V},createTheme:function(){return er},extractStyle:function(){return So},genCalc:function(){return ke},getComputedToken:function(){return mr},legacyLogicalPropertiesTransformer:function(){return jo},legacyNotSelectorLinter:function(){return vs},logicalPropertiesLinter:function(){return Ys},parentSelectorLinter:function(){return ja},px2remTransformer:function(){return hu},token2CSSVar:function(){return Pe},unit:function(){return Vt},useCSSVarRegister:function(){return Oo},useCacheToken:function(){return sn},useStyleRegister:function(){return qa}});var r=e(50298),i=e(4635),l=e(95190),c=e(20439);function f(qt){for(var hr=0,or,vr=0,wr=qt.length;wr>=4;++vr,wr-=4)or=qt.charCodeAt(vr)&255|(qt.charCodeAt(++vr)&255)<<8|(qt.charCodeAt(++vr)&255)<<16|(qt.charCodeAt(++vr)&255)<<24,or=(or&65535)*1540483477+((or>>>16)*59797<<16),or^=or>>>24,hr=(or&65535)*1540483477+((or>>>16)*59797<<16)^(hr&65535)*1540483477+((hr>>>16)*59797<<16);switch(wr){case 3:hr^=(qt.charCodeAt(vr+2)&255)<<16;case 2:hr^=(qt.charCodeAt(vr+1)&255)<<8;case 1:hr^=qt.charCodeAt(vr)&255,hr=(hr&65535)*1540483477+((hr>>>16)*59797<<16)}return hr^=hr>>>13,hr=(hr&65535)*1540483477+((hr>>>16)*59797<<16),((hr^hr>>>15)>>>0).toString(36)}var o=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(62646),p=e(80547),y=e(13697),_=e(99153),b=e(84851),S="%";function k(qt){return qt.join(S)}var R=function(){function qt(hr){(0,_.Z)(this,qt),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),this.instanceId=hr}return(0,b.Z)(qt,[{key:"get",value:function(or){return this.opGet(k(or))}},{key:"opGet",value:function(or){return this.cache.get(or)||null}},{key:"update",value:function(or,vr){return this.opUpdate(k(or),vr)}},{key:"opUpdate",value:function(or,vr){var wr=this.cache.get(or),yn=vr(wr);yn===null?this.cache.delete(or):this.cache.set(or,yn)}}]),qt}(),A=R,D=["children"],M="data-token-hash",B="data-css-hash",j="data-cache-path",Y="__cssinjs_instance__";function V(){var qt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var hr=document.body.querySelectorAll("style[".concat(B,"]"))||[],or=document.head.firstChild;Array.from(hr).forEach(function(wr){wr[Y]=wr[Y]||qt,wr[Y]===qt&&document.head.insertBefore(wr,or)});var vr={};Array.from(document.querySelectorAll("style[".concat(B,"]"))).forEach(function(wr){var yn=wr.getAttribute(B);if(vr[yn]){if(wr[Y]===qt){var En;(En=wr.parentNode)===null||En===void 0||En.removeChild(wr)}}else vr[yn]=!0})}return new A(qt)}var G=u.createContext({hashPriority:"low",cache:V(),defaultCache:!0}),ae=function(hr){var or=hr.children,vr=(0,x.Z)(hr,D),wr=u.useContext(G),yn=(0,p.Z)(function(){var En=(0,c.Z)({},wr);Object.keys(vr).forEach(function(Ln){var Vn=vr[Ln];vr[Ln]!==void 0&&(En[Ln]=Vn)});var $n=vr.cache;return En.cache=En.cache||V(),En.defaultCache=!$n&&wr.defaultCache,En},[wr,vr],function(En,$n){return!(0,y.Z)(En[0],$n[0],!0)||!(0,y.Z)(En[1],$n[1],!0)});return u.createElement(G.Provider,{value:yn},or)},ie=G,ue=e(93664),q=e(47273),J=e(13028),K=e(19257),oe=e(93046),ee=(0,b.Z)(function qt(){(0,_.Z)(this,qt)}),Q=ee,le="CALC_UNIT",Z=new RegExp(le,"g");function $(qt){return typeof qt=="number"?"".concat(qt).concat(le):qt}var se=function(qt){(0,K.Z)(or,qt);var hr=(0,oe.Z)(or);function or(vr,wr){var yn;(0,_.Z)(this,or),yn=hr.call(this),(0,i.Z)((0,J.Z)(yn),"result",""),(0,i.Z)((0,J.Z)(yn),"unitlessCssVar",void 0),(0,i.Z)((0,J.Z)(yn),"lowPriority",void 0);var En=(0,ue.Z)(vr);return yn.unitlessCssVar=wr,vr instanceof or?yn.result="(".concat(vr.result,")"):En==="number"?yn.result=$(vr):En==="string"&&(yn.result=vr),yn}return(0,b.Z)(or,[{key:"add",value:function(wr){return wr instanceof or?this.result="".concat(this.result," + ").concat(wr.getResult()):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," + ").concat($(wr))),this.lowPriority=!0,this}},{key:"sub",value:function(wr){return wr instanceof or?this.result="".concat(this.result," - ").concat(wr.getResult()):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," - ").concat($(wr))),this.lowPriority=!0,this}},{key:"mul",value:function(wr){return this.lowPriority&&(this.result="(".concat(this.result,")")),wr instanceof or?this.result="".concat(this.result," * ").concat(wr.getResult(!0)):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," * ").concat(wr)),this.lowPriority=!1,this}},{key:"div",value:function(wr){return this.lowPriority&&(this.result="(".concat(this.result,")")),wr instanceof or?this.result="".concat(this.result," / ").concat(wr.getResult(!0)):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," / ").concat(wr)),this.lowPriority=!1,this}},{key:"getResult",value:function(wr){return this.lowPriority||wr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(wr){var yn=this,En=wr||{},$n=En.unit,Ln=!0;return typeof $n=="boolean"?Ln=$n:Array.from(this.unitlessCssVar).some(function(Vn){return yn.result.includes(Vn)})&&(Ln=!1),this.result=this.result.replace(Z,Ln?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),or}(Q),_e=function(qt){(0,K.Z)(or,qt);var hr=(0,oe.Z)(or);function or(vr){var wr;return(0,_.Z)(this,or),wr=hr.call(this),(0,i.Z)((0,J.Z)(wr),"result",0),vr instanceof or?wr.result=vr.result:typeof vr=="number"&&(wr.result=vr),wr}return(0,b.Z)(or,[{key:"add",value:function(wr){return wr instanceof or?this.result+=wr.result:typeof wr=="number"&&(this.result+=wr),this}},{key:"sub",value:function(wr){return wr instanceof or?this.result-=wr.result:typeof wr=="number"&&(this.result-=wr),this}},{key:"mul",value:function(wr){return wr instanceof or?this.result*=wr.result:typeof wr=="number"&&(this.result*=wr),this}},{key:"div",value:function(wr){return wr instanceof or?this.result/=wr.result:typeof wr=="number"&&(this.result/=wr),this}},{key:"equal",value:function(){return this.result}}]),or}(Q),De=function(hr,or){var vr=hr==="css"?se:_e;return function(wr){return new vr(wr,or)}},ke=De;function Ze(qt,hr){if(qt.length!==hr.length)return!1;for(var or=0;or<qt.length;or++)if(qt[or]!==hr[or])return!1;return!0}var Ne=function(){function qt(){(0,_.Z)(this,qt),(0,i.Z)(this,"cache",void 0),(0,i.Z)(this,"keys",void 0),(0,i.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,b.Z)(qt,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(or){var vr,wr,yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,En={map:this.cache};return or.forEach(function($n){if(!En)En=void 0;else{var Ln;En=(Ln=En)===null||Ln===void 0||(Ln=Ln.map)===null||Ln===void 0?void 0:Ln.get($n)}}),(vr=En)!==null&&vr!==void 0&&vr.value&&yn&&(En.value[1]=this.cacheCallTimes++),(wr=En)===null||wr===void 0?void 0:wr.value}},{key:"get",value:function(or){var vr;return(vr=this.internalGet(or,!0))===null||vr===void 0?void 0:vr[0]}},{key:"has",value:function(or){return!!this.internalGet(or)}},{key:"set",value:function(or,vr){var wr=this;if(!this.has(or)){if(this.size()+1>qt.MAX_CACHE_SIZE+qt.MAX_CACHE_OFFSET){var yn=this.keys.reduce(function(Vn,ur){var Nr=(0,r.Z)(Vn,2),xr=Nr[1];return wr.internalGet(ur)[1]<xr?[ur,wr.internalGet(ur)[1]]:Vn},[this.keys[0],this.cacheCallTimes]),En=(0,r.Z)(yn,1),$n=En[0];this.delete($n)}this.keys.push(or)}var Ln=this.cache;or.forEach(function(Vn,ur){if(ur===or.length-1)Ln.set(Vn,{value:[vr,wr.cacheCallTimes++]});else{var Nr=Ln.get(Vn);Nr?Nr.map||(Nr.map=new Map):Ln.set(Vn,{map:new Map}),Ln=Ln.get(Vn).map}})}},{key:"deleteByPath",value:function(or,vr){var wr=or.get(vr[0]);if(vr.length===1){var yn;return wr.map?or.set(vr[0],{map:wr.map}):or.delete(vr[0]),(yn=wr.value)===null||yn===void 0?void 0:yn[0]}var En=this.deleteByPath(wr.map,vr.slice(1));return(!wr.map||wr.map.size===0)&&!wr.value&&or.delete(vr[0]),En}},{key:"delete",value:function(or){if(this.has(or))return this.keys=this.keys.filter(function(vr){return!Ze(vr,or)}),this.deleteByPath(this.cache,or)}}]),qt}();(0,i.Z)(Ne,"MAX_CACHE_SIZE",20),(0,i.Z)(Ne,"MAX_CACHE_OFFSET",5);var Bt=e(48736),yt=0,Dt=function(){function qt(hr){(0,_.Z)(this,qt),(0,i.Z)(this,"derivatives",void 0),(0,i.Z)(this,"id",void 0),this.derivatives=Array.isArray(hr)?hr:[hr],this.id=yt,hr.length===0&&(0,Bt.Kp)(hr.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),yt+=1}return(0,b.Z)(qt,[{key:"getDerivativeToken",value:function(or){return this.derivatives.reduce(function(vr,wr){return wr(or,vr)},void 0)}}]),qt}(),Jt=new Ne;function er(qt){var hr=Array.isArray(qt)?qt:[qt];return Jt.has(hr)||Jt.set(hr,new Dt(hr)),Jt.get(hr)}var tr=new WeakMap,Xe={};function Pt(qt,hr){for(var or=tr,vr=0;vr<hr.length;vr+=1){var wr=hr[vr];or.has(wr)||or.set(wr,new WeakMap),or=or.get(wr)}return or.has(Xe)||or.set(Xe,qt()),or.get(Xe)}var Zt=new WeakMap;function ot(qt){var hr=Zt.get(qt)||"";return hr||(Object.keys(qt).forEach(function(or){var vr=qt[or];hr+=or,vr instanceof Dt?hr+=vr.id:vr&&(0,ue.Z)(vr)==="object"?hr+=ot(vr):hr+=vr}),hr=o(hr),Zt.set(qt,hr)),hr}function xt(qt,hr){return o("".concat(hr,"_").concat(ot(qt)))}var ht="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),et="_bAmBoO_";function je(qt,hr,or){if((0,q.Z)()){var vr,wr;(0,h.hq)(qt,ht);var yn=document.createElement("div");yn.style.position="fixed",yn.style.left="0",yn.style.top="0",hr==null||hr(yn),document.body.appendChild(yn);var En=or?or(yn):(vr=getComputedStyle(yn).content)===null||vr===void 0?void 0:vr.includes(et);return(wr=yn.parentNode)===null||wr===void 0||wr.removeChild(yn),(0,h.jL)(ht),En}return!1}var ge=null;function Se(){return ge===void 0&&(ge=je("@layer ".concat(ht," { .").concat(ht,' { content: "').concat(et,'"!important; } }'),function(qt){qt.className=ht})),ge}var Me=void 0;function $e(){return Me===void 0&&(Me=je(":where(.".concat(ht,') { content: "').concat(et,'"!important; }'),function(qt){qt.className=ht})),Me}var He=void 0;function nt(){return He===void 0&&(He=je(".".concat(ht," { inset-block: 93px !important; }"),function(qt){qt.className=ht},function(qt){return getComputedStyle(qt).bottom==="93px"})),He}var ct=(0,q.Z)();function Vt(qt){return typeof qt=="number"?"".concat(qt,"px"):qt}function Ht(qt,hr,or){var vr,wr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},yn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(yn)return qt;var En=(0,c.Z)((0,c.Z)({},wr),{},(vr={},(0,i.Z)(vr,M,hr),(0,i.Z)(vr,B,or),vr)),$n=Object.keys(En).map(function(Ln){var Vn=En[Ln];return Vn?"".concat(Ln,'="').concat(Vn,'"'):null}).filter(function(Ln){return Ln}).join(" ");return"<style ".concat($n,">").concat(qt,"</style>")}var Pe=function(hr){var or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(or?"".concat(or,"-"):"").concat(hr).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},qe=function(hr,or,vr){return Object.keys(hr).length?".".concat(or).concat(vr!=null&&vr.scope?".".concat(vr.scope):"","{").concat(Object.entries(hr).map(function(wr){var yn=(0,r.Z)(wr,2),En=yn[0],$n=yn[1];return"".concat(En,":").concat($n,";")}).join(""),"}"):""},Yt=function(hr,or,vr){var wr={},yn={};return Object.entries(hr).forEach(function(En){var $n,Ln,Vn=(0,r.Z)(En,2),ur=Vn[0],Nr=Vn[1];if(vr!=null&&($n=vr.preserve)!==null&&$n!==void 0&&$n[ur])yn[ur]=Nr;else if((typeof Nr=="string"||typeof Nr=="number")&&!(vr!=null&&(Ln=vr.ignore)!==null&&Ln!==void 0&&Ln[ur])){var xr,hn=Pe(ur,vr==null?void 0:vr.prefix);wr[hn]=typeof Nr=="number"&&!(vr!=null&&(xr=vr.unitless)!==null&&xr!==void 0&&xr[ur])?"".concat(Nr,"px"):String(Nr),yn[ur]="var(".concat(hn,")")}}),[yn,qe(wr,or,{scope:vr==null?void 0:vr.scope})]},Rt=e(34280),Wt=(0,c.Z)({},a),$t=Wt.useInsertionEffect,At=function(hr,or,vr){u.useMemo(hr,vr),(0,Rt.Z)(function(){return or(!0)},vr)},Xt=$t?function(qt,hr,or){return $t(function(){return qt(),hr()},or)}:At,We=Xt,fe=(0,c.Z)({},a),pe=fe.useInsertionEffect,Ot=function(hr){var or=[],vr=!1;function wr(yn){vr||or.push(yn)}return u.useEffect(function(){return vr=!1,function(){vr=!0,or.length&&or.forEach(function(yn){return yn()})}},hr),wr},Te=function(){return function(hr){hr()}},dt=typeof pe!="undefined"?Ot:Te,Gt=dt;function St(){return!1}var Oe=!1;function wt(){return Oe}var be=St;if(0)var Ke,gt;function Ft(qt,hr,or,vr,wr){var yn=u.useContext(ie),En=yn.cache,$n=[qt].concat((0,l.Z)(hr)),Ln=k($n),Vn=Gt([Ln]),ur=be(),Nr=function(ft){En.opUpdate(Ln,function(Pn){var Kn=Pn||[void 0,void 0],ui=(0,r.Z)(Kn,2),Xi=ui[0],$r=Xi===void 0?0:Xi,Vr=ui[1],ga=Vr,Ii=ga||or(),aa=[$r,Ii];return ft?ft(aa):aa})};u.useMemo(function(){Nr()},[Ln]);var xr=En.opGet(Ln),hn=xr[1];return We(function(){wr==null||wr(hn)},function(Wn){return Nr(function(ft){var Pn=(0,r.Z)(ft,2),Kn=Pn[0],ui=Pn[1];return Wn&&Kn===0&&(wr==null||wr(hn)),[Kn+1,ui]}),function(){En.opUpdate(Ln,function(ft){var Pn=ft||[],Kn=(0,r.Z)(Pn,2),ui=Kn[0],Xi=ui===void 0?0:ui,$r=Kn[1],Vr=Xi-1;return Vr===0?(Vn(function(){(Wn||!En.opGet(Ln))&&(vr==null||vr($r,!1))}),null):[Xi-1,$r]})}},[Ln]),hn}var Fe={},Dr="css",Ct=new Map;function Gr(qt){Ct.set(qt,(Ct.get(qt)||0)+1)}function Qr(qt,hr){if(typeof document!="undefined"){var or=document.querySelectorAll("style[".concat(M,'="').concat(qt,'"]'));or.forEach(function(vr){if(vr[Y]===hr){var wr;(wr=vr.parentNode)===null||wr===void 0||wr.removeChild(vr)}})}}var Cr=0;function Fr(qt,hr){Ct.set(qt,(Ct.get(qt)||0)-1);var or=Array.from(Ct.keys()),vr=or.filter(function(wr){var yn=Ct.get(wr)||0;return yn<=0});or.length-vr.length>Cr&&vr.forEach(function(wr){Qr(wr,hr),Ct.delete(wr)})}var mr=function(hr,or,vr,wr){var yn=vr.getDerivativeToken(hr),En=(0,c.Z)((0,c.Z)({},yn),or);return wr&&(En=wr(En)),En},jr="token";function sn(qt,hr){var or=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},vr=(0,u.useContext)(ie),wr=vr.cache.instanceId,yn=vr.container,En=or.salt,$n=En===void 0?"":En,Ln=or.override,Vn=Ln===void 0?Fe:Ln,ur=or.formatToken,Nr=or.getComputedToken,xr=or.cssVar,hn=Pt(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(hr)))},hr),Wn=ot(hn),ft=ot(Vn),Pn=xr?ot(xr):"",Kn=Ft(jr,[$n,qt.id,Wn,ft,Pn],function(){var ui,Xi=Nr?Nr(hn,Vn,qt):mr(hn,Vn,qt,ur),$r=(0,c.Z)({},Xi),Vr="";if(xr){var ga=Yt(Xi,xr.key,{prefix:xr.prefix,ignore:xr.ignore,unitless:xr.unitless,preserve:xr.preserve}),Ii=(0,r.Z)(ga,2);Xi=Ii[0],Vr=Ii[1]}var aa=xt(Xi,$n);Xi._tokenKey=aa,$r._tokenKey=xt($r,$n);var Ds=(ui=xr==null?void 0:xr.key)!==null&&ui!==void 0?ui:aa;Xi._themeKey=Ds,Gr(Ds);var li="".concat(Dr,"-").concat(o(aa));return Xi._hashId=li,[Xi,li,$r,Vr,(xr==null?void 0:xr.key)||""]},function(ui){Fr(ui[0]._themeKey,wr)},function(ui){var Xi=(0,r.Z)(ui,4),$r=Xi[0],Vr=Xi[3];if(xr&&Vr){var ga=(0,h.hq)(Vr,o("css-variables-".concat($r._themeKey)),{mark:B,prepend:"queue",attachTo:yn,priority:-999});ga[Y]=wr,ga.setAttribute(M,$r._themeKey)}});return Kn}var cn=function(hr,or,vr){var wr=(0,r.Z)(hr,5),yn=wr[2],En=wr[3],$n=wr[4],Ln=vr||{},Vn=Ln.plain;if(!En)return null;var ur=yn._tokenKey,Nr=-999,xr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Nr)},hn=Ht(En,$n,ur,xr,Vn);return[Nr,ur,hn]},lr=e(14809),Lt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},mt=Lt,vt="-ms-",Ut="-moz-",Sr="-webkit-",yr="comm",it="rule",Br="decl",gn="@page",zn="@media",gr="@import",tn="@charset",pn="@viewport",Fn="@supports",Tn="@document",oi="@namespace",Pi="@keyframes",Li="@font-face",Si="@counter-style",gi="@font-feature-values",ii="@layer",na="@scope",ni=Math.abs,Ji=String.fromCharCode,bt=Object.assign;function lt(qt,hr){return bi(qt,0)^45?(((hr<<2^bi(qt,0))<<2^bi(qt,1))<<2^bi(qt,2))<<2^bi(qt,3):0}function Qn(qt){return qt.trim()}function yi(qt,hr){return(qt=hr.exec(qt))?qt[0]:qt}function ei(qt,hr,or){return qt.replace(hr,or)}function Ki(qt,hr,or){return qt.indexOf(hr,or)}function bi(qt,hr){return qt.charCodeAt(hr)|0}function qn(qt,hr,or){return qt.slice(hr,or)}function An(qt){return qt.length}function rr(qt){return qt.length}function _t(qt,hr){return hr.push(qt),qt}function rt(qt,hr){return qt.map(hr).join("")}function It(qt,hr){return qt.filter(function(or){return!yi(or,hr)})}function pt(qt,hr){for(var or="",vr=0;vr<qt.length;vr++)or+=hr(qt[vr],vr,qt,hr)||"";return or}function cr(qt,hr,or,vr){switch(qt.type){case ii:if(qt.children.length)break;case gr:case oi:case Br:return qt.return=qt.return||qt.value;case yr:return"";case Pi:return qt.return=qt.value+"{"+pt(qt.children,vr)+"}";case it:if(!An(qt.value=qt.props.join(",")))return""}return An(or=pt(qt.children,vr))?qt.return=qt.value+"{"+or+"}":""}var dr=1,Tr=1,Hr=0,Ue=0,Je=0,Ee="";function st(qt,hr,or,vr,wr,yn,En,$n){return{value:qt,root:hr,parent:or,type:vr,props:wr,children:yn,line:dr,column:Tr,length:En,return:"",siblings:$n}}function nr(qt,hr){return assign(st("",null,null,"",null,null,0,qt.siblings),qt,{length:-qt.length},hr)}function Lr(qt){for(;qt.root;)qt=nr(qt.root,{children:[qt]});append(qt,qt.siblings)}function Or(){return Je}function Ir(){return Je=Ue>0?bi(Ee,--Ue):0,Tr--,Je===10&&(Tr=1,dr--),Je}function Ur(){return Je=Ue<Hr?bi(Ee,Ue++):0,Tr++,Je===10&&(Tr=1,dr++),Je}function _n(){return bi(Ee,Ue)}function Pr(){return Ue}function fn(qt,hr){return qn(Ee,qt,hr)}function nn(qt){switch(qt){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function on(qt){return dr=Tr=1,Hr=An(Ee=qt),Ue=0,[]}function Sn(qt){return Ee="",qt}function va(qt){return Qn(fn(Ue-1,Bi(qt===91?qt+2:qt===40?qt+1:qt)))}function wi(qt){return Sn(vn(on(qt)))}function _i(qt){for(;(Je=_n())&&Je<33;)Ur();return nn(qt)>2||nn(Je)>3?"":" "}function vn(qt){for(;Ur();)switch(nn(Je)){case 0:append(Ha(Ue-1),qt);break;case 2:append(va(Je),qt);break;default:append(from(Je),qt)}return qt}function si(qt,hr){for(;--hr&&Ur()&&!(Je<48||Je>102||Je>57&&Je<65||Je>70&&Je<97););return fn(qt,Pr()+(hr<6&&_n()==32&&Ur()==32))}function Bi(qt){for(;Ur();)switch(Je){case qt:return Ue;case 34:case 39:qt!==34&&qt!==39&&Bi(Je);break;case 40:qt===41&&Bi(qt);break;case 92:Ur();break}return Ue}function da(qt,hr){for(;Ur()&&qt+Je!==57;)if(qt+Je===84&&_n()===47)break;return"/*"+fn(hr,Ue-1)+"*"+Ji(qt===47?qt:Ur())}function Ha(qt){for(;!nn(_n());)Ur();return fn(qt,Ue)}function Ta(qt){return Sn(fs("",null,null,null,[""],qt=on(qt),0,[0],qt))}function fs(qt,hr,or,vr,wr,yn,En,$n,Ln){for(var Vn=0,ur=0,Nr=En,xr=0,hn=0,Wn=0,ft=1,Pn=1,Kn=1,ui=0,Xi="",$r=wr,Vr=yn,ga=vr,Ii=Xi;Pn;)switch(Wn=ui,ui=Ur()){case 40:if(Wn!=108&&bi(Ii,Nr-1)==58){Ki(Ii+=ei(va(ui),"&","&\f"),"&\f",ni(Vn?$n[Vn-1]:0))!=-1&&(Kn=-1);break}case 34:case 39:case 91:Ii+=va(ui);break;case 9:case 10:case 13:case 32:Ii+=_i(Wn);break;case 92:Ii+=si(Pr()-1,7);continue;case 47:switch(_n()){case 42:case 47:_t(Wa(da(Ur(),Pr()),hr,or,Ln),Ln),(nn(Wn||1)==5||nn(_n()||1)==5)&&An(Ii)&&qn(Ii,-1,void 0)!==" "&&(Ii+=" ");break;default:Ii+="/"}break;case 123*ft:$n[Vn++]=An(Ii)*Kn;case 125*ft:case 59:case 0:switch(ui){case 0:case 125:Pn=0;case 59+ur:Kn==-1&&(Ii=ei(Ii,/\f/g,"")),hn>0&&(An(Ii)-Nr||ft===0&&Wn===47)&&_t(hn>32?mi(Ii+";",vr,or,Nr-1,Ln):mi(ei(Ii," ","")+";",vr,or,Nr-2,Ln),Ln);break;case 59:Ii+=";";default:if(_t(ga=Es(Ii,hr,or,Vn,ur,wr,$n,Xi,$r=[],Vr=[],Nr,yn),yn),ui===123)if(ur===0)fs(Ii,hr,ga,ga,$r,yn,Nr,$n,Vr);else{switch(xr){case 99:if(bi(Ii,3)===110)break;case 108:if(bi(Ii,2)===97)break;default:ur=0;case 100:case 109:case 115:}ur?fs(qt,ga,ga,vr&&_t(Es(qt,ga,ga,0,0,wr,$n,Xi,wr,$r=[],Nr,Vr),Vr),wr,Vr,Nr,$n,vr?$r:Vr):fs(Ii,ga,ga,ga,[""],Vr,0,$n,Vr)}}Vn=ur=hn=0,ft=Kn=1,Xi=Ii="",Nr=En;break;case 58:Nr=1+An(Ii),hn=Wn;default:if(ft<1){if(ui==123)--ft;else if(ui==125&&ft++==0&&Ir()==125)continue}switch(Ii+=Ji(ui),ui*ft){case 38:Kn=ur>0?1:(Ii+="\f",-1);break;case 44:$n[Vn++]=(An(Ii)-1)*Kn,Kn=1;break;case 64:_n()===45&&(Ii+=va(Ur())),xr=_n(),ur=Nr=An(Xi=Ii+=Ha(Pr())),ui++;break;case 45:Wn===45&&An(Ii)==2&&(ft=0)}}return yn}function Es(qt,hr,or,vr,wr,yn,En,$n,Ln,Vn,ur,Nr){for(var xr=wr-1,hn=wr===0?yn:[""],Wn=rr(hn),ft=0,Pn=0,Kn=0;ft<vr;++ft)for(var ui=0,Xi=qn(qt,xr+1,xr=ni(Pn=En[ft])),$r=qt;ui<Wn;++ui)($r=Qn(Pn>0?hn[ui]+" "+Xi:ei(Xi,/&\f/g,hn[ui])))&&(Ln[Kn++]=$r);return st(qt,hr,or,wr===0?it:$n,Ln,Vn,ur,Nr)}function Wa(qt,hr,or,vr){return st(qt,hr,or,yr,Ji(Or()),qn(qt,2,-2),0,vr)}function mi(qt,hr,or,vr,wr){return st(qt,hr,or,Br,qn(qt,0,vr),qn(qt,vr+1,-1),vr,wr)}function ia(qt,hr){var or=hr.path,vr=hr.parentSelectors;(0,Bt.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(or?"Error in ".concat(or,": "):"").concat(qt).concat(vr.length?" Selector: ".concat(vr.join(" | ")):""))}var os=function(hr,or,vr){if(hr==="content"){var wr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,yn=["normal","none","initial","inherit","unset"];(typeof or!="string"||yn.indexOf(or)===-1&&!wr.test(or)&&(or.charAt(0)!==or.charAt(or.length-1)||or.charAt(0)!=='"'&&or.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(or,"\"'`."),vr)}},Ga=null,Is=function(hr,or,vr){hr==="animation"&&vr.hashId&&or!=="none"&&lintWarning("You seem to be using hashed animation '".concat(or,"', in which case 'animationName' with Keyframe as value is recommended."),vr)},Yi=null;function ms(qt){var hr,or=((hr=qt.match(/:not\(([^)]*)\)/))===null||hr===void 0?void 0:hr[1])||"",vr=or.split(/(\[[^[]*])|(?=[.#])/).filter(function(wr){return wr});return vr.length>1}function bo(qt){return qt.parentSelectors.reduce(function(hr,or){return hr?or.includes("&")?or.replace(/&/g,hr):"".concat(hr," ").concat(or):or},"")}var Ni=function(hr,or,vr){var wr=bo(vr),yn=wr.match(/:not\([^)]*\)/g)||[];yn.length>0&&yn.some(ms)&&ia("Concat ':not' selector not support in legacy browsers.",vr)},vs=Ni,Na=function(hr,or,vr){switch(hr){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":ia("You seem to be using non-logical property '".concat(hr,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof or=="string"){var wr=or.split(" ").map(function($n){return $n.trim()});wr.length===4&&wr[1]!==wr[3]&&ia("You seem to be using '".concat(hr,"' property with different left ").concat(hr," and right ").concat(hr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr)}return;case"clear":case"textAlign":(or==="left"||or==="right")&&ia("You seem to be using non-logical value '".concat(or,"' of ").concat(hr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr);return;case"borderRadius":if(typeof or=="string"){var yn=or.split("/").map(function($n){return $n.trim()}),En=yn.reduce(function($n,Ln){if($n)return $n;var Vn=Ln.split(" ").map(function(ur){return ur.trim()});return Vn.length>=2&&Vn[0]!==Vn[1]||Vn.length===3&&Vn[1]!==Vn[2]||Vn.length===4&&Vn[2]!==Vn[3]?!0:$n},!1);En&&ia("You seem to be using non-logical value '".concat(or,"' of ").concat(hr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr)}return;default:}},Ys=Na,Dn=function(hr,or,vr){(typeof or=="string"&&/NaN/g.test(or)||Number.isNaN(or))&&ia("Unexpected 'NaN' in property '".concat(hr,": ").concat(or,"'."),vr)},$a=Dn,cs=function(hr,or,vr){vr.parentSelectors.some(function(wr){var yn=wr.split(",");return yn.some(function(En){return En.split("&").length>2})})&&ia("Should not use more than one `&` in a selector.",vr)},ja=cs,zi="data-ant-cssinjs-cache-path",Ra="_FILE_STYLE__";function Da(qt){return Object.keys(qt).map(function(hr){var or=qt[hr];return"".concat(hr,":").concat(or)}).join(";")}var ws,Xs=!0;function xo(qt){var hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;ws=qt,Xs=hr}function ho(){if(!ws&&(ws={},(0,q.Z)())){var qt=document.createElement("div");qt.className=zi,qt.style.position="fixed",qt.style.visibility="hidden",qt.style.top="-9999px",document.body.appendChild(qt);var hr=getComputedStyle(qt).content||"";hr=hr.replace(/^"/,"").replace(/"$/,""),hr.split(";").forEach(function(wr){var yn=wr.split(":"),En=(0,r.Z)(yn,2),$n=En[0],Ln=En[1];ws[$n]=Ln});var or=document.querySelector("style[".concat(zi,"]"));if(or){var vr;Xs=!1,(vr=or.parentNode)===null||vr===void 0||vr.removeChild(or)}document.body.removeChild(qt)}}function wa(qt){return ho(),!!ws[qt]}function gs(qt){var hr=ws[qt],or=null;if(hr&&(0,q.Z)())if(Xs)or=Ra;else{var vr=document.querySelector("style[".concat(B,'="').concat(ws[qt],'"]'));vr?or=vr.innerHTML:delete ws[qt]}return[or,hr]}var Zs="_skip_check_",no="_multi_value_";function Eo(qt){var hr=pt(Ta(qt),cr);return hr.replace(/\{%%%\:[^;];}/g,";")}function wo(qt){return(0,ue.Z)(qt)==="object"&&qt&&(Zs in qt||no in qt)}function po(qt,hr,or){if(!hr)return qt;var vr=".".concat(hr),wr=or==="low"?":where(".concat(vr,")"):vr,yn=qt.split(",").map(function(En){var $n,Ln=En.trim().split(/\s+/),Vn=Ln[0]||"",ur=(($n=Vn.match(/^\w+/))===null||$n===void 0?void 0:$n[0])||"";return Vn="".concat(ur).concat(wr).concat(Vn.slice(ur.length)),[Vn].concat((0,l.Z)(Ln.slice(1))).join(" ")});return yn.join(",")}var di=function qt(hr){var or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},wr=vr.root,yn=vr.injectHash,En=vr.parentSelectors,$n=or.hashId,Ln=or.layer,Vn=or.path,ur=or.hashPriority,Nr=or.transformers,xr=Nr===void 0?[]:Nr,hn=or.linters,Wn=hn===void 0?[]:hn,ft="",Pn={};function Kn($r){var Vr=$r.getName($n);if(!Pn[Vr]){var ga=qt($r.style,or,{root:!1,parentSelectors:En}),Ii=(0,r.Z)(ga,1),aa=Ii[0];Pn[Vr]="@keyframes ".concat($r.getName($n)).concat(aa)}}function ui($r){var Vr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return $r.forEach(function(ga){Array.isArray(ga)?ui(ga,Vr):ga&&Vr.push(ga)}),Vr}var Xi=ui(Array.isArray(hr)?hr:[hr]);return Xi.forEach(function($r){var Vr=typeof $r=="string"&&!wr?{}:$r;if(typeof Vr=="string")ft+="".concat(Vr,`
|
|
|
`);else if(Vr._keyframe)Kn(Vr);else{var ga=xr.reduce(function(Ii,aa){var Ds;return(aa==null||(Ds=aa.visit)===null||Ds===void 0?void 0:Ds.call(aa,Ii))||Ii},Vr);Object.keys(ga).forEach(function(Ii){var aa=ga[Ii];if((0,ue.Z)(aa)==="object"&&aa&&(Ii!=="animationName"||!aa._keyframe)&&!wo(aa)){var Ds=!1,li=Ii.trim(),Ws=!1;(wr||yn)&&$n?li.startsWith("@")?Ds=!0:li==="&"?li=po("",$n,ur):li=po(Ii,$n,ur):wr&&!$n&&(li==="&"||li==="")&&(li="",Ws=!0);var Uo=qt(aa,or,{root:Ws,injectHash:Ds,parentSelectors:[].concat((0,l.Z)(En),[li])}),Ls=(0,r.Z)(Uo,2),ya=Ls[0],Va=Ls[1];Pn=(0,c.Z)((0,c.Z)({},Pn),Va),ft+="".concat(li).concat(ya)}else{let Ns=function($s,Ye){var Qe=$s.replace(/[A-Z]/g,function(Kt){return"-".concat(Kt.toLowerCase())}),Mt=Ye;!mt[$s]&&typeof Mt=="number"&&Mt!==0&&(Mt="".concat(Mt,"px")),$s==="animationName"&&Ye!==null&&Ye!==void 0&&Ye._keyframe&&(Kn(Ye),Mt=Ye.getName($n)),ft+="".concat(Qe,":").concat(Mt,";")};var ys,Mn=(ys=aa==null?void 0:aa.value)!==null&&ys!==void 0?ys:aa;(0,ue.Z)(aa)==="object"&&aa!==null&&aa!==void 0&&aa[no]&&Array.isArray(Mn)?Mn.forEach(function($s){Ns(Ii,$s)}):Ns(Ii,Mn)}})}}),wr?Ln&&(ft&&(ft="@layer ".concat(Ln.name," {").concat(ft,"}")),Ln.dependencies&&(Pn["@layer ".concat(Ln.name)]=Ln.dependencies.map(function($r){return"@layer ".concat($r,", ").concat(Ln.name,";")}).join(`
|
|
|
`))):ft="{".concat(ft,"}"),[ft,Pn]};function ci(qt,hr){return o("".concat(qt.join("%")).concat(hr))}function Ua(){return null}var Qa="style";function qa(qt,hr){var or=qt.token,vr=qt.path,wr=qt.hashId,yn=qt.layer,En=qt.nonce,$n=qt.clientOnly,Ln=qt.order,Vn=Ln===void 0?0:Ln,ur=u.useContext(ie),Nr=ur.autoClear,xr=ur.mock,hn=ur.defaultCache,Wn=ur.hashPriority,ft=ur.container,Pn=ur.ssrInline,Kn=ur.transformers,ui=ur.linters,Xi=ur.cache,$r=ur.layer,Vr=or._tokenKey,ga=[Vr];$r&&ga.push("layer"),ga.push.apply(ga,(0,l.Z)(vr));var Ii=ct,aa=Ft(Qa,ga,function(){var Ls=ga.join("|");if(wa(Ls)){var ya=gs(Ls),Va=(0,r.Z)(ya,2),ys=Va[0],Mn=Va[1];if(ys)return[ys,Vr,Mn,{},$n,Vn]}var Ns=hr(),$s=di(Ns,{hashId:wr,hashPriority:Wn,layer:$r?yn:void 0,path:vr.join("-"),transformers:Kn,linters:ui}),Ye=(0,r.Z)($s,2),Qe=Ye[0],Mt=Ye[1],Kt=Eo(Qe),pr=ci(ga,Kt);return[Kt,Vr,pr,Mt,$n,Vn]},function(Ls,ya){var Va=(0,r.Z)(Ls,3),ys=Va[2];(ya||Nr)&&ct&&(0,h.jL)(ys,{mark:B})},function(Ls){var ya=(0,r.Z)(Ls,4),Va=ya[0],ys=ya[1],Mn=ya[2],Ns=ya[3];if(Ii&&Va!==Ra){var $s={mark:B,prepend:$r?!1:"queue",attachTo:ft,priority:Vn},Ye=typeof En=="function"?En():En;Ye&&($s.csp={nonce:Ye});var Qe=[],Mt=[];Object.keys(Ns).forEach(function(pr){pr.startsWith("@layer")?Qe.push(pr):Mt.push(pr)}),Qe.forEach(function(pr){(0,h.hq)(Eo(Ns[pr]),"_layer-".concat(pr),(0,c.Z)((0,c.Z)({},$s),{},{prepend:!0}))});var Kt=(0,h.hq)(Va,Mn,$s);Kt[Y]=Xi.instanceId,Kt.setAttribute(M,Vr),Mt.forEach(function(pr){(0,h.hq)(Eo(Ns[pr]),"_effect-".concat(pr),$s)})}}),Ds=(0,r.Z)(aa,3),li=Ds[0],Ws=Ds[1],Uo=Ds[2];return function(Ls){var ya;if(!Pn||Ii||!hn)ya=u.createElement(Ua,null);else{var Va;ya=u.createElement("style",(0,lr.Z)({},(Va={},(0,i.Z)(Va,M,Ws),(0,i.Z)(Va,B,Uo),Va),{dangerouslySetInnerHTML:{__html:li}}))}return u.createElement(u.Fragment,null,ya,Ls)}}var Qs=function(hr,or,vr){var wr=(0,r.Z)(hr,6),yn=wr[0],En=wr[1],$n=wr[2],Ln=wr[3],Vn=wr[4],ur=wr[5],Nr=vr||{},xr=Nr.plain;if(Vn)return null;var hn=yn,Wn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ur)};return hn=Ht(yn,En,$n,Wn,xr),Ln&&Object.keys(Ln).forEach(function(ft){if(!or[ft]){or[ft]=!0;var Pn=Eo(Ln[ft]),Kn=Ht(Pn,En,"_effect-".concat(ft),Wn,xr);ft.startsWith("@layer")?hn=Kn+hn:hn+=Kn}}),[ur,$n,hn]},qs="cssVar",Qo=function(hr,or){var vr=hr.key,wr=hr.prefix,yn=hr.unitless,En=hr.ignore,$n=hr.token,Ln=hr.scope,Vn=Ln===void 0?"":Ln,ur=(0,u.useContext)(ie),Nr=ur.cache.instanceId,xr=ur.container,hn=$n._tokenKey,Wn=[].concat((0,l.Z)(hr.path),[vr,Vn,hn]),ft=Ft(qs,Wn,function(){var Pn=or(),Kn=Yt(Pn,vr,{prefix:wr,unitless:yn,ignore:En,scope:Vn}),ui=(0,r.Z)(Kn,2),Xi=ui[0],$r=ui[1],Vr=ci(Wn,$r);return[Xi,$r,Vr,vr]},function(Pn){var Kn=(0,r.Z)(Pn,3),ui=Kn[2];ct&&(0,h.jL)(ui,{mark:B})},function(Pn){var Kn=(0,r.Z)(Pn,3),ui=Kn[1],Xi=Kn[2];if(ui){var $r=(0,h.hq)(ui,Xi,{mark:B,prepend:"queue",attachTo:xr,priority:-999});$r[Y]=Nr,$r.setAttribute(M,vr)}});return ft},ds=function(hr,or,vr){var wr=(0,r.Z)(hr,4),yn=wr[1],En=wr[2],$n=wr[3],Ln=vr||{},Vn=Ln.plain;if(!yn)return null;var ur=-999,Nr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ur)},xr=Ht(yn,$n,En,Nr,Vn);return[ur,En,xr]},Oo=Qo,ko,Ho=(ko={},(0,i.Z)(ko,Qa,Qs),(0,i.Z)(ko,jr,cn),(0,i.Z)(ko,qs,ds),ko);function Su(qt){return qt!==null}function So(qt,hr){var or=typeof hr=="boolean"?{plain:hr}:hr||{},vr=or.plain,wr=vr===void 0?!1:vr,yn=or.types,En=yn===void 0?["style","token","cssVar"]:yn,$n=new RegExp("^(".concat((typeof En=="string"?[En]:En).join("|"),")%")),Ln=Array.from(qt.cache.keys()).filter(function(xr){return $n.test(xr)}),Vn={},ur={},Nr="";return Ln.map(function(xr){var hn=xr.replace($n,"").replace(/%/g,"|"),Wn=xr.split("%"),ft=(0,r.Z)(Wn,1),Pn=ft[0],Kn=Ho[Pn],ui=Kn(qt.cache.get(xr)[1],Vn,{plain:wr});if(!ui)return null;var Xi=(0,r.Z)(ui,3),$r=Xi[0],Vr=Xi[1],ga=Xi[2];return xr.startsWith("style")&&(ur[hn]=Vr),[$r,ga]}).filter(Su).sort(function(xr,hn){var Wn=(0,r.Z)(xr,1),ft=Wn[0],Pn=(0,r.Z)(hn,1),Kn=Pn[0];return ft-Kn}).forEach(function(xr){var hn=(0,r.Z)(xr,2),Wn=hn[1];Nr+=Wn}),Nr+=Ht(".".concat(zi,'{content:"').concat(Da(ur),'";}'),void 0,void 0,(0,i.Z)({},zi,zi),wr),Nr}var _o=function(){function qt(hr,or){(0,_.Z)(this,qt),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=hr,this.style=or}return(0,b.Z)(qt,[{key:"getName",value:function(){var or=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return or?"".concat(or,"-").concat(this.name):this.name}}]),qt}(),Js=_o;function $u(qt){if(typeof qt=="number")return[[qt],!1];var hr=String(qt).trim(),or=hr.match(/(.*)(!important)/),vr=(or?or[1]:hr).trim().split(/\s+/),wr=[],yn=0;return[vr.reduce(function(En,$n){if($n.includes("(")||$n.includes(")")){var Ln=$n.split("(").length-1,Vn=$n.split(")").length-1;yn+=Ln-Vn}return yn>=0&&wr.push($n),yn===0&&(En.push(wr.join(" ")),wr=[]),En},[]),!!or]}function Ro(qt){return qt.notSplit=!0,qt}var Lo={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:Ro(["borderTop","borderBottom"]),borderBlockStart:Ro(["borderTop"]),borderBlockEnd:Ro(["borderBottom"]),borderInline:Ro(["borderLeft","borderRight"]),borderInlineStart:Ro(["borderLeft"]),borderInlineEnd:Ro(["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 Hs(qt,hr){var or=qt;return hr&&(or="".concat(or," !important")),{_skip_check_:!0,value:or}}var du={visit:function(hr){var or={};return Object.keys(hr).forEach(function(vr){var wr=hr[vr],yn=Lo[vr];if(yn&&(typeof wr=="number"||typeof wr=="string")){var En=$u(wr),$n=(0,r.Z)(En,2),Ln=$n[0],Vn=$n[1];yn.length&&yn.notSplit?yn.forEach(function(ur){or[ur]=Hs(wr,Vn)}):yn.length===1?or[yn[0]]=Hs(Ln[0],Vn):yn.length===2?yn.forEach(function(ur,Nr){var xr;or[ur]=Hs((xr=Ln[Nr])!==null&&xr!==void 0?xr:Ln[0],Vn)}):yn.length===4?yn.forEach(function(ur,Nr){var xr,hn;or[ur]=Hs((xr=(hn=Ln[Nr])!==null&&hn!==void 0?hn:Ln[Nr-2])!==null&&xr!==void 0?xr:Ln[0],Vn)}):or[vr]=wr}else or[vr]=wr}),or}},jo=du,Ao=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Bs(qt,hr){var or=Math.pow(10,hr+1),vr=Math.floor(qt*or);return Math.round(vr/10)*10/or}var Rs=function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},or=hr.rootValue,vr=or===void 0?16:or,wr=hr.precision,yn=wr===void 0?5:wr,En=hr.mediaQuery,$n=En===void 0?!1:En,Ln=function(Nr,xr){if(!xr)return Nr;var hn=parseFloat(xr);if(hn<=1)return Nr;var Wn=Bs(hn/vr,yn);return"".concat(Wn,"rem")},Vn=function(Nr){var xr=(0,c.Z)({},Nr);return Object.entries(Nr).forEach(function(hn){var Wn=(0,r.Z)(hn,2),ft=Wn[0],Pn=Wn[1];if(typeof Pn=="string"&&Pn.includes("px")){var Kn=Pn.replace(Ao,Ln);xr[ft]=Kn}!mt[ft]&&typeof Pn=="number"&&Pn!==0&&(xr[ft]="".concat(Pn,"px").replace(Ao,Ln));var ui=ft.trim();if(ui.startsWith("@")&&ui.includes("px")&&$n){var Xi=ft.replace(Ao,Ln);xr[Xi]=xr[ft],delete xr[ft]}}),xr};return{visit:Vn}},hu=Rs,Au={supportModernCSS:function(){return $e()&&nt()}}},7657:function(d,v,e){"use strict";e.d(v,{Z:function(){return le}});var r=e(14809),i=e(50298),l=e(4635),c=e(62646),f=e(59301),o=e(92310),h=e.n(o),u=e(30071),a=e(18418),x=e(20439),p=e(93664),y=e(810),_=e(96452),b=e(48736);function S(Z){return Z.replace(/-(.)/g,function($,se){return se.toUpperCase()})}function k(Z,$){(0,b.ZP)(Z,"[@ant-design/icons] ".concat($))}function R(Z){return(0,p.Z)(Z)==="object"&&typeof Z.name=="string"&&typeof Z.theme=="string"&&((0,p.Z)(Z.icon)==="object"||typeof Z.icon=="function")}function A(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(Z).reduce(function($,se){var _e=Z[se];switch(se){case"class":$.className=_e,delete $.class;break;default:delete $[se],$[S(se)]=_e}return $},{})}function D(Z,$,se){return se?f.createElement(Z.tag,(0,x.Z)((0,x.Z)({key:$},A(Z.attrs)),se),(Z.children||[]).map(function(_e,De){return D(_e,"".concat($,"-").concat(Z.tag,"-").concat(De))})):f.createElement(Z.tag,(0,x.Z)({key:$},A(Z.attrs)),(Z.children||[]).map(function(_e,De){return D(_e,"".concat($,"-").concat(Z.tag,"-").concat(De))}))}function M(Z){return(0,u.generate)(Z)[0]}function B(Z){return Z?Array.isArray(Z)?Z:[Z]:[]}var j={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},Y=`
|
|
|
.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($){var se=(0,f.useContext)(a.Z),_e=se.csp,De=se.prefixCls,ke=se.layer,Ze=Y;De&&(Ze=Ze.replace(/anticon/g,De)),ke&&(Ze="@layer ".concat(ke,` {
|
|
|
`).concat(Ze,`
|
|
|
}`)),(0,f.useEffect)(function(){var Ne=$.current,Bt=(0,_.A)(Ne);(0,y.hq)(Ze,"@ant-design-icons",{prepend:!ke,csp:_e,attachTo:Bt})},[])},G=["icon","className","onClick","style","primaryColor","secondaryColor"],ae={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ie(Z){var $=Z.primaryColor,se=Z.secondaryColor;ae.primaryColor=$,ae.secondaryColor=se||M($),ae.calculated=!!se}function ue(){return(0,x.Z)({},ae)}var q=function($){var se=$.icon,_e=$.className,De=$.onClick,ke=$.style,Ze=$.primaryColor,Ne=$.secondaryColor,Bt=(0,c.Z)($,G),yt=f.useRef(),Dt=ae;if(Ze&&(Dt={primaryColor:Ze,secondaryColor:Ne||M(Ze)}),V(yt),k(R(se),"icon should be icon definiton, but got ".concat(se)),!R(se))return null;var Jt=se;return Jt&&typeof Jt.icon=="function"&&(Jt=(0,x.Z)((0,x.Z)({},Jt),{},{icon:Jt.icon(Dt.primaryColor,Dt.secondaryColor)})),D(Jt.icon,"svg-".concat(Jt.name),(0,x.Z)((0,x.Z)({className:_e,onClick:De,style:ke,"data-icon":Jt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Bt),{},{ref:yt}))};q.displayName="IconReact",q.getTwoToneColors=ue,q.setTwoToneColors=ie;var J=q;function K(Z){var $=B(Z),se=(0,i.Z)($,2),_e=se[0],De=se[1];return J.setTwoToneColors({primaryColor:_e,secondaryColor:De})}function oe(){var Z=J.getTwoToneColors();return Z.calculated?[Z.primaryColor,Z.secondaryColor]:Z.primaryColor}var ee=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];K(u.blue.primary);var Q=f.forwardRef(function(Z,$){var se=Z.className,_e=Z.icon,De=Z.spin,ke=Z.rotate,Ze=Z.tabIndex,Ne=Z.onClick,Bt=Z.twoToneColor,yt=(0,c.Z)(Z,ee),Dt=f.useContext(a.Z),Jt=Dt.prefixCls,er=Jt===void 0?"anticon":Jt,tr=Dt.rootClassName,Xe=h()(tr,er,(0,l.Z)((0,l.Z)({},"".concat(er,"-").concat(_e.name),!!_e.name),"".concat(er,"-spin"),!!De||_e.name==="loading"),se),Pt=Ze;Pt===void 0&&Ne&&(Pt=-1);var Zt=ke?{msTransform:"rotate(".concat(ke,"deg)"),transform:"rotate(".concat(ke,"deg)")}:void 0,ot=B(Bt),xt=(0,i.Z)(ot,2),ht=xt[0],et=xt[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":_e.name},yt,{ref:$,tabIndex:Pt,onClick:Ne,className:Xe}),f.createElement(J,{icon:_e,primaryColor:ht,secondaryColor:et,style:Zt}))});Q.displayName="AntdIcon",Q.getTwoToneColor=oe,Q.setTwoToneColor=K;var le=Q},18418:function(d,v,e){"use strict";var r=e(59301),i=(0,r.createContext)({});v.Z=i},29679:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(14809),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,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(14809),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,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(14809),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,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(14809),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,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(14809),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,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(14809),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,v,e){"use strict";e.d(v,{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(S,k,R){return{r:(0,r.sh)(S,255)*255,g:(0,r.sh)(k,255)*255,b:(0,r.sh)(R,255)*255}}function l(S,k,R){S=(0,r.sh)(S,255),k=(0,r.sh)(k,255),R=(0,r.sh)(R,255);var A=Math.max(S,k,R),D=Math.min(S,k,R),M=0,B=0,j=(A+D)/2;if(A===D)B=0,M=0;else{var Y=A-D;switch(B=j>.5?Y/(2-A-D):Y/(A+D),A){case S:M=(k-R)/Y+(k<R?6:0);break;case k:M=(R-S)/Y+2;break;case R:M=(S-k)/Y+4;break;default:break}M/=6}return{h:M,s:B,l:j}}function c(S,k,R){return R<0&&(R+=1),R>1&&(R-=1),R<.16666666666666666?S+(k-S)*(6*R):R<.5?k:R<.6666666666666666?S+(k-S)*(.6666666666666666-R)*6:S}function f(S,k,R){var A,D,M;if(S=(0,r.sh)(S,360),k=(0,r.sh)(k,100),R=(0,r.sh)(R,100),k===0)D=R,M=R,A=R;else{var B=R<.5?R*(1+k):R+k-R*k,j=2*R-B;A=c(j,B,S+.3333333333333333),D=c(j,B,S),M=c(j,B,S-.3333333333333333)}return{r:A*255,g:D*255,b:M*255}}function o(S,k,R){S=(0,r.sh)(S,255),k=(0,r.sh)(k,255),R=(0,r.sh)(R,255);var A=Math.max(S,k,R),D=Math.min(S,k,R),M=0,B=A,j=A-D,Y=A===0?0:j/A;if(A===D)M=0;else{switch(A){case S:M=(k-R)/j+(k<R?6:0);break;case k:M=(R-S)/j+2;break;case R:M=(S-k)/j+4;break;default:break}M/=6}return{h:M,s:Y,v:B}}function h(S,k,R){S=(0,r.sh)(S,360)*6,k=(0,r.sh)(k,100),R=(0,r.sh)(R,100);var A=Math.floor(S),D=S-A,M=R*(1-k),B=R*(1-D*k),j=R*(1-(1-D)*k),Y=A%6,V=[R,B,M,M,j,R][Y],G=[j,R,R,B,M,M][Y],ae=[M,M,j,R,R,B][Y];return{r:V*255,g:G*255,b:ae*255}}function u(S,k,R,A){var D=[(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(k).toString(16)),(0,r.FZ)(Math.round(R).toString(16))];return A&&D[0].startsWith(D[0].charAt(1))&&D[1].startsWith(D[1].charAt(1))&&D[2].startsWith(D[2].charAt(1))?D[0].charAt(0)+D[1].charAt(0)+D[2].charAt(0):D.join("")}function a(S,k,R,A,D){var M=[(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(k).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(p(A))];return D&&M[0].startsWith(M[0].charAt(1))&&M[1].startsWith(M[1].charAt(1))&&M[2].startsWith(M[2].charAt(1))&&M[3].startsWith(M[3].charAt(1))?M[0].charAt(0)+M[1].charAt(0)+M[2].charAt(0)+M[3].charAt(0):M.join("")}function x(S,k,R,A){var D=[(0,r.FZ)(p(A)),(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(k).toString(16)),(0,r.FZ)(Math.round(R).toString(16))];return D.join("")}function p(S){return Math.round(parseFloat(S)*255).toString(16)}function y(S){return _(S)/255}function _(S){return parseInt(S,16)}function b(S){return{r:S>>16,g:(S&65280)>>8,b:S&255}}},93796:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{ky:function(){return y},uA:function(){return c},uz:function(){return p}});var r=e(12722),i=e(93796),l=e(12187);function c(_){var b={r:0,g:0,b:0},S=1,k=null,R=null,A=null,D=!1,M=!1;return typeof _=="string"&&(_=p(_)),typeof _=="object"&&(y(_.r)&&y(_.g)&&y(_.b)?(b=(0,r.rW)(_.r,_.g,_.b),D=!0,M=String(_.r).substr(-1)==="%"?"prgb":"rgb"):y(_.h)&&y(_.s)&&y(_.v)?(k=(0,l.JX)(_.s),R=(0,l.JX)(_.v),b=(0,r.WE)(_.h,k,R),D=!0,M="hsv"):y(_.h)&&y(_.s)&&y(_.l)&&(k=(0,l.JX)(_.s),A=(0,l.JX)(_.l),b=(0,r.ve)(_.h,k,A),D=!0,M="hsl"),Object.prototype.hasOwnProperty.call(_,"a")&&(S=_.a)),S=(0,l.Yq)(S),{ok:D,format:_.format||M,r:Math.min(255,Math.max(b.r,0)),g:Math.min(255,Math.max(b.g,0)),b:Math.min(255,Math.max(b.b,0)),a:S}}var f="[-\\+]?\\d+%?",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 S=x.rgb.exec(_);return S?{r:S[1],g:S[2],b:S[3]}:(S=x.rgba.exec(_),S?{r:S[1],g:S[2],b:S[3],a:S[4]}:(S=x.hsl.exec(_),S?{h:S[1],s:S[2],l:S[3]}:(S=x.hsla.exec(_),S?{h:S[1],s:S[2],l:S[3],a:S[4]}:(S=x.hsv.exec(_),S?{h:S[1],s:S[2],v:S[3]}:(S=x.hsva.exec(_),S?{h:S[1],s:S[2],v:S[3],a:S[4]}:(S=x.hex8.exec(_),S?{r:(0,r.VD)(S[1]),g:(0,r.VD)(S[2]),b:(0,r.VD)(S[3]),a:(0,r.T6)(S[4]),format:b?"name":"hex8"}:(S=x.hex6.exec(_),S?{r:(0,r.VD)(S[1]),g:(0,r.VD)(S[2]),b:(0,r.VD)(S[3]),format:b?"name":"hex"}:(S=x.hex4.exec(_),S?{r:(0,r.VD)(S[1]+S[1]),g:(0,r.VD)(S[2]+S[2]),b:(0,r.VD)(S[3]+S[3]),a:(0,r.T6)(S[4]+S[4]),format:b?"name":"hex8"}:(S=x.hex3.exec(_),S?{r:(0,r.VD)(S[1]+S[1]),g:(0,r.VD)(S[2]+S[2]),b:(0,r.VD)(S[3]+S[3]),format:b?"name":"hex"}:!1)))))))))}function y(_){return!!x.CSS_UNIT.exec(String(_))}},64993:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{Z:function(){return V}});var r=e(50298),i=e(59301),l=e(4676),c=e(47273),f=e(48736),o=e(8654),h=i.createContext(null),u=h,a=e(95190),x=e(34280),p=[];function y(G,ae){var ie=i.useState(function(){if(!(0,c.Z)())return null;var _e=document.createElement("div");return _e}),ue=(0,r.Z)(ie,1),q=ue[0],J=i.useRef(!1),K=i.useContext(u),oe=i.useState(p),ee=(0,r.Z)(oe,2),Q=ee[0],le=ee[1],Z=K||(J.current?void 0:function(_e){le(function(De){var ke=[_e].concat((0,a.Z)(De));return ke})});function $(){q.parentElement||document.body.appendChild(q),J.current=!0}function se(){var _e;(_e=q.parentElement)===null||_e===void 0||_e.removeChild(q),J.current=!1}return(0,x.Z)(function(){return G?K?K($):$():se(),se},[G]),(0,x.Z)(function(){Q.length&&(Q.forEach(function(_e){return _e()}),le(p))},[Q]),[q,Z]}var _=e(810),b=e(75152);function S(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var k="rc-util-locker-".concat(Date.now()),R=0;function A(G){var ae=!!G,ie=i.useState(function(){return R+=1,"".concat(k,"_").concat(R)}),ue=(0,r.Z)(ie,1),q=ue[0];(0,x.Z)(function(){if(ae){var J=(0,b.o)(document.body).width,K=S();(0,_.hq)(`
|
|
|
html body {
|
|
|
overflow-y: hidden;
|
|
|
`.concat(K?"width: calc(100% - ".concat(J,"px);"):"",`
|
|
|
}`),q)}else(0,_.jL)(q);return function(){(0,_.jL)(q)}},[ae,q])}var D=!1;function M(G){return typeof G=="boolean"&&(D=G),D}var B=function(ae){return ae===!1?!1:!(0,c.Z)()||!ae?null:typeof ae=="string"?document.querySelector(ae):typeof ae=="function"?ae():ae},j=i.forwardRef(function(G,ae){var ie=G.open,ue=G.autoLock,q=G.getContainer,J=G.debug,K=G.autoDestroy,oe=K===void 0?!0:K,ee=G.children,Q=i.useState(ie),le=(0,r.Z)(Q,2),Z=le[0],$=le[1],se=Z||ie;i.useEffect(function(){(oe||ie)&&$(ie)},[ie,oe]);var _e=i.useState(function(){return B(q)}),De=(0,r.Z)(_e,2),ke=De[0],Ze=De[1];i.useEffect(function(){var ot=B(q);Ze(ot!=null?ot:null)});var Ne=y(se&&!ke,J),Bt=(0,r.Z)(Ne,2),yt=Bt[0],Dt=Bt[1],Jt=ke!=null?ke:yt;A(ue&&ie&&(0,c.Z)()&&(Jt===yt||Jt===document.body));var er=null;if(ee&&(0,o.Yr)(ee)&&ae){var tr=ee;er=tr.ref}var Xe=(0,o.x1)(er,ae);if(!se||!(0,c.Z)()||ke===void 0)return null;var Pt=Jt===!1||M(),Zt=ee;return ae&&(Zt=i.cloneElement(ee,{ref:Xe})),i.createElement(u.Provider,{value:Dt},Pt?Zt:(0,l.createPortal)(Zt,Jt))}),Y=j,V=Y},35593:function(d,v,e){"use strict";e.d(v,{Z:function(){return Zt}});var r=e(20439),i=e(50298),l=e(62646),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),S=e(14809),k=e(77900),R=e(8654);function A(ot){var xt=ot.prefixCls,ht=ot.align,et=ot.arrow,je=ot.arrowPos,ge=et||{},Se=ge.className,Me=ge.content,$e=je.x,He=$e===void 0?0:$e,nt=je.y,ct=nt===void 0?0:nt,Vt=b.useRef();if(!ht||!ht.points)return null;var Ht={position:"absolute"};if(ht.autoArrow!==!1){var Pe=ht.points[0],qe=ht.points[1],Yt=Pe[0],Rt=Pe[1],Wt=qe[0],$t=qe[1];Yt===Wt||!["t","b"].includes(Yt)?Ht.top=ct:Yt==="t"?Ht.top=0:Ht.bottom=0,Rt===$t||!["l","r"].includes(Rt)?Ht.left=He:Rt==="l"?Ht.left=0:Ht.right=0}return b.createElement("div",{ref:Vt,className:o()("".concat(xt,"-arrow"),Se),style:Ht},Me)}function D(ot){var xt=ot.prefixCls,ht=ot.open,et=ot.zIndex,je=ot.mask,ge=ot.motion;return je?b.createElement(k.default,(0,S.Z)({},ge,{motionAppear:!0,visible:ht,removeOnLeave:!0}),function(Se){var Me=Se.className;return b.createElement("div",{style:{zIndex:et},className:o()("".concat(xt,"-mask"),Me)})}):null}var M=b.memo(function(ot){var xt=ot.children;return xt},function(ot,xt){return xt.cache}),B=M,j=b.forwardRef(function(ot,xt){var ht=ot.popup,et=ot.className,je=ot.prefixCls,ge=ot.style,Se=ot.target,Me=ot.onVisibleChanged,$e=ot.open,He=ot.keepDom,nt=ot.fresh,ct=ot.onClick,Vt=ot.mask,Ht=ot.arrow,Pe=ot.arrowPos,qe=ot.align,Yt=ot.motion,Rt=ot.maskMotion,Wt=ot.forceRender,$t=ot.getPopupContainer,At=ot.autoDestroy,Xt=ot.portal,We=ot.zIndex,fe=ot.onMouseEnter,pe=ot.onMouseLeave,Ot=ot.onPointerEnter,Te=ot.ready,dt=ot.offsetX,Gt=ot.offsetY,St=ot.offsetR,Oe=ot.offsetB,wt=ot.onAlign,be=ot.onPrepare,Ke=ot.stretch,gt=ot.targetWidth,Ft=ot.targetHeight,Fe=typeof ht=="function"?ht():ht,Dr=$e||He,Ct=($t==null?void 0:$t.length)>0,Gr=b.useState(!$t||!Ct),Qr=(0,i.Z)(Gr,2),Cr=Qr[0],Fr=Qr[1];if((0,y.Z)(function(){!Cr&&Ct&&Se&&Fr(!0)},[Cr,Ct,Se]),!Cr)return null;var mr="auto",jr={left:"-1000vw",top:"-1000vh",right:mr,bottom:mr};if(Te||!$e){var sn,cn=qe.points,lr=qe.dynamicInset||((sn=qe._experimental)===null||sn===void 0?void 0:sn.dynamicInset),Lt=lr&&cn[0][1]==="r",mt=lr&&cn[0][0]==="b";Lt?(jr.right=St,jr.left=mr):(jr.left=dt,jr.right=mr),mt?(jr.bottom=Oe,jr.top=mr):(jr.top=Gt,jr.bottom=mr)}var vt={};return Ke&&(Ke.includes("height")&&Ft?vt.height=Ft:Ke.includes("minHeight")&&Ft&&(vt.minHeight=Ft),Ke.includes("width")&>?vt.width=gt:Ke.includes("minWidth")&>&&(vt.minWidth=gt)),$e||(vt.pointerEvents="none"),b.createElement(Xt,{open:Wt||Dr,getContainer:$t&&function(){return $t(Se)},autoDestroy:At},b.createElement(D,{prefixCls:je,open:$e,zIndex:We,mask:Vt,motion:Rt}),b.createElement(h.Z,{onResize:wt,disabled:!$e},function(Ut){return b.createElement(k.default,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Wt,leavedClassName:"".concat(je,"-hidden")},Yt,{onAppearPrepare:be,onEnterPrepare:be,visible:$e,onVisibleChanged:function(yr){var it;Yt==null||(it=Yt.onVisibleChanged)===null||it===void 0||it.call(Yt,yr),Me(yr)}}),function(Sr,yr){var it=Sr.className,Br=Sr.style,gn=o()(je,it,et);return b.createElement("div",{ref:(0,R.sQ)(Ut,xt,yr),className:gn,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(Pe.x||0,"px"),"--arrow-y":"".concat(Pe.y||0,"px")},jr),vt),Br),{},{boxSizing:"border-box",zIndex:We},ge),onMouseEnter:fe,onMouseLeave:pe,onPointerEnter:Ot,onClick:ct},Ht&&b.createElement(A,{prefixCls:je,arrow:Ht,arrowPos:Pe,align:qe}),b.createElement(B,{cache:!$e&&!nt},Fe))})}))}),Y=j,V=b.forwardRef(function(ot,xt){var ht=ot.children,et=ot.getTriggerDOMNode,je=(0,R.Yr)(ht),ge=b.useCallback(function(Me){(0,R.mH)(xt,et?et(Me):Me)},[et]),Se=(0,R.x1)(ge,ht.ref);return je?b.cloneElement(ht,{ref:Se}):ht}),G=V,ae=b.createContext(null),ie=ae;function ue(ot){return ot?Array.isArray(ot)?ot:[ot]:[]}function q(ot,xt,ht,et){return b.useMemo(function(){var je=ue(ht!=null?ht:xt),ge=ue(et!=null?et:xt),Se=new Set(je),Me=new Set(ge);return ot&&(Se.has("hover")&&(Se.delete("hover"),Se.add("click")),Me.has("hover")&&(Me.delete("hover"),Me.add("click"))),[Se,Me]},[ot,xt,ht,et])}var J=e(29194);function K(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ht=arguments.length>2?arguments[2]:void 0;return ht?ot[0]===xt[0]:ot[0]===xt[0]&&ot[1]===xt[1]}function oe(ot,xt,ht,et){for(var je=ht.points,ge=Object.keys(ot),Se=0;Se<ge.length;Se+=1){var Me,$e=ge[Se];if(K((Me=ot[$e])===null||Me===void 0?void 0:Me.points,je,et))return"".concat(xt,"-placement-").concat($e)}return""}function ee(ot,xt,ht,et){return xt||(ht?{motionName:"".concat(ot,"-").concat(ht)}:et?{motionName:et}:null)}function Q(ot){return ot.ownerDocument.defaultView}function le(ot){for(var xt=[],ht=ot==null?void 0:ot.parentElement,et=["hidden","scroll","clip","auto"];ht;){var je=Q(ht).getComputedStyle(ht),ge=je.overflowX,Se=je.overflowY,Me=je.overflow;[ge,Se,Me].some(function($e){return et.includes($e)})&&xt.push(ht),ht=ht.parentElement}return xt}function Z(ot){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(ot)?xt:ot}function $(ot){return Z(parseFloat(ot),0)}function se(ot,xt){var ht=(0,r.Z)({},ot);return(xt||[]).forEach(function(et){if(!(et instanceof HTMLBodyElement||et instanceof HTMLHtmlElement)){var je=Q(et).getComputedStyle(et),ge=je.overflow,Se=je.overflowClipMargin,Me=je.borderTopWidth,$e=je.borderBottomWidth,He=je.borderLeftWidth,nt=je.borderRightWidth,ct=et.getBoundingClientRect(),Vt=et.offsetHeight,Ht=et.clientHeight,Pe=et.offsetWidth,qe=et.clientWidth,Yt=$(Me),Rt=$($e),Wt=$(He),$t=$(nt),At=Z(Math.round(ct.width/Pe*1e3)/1e3),Xt=Z(Math.round(ct.height/Vt*1e3)/1e3),We=(Pe-qe-Wt-$t)*At,fe=(Vt-Ht-Yt-Rt)*Xt,pe=Yt*Xt,Ot=Rt*Xt,Te=Wt*At,dt=$t*At,Gt=0,St=0;if(ge==="clip"){var Oe=$(Se);Gt=Oe*At,St=Oe*Xt}var wt=ct.x+Te-Gt,be=ct.y+pe-St,Ke=wt+ct.width+2*Gt-Te-dt-We,gt=be+ct.height+2*St-pe-Ot-fe;ht.left=Math.max(ht.left,wt),ht.top=Math.max(ht.top,be),ht.right=Math.min(ht.right,Ke),ht.bottom=Math.min(ht.bottom,gt)}}),ht}function _e(ot){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ht="".concat(xt),et=ht.match(/^(.*)\%$/);return et?ot*(parseFloat(et[1])/100):parseFloat(ht)}function De(ot,xt){var ht=xt||[],et=(0,i.Z)(ht,2),je=et[0],ge=et[1];return[_e(ot.width,je),_e(ot.height,ge)]}function ke(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[ot[0],ot[1]]}function Ze(ot,xt){var ht=xt[0],et=xt[1],je,ge;return ht==="t"?ge=ot.y:ht==="b"?ge=ot.y+ot.height:ge=ot.y+ot.height/2,et==="l"?je=ot.x:et==="r"?je=ot.x+ot.width:je=ot.x+ot.width/2,{x:je,y:ge}}function Ne(ot,xt){var ht={t:"b",b:"t",l:"r",r:"l"};return ot.map(function(et,je){return je===xt?ht[et]||"c":et}).join("")}function Bt(ot,xt,ht,et,je,ge,Se){var Me=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:je[et]||{}}),$e=(0,i.Z)(Me,2),He=$e[0],nt=$e[1],ct=b.useRef(0),Vt=b.useMemo(function(){return xt?le(xt):[]},[xt]),Ht=b.useRef({}),Pe=function(){Ht.current={}};ot||Pe();var qe=(0,x.Z)(function(){if(xt&&ht&&ot){let Ra=function(ws,Xs){var xo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:gn,ho=Fe.x+ws,wa=Fe.y+Xs,gs=ho+sn,Zs=wa+jr,no=Math.max(ho,xo.left),Eo=Math.max(wa,xo.top),wo=Math.min(gs,xo.right),po=Math.min(Zs,xo.bottom);return Math.max(0,(wo-no)*(po-Eo))},Da=function(){nr=Fe.y+rr,Lr=nr+jr,Or=Fe.x+An,Ir=Or+sn};var Wt,$t,At=xt,Xt=At.ownerDocument,We=Q(At),fe=We.getComputedStyle(At),pe=fe.width,Ot=fe.height,Te=fe.position,dt=At.style.left,Gt=At.style.top,St=At.style.right,Oe=At.style.bottom,wt=At.style.overflow,be=(0,r.Z)((0,r.Z)({},je[et]),ge),Ke=Xt.createElement("div");(Wt=At.parentElement)===null||Wt===void 0||Wt.appendChild(Ke),Ke.style.left="".concat(At.offsetLeft,"px"),Ke.style.top="".concat(At.offsetTop,"px"),Ke.style.position=Te,Ke.style.height="".concat(At.offsetHeight,"px"),Ke.style.width="".concat(At.offsetWidth,"px"),At.style.left="0",At.style.top="0",At.style.right="auto",At.style.bottom="auto",At.style.overflow="hidden";var gt;if(Array.isArray(ht))gt={x:ht[0],y:ht[1],width:0,height:0};else{var Ft=ht.getBoundingClientRect();gt={x:Ft.x,y:Ft.y,width:Ft.width,height:Ft.height}}var Fe=At.getBoundingClientRect(),Dr=Xt.documentElement,Ct=Dr.clientWidth,Gr=Dr.clientHeight,Qr=Dr.scrollWidth,Cr=Dr.scrollHeight,Fr=Dr.scrollTop,mr=Dr.scrollLeft,jr=Fe.height,sn=Fe.width,cn=gt.height,lr=gt.width,Lt={left:0,top:0,right:Ct,bottom:Gr},mt={left:-mr,top:-Fr,right:Qr-mr,bottom:Cr-Fr},vt=be.htmlRegion,Ut="visible",Sr="visibleFirst";vt!=="scroll"&&vt!==Sr&&(vt=Ut);var yr=vt===Sr,it=se(mt,Vt),Br=se(Lt,Vt),gn=vt===Ut?Br:it,zn=yr?Br:gn;At.style.left="auto",At.style.top="auto",At.style.right="0",At.style.bottom="0";var gr=At.getBoundingClientRect();At.style.left=dt,At.style.top=Gt,At.style.right=St,At.style.bottom=Oe,At.style.overflow=wt,($t=At.parentElement)===null||$t===void 0||$t.removeChild(Ke);var tn=Z(Math.round(sn/parseFloat(pe)*1e3)/1e3),pn=Z(Math.round(jr/parseFloat(Ot)*1e3)/1e3);if(tn===0||pn===0||(0,u.Sh)(ht)&&!(0,J.Z)(ht))return;var Fn=be.offset,Tn=be.targetOffset,oi=De(Fe,Fn),Pi=(0,i.Z)(oi,2),Li=Pi[0],Si=Pi[1],gi=De(gt,Tn),ii=(0,i.Z)(gi,2),na=ii[0],ni=ii[1];gt.x-=na,gt.y-=ni;var Ji=be.points||[],bt=(0,i.Z)(Ji,2),lt=bt[0],Qn=bt[1],yi=ke(Qn),ei=ke(lt),Ki=Ze(gt,yi),bi=Ze(Fe,ei),qn=(0,r.Z)({},be),An=Ki.x-bi.x+Li,rr=Ki.y-bi.y+Si,_t=Ra(An,rr),rt=Ra(An,rr,Br),It=Ze(gt,["t","l"]),pt=Ze(Fe,["t","l"]),cr=Ze(gt,["b","r"]),dr=Ze(Fe,["b","r"]),Tr=be.overflow||{},Hr=Tr.adjustX,Ue=Tr.adjustY,Je=Tr.shiftX,Ee=Tr.shiftY,st=function(Xs){return typeof Xs=="boolean"?Xs:Xs>=0},nr,Lr,Or,Ir;Da();var Ur=st(Ue),_n=ei[0]===yi[0];if(Ur&&ei[0]==="t"&&(Lr>zn.bottom||Ht.current.bt)){var Pr=rr;_n?Pr-=jr-cn:Pr=It.y-dr.y-Si;var fn=Ra(An,Pr),nn=Ra(An,Pr,Br);fn>_t||fn===_t&&(!yr||nn>=rt)?(Ht.current.bt=!0,rr=Pr,Si=-Si,qn.points=[Ne(ei,0),Ne(yi,0)]):Ht.current.bt=!1}if(Ur&&ei[0]==="b"&&(nr<zn.top||Ht.current.tb)){var on=rr;_n?on+=jr-cn:on=cr.y-pt.y-Si;var Sn=Ra(An,on),va=Ra(An,on,Br);Sn>_t||Sn===_t&&(!yr||va>=rt)?(Ht.current.tb=!0,rr=on,Si=-Si,qn.points=[Ne(ei,0),Ne(yi,0)]):Ht.current.tb=!1}var wi=st(Hr),_i=ei[1]===yi[1];if(wi&&ei[1]==="l"&&(Ir>zn.right||Ht.current.rl)){var vn=An;_i?vn-=sn-lr:vn=It.x-dr.x-Li;var si=Ra(vn,rr),Bi=Ra(vn,rr,Br);si>_t||si===_t&&(!yr||Bi>=rt)?(Ht.current.rl=!0,An=vn,Li=-Li,qn.points=[Ne(ei,1),Ne(yi,1)]):Ht.current.rl=!1}if(wi&&ei[1]==="r"&&(Or<zn.left||Ht.current.lr)){var da=An;_i?da+=sn-lr:da=cr.x-pt.x-Li;var Ha=Ra(da,rr),Ta=Ra(da,rr,Br);Ha>_t||Ha===_t&&(!yr||Ta>=rt)?(Ht.current.lr=!0,An=da,Li=-Li,qn.points=[Ne(ei,1),Ne(yi,1)]):Ht.current.lr=!1}Da();var fs=Je===!0?0:Je;typeof fs=="number"&&(Or<Br.left&&(An-=Or-Br.left-Li,gt.x+lr<Br.left+fs&&(An+=gt.x-Br.left+lr-fs)),Ir>Br.right&&(An-=Ir-Br.right-Li,gt.x>Br.right-fs&&(An+=gt.x-Br.right+fs)));var Es=Ee===!0?0:Ee;typeof Es=="number"&&(nr<Br.top&&(rr-=nr-Br.top-Si,gt.y+cn<Br.top+Es&&(rr+=gt.y-Br.top+cn-Es)),Lr>Br.bottom&&(rr-=Lr-Br.bottom-Si,gt.y>Br.bottom-Es&&(rr+=gt.y-Br.bottom+Es)));var Wa=Fe.x+An,mi=Wa+sn,ia=Fe.y+rr,os=ia+jr,Ga=gt.x,Is=Ga+lr,Yi=gt.y,ms=Yi+cn,bo=Math.max(Wa,Ga),Ni=Math.min(mi,Is),vs=(bo+Ni)/2,Na=vs-Wa,Ys=Math.max(ia,Yi),Dn=Math.min(os,ms),$a=(Ys+Dn)/2,cs=$a-ia;Se==null||Se(xt,qn);var ja=gr.right-Fe.x-(An+Fe.width),zi=gr.bottom-Fe.y-(rr+Fe.height);nt({ready:!0,offsetX:An/tn,offsetY:rr/pn,offsetR:ja/tn,offsetB:zi/pn,arrowX:Na/tn,arrowY:cs/pn,scaleX:tn,scaleY:pn,align:qn})}}),Yt=function(){ct.current+=1;var $t=ct.current;Promise.resolve().then(function(){ct.current===$t&&qe()})},Rt=function(){nt(function($t){return(0,r.Z)((0,r.Z)({},$t),{},{ready:!1})})};return(0,y.Z)(Rt,[et]),(0,y.Z)(function(){ot||Rt()},[ot]),[He.ready,He.offsetX,He.offsetY,He.offsetR,He.offsetB,He.arrowX,He.arrowY,He.scaleX,He.scaleY,He.align,Yt]}var yt=e(95190);function Dt(ot,xt,ht,et,je){(0,y.Z)(function(){if(ot&&xt&&ht){let ct=function(){et(),je()};var ge=xt,Se=ht,Me=le(ge),$e=le(Se),He=Q(Se),nt=new Set([He].concat((0,yt.Z)(Me),(0,yt.Z)($e)));return nt.forEach(function(Vt){Vt.addEventListener("scroll",ct,{passive:!0})}),He.addEventListener("resize",ct,{passive:!0}),et(),function(){nt.forEach(function(Vt){Vt.removeEventListener("scroll",ct),He.removeEventListener("resize",ct)})}}},[ot,xt,ht])}var Jt=e(48736),er=e(16089);function tr(ot,xt,ht,et,je,ge,Se,Me){var $e=b.useRef(ot),He=b.useRef(!1);$e.current!==ot&&(He.current=!0,$e.current=ot),b.useEffect(function(){var nt=(0,er.Z)(function(){He.current=!1});return function(){er.Z.cancel(nt)}},[ot]),b.useEffect(function(){if(xt&&et&&(!je||ge)){var nt=function(){var Te=!1,dt=function(Oe){var wt=Oe.target;Te=Se(wt)},Gt=function(Oe){var wt=Oe.target;!He.current&&$e.current&&!Te&&!Se(wt)&&Me(!1)};return[dt,Gt]},ct=nt(),Vt=(0,i.Z)(ct,2),Ht=Vt[0],Pe=Vt[1],qe=nt(),Yt=(0,i.Z)(qe,2),Rt=Yt[0],Wt=Yt[1],$t=Q(et);$t.addEventListener("mousedown",Ht,!0),$t.addEventListener("click",Pe,!0),$t.addEventListener("contextmenu",Pe,!0);var At=(0,a.A)(ht);if(At&&(At.addEventListener("mousedown",Rt,!0),At.addEventListener("click",Wt,!0),At.addEventListener("contextmenu",Wt,!0)),0)var Xt,We,fe,pe;return function(){$t.removeEventListener("mousedown",Ht,!0),$t.removeEventListener("click",Pe,!0),$t.removeEventListener("contextmenu",Pe,!0),At&&(At.removeEventListener("mousedown",Rt,!0),At.removeEventListener("click",Wt,!0),At.removeEventListener("contextmenu",Wt,!0))}}},[xt,ht,et,je,ge])}var Xe=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Pt(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,xt=b.forwardRef(function(ht,et){var je=ht.prefixCls,ge=je===void 0?"rc-trigger-popup":je,Se=ht.children,Me=ht.action,$e=Me===void 0?"hover":Me,He=ht.showAction,nt=ht.hideAction,ct=ht.popupVisible,Vt=ht.defaultPopupVisible,Ht=ht.onPopupVisibleChange,Pe=ht.afterPopupVisibleChange,qe=ht.mouseEnterDelay,Yt=ht.mouseLeaveDelay,Rt=Yt===void 0?.1:Yt,Wt=ht.focusDelay,$t=ht.blurDelay,At=ht.mask,Xt=ht.maskClosable,We=Xt===void 0?!0:Xt,fe=ht.getPopupContainer,pe=ht.forceRender,Ot=ht.autoDestroy,Te=ht.destroyPopupOnHide,dt=ht.popup,Gt=ht.popupClassName,St=ht.popupStyle,Oe=ht.popupPlacement,wt=ht.builtinPlacements,be=wt===void 0?{}:wt,Ke=ht.popupAlign,gt=ht.zIndex,Ft=ht.stretch,Fe=ht.getPopupClassNameFromAlign,Dr=ht.fresh,Ct=ht.alignPoint,Gr=ht.onPopupClick,Qr=ht.onPopupAlign,Cr=ht.arrow,Fr=ht.popupMotion,mr=ht.maskMotion,jr=ht.popupTransitionName,sn=ht.popupAnimation,cn=ht.maskTransitionName,lr=ht.maskAnimation,Lt=ht.className,mt=ht.getTriggerDOMNode,vt=(0,l.Z)(ht,Xe),Ut=Ot||Te||!1,Sr=b.useState(!1),yr=(0,i.Z)(Sr,2),it=yr[0],Br=yr[1];(0,y.Z)(function(){Br((0,_.Z)())},[]);var gn=b.useRef({}),zn=b.useContext(ie),gr=b.useMemo(function(){return{registerSubPopup:function(ci,Ua){gn.current[ci]=Ua,zn==null||zn.registerSubPopup(ci,Ua)}}},[zn]),tn=(0,p.Z)(),pn=b.useState(null),Fn=(0,i.Z)(pn,2),Tn=Fn[0],oi=Fn[1],Pi=(0,x.Z)(function(di){(0,u.Sh)(di)&&Tn!==di&&oi(di),zn==null||zn.registerSubPopup(tn,di)}),Li=b.useState(null),Si=(0,i.Z)(Li,2),gi=Si[0],ii=Si[1],na=b.useRef(null),ni=(0,x.Z)(function(di){(0,u.Sh)(di)&&gi!==di&&(ii(di),na.current=di)}),Ji=b.Children.only(Se),bt=(Ji==null?void 0:Ji.props)||{},lt={},Qn=(0,x.Z)(function(di){var ci,Ua,Qa=gi;return(Qa==null?void 0:Qa.contains(di))||((ci=(0,a.A)(Qa))===null||ci===void 0?void 0:ci.host)===di||di===Qa||(Tn==null?void 0:Tn.contains(di))||((Ua=(0,a.A)(Tn))===null||Ua===void 0?void 0:Ua.host)===di||di===Tn||Object.values(gn.current).some(function(qa){return(qa==null?void 0:qa.contains(di))||di===qa})}),yi=ee(ge,Fr,sn,jr),ei=ee(ge,mr,lr,cn),Ki=b.useState(Vt||!1),bi=(0,i.Z)(Ki,2),qn=bi[0],An=bi[1],rr=ct!=null?ct:qn,_t=(0,x.Z)(function(di){ct===void 0&&An(di)});(0,y.Z)(function(){An(ct||!1)},[ct]);var rt=b.useRef(rr);rt.current=rr;var It=b.useRef([]);It.current=[];var pt=(0,x.Z)(function(di){var ci;_t(di),((ci=It.current[It.current.length-1])!==null&&ci!==void 0?ci:rr)!==di&&(It.current.push(di),Ht==null||Ht(di))}),cr=b.useRef(),dr=function(){clearTimeout(cr.current)},Tr=function(ci){var Ua=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;dr(),Ua===0?pt(ci):cr.current=setTimeout(function(){pt(ci)},Ua*1e3)};b.useEffect(function(){return dr},[]);var Hr=b.useState(!1),Ue=(0,i.Z)(Hr,2),Je=Ue[0],Ee=Ue[1];(0,y.Z)(function(di){(!di||rr)&&Ee(!0)},[rr]);var st=b.useState(null),nr=(0,i.Z)(st,2),Lr=nr[0],Or=nr[1],Ir=b.useState([0,0]),Ur=(0,i.Z)(Ir,2),_n=Ur[0],Pr=Ur[1],fn=function(ci){Pr([ci.clientX,ci.clientY])},nn=Bt(rr,Tn,Ct?_n:gi,Oe,be,Ke,Qr),on=(0,i.Z)(nn,11),Sn=on[0],va=on[1],wi=on[2],_i=on[3],vn=on[4],si=on[5],Bi=on[6],da=on[7],Ha=on[8],Ta=on[9],fs=on[10],Es=q(it,$e,He,nt),Wa=(0,i.Z)(Es,2),mi=Wa[0],ia=Wa[1],os=mi.has("click"),Ga=ia.has("click")||ia.has("contextMenu"),Is=(0,x.Z)(function(){Je||fs()}),Yi=function(){rt.current&&Ct&&Ga&&Tr(!1)};Dt(rr,gi,Tn,Is,Yi),(0,y.Z)(function(){Is()},[_n,Oe]),(0,y.Z)(function(){rr&&!(be!=null&&be[Oe])&&Is()},[JSON.stringify(Ke)]);var ms=b.useMemo(function(){var di=oe(be,ge,Ta,Ct);return o()(di,Fe==null?void 0:Fe(Ta))},[Ta,Fe,be,ge,Ct]);b.useImperativeHandle(et,function(){return{nativeElement:na.current,forceAlign:Is}});var bo=b.useState(0),Ni=(0,i.Z)(bo,2),vs=Ni[0],Na=Ni[1],Ys=b.useState(0),Dn=(0,i.Z)(Ys,2),$a=Dn[0],cs=Dn[1],ja=function(){if(Ft&&gi){var ci=gi.getBoundingClientRect();Na(ci.width),cs(ci.height)}},zi=function(){ja(),Is()},Ra=function(ci){Ee(!1),fs(),Pe==null||Pe(ci)},Da=function(){return new Promise(function(ci){ja(),Or(function(){return ci})})};(0,y.Z)(function(){Lr&&(fs(),Lr(),Or(null))},[Lr]);function ws(di,ci,Ua,Qa){lt[di]=function(qa){var Qs;Qa==null||Qa(qa),Tr(ci,Ua);for(var qs=arguments.length,Qo=new Array(qs>1?qs-1:0),ds=1;ds<qs;ds++)Qo[ds-1]=arguments[ds];(Qs=bt[di])===null||Qs===void 0||Qs.call.apply(Qs,[bt,qa].concat(Qo))}}(os||Ga)&&(lt.onClick=function(di){var ci;rt.current&&Ga?Tr(!1):!rt.current&&os&&(fn(di),Tr(!0));for(var Ua=arguments.length,Qa=new Array(Ua>1?Ua-1:0),qa=1;qa<Ua;qa++)Qa[qa-1]=arguments[qa];(ci=bt.onClick)===null||ci===void 0||ci.call.apply(ci,[bt,di].concat(Qa))}),tr(rr,Ga,gi,Tn,At,We,Qn,Tr);var Xs=mi.has("hover"),xo=ia.has("hover"),ho,wa;Xs&&(ws("onMouseEnter",!0,qe,function(di){fn(di)}),ws("onPointerEnter",!0,qe,function(di){fn(di)}),ho=function(ci){(rr||Je)&&Tn!==null&&Tn!==void 0&&Tn.contains(ci.target)&&Tr(!0,qe)},Ct&&(lt.onMouseMove=function(di){var ci;(ci=bt.onMouseMove)===null||ci===void 0||ci.call(bt,di)})),xo&&(ws("onMouseLeave",!1,Rt),ws("onPointerLeave",!1,Rt),wa=function(){Tr(!1,Rt)}),mi.has("focus")&&ws("onFocus",!0,Wt),ia.has("focus")&&ws("onBlur",!1,$t),mi.has("contextMenu")&&(lt.onContextMenu=function(di){var ci;rt.current&&ia.has("contextMenu")?Tr(!1):(fn(di),Tr(!0)),di.preventDefault();for(var Ua=arguments.length,Qa=new Array(Ua>1?Ua-1:0),qa=1;qa<Ua;qa++)Qa[qa-1]=arguments[qa];(ci=bt.onContextMenu)===null||ci===void 0||ci.call.apply(ci,[bt,di].concat(Qa))}),Lt&&(lt.className=o()(bt.className,Lt));var gs=(0,r.Z)((0,r.Z)({},bt),lt),Zs={},no=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];no.forEach(function(di){vt[di]&&(Zs[di]=function(){for(var ci,Ua=arguments.length,Qa=new Array(Ua),qa=0;qa<Ua;qa++)Qa[qa]=arguments[qa];(ci=gs[di])===null||ci===void 0||ci.call.apply(ci,[gs].concat(Qa)),vt[di].apply(vt,Qa)})});var Eo=b.cloneElement(Ji,(0,r.Z)((0,r.Z)({},gs),Zs)),wo={x:si,y:Bi},po=Cr?(0,r.Z)({},Cr!==!0?Cr:{}):null;return b.createElement(b.Fragment,null,b.createElement(h.Z,{disabled:!rr,ref:ni,onResize:zi},b.createElement(G,{getTriggerDOMNode:mt},Eo)),b.createElement(ie.Provider,{value:gr},b.createElement(Y,{portal:ot,ref:Pi,prefixCls:ge,popup:dt,className:o()(Gt,ms),style:St,target:gi,onMouseEnter:ho,onMouseLeave:wa,onPointerEnter:ho,zIndex:gt,open:rr,keepDom:Je,fresh:Dr,onClick:Gr,mask:At,motion:yi,maskMotion:ei,onVisibleChanged:Ra,onPrepare:Da,forceRender:pe,autoDestroy:Ut,getPopupContainer:fe,align:Ta,arrow:po,arrowPos:wo,ready:Sn,offsetX:va,offsetY:wi,offsetR:_i,offsetB:vn,onAlign:Is,stretch:Ft,targetWidth:vs/da,targetHeight:$a/Ha})))});return xt}var Zt=Pt(c.Z)},8944:function(){"use strict"},5755:function(d,v){"use strict";v.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},49535:function(d,v){"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;v.Z=r},2339:function(d,v,e){"use strict";e.d(v,{zt:function(){return aa},$j:function(){return ga},Ue:function(){return Xs},I0:function(){return Uo},v9:function(){return ko}});var r={};e.r(r),e.d(r,{actionChannel:function(){return lr},all:function(){return Fe},apply:function(){return Qr},call:function(){return Gr},cancel:function(){return sn},cancelled:function(){return Lt},cps:function(){return Cr},flush:function(){return mt},fork:function(){return Fr},getContext:function(){return vt},join:function(){return jr},put:function(){return Ft},race:function(){return Dr},select:function(){return cn},setContext:function(){return Ut},spawn:function(){return mr},take:function(){return Ke},takeEvery:function(){return _t},takeLatest:function(){return rt},takem:function(){return gt},throttle:function(){return It}});var i=e(59301),l=e(88590),c=e(59781),f=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Kt in Mt)Object.prototype.hasOwnProperty.call(Mt,Kt)&&(Ye[Kt]=Mt[Kt])}return Ye},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}},S=b(!0),k=null,R=function(){},A=function(Qe){return Qe};function D(Ye,Qe,Mt){if(!Qe(Ye))throw le("error","uncaught at check",Mt),new Error(Mt)}var M=Object.prototype.hasOwnProperty;function B(Ye,Qe){return j.notUndef(Ye)&&M.call(Ye,Qe)}var j={undef:function(Qe){return Qe==null},notUndef:function(Qe){return Qe!=null},func:function(Qe){return typeof Qe=="function"},number:function(Qe){return typeof Qe=="number"},string:function(Qe){return typeof Qe=="string"},array:Array.isArray,object:function(Qe){return Qe&&!j.array(Qe)&&(typeof Qe=="undefined"?"undefined":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)&&B(Qe,"toString")}},Y={assign:function(Qe,Mt){for(var Kt in Mt)B(Mt,Kt)&&(Qe[Kt]=Mt[Kt])}};function V(Ye,Qe){var Mt=Ye.indexOf(Qe);Mt>=0&&Ye.splice(Mt,1)}var G={from:function(Qe){var Mt=Array(Qe.length);for(var Kt in Qe)B(Qe,Kt)&&(Mt[Kt]=Qe[Kt]);return Mt}};function ae(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=f({},Ye),Mt=new Promise(function(Kt,pr){Qe.resolve=Kt,Qe.reject=pr});return Qe.promise=Mt,Qe}function ie(Ye){for(var Qe=[],Mt=0;Mt<Ye;Mt++)Qe.push(ae());return Qe}function ue(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Mt=void 0,Kt=new Promise(function(pr){Mt=setTimeout(function(){return pr(Qe)},Ye)});return Kt[p]=function(){return clearTimeout(Mt)},Kt}function q(){var Ye,Qe=!0,Mt=void 0,Kt=void 0;return Ye={},Ye[u]=!0,Ye.isRunning=function(){return Qe},Ye.result=function(){return Mt},Ye.error=function(){return Kt},Ye.setRunning=function(Mr){return Qe=Mr},Ye.setResult=function(Mr){return Mt=Mr},Ye.setError=function(Mr){return Kt=Mr},Ye}function J(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Ye}}var K=J(),oe=function(Qe){throw Qe},ee=function(Qe){return{value:Qe,done:!0}};function Q(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oe,Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Kt=arguments[3],pr={name:Mt,next:Ye,throw:Qe,return:ee};return Kt&&(pr[a]=!0),typeof Symbol!="undefined"&&(pr[Symbol.iterator]=function(){return pr}),pr}function le(Ye,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Ye+": "+Qe+`
|
|
|
`+(Mt&&Mt.stack||Mt)):console[Ye](Qe,Mt)}function Z(Ye,Qe){return function(){return Ye.apply(void 0,arguments)}}var $=function(Qe,Mt){return Qe+" has been deprecated in favor of "+Mt+", please update your code"},se=function(Qe){return new Error(`
|
|
|
redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug
|
|
|
in redux-saga code and not yours. Thanks for reporting this in the project's github repo.
|
|
|
Error: `+Qe+`
|
|
|
`)},_e=function(Qe,Mt){return(Qe?Qe+".":"")+"setContext(props): argument "+Mt+" is not a plain object"},De=function(Qe){return function(Mt){return Qe(Object.defineProperty(Mt,y,{value:!0}))}},ke=function Ye(Qe){return function(){for(var Mt=arguments.length,Kt=Array(Mt),pr=0;pr<Mt;pr++)Kt[pr]=arguments[pr];var Mr=[],Zr=Qe.apply(void 0,Kt);return{next:function(rn){return Mr.push(rn),Zr.next(rn)},clone:function(){var rn=Ye(Qe).apply(void 0,Kt);return Mr.forEach(function(bn){return rn.next(bn)}),rn},return:function(rn){return Zr.return(rn)},throw:function(rn){return Zr.throw(rn)}}}},Ze="Channel's Buffer overflow!",Ne=1,Bt=2,yt=3,Dt=4,Jt={isEmpty:S,put:R,take:R};function er(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Qe=arguments[1],Mt=new Array(Ye),Kt=0,pr=0,Mr=0,Zr=function(Yn){Mt[pr]=Yn,pr=(pr+1)%Ye,Kt++},mn=function(){if(Kt!=0){var Yn=Mt[Mr];return Mt[Mr]=null,Kt--,Mr=(Mr+1)%Ye,Yn}},rn=function(){for(var Yn=[];Kt;)Yn.push(mn());return Yn};return{isEmpty:function(){return Kt==0},put:function(Yn){if(Kt<Ye)Zr(Yn);else{var ti=void 0;switch(Qe){case Ne:throw new Error(Ze);case yt:Mt[pr]=Yn,pr=(pr+1)%Ye,Mr=pr;break;case Dt:ti=2*Ye,Mt=rn(),Kt=Mt.length,pr=Mt.length,Mr=0,Mt.length=ti,Ye=ti,Zr(Yn);break;default:}}},take:mn,flush:rn}}var tr={none:function(){return Jt},fixed:function(Qe){return er(Qe,Ne)},dropping:function(Qe){return er(Qe,Bt)},sliding:function(Qe){return er(Qe,yt)},expanding:function(Qe){return er(Qe,Dt)}},Xe=[],Pt=0;function Zt(Ye){try{xt(),Ye()}finally{ht()}}function ot(Ye){Xe.push(Ye),Pt||(xt(),et())}function xt(){Pt++}function ht(){Pt--}function et(){ht();for(var Ye=void 0;!Pt&&(Ye=Xe.shift())!==void 0;)Zt(Ye)}var je=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Kt in Mt)Object.prototype.hasOwnProperty.call(Mt,Kt)&&(Ye[Kt]=Mt[Kt])}return Ye},ge="@@redux-saga/CHANNEL_END",Se={type:ge},Me=function(Qe){return Qe&&Qe.type===ge};function $e(){var Ye=[];function Qe(Kt){return Ye.push(Kt),function(){return V(Ye,Kt)}}function Mt(Kt){for(var pr=Ye.slice(),Mr=0,Zr=pr.length;Mr<Zr;Mr++)pr[Mr](Kt)}return{subscribe:Qe,emit:Mt}}var He="invalid buffer passed to channel factory function",nt="Saga was provided with an undefined action";function ct(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tr.fixed(),Qe=!1,Mt=[];D(Ye,j.buffer,He);function Kt(){if(Qe&&Mt.length)throw se("Cannot have a closed channel with pending takers");if(Mt.length&&!Ye.isEmpty())throw se("Cannot have pending takers with non empty buffer")}function pr(rn){if(Kt(),D(rn,j.notUndef,nt),!Qe){if(!Mt.length)return Ye.put(rn);for(var bn=0;bn<Mt.length;bn++){var Yn=Mt[bn];if(!Yn[x]||Yn[x](rn))return Mt.splice(bn,1),Yn(rn)}}}function Mr(rn){Kt(),D(rn,j.func,"channel.take's callback must be a function"),Qe&&Ye.isEmpty()?rn(Se):Ye.isEmpty()?(Mt.push(rn),rn.cancel=function(){return V(Mt,rn)}):rn(Ye.take())}function Zr(rn){if(Kt(),D(rn,j.func,"channel.flush' callback must be a function"),Qe&&Ye.isEmpty()){rn(Se);return}rn(Ye.flush())}function mn(){if(Kt(),!Qe&&(Qe=!0,Mt.length)){var rn=Mt;Mt=[];for(var bn=0,Yn=rn.length;bn<Yn;bn++)rn[bn](Se)}}return{take:Mr,put:pr,flush:Zr,close:mn,get __takers__(){return Mt},get __closed__(){return Qe}}}function Vt(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tr.none(),Mt=arguments[2];arguments.length>2&&D(Mt,j.func,"Invalid match function passed to eventChannel");var Kt=ct(Qe),pr=function(){Kt.__closed__||(Mr&&Mr(),Kt.close())},Mr=Ye(function(Zr){if(Me(Zr)){pr();return}Mt&&!Mt(Zr)||Kt.put(Zr)});if(Kt.__closed__&&Mr(),!j.func(Mr))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Kt.take,flush:Kt.flush,close:pr}}function Ht(Ye){var Qe=Vt(function(Mt){return Ye(function(Kt){if(Kt[y]){Mt(Kt);return}ot(function(){return Mt(Kt)})})});return je({},Qe,{take:function(Kt,pr){arguments.length>1&&(D(pr,j.func,"channel.take's matcher argument must be a function"),Kt[x]=pr),Qe.take(Kt)}})}var Pe=h("IO"),qe="TAKE",Yt="PUT",Rt="ALL",Wt="RACE",$t="CALL",At="CPS",Xt="FORK",We="JOIN",fe="CANCEL",pe="SELECT",Ot="ACTION_CHANNEL",Te="CANCELLED",dt="FLUSH",Gt="GET_CONTEXT",St="SET_CONTEXT",Oe=`
|
|
|
(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,wt=function(Qe,Mt){var Kt;return Kt={},Kt[Pe]=!0,Kt[Qe]=Mt,Kt},be=function(Qe){return D(yr.fork(Qe),j.object,"detach(eff): argument must be a fork effect"),Qe[Xt].detached=!0,Qe};function Ke(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&D(arguments[0],j.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),j.pattern(Ye))return wt(qe,{pattern:Ye});if(j.channel(Ye))return wt(qe,{channel:Ye});throw new Error("take(patternOrChannel): argument "+String(Ye)+" is not valid channel or a valid pattern")}Ke.maybe=function(){var Ye=Ke.apply(void 0,arguments);return Ye[qe].maybe=!0,Ye};var gt=Z(Ke.maybe,$("takem","take.maybe"));function Ft(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(Yt,{channel:Ye,action:Qe})}Ft.resolve=function(){var Ye=Ft.apply(void 0,arguments);return Ye[Yt].resolve=!0,Ye},Ft.sync=Z(Ft.resolve,$("put.sync","put.resolve"));function Fe(Ye){return wt(Rt,Ye)}function Dr(Ye){return wt(Wt,Ye)}function Ct(Ye,Qe,Mt){D(Qe,j.notUndef,Ye+": argument fn is undefined");var Kt=null;if(j.array(Qe)){var pr=Qe;Kt=pr[0],Qe=pr[1]}else if(Qe.fn){var Mr=Qe;Kt=Mr.context,Qe=Mr.fn}return Kt&&j.string(Qe)&&j.func(Kt[Qe])&&(Qe=Kt[Qe]),D(Qe,j.func,Ye+": argument "+Qe+" is not a function"),{context:Kt,fn:Qe,args:Mt}}function Gr(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return wt($t,Ct("call",Ye,Mt))}function Qr(Ye,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return wt($t,Ct("apply",{context:Ye,fn:Qe},Mt))}function Cr(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return wt(At,Ct("cps",Ye,Mt))}function Fr(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return wt(Xt,Ct("fork",Ye,Mt))}function mr(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return be(Fr.apply(void 0,[Ye].concat(Mt)))}function jr(){for(var Ye=arguments.length,Qe=Array(Ye),Mt=0;Mt<Ye;Mt++)Qe[Mt]=arguments[Mt];if(Qe.length>1)return Fe(Qe.map(function(pr){return jr(pr)}));var Kt=Qe[0];return D(Kt,j.notUndef,"join(task): argument task is undefined"),D(Kt,j.task,"join(task): argument "+Kt+" is not a valid Task object "+Oe),wt(We,Kt)}function sn(){for(var Ye=arguments.length,Qe=Array(Ye),Mt=0;Mt<Ye;Mt++)Qe[Mt]=arguments[Mt];if(Qe.length>1)return Fe(Qe.map(function(pr){return sn(pr)}));var Kt=Qe[0];return Qe.length===1&&(D(Kt,j.notUndef,"cancel(task): argument task is undefined"),D(Kt,j.task,"cancel(task): argument "+Kt+" is not a valid Task object "+Oe)),wt(fe,Kt||_)}function cn(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return arguments.length===0?Ye=A:(D(Ye,j.notUndef,"select(selector,[...]): argument selector is undefined"),D(Ye,j.func,"select(selector,[...]): argument "+Ye+" is not a function")),wt(pe,{selector:Ye,args:Mt})}function lr(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 Lt(){return wt(Te,{})}function mt(Ye){return D(Ye,j.channel,"flush(channel): argument "+Ye+" is not valid channel"),wt(dt,Ye)}function vt(Ye){return D(Ye,j.string,"getContext(prop): argument "+Ye+" is not a string"),wt(Gt,Ye)}function Ut(Ye){return D(Ye,j.object,_e(null,Ye)),wt(St,Ye)}var Sr=function(Qe){return function(Mt){return Mt&&Mt[Pe]&&Mt[Qe]}},yr={take:Sr(qe),put:Sr(Yt),all:Sr(Rt),race:Sr(Wt),call:Sr($t),cps:Sr(At),fork:Sr(Xt),join:Sr(We),cancel:Sr(fe),select:Sr(pe),actionChannel:Sr(Ot),cancelled:Sr(Te),flush:Sr(dt),getContext:Sr(Gt),setContext:Sr(St)},it=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Kt in Mt)Object.prototype.hasOwnProperty.call(Mt,Kt)&&(Ye[Kt]=Mt[Kt])}return Ye},Br=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 gn(Ye,Qe){for(var Mt in Qe){var Kt=Qe[Mt];Kt.configurable=Kt.enumerable=!0,"value"in Kt&&(Kt.writable=!0),Object.defineProperty(Ye,Mt,Kt)}return Ye}var zn="proc first argument (Saga function result) must be an iterator",gr={toString:function(){return"@@redux-saga/CHANNEL_END"}},tn={toString:function(){return"@@redux-saga/TASK_CANCEL"}},pn={wildcard:function(){return S},default:function(Qe){return(typeof Qe=="undefined"?"undefined":Br(Qe))==="symbol"?function(Mt){return Mt.type===Qe}:function(Mt){return Mt.type===String(Qe)}},array:function(Qe){return function(Mt){return Qe.some(function(Kt){return Fn(Kt)(Mt)})}},predicate:function(Qe){return function(Mt){return Qe(Mt)}}};function Fn(Ye){return(Ye==="*"?pn.wildcard:j.array(Ye)?pn.array:j.stringableFunc(Ye)?pn.default:j.func(Ye)?pn.predicate:pn.default)(Ye)}function Tn(Ye,Qe,Mt){var Kt=[],pr=void 0,Mr=!1;mn(Qe);function Zr(bn){rn(),Mt(bn,!0)}function mn(bn){Kt.push(bn),bn.cont=function(Yn,ti){Mr||(V(Kt,bn),bn.cont=R,ti?Zr(Yn):(bn===Qe&&(pr=Yn),Kt.length||(Mr=!0,Mt(pr))))}}function rn(){Mr||(Mr=!0,Kt.forEach(function(bn){bn.cont=R,bn.cancel()}),Kt=[])}return{addTask:mn,cancelAll:rn,abort:Zr,getTasks:function(){return Kt},taskNames:function(){return Kt.map(function(Yn){return Yn.name})}}}function oi(Ye){var Qe=Ye.context,Mt=Ye.fn,Kt=Ye.args;if(j.iterator(Mt))return Mt;var pr=void 0,Mr=void 0;try{pr=Mt.apply(Qe,Kt)}catch(Zr){Mr=Zr}return j.iterator(pr)?pr:Q(Mr?function(){throw Mr}:function(){var Zr=void 0,mn={done:!1,value:pr},rn=function(Yn){return{done:!0,value:Yn}};return function(bn){return Zr?rn(bn):(Zr=!0,mn)}}())}var Pi=function(Qe){return{fn:Qe}};function Li(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return R},Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R,Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:R,pr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Mr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},Zr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,mn=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",rn=arguments[8];D(Ye,j.iterator,zn);var bn="[...effects]",Yn=Z(ts,$(bn,"all("+bn+")")),ti=Mr.sagaMonitor,xi=Mr.logger,Ai=Mr.onError,Zi=xi||le,$i=function(Xr){var wn=Xr.sagaStack;!wn&&Xr.stack&&(wn=Xr.stack.split(`
|
|
|
`)[0].indexOf(Xr.message)!==-1?Xr.stack:"Error: "+Xr.message+`
|
|
|
`+Xr.stack),Zi("error","uncaught at "+mn,wn||Xr.message||Xr)},Ei=Ht(Qe),ba=Object.create(pr);Qi.cancel=R;var Di=Jr(Zr,mn,Ye,rn),hi={name:mn,cancel:eo,isRunning:!0},la=Tn(mn,hi,La);function eo(){hi.isRunning&&!hi.isCancelled&&(hi.isCancelled=!0,Qi(tn))}function Ss(){Ye._isRunning&&!Ye._isCancelled&&(Ye._isCancelled=!0,la.cancelAll(),La(tn))}return rn&&(rn.cancel=Ss),Ye._isRunning=!0,Qi(),Di;function Qi(br,Xr){if(!hi.isRunning)throw new Error("Trying to resume an already finished generator");try{var wn=void 0;Xr?wn=Ye.throw(br):br===tn?(hi.isCancelled=!0,Qi.cancel(),wn=j.func(Ye.return)?Ye.return(tn):{done:!0,value:tn}):br===gr?wn=j.func(Ye.return)?Ye.return():{done:!0}:wn=Ye.next(br),wn.done?(hi.isMainRunning=!1,hi.cont&&hi.cont(wn.value)):ta(wn.value,Zr,"",Qi)}catch(Jn){hi.isCancelled&&$i(Jn),hi.isMainRunning=!1,hi.cont(Jn,!0)}}function La(br,Xr){Ye._isRunning=!1,Ei.close(),Xr?(br instanceof Error&&Object.defineProperty(br,"sagaStack",{value:"at "+mn+`
|
|
|
`+(br.sagaStack||br.stack),configurable:!0}),Di.cont||(br instanceof Error&&Ai?Ai(br):$i(br)),Ye._error=br,Ye._isAborted=!0,Ye._deferredEnd&&Ye._deferredEnd.reject(br)):(Ye._result=br,Ye._deferredEnd&&Ye._deferredEnd.resolve(br)),Di.cont&&Di.cont(br,Xr),Di.joiners.forEach(function(wn){return wn.cb(br,Xr)}),Di.joiners=null}function ta(br,Xr){var wn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Jn=arguments[3],Mi=K();ti&&ti.effectTriggered({effectId:Mi,parentEffectId:Xr,label:wn,effect:br});var On=void 0;function kn(ca,Wi){On||(On=!0,Jn.cancel=R,ti&&(Wi?ti.effectRejected(Mi,ca):ti.effectResolved(Mi,ca)),Jn(ca,Wi))}kn.cancel=R,Jn.cancel=function(){if(!On){On=!0;try{kn.cancel()}catch(ca){$i(ca)}kn.cancel=R,ti&&ti.effectCancelled(Mi)}};var Bn=void 0;return j.promise(br)?Ri(br,kn):j.helper(br)?ao(Pi(br),Mi,kn):j.iterator(br)?xa(br,Mi,mn,kn):j.array(br)?Yn(br,Mi,kn):(Bn=yr.take(br))?Ka(Bn,kn):(Bn=yr.put(br))?Fa(Bn,kn):(Bn=yr.all(br))?ts(Bn,Mi,kn):(Bn=yr.race(br))?Hi(Bn,Mi,kn):(Bn=yr.call(br))?io(Bn,Mi,kn):(Bn=yr.cps(br))?Ja(Bn,kn):(Bn=yr.fork(br))?ao(Bn,Mi,kn):(Bn=yr.join(br))?es(Bn,kn):(Bn=yr.cancel(br))?js(Bn,kn):(Bn=yr.select(br))?Ba(Bn,kn):(Bn=yr.actionChannel(br))?Os(Bn,kn):(Bn=yr.flush(br))?ye(Bn,kn):(Bn=yr.cancelled(br))?ha(Bn,kn):(Bn=yr.getContext(br))?we(Bn,kn):(Bn=yr.setContext(br))?Ar(Bn,kn):kn(br)}function Ri(br,Xr){var wn=br[p];j.func(wn)?Xr.cancel=wn:j.func(br.abort)&&(Xr.cancel=function(){return br.abort()}),br.then(Xr,function(Jn){return Xr(Jn,!0)})}function xa(br,Xr,wn,Jn){Li(br,Qe,Mt,Kt,ba,Mr,Xr,wn,Jn)}function Ka(br,Xr){var wn=br.channel,Jn=br.pattern,Mi=br.maybe;wn=wn||Ei;var On=function(Bn){return Bn instanceof Error?Xr(Bn,!0):Me(Bn)&&!Mi?Xr(gr):Xr(Bn)};try{wn.take(On,Fn(Jn))}catch(kn){return Xr(kn,!0)}Xr.cancel=On.cancel}function Fa(br,Xr){var wn=br.channel,Jn=br.action,Mi=br.resolve;ot(function(){var On=void 0;try{On=(wn?wn.put:Mt)(Jn)}catch(kn){if(wn||Mi)return Xr(kn,!0);$i(kn)}if(Mi&&j.promise(On))Ri(On,Xr);else return Xr(On)})}function io(br,Xr,wn){var Jn=br.context,Mi=br.fn,On=br.args,kn=void 0;try{kn=Mi.apply(Jn,On)}catch(Bn){return wn(Bn,!0)}return j.promise(kn)?Ri(kn,wn):j.iterator(kn)?xa(kn,Xr,Mi.name,wn):wn(kn)}function Ja(br,Xr){var wn=br.context,Jn=br.fn,Mi=br.args;try{var On=function(Bn,ca){return j.undef(Bn)?Xr(ca):Xr(Bn,!0)};Jn.apply(wn,Mi.concat(On)),On.cancel&&(Xr.cancel=function(){return On.cancel()})}catch(kn){return Xr(kn,!0)}}function ao(br,Xr,wn){var Jn=br.context,Mi=br.fn,On=br.args,kn=br.detached,Bn=oi({context:Jn,fn:Mi,args:On});try{xt();var ca=Li(Bn,Qe,Mt,Kt,ba,Mr,Xr,Mi.name,kn?null:R);kn?wn(ca):Bn._isRunning?(la.addTask(ca),wn(ca)):Bn._error?la.abort(Bn._error):wn(ca)}finally{et()}}function es(br,Xr){if(br.isRunning()){var wn={task:Di,cb:Xr};Xr.cancel=function(){return V(br.joiners,wn)},br.joiners.push(wn)}else br.isAborted()?Xr(br.error(),!0):Xr(br.result())}function js(br,Xr){br===_&&(br=Di),br.isRunning()&&br.cancel(),Xr()}function ts(br,Xr,wn){var Jn=Object.keys(br);if(!Jn.length)return wn(j.array(br)?[]:{});var Mi=0,On=void 0,kn={},Bn={};function ca(){Mi===Jn.length&&(On=!0,wn(j.array(br)?G.from(it({},kn,{length:Jn.length})):kn))}Jn.forEach(function(Wi){var vo=function(ru,hl){On||(hl||Me(ru)||ru===gr||ru===tn?(wn.cancel(),wn(ru,hl)):(kn[Wi]=ru,Mi++,ca()))};vo.cancel=R,Bn[Wi]=vo}),wn.cancel=function(){On||(On=!0,Jn.forEach(function(Wi){return Bn[Wi].cancel()}))},Jn.forEach(function(Wi){return ta(br[Wi],Xr,Wi,Bn[Wi])})}function Hi(br,Xr,wn){var Jn=void 0,Mi=Object.keys(br),On={};Mi.forEach(function(kn){var Bn=function(Wi,vo){if(!Jn){if(vo)wn.cancel(),wn(Wi,!0);else if(!Me(Wi)&&Wi!==gr&&Wi!==tn){var so;wn.cancel(),Jn=!0;var ru=(so={},so[kn]=Wi,so);wn(j.array(br)?[].slice.call(it({},ru,{length:Mi.length})):ru)}}};Bn.cancel=R,On[kn]=Bn}),wn.cancel=function(){Jn||(Jn=!0,Mi.forEach(function(kn){return On[kn].cancel()}))},Mi.forEach(function(kn){Jn||ta(br[kn],Xr,kn,On[kn])})}function Ba(br,Xr){var wn=br.selector,Jn=br.args;try{var Mi=wn.apply(void 0,[Kt()].concat(Jn));Xr(Mi)}catch(On){Xr(On,!0)}}function Os(br,Xr){var wn=br.pattern,Jn=br.buffer,Mi=Fn(wn);Mi.pattern=wn,Xr(Vt(Qe,Jn||tr.fixed(),Mi))}function ha(br,Xr){Xr(!!hi.isCancelled)}function ye(br,Xr){br.flush(Xr)}function we(br,Xr){Xr(ba[br])}function Ar(br,Xr){Y.assign(ba,br),Xr()}function Jr(br,Xr,wn,Jn){var Mi,On,kn;return wn._deferredEnd=null,On={},On[u]=!0,On.id=br,On.name=Xr,Mi="done",kn={},kn[Mi]=kn[Mi]||{},kn[Mi].get=function(){if(wn._deferredEnd)return wn._deferredEnd.promise;var Bn=ae();return wn._deferredEnd=Bn,wn._isRunning||(wn._error?Bn.reject(wn._error):Bn.resolve(wn._result)),Bn.promise},On.cont=Jn,On.joiners=[],On.cancel=Ss,On.isRunning=function(){return wn._isRunning},On.isCancelled=function(){return wn._isCancelled},On.isAborted=function(){return wn._isAborted},On.result=function(){return wn._result},On.error=function(){return wn._error},On.setContext=function(ca){D(ca,j.object,_e("task",ca)),Y.assign(ba,ca)},gn(On,kn),On}}var Si="runSaga(storeInterface, saga, ...args)",gi=Si+": saga argument must be a Generator function!";function ii(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),pr=2;pr<Mt;pr++)Kt[pr-2]=arguments[pr];var Mr=void 0;j.iterator(Ye)?(Mr=Ye,Ye=Qe):(D(Qe,j.func,gi),Mr=Qe.apply(void 0,Kt),D(Mr,j.iterator,gi));var Zr=Ye,mn=Zr.subscribe,rn=Zr.dispatch,bn=Zr.getState,Yn=Zr.context,ti=Zr.sagaMonitor,xi=Zr.logger,Ai=Zr.onError,Zi=K();ti&&(ti.effectTriggered=ti.effectTriggered||R,ti.effectResolved=ti.effectResolved||R,ti.effectRejected=ti.effectRejected||R,ti.effectCancelled=ti.effectCancelled||R,ti.actionDispatched=ti.actionDispatched||R,ti.effectTriggered({effectId:Zi,root:!0,parentEffectId:0,effect:{root:!0,saga:Qe,args:Kt}}));var $i=Li(Mr,mn,De(rn),bn,Yn,{sagaMonitor:ti,logger:xi,onError:Ai},Zi,Qe.name);return ti&&ti.effectResolved(Zi,$i),$i}function na(Ye,Qe){var Mt={};for(var Kt in Ye)Qe.indexOf(Kt)>=0||Object.prototype.hasOwnProperty.call(Ye,Kt)&&(Mt[Kt]=Ye[Kt]);return Mt}function ni(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=Ye.context,Mt=Qe===void 0?{}:Qe,Kt=na(Ye,["context"]),pr=Kt.sagaMonitor,Mr=Kt.logger,Zr=Kt.onError;if(j.func(Kt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Mr&&!j.func(Mr))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(Zr&&!j.func(Zr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(Kt.emitter&&!j.func(Kt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function mn(rn){var bn=rn.getState,Yn=rn.dispatch,ti=$e();return ti.emit=(Kt.emitter||A)(ti.emit),mn.run=ii.bind(null,{context:Mt,subscribe:ti.subscribe,dispatch:Yn,getState:bn,sagaMonitor:pr,logger:Mr,onError:Zr}),function(xi){return function(Ai){pr&&pr.actionDispatched&&pr.actionDispatched(Ai);var Zi=xi(Ai);return ti.emit(Ai),Zi}}}return mn.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},mn.setContext=function(rn){D(rn,j.object,_e("sagaMiddleware",rn)),Y.assign(Mt,rn)},mn}var Ji={done:!0,value:void 0},bt={};function lt(Ye){return j.channel(Ye)?"channel":Array.isArray(Ye)?String(Ye.map(function(Qe){return String(Qe)})):String(Ye)}function Qn(Ye,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Kt=void 0,pr=Qe;function Mr(Zr,mn){if(pr===bt)return Ji;if(mn)throw pr=bt,mn;Kt&&Kt(Zr);var rn=Ye[pr](),bn=rn[0],Yn=rn[1],ti=rn[2];return pr=bn,Kt=ti,pr===bt?Ji:Yn}return Q(Mr,function(Zr){return Mr(null,Zr)},Mt,!0)}function yi(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),pr=2;pr<Mt;pr++)Kt[pr-2]=arguments[pr];var Mr={done:!1,value:Ke(Ye)},Zr=function(Yn){return{done:!1,value:Fr.apply(void 0,[Qe].concat(Kt,[Yn]))}},mn=void 0,rn=function(Yn){return mn=Yn};return Qn({q1:function(){return["q2",Mr,rn]},q2:function(){return mn===Se?[bt]:["q1",Zr(mn)]}},"q1","takeEvery("+lt(Ye)+", "+Qe.name+")")}function ei(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),pr=2;pr<Mt;pr++)Kt[pr-2]=arguments[pr];var Mr={done:!1,value:Ke(Ye)},Zr=function(Ai){return{done:!1,value:Fr.apply(void 0,[Qe].concat(Kt,[Ai]))}},mn=function(Ai){return{done:!1,value:sn(Ai)}},rn=void 0,bn=void 0,Yn=function(Ai){return rn=Ai},ti=function(Ai){return bn=Ai};return Qn({q1:function(){return["q2",Mr,ti]},q2:function(){return bn===Se?[bt]:rn?["q3",mn(rn)]:["q1",Zr(bn),Yn]},q3:function(){return["q1",Zr(bn),Yn]}},"q1","takeLatest("+lt(Ye)+", "+Qe.name+")")}function Ki(Ye,Qe,Mt){for(var Kt=arguments.length,pr=Array(Kt>3?Kt-3:0),Mr=3;Mr<Kt;Mr++)pr[Mr-3]=arguments[Mr];var Zr=void 0,mn=void 0,rn={done:!1,value:lr(Qe,tr.sliding(1))},bn=function(){return{done:!1,value:Ke(mn)}},Yn=function($i){return{done:!1,value:Fr.apply(void 0,[Mt].concat(pr,[$i]))}},ti={done:!1,value:Gr(ue,Ye)},xi=function($i){return Zr=$i},Ai=function($i){return mn=$i};return Qn({q1:function(){return["q2",rn,Ai]},q2:function(){return["q3",bn(),xi]},q3:function(){return Zr===Se?[bt]:["q4",Yn(Zr)]},q4:function(){return["q2",ti]}},"q1","throttle("+lt(Qe)+", "+Mt.name+")")}var bi=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."},qn=null,An=null,rr=null;function _t(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),pr=2;pr<Mt;pr++)Kt[pr-2]=arguments[pr];return Fr.apply(void 0,[yi,Ye,Qe].concat(Kt))}function rt(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),pr=2;pr<Mt;pr++)Kt[pr-2]=arguments[pr];return Fr.apply(void 0,[ei,Ye,Qe].concat(Kt))}function It(Ye,Qe,Mt){for(var Kt=arguments.length,pr=Array(Kt>3?Kt-3:0),Mr=3;Mr<Kt;Mr++)pr[Mr-3]=arguments[Mr];return Fr.apply(void 0,[Ki,Ye,Qe,Mt].concat(pr))}var pt=ni,cr=e(44520),dr=e.n(cr),Tr=e(93664),Hr=e(78639),Ue=e.n(Hr),Je=e(95190),Ee=e(21696),st=e(56754),nr=e.n(st),Lr=e(99153),Or=e(84851),Ir=e(89381),Ur=e.n(Ir),_n=e(60288),Pr=e(50298),fn=e(55267),nn=e.n(fn),on=Array.isArray.bind(Array),Sn=function(Qe){return typeof Qe=="function"},va=function(Qe){return Qe},wi=function(){},_i=function(Qe,Mt){for(var Kt=0,pr=Qe.length;Kt<pr;Kt+=1)if(Mt(Qe[Kt],Kt))return Kt;return-1},vn=Object.freeze({isPlainObject:Ue(),isArray:on,isFunction:Sn,returnSelf:va,noop:wi,findIndex:_i});function si(Ye,Qe){var Mt=Ye.namespace,Kt=Ye.reducers,pr=Ye.effects,Mr=Ye.subscriptions;invariant(Mt,"[app.model] namespace should be defined"),invariant(typeof Mt=="string","[app.model] namespace should be string, but got ".concat(_typeof(Mt))),invariant(!Qe.some(function(Zr){return Zr.namespace===Mt}),"[app.model] namespace should be unique"),Kt&&(invariant(isPlainObject(Kt)||on(Kt),"[app.model] reducers should be plain object or array, but got ".concat(_typeof(Kt))),invariant(!on(Kt)||isPlainObject(Kt[0])&&Sn(Kt[1]),"[app.model] reducers with array should be [Object, Function]")),pr&&invariant(isPlainObject(pr),"[app.model] effects should be plain object, but got ".concat(_typeof(pr))),Mr&&(invariant(isPlainObject(Mr),"[app.model] subscriptions should be plain object, but got ".concat(_typeof(Mr))),invariant(Bi(Mr),"[app.model] subscription should be function"))}function Bi(Ye){return Object.keys(Ye).every(function(Qe){return Sn(Ye[Qe])})}var da="/";function Ha(Ye,Qe,Mt){return Object.keys(Ye).reduce(function(Kt,pr){nr()(pr.indexOf("".concat(Qe).concat(da))!==0,"[prefixNamespace]: ".concat(Mt," ").concat(pr," should not be prefixed with namespace ").concat(Qe));var Mr="".concat(Qe).concat(da).concat(pr);return Kt[Mr]=Ye[pr],Kt},{})}function Ta(Ye){var Qe=Ye.namespace,Mt=Ye.reducers,Kt=Ye.effects;if(Mt)if(on(Mt)){var pr=(0,Ee.Z)(Mt),Mr=pr[0],Zr=pr.slice(1);Ye.reducers=[Ha(Mr,Qe,"reducer")].concat((0,Je.Z)(Zr))}else Ye.reducers=Ha(Mt,Qe,"reducer");return Kt&&(Ye.effects=Ha(Kt,Qe,"effect")),Ye}var fs=["onError","onStateChange","onAction","onHmr","onReducer","onEffect","extraReducers","extraEnhancers","_handleActions"];function Es(Ye){return Object.keys(Ye).reduce(function(Qe,Mt){return fs.indexOf(Mt)>-1&&(Qe[Mt]=Ye[Mt]),Qe},{})}var Wa=function(){function Ye(){(0,Lr.Z)(this,Ye),this._handleActions=null,this.hooks=fs.reduce(function(Qe,Mt){return Qe[Mt]=[],Qe},{})}return(0,Or.Z)(Ye,[{key:"use",value:function(Mt){dr()(Ue()(Mt),"plugin.use: plugin should be plain object");var Kt=this.hooks;for(var pr in Mt)Object.prototype.hasOwnProperty.call(Mt,pr)&&(dr()(Kt[pr],"plugin.use: unknown plugin property: ".concat(pr)),pr==="_handleActions"?this._handleActions=Mt[pr]:pr==="extraEnhancers"?Kt[pr]=Mt[pr]:Kt[pr].push(Mt[pr]))}},{key:"apply",value:function(Mt,Kt){var pr=this.hooks,Mr=["onError","onHmr"];dr()(Mr.indexOf(Mt)>-1,"plugin.apply: hook ".concat(Mt," cannot be applied"));var Zr=pr[Mt];return function(){if(Zr.length){var mn=!0,rn=!1,bn=void 0;try{for(var Yn=Zr[Symbol.iterator](),ti;!(mn=(ti=Yn.next()).done);mn=!0){var xi=ti.value;xi.apply(void 0,arguments)}}catch(Ai){rn=!0,bn=Ai}finally{try{!mn&&Yn.return!=null&&Yn.return()}finally{if(rn)throw bn}}}else Kt&&Kt.apply(void 0,arguments)}}},{key:"get",value:function(Mt){var Kt=this.hooks;return dr()(Mt in Kt,"plugin.get: hook ".concat(Mt," cannot be got")),Mt==="extraReducers"?mi(Kt[Mt]):Mt==="onReducer"?ia(Kt[Mt]):Kt[Mt]}}]),Ye}();function mi(Ye){var Qe={},Mt=!0,Kt=!1,pr=void 0;try{for(var Mr=Ye[Symbol.iterator](),Zr;!(Mt=(Zr=Mr.next()).done);Mt=!0){var mn=Zr.value;Qe=(0,l.Z)({},Qe,mn)}}catch(rn){Kt=!0,pr=rn}finally{try{!Mt&&Mr.return!=null&&Mr.return()}finally{if(Kt)throw pr}}return Qe}function ia(Ye){return function(Qe){var Mt=!0,Kt=!1,pr=void 0;try{for(var Mr=Ye[Symbol.iterator](),Zr;!(Mt=(Zr=Mr.next()).done);Mt=!0){var mn=Zr.value;Qe=mn(Qe)}}catch(rn){Kt=!0,pr=rn}finally{try{!Mt&&Mr.return!=null&&Mr.return()}finally{if(Kt)throw pr}}return Qe}}function os(Ye){var Qe=Ye.reducers,Mt=Ye.initialState,Kt=Ye.plugin,pr=Ye.sagaMiddleware,Mr=Ye.promiseMiddleware,Zr=Ye.createOpts.setupMiddlewares,mn=Zr===void 0?va:Zr,rn=Kt.get("extraEnhancers");dr()(on(rn),"[app.start] extraEnhancers should be array, but got ".concat((0,Tr.Z)(rn)));var bn=Kt.get("onAction"),Yn=mn([Mr,pr].concat((0,Je.Z)(Ur()(bn)))),ti=c.qC,xi=[c.md.apply(void 0,(0,Je.Z)(Yn))].concat((0,Je.Z)(rn));return(0,c.MT)(Qe,Mt,ti.apply(void 0,(0,Je.Z)(xi)))}function Ga(Ye,Qe){var Mt="".concat(Qe.namespace).concat(da).concat(Ye),Kt=Mt.replace(/\/@@[^/]+?$/,""),pr=Array.isArray(Qe.reducers)?Qe.reducers[0][Kt]:Qe.reducers&&Qe.reducers[Kt];return pr||Qe.effects&&Qe.effects[Kt]?Mt:Ye}function Is(Ye,Qe,Mt,Kt){var pr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return nn().mark(function Mr(){var Zr;return nn().wrap(function(rn){for(;;)switch(rn.prev=rn.next){case 0:rn.t0=nn().keys(Ye);case 1:if((rn.t1=rn.t0()).done){rn.next=7;break}if(Zr=rn.t1.value,!Object.prototype.hasOwnProperty.call(Ye,Zr)){rn.next=5;break}return rn.delegateYield(nn().mark(function bn(){var Yn,ti;return nn().wrap(function(Ai){for(;;)switch(Ai.prev=Ai.next){case 0:return Yn=Yi(Zr,Ye[Zr],Qe,Mt,Kt,pr),Ai.next=3,Fr(Yn);case 3:return ti=Ai.sent,Ai.next=6,Fr(nn().mark(function Zi(){return nn().wrap(function(Ei){for(;;)switch(Ei.prev=Ei.next){case 0:return Ei.next=2,Ke("".concat(Qe.namespace,"/@@CANCEL_EFFECTS"));case 2:return Ei.next=4,sn(ti);case 4:case"end":return Ei.stop()}},Zi)}));case 6:case"end":return Ai.stop()}},bn)})(),"t2",5);case 5:rn.next=1;break;case 7:case"end":return rn.stop()}},Mr)})}function Yi(Ye,Qe,Mt,Kt,pr,Mr){var Zr=nn().mark(Zi),mn=Qe,rn="takeEvery",bn,Yn;if(Array.isArray(Qe)){var ti=(0,Pr.Z)(Qe,1);mn=ti[0];var xi=Qe[1];xi&&xi.type&&(rn=xi.type,rn==="throttle"&&(dr()(xi.ms,"app.start: opts.ms should be defined if type is throttle"),bn=xi.ms),rn==="poll"&&(dr()(xi.delay,"app.start: opts.delay should be defined if type is poll"),Yn=xi.delay)),dr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(rn)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Ai(){}function Zi(){var Ei,ba,Di,hi,la,eo,Ss,Qi,La,ta=arguments;return nn().wrap(function(xa){for(;;)switch(xa.prev=xa.next){case 0:for(Ei=ta.length,ba=new Array(Ei),Di=0;Di<Ei;Di++)ba[Di]=ta[Di];return hi=ba.length>0?ba[0]:{},la=hi.__dva_resolve,eo=la===void 0?Ai:la,Ss=hi.__dva_reject,Qi=Ss===void 0?Ai:Ss,xa.prev=2,xa.next=5,Ft({type:"".concat(Ye).concat(da,"@@start")});case 5:return xa.next=7,mn.apply(void 0,(0,Je.Z)(ba.concat(ms(Mt,Mr))));case 7:return La=xa.sent,xa.next=10,Ft({type:"".concat(Ye).concat(da,"@@end")});case 10:eo(La),xa.next=17;break;case 13:xa.prev=13,xa.t0=xa.catch(2),Kt(xa.t0,{key:Ye,effectArgs:ba}),xa.t0._dontReject||Qi(xa.t0);case 17:case"end":return xa.stop()}},Zr,null,[[2,13]])}var $i=bo(pr,Zi,Mt,Ye);switch(rn){case"watcher":return Zi;case"takeLatest":return nn().mark(function Ei(){return nn().wrap(function(Di){for(;;)switch(Di.prev=Di.next){case 0:return Di.next=2,rt(Ye,$i);case 2:case"end":return Di.stop()}},Ei)});case"throttle":return nn().mark(function Ei(){return nn().wrap(function(Di){for(;;)switch(Di.prev=Di.next){case 0:return Di.next=2,It(bn,Ye,$i);case 2:case"end":return Di.stop()}},Ei)});case"poll":return nn().mark(function Ei(){var ba,Di,hi,la,eo,Ss,Qi;return nn().wrap(function(ta){for(;;)switch(ta.prev=ta.next){case 0:hi=function(xa,Ka){var Fa;return nn().wrap(function(Ja){for(;;)switch(Ja.prev=Ja.next){case 0:Fa=xa.call;case 1:return Ja.next=4,Fa($i,Ka);case 4:return Ja.next=6,Fa(Di,Yn);case 6:Ja.next=1;break;case 8:case"end":return Ja.stop()}},ba)},Di=function(xa){return new Promise(function(Ka){return setTimeout(Ka,xa)})},ba=nn().mark(hi),la=Gr,eo=Ke,Ss=Dr;case 4:return ta.next=7,eo("".concat(Ye,"-start"));case 7:return Qi=ta.sent,ta.next=10,Ss([la(hi,r,Qi),eo("".concat(Ye,"-stop"))]);case 10:ta.next=4;break;case 12:case"end":return ta.stop()}},Ei)});default:return nn().mark(function Ei(){return nn().wrap(function(Di){for(;;)switch(Di.prev=Di.next){case 0:return Di.next=2,_t(Ye,$i);case 2:case"end":return Di.stop()}},Ei)})}}function ms(Ye,Qe){function Mt(Zr,mn){dr()(Zr,"dispatch: action should be a plain Object with type");var rn=Qe.namespacePrefixWarning,bn=rn===void 0?!0:rn;bn&&nr()(Zr.indexOf("".concat(Ye.namespace).concat(da))!==0,"[".concat(mn,"] ").concat(Zr," should not be prefixed with namespace ").concat(Ye.namespace))}function Kt(Zr){var mn=Zr.type;return Mt(mn,"sagaEffects.put"),Ft((0,l.Z)({},Zr,{type:Ga(mn,Ye)}))}function pr(Zr){var mn=Zr.type;return Mt(mn,"sagaEffects.put.resolve"),Ft.resolve((0,l.Z)({},Zr,{type:Ga(mn,Ye)}))}Kt.resolve=pr;function Mr(Zr){return typeof Zr=="string"?(Mt(Zr,"sagaEffects.take"),Ke(Ga(Zr,Ye))):Array.isArray(Zr)?Ke(Zr.map(function(mn){return typeof mn=="string"?(Mt(mn,"sagaEffects.take"),Ga(mn,Ye)):mn})):Ke(Zr)}return(0,l.Z)({},r,{put:Kt,take:Mr})}function bo(Ye,Qe,Mt,Kt){var pr=!0,Mr=!1,Zr=void 0;try{for(var mn=Ye[Symbol.iterator](),rn;!(pr=(rn=mn.next()).done);pr=!0){var bn=rn.value;Qe=bn(Qe,r,Mt,Kt)}}catch(Yn){Mr=!0,Zr=Yn}finally{try{!pr&&mn.return!=null&&mn.return()}finally{if(Mr)throw Zr}}return Qe}function Ni(Ye){return Ye}function vs(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ni;return function(Mt,Kt){var pr=Kt.type;return dr()(pr,"dispatch: action should be a plain Object with type"),Ye===pr?Qe(Mt,Kt):Mt}}function Na(){for(var Ye=arguments.length,Qe=new Array(Ye),Mt=0;Mt<Ye;Mt++)Qe[Mt]=arguments[Mt];return function(Kt,pr){return Qe.reduce(function(Mr,Zr){return Zr(Mr,pr)},Kt)}}function Ys(Ye,Qe){var Mt=Object.keys(Ye).map(function(pr){return vs(pr,Ye[pr])}),Kt=Na.apply(void 0,(0,Je.Z)(Mt));return function(){var pr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qe,Mr=arguments.length>1?arguments[1]:void 0;return Kt(pr,Mr)}}function Dn(Ye,Qe,Mt){return Array.isArray(Ye)?Ye[1]((Mt||Ys)(Ye[0],Qe)):(Mt||Ys)(Ye||{},Qe)}function $a(Ye){return function(){return function(Mt){return function(Kt){var pr=Kt.type;return Qe(pr)?new Promise(function(Mr,Zr){Mt((0,l.Z)({__dva_resolve:Mr,__dva_reject:Zr},Kt))}):Mt(Kt)}}};function Qe(Mt){if(!Mt||typeof Mt!="string")return!1;var Kt=Mt.split(da),pr=(0,Pr.Z)(Kt,1),Mr=pr[0],Zr=Ye._models.filter(function(mn){return mn.namespace===Mr})[0];return!!(Zr&&Zr.effects&&Zr.effects[Mt])}}function cs(Ye,Qe){return function(Mt){var Kt=Mt.type;return dr()(Kt,"dispatch: action should be a plain Object with type"),nr()(Kt.indexOf("".concat(Qe.namespace).concat(da))!==0,"dispatch: ".concat(Kt," should not be prefixed with namespace ").concat(Qe.namespace)),Ye((0,l.Z)({},Mt,{type:Ga(Kt,Qe)}))}}function ja(Ye,Qe,Mt,Kt){var pr=[],Mr=[];for(var Zr in Ye)if(Object.prototype.hasOwnProperty.call(Ye,Zr)){var mn=Ye[Zr],rn=mn({dispatch:cs(Mt._store.dispatch,Qe),history:Mt._history},Kt);Sn(rn)?pr.push(rn):Mr.push(Zr)}return{funcs:pr,nonFuncs:Mr}}function zi(Ye,Qe){if(Ye[Qe]){var Mt=Ye[Qe],Kt=Mt.funcs,pr=Mt.nonFuncs;nr()(pr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(pr.join(", ")));var Mr=!0,Zr=!1,mn=void 0;try{for(var rn=Kt[Symbol.iterator](),bn;!(Mr=(bn=rn.next()).done);Mr=!0){var Yn=bn.value;Yn()}}catch(ti){Zr=!0,mn=ti}finally{try{!Mr&&rn.return!=null&&rn.return()}finally{if(Zr)throw mn}}delete Ye[Qe]}}var Ra=wi,Da=_i,ws={namespace:"@@dva",state:0,reducers:{UPDATE:function(Qe){return Qe+1}}};function Xs(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mt=Qe.initialReducer,Kt=Qe.setupApp,pr=Kt===void 0?Ra:Kt,Mr=new Wa;Mr.use(Es(Ye));var Zr={_models:[Ta((0,l.Z)({},ws))],_store:null,_plugin:Mr,use:Mr.use.bind(Mr),model:mn,start:ti};return Zr;function mn(xi){var Ai=Ta((0,l.Z)({},xi));return Zr._models.push(Ai),Ai}function rn(xi,Ai,Zi,$i){$i=mn($i);var Ei=Zr._store;Ei.asyncReducers[$i.namespace]=Dn($i.reducers,$i.state,Mr._handleActions),Ei.replaceReducer(xi()),$i.effects&&Ei.runSaga(Zr._getSaga($i.effects,$i,Ai,Mr.get("onEffect"),Ye)),$i.subscriptions&&(Zi[$i.namespace]=ja($i.subscriptions,$i,Zr,Ai))}function bn(xi,Ai,Zi,$i){var Ei=Zr._store;delete Ei.asyncReducers[$i],delete Ai[$i],Ei.replaceReducer(xi()),Ei.dispatch({type:"@@dva/UPDATE"}),Ei.dispatch({type:"".concat($i,"/@@CANCEL_EFFECTS")}),zi(Zi,$i),Zr._models=Zr._models.filter(function(ba){return ba.namespace!==$i})}function Yn(xi,Ai,Zi,$i,Ei){var ba=Zr._store,Di=Ei.namespace,hi=Da(Zr._models,function(la){return la.namespace===Di});~hi&&(ba.dispatch({type:"".concat(Di,"/@@CANCEL_EFFECTS")}),delete ba.asyncReducers[Di],delete Ai[Di],zi(Zi,Di),Zr._models.splice(hi,1)),Zr.model(Ei),ba.dispatch({type:"@@dva/UPDATE"})}function ti(){var xi=function(Ar,Jr){Ar&&(typeof Ar=="string"&&(Ar=new Error(Ar)),Ar.preventDefault=function(){Ar._dontReject=!0},Mr.apply("onError",function(br){throw new Error(br.stack||br)})(Ar,Zr._store.dispatch,Jr))},Ai=pt(),Zi=$a(Zr);Zr._getSaga=Is.bind(null);var $i=[],Ei=(0,l.Z)({},Mt),ba=!0,Di=!1,hi=void 0;try{for(var la=Zr._models[Symbol.iterator](),eo;!(ba=(eo=la.next()).done);ba=!0){var Ss=eo.value;Ei[Ss.namespace]=Dn(Ss.reducers,Ss.state,Mr._handleActions),Ss.effects&&$i.push(Zr._getSaga(Ss.effects,Ss,xi,Mr.get("onEffect"),Ye))}}catch(we){Di=!0,hi=we}finally{try{!ba&&la.return!=null&&la.return()}finally{if(Di)throw hi}}var Qi=Mr.get("onReducer"),La=Mr.get("extraReducers");dr()(Object.keys(La).every(function(we){return!(we in Ei)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(Ei).join(", "))),Zr._store=os({reducers:ye(),initialState:Ye.initialState||{},plugin:Mr,createOpts:Qe,sagaMiddleware:Ai,promiseMiddleware:Zi});var ta=Zr._store;ta.runSaga=Ai.run,ta.asyncReducers={};var Ri=Mr.get("onStateChange"),xa=!0,Ka=!1,Fa=void 0;try{for(var io=function(){var Ar=ao.value;ta.subscribe(function(){Ar(ta.getState())})},Ja=Ri[Symbol.iterator](),ao;!(xa=(ao=Ja.next()).done);xa=!0)io()}catch(we){Ka=!0,Fa=we}finally{try{!xa&&Ja.return!=null&&Ja.return()}finally{if(Ka)throw Fa}}$i.forEach(Ai.run),pr(Zr);var es={},js=!0,ts=!1,Hi=void 0;try{for(var Ba=this._models[Symbol.iterator](),Os;!(js=(Os=Ba.next()).done);js=!0){var ha=Os.value;ha.subscriptions&&(es[ha.namespace]=ja(ha.subscriptions,ha,Zr,xi))}}catch(we){ts=!0,Hi=we}finally{try{!js&&Ba.return!=null&&Ba.return()}finally{if(ts)throw Hi}}Zr.model=rn.bind(Zr,ye,xi,es),Zr.unmodel=bn.bind(Zr,ye,Ei,es),Zr.replaceModel=Yn.bind(Zr,ye,Ei,es,xi);function ye(){return Qi((0,c.UY)((0,l.Z)({},Ei,La,Zr._store?Zr._store.asyncReducers:{})))}}}var xo=e(37573),ho=e(45097),wa=e(4676);function gs(Ye){Ye()}let Zs=gs;const no=Ye=>Zs=Ye,Eo=()=>Zs,wo=Symbol.for("react-redux-context"),po=typeof globalThis!="undefined"?globalThis:{};function di(){var Ye;if(!i.createContext)return{};const Qe=(Ye=po[wo])!=null?Ye:po[wo]=new Map;let Mt=Qe.get(i.createContext);return Mt||(Mt=i.createContext(null),Qe.set(i.createContext,Mt)),Mt}const ci=di();var Ua=null;function Qa(Ye=ci){return function(){return(0,i.useContext)(Ye)}}const qa=Qa(),Qs=()=>{throw new Error("uSES not initialized!")};let qs=Qs;const Qo=Ye=>{qs=Ye},ds=(Ye,Qe)=>Ye===Qe;function Oo(Ye=ci){const Qe=Ye===ci?qa:Qa(Ye);return function(Kt,pr={}){const{equalityFn:Mr=ds,stabilityCheck:Zr=void 0,noopCheck:mn=void 0}=typeof pr=="function"?{equalityFn:pr}:pr,{store:rn,subscription:bn,getServerState:Yn,stabilityCheck:ti,noopCheck:xi}=Qe(),Ai=(0,i.useRef)(!0),Zi=(0,i.useCallback)({[Kt.name](Ei){return Kt(Ei)}}[Kt.name],[Kt,ti,Zr]),$i=qs(bn.addNestedSub,rn.getState,Yn||rn.getState,Zi,Mr);return(0,i.useDebugValue)($i),$i}}const ko=Oo();var Ho=e(14809),Su=e(74126),So=e(94266),_o=e.n(So),Js=e(23265);const $u=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Ro(Ye,Qe,Mt,Kt,{areStatesEqual:pr,areOwnPropsEqual:Mr,areStatePropsEqual:Zr}){let mn=!1,rn,bn,Yn,ti,xi;function Ai(Di,hi){return rn=Di,bn=hi,Yn=Ye(rn,bn),ti=Qe(Kt,bn),xi=Mt(Yn,ti,bn),mn=!0,xi}function Zi(){return Yn=Ye(rn,bn),Qe.dependsOnOwnProps&&(ti=Qe(Kt,bn)),xi=Mt(Yn,ti,bn),xi}function $i(){return Ye.dependsOnOwnProps&&(Yn=Ye(rn,bn)),Qe.dependsOnOwnProps&&(ti=Qe(Kt,bn)),xi=Mt(Yn,ti,bn),xi}function Ei(){const Di=Ye(rn,bn),hi=!Zr(Di,Yn);return Yn=Di,hi&&(xi=Mt(Yn,ti,bn)),xi}function ba(Di,hi){const la=!Mr(hi,bn),eo=!pr(Di,rn,hi,bn);return rn=Di,bn=hi,la&&eo?Zi():la?$i():eo?Ei():xi}return function(hi,la){return mn?ba(hi,la):Ai(hi,la)}}function Lo(Ye,Qe){let{initMapStateToProps:Mt,initMapDispatchToProps:Kt,initMergeProps:pr}=Qe,Mr=(0,Su.Z)(Qe,$u);const Zr=Mt(Ye,Mr),mn=Kt(Ye,Mr),rn=pr(Ye,Mr);return Ro(Zr,mn,rn,Ye,Mr)}function Hs(Ye,Qe){const Mt={};for(const Kt in Ye){const pr=Ye[Kt];typeof pr=="function"&&(Mt[Kt]=(...Mr)=>Qe(pr(...Mr)))}return Mt}function du(Ye){return function(Mt){const Kt=Ye(Mt);function pr(){return Kt}return pr.dependsOnOwnProps=!1,pr}}function jo(Ye){return Ye.dependsOnOwnProps?!!Ye.dependsOnOwnProps:Ye.length!==1}function Ao(Ye,Qe){return function(Kt,{displayName:pr}){const Mr=function(mn,rn){return Mr.dependsOnOwnProps?Mr.mapToProps(mn,rn):Mr.mapToProps(mn,void 0)};return Mr.dependsOnOwnProps=!0,Mr.mapToProps=function(mn,rn){Mr.mapToProps=Ye,Mr.dependsOnOwnProps=jo(Ye);let bn=Mr(mn,rn);return typeof bn=="function"&&(Mr.mapToProps=bn,Mr.dependsOnOwnProps=jo(bn),bn=Mr(mn,rn)),bn},Mr}}function Bs(Ye,Qe){return(Mt,Kt)=>{throw new Error(`Invalid value of type ${typeof Ye} for ${Qe} argument when connecting component ${Kt.wrappedComponentName}.`)}}function Rs(Ye){return Ye&&typeof Ye=="object"?du(Qe=>Hs(Ye,Qe)):Ye?typeof Ye=="function"?Ao(Ye,"mapDispatchToProps"):Bs(Ye,"mapDispatchToProps"):du(Qe=>({dispatch:Qe}))}function hu(Ye){return Ye?typeof Ye=="function"?Ao(Ye,"mapStateToProps"):Bs(Ye,"mapStateToProps"):du(()=>({}))}function Au(Ye,Qe,Mt){return(0,Ho.Z)({},Mt,Ye,Qe)}function qt(Ye){return function(Mt,{displayName:Kt,areMergedPropsEqual:pr}){let Mr=!1,Zr;return function(rn,bn,Yn){const ti=Ye(rn,bn,Yn);return Mr?pr(ti,Zr)||(Zr=ti):(Mr=!0,Zr=ti),Zr}}}function hr(Ye){return Ye?typeof Ye=="function"?qt(Ye):Bs(Ye,"mergeProps"):()=>Au}function or(){const Ye=Eo();let Qe=null,Mt=null;return{clear(){Qe=null,Mt=null},notify(){Ye(()=>{let Kt=Qe;for(;Kt;)Kt.callback(),Kt=Kt.next})},get(){let Kt=[],pr=Qe;for(;pr;)Kt.push(pr),pr=pr.next;return Kt},subscribe(Kt){let pr=!0,Mr=Mt={callback:Kt,next:null,prev:Mt};return Mr.prev?Mr.prev.next=Mr:Qe=Mr,function(){!pr||Qe===null||(pr=!1,Mr.next?Mr.next.prev=Mr.prev:Mt=Mr.prev,Mr.prev?Mr.prev.next=Mr.next:Qe=Mr.next)}}}}const vr={notify(){},get:()=>[]};function wr(Ye,Qe){let Mt,Kt=vr,pr=0,Mr=!1;function Zr($i){Yn();const Ei=Kt.subscribe($i);let ba=!1;return()=>{ba||(ba=!0,Ei(),ti())}}function mn(){Kt.notify()}function rn(){Zi.onStateChange&&Zi.onStateChange()}function bn(){return Mr}function Yn(){pr++,Mt||(Mt=Qe?Qe.addNestedSub(rn):Ye.subscribe(rn),Kt=or())}function ti(){pr--,Mt&&pr===0&&(Mt(),Mt=void 0,Kt.clear(),Kt=vr)}function xi(){Mr||(Mr=!0,Yn())}function Ai(){Mr&&(Mr=!1,ti())}const Zi={addNestedSub:Zr,notifyNestedSubs:mn,handleChangeWrapper:rn,isSubscribed:bn,trySubscribe:xi,tryUnsubscribe:Ai,getListeners:()=>Kt};return Zi}const En=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 Ln(Ye,Qe){if($n(Ye,Qe))return!0;if(typeof Ye!="object"||Ye===null||typeof Qe!="object"||Qe===null)return!1;const Mt=Object.keys(Ye),Kt=Object.keys(Qe);if(Mt.length!==Kt.length)return!1;for(let pr=0;pr<Mt.length;pr++)if(!Object.prototype.hasOwnProperty.call(Qe,Mt[pr])||!$n(Ye[Mt[pr]],Qe[Mt[pr]]))return!1;return!0}const Vn=["reactReduxForwardedRef"];let ur=Qs;const Nr=Ye=>{ur=Ye},xr=null,hn=[null,null],Wn=Ye=>{try{return JSON.stringify(Ye)}catch(Qe){return String(Ye)}};function ft(Ye,Qe,Mt){En(()=>Ye(...Qe),Mt)}function Pn(Ye,Qe,Mt,Kt,pr,Mr){Ye.current=Kt,Mt.current=!1,pr.current&&(pr.current=null,Mr())}function Kn(Ye,Qe,Mt,Kt,pr,Mr,Zr,mn,rn,bn,Yn){if(!Ye)return()=>{};let ti=!1,xi=null;const Ai=()=>{if(ti||!mn.current)return;const $i=Qe.getState();let Ei,ba;try{Ei=Kt($i,pr.current)}catch(Di){ba=Di,xi=Di}ba||(xi=null),Ei===Mr.current?Zr.current||bn():(Mr.current=Ei,rn.current=Ei,Zr.current=!0,Yn())};return Mt.onStateChange=Ai,Mt.trySubscribe(),Ai(),()=>{if(ti=!0,Mt.tryUnsubscribe(),Mt.onStateChange=null,xi)throw xi}}const ui=()=>xr;function Xi(Ye,Qe){return Ye===Qe}let $r=!1;function Vr(Ye,Qe,Mt,{pure:Kt,areStatesEqual:pr=Xi,areOwnPropsEqual:Mr=Ln,areStatePropsEqual:Zr=Ln,areMergedPropsEqual:mn=Ln,forwardRef:rn=!1,context:bn=ci}={}){const Yn=bn,ti=hu(Ye),xi=Rs(Qe),Ai=hr(Mt),Zi=!!Ye;return Ei=>{const ba=Ei.displayName||Ei.name||"Component",Di=`Connect(${ba})`,hi={shouldHandleStateChanges:Zi,displayName:Di,wrappedComponentName:ba,WrappedComponent:Ei,initMapStateToProps:ti,initMapDispatchToProps:xi,initMergeProps:Ai,areStatesEqual:pr,areStatePropsEqual:Zr,areOwnPropsEqual:Mr,areMergedPropsEqual:mn};function la(Qi){const[La,ta,Ri]=i.useMemo(()=>{const{reactReduxForwardedRef:On}=Qi,kn=(0,Su.Z)(Qi,Vn);return[Qi.context,On,kn]},[Qi]),xa=i.useMemo(()=>La&&La.Consumer&&(0,Js.isContextConsumer)(i.createElement(La.Consumer,null))?La:Yn,[La,Yn]),Ka=i.useContext(xa),Fa=!!Qi.store&&!!Qi.store.getState&&!!Qi.store.dispatch,io=!!Ka&&!!Ka.store,Ja=Fa?Qi.store:Ka.store,ao=io?Ka.getServerState:Ja.getState,es=i.useMemo(()=>Lo(Ja.dispatch,hi),[Ja]),[js,ts]=i.useMemo(()=>{if(!Zi)return hn;const On=wr(Ja,Fa?void 0:Ka.subscription),kn=On.notifyNestedSubs.bind(On);return[On,kn]},[Ja,Fa,Ka]),Hi=i.useMemo(()=>Fa?Ka:(0,Ho.Z)({},Ka,{subscription:js}),[Fa,Ka,js]),Ba=i.useRef(),Os=i.useRef(Ri),ha=i.useRef(),ye=i.useRef(!1),we=i.useRef(!1),Ar=i.useRef(!1),Jr=i.useRef();En(()=>(Ar.current=!0,()=>{Ar.current=!1}),[]);const br=i.useMemo(()=>()=>ha.current&&Ri===Os.current?ha.current:es(Ja.getState(),Ri),[Ja,Ri]),Xr=i.useMemo(()=>kn=>js?Kn(Zi,Ja,js,es,Os,Ba,ye,Ar,ha,ts,kn):()=>{},[js]);ft(Pn,[Os,Ba,ye,Ri,ha,ts]);let wn;try{wn=ur(Xr,br,ao?()=>es(ao(),Ri):br)}catch(On){throw Jr.current&&(On.message+=`
|
|
|
The error may be correlated with this previous error:
|
|
|
${Jr.current.stack}
|
|
|
|
|
|
`),On}En(()=>{Jr.current=void 0,ha.current=void 0,Ba.current=wn});const Jn=i.useMemo(()=>i.createElement(Ei,(0,Ho.Z)({},wn,{ref:ta})),[ta,Ei,wn]);return i.useMemo(()=>Zi?i.createElement(xa.Provider,{value:Hi},Jn):Jn,[xa,Jn,Hi])}const Ss=i.memo(la);if(Ss.WrappedComponent=Ei,Ss.displayName=la.displayName=Di,rn){const La=i.forwardRef(function(Ri,xa){return i.createElement(Ss,(0,Ho.Z)({},Ri,{reactReduxForwardedRef:xa}))});return La.displayName=Di,La.WrappedComponent=Ei,_o()(La,Ei)}return _o()(Ss,Ei)}}var ga=Vr;function Ii({store:Ye,context:Qe,children:Mt,serverState:Kt,stabilityCheck:pr="once",noopCheck:Mr="once"}){const Zr=i.useMemo(()=>{const bn=wr(Ye);return{store:Ye,subscription:bn,getServerState:Kt?()=>Kt:void 0,stabilityCheck:pr,noopCheck:Mr}},[Ye,Kt,pr,Mr]),mn=i.useMemo(()=>Ye.getState(),[Ye]);En(()=>{const{subscription:bn}=Zr;return bn.onStateChange=bn.notifyNestedSubs,bn.trySubscribe(),mn!==Ye.getState()&&bn.notifyNestedSubs(),()=>{bn.tryUnsubscribe(),bn.onStateChange=void 0}},[Zr,mn]);const rn=Qe||ci;return i.createElement(rn.Provider,{value:Zr},Mt)}var aa=Ii;function Ds(Ye=ci){const Qe=Ye===ci?qa:Qa(Ye);return function(){const{store:Kt}=Qe();return Kt}}const li=Ds();function Ws(Ye=ci){const Qe=Ye===ci?li:Ds(Ye);return function(){return Qe().dispatch}}const Uo=Ws();Qo(ho.useSyncExternalStoreWithSelector),Nr(xo.useSyncExternalStore),no(wa.unstable_batchedUpdates);var Ls=Object.defineProperty,ya=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,ys=Object.prototype.propertyIsEnumerable,Mn=(Ye,Qe,Mt)=>Qe in Ye?Ls(Ye,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Ye[Qe]=Mt,Ns=(Ye,Qe)=>{for(var Mt in Qe||(Qe={}))Va.call(Qe,Mt)&&Mn(Ye,Mt,Qe[Mt]);if(ya)for(var Mt of ya(Qe))ys.call(Qe,Mt)&&Mn(Ye,Mt,Qe[Mt]);return Ye};function $s(Ye){const Qe=create(Ye,{initialReducer:{},setupApp(){}}),Mt=Qe.start;return Qe.router=Kt,Qe.start=pr,Qe;function Kt(Mr){Qe._router=Mr}function pr(Mr){if(typeof Mr!="undefined")throw new Error("dva.start() should not be called with any arguments.");Qe._store||Mt.call(Qe);const Zr=Qe._store,mn=Qe._router;return rn=>React.createElement(Provider,{store:Zr},mn(Ns({app:Qe},rn)))}}},58293:function(d,v,e){"use strict";e.d(v,{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=(R,A,D)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:D}):R[A]=D,a=(R,A)=>{for(var D in A||(A={}))o.call(A,D)&&u(R,D,A[D]);if(f)for(var D of f(A))h.call(A,D)&&u(R,D,A[D]);return R},x=(R,A)=>l(R,c(A));let p,y="/";function _(R){let A;return R.type==="hash"?A=(0,r.q_)():R.type==="memory"?A=(0,r.PP)(R):A=(0,r.lX)(),R.basename&&(y=R.basename),p=x(a({},A),{push(D,M){A.push(S(D,A),M)},replace(D,M){A.replace(S(D,A),M)},get location(){return A.location},get action(){return A.action}}),A}function b(R){R&&(p=R)}function S(R,A){if(typeof R=="string")return`${k(y)}${R}`;if(typeof R=="object"){const D=A.location.pathname;return x(a({},R),{pathname:R.pathname?`${k(y)}${R.pathname}`:D})}else throw new Error(`Unexpected to: ${R}`)}function k(R){return R.slice(-1)==="/"?R.slice(0,-1):R}},3191:function(d,v,e){"use strict";e.d(v,{gD:function(){return cn},We:function(){return lr}});var r={};e.r(r),e.d(r,{dva:function(){return a}});var i={};e.r(i),e.d(i,{innerProvider:function(){return He}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Te}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return Gt}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return Cr}});var o=e(8591),h=e(61186),u=e.n(h);u().locale("ZH-cn");const a={config:{onError(Lt){o.ZP.error(Lt.message,3)}}};var x=e(59301),p=e(12708),y=e.n(p),_=e(12373),b=e.n(_),S=e(44520),k=e.n(S),R=e(19747),A=e.n(R);function D(){return D=Object.assign||function(Lt){for(var mt=1;mt<arguments.length;mt++){var vt=arguments[mt];for(var Ut in vt)Object.prototype.hasOwnProperty.call(vt,Ut)&&(Lt[Ut]=vt[Ut])}return Lt},D.apply(this,arguments)}function M(Lt,mt){Lt.prototype=Object.create(mt.prototype),Lt.prototype.constructor=Lt,B(Lt,mt)}function B(Lt,mt){return B=Object.setPrototypeOf||function(vt,Ut){return vt.__proto__=Ut,vt},B(Lt,mt)}function j(Lt,mt){if(Lt==null)return{};var vt,Ut,Sr={},yr=Object.keys(Lt);for(Ut=0;Ut<yr.length;Ut++)mt.indexOf(vt=yr[Ut])>=0||(Sr[vt]=Lt[vt]);return Sr}var Y={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"]},G={type:["application/ld+json"]},ae={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ie=Object.keys(Y).map(function(Lt){return Y[Lt]}),ue={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},q=Object.keys(ue).reduce(function(Lt,mt){return Lt[ue[mt]]=mt,Lt},{}),J=function(Lt,mt){for(var vt=Lt.length-1;vt>=0;vt-=1){var Ut=Lt[vt];if(Object.prototype.hasOwnProperty.call(Ut,mt))return Ut[mt]}return null},K=function(Lt){var mt=J(Lt,Y.TITLE),vt=J(Lt,"titleTemplate");if(Array.isArray(mt)&&(mt=mt.join("")),vt&&mt)return vt.replace(/%s/g,function(){return mt});var Ut=J(Lt,"defaultTitle");return mt||Ut||void 0},oe=function(Lt){return J(Lt,"onChangeClientState")||function(){}},ee=function(Lt,mt){return mt.filter(function(vt){return vt[Lt]!==void 0}).map(function(vt){return vt[Lt]}).reduce(function(vt,Ut){return D({},vt,Ut)},{})},Q=function(Lt,mt){return mt.filter(function(vt){return vt[Y.BASE]!==void 0}).map(function(vt){return vt[Y.BASE]}).reverse().reduce(function(vt,Ut){if(!vt.length)for(var Sr=Object.keys(Ut),yr=0;yr<Sr.length;yr+=1){var it=Sr[yr].toLowerCase();if(Lt.indexOf(it)!==-1&&Ut[it])return vt.concat(Ut)}return vt},[])},le=function(Lt,mt,vt){var Ut={};return vt.filter(function(Sr){return!!Array.isArray(Sr[Lt])||(Sr[Lt]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+Lt+' should be of type "Array". Instead found type "'+typeof Sr[Lt]+'"'),!1)}).map(function(Sr){return Sr[Lt]}).reverse().reduce(function(Sr,yr){var it={};yr.filter(function(tn){for(var pn,Fn=Object.keys(tn),Tn=0;Tn<Fn.length;Tn+=1){var oi=Fn[Tn],Pi=oi.toLowerCase();mt.indexOf(Pi)===-1||pn==="rel"&&tn[pn].toLowerCase()==="canonical"||Pi==="rel"&&tn[Pi].toLowerCase()==="stylesheet"||(pn=Pi),mt.indexOf(oi)===-1||oi!=="innerHTML"&&oi!=="cssText"&&oi!=="itemprop"||(pn=oi)}if(!pn||!tn[pn])return!1;var Li=tn[pn].toLowerCase();return Ut[pn]||(Ut[pn]={}),it[pn]||(it[pn]={}),!Ut[pn][Li]&&(it[pn][Li]=!0,!0)}).reverse().forEach(function(tn){return Sr.push(tn)});for(var Br=Object.keys(it),gn=0;gn<Br.length;gn+=1){var zn=Br[gn],gr=D({},Ut[zn],it[zn]);Ut[zn]=gr}return Sr},[]).reverse()},Z=function(Lt,mt){if(Array.isArray(Lt)&&Lt.length){for(var vt=0;vt<Lt.length;vt+=1)if(Lt[vt][mt])return!0}return!1},$=function(Lt){return Array.isArray(Lt)?Lt.join(""):Lt},se=function(Lt,mt){return Array.isArray(Lt)?Lt.reduce(function(vt,Ut){return function(Sr,yr){for(var it=Object.keys(Sr),Br=0;Br<it.length;Br+=1)if(yr[it[Br]]&&yr[it[Br]].includes(Sr[it[Br]]))return!0;return!1}(Ut,mt)?vt.priority.push(Ut):vt.default.push(Ut),vt},{priority:[],default:[]}):{default:Lt}},_e=function(Lt,mt){var vt;return D({},Lt,((vt={})[mt]=void 0,vt))},De=[Y.NOSCRIPT,Y.SCRIPT,Y.STYLE],ke=function(Lt,mt){return mt===void 0&&(mt=!0),mt===!1?String(Lt):String(Lt).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},Ze=function(Lt){return Object.keys(Lt).reduce(function(mt,vt){var Ut=Lt[vt]!==void 0?vt+'="'+Lt[vt]+'"':""+vt;return mt?mt+" "+Ut:Ut},"")},Ne=function(Lt,mt){return mt===void 0&&(mt={}),Object.keys(Lt).reduce(function(vt,Ut){return vt[ue[Ut]||Ut]=Lt[Ut],vt},mt)},Bt=function(Lt,mt){return mt.map(function(vt,Ut){var Sr,yr=((Sr={key:Ut})["data-rh"]=!0,Sr);return Object.keys(vt).forEach(function(it){var Br=ue[it]||it;Br==="innerHTML"||Br==="cssText"?yr.dangerouslySetInnerHTML={__html:vt.innerHTML||vt.cssText}:yr[Br]=vt[it]}),x.createElement(Lt,yr)})},yt=function(Lt,mt,vt){switch(Lt){case Y.TITLE:return{toComponent:function(){return Sr=mt.titleAttributes,(yr={key:Ut=mt.title})["data-rh"]=!0,it=Ne(Sr,yr),[x.createElement(Y.TITLE,it,Ut)];var Ut,Sr,yr,it},toString:function(){return function(Ut,Sr,yr,it){var Br=Ze(yr),gn=$(Sr);return Br?"<"+Ut+' data-rh="true" '+Br+">"+ke(gn,it)+"</"+Ut+">":"<"+Ut+' data-rh="true">'+ke(gn,it)+"</"+Ut+">"}(Lt,mt.title,mt.titleAttributes,vt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Ne(mt)},toString:function(){return Ze(mt)}};default:return{toComponent:function(){return Bt(Lt,mt)},toString:function(){return function(Ut,Sr,yr){return Sr.reduce(function(it,Br){var gn=Object.keys(Br).filter(function(tn){return!(tn==="innerHTML"||tn==="cssText")}).reduce(function(tn,pn){var Fn=Br[pn]===void 0?pn:pn+'="'+ke(Br[pn],yr)+'"';return tn?tn+" "+Fn:Fn},""),zn=Br.innerHTML||Br.cssText||"",gr=De.indexOf(Ut)===-1;return it+"<"+Ut+' data-rh="true" '+gn+(gr?"/>":">"+zn+"</"+Ut+">")},"")}(Lt,mt,vt)}}}},Dt=function(Lt){var mt=Lt.baseTag,vt=Lt.bodyAttributes,Ut=Lt.encode,Sr=Lt.htmlAttributes,yr=Lt.noscriptTags,it=Lt.styleTags,Br=Lt.title,gn=Br===void 0?"":Br,zn=Lt.titleAttributes,gr=Lt.linkTags,tn=Lt.metaTags,pn=Lt.scriptTags,Fn={toComponent:function(){},toString:function(){return""}};if(Lt.prioritizeSeoTags){var Tn=function(oi){var Pi=oi.linkTags,Li=oi.scriptTags,Si=oi.encode,gi=se(oi.metaTags,ae),ii=se(Pi,V),na=se(Li,G);return{priorityMethods:{toComponent:function(){return[].concat(Bt(Y.META,gi.priority),Bt(Y.LINK,ii.priority),Bt(Y.SCRIPT,na.priority))},toString:function(){return yt(Y.META,gi.priority,Si)+" "+yt(Y.LINK,ii.priority,Si)+" "+yt(Y.SCRIPT,na.priority,Si)}},metaTags:gi.default,linkTags:ii.default,scriptTags:na.default}}(Lt);Fn=Tn.priorityMethods,gr=Tn.linkTags,tn=Tn.metaTags,pn=Tn.scriptTags}return{priority:Fn,base:yt(Y.BASE,mt,Ut),bodyAttributes:yt("bodyAttributes",vt,Ut),htmlAttributes:yt("htmlAttributes",Sr,Ut),link:yt(Y.LINK,gr,Ut),meta:yt(Y.META,tn,Ut),noscript:yt(Y.NOSCRIPT,yr,Ut),script:yt(Y.SCRIPT,pn,Ut),style:yt(Y.STYLE,it,Ut),title:yt(Y.TITLE,{title:gn,titleAttributes:zn},Ut)}},Jt=[],er=function(Lt,mt){var vt=this;mt===void 0&&(mt=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(Ut){vt.context.helmet=Ut},helmetInstances:{get:function(){return vt.canUseDOM?Jt:vt.instances},add:function(Ut){(vt.canUseDOM?Jt:vt.instances).push(Ut)},remove:function(Ut){var Sr=(vt.canUseDOM?Jt:vt.instances).indexOf(Ut);(vt.canUseDOM?Jt:vt.instances).splice(Sr,1)}}},this.context=Lt,this.canUseDOM=mt,mt||(Lt.helmet=Dt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},tr=x.createContext({}),Xe=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),Pt=typeof document!="undefined",Zt=function(Lt){function mt(vt){var Ut;return(Ut=Lt.call(this,vt)||this).helmetData=new er(Ut.props.context,mt.canUseDOM),Ut}return M(mt,Lt),mt.prototype.render=function(){return x.createElement(tr.Provider,{value:this.helmetData.value},this.props.children)},mt}(x.Component);Zt.canUseDOM=Pt,Zt.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},Zt.defaultProps={context:{}},Zt.displayName="HelmetProvider";var ot=function(Lt,mt){var vt,Ut=document.head||document.querySelector(Y.HEAD),Sr=Ut.querySelectorAll(Lt+"[data-rh]"),yr=[].slice.call(Sr),it=[];return mt&&mt.length&&mt.forEach(function(Br){var gn=document.createElement(Lt);for(var zn in Br)Object.prototype.hasOwnProperty.call(Br,zn)&&(zn==="innerHTML"?gn.innerHTML=Br.innerHTML:zn==="cssText"?gn.styleSheet?gn.styleSheet.cssText=Br.cssText:gn.appendChild(document.createTextNode(Br.cssText)):gn.setAttribute(zn,Br[zn]===void 0?"":Br[zn]));gn.setAttribute("data-rh","true"),yr.some(function(gr,tn){return vt=tn,gn.isEqualNode(gr)})?yr.splice(vt,1):it.push(gn)}),yr.forEach(function(Br){return Br.parentNode.removeChild(Br)}),it.forEach(function(Br){return Ut.appendChild(Br)}),{oldTags:yr,newTags:it}},xt=function(Lt,mt){var vt=document.getElementsByTagName(Lt)[0];if(vt){for(var Ut=vt.getAttribute("data-rh"),Sr=Ut?Ut.split(","):[],yr=[].concat(Sr),it=Object.keys(mt),Br=0;Br<it.length;Br+=1){var gn=it[Br],zn=mt[gn]||"";vt.getAttribute(gn)!==zn&&vt.setAttribute(gn,zn),Sr.indexOf(gn)===-1&&Sr.push(gn);var gr=yr.indexOf(gn);gr!==-1&&yr.splice(gr,1)}for(var tn=yr.length-1;tn>=0;tn-=1)vt.removeAttribute(yr[tn]);Sr.length===yr.length?vt.removeAttribute("data-rh"):vt.getAttribute("data-rh")!==it.join(",")&&vt.setAttribute("data-rh",it.join(","))}},ht=function(Lt,mt){var vt=Lt.baseTag,Ut=Lt.htmlAttributes,Sr=Lt.linkTags,yr=Lt.metaTags,it=Lt.noscriptTags,Br=Lt.onChangeClientState,gn=Lt.scriptTags,zn=Lt.styleTags,gr=Lt.title,tn=Lt.titleAttributes;xt(Y.BODY,Lt.bodyAttributes),xt(Y.HTML,Ut),function(oi,Pi){oi!==void 0&&document.title!==oi&&(document.title=$(oi)),xt(Y.TITLE,Pi)}(gr,tn);var pn={baseTag:ot(Y.BASE,vt),linkTags:ot(Y.LINK,Sr),metaTags:ot(Y.META,yr),noscriptTags:ot(Y.NOSCRIPT,it),scriptTags:ot(Y.SCRIPT,gn),styleTags:ot(Y.STYLE,zn)},Fn={},Tn={};Object.keys(pn).forEach(function(oi){var Pi=pn[oi],Li=Pi.newTags,Si=Pi.oldTags;Li.length&&(Fn[oi]=Li),Si.length&&(Tn[oi]=pn[oi].oldTags)}),mt&&mt(),Br(Lt,Fn,Tn)},et=null,je=function(Lt){function mt(){for(var Ut,Sr=arguments.length,yr=new Array(Sr),it=0;it<Sr;it++)yr[it]=arguments[it];return(Ut=Lt.call.apply(Lt,[this].concat(yr))||this).rendered=!1,Ut}M(mt,Lt);var vt=mt.prototype;return vt.shouldComponentUpdate=function(Ut){return!A()(Ut,this.props)},vt.componentDidUpdate=function(){this.emitChange()},vt.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},vt.emitChange=function(){var Ut,Sr,yr=this.props.context,it=yr.setHelmet,Br=null,gn=(Ut=yr.helmetInstances.get().map(function(zn){var gr=D({},zn.props);return delete gr.context,gr}),{baseTag:Q(["href"],Ut),bodyAttributes:ee("bodyAttributes",Ut),defer:J(Ut,"defer"),encode:J(Ut,"encodeSpecialCharacters"),htmlAttributes:ee("htmlAttributes",Ut),linkTags:le(Y.LINK,["rel","href"],Ut),metaTags:le(Y.META,["name","charset","http-equiv","property","itemprop"],Ut),noscriptTags:le(Y.NOSCRIPT,["innerHTML"],Ut),onChangeClientState:oe(Ut),scriptTags:le(Y.SCRIPT,["src","innerHTML"],Ut),styleTags:le(Y.STYLE,["cssText"],Ut),title:K(Ut),titleAttributes:ee("titleAttributes",Ut),prioritizeSeoTags:Z(Ut,"prioritizeSeoTags")});Zt.canUseDOM?(Sr=gn,et&&cancelAnimationFrame(et),Sr.defer?et=requestAnimationFrame(function(){ht(Sr,function(){et=null})}):(ht(Sr),et=null)):Dt&&(Br=Dt(gn)),it(Br)},vt.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},vt.render=function(){return this.init(),null},mt}(x.Component);je.propTypes={context:Xe.isRequired},je.displayName="HelmetDispatcher";var ge=["children"],Se=["children"],Me=function(Lt){function mt(){return Lt.apply(this,arguments)||this}M(mt,Lt);var vt=mt.prototype;return vt.shouldComponentUpdate=function(Ut){return!b()(_e(this.props,"helmetData"),_e(Ut,"helmetData"))},vt.mapNestedChildrenToProps=function(Ut,Sr){if(!Sr)return null;switch(Ut.type){case Y.SCRIPT:case Y.NOSCRIPT:return{innerHTML:Sr};case Y.STYLE:return{cssText:Sr};default:throw new Error("<"+Ut.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},vt.flattenArrayTypeChildren=function(Ut){var Sr,yr=Ut.child,it=Ut.arrayTypeChildren;return D({},it,((Sr={})[yr.type]=[].concat(it[yr.type]||[],[D({},Ut.newChildProps,this.mapNestedChildrenToProps(yr,Ut.nestedChildren))]),Sr))},vt.mapObjectTypeChildren=function(Ut){var Sr,yr,it=Ut.child,Br=Ut.newProps,gn=Ut.newChildProps,zn=Ut.nestedChildren;switch(it.type){case Y.TITLE:return D({},Br,((Sr={})[it.type]=zn,Sr.titleAttributes=D({},gn),Sr));case Y.BODY:return D({},Br,{bodyAttributes:D({},gn)});case Y.HTML:return D({},Br,{htmlAttributes:D({},gn)});default:return D({},Br,((yr={})[it.type]=D({},gn),yr))}},vt.mapArrayTypeChildrenToProps=function(Ut,Sr){var yr=D({},Sr);return Object.keys(Ut).forEach(function(it){var Br;yr=D({},yr,((Br={})[it]=Ut[it],Br))}),yr},vt.warnOnInvalidChildren=function(Ut,Sr){return k()(ie.some(function(yr){return Ut.type===yr}),typeof Ut.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ie.join(", ")+" are allowed. Helmet does not support rendering <"+Ut.type+"> elements. Refer to our API for more information."),k()(!Sr||typeof Sr=="string"||Array.isArray(Sr)&&!Sr.some(function(yr){return typeof yr!="string"}),"Helmet expects a string as a child of <"+Ut.type+">. Did you forget to wrap your children in braces? ( <"+Ut.type+">{``}</"+Ut.type+"> ) Refer to our API for more information."),!0},vt.mapChildrenToProps=function(Ut,Sr){var yr=this,it={};return x.Children.forEach(Ut,function(Br){if(Br&&Br.props){var gn=Br.props,zn=gn.children,gr=j(gn,ge),tn=Object.keys(gr).reduce(function(Fn,Tn){return Fn[q[Tn]||Tn]=gr[Tn],Fn},{}),pn=Br.type;switch(typeof pn=="symbol"?pn=pn.toString():yr.warnOnInvalidChildren(Br,zn),pn){case Y.FRAGMENT:Sr=yr.mapChildrenToProps(zn,Sr);break;case Y.LINK:case Y.META:case Y.NOSCRIPT:case Y.SCRIPT:case Y.STYLE:it=yr.flattenArrayTypeChildren({child:Br,arrayTypeChildren:it,newChildProps:tn,nestedChildren:zn});break;default:Sr=yr.mapObjectTypeChildren({child:Br,newProps:Sr,newChildProps:tn,nestedChildren:zn})}}}),this.mapArrayTypeChildrenToProps(it,Sr)},vt.render=function(){var Ut=this.props,Sr=Ut.children,yr=j(Ut,Se),it=D({},yr),Br=yr.helmetData;return Sr&&(it=this.mapChildrenToProps(Sr,it)),!Br||Br instanceof er||(Br=new er(Br.context,Br.instances)),Br?x.createElement(je,D({},it,{context:Br.value,helmetData:void 0})):x.createElement(tr.Consumer,null,function(gn){return x.createElement(je,D({},it,{context:gn}))})},mt}(x.Component);Me.propTypes={base:y().object,bodyAttributes:y().object,children:y().oneOfType([y().arrayOf(y().node),y().node]),defaultTitle:y().string,defer:y().bool,encodeSpecialCharacters:y().bool,htmlAttributes:y().object,link:y().arrayOf(y().object),meta:y().arrayOf(y().object),noscript:y().arrayOf(y().object),onChangeClientState:y().func,script:y().arrayOf(y().object),style:y().arrayOf(y().object),title:y().string,titleAttributes:y().object,titleTemplate:y().string,prioritizeSeoTags:y().bool,helmetData:y().object},Me.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Me.displayName="Helmet";const $e={},He=Lt=>x.createElement(Zt,{context:$e},Lt);var nt=e(92736),ct=e(25690),Vt=e(93083),Ht=e(61337),Pe=e(28440),qe=e.n(Pe),Yt=Object.defineProperty,Rt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,At=(Lt,mt,vt)=>mt in Lt?Yt(Lt,mt,{enumerable:!0,configurable:!0,writable:!0,value:vt}):Lt[mt]=vt,Xt=(Lt,mt)=>{for(var vt in mt||(mt={}))Wt.call(mt,vt)&&At(Lt,vt,mt[vt]);if(Rt)for(var vt of Rt(mt))$t.call(mt,vt)&&At(Lt,vt,mt[vt]);return Lt},We=(Lt,mt)=>{var vt={};for(var Ut in Lt)Wt.call(Lt,Ut)&&mt.indexOf(Ut)<0&&(vt[Ut]=Lt[Ut]);if(Lt!=null&&Rt)for(var Ut of Rt(Lt))mt.indexOf(Ut)<0&&$t.call(Lt,Ut)&&(vt[Ut]=Lt[Ut]);return vt};let fe=null;const pe=()=>(fe||(fe=lr().applyPlugins({key:"antd",type:ct.ApplyPluginsType.modify,initialValue:Xt({},{componentSize:"middle"})})),fe);function Ot({children:Lt}){let mt=Lt;const[vt,Ut]=x.useState(()=>{const yr=pe(),{appConfig:it}=yr;return We(yr,["appConfig"])}),Sr=yr=>{Ut(it=>qe()({},it,typeof yr=="function"?yr(it):yr))};return vt.prefixCls&&nt.ZP.config({prefixCls:vt.prefixCls}),vt.iconPrefixCls&&nt.ZP.config({iconPrefixCls:vt.iconPrefixCls}),vt.theme&&nt.ZP.config({theme:vt.theme}),mt=x.createElement(nt.ZP,Xt({},vt),mt),mt=x.createElement(Vt.StyleProvider,{hashPriority:"high"},mt),mt=x.createElement(Ht.C.Provider,{value:Sr},x.createElement(Ht.S.Provider,{value:vt},mt)),mt}function Te(Lt){return x.createElement(Ot,null,Lt)}var dt=e(64839);function Gt(Lt,mt){return x.createElement(dt.j,mt,Lt)}var St=e(65517),Oe=e(18956),wt=e(81863),be=Object.defineProperty,Ke=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,Fe=(Lt,mt,vt)=>mt in Lt?be(Lt,mt,{enumerable:!0,configurable:!0,writable:!0,value:vt}):Lt[mt]=vt,Dr=(Lt,mt)=>{for(var vt in mt||(mt={}))gt.call(mt,vt)&&Fe(Lt,vt,mt[vt]);if(Ke)for(var vt of Ke(mt))Ft.call(mt,vt)&&Fe(Lt,vt,mt[vt]);return Lt};function Ct(){var Lt,mt;const vt=getLocale();(Lt=moment)!=null&&Lt.locale&&moment.locale(((mt=localeInfo[vt])==null?void 0:mt.momentLocale)||"zh-cn"),setIntl(vt)}const Gr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,Qr=Lt=>{var mt;const vt=(0,Oe.Kd)(),[Ut,Sr]=x.useState(vt),[yr,it]=x.useState(()=>(0,Oe.lw)(Ut,!0)),Br=gr=>{var tn,pn;(tn=u())!=null&&tn.locale&&u().locale(((pn=Oe.H8[gr])==null?void 0:pn.momentLocale)||"en"),Sr(gr),it((0,Oe.lw)(gr))};Gr(()=>(Oe.B.on(Oe.PZ,Br),()=>{Oe.B.off(Oe.PZ,Br)}),[]);const gn=Dr({},wt.Z),zn=(0,Oe.Mg)();return x.createElement(nt.ZP,{direction:zn,locale:((mt=Oe.H8[Ut])==null?void 0:mt.antd)||gn},x.createElement(Oe.eU,{value:yr},Lt.children))};function Cr(Lt){return x.createElement(Qr,null,Lt)}function Fr(Lt){return Lt.default?typeof Lt.default=="function"?Lt.default():Lt.default:Lt}function mr(){return[{apply:Fr(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 jr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let sn=null;function cn(){return sn=ct.PluginManager.create({plugins:mr(),validKeys:jr()}),sn}function lr(){return sn}},25690:function(d,v,e){"use strict";e.d(v,{ApplyPluginsType:function(){return Pt},Link:function(){return J},Outlet:function(){return K.j3},PluginManager:function(){return Zt},connect:function(){return f.$j},getDvaApp:function(){return o.Q},history:function(){return ot.m8},useAppData:function(){return G.Ov},useDispatch:function(){return f.I0},useLocation:function(){return K.TH},useOutletContext:function(){return K.bx},useParams:function(){return K.UO},useSearchParams:function(){return V.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(61337);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(2339),o=e(64839),h=e(18956),u=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,b=(He,nt,ct)=>nt in He?u(He,nt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):He[nt]=ct,S=(He,nt)=>{for(var ct in nt||(nt={}))y.call(nt,ct)&&b(He,ct,nt[ct]);if(p)for(var ct of p(nt))_.call(nt,ct)&&b(He,ct,nt[ct]);return He},k=(He,nt)=>a(He,x(nt)),R=(He,nt)=>{var ct={};for(var Vt in He)y.call(He,Vt)&&nt.indexOf(Vt)<0&&(ct[Vt]=He[Vt]);if(He!=null&&p)for(var Vt of p(He))nt.indexOf(Vt)<0&&_.call(He,Vt)&&(ct[Vt]=He[Vt]);return ct};const A=He=>{var nt=He,{overlayClassName:ct}=nt,Vt=R(nt,["overlayClassName"]);return React.createElement(Dropdown,S({overlayClassName:ct},Vt))},D=He=>He.reduce((nt,ct)=>ct.lang?k(S({},nt),{[ct.lang]:ct}):nt,{}),M={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},B=He=>React.createElement(React.Fragment,null);var j=e(38329),Y=e(38127),V=e(32451),G=e(91231),ae=e(87296);function ie(He,nt){var ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var Ht=r.useRef(typeof IntersectionObserver=="function"),Pe=r.useRef(null);return r.useEffect(function(){if(!(!He.current||!Ht.current||Vt.disabled))return Pe.current=new IntersectionObserver(function(qe){var Yt=(0,ae.Z)(qe,1),Rt=Yt[0];nt(Rt)},ct),Pe.current.observe(He.current),function(){var qe;(qe=Pe.current)===null||qe===void 0||qe.disconnect()}},[nt,ct,Vt.disabled,He]),Pe.current}var ue=["prefetch"];function q(He){var nt=r.useRef(null);return r.useEffect(function(){He&&(typeof He=="function"?He(nt.current):He.current=nt.current)}),nt}var J=r.forwardRef(function(He,nt){var ct,Vt=He.prefetch,Ht=(0,Y.Z)(He,ue),Pe=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},qe=Pe.defaultPrefetch,Yt=Pe.defaultPrefetchTimeout,Rt=(Vt===!0?"intent":Vt===!1?"none":Vt)||qe;if(!["intent","render","viewport","none"].includes(Rt))throw new Error("Invalid prefetch value ".concat(Rt," found in Link component"));var Wt=(0,G.Ov)(),$t=typeof He.to=="string"?He.to:(ct=He.to)===null||ct===void 0?void 0:ct.pathname,At=r.useRef(!1),Xt=q(nt),We=function(Ot){if(Rt==="intent"){var Te=Ot.target||{};Te.preloadTimeout||(Te.preloadTimeout=setTimeout(function(){var dt;Te.preloadTimeout=null,(dt=Wt.preloadRoute)===null||dt===void 0||dt.call(Wt,$t)},He.prefetchTimeout||Yt))}},fe=function(Ot){if(Rt==="intent"){var Te=Ot.target||{};Te.preloadTimeout&&(clearTimeout(Te.preloadTimeout),Te.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(Rt==="render"&&!At.current){var pe;(pe=Wt.preloadRoute)===null||pe===void 0||pe.call(Wt,$t),At.current=!0}},[Rt,$t]),ie(Xt,function(pe){if(pe!=null&&pe.isIntersecting){var Ot;(Ot=Wt.preloadRoute)===null||Ot===void 0||Ot.call(Wt,$t)}},{rootMargin:"100px"},{disabled:Rt!=="viewport"}),$t?r.createElement(V.rU,(0,j.Z)({onMouseEnter:We,onMouseLeave:fe,ref:Xt},Ht),He.children):null}),K=e(35338),oe=e(8616);function ee(){"use strict";ee=function(){return nt};var He,nt={},ct=Object.prototype,Vt=ct.hasOwnProperty,Ht=Object.defineProperty||function(Cr,Fr,mr){Cr[Fr]=mr.value},Pe=typeof Symbol=="function"?Symbol:{},qe=Pe.iterator||"@@iterator",Yt=Pe.asyncIterator||"@@asyncIterator",Rt=Pe.toStringTag||"@@toStringTag";function Wt(Cr,Fr,mr){return Object.defineProperty(Cr,Fr,{value:mr,enumerable:!0,configurable:!0,writable:!0}),Cr[Fr]}try{Wt({},"")}catch(Cr){Wt=function(mr,jr,sn){return mr[jr]=sn}}function $t(Cr,Fr,mr,jr){var sn=Fr&&Fr.prototype instanceof Te?Fr:Te,cn=Object.create(sn.prototype),lr=new Gr(jr||[]);return Ht(cn,"_invoke",{value:Ft(Cr,mr,lr)}),cn}function At(Cr,Fr,mr){try{return{type:"normal",arg:Cr.call(Fr,mr)}}catch(jr){return{type:"throw",arg:jr}}}nt.wrap=$t;var Xt="suspendedStart",We="suspendedYield",fe="executing",pe="completed",Ot={};function Te(){}function dt(){}function Gt(){}var St={};Wt(St,qe,function(){return this});var Oe=Object.getPrototypeOf,wt=Oe&&Oe(Oe(Qr([])));wt&&wt!==ct&&Vt.call(wt,qe)&&(St=wt);var be=Gt.prototype=Te.prototype=Object.create(St);function Ke(Cr){["next","throw","return"].forEach(function(Fr){Wt(Cr,Fr,function(mr){return this._invoke(Fr,mr)})})}function gt(Cr,Fr){function mr(sn,cn,lr,Lt){var mt=At(Cr[sn],Cr,cn);if(mt.type!=="throw"){var vt=mt.arg,Ut=vt.value;return Ut&&(0,oe.Z)(Ut)=="object"&&Vt.call(Ut,"__await")?Fr.resolve(Ut.__await).then(function(Sr){mr("next",Sr,lr,Lt)},function(Sr){mr("throw",Sr,lr,Lt)}):Fr.resolve(Ut).then(function(Sr){vt.value=Sr,lr(vt)},function(Sr){return mr("throw",Sr,lr,Lt)})}Lt(mt.arg)}var jr;Ht(this,"_invoke",{value:function(cn,lr){function Lt(){return new Fr(function(mt,vt){mr(cn,lr,mt,vt)})}return jr=jr?jr.then(Lt,Lt):Lt()}})}function Ft(Cr,Fr,mr){var jr=Xt;return function(sn,cn){if(jr===fe)throw new Error("Generator is already running");if(jr===pe){if(sn==="throw")throw cn;return{value:He,done:!0}}for(mr.method=sn,mr.arg=cn;;){var lr=mr.delegate;if(lr){var Lt=Fe(lr,mr);if(Lt){if(Lt===Ot)continue;return Lt}}if(mr.method==="next")mr.sent=mr._sent=mr.arg;else if(mr.method==="throw"){if(jr===Xt)throw jr=pe,mr.arg;mr.dispatchException(mr.arg)}else mr.method==="return"&&mr.abrupt("return",mr.arg);jr=fe;var mt=At(Cr,Fr,mr);if(mt.type==="normal"){if(jr=mr.done?pe:We,mt.arg===Ot)continue;return{value:mt.arg,done:mr.done}}mt.type==="throw"&&(jr=pe,mr.method="throw",mr.arg=mt.arg)}}}function Fe(Cr,Fr){var mr=Fr.method,jr=Cr.iterator[mr];if(jr===He)return Fr.delegate=null,mr==="throw"&&Cr.iterator.return&&(Fr.method="return",Fr.arg=He,Fe(Cr,Fr),Fr.method==="throw")||mr!=="return"&&(Fr.method="throw",Fr.arg=new TypeError("The iterator does not provide a '"+mr+"' method")),Ot;var sn=At(jr,Cr.iterator,Fr.arg);if(sn.type==="throw")return Fr.method="throw",Fr.arg=sn.arg,Fr.delegate=null,Ot;var cn=sn.arg;return cn?cn.done?(Fr[Cr.resultName]=cn.value,Fr.next=Cr.nextLoc,Fr.method!=="return"&&(Fr.method="next",Fr.arg=He),Fr.delegate=null,Ot):cn:(Fr.method="throw",Fr.arg=new TypeError("iterator result is not an object"),Fr.delegate=null,Ot)}function Dr(Cr){var Fr={tryLoc:Cr[0]};1 in Cr&&(Fr.catchLoc=Cr[1]),2 in Cr&&(Fr.finallyLoc=Cr[2],Fr.afterLoc=Cr[3]),this.tryEntries.push(Fr)}function Ct(Cr){var Fr=Cr.completion||{};Fr.type="normal",delete Fr.arg,Cr.completion=Fr}function Gr(Cr){this.tryEntries=[{tryLoc:"root"}],Cr.forEach(Dr,this),this.reset(!0)}function Qr(Cr){if(Cr||Cr===""){var Fr=Cr[qe];if(Fr)return Fr.call(Cr);if(typeof Cr.next=="function")return Cr;if(!isNaN(Cr.length)){var mr=-1,jr=function sn(){for(;++mr<Cr.length;)if(Vt.call(Cr,mr))return sn.value=Cr[mr],sn.done=!1,sn;return sn.value=He,sn.done=!0,sn};return jr.next=jr}}throw new TypeError((0,oe.Z)(Cr)+" is not iterable")}return dt.prototype=Gt,Ht(be,"constructor",{value:Gt,configurable:!0}),Ht(Gt,"constructor",{value:dt,configurable:!0}),dt.displayName=Wt(Gt,Rt,"GeneratorFunction"),nt.isGeneratorFunction=function(Cr){var Fr=typeof Cr=="function"&&Cr.constructor;return!!Fr&&(Fr===dt||(Fr.displayName||Fr.name)==="GeneratorFunction")},nt.mark=function(Cr){return Object.setPrototypeOf?Object.setPrototypeOf(Cr,Gt):(Cr.__proto__=Gt,Wt(Cr,Rt,"GeneratorFunction")),Cr.prototype=Object.create(be),Cr},nt.awrap=function(Cr){return{__await:Cr}},Ke(gt.prototype),Wt(gt.prototype,Yt,function(){return this}),nt.AsyncIterator=gt,nt.async=function(Cr,Fr,mr,jr,sn){sn===void 0&&(sn=Promise);var cn=new gt($t(Cr,Fr,mr,jr),sn);return nt.isGeneratorFunction(Fr)?cn:cn.next().then(function(lr){return lr.done?lr.value:cn.next()})},Ke(be),Wt(be,Rt,"Generator"),Wt(be,qe,function(){return this}),Wt(be,"toString",function(){return"[object Generator]"}),nt.keys=function(Cr){var Fr=Object(Cr),mr=[];for(var jr in Fr)mr.push(jr);return mr.reverse(),function sn(){for(;mr.length;){var cn=mr.pop();if(cn in Fr)return sn.value=cn,sn.done=!1,sn}return sn.done=!0,sn}},nt.values=Qr,Gr.prototype={constructor:Gr,reset:function(Fr){if(this.prev=0,this.next=0,this.sent=this._sent=He,this.done=!1,this.delegate=null,this.method="next",this.arg=He,this.tryEntries.forEach(Ct),!Fr)for(var mr in this)mr.charAt(0)==="t"&&Vt.call(this,mr)&&!isNaN(+mr.slice(1))&&(this[mr]=He)},stop:function(){this.done=!0;var Fr=this.tryEntries[0].completion;if(Fr.type==="throw")throw Fr.arg;return this.rval},dispatchException:function(Fr){if(this.done)throw Fr;var mr=this;function jr(vt,Ut){return lr.type="throw",lr.arg=Fr,mr.next=vt,Ut&&(mr.method="next",mr.arg=He),!!Ut}for(var sn=this.tryEntries.length-1;sn>=0;--sn){var cn=this.tryEntries[sn],lr=cn.completion;if(cn.tryLoc==="root")return jr("end");if(cn.tryLoc<=this.prev){var Lt=Vt.call(cn,"catchLoc"),mt=Vt.call(cn,"finallyLoc");if(Lt&&mt){if(this.prev<cn.catchLoc)return jr(cn.catchLoc,!0);if(this.prev<cn.finallyLoc)return jr(cn.finallyLoc)}else if(Lt){if(this.prev<cn.catchLoc)return jr(cn.catchLoc,!0)}else{if(!mt)throw new Error("try statement without catch or finally");if(this.prev<cn.finallyLoc)return jr(cn.finallyLoc)}}}},abrupt:function(Fr,mr){for(var jr=this.tryEntries.length-1;jr>=0;--jr){var sn=this.tryEntries[jr];if(sn.tryLoc<=this.prev&&Vt.call(sn,"finallyLoc")&&this.prev<sn.finallyLoc){var cn=sn;break}}cn&&(Fr==="break"||Fr==="continue")&&cn.tryLoc<=mr&&mr<=cn.finallyLoc&&(cn=null);var lr=cn?cn.completion:{};return lr.type=Fr,lr.arg=mr,cn?(this.method="next",this.next=cn.finallyLoc,Ot):this.complete(lr)},complete:function(Fr,mr){if(Fr.type==="throw")throw Fr.arg;return Fr.type==="break"||Fr.type==="continue"?this.next=Fr.arg:Fr.type==="return"?(this.rval=this.arg=Fr.arg,this.method="return",this.next="end"):Fr.type==="normal"&&mr&&(this.next=mr),Ot},finish:function(Fr){for(var mr=this.tryEntries.length-1;mr>=0;--mr){var jr=this.tryEntries[mr];if(jr.finallyLoc===Fr)return this.complete(jr.completion,jr.afterLoc),Ct(jr),Ot}},catch:function(Fr){for(var mr=this.tryEntries.length-1;mr>=0;--mr){var jr=this.tryEntries[mr];if(jr.tryLoc===Fr){var sn=jr.completion;if(sn.type==="throw"){var cn=sn.arg;Ct(jr)}return cn}}throw new Error("illegal catch attempt")},delegateYield:function(Fr,mr,jr){return this.delegate={iterator:Qr(Fr),resultName:mr,nextLoc:jr},this.method==="next"&&(this.arg=He),Ot}},nt}var Q=e(63579);function le(He,nt,ct,Vt,Ht,Pe,qe){try{var Yt=He[Pe](qe),Rt=Yt.value}catch(Wt){ct(Wt);return}Yt.done?nt(Rt):Promise.resolve(Rt).then(Vt,Ht)}function Z(He){return function(){var nt=this,ct=arguments;return new Promise(function(Vt,Ht){var Pe=He.apply(nt,ct);function qe(Rt){le(Pe,Vt,Ht,qe,Yt,"next",Rt)}function Yt(Rt){le(Pe,Vt,Ht,qe,Yt,"throw",Rt)}qe(void 0)})}}var $=e(99227);function se(He,nt){var ct=typeof Symbol!="undefined"&&He[Symbol.iterator]||He["@@iterator"];if(!ct){if(Array.isArray(He)||(ct=(0,$.Z)(He))||nt&&He&&typeof He.length=="number"){ct&&(He=ct);var Vt=0,Ht=function(){};return{s:Ht,n:function(){return Vt>=He.length?{done:!0}:{done:!1,value:He[Vt++]}},e:function(Wt){throw Wt},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 Pe=!0,qe=!1,Yt;return{s:function(){ct=ct.call(He)},n:function(){var Wt=ct.next();return Pe=Wt.done,Wt},e:function(Wt){qe=!0,Yt=Wt},f:function(){try{!Pe&&ct.return!=null&&ct.return()}finally{if(qe)throw Yt}}}}var _e=e(73825);function De(He){if(typeof Symbol!="undefined"&&He[Symbol.iterator]!=null||He["@@iterator"]!=null)return Array.from(He)}var ke=e(66160);function Ze(He){return(0,_e.Z)(He)||De(He)||(0,$.Z)(He)||(0,ke.Z)()}function Ne(He,nt){if(!(He instanceof nt))throw new TypeError("Cannot call a class as a function")}var Bt=e(89878);function yt(He,nt){for(var ct=0;ct<nt.length;ct++){var Vt=nt[ct];Vt.enumerable=Vt.enumerable||!1,Vt.configurable=!0,"value"in Vt&&(Vt.writable=!0),Object.defineProperty(He,(0,Bt.Z)(Vt.key),Vt)}}function Dt(He,nt,ct){return nt&&yt(He.prototype,nt),ct&&yt(He,ct),Object.defineProperty(He,"prototype",{writable:!1}),He}var Jt=e(65873);function er(He,nt){if(!He)throw new Error(nt)}function tr(He){var nt=He.fns,ct=He.args;if(nt.length===1)return nt[0];var Vt=nt.pop();return nt.reduce(function(Ht,Pe){return function(){return Pe(Ht,ct)}},Vt)}function Xe(He){return!!He&&(0,oe.Z)(He)==="object"&&typeof He.then=="function"}var Pt=function(He){return He.compose="compose",He.modify="modify",He.event="event",He}({}),Zt=function(){function He(nt){Ne(this,He),(0,Jt.Z)(this,"opts",void 0),(0,Jt.Z)(this,"hooks",{}),this.opts=nt}return Dt(He,[{key:"register",value:function(ct){var Vt=this;er(ct.apply,"plugin register failed, apply must supplied"),Object.keys(ct.apply).forEach(function(Ht){er(Vt.opts.validKeys.indexOf(Ht)>-1,"register failed, invalid key ".concat(Ht," ").concat(ct.path?"from plugin ".concat(ct.path):"",".")),Vt.hooks[Ht]=(Vt.hooks[Ht]||[]).concat(ct.apply[Ht])})}},{key:"getHooks",value:function(ct){var Vt=ct.split("."),Ht=Ze(Vt),Pe=Ht[0],qe=Ht.slice(1),Yt=this.hooks[Pe]||[];return qe.length&&(Yt=Yt.map(function(Rt){try{var Wt=Rt,$t=se(qe),At;try{for($t.s();!(At=$t.n()).done;){var Xt=At.value;Wt=Wt[Xt]}}catch(We){$t.e(We)}finally{$t.f()}return Wt}catch(We){return null}}).filter(Boolean)),Yt}},{key:"applyPlugins",value:function(ct){var Vt=ct.key,Ht=ct.type,Pe=ct.initialValue,qe=ct.args,Yt=ct.async,Rt=this.getHooks(Vt)||[];switch(qe&&er((0,oe.Z)(qe)==="object","applyPlugins failed, args must be plain object."),Yt&&er(Ht===Pt.modify||Ht===Pt.event,"async only works with modify and event type."),Ht){case Pt.modify:return Yt?Rt.reduce(function(){var Wt=Z(ee().mark(function $t(At,Xt){var We;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(er(typeof Xt=="function"||(0,oe.Z)(Xt)==="object"||Xe(Xt),"applyPlugins failed, all hooks for key ".concat(Vt," must be function, plain object or Promise.")),!Xe(At)){pe.next=5;break}return pe.next=4,At;case 4:At=pe.sent;case 5:if(typeof Xt!="function"){pe.next=16;break}if(We=Xt(At,qe),!Xe(We)){pe.next=13;break}return pe.next=10,We;case 10:return pe.abrupt("return",pe.sent);case 13:return pe.abrupt("return",We);case 14:pe.next=21;break;case 16:if(!Xe(Xt)){pe.next=20;break}return pe.next=19,Xt;case 19:Xt=pe.sent;case 20:return pe.abrupt("return",(0,Q.Z)((0,Q.Z)({},At),Xt));case 21:case"end":return pe.stop()}},$t)}));return function($t,At){return Wt.apply(this,arguments)}}(),Xe(Pe)?Pe:Promise.resolve(Pe)):Rt.reduce(function(Wt,$t){return er(typeof $t=="function"||(0,oe.Z)($t)==="object","applyPlugins failed, all hooks for key ".concat(Vt," must be function or plain object.")),typeof $t=="function"?$t(Wt,qe):(0,Q.Z)((0,Q.Z)({},Wt),$t)},Pe);case Pt.event:return Z(ee().mark(function Wt(){var $t,At,Xt,We;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:$t=se(Rt),pe.prev=1,$t.s();case 3:if((At=$t.n()).done){pe.next=12;break}if(Xt=At.value,er(typeof Xt=="function","applyPlugins failed, all hooks for key ".concat(Vt," must be function.")),We=Xt(qe),!(Yt&&Xe(We))){pe.next=10;break}return pe.next=10,We;case 10:pe.next=3;break;case 12:pe.next=17;break;case 14:pe.prev=14,pe.t0=pe.catch(1),$t.e(pe.t0);case 17:return pe.prev=17,$t.f(),pe.finish(17);case 20:case"end":return pe.stop()}},Wt,null,[[1,14,17,20]])}))();case Pt.compose:return function(){return tr({fns:Rt.concat(Pe),args:qe})()}}}}],[{key:"create",value:function(ct){var Vt=new He({validKeys:ct.validKeys});return ct.plugins.forEach(function(Ht){Vt.register(Ht)}),Vt}}]),He}(),ot=e(58293);let xt=0,ht=0;function et(He,nt){}function je(He){return JSON.stringify(He,null,2)}function ge(He){const nt=He.length>1?He.map(Se).join(" "):He[0];return typeof nt=="object"?`${je(nt)}`:nt.toString()}function Se(He){return typeof He=="object"?`${JSON.stringify(He)}`:He.toString()}const Me={log(...He){ge(He)},info(...He){ge(He)},warn(...He){ge(He)},error(...He){ge(He)},group(){ht++},groupCollapsed(){ht++},groupEnd(){ht&&--ht},clear(){},trace(...He){console.trace(...He)},profile(...He){console.profile(...He)},profileEnd(...He){console.profileEnd(...He)}},$e=()=>{}},61337:function(d,v,e){"use strict";e.d(v,{C:function(){return l},S:function(){return i}});var r=e(59301);const i=r.createContext(null),l=r.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},64839:function(d,v,e){"use strict";e.d(v,{j:function(){return mc},Q:function(){return Dc}});var r=e(2339),i=e(89880),l=e.n(i),c=e(59301),f=e(25690),o=e(98750),h=Object.defineProperty,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(I,O,L)=>O in I?h(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,y=(I,O)=>{for(var L in O||(O={}))a.call(O,L)&&p(I,L,O[L]);if(u)for(var L of u(O))x.call(O,L)&&p(I,L,O[L]);return I},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:I},{call:O,put:L}){return yield O(o.n1,I)},*appplySchool({payload:I},{call:O,put:L}){return yield O(o.bz,I)},*getSchoolOption({payload:I},{call:O,put:L}){return yield O(o.GY,I)},*getDepartmentOption({payload:I},{call:O,put:L}){return yield O(o.Ql,I)},*appplyDepartment({payload:I},{call:O,put:L}){return yield O(o.Zm,I)},*updateAccount({payload:I},{call:O,put:L}){return yield O(o.sG,I)},*cancelRealNameAuth({payload:I},{call:O,put:L}){return yield O(o.P,I)},*cancelProfessionalAuth({payload:I},{call:O,put:L}){return yield O(o.$f,I)},*applyProfessionalAuth({payload:I},{call:O,put:L}){return yield O(o.Ow,I)},*applyRealNameAuth({payload:I},{call:O,put:L}){return yield O(o.ht,I)},*getCode({payload:I},{call:O,put:L}){return yield O(o.Cq,I)},*bindPhone({payload:I},{call:O,put:L}){return yield O(o.eF,I)},*bindEmail({payload:I},{call:O,put:L}){return yield O(o.I8,I)},*updatePassword({payload:I},{call:O,put:L}){return yield O(o.gQ,I)},*unbindAccount({payload:I},{call:O,put:L}){return yield O(o.wi,I)},*getBasicInfo({payload:I},{call:O,put:L}){const me=yield O(o.o9,I);return yield L({type:"save",payload:{basicInfo:y({},me)}}),me},*setActionTabs({payload:I},{call:O,put:L}){yield L({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:L})=>{L==="/"&&I({type:"query"})})}}},S=e(97402),k=Object.defineProperty,R=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,M=(I,O,L)=>O in I?k(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,B=(I,O)=>{for(var L in O||(O={}))A.call(O,L)&&M(I,L,O[L]);if(R)for(var L of R(O))D.call(O,L)&&M(I,L,O[L]);return I},Y={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:L,put:me}){return yield L(S.nZ,I)},*informUp({payload:I,callback:O},{call:L,put:me}){return yield L(S.TO,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:B({},I)}})}},reducers:{save(I,O){return B(B({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},V=e(44203),G=Object.defineProperty,ae=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,q=(I,O,L)=>O in I?G(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,J=(I,O)=>{for(var L in O||(O={}))ie.call(O,L)&&q(I,L,O[L]);if(ae)for(var L of ae(O))ue.call(O,L)&&q(I,L,O[L]);return I},oe={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:I,callback:O},{call:L,put:me}){const Re=yield L(V.SV,I);return yield me({type:"save",payload:{allList:J({},Re)}}),Re},*mineAttachment({payload:I,callback:O},{call:L,put:me}){const Re=yield L(V.zI,I);return yield me({type:"save",payload:{mineList:J({},Re)}}),Re},*fileImport({payload:I,callback:O},{call:L,put:me}){return yield L(V.tO,I)},*getDetail({payload:I,callback:O},{call:L,put:me}){const Re=yield L(V.Nm,I);return yield me({type:"save",payload:{detail:J({},Re)}}),Re},*updateVisits({payload:I,callback:O},{call:L,put:me}){return yield L(V.H,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:J({},I)}})}},reducers:{save(I,O){return J(J({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},ee=e(32967),Q=Object.defineProperty,le=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,se=(I,O,L)=>O in I?Q(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,_e=(I,O)=>{for(var L in O||(O={}))Z.call(O,L)&&se(I,L,O[L]);if(le)for(var L of le(O))$.call(O,L)&&se(I,L,O[L]);return I},ke={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(ee.yq,I);return yield me({type:"save",payload:{boardsCategoryList:_e({},Re.data)}}),Re.data},*getBoardsDetail({payload:I,callback:O},{call:L,put:me}){const Re=yield L(ee.dI,I);return yield me({type:"save",payload:{boardsDetail:_e({},Re.data)}}),Re.data},*setTopping({payload:I,callback:O},{call:L,put:me}){return yield L(ee.cc,I)},*escTopping({payload:I,callback:O},{call:L,put:me}){return yield L(ee.CJ,I)},*getReplyList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(ee.PC,I);yield me({type:"save",payload:{replyList:_e({},Re.data)}})},*createReply({payload:I,callback:O},{call:L,put:me}){return yield L(ee.PP,I)},*replyLike({payload:I,callback:O},{call:L,put:me}){return yield L(ee.NA,I)},*replyUnLike({payload:I,callback:O},{call:L,put:me}){return yield L(ee.YQ,I)},*deleteReply({payload:I,callback:O},{call:L,put:me}){return yield L(ee.Mf,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:_e({},I)}})}},reducers:{save(I,O){return _e(_e({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Ze=e(81722),Ne=Object.defineProperty,Bt=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,Jt=(I,O,L)=>O in I?Ne(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,er=(I,O)=>{for(var L in O||(O={}))yt.call(O,L)&&Jt(I,L,O[L]);if(Bt)for(var L of Bt(O))Dt.call(O,L)&&Jt(I,L,O[L]);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:L,put:me}){const Re=yield L(Ze.$Q,I);return yield me({type:"save",payload:{ScoreRangesData:Re==null?void 0:Re.data}}),Re},*getQuestionResult({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze._U,I);return yield me({type:"save",payload:{NormalResult:Re}}),Re},*getUserExercise({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.xA,I);return yield me({type:"save",payload:{userExerciseList:er({},(Re==null?void 0:Re.data)||{})}}),console.log("getUserExercise-res:",Re),Re==null?void 0:Re.data},*getExerciseIdentityPhotos({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.J,I);return yield me({type:"save",payload:{exerciseIdentityPhotos:er({},(Re==null?void 0:Re.data)||{})}}),Re==null?void 0:Re.data},*getExerciseExportHeadData({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.iw,I);return yield me({type:"save",payload:{exerciseExportHeadData:er({},Re)}}),Re},*getExerciseUserInfo({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.Ty,I);return(Re==null?void 0:Re.status)===0&&(yield me({type:"save",payload:er({},{exerciseUserInfo:er({},Re.data)})})),Re},*getExaminationIntelligentSettings({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.sA,I);return yield me({type:"save",payload:{examinationIntelligentSettings:er({},Re)}}),Re},*getRandomEditExercises({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.yu,I);return yield me({type:"save",payload:{editRandomExercises:er({},Re)}}),Re},*getExerciseList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.G$,I);if(Re!=null&&Re.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(Re.total_exercise_users)}catch(qr){}return yield me({type:"save",payload:{exerciseList:er({},Re)}}),yield me({type:"save",payload:{order_type:I.order_type,order:I.order}}),Re},*getExerciseStatistics({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze._u,I);return yield me({type:"save",payload:{statisticsList:er({},Re)}}),Re},*getBrankList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.n$,I);return yield me({type:"save",payload:{brankList:er({},Re)}}),Re},*saveBanks({payload:I,callback:O},{call:L,put:me}){return yield L(Ze.lf,I)},*getExerciseCourses({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.N3,I);return yield me({type:"save",payload:{exerciseCoursesList:er({},Re)}}),Re},*addExercise({payload:I,callback:O},{call:L,put:me}){return yield L(Ze.uR,I)},*editExercise({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.qf,I);return yield me({type:"save",payload:{editData:er({},Re)}}),Re},*getTagDiscipline({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.YY,I);return yield me({type:"save",payload:{tagDisciplineData:er({},Re)}}),Re},*editExerciseQuestion({payload:I,callback:O},{call:L,put:me}){return yield L(Ze.Di,I)},*addExerciseQuestion({payload:I,callback:O},{call:L,put:me}){return yield L(Ze.MK,I)},*exeriseMoveUpDown({payload:I,callback:O},{call:L,put:me}){return yield L(Ze.GK,I)},*getEndGroups({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.KE,I);return yield me({type:"save",payload:{endGroups:er({},Re)}}),Re},*getPublishGroups({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.ux,I);return yield me({type:"save",payload:{publishGroups:er({},Re)}}),Re},*getCommonHeader({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.UK,I);return yield me({type:"save",payload:{commonHeader:er({},Re)}}),Re},*getReviewExercise({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.BJ,I);return yield me({type:"save",payload:{reviewExercise:er({},Re)}}),Re},*postReviewExercise({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.pu,I);return yield me({type:"save",payload:{reviewExercise:er({},Re)}}),Re},*getCentralizeReviewExercise({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.X4,I);return yield me({type:"save",payload:{reviewExercise:er({},Re)}}),Re},*clearData({payload:I,callback:O},{call:L,put:me}){yield me({type:"save",payload:{[I.key]:{}}})},*getReviewGroupExercise({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.W4,I);return yield me({type:"save",payload:{reviewGroupExercise:er({},Re)}}),Re},*getWorkSetting({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.Ul,I);return yield me({type:"save",payload:{workSetting:er({},Re)}}),Re},*getRedoModal({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.tX,I);return yield me({type:"save",payload:{redoModal:er({},Re)}}),Re},*getRedoListModal({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.s,I);return yield me({type:"save",payload:{redoModal:er({},Re)}}),Re},*getCodeReviewDetail({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.Xn,I);return yield me({type:"save",payload:{codeReviewDetail:er({},Re)}}),Re},*changeScore({payload:I,callback:O},{call:L,put:me}){return yield L(Ze.gG,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:er({},I)}})},*setUpdateIndex({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:I==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:I},{call:O,put:L}){yield L({type:"save",payload:{saveExerciseDownUsers:I}})}},reducers:{save(I,O){return er(er({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Pt=e(24059),Zt=Object.defineProperty,ot=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,et=(I,O,L)=>O in I?Zt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,je=(I,O)=>{for(var L in O||(O={}))xt.call(O,L)&&et(I,L,O[L]);if(ot)for(var L of ot(O))ht.call(O,L)&&et(I,L,O[L]);return I},Se={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Pt.x_,I);return yield me({type:"save",payload:{detailList:je({},Re)}}),Re},*getTasksListDetail({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Pt.QA,I);return yield me({type:"save",payload:{detailTaskList:je({},Re)}}),Re},*getTopisDetail({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Pt.B6,I);return yield me({type:"save",payload:{detail:je({},Re)}}),Re},*getTasksDetail({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Pt.y3,I);return yield me({type:"save",payload:{tasksDetail:je({},Re)}}),Re},*refuseTopic({payload:I,callback:O},{call:L,put:me}){return yield L(Pt.mM,I)},*agreeTopic({payload:I,callback:O},{call:L,put:me}){return yield L(Pt.je,I)},*getReplyList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Pt.PC,I);yield me({type:"save",payload:{replyList:je({},Re)}})},*createReply({payload:I,callback:O},{call:L,put:me}){return yield L(Pt.PP,I)},*replyLike({payload:I,callback:O},{call:L,put:me}){return yield L(Pt.NA,I)},*replyUnLike({payload:I,callback:O},{call:L,put:me}){return yield L(Pt.YQ,I)},*deleteReply({payload:I,callback:O},{call:L,put:me}){return yield L(Pt.Mf,I)},*addTopicDefaultData({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Pt.y0,I);yield me({type:"save",payload:{addTopicData:je({},Re)}})},*editTopicDefaultData({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Pt.hL,I);return yield me({type:"save",payload:{editTopicData:je({},Re)}}),Re},*editTasksDefaultData({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Pt._n,I);return yield me({type:"save",payload:{editTasksData:je({},Re)}}),Re},*addTopic({payload:I,callback:O},{call:L,put:me}){return yield L(Pt.Gr,I)},*editTopic({payload:I,callback:O},{call:L,put:me}){return yield L(Pt.wA,I)},*addTasks({payload:I,callback:O},{call:L,put:me}){return yield L(Pt.Sv,I)},*editTasks({payload:I,callback:O},{call:L,put:me}){return yield L(Pt.RP,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:je({},I)}})}},reducers:{save(I,O){return je(je({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Me=e(89392),$e=e(1247),He=Object.defineProperty,nt=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,Ht=(I,O,L)=>O in I?He(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Pe=(I,O)=>{for(var L in O||(O={}))ct.call(O,L)&&Ht(I,L,O[L]);if(nt)for(var L of nt(O))Vt.call(O,L)&&Ht(I,L,O[L]);return I},Yt={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:L,put:me}){const Re=yield L($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(qr){}return yield me({type:"save",payload:{workList:Pe({},Re)}}),Re},*getShixunWorkHeadInfo({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.fK,I);try{}catch(qr){}return yield me({type:"save",payload:{headerInfo:Re==null?void 0:Re.data}}),Re},*getShixunWorkList({payload:I,callback:O},{call:L,put:me}){const Re=yield L($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(qr){}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:L,put:me}){const Re=yield L($e.RP,I);return yield me({type:"save",payload:{codeReview:Pe({},Re)}}),Re},*getCodeReviewDetail({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.Xn,I);return yield me({type:"save",payload:{codeReviewDetail:Pe({},Re)}}),Re},*getWorkDetail({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.to,I);return yield me({type:"save",payload:{workDetail:Pe({},Re)}}),Re},*updateWork({payload:I,callback:O},{call:L,put:me}){return yield L($e.H,I)},*getShixunWorkReport({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.sw,I);try{Re.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(qr){}return yield me({type:"save",payload:{shixunWorkReport:Pe({},Re)}}),Re},*getShixunWorkReports({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.cz,I);try{Re.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(qr){}return yield me({type:"save",payload:{shixunWorkReport:Pe({},Re)}}),Re},*getWorkSetting({payload:I,callback:O},{call:L,put:me}){var Re,qr;const Nn=yield L($e.Ul,I);(Re=Nn==null?void 0:Nn.group_settings)==null||Re.map(Oi=>{Oi.value=Oi.group_name,Oi.id=Oi.group_id,Oi.group_id=[Oi.group_id]}),(qr=Nn==null?void 0:Nn.allow_late_settings)==null||qr.map(Oi=>{Oi.value=Oi.group_name,Oi.id=Oi.group_id,Oi.group_id=[Oi.group_id]});const dn={shixun_evaluation:Nn.shixun_evaluation,challenge_settings:Nn.challenge_settings};return yield me({type:"save",payload:{workSetting:Pe({},Nn),changeData:(0,Me.cloneDeep)(dn)}}),Nn},*updateSetting({payload:I,callback:O},{call:L,put:me}){return yield L($e.m7,I)},*getCodeReviewCourse({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.JG,I);return yield me({type:"save",payload:{codeReviewCourse:Pe({},Re)}}),Re},*exportShixunWorks({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.Dx,I)},*getReferenceAnswer({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.Q3,I);return yield me({type:"save",payload:{referenceAnswer:Pe({},Re)}}),Re},*getPublishGroups({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.ux,I);return yield me({type:"save",payload:{publishGroups:Pe({},Re)}}),Re},*getEndGroups({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.KE,I);return yield me({type:"save",payload:{endGroups:Pe({},Re)}}),Re},*getBrankList({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.n$,I);return yield me({type:"save",payload:{brankList:Pe({},Re)}}),Re},*changeScore({payload:I,callback:O},{call:L,put:me}){return yield L($e.gG,I)},*saveBanks({payload:I,callback:O},{call:L,put:me}){return yield L($e.lf,I)},*addCommonHomeWorkDefaultData({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.Qt,I);return yield me({type:"save",payload:{commonHomeWorkAddDefaultData:Pe({},Re)}}),Re},*getSearchMemberList({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.Lz,I);return yield me({type:"save",payload:{searchMemberList:Pe({},Re)}}),Re},*getProjectList({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.ku,I);return yield me({type:"save",payload:{searchProjectList:Pe({},Re)}}),Re},*addStudentWorkDefaultData({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.ak,I);return yield me({type:"save",payload:{studentWorkAddDefaultData:Pe({},Re)}}),Re},*editStudentWorkDefaultData({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.PW,I);return yield me({type:"save",payload:{studentWorkEditDefaultData:Pe({},Re)}}),Re},*editCommonHomeWorkDefaultData({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.BD,I);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:Pe({},Re)}}),Re},*editCommonHomeWorkDefaultBankData({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.pH,I);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:Pe({},Re)}}),Re},*getReplyList({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.PC,I);yield me({type:"save",payload:{replyList:Pe({},Re)}})},*getStudentWorkDetail({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.Hj,I);yield me({type:"save",payload:{studentWorkDetail:Pe({},Re)}})},*getStudentWorkSupplyDetail({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.ub,I);yield me({type:"save",payload:{studentWorkSupplyDetail:Pe({},Re)}})},*getStudentWorkCommon({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.JA,I);yield me({type:"save",payload:{studentWorkCommon:Pe({},Re)}})},*getAllStudentWorks({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.ql,I);return yield me({type:"save",payload:{allStudentWorks:Pe({},Re)}}),Re},*getFileRepeatResult({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.oN,I);return yield me({type:"save",payload:{codeReview:Pe({},Re)}}),Re},*getFileRepeatDetail({payload:I,callback:O},{call:L,put:me}){const Re=yield L($e.Ti,I);return yield me({type:"save",payload:{codeReviewDetail:Pe({},Re)}}),Re},*createReply({payload:I,callback:O},{call:L,put:me}){return yield L($e.PP,I)},*replyLike({payload:I,callback:O},{call:L,put:me}){return yield L($e.NA,I)},*replyUnLike({payload:I,callback:O},{call:L,put:me}){return yield L($e.YQ,I)},*deleteReply({payload:I,callback:O},{call:L,put:me}){return yield L($e.Mf,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Pe({},I)}})}},reducers:{save(I,O){return Pe(Pe({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Rt=e(82264),Wt=e(48790),$t=Object.defineProperty,At=Object.getOwnPropertySymbols,Xt=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,fe=(I,O,L)=>O in I?$t(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,pe=(I,O)=>{for(var L in O||(O={}))Xt.call(O,L)&&fe(I,L,O[L]);if(At)for(var L of At(O))We.call(O,L)&&fe(I,L,O[L]);return I},Te={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:L}){yield O(Rt.gq,I)},*getAssistantPermissions({payload:I},{call:O,put:L}){if(!(0,Wt.eB)())return;const me=yield O(Rt.rS,I);yield L({type:"save",payload:{AssistantObject:me.permissions}})},*getAiStatusQuery({payload:I},{call:O,put:L}){const me=yield O(Rt.LH,I);return yield L({type:"save",payload:{cal_finish_if:me.cal_finish_if}}),me},*updateCoursePortraitData({payload:I},{call:O,put:L}){return yield O(Rt.Z_,I)},*getUserPortraitConfig({payload:I},{call:O,put:L}){const me=yield O(Rt._0,I);return yield L({type:"save",payload:{userPortraitConfig:me.data}}),me},*updateUserPortraitConfig({payload:I},{call:O,put:L}){return yield O(Rt.r2,I)},*getClassroom({payload:I},{call:O,put:L}){const me=I,Re=yield O(Rt.V8,I);return yield L({type:"save",payload:pe({listParams:me},Re)}),Re},*getClassroomTopBanner({payload:I},{call:O,put:L}){const me=yield O(Rt.U_,I);return yield L({type:"save",payload:{detailTopBanner:me.status?{copy_completed:!0}:pe({},me)}}),me.status?{copy_completed:!0}:me},*getClassroomLeftMenus({payload:I},{call:O,put:L}){const me=yield O(Rt.w9,I);let Re=[...(me==null?void 0:me.course_modules)||[],...(me==null?void 0:me.hidden_modules)||[]],qr={};return Re==null||Re.forEach(Nn=>{qr[Nn.type]=Nn.name}),yield L({type:"save",payload:{detailLeftMenus:pe({},me),detailLeftMenusNames:qr}}),me},*getClassroomShixunsList({payload:I},{call:O,put:L}){const me=yield O(Rt.Nd,I);yield L({type:"save",payload:{detailShixunsList:pe({},me)}})},*getClassroomTeacherShixunsList({payload:I},{call:O,put:L}){const me=yield O(Rt.Gk,I);return yield L({type:"save",payload:{detailShixunsList:pe({},me)}}),me},*getClassroomCommonList({payload:I},{call:O,put:L}){const me=yield O(Rt.Nd,I);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},me)}})},*getClassroomTeacherCommonList({payload:I},{call:O,put:L}){const me=yield O(Rt.Gk,I);return yield L({type:"save",payload:{detailCommonHomeworksList:pe({},me)}}),me},*getClassroomGraduationTopicsList({payload:I},{call:O,put:L}){const me=yield O(Rt.yV,I);yield L({type:"save",payload:{detailGraduationTopicsList:pe({},me)}})},*getClassroomGraduationTaskList({payload:I},{call:O,put:L}){const me=yield O(Rt.R2,I);yield L({type:"save",payload:{detailGraduationTaskList:pe({},me)}})},*getClassroomExercisesList({payload:I},{call:O,put:L}){const me=yield O(Rt.N7,I);yield L({type:"save",payload:{detailExerciseList:pe({},me)}})},*getClassroomPollsList({payload:I},{call:O,put:L}){const me=yield O(Rt.BR,I);yield L({type:"save",payload:{detailPollsList:pe({},me)}})},*getCourseGroups({payload:I},{call:O,put:L}){const me=yield O(Rt.qB,I);yield L({type:"save",payload:{courseGroups:pe({},me)}})},*getAllCourseGroup({payload:I},{call:O,put:L}){const me=yield O(Rt.c_,I);return yield L({type:"save",payload:{allCourseGroups:pe({},me)}}),me},*getClassroomCommonHomeworksList({payload:I},{call:O,put:L}){const me=yield O(Rt.Al,I);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},me)}})},*getClassroomAttendancesList({payload:I},{call:O,put:L}){const me=yield O(Rt.Vw,I);yield L({type:"save",payload:{detailAttendancesList:pe({},me)}})},*getClassroomAttendancesStatistic({payload:I},{call:O,put:L}){const me=yield O(Rt.Ls,I);yield L({type:"save",payload:{detailAttendancesStatistic:pe({},me)}})},*getAttendanceDetail({payload:I},{call:O,put:L}){const me=yield O(Rt.zg,I);return yield L({type:"save",payload:{detailAttendancesDetail:pe({},me)}}),me},*getAnnouncementList({payload:I},{call:O,put:L}){const me=yield O(Rt.QZ,I);yield L({type:"save",payload:{detailAnnouncementList:pe({},me)}})},*getAttachmentList({payload:I},{call:O,put:L}){const me=yield O(Rt.KT,I);yield L({type:"save",payload:{detailAttachmentList:pe({},me.data)}})},*getCourseware({payload:I},{call:O,put:L}){const me=yield O(Rt.ZT,I);yield L({type:"save",payload:{detailCourseware:pe({},me.data)}})},*getVideoList({payload:I},{call:O,put:L}){const me=yield O(Rt.O3,I);yield L({type:"save",payload:{detailVideoList:pe({},me)}})},*getLiveVideoList({payload:I},{call:O,put:L}){const me=yield O(Rt.DJ,I);yield L({type:"save",payload:{detailLiveVideoList:pe({},me)}})},*getCoursesMine({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt.Ed,I);return yield me({type:"save",payload:{courseMine:pe({},Re)}}),Re.data},*getBoardList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt.KP,I);return yield me({type:"save",payload:{detailBoardList:pe({},Re.data)}}),Re.data},*getCourseGroupsList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt.kW,I);return yield me({type:"save",payload:{detailCourseGroupsList:pe({},Re)}}),Re},*getCourseStudentsList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt.J2,I);return yield me({type:"save",payload:{detailCoursStudentsList:pe({},Re)}}),Re.data},*getCourseStatistics({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt.g4,I);return yield me({type:"save",payload:{detailCourseStatisticsList:pe({},Re)}}),Re},*getCourseActscore({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt.t1,I);return yield me({type:"save",payload:{detailCourseActscore:pe({},Re)}}),Re},*getCourseWorkscore({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt.GV,I);return yield me({type:"save",payload:{detailCourseWorkscore:pe({},Re)}}),Re},*getShixunLists({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt.Pj,I);return yield me({type:"save",payload:{shixunLists:pe({},Re)}}),Re},*getExperimentLists({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt._9,I);return yield me({type:"save",payload:{shixunLists:pe({},Re)}}),Re},*getShixunAiRecommendLists({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt.Hn,I);return yield me({type:"save",payload:{shixunAiRecommendLists:pe({},Re)}}),Re},*getCoursesLists({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt.W7,I);return yield me({type:"save",payload:{coursesLists:pe({},Re)}}),Re},*createCoursesHomework({payload:I,callback:O},{call:L,put:me}){return yield L(Rt.Ds,I)},*createShixunHomework({payload:I,callback:O},{call:L,put:me}){return yield L(Rt.aQ,I)},*createExperiment({payload:I,callback:O},{call:L,put:me}){return yield L(Rt.BQ,I)},*getSchoolList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt.K$,I);return yield me({type:"save",payload:{schoolList:pe({},Re.school_names)}}),Re.school_names},*searchSchoolTeacherList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt.nQ,I);return yield me({type:"save",payload:{searchMemberList:pe({},Re)}}),Re},*getAllTaskList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt.km,I);return yield me({type:"save",payload:{taskList:[...Re.tasks]}}),Re},*updateTaskPosition({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Rt.U8,I);return yield me({type:"save",payload:{actionTabs:{key:""}}}),Re},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:pe({},I)}})},*setUpdateData({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateData:I}})}},reducers:{save(I,O){return pe(pe({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},dt=Object.defineProperty,Gt=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,wt=(I,O,L)=>O in I?dt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,be=(I,O)=>{for(var L in O||(O={}))St.call(O,L)&&wt(I,L,O[L]);if(Gt)for(var L of Gt(O))Oe.call(O,L)&&wt(I,L,O[L]);return I},gt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:I},{call:O,put:L}){const me=yield O(Rt.K$,I);yield L({type:"save",payload:{schoolList:(me==null?void 0:me.school_names)||[]}})},*getSearchCourseList({payload:I},{call:O,put:L}){const me=yield O(Rt.oM,I);yield L({type:"save",payload:{searchCourseList:(me==null?void 0:me.course_lists)||[]}})},*submitCourses({payload:I},{call:O,put:L}){return yield O(Rt.Bn,I)},*appplySchool({payload:I},{call:O,put:L}){return yield O(Rt.bz,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:be({},I)}})},*joincoursegroup({payload:I},{call:O,put:L}){return yield O(Rt.WK,I)}},reducers:{save(I,O){return be(be({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Ft=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,Gr=(I,O,L)=>O in I?Ft(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Qr=(I,O)=>{for(var L in O||(O={}))Dr.call(O,L)&&Gr(I,L,O[L]);if(Fe)for(var L of Fe(O))Ct.call(O,L)&&Gr(I,L,O[L]);return I},Fr={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:I},{call:O,put:L}){const me=yield O(Rt.Dd,I);yield L({type:"save",payload:{CourseUseInfos:me}})},*getRankList({payload:I},{call:O,put:L}){const me=yield O(Rt.Fg,I);yield L({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:L}){const me=yield O(Rt.Gz,I);yield L({type:"save",payload:{SBody:me}})},*getStatisticsHeader({payload:I},{call:O,put:L}){const me=yield O(Rt.Hl,I);yield L({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:L})=>{L==="/"&&I({type:"query"})})}}},mr=e(7299),jr=Object.defineProperty,sn=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable,Lt=(I,O,L)=>O in I?jr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,mt=(I,O)=>{for(var L in O||(O={}))cn.call(O,L)&&Lt(I,L,O[L]);if(sn)for(var L of sn(O))lr.call(O,L)&&Lt(I,L,O[L]);return I},Ut={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:L,put:me}){const Re=yield L(mr.s3,I);return yield me({type:"save",payload:{pollsList:mt({},Re)}}),Re},*getCommonHeader({payload:I,callback:O},{call:L,put:me}){const Re=yield L(mr.UK,I);return yield me({type:"save",payload:{commonHeader:mt({},Re)}}),Re},*getPollsStatistics({payload:I,callback:O},{call:L,put:me}){const Re=yield L(mr.Qn,I);return yield me({type:"save",payload:{statisticsList:mt({},Re)}}),Re},*getBrankList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(mr.n$,I);return yield me({type:"save",payload:{brankList:mt({},Re)}}),Re},*saveBanks({payload:I,callback:O},{call:L,put:me}){return yield L(mr.lf,I)},*getPollsCourses({payload:I,callback:O},{call:L,put:me}){const Re=yield L(mr.Q9,I);return yield me({type:"save",payload:{pollsCoursesList:mt({},Re)}}),Re},*getPollsSetting({payload:I,callback:O},{call:L,put:me}){const Re=yield L(mr.Hi,I);return yield me({type:"save",payload:{pollSetting:mt({},Re)}}),Re},*editPolls({payload:I,callback:O},{call:L,put:me}){const Re=yield L(mr.Ye,I);return yield me({type:"save",payload:{editData:mt({},JSON.parse(JSON.stringify(Re)))}}),Re},*getEndGroups({payload:I,callback:O},{call:L,put:me}){const Re=yield L(mr.KE,I);return yield me({type:"save",payload:{endGroups:mt({},Re)}}),Re},*getPublishGroups({payload:I,callback:O},{call:L,put:me}){const Re=yield L(mr.ux,I);return yield me({type:"save",payload:{publishGroups:mt({},Re)}}),Re},*getExerciseBanks({payload:I,callback:O},{call:L,put:me}){const Re=yield L(mr.kp,I);return yield me({type:"save",payload:{exerciseBanks:mt({},Re)}}),Re},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:mt({},I)}})}},reducers:{save(I,O){return mt(mt({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Sr=e(49234),yr=Object.defineProperty,it=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,zn=(I,O,L)=>O in I?yr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,gr=(I,O)=>{for(var L in O||(O={}))Br.call(O,L)&&zn(I,L,O[L]);if(it)for(var L of it(O))gn.call(O,L)&&zn(I,L,O[L]);return I},pn={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:I},{call:O,put:L}){var me;const Re=yield O(Sr.gp,I);return(me=Re==null?void 0:Re.teacher_list)==null||me.map(qr=>(qr.key=qr.course_member_id,qr)),yield L({type:"save",payload:{list:Re}}),Re},*getStudentsList({payload:I},{call:O,put:L}){var me;const Re=yield O(Sr.ur,I);return(me=Re==null?void 0:Re.students)==null||me.map(qr=>(qr.key=qr.user_id,qr)),yield L({type:"save",payload:{studentsList:Re}}),Re},*getApplyList({payload:I},{call:O,put:L}){const me=yield O(Sr.s,I);return yield L({type:"save",payload:{applyList:me}}),me},*getAllCourseGroups({payload:I},{call:O,put:L}){const me=yield O(Sr.xV,I);return yield L({type:"save",payload:{allCourseGroups:me}}),me},*getGraduationGroupList({payload:I},{call:O,put:L}){const me=yield O(Sr.Bg,I);return yield L({type:"save",payload:{graduationGroupList:me}}),me},*setAllCourseGroups({payload:I},{call:O,put:L}){const me=yield O(Sr.oZ,I);return yield L({type:"save",payload:{setAllCourseGroups:me}}),me},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:gr({},I)}})},*setUpdateIndex({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(I,O){return gr(gr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Fn=e(69618),Tn=Object.defineProperty,oi=Object.getOwnPropertySymbols,Pi=Object.prototype.hasOwnProperty,Li=Object.prototype.propertyIsEnumerable,Si=(I,O,L)=>O in I?Tn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,gi=(I,O)=>{for(var L in O||(O={}))Pi.call(O,L)&&Si(I,L,O[L]);if(oi)for(var L of oi(O))Li.call(O,L)&&Si(I,L,O[L]);return I},na={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Fn.BQ,I);return yield me({type:"save",payload:{videoStatisticsList:gi({},Re)}}),Re},*getNewVideoStatisticsList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Fn.cU,I);return yield me({type:"save",payload:{newVideoStatisticsList:gi({},Re)}}),Re},*getVideoPeopleStatics({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Fn.Zx,I);return yield me({type:"save",payload:{videoPeopleStatics:gi({},Re)}}),Re},*getVideoDurationStatics({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Fn.Mz,I);return yield me({type:"save",payload:{videoDurationStatics:gi({},Re)}}),Re},*getVideoStatistics({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Fn.ZY,I);return yield me({type:"save",payload:{videoStatistics:gi({},Re)}}),Re},*getOneVideoStatisticsList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Fn.cU,I);return yield me({type:"save",payload:{oneVideoStatisticsList:gi({},Re)}}),Re},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:gi({},I)}})},*getStudentVideoStatisticsList({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Fn.Vg,I);return yield me({type:"save",payload:{StudentvideoStatistics:gi({},Re)}}),Re}},reducers:{save(I,O){return gi(gi({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},ni=e(73801),Ji=Object.defineProperty,bt=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,Qn=Object.prototype.propertyIsEnumerable,yi=(I,O,L)=>O in I?Ji(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,ei=(I,O)=>{for(var L in O||(O={}))lt.call(O,L)&&yi(I,L,O[L]);if(bt)for(var L of bt(O))Qn.call(O,L)&&yi(I,L,O[L]);return I},bi={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:L,put:me}){return yield L(ni.cC,I)},*getGuides({payload:I,callback:O},{call:L,put:me}){const Re=yield L(ni.Ax,I);return yield me({type:"save",payload:{GuidesData:Re}}),Re},*getWorkSubmitUpdateRes({payload:I,callback:O},{call:L,put:me}){return yield L(ni.zF,I)},*getList({payload:I},{call:O,put:L}){const me=I,Re=yield O(ni.bQ,I);return yield L({type:"save",payload:ei({listParams:me},Re)}),Re},*getMemberWorks({payload:I},{call:O,put:L}){const me=yield O(ni.xx,I);return yield L({type:"save",payload:{MemberWorks:me||{}}}),me},*addApplytojoincourse({payload:I,callback:O},{call:L,put:me}){return yield L(ni.qS,I)},*competitionTeams({payload:I,callback:O},{call:L,put:me}){return yield L(ni.Pt,I)},*getStaff({payload:I,callback:O},{call:L,put:me}){const Re=yield L(ni.Dh,I);return yield me({type:"save",payload:{Staff:Re}}),Re},*getHeader({payload:I,callback:O},{call:L,put:me}){const Re=yield L(ni.Pg,I);return yield me({type:"save",payload:{Header:Re}}),Re},*getItem({payload:I,callback:O},{call:L,put:me}){const Re=yield L(ni.rV,I);return yield me({type:"save",payload:{RightItems:Re}}),Re},*updateMdContent({payload:I,callback:O},{call:L,put:me}){return yield L(ni.zj,I)},*getTeamList({payload:I,callback:O},{call:L,put:me}){return yield L(ni.aq,I)},*getTeamDetail({payload:I,callback:O},{call:L,put:me}){return yield L(ni.Ze,I)},*UpTeam({payload:I,callback:O},{call:L,put:me}){return yield L(ni.yS,I)},*DeleteTeam({payload:I,callback:O},{call:L,put:me}){return yield L(ni.ps,I)},*ExitTeam({payload:I,callback:O},{call:L,put:me}){return yield L(ni.vV,I)},*AddTeam({payload:I,callback:O},{call:L,put:me}){return yield L(ni.FU,I)},*AddPersonnel({payload:I,callback:O},{call:L,put:me}){return yield L(ni.R9,I)},*JoinTeam({payload:I,callback:O},{call:L,put:me}){return yield L(ni.zc,I)},*getTeacher({payload:I,callback:O},{call:L,put:me}){return yield L(ni.jS,I)},*getStudents({payload:I,callback:O},{call:L,put:me}){return yield L(ni.sK,I)},*SubmitTeam({payload:I,callback:O},{call:L,put:me}){return yield L(ni.rm,I)},*Reward({payload:I,callback:O},{call:L,put:me}){return yield L(ni.Qp,I)},*ChartRules({payload:I,callback:O},{call:L,put:me}){return yield L(ni.Ux,I)},*Charts({payload:I,callback:O},{call:L,put:me}){return yield L(ni.GQ,I)},*TabResults({payload:I,callback:O},{call:L,put:me}){const Re=yield L(ni.ml,I);return yield me({type:"save",payload:{TabResultList:Re}}),Re},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ei({},I)}})},*Results({payload:I,callback:O},{call:L,put:me}){return yield L(ni.u9,I)},*Prize({payload:I,callback:O},{call:L,put:me}){const Re=yield L(ni.pU,I);return yield me({type:"save",payload:{Prizes:Re}}),Re},*Accounts({payload:I,callback:O},{call:L,put:me}){const Re=yield L(ni.XJ,I);return yield me({type:"save",payload:{Account:Re}}),Re},*getVerification({payload:I,callback:O},{call:L,put:me}){return yield L(ni.Ni,I)},*PhoneBind({payload:I,callback:O},{call:L,put:me}){return yield L(ni.uZ,I)},*EmailBind({payload:I,callback:O},{call:L,put:me}){return yield L(ni.rk,I)},*Authentication({payload:I,callback:O},{call:L,put:me}){return yield L(ni.Vy,I)},*Professional({payload:I,callback:O},{call:L,put:me}){return yield L(ni.tC,I)},*setleader({payload:I,callback:O},{call:L,put:me}){return yield L(ni.tO,I)},*getShixun({payload:I,callback:O},{call:L,put:me}){return yield L(ni.qj,I)},*getCourse({payload:I,callback:O},{call:L,put:me}){return yield L(ni.XR,I)},*competition_teams({payload:I,callback:O},{call:L,put:me}){const Re=yield L(ni.zz,I);return yield me({type:"save",payload:{competition_team:Re}}),Re},*all_team_members({payload:I,callback:O},{call:L,put:me}){const Re=yield L(ni.$P,I);return yield me({type:"save",payload:{all_team_member:Re}}),Re}},reducers:{save(I,O){return ei(ei({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},qn=e(1103),An=e(32026),rr=Object.defineProperty,_t=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,It=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,cr=Object.prototype.propertyIsEnumerable,dr=(I,O,L)=>O in I?rr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Tr=(I,O)=>{for(var L in O||(O={}))pt.call(O,L)&&dr(I,L,O[L]);if(It)for(var L of It(O))cr.call(O,L)&&dr(I,L,O[L]);return I},Hr=(I,O)=>_t(I,rt(O)),Je={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[An.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${An.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[An.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${An.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:L}){yield L({type:"save",payload:{actionTabs:Tr({},I)}})},*getMajorList({payload:I},{call:O,put:L,select:me}){const{userInfo:Re}=yield me(qr=>qr.user);if(Re!=null&&Re.school_id){const qr=yield O(qn.BA,Re.school_id);qr&&qr.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:An.k[0],value:qr.data.map(Nn=>({label:Nn.name,value:Nn.ec_major_school_id}))}}))}},*getYearList({payload:I},{call:O,put:L}){const me=yield O(qn.Nx,I);me&&me.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:An.k[1],value:me.data.map(Re=>({label:Re.year,value:Re.ec_year_id}))}}))},*getCourseResultDetail({payload:I},{call:O,put:L}){console.log(I,"payload");const me=yield O(qn.p1,I);me&&me.ec_course_target&&(yield L({type:"setEchartsData",payload:me}))},*getCourseResultDetailClass({payload:I},{call:O,put:L}){const me=yield O(qn.ff,I);me&&me.class_name&&(yield L({type:"save",payload:{classDataSource:{active:null,dataList:[...me.class_name]}}}))},*setClassActive({payload:I},{call:O,put:L}){yield L({type:"save",payload:{classDataSource:Tr({},I)}})}},reducers:{save(I,O){return Tr(Tr({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){return Hr(Tr({},I),{headerData:Hr(Tr({},I.headerData),{dataSource:Hr(Tr({},I.headerData.dataSource),{[O.key]:Hr(Tr({},I.headerData.dataSource[O.key]),{dataList:O.value})})})})},setMajorOrYearActive(I,{payload:O}){return Hr(Tr({},I),{headerData:Hr(Tr({},I.headerData),{active:Hr(Tr({},I.headerData.active),{[O.key]:O.value})})})},setEchartsData(I,{payload:O}){let L={name:O.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},me={name:O.course_name||"",xData:[],seriesData:[]},Re={};return O.ec_course_target.forEach((qr,Nn)=>{qr.position=Nn+1,L=Hr(Tr({},L),{dataSource:{xData:[...L.dataSource.xData,Nn+1],yBarData:[...L.dataSource.yBarData,qr.actual_grade],yLineData:[...L.dataSource.yLineData,qr.standard_grade]}});let dn=[],Oi={min:[],max:[]},Ya=[],Oa=[],Do=[];qr.student_data.detail.forEach((Ma,co)=>{let bs=Ma.score;dn.push(co+1),Oi.max.push(bs>=qr.student_data.goal_score?bs:null),Oi.min.push(bs>=qr.student_data.goal_score?null:bs),Ya.push(Ma.name),Oa.push(Ma.student_id),Do.push(Ma.clazz)}),Re[Nn+1]={name:Nn+1,average_score:qr.student_data.average_score,goal_score:qr.student_data.goal_score,xData:dn,yData:Oi,name_data:Ya,student_ids:Oa,class_data:Do,goal_scoreData:new Array(qr.student_data.detail.length).fill(qr.student_data.goal_score),average_scoreData:new Array(qr.student_data.detail.length).fill(qr.student_data.average_score)}}),O.history.forEach(qr=>{me=Hr(Tr({},me),{xData:[...me.xData,qr.year],seriesData:[...me.seriesData,qr.total_score]})}),Hr(Tr({},I),{name:O.course_name||"",tabListData:O.ec_course_target,echartsData:{barData:L,lineData:me,scatterData:Re}})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Ee=Object.defineProperty,st=Object.getOwnPropertySymbols,nr=Object.prototype.hasOwnProperty,Lr=Object.prototype.propertyIsEnumerable,Or=(I,O,L)=>O in I?Ee(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Ir=(I,O)=>{for(var L in O||(O={}))nr.call(O,L)&&Or(I,L,O[L]);if(st)for(var L of st(O))Lr.call(O,L)&&Or(I,L,O[L]);return I},_n={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ir({},I)}})},*setShowMenu({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showMenu:I}})},*setMatrixVerify({payload:I},{call:O,put:L}){yield L({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:L})=>{L==="/"&&I({type:"query"})})}}},Pr=e(96999),fn=Object.defineProperty,nn=Object.defineProperties,on=Object.getOwnPropertyDescriptors,Sn=Object.getOwnPropertySymbols,va=Object.prototype.hasOwnProperty,wi=Object.prototype.propertyIsEnumerable,_i=(I,O,L)=>O in I?fn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,vn=(I,O)=>{for(var L in O||(O={}))va.call(O,L)&&_i(I,L,O[L]);if(Sn)for(var L of Sn(O))wi.call(O,L)&&_i(I,L,O[L]);return I},si=(I,O)=>nn(I,on(O)),da={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[An.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${An.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[An.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${An.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:L}){yield L({type:"save",payload:{actionTabs:vn({},I)}})},*getMajorList({},{call:I,put:O,select:L}){const{userInfo:me}=yield L(Re=>Re.user);if(me!=null&&me.school_id){const Re=yield I(qn.BA,me.school_id);if(Re&&Re.data){const qr=Pr.U.getItem(me==null?void 0:me.login);yield O({type:"setMajorOrYearDataSource",payload:{key:An.k[0],value:Re.data.map(Nn=>({label:Nn.name,value:Nn.ec_major_school_id})),active:Re.data.length>0?qr[0]||Re.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:L,select:me}){const Re=yield O(qn.Nx,I.id),{userInfo:qr}=yield me(Nn=>Nn.user);if(Re&&Re.data){const Nn=Pr.U.getItem(qr==null?void 0:qr.login);yield L({type:"setMajorOrYearDataSource",payload:{key:An.k[1],value:Re.data.map(dn=>({label:dn.year,value:dn.ec_year_id})),active:Re.data.length>0?I.firstEnter?Nn[1]:Re.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:I,put:O,select:L}){const{headerData:me}=yield L(Nn=>Nn.engineeringNavigtion),{userInfo:Re}=yield L(Nn=>Nn.user);let qr={};if(me.active[An.k[1]]&&Re.school_id){const Nn=[me.active[An.k[0]],me.active[An.k[1]]];Pr.U.setItem(Re==null?void 0:Re.login,Nn);const dn=yield I(qn.bA,{ec_year_id:me.active[An.k[1]],school_id:Re.school_id});dn&&dn.data&&(qr=dn.data),yield O({type:"setTopPage",payload:qr})}},*putTopPageName({payload:I,callback:O},{call:L,put:me}){try{const Re=yield L(qn.ay,I);O(Re)}catch(Re){let qr="";Re&&(qr=JSON.stringify(Re),Re.message&&(qr=Re.message)),O({message:qr,status:999})}}},reducers:{save(I,O){return vn(vn({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let L=I.headerData.active;return O.active&&(L=si(vn({},L),{[O.key]:O.active})),si(vn({},I),{headerData:si(vn({},I.headerData),{dataSource:si(vn({},I.headerData.dataSource),{[O.key]:si(vn({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:L})})},setMajorOrYearActive(I,{payload:O}){return si(vn({},I),{headerData:si(vn({},I.headerData),{active:si(vn({},I.headerData.active),{[O.key]:O.value})})})},setTopPage(I,{payload:O}){return si(vn({},I),{headerData:si(vn({},I.headerData),{name:O.name,tabBarContent:{user_name:O.user_name,user_school:O.user_school,user_type:O.user_type}}),cardListData:si(vn({},I.cardListData),{appraiseData:si(vn({},I.cardListData.appraiseData),{norm:si(vn({},I.cardListData.appraiseData.norm),{result:O.graduaiton_result,listData:I.cardListData.appraiseData.norm.listData.map(L=>si(vn({},L),{value:O[L.key]||0}))}),course:si(vn({},I.cardListData.appraiseData.course),{result:O.course_result,listData:I.cardListData.appraiseData.course.listData.map(L=>si(vn({},L),{value:O[L.key]||0}))})}),teamData:{teach:si(vn({},I.cardListData.teamData.teach),{tabBarContent:`${O.course_teachers?O.course_teachers.length:0}\u4EBA`,listData:O.course_teachers||[]}),work:si(vn({},I.cardListData.teamData.work),{tabBarContent:`${O.work_teachers?O.work_teachers.length:0}\u4EBA`,listData:O.work_teachers||[]})}}),totalListData:I.totalListData.map(L=>si(vn({},L),{value:O[L.key]||0}))})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Ha=Object.defineProperty,Ta=Object.defineProperties,fs=Object.getOwnPropertyDescriptors,Es=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,mi=Object.prototype.propertyIsEnumerable,ia=(I,O,L)=>O in I?Ha(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,os=(I,O)=>{for(var L in O||(O={}))Wa.call(O,L)&&ia(I,L,O[L]);if(Es)for(var L of Es(O))mi.call(O,L)&&ia(I,L,O[L]);return I},Ga=(I,O)=>Ta(I,fs(O)),Yi={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:os({},I)}})},*getGraduationResultDetail({payload:I},{call:O,put:L}){const me=yield O(qn.gq,I);yield L({type:"save",payload:{dataSource:me}})}},reducers:{save(I,O){return os(os({},I),O.payload)},setDataSource(I,{payload:O}){let L=O;return Ga(os({},I),{dataSource:L})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},ms=e(8591),bo=Object.defineProperty,Ni=Object.defineProperties,vs=Object.getOwnPropertyDescriptors,Na=Object.getOwnPropertySymbols,Ys=Object.prototype.hasOwnProperty,Dn=Object.prototype.propertyIsEnumerable,$a=(I,O,L)=>O in I?bo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,cs=(I,O)=>{for(var L in O||(O={}))Ys.call(O,L)&&$a(I,L,O[L]);if(Na)for(var L of Na(O))Dn.call(O,L)&&$a(I,L,O[L]);return I},ja=(I,O)=>Ni(I,vs(O)),zi=(I,O)=>{var L={};for(var me in I)Ys.call(I,me)&&O.indexOf(me)<0&&(L[me]=I[me]);if(I!=null&&Na)for(var me of Na(I))O.indexOf(me)<0&&Dn.call(I,me)&&(L[me]=I[me]);return L},Da={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[An.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${An.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[An.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${An.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:cs({},I)}})},*getMajorList({},{call:I,put:O,select:L}){const{userInfo:me}=yield L(Re=>Re.user);if(me!=null&&me.school_id){const Re=yield I(qn.BA,me.school_id);if(Re&&Re.data){const qr=Pr.U.getItem(me==null?void 0:me.login);yield O({type:"setMajorOrYearDataSource",payload:{key:An.k[0],value:Re.data.map(Nn=>({label:Nn.name,value:Nn.ec_major_school_id})),active:Re.data.length>0?qr[0]||Re.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:L,select:me}){const Re=yield O(qn.Nx,I.id),{userInfo:qr}=yield me(Nn=>Nn.user);if(Re&&Re.data){const Nn=Pr.U.getItem(qr==null?void 0:qr.login);yield L({type:"setMajorOrYearDataSource",payload:{key:An.k[1],value:Re.data.map(dn=>({label:dn.year,value:dn.ec_year_id})),active:Re.data.length>0?I.firstEnter?Nn[1]:Re.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:I,put:O,select:L}){const{headerData:me}=yield L(Ya=>Ya.engineeringNormList),{userInfo:Re}=yield L(Ya=>Ya.user);let qr=[],Nn=[],dn="";const Oi=me.active[An.k[1]];if(Oi){const Ya=[me.active[An.k[0]],me.active[An.k[1]]];Pr.U.setItem(Re==null?void 0:Re.login,Ya);const Oa=yield I(qn.eM,Oi);Oa&&Oa.graduation_requirements&&(dn=Oa.all_goal_value||"",qr=Oa.graduation_requirements.map(Do=>{var Ma=Do,{subitems:co}=Ma,bs=zi(Ma,["subitems"]);return Nn.push(bs.id),ja(cs({},bs),{children:co})}))}yield O({type:"save",payload:{tabListData:qr,all_goal_value:dn,expandedRowKeys:Nn}})},*exportGraduation({},{call:I,select:O}){const{headerData:L}=yield O(me=>me.engineeringNormList);L.active[An.k[1]]&&(yield I(qn.OE,L.active[An.k[1]]))},*compute({payload:I},{call:O,put:L}){const me=I,{all:Re}=me,qr=zi(me,["all"]),Nn=yield O(Re?qn.Qx:qn.Xl,qr);Nn&&Nn.status===0?(ms.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield L({type:"getGraduationResults"})):ms.ZP.error(Nn.message)},*getFormulas({callback:I},{call:O,select:L}){const{headerData:me}=yield L(Re=>Re.engineeringNormList);if(me.active[An.k[1]]){const Re=yield O(qn.mK,me.active[An.k[1]]);I(Re)}},*setFormulas({payload:I,callback:O},{call:L}){const me=yield L(qn.y9,I);O(me)},*putGoalValue({payload:I},{call:O,put:L}){const me=yield O(qn.No,I);if(me&&me.status===0)ms.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield L({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield L({type:"getGraduationResults"});else{let Re="\u4FDD\u5B58\u5931\u8D25";me&&me.message&&(Re=me.message),ms.ZP.error(Re)}}},reducers:{save(I,O){return cs(cs({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let L=I.headerData.active;return O.active&&(L=ja(cs({},L),{[O.key]:O.active})),ja(cs({},I),{headerData:ja(cs({},I.headerData),{dataSource:ja(cs({},I.headerData.dataSource),{[O.key]:ja(cs({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:L})})},setMajorOrYearActive(I,{payload:O}){return ja(cs({},I),{headerData:ja(cs({},I.headerData),{active:ja(cs({},I.headerData.active),{[O.key]:O.value})})})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},ws=e(94670),Xs=Object.defineProperty,xo=Object.getOwnPropertySymbols,ho=Object.prototype.hasOwnProperty,wa=Object.prototype.propertyIsEnumerable,gs=(I,O,L)=>O in I?Xs(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Zs=(I,O)=>{for(var L in O||(O={}))ho.call(O,L)&&gs(I,L,O[L]);if(xo)for(var L of xo(O))wa.call(O,L)&&gs(I,L,O[L]);return I},Eo={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:I},{call:O,put:L}){const me=yield O(ws.Si,I);return yield L({type:"save",payload:{forumsDetailData:Zs({},me)}}),me},*setForumsDetailData({payload:I},{call:O,put:L}){yield L({type:"save",payload:{forumsDetailData:Zs({},I)}})}},reducers:{save(I,O){return Zs(Zs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},wo=Object.defineProperty,po=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable,Ua=(I,O,L)=>O in I?wo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Qa=(I,O)=>{for(var L in O||(O={}))di.call(O,L)&&Ua(I,L,O[L]);if(po)for(var L of po(O))ci.call(O,L)&&Ua(I,L,O[L]);return I},Qs={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:I},{call:O,put:L}){const me=yield O(I.memoType==="shixun_discuss"?ws.kd:ws.bc,I);return delete I.memoType,yield L({type:"save",payload:{listParams:I,forumsData:Qa({},me)}}),me}},reducers:{save(I,O){return Qa(Qa({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},qs=e(22072),Qo=e(346),ds=e(28209),Oo=e.n(ds),ko=Object.defineProperty,Ho=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,So=Object.prototype.propertyIsEnumerable,_o=(I,O,L)=>O in I?ko(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Js=(I,O)=>{for(var L in O||(O={}))Su.call(O,L)&&_o(I,L,O[L]);if(Ho)for(var L of Ho(O))So.call(O,L)&&_o(I,L,O[L]);return I},Ro={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:L}){var me,Re;const qr=yield O(qs.D2,I);Qo.Z.ONLYOFFICE=(me=qr==null?void 0:qr.setting)==null?void 0:me.office_server_url,Lo(qr);try{const Oi="5183666c72eec9e4",Ya="5183666c72eec9e4";var Nn=Oo().enc.Utf8.parse(Oi);let Oa=Oo().enc.Utf8.parse(Ya);var dn=Oo().AES.decrypt(((Re=qr==null?void 0:qr.setting)==null?void 0:Re.user_default_password)||"",Nn,{iv:Oa,mode:Oo().mode.CBC});qr.setting.user_default_password=dn.toString(Oo().enc.Utf8)}catch(Oi){}yield L({type:"save",payload:Js({},qr)})},*getSystemUpdate({payload:I},{call:O,put:L}){const me=yield O(qs.n0,I);yield L({type:"save",payload:{updateData:Js({},me)}})},*setTheme({payload:I},{call:O,put:L}){const me=yield O(qs.n0,I);yield L({type:"save",payload:{theme:I||"default"}})},*setShareData({payload:I},{call:O,put:L}){yield L({type:"save",payload:{shareData:I}})},*setGlobalLoading({payload:I},{call:O,put:L}){yield L({type:"save",payload:{globalLoading:Js({},I)}})},*delayTipToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showTip:I}})},*headerToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showHeader:I}})},*footerToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showFooter:I}})},*headerFooterToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showHeaderFooter:I}})},*delayTipToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showTip:I}})},*headerFixedToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showHeaderFixed:I}})},*onlyShowBackTopToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{onlyShowBackTop:I}})},*onlyShowBackTopIconToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{onlyShowBackTopIcons:I}})},*setOperateModel({payload:I},{call:O,put:L}){yield L({type:"save",payload:{operateModel:I}})},*setOperateModelPath({payload:I},{call:O,put:L}){yield L({type:"save",payload:{operateModelPath:I}})},*setShowQuestionBackTop({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showQuestionBackTop:I}})},*setInfoData({payload:I},{call:O,put:L}){yield L({type:"save",payload:{infoData:Js({},I)}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({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:L})=>{})}}};const Lo=(I={})=>{var O,L,me,Re,qr;if(window.self!==window.top||!((O=I.setting)!=null&&O.tab_logo_url))return;const Nn=document.createElement("link"),dn=document.getElementById("dynamic-favicon");Nn.id="dynamic-favicon",Nn.rel="shortcut icon",Nn.href=(L=I.setting)!=null&&L.tab_logo_url?`${Qo.Z.IMG_SERVER}/${(me=I.setting)==null?void 0:me.tab_logo_url}`:"",dn&&document.head.removeChild(dn),document.head.appendChild(Nn);try{(Re=I.setting)!=null&&Re.main_site||(document.querySelector('meta[name="keywords"]').content=(qr=I.setting)==null?void 0:qr.name,document.querySelector('meta[name="description"]').remove())}catch(Oi){}};var Hs=e(12309),du=Object.defineProperty,jo=Object.getOwnPropertySymbols,Ao=Object.prototype.hasOwnProperty,Bs=Object.prototype.propertyIsEnumerable,Rs=(I,O,L)=>O in I?du(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,hu=(I,O)=>{for(var L in O||(O={}))Ao.call(O,L)&&Rs(I,L,O[L]);if(jo)for(var L of jo(O))Bs.call(O,L)&&Rs(I,L,O[L]);return I},qt={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:I},{call:O,put:L}){return yield O(Hs.Xh,I)},*getGraduationsFinalScore({payload:I},{call:O,put:L}){return yield O(Hs.H3,I)},*getDelGraduationsTasks({payload:I},{call:O,put:L}){return yield O(Hs.km,I)},*getGraduationsTasks({payload:I},{call:O,put:L}){const me=yield O(Hs.Xw,I);yield L({type:"save",payload:{Tasks:me}})},*getGraduationsTeachers({payload:I},{call:O,put:L}){var me;const Re=yield O(Hs.AA,I);return(me=Re==null?void 0:Re.data)==null||me.map(qr=>(qr.key=qr.id,qr)),yield L({type:"save",payload:{teachers:Re}}),Re},*getGraduationsStudents({payload:I},{call:O,put:L}){var me;const Re=yield O(Hs.eh,I);(me=Re==null?void 0:Re.data)==null||me.map(qr=>(qr.key=qr.id,qr)),yield L({type:"save",payload:{students:Re}})},*getGraduationsNotices({payload:I},{call:O,put:L}){const me=yield O(Hs.Rk,I);yield L({type:"save",payload:{Notices:me}})},*getGraduationsInfo({payload:I},{call:O,put:L}){const me=yield O(Hs.F7,I);yield L({type:"save",payload:{graduation:me.graduation}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:hu({},I)}})},*setUpdateIndex({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:I},{call:O,put:L}){const me=yield O(Hs.Ou,I);yield L({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)}}},hr=e(82220),or=Object.defineProperty,vr=Object.defineProperties,wr=Object.getOwnPropertyDescriptors,yn=Object.getOwnPropertySymbols,En=Object.prototype.hasOwnProperty,$n=Object.prototype.propertyIsEnumerable,Ln=(I,O,L)=>O in I?or(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Vn=(I,O)=>{for(var L in O||(O={}))En.call(O,L)&&Ln(I,L,O[L]);if(yn)for(var L of yn(O))$n.call(O,L)&&Ln(I,L,O[L]);return I},ur=(I,O)=>vr(I,wr(O)),xr={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:I},{call:O,put:L}){const me=yield O(hr.Tt,{payload:I});yield L({type:"save",payload:ur(Vn({},me),{isloading:!0})})},*query({payload:I},{call:O,put:L}){yield L({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:I,callback:O},{call:L,put:me}){return yield L(hr.LA,I)},*UploadNotice({payload:I,callback:O},{call:L,put:me}){return yield L(hr.S_,I)}},reducers:{save(I,O){return Vn(Vn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},hn=Object.defineProperty,Wn=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,Pn=Object.getOwnPropertySymbols,Kn=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable,Xi=(I,O,L)=>O in I?hn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,$r=(I,O)=>{for(var L in O||(O={}))Kn.call(O,L)&&Xi(I,L,O[L]);if(Pn)for(var L of Pn(O))ui.call(O,L)&&Xi(I,L,O[L]);return I},Vr=(I,O)=>Wn(I,ft(O)),Ii={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(I,O){return $r($r({},I),O.payload)},openModal(I,O){return Vr($r({},I),{visibleModalName:O.payload})},closeModal(I){return Vr($r({},I),{visibleModalName:""})},openSimpleModal(I,O){return Vr($r({},I),{simpleModalProps:$r({visible:!0},O.payload)})},closeSimpleModal(I){return Vr($r({},I),{simpleModalProps:{visible:!1}})}}},aa=e(38986),Ds=Object.defineProperty,li=Object.getOwnPropertySymbols,Ws=Object.prototype.hasOwnProperty,Uo=Object.prototype.propertyIsEnumerable,Ls=(I,O,L)=>O in I?Ds(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,ya=(I,O)=>{for(var L in O||(O={}))Ws.call(O,L)&&Ls(I,L,O[L]);if(li)for(var L of li(O))Uo.call(O,L)&&Ls(I,L,O[L]);return I},Va=(I,O,L)=>new Promise((me,Re)=>{var qr=Oi=>{try{dn(L.next(Oi))}catch(Ya){Re(Ya)}},Nn=Oi=>{try{dn(L.throw(Oi))}catch(Ya){Re(Ya)}},dn=Oi=>Oi.done?me(Oi.value):Promise.resolve(Oi.value).then(qr,Nn);dn((L=L.apply(I,O)).next())});const ys=I=>Va(void 0,null,function*(){return(0,aa.ZP)("/api/paid_subjects/banner.json",{method:"get",params:ya({},I)})}),Mn=I=>Va(void 0,null,function*(){return(0,aa.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:ya({},I)})}),Ns=I=>Va(void 0,null,function*(){return(0,aa.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:ya({},I)})}),$s=I=>Va(void 0,null,function*(){return(0,aa.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:ya({},I)})}),Ye=I=>Va(void 0,null,function*(){return(0,aa.ZP)("/api/paid_subjects.json",{method:"post",body:ya({},I)})}),Qe=I=>Va(void 0,null,function*(){return(0,aa.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:ya({},I)})}),Mt=I=>Va(void 0,null,function*(){return(0,aa.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:ya({},I)})}),Kt=I=>Va(void 0,null,function*(){return(0,aa.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:ya({},I)})});var pr=Object.defineProperty,Mr=Object.getOwnPropertySymbols,Zr=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable,rn=(I,O,L)=>O in I?pr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,bn=(I,O)=>{for(var L in O||(O={}))Zr.call(O,L)&&rn(I,L,O[L]);if(Mr)for(var L of Mr(O))mn.call(O,L)&&rn(I,L,O[L]);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:L}){const{data:{adv:me,top_banner:Re}}=yield O(ys,I);yield L({type:"save",payload:{BannerList:Re,Adv:me}})},*getTopCategoryList({payload:I},{call:O,put:L}){const{data:{top_category_list:me}}=yield O(Mn,I);yield L({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...me]}})},*getHotList({payload:I},{call:O,put:L}){const{data:{hot_list:me}}=yield O(Ns,I);yield L({type:"save",payload:{HotList:me}})},*getDiscountList({payload:I},{call:O,put:L}){const{data:{discount_list:me}}=yield O($s,I);yield L({type:"save",payload:{DiscountList:me}})},*getPaidSubjects({payload:I},{call:O,put:L}){const{data:me}=yield O(Ye,I);yield L({type:"save",payload:{SubjectList:me}})},*getTags({payload:I},{call:O,put:L}){const{data:{list:me}}=yield O(Qe,I);yield L({type:"save",payload:{Tags:me}})},*getUserComments({payload:I},{call:O,put:L}){const{data:{list:me}}=yield O(Mt,I);yield L({type:"save",payload:{UserComments:me}})},*getInfoShow({payload:I},{call:O,put:L}){const{data:me}=yield O(Kt,I);yield L({type:"save",payload:{InfoShow:me}})}},reducers:{save(I,O){return bn(bn({},I),O.payload)}}},Ai={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},Zi=e(50958),$i=Object.defineProperty,Ei=Object.getOwnPropertySymbols,ba=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable,hi=(I,O,L)=>O in I?$i(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,la=(I,O)=>{for(var L in O||(O={}))ba.call(O,L)&&hi(I,L,O[L]);if(Ei)for(var L of Ei(O))Di.call(O,L)&&hi(I,L,O[L]);return I},Ss={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:I},{call:O,put:L}){const me=yield O(Zi.Ub,I);return yield L({type:"save",payload:{privateMessageDetails:me||[]}}),me},*getTidings({payload:I},{call:O,put:L}){const me=yield O(Zi.AD,I);yield L({type:"save",payload:{tidingsList:me||[]}})},*getPrivateMessages({payload:I},{call:O,put:L}){const me=yield O(Zi.V8,I);return yield L({type:"save",payload:{privateMessage:me||[]}}),me},*getUsersForPrivateMessages({payload:I},{call:O,put:L}){const me=yield O(Zi.QJ,I);return yield L({type:"save",payload:{userPrivateMessage:me||[]}}),me},*unreadMessageInfo({payload:I},{call:O,put:L}){const me=yield O(Zi.Ig,I);yield L({type:"save",payload:{unreadInfo:me||[]}})},*getRecentContacts({payload:I},{call:O,put:L}){const me=yield O(Zi.Ko,I);return yield L({type:"save",payload:{recentContacts:me||[]}}),me},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:la({},I)}})}},reducers:{save(I,O){return la(la({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Qi=e(93629),La=e(51257),ta=e(32162),Ri=Object.defineProperty,xa=Object.defineProperties,Ka=Object.getOwnPropertyDescriptors,Fa=Object.getOwnPropertySymbols,io=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,ao=(I,O,L)=>O in I?Ri(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,es=(I,O)=>{for(var L in O||(O={}))io.call(O,L)&&ao(I,L,O[L]);if(Fa)for(var L of Fa(O))Ja.call(O,L)&&ao(I,L,O[L]);return I},js=(I,O)=>xa(I,Ka(O));const ts=(I,O)=>{var L,me,Re,qr,Nn,dn,Oi,Ya,Oa;if(!I)return;const{exam:Do,single_questions:Ma,multiple_questions:co,judgement_questions:bs,program_questions:Oc,completion_questions:tc,subjective_questions:rc,practical_questions:vc,combination_questions:Mu,bprogram_questions:ki}=I||{},nc=[es({type:"SINGLE",question_type:0,name:((L=O==null?void 0:O.find(ns=>ns.value==ta.fw[0].nameType))==null?void 0:L.name)||ta.fw[0].name},Ma),es({type:"MULTIPLE",question_type:1,name:((me=O==null?void 0:O.find(ns=>ns.value==ta.fw[1].nameType))==null?void 0:me.name)||ta.fw[1].name},co),es({type:"JUDGMENT",question_type:2,name:((Re=O==null?void 0:O.find(ns=>ns.value==ta.fw[2].nameType))==null?void 0:Re.name)||ta.fw[2].name},bs),es({type:"PROGRAM",question_type:6,name:((qr=O==null?void 0:O.find(ns=>ns.value==ta.fw[6].nameType))==null?void 0:qr.name)||ta.fw[6].name},Oc),es({type:"COMPLETION",question_type:3,name:((Nn=O==null?void 0:O.find(ns=>ns.value==ta.fw[3].nameType))==null?void 0:Nn.name)||ta.fw[3].name},tc),es({type:"SUBJECTIVE",question_type:4,name:((dn=O==null?void 0:O.find(ns=>ns.value==ta.fw[4].nameType))==null?void 0:dn.name)||ta.fw[4].name},rc),es({type:"PRACTICAL",question_type:5,name:((Oi=O==null?void 0:O.find(ns=>ns.value==ta.fw[5].nameType))==null?void 0:Oi.name)||ta.fw[5].name},vc),es({type:"COMBINATION",question_type:7,name:((Ya=O==null?void 0:O.find(ns=>ns.value==ta.fw[7].nameType))==null?void 0:Ya.name)||ta.fw[7].name},Mu),es({type:"BPROGRAM",question_type:8,name:((Oa=O==null?void 0:O.find(ns=>ns.value==ta.fw[8].nameType))==null?void 0:Oa.name)||ta.fw[8].name},ki)],Fl=[];if(I.sort_by_qustion_type)for(const ns of I.qustion_type_order_name_en)Fl.push(nc.find(al=>al.type===ns));const Ks=(I.sort_by_qustion_type?Fl:nc).filter(ns=>(ns==null?void 0:ns.questions_count)>0).map((ns,al)=>{var sl;return es(es({},ns),{number:(0,La.EM)(al+1),questions:(sl=ns==null?void 0:ns.questions)==null?void 0:sl.map(El=>js(es({},El),{shixun:El.examination_bank_shixun_challenges,question_type:ns.question_type}))})});return{exam:Do,questionList:Ks}};var Hi=e(55305),Ba=Object.defineProperty,Os=Object.getOwnPropertySymbols,ha=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,we=(I,O,L)=>O in I?Ba(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Ar=(I,O)=>{for(var L in O||(O={}))ha.call(O,L)&&we(I,L,O[L]);if(Os)for(var L of Os(O))ye.call(O,L)&&we(I,L,O[L]);return I},br={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:I},{call:O,put:L}){return yield O(Qi.a2,I)},*postCheckExaminationBanks({payload:I},{call:O,put:L}){return yield O(Qi.q$,I)},*postPaperlibraryCopy({payload:I},{call:O,put:L}){return yield O(Qi.ID,I)},*getDisciplines({payload:I},{call:O,put:L}){const me=yield O(Qi.d1,I);return yield L({type:"save",payload:{disciplinesData:Ar({},me)}}),me},*getCustomDisciplines({payload:I},{call:O,put:L}){const me=yield O(Qi.ar,I);return yield L({type:"save",payload:{disciplinesData:Ar({},me)}}),me},*getEditDisciplines({payload:I},{call:O,put:L}){const me=yield O(Qi.d1,I),Re=me==null?void 0:me.disciplines,qr=(0,Hi.L)(Re);return yield L({type:"save",payload:{courseOptions:qr,disciplinesData:Ar({},me)}}),me},*getTeachGroupData({payload:I},{call:O,put:L}){const me=yield O(Qi.Dm,I);return yield L({type:"save",payload:{teachGroupData:Ar({},me)}}),me},*getPaperData({payload:I},{call:O,put:L}){const me=yield O(Qi.iT,I),Re=yield O(Qi.cV,I),qr=ts(me,Re.data);return yield L({type:"save",payload:{paperData:qr}}),me},*getPaperlibraryList({payload:I},{call:O,put:L}){return yield O(Qi.Gd,I)},*setPublic({payload:I},{call:O,put:L}){return yield O(Qi.DF,I)},*handleDelete({payload:I},{call:O,put:L}){return yield O(Qi.fn,I)},*getCourseList({payload:I},{call:O,put:L}){return yield O(Qi.tS,I)},*postBatchSendToCourse({payload:I},{call:O,put:L}){return yield O(Qi.lc,I)},*sendToClass({payload:I},{call:O,put:L}){return yield O(Qi.kp,I)},*adjustPosition({payload:I},{call:O,put:L}){return yield O(Qi.qN,I)},*setScore({payload:I},{call:O,put:L}){return yield O(Qi.ts,I)},*handleDeleteEditQuestion({payload:I},{call:O,put:L}){return yield O(Qi.NC,I)},*batchSetScore({payload:I},{call:O,put:L}){return yield O(Qi.YP,I)},*batchDelete({payload:I},{call:O,put:L}){return yield O(Qi.Hm,I)},*updatePaper({payload:I},{call:O,put:L}){return yield O(Qi.jK,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ar({},I)}})}},reducers:{save(I,O){return Ar(Ar({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Xr=Object.defineProperty,wn=Object.getOwnPropertySymbols,Jn=Object.prototype.hasOwnProperty,Mi=Object.prototype.propertyIsEnumerable,On=(I,O,L)=>O in I?Xr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,kn=(I,O)=>{for(var L in O||(O={}))Jn.call(O,L)&&On(I,L,O[L]);if(wn)for(var L of wn(O))Mi.call(O,L)&&On(I,L,O[L]);return I},ca={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Qi.Dq,I);return yield me({type:"save",payload:{exerciseExportHeadData:kn({},Re)}}),Re},*editExercise({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Qi.Di,I);return yield me({type:"save",payload:{editData:kn({},Re)}}),Re},*getTagDiscipline({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Ze.YY,I);return yield me({type:"save",payload:{tagDisciplineData:kn({},Re)}}),Re},*editExerciseQuestion({payload:I,callback:O},{call:L,put:me}){return yield L(Qi.oF,I)},*addExerciseQuestion({payload:I,callback:O},{call:L,put:me}){return yield L(Qi.oF,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:kn({},I)}})}},reducers:{save(I,O){return kn(kn({},I),O.payload)},modifyTitle(I,O){const L=(0,Me.cloneDeep)(I);return L.editData.exercise.exercise_name=O.payload,L}},subscriptions:{setup({dispatch:I,history:O}){}}},Wi=e(36714),vo=Object.defineProperty,so=Object.getOwnPropertySymbols,ru=Object.prototype.hasOwnProperty,hl=Object.prototype.propertyIsEnumerable,Yu=(I,O,L)=>O in I?vo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,pu=(I,O)=>{for(var L in O||(O={}))ru.call(O,L)&&Yu(I,L,O[L]);if(so)for(var L of so(O))hl.call(O,L)&&Yu(I,L,O[L]);return I},_u={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:L}){const me=yield O(Wi.Ax,I);yield L({type:"save",payload:{discusses:pu({},me)}})},*getPathsDetail({payload:I},{call:O,put:L}){const me=yield O(Wi.lk,I);return yield L({type:"save",payload:{detail:pu({},me)}}),me},*getCourseDetail({payload:I},{call:O,put:L}){const me=yield O(Wi.Sp,I);return yield L({type:"save",payload:{detail:pu({},me)}}),me},*getRightData({payload:I},{call:O,put:L}){const me=yield O(Wi.AQ,I);yield L({type:"save",payload:{rightData:pu({},me)}})},*getCoureses({payload:I},{call:O,put:L}){const me=yield O(Wi.ue,I);yield L({type:"save",payload:{Courses:pu({},me)}})},*getStageChildrenData({payload:I},{call:O,put:L}){const me=yield O(Wi.w4,I);return yield L({type:"save",payload:{StageChildrenData:me}}),me},*getStageData({payload:I},{call:O,put:L}){var me,Re;let qr=null;I!=null&&I.show_course_section?qr=yield O(Wi.yN,I):qr=yield O(Wi.p,I),yield L({type:"save",payload:{stageData:((me=qr==null?void 0:qr.data)==null?void 0:me.stages)||(qr==null?void 0:qr.stages)||[],isShowSchedule:((Re=qr==null?void 0:qr.data)==null?void 0:Re.is_show_schedule)||(qr==null?void 0:qr.is_show_schedule)||!1}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:pu({},I)}})}},reducers:{save(I,O){return pu(pu({},I),O.payload)}}},Ve=Object.defineProperty,H=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,he=(I,O,L)=>O in I?Ve(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Ce=(I,O)=>{for(var L in O||(O={}))X.call(O,L)&&he(I,L,O[L]);if(H)for(var L of H(O))ne.call(O,L)&&he(I,L,O[L]);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:L}){const me=I,Re=yield O(Wi.tS,I);return yield L({type:"save",payload:Ce({listParams:me},Re)}),Re},*getMenus({payload:I},{call:O,put:L}){const me=yield O(Wi.fh,I);yield L({type:"save",payload:{menus:me}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ce({},I)}})},*clearListParams({payload:I},{call:O,put:L}){yield L({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:L})=>{L==="/"&&I({type:"query"})})}}},Nt=Object.defineProperty,ar=Object.getOwnPropertySymbols,Er=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,an=(I,O,L)=>O in I?Nt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,xn=(I,O)=>{for(var L in O||(O={}))Er.call(O,L)&&an(I,L,O[L]);if(ar)for(var L of ar(O))zt.call(O,L)&&an(I,L,O[L]);return I},Zn={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:I},{call:O,put:L}){return yield O(Wi.tu,I)},*submitCourse({payload:I},{call:O,put:L}){return yield O(Wi.pU,I)},*getEditCourseData({payload:I},{call:O,put:L}){return yield O(Wi.mQ,I)},*getSchoolOption({payload:I},{call:O,put:L}){return yield O(Wi.GY,I)},*appplySchool({payload:I},{call:O,put:L}){return yield O(Wi.bz,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:xn({},I)}})}},reducers:{save(I,O){return xn(xn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Ci=Object.defineProperty,pa=Object.defineProperties,sa=Object.getOwnPropertyDescriptors,fa=Object.getOwnPropertySymbols,us=Object.prototype.hasOwnProperty,za=Object.prototype.propertyIsEnumerable,hs=(I,O,L)=>O in I?Ci(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,rs=(I,O)=>{for(var L in O||(O={}))us.call(O,L)&&hs(I,L,O[L]);if(fa)for(var L of fa(O))za.call(O,L)&&hs(I,L,O[L]);return I},Ea=(I,O)=>pa(I,sa(O)),ks={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:I},{call:O,put:L}){const me=yield O(Wi.nq,I);yield L({type:"save",payload:{SubjectUseInfos:me}})},*getRankList({payload:I},{call:O,put:L}){const me=yield O(Wi.Fg,I);yield L({type:"save",payload:{RankList:Ea(rs({},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:L}){const me=yield O(Wi.Gz,I);yield L({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:I},{call:O,put:L}){const me=yield O(Wi.hS,I);yield L({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:I},{call:O,put:L}){const me=yield O(Wi.Hl,I);yield L({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return rs(rs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},vi=e(46722),oo=Object.defineProperty,Co=Object.getOwnPropertySymbols,Mo=Object.prototype.hasOwnProperty,Ms=Object.prototype.propertyIsEnumerable,go=(I,O,L)=>O in I?oo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,ps=(I,O)=>{for(var L in O||(O={}))Mo.call(O,L)&&go(I,L,O[L]);if(Co)for(var L of Co(O))Ms.call(O,L)&&go(I,L,O[L]);return I},ju={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},itemBanks:{},groupfolderList:{}},effects:{*getGroup({payload:I},{call:O,put:L}){const me=yield O(vi.ex,I);return yield L({type:"save",payload:{groupfolderList:me}}),me},*getDisciplines({payload:I},{call:O,put:L}){const me=yield O(vi.d1,I);return yield L({type:"save",payload:{disciplinesData:ps({},me)}}),me},*getEditDisciplines({payload:I},{call:O,put:L}){const me=yield O(vi.d1,I),Re=me==null?void 0:me.disciplines,qr=(0,Hi.L)(Re);return yield L({type:"save",payload:{courseOptions:qr,disciplinesData:ps({},me)}}),me},*getBasketList({payload:I},{call:O,put:L}){const me=yield O(vi.Qj,I);return yield L({type:"save",payload:{basketData:ps({},me)}}),me},*getTeachGroupData({payload:I},{call:O,put:L}){const me=yield O(vi.Dm,I);return yield L({type:"save",payload:{teachGroupData:ps({},me)}}),me},*getEditData({payload:I},{call:O,put:L}){const me=yield O(vi.FG,I);return yield L({type:"save",payload:{editData:ps({},me)}}),me},*getEditDataBprogram({payload:I},{call:O,put:L}){const me=yield O(vi.Bo,I);return yield L({type:"save",payload:{editData:ps({},me)}}),me},*getGroupData({payload:I},{call:O,put:L}){const me=yield O(vi.hI,I);return yield L({type:"save",payload:{groupData:ps({},me)}}),me},*getItemBanks({payload:I},{call:O,put:L}){const me=yield O(vi.Of,I);return yield L({type:"save",payload:{itemBanks:ps({},me)}}),me},*setPrivate({payload:I},{call:O,put:L}){return yield O(vi.Pl,I)},*revokePublish({payload:I},{call:O,put:L}){return yield O(vi.IJ,I)},*setPublic({payload:I},{call:O,put:L}){return yield O(vi.DF,I)},*handleDelete({payload:I},{call:O,put:L}){return yield O(vi.fn,I)},*startExperience({payload:I},{call:O,put:L}){return yield O(vi.Bd,I)},*cancel({payload:I},{call:O,put:L}){return yield O(vi.al,I)},*select({payload:I},{call:O,put:L}){return yield O(vi.Ys,I)},*examUnselectAll({payload:I},{call:O,put:L}){return yield O(vi.rV,I)},*basketDelete({payload:I},{call:O,put:L}){return yield O(vi.x5,I)},*unselectAll({payload:I},{call:O,put:L}){return yield O(vi.HF,I)},*addKnowledge({payload:I},{call:O,put:L}){return yield O(vi.U6,I)},*editProblemset({payload:I},{call:O,put:L}){return yield O(vi.Wk,I)},*addProblemset({payload:I},{call:O,put:L}){return yield O(vi.Mr,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ps({},I)}})}},reducers:{save(I,O){return ps(ps({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Qu=Object.defineProperty,uu=Object.getOwnPropertySymbols,As=Object.prototype.hasOwnProperty,Uu=Object.prototype.propertyIsEnumerable,Cu=(I,O,L)=>O in I?Qu(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,yo=(I,O)=>{for(var L in O||(O={}))As.call(O,L)&&Cu(I,L,O[L]);if(uu)for(var L of uu(O))Uu.call(O,L)&&Cu(I,L,O[L]);return I},_l={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:I},{call:O,put:L}){const me=yield O(vi.iT,I),Re=(0,Hi.r)(me);return yield L({type:"save",payload:{paperData:Re}}),me},*getEditDisciplines({payload:I},{call:O,put:L}){const me=yield O(vi.d1,I),Re=me==null?void 0:me.disciplines,qr=(0,Hi.L)(Re);return yield L({type:"save",payload:{courseOptions:qr,disciplinesData:yo({},me)}}),me},*setScore({payload:I},{call:O,put:L}){return yield O(vi.ts,I)},*handleDelete({payload:I},{call:O,put:L}){return yield O(vi.Cn,I)},*batchSetScore({payload:I},{call:O,put:L}){return yield O(vi.YP,I)},*batchDelete({payload:I},{call:O,put:L}){return yield O(vi.Hm,I)},*adjustPosition({payload:I},{call:O,put:L}){return yield O(vi.qN,I)},*newPreviewProblemset({payload:I},{call:O,put:L}){return yield O(vi.et,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:yo({},I)}})}},reducers:{save(I,O){return yo(yo({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},qo=e(506),ml=Object.defineProperty,Gs=Object.getOwnPropertySymbols,To=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,Wl=(I,O,L)=>O in I?ml(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Tu=(I,O)=>{for(var L in O||(O={}))To.call(O,L)&&Wl(I,L,O[L]);if(Gs)for(var L of Gs(O))mu.call(O,L)&&Wl(I,L,O[L]);return I},Pl={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:I},{call:O,put:L}){const me=yield O(qo.Go,I);return yield L({type:"save",payload:{restful:Tu({},me)}}),me},*getRestfulDetail({payload:I},{call:O,put:L}){const me=yield O(qo.H5,I);return yield L({type:"save",payload:{restfulDetail:Tu({},(me==null?void 0:me.data)||{})}}),(me==null?void 0:me.data)||{}},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Tu({},I)}})}},reducers:{save(I,O){return Tu(Tu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},ai=e(75736);const xc=(I={})=>{var O,L,me,Re,qr,Nn;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:(L=I==null?void 0:I.content_info)==null?void 0:L.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:(qr=I==null?void 0:I.perference_info)==null?void 0:qr.username,time:(Nn=I==null?void 0:I.perference_info)==null?void 0:Nn.time}]};var to=Object.defineProperty,Ec=Object.defineProperties,Jo=Object.getOwnPropertyDescriptors,Pu=Object.getOwnPropertySymbols,qu=Object.prototype.hasOwnProperty,zo=Object.prototype.propertyIsEnumerable,jc=(I,O,L)=>O in I?to(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,mo=(I,O)=>{for(var L in O||(O={}))qu.call(O,L)&&jc(I,L,O[L]);if(Pu)for(var L of Pu(O))zo.call(O,L)&&jc(I,L,O[L]);return I},lf=(I,O)=>Ec(I,Jo(O)),Uc={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:L}){const me=yield O(ai.Po,I);return yield L({type:"save",payload:{detail:mo({},me)}}),me},*getMirrorApplies({payload:I},{call:O,put:L}){const me=yield O(ai.tX,I);return yield L({type:"save",payload:{mirrorApplies:mo({},(me==null?void 0:me.data)||{})}}),me},*getRightData({payload:I},{call:O,put:L}){const me=yield O(ai.AQ,I);yield L({type:"save",payload:{rightData:mo({},me)}})},*getChallengesData({payload:I},{call:O,put:L}){const me=yield O(ai.n5,I);yield L({type:"save",payload:{challenges:mo({},me)}})},*saveCopyForExercise({payload:I},{call:O,put:L}){return yield O(ai.FB,I)},*execJupyter({payload:I},{call:O,put:L}){return yield O(ai.BK,I)},*execShixun({payload:I},{call:O,put:L}){const me=yield O(ai.Ir,I);return(me==null?void 0:me.status)===-3&&(0,La.eF)(),me},*openChallenge({payload:I},{call:O,put:L}){return yield O(ai.dK,I)},*challengeMoveUp({payload:I},{call:O,put:L}){return yield O(ai.zD,I)},*challengeMoveDown({payload:I},{call:O,put:L}){return yield O(ai.hn,I)},*cancelCollect({payload:I},{call:O,put:L}){return yield O(ai.rs,I)},*collect({payload:I},{call:O,put:L}){return yield O(ai.KM,I)},*searchUserCourses({payload:I},{call:O,put:L}){return yield O(ai._7,I)},*sendToCourse({payload:I},{call:O,put:L}){return yield O(ai.Q,I)},*cancelRelease({payload:I},{call:O,put:L}){return yield O(ai.Ne,I)},*cancelPublic({payload:I},{call:O,put:L}){return yield O(ai.Er,I)},*applyPublic({payload:I},{call:O,put:L}){return yield O(ai.WO,I)},*release({payload:I},{call:O,put:L}){return yield O(ai.Ar,I)},*updateAuditSituation({payload:I},{call:O,put:L}){return yield O(ai.LP,I)},*getCollaboratorsData({payload:I},{call:O,put:L}){return yield O(ai.j8,I)},*addCollaborator({payload:I},{call:O,put:L}){return yield O(ai.OV,I)},*addTeachGroupMember({payload:I},{call:O,put:L}){return yield O(ai.l3,I)},*getChangeManager({payload:I},{call:O,put:L}){return yield O(ai.P2,I)},*changeManager({payload:I},{call:O,put:L}){return yield O(ai.X$,I)},*deleteCollaborators({payload:I},{call:O,put:L}){return yield O(ai.xk,I)},*getRankingList({payload:I},{call:O,put:L}){return yield O(ai.E4,I)},*getMirrorScript({payload:I},{call:O,put:L}){return yield O(ai.Z2,I)},*getScriptContent({payload:I},{call:O,put:L}){return yield O(ai.Bj,I)},*getCustomScript({payload:I},{call:O,put:L}){return yield O(ai.Wi,I)},*updateSettingBasicInfo({payload:I},{call:O,put:L}){return yield O(ai.ZO,I)},*getShixunQuote({payload:I},{call:O,put:L}){return yield O(ai.Gr,I)},*deleteShixun({payload:I},{call:O,put:L}){return yield O(ai.Ps,I)},*permanentClose({payload:I},{call:O,put:L}){return yield O(ai.U9,I)},*getDepartments({payload:I},{call:O,put:L}){return yield O(ai.Ql,I)},*updatePermissionSetting({payload:I},{call:O,put:L}){return yield O(ai.aH,I)},*updateLearnSetting({payload:I},{call:O,put:L}){return yield O(ai.yE,I)},*updateSetting({payload:I},{call:O,put:L}){return yield O(ai.m7,I)},*getSetData({payload:I},{call:O,put:L}){return yield O(ai.U0,I)},*deleteDataSet({payload:I},{call:O,put:L}){return yield O(ai.uo,I)},*deleteGitFile({payload:I},{call:O,put:L}){return yield O(ai.sr,I)},*deleteGitFiles({payload:I},{call:O,put:L}){return yield O(ai.p0,I)},*moveGitFile({payload:I},{call:O,put:L}){return yield O(ai.IT,I)},*moveGitFiles({payload:I},{call:O,put:L}){return yield O(ai.t2,I)},*getRepository({payload:I},{call:O,put:L}){const me=yield O(ai.Ag,I);return yield L({type:"save",payload:{repository:mo({},me)}}),mo({},me)},*getRepositorys({payload:I},{call:O,put:L}){const me=yield O(ai.Wl,I);return yield L({type:"save",payload:{repository:mo({},me)}}),mo({},me)},*getRepositorys({payload:I},{call:O,put:L}){const me=yield O(ai.Wl,I);return yield L({type:"save",payload:{repository:mo({},me)}}),mo({},me)},*getSecretRepository({payload:I},{call:O,put:L}){const me=yield O(ai.w,I);return yield L({type:"save",payload:{secretRepository:mo({},me)}}),me},*addRepositoryFile({payload:I},{call:O,put:L}){return yield O(ai.v3,I)},*addRepositoryFiles({payload:I},{call:O,put:L}){return yield O(ai.fL,I)},*getRepositoryCommit({payload:I},{call:O,put:L}){return yield O(ai.Je,I)},*getFileContent({payload:I},{call:O,put:L}){const me=yield O(ai.LK,I);return yield L({type:"save",payload:{fileContent:lf(mo({},me),{params:I})}}),me},*getFileContents({payload:I},{call:O,put:L}){const me=yield O(ai.nu,I);return yield L({type:"save",payload:{fileContent:lf(mo({},me),{params:I})}}),me},*updateRepositoryFile({payload:I},{call:O,put:L}){return yield O(ai.kF,I)},*updateRepositoryFiles({payload:I},{call:O,put:L}){return yield O(ai.jq,I)},*uploadGitFolder({payload:I},{call:O,put:L}){return yield O(ai.Op,I)},*updateCollaboratorEditable({payload:I},{call:O,put:L}){return yield O(ai.Dz,I)},*getSettingsData({payload:I},{call:O,put:L}){const me=yield O(ai.DC,I);yield L({type:"save",payload:{setting:mo({},me)}})},*getChallengesNew({payload:I},{call:O,put:L}){const me=yield O(ai.km,I);yield L({type:"save",payload:{challengesNew:mo({},me)}})},*getChallengesEdit({payload:I},{call:O,put:L}){const me=yield O(ai.q0,I);return yield L({type:"save",payload:{challengesEdit:mo({},me)}}),me},*getAuditSituationData({payload:I},{call:O,put:L}){const me=yield O(ai.GI,I),Re=xc(me);yield L({type:"save",payload:{auditSituationData:Re}})},*getEditChallengesQuestion({payload:I},{call:O,put:L}){const me=yield O(ai.UQ,I);return yield L({type:"save",payload:{editChallengesQuestion:me}}),me},*getInfoWithJupyterLab({payload:I},{call:O,put:L}){const me=yield O(ai.mI,I);return yield L({type:"save",payload:{infoWithJupyterLab:me}}),me},*setActionTabs({payload:I},{call:O,put:L}){yield L({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:L})=>{L==="/"&&I({type:"query"})})}}},Il=Object.defineProperty,vl=Object.getOwnPropertySymbols,Dl=Object.prototype.hasOwnProperty,Fo=Object.prototype.propertyIsEnumerable,Ol=(I,O,L)=>O in I?Il(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Us=(I,O)=>{for(var L in O||(O={}))Dl.call(O,L)&&Ol(I,L,O[L]);if(vl)for(var L of vl(O))Fo.call(O,L)&&Ol(I,L,O[L]);return I},Fs={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:L}){const me=yield O(ai.he,I),Re=Us({},I);return yield L({type:"save",payload:Us({listParams:Re},me)}),me},*getMenus({payload:I},{call:O,put:L}){var me;const Re=yield O(ai.I_,I);(me=Re==null?void 0:Re.disciplines)==null||me.map(qr=>(qr.sub_repertoires=qr.sub_disciplines,qr)),yield L({type:"save",payload:{menus:[...(Re==null?void 0:Re.disciplines)||[]]}})},*clearListParams({payload:I},{call:O,put:L}){yield L({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 Us(Us({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Gl=Object.defineProperty,gl=Object.getOwnPropertySymbols,nu=Object.prototype.hasOwnProperty,wc=Object.prototype.propertyIsEnumerable,Sc=(I,O,L)=>O in I?Gl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,iu=(I,O)=>{for(var L in O||(O={}))nu.call(O,L)&&Sc(I,L,O[L]);if(gl)for(var L of gl(O))wc.call(O,L)&&Sc(I,L,O[L]);return I},vu={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:I},{call:O,put:L}){const me=yield O(ai.b8,I);return yield L({type:"save",payload:{newData:iu({},me)}}),me},*deleteAttachment({payload:I},{call:O,put:L}){return yield O(ai.OW,I)},*applyShixunMirror({payload:I},{call:O,put:L}){return yield O(ai.EH,I)},*submitShixuns({payload:I},{call:O,put:L}){return yield O(ai.eX,I)},*getShixunsJupyterLab({payload:I},{call:O,put:L}){const me=yield O(ai.Gu,I);return yield L({type:"save",payload:{newData:iu({},me)}}),me},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:iu({},I)}})},*getEnvironmentData({payload:I},{call:O,put:L}){const me=yield O(ai.K,I);return console.log(me,"response"),yield L({type:"save",payload:{environmentData:iu({},me.data)}}),me}},reducers:{save(I,O){return iu(iu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},cc=Object.defineProperty,Ju=Object.getOwnPropertySymbols,ka=Object.prototype.hasOwnProperty,zc=Object.prototype.propertyIsEnumerable,Zc=(I,O,L)=>O in I?cc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,zu=(I,O)=>{for(var L in O||(O={}))ka.call(O,L)&&Zc(I,L,O[L]);if(Ju)for(var L of Ju(O))zc.call(O,L)&&Zc(I,L,O[L]);return I},ff={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:I},{call:O,put:L}){const me=yield O(ai.e,I);yield L({type:"save",payload:{ShixunUseInfos:me}})},*getRankList({payload:I},{call:O,put:L}){const me=yield O(ai.Fg,I);yield L({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:L}){const me=yield O(ai.Gz,I);yield L({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:I},{call:O,put:L}){const me=yield O(ai.hS,I);yield L({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:I},{call:O,put:L}){const me=yield O(ai.Hl,I);yield L({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return zu(zu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},fc=(I,O,L)=>new Promise((me,Re)=>{var qr=Oi=>{try{dn(L.next(Oi))}catch(Ya){Re(Ya)}},Nn=Oi=>{try{dn(L.throw(Oi))}catch(Ya){Re(Ya)}},dn=Oi=>Oi.done?me(Oi.value):Promise.resolve(Oi.value).then(qr,Nn);dn((L=L.apply(I,O)).next())});function au(I){return fc(this,null,function*(){return(0,aa.ZP)("/api/shixuns/new.json",{method:"Get",params:I})})}function Hc(I){return fc(this,null,function*(){return(0,aa.ZP)(`/api/shixuns/${I.id}/required_status.json`,{method:"Get",params:{}})})}var Vl=Object.defineProperty,yl=Object.defineProperties,Wc=Object.getOwnPropertyDescriptors,Kl=Object.getOwnPropertySymbols,Wo=Object.prototype.hasOwnProperty,Iu=Object.prototype.propertyIsEnumerable,dc=(I,O,L)=>O in I?Vl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Zu=(I,O)=>{for(var L in O||(O={}))Wo.call(O,L)&&dc(I,L,O[L]);if(Kl)for(var L of Kl(O))Iu.call(O,L)&&dc(I,L,O[L]);return I},Cc=(I,O)=>yl(I,Wc(O)),Yl={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:L}){yield L({type:"save",payload:Zu({},I)})},*getTestData({payload:I},{call:O,put:L}){const me=yield O(au,I);yield L({type:"save",payload:{data:me}})},*setUpdateIndex({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:I},{call:O,put:L}){const me=yield O(Hc,I);yield L({type:"save",payload:Zu({},me.data)})},*setSideBarTabs({payload:I},{call:O,put:L}){yield L({type:"sideBar",payload:Zu({},I)})}},reducers:{save(I,O){return Zu(Zu({},I),O.payload)},sideBar(I,O){return Cc(Zu({},I),{sideBar:Zu(Zu({},I.sideBar),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){}}},uo=e(86245),Xl=Object.defineProperty,Tc=Object.getOwnPropertySymbols,Du=Object.prototype.hasOwnProperty,Ou=Object.prototype.propertyIsEnumerable,lo=(I,O,L)=>O in I?Xl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,el=(I,O)=>{for(var L in O||(O={}))Du.call(O,L)&&lo(I,L,O[L]);if(Tc)for(var L of Tc(O))Ou.call(O,L)&&lo(I,L,O[L]);return I},Pc={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:I},{call:O,put:L}){const me=yield O(uo.JJ,I);return yield L({type:"save",payload:{homeworkBanksDetail:el({},me)}}),me},*getSystemUpdate({payload:I},{call:O,put:L}){const me=yield O(uo.n0,I);return yield L({type:"save",payload:{systemUpdate:el({},me)}}),me},*getHomepageInfo({payload:I},{call:O,put:L}){const me=yield O(uo.DA,I);return yield L({type:"save",payload:{homepageInfo:el({},me)}}),me},*signed({payload:I},{call:O,put:L}){return yield O(uo.qN,I)},*getCourses({payload:I},{call:O,put:L}){return yield O(uo.Ho,I)},*getShixuns({payload:I},{call:O,put:L}){return yield O(uo.rV,I)},*getPaths({payload:I},{call:O,put:L}){return yield O(uo.w3,I)},*getProjects({payload:I},{call:O,put:L}){return yield O(uo.mW,I)},*getVideos({payload:I},{call:O,put:L}){return yield O(uo.WY,I)},*getReviewVideos({payload:I},{call:O,put:L}){return yield O(uo.Qx,I)},*deleteVideo({payload:I},{call:O,put:L}){return yield O(uo.FM,I)},*getQuestionBanks({payload:I},{call:O,put:L}){return yield O(uo.ai,I)},*topicsSetPublic({payload:I},{call:O,put:L}){return yield O(uo.Cx,I)},*topicsDelete({payload:I},{call:O,put:L}){return yield O(uo.WS,I)},*topicGetCourseList({payload:I},{call:O,put:L}){return yield O(uo.gI,I)},*topicSendToClass({payload:I},{call:O,put:L}){return I.object_type==="videos"?yield O(uo.Fn,I):yield O(uo.Ef,I)},*logWatchHistory({payload:I},{call:O,put:L}){const me=yield O(uo.lO,I);return me==null?void 0:me.log_id},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:el({},I)}})}},reducers:{save(I,O){return el(el({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Vc=Object.defineProperty,bl=Object.getOwnPropertySymbols,Po=Object.prototype.hasOwnProperty,Rl=Object.prototype.propertyIsEnumerable,ze=(I,O,L)=>O in I?Vc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,gu=(I,O)=>{for(var L in O||(O={}))Po.call(O,L)&&ze(I,L,O[L]);if(bl)for(var L of bl(O))Rl.call(O,L)&&ze(I,L,O[L]);return I},eu=(I,O)=>{var L={};for(var me in I)Po.call(I,me)&&O.indexOf(me)<0&&(L[me]=I[me]);if(I!=null&&bl)for(var me of bl(I))O.indexOf(me)<0&&Rl.call(I,me)&&(L[me]=I[me]);return L},No={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:L}){const me=I,{to:Re}=me,qr=eu(me,["to"]);if(!(yield O(uo.Es,qr)).status)try{Re?f.history.replace(Re):location.reload()}catch(dn){}},*showPopLogin({payload:I},{put:O}){yield O({type:"save",payload:{showPopLogin:I.showPopLogin,showClosable:I.showClosable}})},*setBindAccountModal({payload:I},{put:O}){yield O({type:"save",payload:{bindAccountModalVisible:I.bindAccountModalVisible,userInfoForBindAccountModal:I.userInfoForBindAccountModal,loginInfo:I.loginInfo}})},*getUserInfo({payload:I},{call:O,put:L}){const me=yield O(uo.bG,gu({},I));return localStorage.userInfo=JSON.stringify(me),yield L({type:"save",payload:{userInfo:gu({},me)}}),me},*getNavigationInfo({payload:I},{call:O,put:L}){const me=yield O(uo.x4,gu({},I));yield L({type:"save",payload:{navigationInfo:gu({},me)}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:gu({},I)}})}},reducers:{save(I,O){return gu(gu({},I),O.payload)}}},Vs=e(49379),Go=Object.defineProperty,ku=Object.defineProperties,Io=Object.getOwnPropertyDescriptors,tl=Object.getOwnPropertySymbols,yu=Object.prototype.hasOwnProperty,hc=Object.prototype.propertyIsEnumerable,Ru=(I,O,L)=>O in I?Go(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Vo=(I,O)=>{for(var L in O||(O={}))yu.call(O,L)&&Ru(I,L,O[L]);if(tl)for(var L of tl(O))hc.call(O,L)&&Ru(I,L,O[L]);return I},rl=(I,O)=>ku(I,Io(O));const bu=()=>{var I,O,L,me,Re,qr,Nn;let dn=window.location.href.split("/");if(!dn.includes("video"))return;let Oi=(I=dn[dn.length-1])==null?void 0:I.split("?")[0];Oi=Number(Oi);const Ya=(L=(O=dn[dn.length-1])==null?void 0:O.split("?")[1])==null?void 0:L.split("=")[1];return((Re=(me=dn[dn.length-1])==null?void 0:me.split("?")[1])==null?void 0:Re.split("=")[0])==="subject_id"?{videoId:Oi,subject_id:Ya}:((Nn=(qr=dn[dn.length-1])==null?void 0:qr.split("?")[1])==null?void 0:Nn.split("=")[0])==="new_video_id"?{videoId:Oi,new_video_id:Ya}:{videoId:Oi,course_id:Ya}};var Kc={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:bu(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:I,callback:O},{call:L,put:me}){const Re=yield L(Fn.O2,I);return O?O(Re):yield me({type:"save",payload:{detail:Vo({},Re)}}),Re},*setVideoValue({payload:I},{call:O,put:L}){yield L({type:"save",payload:{detail:Vo({},I)}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Vo({},I)}})},*setVideoTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{videoTabs:Vo({},I)}})},*setSelectValue({payload:I},{call:O,put:L}){yield L({type:"save",payload:{selectParams:Vo({},I)}})},*getStageData({payload:I},{call:O,put:L,select:me}){const Re=yield O(Fn.yN,I),qr=yield O(Wi.lk,{id:I.subject_id}),{queryParams:Nn}=yield me(Ma=>Ma.videoDetail),{stages:dn=[]}=Re,Oi=[];let Ya=[],Oa={};const Do=Ma=>{Ma.forEach(co=>{String(co.id)===String(Nn.videoId)&&(Oa=co),co.item_type==="VideoItem"?Oi.push(co):co.item_type==="Attachment"&&Ya.push(co),co.children&&co.children.length&&Do(co.children)})};dn==null||dn.forEach(Ma=>{Do(Ma.items)}),window.filterVideoSign=[...Oi],yield L({type:"save",payload:{stages:dn,active:Oa,cust_seq:qr.cust_seq,videoList:Oi,attachmentList:Ya}})},*getVideoData({payload:I},{call:O,put:L,select:me}){const Re=yield O(Fn.fn,I),{categories:qr=[],coruse_videos:Nn=[]}=Re;yield L({type:"save",payload:{stages:(qr==null?void 0:qr.length)>0?qr:[{coruse_videos:Nn,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:I},{call:O,put:L,select:me}){const Re=yield O(Vs.R7,I),{queryParams:qr}=yield me(Do=>Do.videoDetail),{stages:Nn}=Re;let dn=[],Oi=[],Ya={};const Oa=Do=>{Do.forEach(Ma=>{String(Ma.id)===String(qr.videoId)&&(Ya=Ma),Ma.item_type==="VideoItem"?dn.push(Ma):Ma.item_type==="Attachment"&&Oi.push(Ma),Ma.children&&Ma.children.length&&Oa(Ma.children)})};Nn==null||Nn.forEach(Do=>{Oa(Do.items)}),window.filterVideoSign=[...dn],yield L({type:"save",payload:{active:Ya,stages:Nn,cust_seq:!0,videoList:dn,attachmentList:Oi}})}},reducers:{save(I,O){return Vo(Vo({},I),O.payload)},handleListItemClick(I,O){const{videoList:L,attachmentList:me}=I,Re=O.payload.videoId||O.payload.attachmentId,qr=[...L,...me].find(Nn=>`${Nn.id}`==`${Re}`);return rl(Vo({},I),{active:qr,queryParams:Vo(Vo({},bu()),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Zo=e(466),xu=Object.defineProperty,nl=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,Ql=Object.prototype.propertyIsEnumerable,ql=(I,O,L)=>O in I?xu(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,xl=(I,O)=>{for(var L in O||(O={}))il.call(O,L)&&ql(I,L,O[L]);if(nl)for(var L of nl(O))Ql.call(O,L)&&ql(I,L,O[L]);return I},Ml={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:L}){const me=yield O(Zo.y2,I);return yield L({type:"save",payload:{Workplace:{BaseData:me.data}}}),me},*putEditDiscussion({payload:I},{call:O,put:L}){return yield O(Zo.CH,I)},*getDiscussionDetail({payload:I},{call:O,put:L}){const me=yield O(Zo.XQ,I);return yield L({type:"save",payload:{DiscussionDetail:me}}),me},*postDiscussionList({payload:I},{call:O,put:L}){return yield O(Zo.Ll,I)},*getDiscussionList({payload:I},{call:O,put:L}){const me=yield O(Zo.EA,I);return yield L({type:"save",payload:{DiscussionList:me}}),me},*postAddLessonRes({payload:I},{call:O,put:L}){return yield O(Zo.cZ,I)},*getLessonResourcesList({payload:I},{call:O,put:L}){const me=yield O(Zo.b,I);return yield L({type:"save",payload:{LessonResList:me}}),me},*putGoodLessonsDetail({payload:I},{call:O,put:L}){return yield O(Zo.To,I)},*getGoodLessonsDetail({payload:I},{call:O,put:L}){const me=yield O(Zo.FU,I);return yield L({type:"save",payload:{LessonDetail:me}}),me},*postGoodLessonsList({payload:I},{call:O,put:L}){return yield O(Zo.Vf,I)},*getGoodLessonsList({payload:I},{call:O,put:L}){const me=yield O(Zo.G_,I);return yield L({type:"save",payload:{LessonsList:me}}),me},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:xl({},I)}})},*setShowMenu({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showMenu:I}})},*getVirtualSpacesDetails({payload:I},{call:O,put:L}){const me=yield O(Zo.sT,I);yield L({type:"save",payload:{virtualSpacesDetails:xl({},me)}})},*setVirtualSpacesLoading({payload:I},{call:O,put:L}){yield L({type:"save",payload:{loading:I}})},*getVirtualSpacesMenus({payload:I},{call:O,put:L}){const me=yield O(Zo.Sl,I);return yield L({type:"save",payload:{menus:me}}),me}},reducers:{save(I,O){return xl(xl({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}};const Jl={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:Y},model_3:{namespace:"classrooms.attachment",model:oe},model_4:{namespace:"classrooms.boards",model:ke},model_5:{namespace:"classrooms.exercise",model:Xe},model_6:{namespace:"classrooms.graduation",model:Se},model_7:{namespace:"classrooms.homeworks",model:Yt},model_8:{namespace:"classrooms.index",model:Te},model_9:{namespace:"classrooms.new",model:gt},model_10:{namespace:"classrooms.overview",model:Fr},model_11:{namespace:"classrooms.polls",model:Ut},model_12:{namespace:"classrooms.teacher",model:pn},model_13:{namespace:"classrooms.video",model:na},model_14:{namespace:"competitions.index",model:bi},model_15:{namespace:"engineering.evaluateDetail",model:Je},model_16:{namespace:"engineering.evaluateList",model:An.Z},model_17:{namespace:"engineering.index",model:_n},model_18:{namespace:"engineering.navigation",model:da},model_19:{namespace:"engineering.normDetail",model:Yi},model_20:{namespace:"engineering.normList",model:Da},model_21:{namespace:"forums.detail",model:Eo},model_22:{namespace:"forums.index",model:Qs},model_23:{namespace:"globalSetting",model:Ro},model_24:{namespace:"graduations.index",model:qt},model_25:{namespace:"homePage",model:xr},model_26:{namespace:"innovation.index",model:Ii},model_27:{namespace:"intraincourse.index",model:ti},model_28:{namespace:"loading",model:Ai},model_29:{namespace:"messages.index",model:Ss},model_30:{namespace:"paperlibrary.index",model:br},model_31:{namespace:"paperlibrary.newPaper",model:ca},model_32:{namespace:"paths.detail",model:_u},model_33:{namespace:"paths.index",model:Tt},model_34:{namespace:"paths.new",model:Zn},model_35:{namespace:"paths.overview",model:ks},model_36:{namespace:"problemset.index",model:ju},model_37:{namespace:"problemset.preview",model:_l},model_38:{namespace:"resetFul.index",model:Pl},model_39:{namespace:"shixuns.detail",model:Uc},model_40:{namespace:"shixuns.index",model:Fs},model_41:{namespace:"shixuns.new",model:vu},model_42:{namespace:"shixuns.overview",model:ff},model_43:{namespace:"shixuns.practiceSetting",model:Yl},model_44:{namespace:"user.detail",model:Pc},model_45:{namespace:"user.index",model:No},model_46:{namespace:"video.detail",model:Kc},model_47:{namespace:"virtualSpaces.index",model:Ml}};var Eu=Object.defineProperty,Xc=Object.getOwnPropertySymbols,pc=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,lu=(I,O,L)=>O in I?Eu(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,ec=(I,O)=>{for(var L in O||(O={}))pc.call(O,L)&&lu(I,L,O[L]);if(Xc)for(var L of Xc(O))Lu.call(O,L)&&lu(I,L,O[L]);return I};let _c;function mc(I){const{pluginManager:O}=(0,f.useAppData)(),L=(0,c.useRef)(),me=O.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!L.current){L.current=(0,r.Ue)(ec({history:f.history},me.config||{}),{initialReducer:{},setupMiddlewares(Re){return[...Re]},setupApp(Re){Re._history=f.history}}),_c=L.current,L.current.use(l()()),(me.plugins||[]).forEach(Re=>{L.current.use(Re)});for(const Re of Object.keys(Jl))L.current.model(ec({namespace:Jl[Re].namespace},Jl[Re].model));L.current.start()}return c.createElement(r.zt,{store:L.current._store},I.children)}function Dc(){return _c}},18956:function(d,v,e){"use strict";e.d(v,{PZ:function(){return ei},eU:function(){return a},B:function(){return yi},Mg:function(){return pt},lw:function(){return _t},Kd:function(){return It},H8:function(){return bi}});var r=e(59301),i=e(94266),l=e.n(i);const c=l()||i;function f(Ue){return Ue.displayName||Ue.name||"Component"}const o=r.createContext(null),{Consumer:h,Provider:u}=o,a=u,x=null;function p(Ue,Je){const{intlPropName:Ee="intl",forwardRef:st=!1,enforceContext:nr=!0}=Je||{},Lr=Or=>React.createElement(h,null,Ir=>(nr&&invariantIntlContext(Ir),React.createElement(Ue,Object.assign({},Or,{[Ee]:Ir},{ref:st?Or.forwardedRef:null}))));return Lr.displayName=`injectIntl(${f(Ue)})`,Lr.WrappedComponent=Ue,c(st?React.forwardRef((Or,Ir)=>React.createElement(Lr,Object.assign({},Or,{forwardedRef:Ir}))):Lr,Ue)}var y;(function(Ue){Ue[Ue.literal=0]="literal",Ue[Ue.argument=1]="argument",Ue[Ue.number=2]="number",Ue[Ue.date=3]="date",Ue[Ue.time=4]="time",Ue[Ue.select=5]="select",Ue[Ue.plural=6]="plural",Ue[Ue.pound=7]="pound"})(y||(y={}));function _(Ue){return Ue.type===y.literal}function b(Ue){return Ue.type===y.argument}function S(Ue){return Ue.type===y.number}function k(Ue){return Ue.type===y.date}function R(Ue){return Ue.type===y.time}function A(Ue){return Ue.type===y.select}function D(Ue){return Ue.type===y.plural}function M(Ue){return Ue.type===y.pound}function B(Ue){return!!(Ue&&typeof Ue=="object"&&Ue.type===0)}function j(Ue){return!!(Ue&&typeof Ue=="object"&&Ue.type===1)}function Y(Ue){return{type:y.literal,value:Ue}}function V(Ue,Je){return{type:y.number,value:Ue,style:Je}}var G=function(){var Ue=function(Je,Ee){return Ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(st,nr){st.__proto__=nr}||function(st,nr){for(var Lr in nr)nr.hasOwnProperty(Lr)&&(st[Lr]=nr[Lr])},Ue(Je,Ee)};return function(Je,Ee){Ue(Je,Ee);function st(){this.constructor=Je}Je.prototype=Ee===null?Object.create(Ee):(st.prototype=Ee.prototype,new st)}}(),ae=function(){return ae=Object.assign||function(Ue){for(var Je,Ee=1,st=arguments.length;Ee<st;Ee++){Je=arguments[Ee];for(var nr in Je)Object.prototype.hasOwnProperty.call(Je,nr)&&(Ue[nr]=Je[nr])}return Ue},ae.apply(this,arguments)},ie=function(Ue){G(Je,Ue);function Je(Ee,st,nr,Lr){var Or=Ue.call(this)||this;return Or.message=Ee,Or.expected=st,Or.found=nr,Or.location=Lr,Or.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(Or,Je),Or}return Je.buildMessage=function(Ee,st){function nr(Pr){return Pr.charCodeAt(0).toString(16).toUpperCase()}function Lr(Pr){return Pr.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(fn){return"\\x0"+nr(fn)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(fn){return"\\x"+nr(fn)})}function Or(Pr){return Pr.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(fn){return"\\x0"+nr(fn)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(fn){return"\\x"+nr(fn)})}function Ir(Pr){switch(Pr.type){case"literal":return'"'+Lr(Pr.text)+'"';case"class":var fn=Pr.parts.map(function(nn){return Array.isArray(nn)?Or(nn[0])+"-"+Or(nn[1]):Or(nn)});return"["+(Pr.inverted?"^":"")+fn+"]";case"any":return"any character";case"end":return"end of input";case"other":return Pr.description}}function Ur(Pr){var fn=Pr.map(Ir),nn,on;if(fn.sort(),fn.length>0){for(nn=1,on=1;nn<fn.length;nn++)fn[nn-1]!==fn[nn]&&(fn[on]=fn[nn],on++);fn.length=on}switch(fn.length){case 1:return fn[0];case 2:return fn[0]+" or "+fn[1];default:return fn.slice(0,-1).join(", ")+", or "+fn[fn.length-1]}}function _n(Pr){return Pr?'"'+Lr(Pr)+'"':"end of input"}return"Expected "+Ur(Ee)+" but "+_n(st)+" found."},Je}(Error);function ue(Ue,Je){Je=Je!==void 0?Je:{};var Ee={},st={start:Ye},nr=Ye,Lr=function(ye){return ye.join("")},Or=function(ye){return ae({type:y.literal,value:ye},ha())},Ir="#",Ur=li("#",!1),_n=function(){return ae({type:y.pound},ha())},Pr=ya("argumentElement"),fn="{",nn=li("{",!1),on="}",Sn=li("}",!1),va=function(ye){return ae({type:y.argument,value:ye},ha())},wi=ya("numberSkeletonId"),_i=/^['\/{}]/,vn=Ws(["'","/","{","}"],!1,!1),si=Uo(),Bi=ya("numberSkeletonTokenOption"),da="/",Ha=li("/",!1),Ta=function(ye){return ye},fs=ya("numberSkeletonToken"),Es=function(ye,we){return{stem:ye,options:we}},Wa=function(ye){return ae({type:0,tokens:ye},ha())},mi="::",ia=li("::",!1),os=function(ye){return ye},Ga=function(){return Hi.push("numberArgStyle"),!0},Is=function(ye){return Hi.pop(),ye.replace(/\s*$/,"")},Yi=",",ms=li(",",!1),bo="number",Ni=li("number",!1),vs=function(ye,we,Ar){return ae({type:we==="number"?y.number:we==="date"?y.date:y.time,style:Ar&&Ar[2],value:ye},ha())},Na="'",Ys=li("'",!1),Dn=/^[^']/,$a=Ws(["'"],!0,!1),cs=/^[^a-zA-Z'{}]/,ja=Ws([["a","z"],["A","Z"],"'","{","}"],!0,!1),zi=/^[a-zA-Z]/,Ra=Ws([["a","z"],["A","Z"]],!1,!1),Da=function(ye){return ae({type:1,pattern:ye},ha())},ws=function(){return Hi.push("dateOrTimeArgStyle"),!0},Xs="date",xo=li("date",!1),ho="time",wa=li("time",!1),gs="plural",Zs=li("plural",!1),no="selectordinal",Eo=li("selectordinal",!1),wo="offset:",po=li("offset:",!1),di=function(ye,we,Ar,Jr){return ae({type:y.plural,pluralType:we==="plural"?"cardinal":"ordinal",value:ye,offset:Ar?Ar[2]:0,options:Jr.reduce(function(br,Xr){var wn=Xr.id,Jn=Xr.value,Mi=Xr.location;return wn in br&&Ds('Duplicate option "'+wn+'" in plural element: "'+ga()+'"',Ii()),br[wn]={value:Jn,location:Mi},br},{})},ha())},ci="select",Ua=li("select",!1),Qa=function(ye,we){return ae({type:y.select,value:ye,options:we.reduce(function(Ar,Jr){var br=Jr.id,Xr=Jr.value,wn=Jr.location;return br in Ar&&Ds('Duplicate option "'+br+'" in select element: "'+ga()+'"',Ii()),Ar[br]={value:Xr,location:wn},Ar},{})},ha())},qa="=",Qs=li("=",!1),qs=function(ye){return Hi.push("select"),!0},Qo=function(ye,we){return Hi.pop(),ae({id:ye,value:we},ha())},ds=function(ye){return Hi.push("plural"),!0},Oo=function(ye,we){return Hi.pop(),ae({id:ye,value:we},ha())},ko=ya("whitespace"),Ho=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Su=Ws([[" ","\r"]," ","\x85","\xA0","\u1680",["\u2000","\u200A"],"\u2028","\u2029","\u202F","\u205F","\u3000"],!1,!1),So=ya("syntax pattern"),_o=/^[!-\/:-@[-\^`{-~\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]/,Js=Ws([["!","/"],[":","@"],["[","^"],"`",["{","~"],["\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),$u=ya("optional whitespace"),Ro=ya("number"),Lo="-",Hs=li("-",!1),du=function(ye,we){return we?ye?-we:we:0},jo=ya("apostrophe"),Ao=ya("double apostrophes"),Bs="''",Rs=li("''",!1),hu=function(){return"'"},Au=function(ye,we){return ye+we.replace("''","'")},qt=function(ye){return ye!=="{"&&!(Os()&&ye==="#")&&!(Ba()&&ye==="}")},hr=`
|
|
|
`,or=li(`
|
|
|
`,!1),vr=function(ye){return ye==="{"||ye==="}"||Os()&&ye==="#"},wr=ya("argNameOrNumber"),yn=ya("argNumber"),En="0",$n=li("0",!1),Ln=function(){return 0},Vn=/^[1-9]/,ur=Ws([["1","9"]],!1,!1),Nr=/^[0-9]/,xr=Ws([["0","9"]],!1,!1),hn=function(ye){return parseInt(ye.join(""),10)},Wn=ya("argName"),ft=0,Pn=0,Kn=[{line:1,column:1}],ui=0,Xi=[],$r=0,Vr;if(Je.startRule!==void 0){if(!(Je.startRule in st))throw new Error(`Can't start parsing from rule "`+Je.startRule+'".');nr=st[Je.startRule]}function ga(){return Ue.substring(Pn,ft)}function Ii(){return ys(Pn,ft)}function aa(ye,we){throw we=we!==void 0?we:ys(Pn,ft),$s([ya(ye)],Ue.substring(Pn,ft),we)}function Ds(ye,we){throw we=we!==void 0?we:ys(Pn,ft),Ns(ye,we)}function li(ye,we){return{type:"literal",text:ye,ignoreCase:we}}function Ws(ye,we,Ar){return{type:"class",parts:ye,inverted:we,ignoreCase:Ar}}function Uo(){return{type:"any"}}function Ls(){return{type:"end"}}function ya(ye){return{type:"other",description:ye}}function Va(ye){var we=Kn[ye],Ar;if(we)return we;for(Ar=ye-1;!Kn[Ar];)Ar--;for(we=Kn[Ar],we={line:we.line,column:we.column};Ar<ye;)Ue.charCodeAt(Ar)===10?(we.line++,we.column=1):we.column++,Ar++;return Kn[ye]=we,we}function ys(ye,we){var Ar=Va(ye),Jr=Va(we);return{start:{offset:ye,line:Ar.line,column:Ar.column},end:{offset:we,line:Jr.line,column:Jr.column}}}function Mn(ye){ft<ui||(ft>ui&&(ui=ft,Xi=[]),Xi.push(ye))}function Ns(ye,we){return new ie(ye,[],"",we)}function $s(ye,we,Ar){return new ie(ie.buildMessage(ye,we),ye,we,Ar)}function Ye(){var ye;return ye=Qe(),ye}function Qe(){var ye,we;for(ye=[],we=Mt();we!==Ee;)ye.push(we),we=Mt();return ye}function Mt(){var ye;return ye=pr(),ye===Ee&&(ye=Zr(),ye===Ee&&(ye=Di(),ye===Ee&&(ye=hi(),ye===Ee&&(ye=la(),ye===Ee&&(ye=Mr()))))),ye}function Kt(){var ye,we,Ar;if(ye=ft,we=[],Ar=Fa(),Ar===Ee&&(Ar=io(),Ar===Ee&&(Ar=Ja())),Ar!==Ee)for(;Ar!==Ee;)we.push(Ar),Ar=Fa(),Ar===Ee&&(Ar=io(),Ar===Ee&&(Ar=Ja()));else we=Ee;return we!==Ee&&(Pn=ye,we=Lr(we)),ye=we,ye}function pr(){var ye,we;return ye=ft,we=Kt(),we!==Ee&&(Pn=ye,we=Or(we)),ye=we,ye}function Mr(){var ye,we;return ye=ft,Ue.charCodeAt(ft)===35?(we=Ir,ft++):(we=Ee,$r===0&&Mn(Ur)),we!==Ee&&(Pn=ye,we=_n()),ye=we,ye}function Zr(){var ye,we,Ar,Jr,br,Xr;return $r++,ye=ft,Ue.charCodeAt(ft)===123?(we=fn,ft++):(we=Ee,$r===0&&Mn(nn)),we!==Ee?(Ar=Ri(),Ar!==Ee?(Jr=es(),Jr!==Ee?(br=Ri(),br!==Ee?(Ue.charCodeAt(ft)===125?(Xr=on,ft++):(Xr=Ee,$r===0&&Mn(Sn)),Xr!==Ee?(Pn=ye,we=va(Jr),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),$r--,ye===Ee&&(we=Ee,$r===0&&Mn(Pr)),ye}function mn(){var ye,we,Ar,Jr,br;if($r++,ye=ft,we=[],Ar=ft,Jr=ft,$r++,br=La(),br===Ee&&(_i.test(Ue.charAt(ft))?(br=Ue.charAt(ft),ft++):(br=Ee,$r===0&&Mn(vn))),$r--,br===Ee?Jr=void 0:(ft=Jr,Jr=Ee),Jr!==Ee?(Ue.length>ft?(br=Ue.charAt(ft),ft++):(br=Ee,$r===0&&Mn(si)),br!==Ee?(Jr=[Jr,br],Ar=Jr):(ft=Ar,Ar=Ee)):(ft=Ar,Ar=Ee),Ar!==Ee)for(;Ar!==Ee;)we.push(Ar),Ar=ft,Jr=ft,$r++,br=La(),br===Ee&&(_i.test(Ue.charAt(ft))?(br=Ue.charAt(ft),ft++):(br=Ee,$r===0&&Mn(vn))),$r--,br===Ee?Jr=void 0:(ft=Jr,Jr=Ee),Jr!==Ee?(Ue.length>ft?(br=Ue.charAt(ft),ft++):(br=Ee,$r===0&&Mn(si)),br!==Ee?(Jr=[Jr,br],Ar=Jr):(ft=Ar,Ar=Ee)):(ft=Ar,Ar=Ee);else we=Ee;return we!==Ee?ye=Ue.substring(ye,ft):ye=we,$r--,ye===Ee&&(we=Ee,$r===0&&Mn(wi)),ye}function rn(){var ye,we,Ar;return $r++,ye=ft,Ue.charCodeAt(ft)===47?(we=da,ft++):(we=Ee,$r===0&&Mn(Ha)),we!==Ee?(Ar=mn(),Ar!==Ee?(Pn=ye,we=Ta(Ar),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),$r--,ye===Ee&&(we=Ee,$r===0&&Mn(Bi)),ye}function bn(){var ye,we,Ar,Jr,br;if($r++,ye=ft,we=Ri(),we!==Ee)if(Ar=mn(),Ar!==Ee){for(Jr=[],br=rn();br!==Ee;)Jr.push(br),br=rn();Jr!==Ee?(Pn=ye,we=Es(Ar,Jr),ye=we):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;else ft=ye,ye=Ee;return $r--,ye===Ee&&(we=Ee,$r===0&&Mn(fs)),ye}function Yn(){var ye,we,Ar;if(ye=ft,we=[],Ar=bn(),Ar!==Ee)for(;Ar!==Ee;)we.push(Ar),Ar=bn();else we=Ee;return we!==Ee&&(Pn=ye,we=Wa(we)),ye=we,ye}function ti(){var ye,we,Ar;return ye=ft,Ue.substr(ft,2)===mi?(we=mi,ft+=2):(we=Ee,$r===0&&Mn(ia)),we!==Ee?(Ar=Yn(),Ar!==Ee?(Pn=ye,we=os(Ar),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye===Ee&&(ye=ft,Pn=ft,we=Ga(),we?we=void 0:we=Ee,we!==Ee?(Ar=Kt(),Ar!==Ee?(Pn=ye,we=Is(Ar),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)),ye}function xi(){var ye,we,Ar,Jr,br,Xr,wn,Jn,Mi,On,kn,Bn,ca;return ye=ft,Ue.charCodeAt(ft)===123?(we=fn,ft++):(we=Ee,$r===0&&Mn(nn)),we!==Ee?(Ar=Ri(),Ar!==Ee?(Jr=es(),Jr!==Ee?(br=Ri(),br!==Ee?(Ue.charCodeAt(ft)===44?(Xr=Yi,ft++):(Xr=Ee,$r===0&&Mn(ms)),Xr!==Ee?(wn=Ri(),wn!==Ee?(Ue.substr(ft,6)===bo?(Jn=bo,ft+=6):(Jn=Ee,$r===0&&Mn(Ni)),Jn!==Ee?(Mi=Ri(),Mi!==Ee?(On=ft,Ue.charCodeAt(ft)===44?(kn=Yi,ft++):(kn=Ee,$r===0&&Mn(ms)),kn!==Ee?(Bn=Ri(),Bn!==Ee?(ca=ti(),ca!==Ee?(kn=[kn,Bn,ca],On=kn):(ft=On,On=Ee)):(ft=On,On=Ee)):(ft=On,On=Ee),On===Ee&&(On=null),On!==Ee?(kn=Ri(),kn!==Ee?(Ue.charCodeAt(ft)===125?(Bn=on,ft++):(Bn=Ee,$r===0&&Mn(Sn)),Bn!==Ee?(Pn=ye,we=vs(Jr,Jn,On),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye}function Ai(){var ye,we,Ar,Jr;if(ye=ft,Ue.charCodeAt(ft)===39?(we=Na,ft++):(we=Ee,$r===0&&Mn(Ys)),we!==Ee){if(Ar=[],Jr=Fa(),Jr===Ee&&(Dn.test(Ue.charAt(ft))?(Jr=Ue.charAt(ft),ft++):(Jr=Ee,$r===0&&Mn($a))),Jr!==Ee)for(;Jr!==Ee;)Ar.push(Jr),Jr=Fa(),Jr===Ee&&(Dn.test(Ue.charAt(ft))?(Jr=Ue.charAt(ft),ft++):(Jr=Ee,$r===0&&Mn($a)));else Ar=Ee;Ar!==Ee?(Ue.charCodeAt(ft)===39?(Jr=Na,ft++):(Jr=Ee,$r===0&&Mn(Ys)),Jr!==Ee?(we=[we,Ar,Jr],ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;if(ye===Ee)if(ye=[],we=Fa(),we===Ee&&(cs.test(Ue.charAt(ft))?(we=Ue.charAt(ft),ft++):(we=Ee,$r===0&&Mn(ja))),we!==Ee)for(;we!==Ee;)ye.push(we),we=Fa(),we===Ee&&(cs.test(Ue.charAt(ft))?(we=Ue.charAt(ft),ft++):(we=Ee,$r===0&&Mn(ja)));else ye=Ee;return ye}function Zi(){var ye,we;if(ye=[],zi.test(Ue.charAt(ft))?(we=Ue.charAt(ft),ft++):(we=Ee,$r===0&&Mn(Ra)),we!==Ee)for(;we!==Ee;)ye.push(we),zi.test(Ue.charAt(ft))?(we=Ue.charAt(ft),ft++):(we=Ee,$r===0&&Mn(Ra));else ye=Ee;return ye}function $i(){var ye,we,Ar,Jr;if(ye=ft,we=ft,Ar=[],Jr=Ai(),Jr===Ee&&(Jr=Zi()),Jr!==Ee)for(;Jr!==Ee;)Ar.push(Jr),Jr=Ai(),Jr===Ee&&(Jr=Zi());else Ar=Ee;return Ar!==Ee?we=Ue.substring(we,ft):we=Ar,we!==Ee&&(Pn=ye,we=Da(we)),ye=we,ye}function Ei(){var ye,we,Ar;return ye=ft,Ue.substr(ft,2)===mi?(we=mi,ft+=2):(we=Ee,$r===0&&Mn(ia)),we!==Ee?(Ar=$i(),Ar!==Ee?(Pn=ye,we=os(Ar),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye===Ee&&(ye=ft,Pn=ft,we=ws(),we?we=void 0:we=Ee,we!==Ee?(Ar=Kt(),Ar!==Ee?(Pn=ye,we=Is(Ar),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)),ye}function ba(){var ye,we,Ar,Jr,br,Xr,wn,Jn,Mi,On,kn,Bn,ca;return ye=ft,Ue.charCodeAt(ft)===123?(we=fn,ft++):(we=Ee,$r===0&&Mn(nn)),we!==Ee?(Ar=Ri(),Ar!==Ee?(Jr=es(),Jr!==Ee?(br=Ri(),br!==Ee?(Ue.charCodeAt(ft)===44?(Xr=Yi,ft++):(Xr=Ee,$r===0&&Mn(ms)),Xr!==Ee?(wn=Ri(),wn!==Ee?(Ue.substr(ft,4)===Xs?(Jn=Xs,ft+=4):(Jn=Ee,$r===0&&Mn(xo)),Jn===Ee&&(Ue.substr(ft,4)===ho?(Jn=ho,ft+=4):(Jn=Ee,$r===0&&Mn(wa))),Jn!==Ee?(Mi=Ri(),Mi!==Ee?(On=ft,Ue.charCodeAt(ft)===44?(kn=Yi,ft++):(kn=Ee,$r===0&&Mn(ms)),kn!==Ee?(Bn=Ri(),Bn!==Ee?(ca=Ei(),ca!==Ee?(kn=[kn,Bn,ca],On=kn):(ft=On,On=Ee)):(ft=On,On=Ee)):(ft=On,On=Ee),On===Ee&&(On=null),On!==Ee?(kn=Ri(),kn!==Ee?(Ue.charCodeAt(ft)===125?(Bn=on,ft++):(Bn=Ee,$r===0&&Mn(Sn)),Bn!==Ee?(Pn=ye,we=vs(Jr,Jn,On),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye}function Di(){var ye;return ye=xi(),ye===Ee&&(ye=ba()),ye}function hi(){var ye,we,Ar,Jr,br,Xr,wn,Jn,Mi,On,kn,Bn,ca,Wi,vo,so;if(ye=ft,Ue.charCodeAt(ft)===123?(we=fn,ft++):(we=Ee,$r===0&&Mn(nn)),we!==Ee)if(Ar=Ri(),Ar!==Ee)if(Jr=es(),Jr!==Ee)if(br=Ri(),br!==Ee)if(Ue.charCodeAt(ft)===44?(Xr=Yi,ft++):(Xr=Ee,$r===0&&Mn(ms)),Xr!==Ee)if(wn=Ri(),wn!==Ee)if(Ue.substr(ft,6)===gs?(Jn=gs,ft+=6):(Jn=Ee,$r===0&&Mn(Zs)),Jn===Ee&&(Ue.substr(ft,13)===no?(Jn=no,ft+=13):(Jn=Ee,$r===0&&Mn(Eo))),Jn!==Ee)if(Mi=Ri(),Mi!==Ee)if(Ue.charCodeAt(ft)===44?(On=Yi,ft++):(On=Ee,$r===0&&Mn(ms)),On!==Ee)if(kn=Ri(),kn!==Ee)if(Bn=ft,Ue.substr(ft,7)===wo?(ca=wo,ft+=7):(ca=Ee,$r===0&&Mn(po)),ca!==Ee?(Wi=Ri(),Wi!==Ee?(vo=xa(),vo!==Ee?(ca=[ca,Wi,vo],Bn=ca):(ft=Bn,Bn=Ee)):(ft=Bn,Bn=Ee)):(ft=Bn,Bn=Ee),Bn===Ee&&(Bn=null),Bn!==Ee)if(ca=Ri(),ca!==Ee){if(Wi=[],vo=Qi(),vo!==Ee)for(;vo!==Ee;)Wi.push(vo),vo=Qi();else Wi=Ee;Wi!==Ee?(vo=Ri(),vo!==Ee?(Ue.charCodeAt(ft)===125?(so=on,ft++):(so=Ee,$r===0&&Mn(Sn)),so!==Ee?(Pn=ye,we=di(Jr,Jn,Bn,Wi),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;return ye}function la(){var ye,we,Ar,Jr,br,Xr,wn,Jn,Mi,On,kn,Bn,ca,Wi;if(ye=ft,Ue.charCodeAt(ft)===123?(we=fn,ft++):(we=Ee,$r===0&&Mn(nn)),we!==Ee)if(Ar=Ri(),Ar!==Ee)if(Jr=es(),Jr!==Ee)if(br=Ri(),br!==Ee)if(Ue.charCodeAt(ft)===44?(Xr=Yi,ft++):(Xr=Ee,$r===0&&Mn(ms)),Xr!==Ee)if(wn=Ri(),wn!==Ee)if(Ue.substr(ft,6)===ci?(Jn=ci,ft+=6):(Jn=Ee,$r===0&&Mn(Ua)),Jn!==Ee)if(Mi=Ri(),Mi!==Ee)if(Ue.charCodeAt(ft)===44?(On=Yi,ft++):(On=Ee,$r===0&&Mn(ms)),On!==Ee)if(kn=Ri(),kn!==Ee){if(Bn=[],ca=Ss(),ca!==Ee)for(;ca!==Ee;)Bn.push(ca),ca=Ss();else Bn=Ee;Bn!==Ee?(ca=Ri(),ca!==Ee?(Ue.charCodeAt(ft)===125?(Wi=on,ft++):(Wi=Ee,$r===0&&Mn(Sn)),Wi!==Ee?(Pn=ye,we=Qa(Jr,Bn),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;return ye}function eo(){var ye,we,Ar,Jr;return ye=ft,we=ft,Ue.charCodeAt(ft)===61?(Ar=qa,ft++):(Ar=Ee,$r===0&&Mn(Qs)),Ar!==Ee?(Jr=xa(),Jr!==Ee?(Ar=[Ar,Jr],we=Ar):(ft=we,we=Ee)):(ft=we,we=Ee),we!==Ee?ye=Ue.substring(ye,ft):ye=we,ye===Ee&&(ye=ts()),ye}function Ss(){var ye,we,Ar,Jr,br,Xr,wn,Jn;return ye=ft,we=Ri(),we!==Ee?(Ar=ts(),Ar!==Ee?(Jr=Ri(),Jr!==Ee?(Ue.charCodeAt(ft)===123?(br=fn,ft++):(br=Ee,$r===0&&Mn(nn)),br!==Ee?(Pn=ft,Xr=qs(Ar),Xr?Xr=void 0:Xr=Ee,Xr!==Ee?(wn=Qe(),wn!==Ee?(Ue.charCodeAt(ft)===125?(Jn=on,ft++):(Jn=Ee,$r===0&&Mn(Sn)),Jn!==Ee?(Pn=ye,we=Qo(Ar,wn),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye}function Qi(){var ye,we,Ar,Jr,br,Xr,wn,Jn;return ye=ft,we=Ri(),we!==Ee?(Ar=eo(),Ar!==Ee?(Jr=Ri(),Jr!==Ee?(Ue.charCodeAt(ft)===123?(br=fn,ft++):(br=Ee,$r===0&&Mn(nn)),br!==Ee?(Pn=ft,Xr=ds(Ar),Xr?Xr=void 0:Xr=Ee,Xr!==Ee?(wn=Qe(),wn!==Ee?(Ue.charCodeAt(ft)===125?(Jn=on,ft++):(Jn=Ee,$r===0&&Mn(Sn)),Jn!==Ee?(Pn=ye,we=Oo(Ar,wn),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye}function La(){var ye,we;return $r++,Ho.test(Ue.charAt(ft))?(ye=Ue.charAt(ft),ft++):(ye=Ee,$r===0&&Mn(Su)),$r--,ye===Ee&&(we=Ee,$r===0&&Mn(ko)),ye}function ta(){var ye,we;return $r++,_o.test(Ue.charAt(ft))?(ye=Ue.charAt(ft),ft++):(ye=Ee,$r===0&&Mn(Js)),$r--,ye===Ee&&(we=Ee,$r===0&&Mn(So)),ye}function Ri(){var ye,we,Ar;for($r++,ye=ft,we=[],Ar=La();Ar!==Ee;)we.push(Ar),Ar=La();return we!==Ee?ye=Ue.substring(ye,ft):ye=we,$r--,ye===Ee&&(we=Ee,$r===0&&Mn($u)),ye}function xa(){var ye,we,Ar;return $r++,ye=ft,Ue.charCodeAt(ft)===45?(we=Lo,ft++):(we=Ee,$r===0&&Mn(Hs)),we===Ee&&(we=null),we!==Ee?(Ar=js(),Ar!==Ee?(Pn=ye,we=du(we,Ar),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),$r--,ye===Ee&&(we=Ee,$r===0&&Mn(Ro)),ye}function Ka(){var ye,we;return $r++,Ue.charCodeAt(ft)===39?(ye=Na,ft++):(ye=Ee,$r===0&&Mn(Ys)),$r--,ye===Ee&&(we=Ee,$r===0&&Mn(jo)),ye}function Fa(){var ye,we;return $r++,ye=ft,Ue.substr(ft,2)===Bs?(we=Bs,ft+=2):(we=Ee,$r===0&&Mn(Rs)),we!==Ee&&(Pn=ye,we=hu()),ye=we,$r--,ye===Ee&&(we=Ee,$r===0&&Mn(Ao)),ye}function io(){var ye,we,Ar,Jr,br,Xr;if(ye=ft,Ue.charCodeAt(ft)===39?(we=Na,ft++):(we=Ee,$r===0&&Mn(Ys)),we!==Ee)if(Ar=ao(),Ar!==Ee){for(Jr=ft,br=[],Ue.substr(ft,2)===Bs?(Xr=Bs,ft+=2):(Xr=Ee,$r===0&&Mn(Rs)),Xr===Ee&&(Dn.test(Ue.charAt(ft))?(Xr=Ue.charAt(ft),ft++):(Xr=Ee,$r===0&&Mn($a)));Xr!==Ee;)br.push(Xr),Ue.substr(ft,2)===Bs?(Xr=Bs,ft+=2):(Xr=Ee,$r===0&&Mn(Rs)),Xr===Ee&&(Dn.test(Ue.charAt(ft))?(Xr=Ue.charAt(ft),ft++):(Xr=Ee,$r===0&&Mn($a)));br!==Ee?Jr=Ue.substring(Jr,ft):Jr=br,Jr!==Ee?(Ue.charCodeAt(ft)===39?(br=Na,ft++):(br=Ee,$r===0&&Mn(Ys)),br===Ee&&(br=null),br!==Ee?(Pn=ye,we=Au(Ar,Jr),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;else ft=ye,ye=Ee;return ye}function Ja(){var ye,we,Ar,Jr;return ye=ft,we=ft,Ue.length>ft?(Ar=Ue.charAt(ft),ft++):(Ar=Ee,$r===0&&Mn(si)),Ar!==Ee?(Pn=ft,Jr=qt(Ar),Jr?Jr=void 0:Jr=Ee,Jr!==Ee?(Ar=[Ar,Jr],we=Ar):(ft=we,we=Ee)):(ft=we,we=Ee),we===Ee&&(Ue.charCodeAt(ft)===10?(we=hr,ft++):(we=Ee,$r===0&&Mn(or))),we!==Ee?ye=Ue.substring(ye,ft):ye=we,ye}function ao(){var ye,we,Ar,Jr;return ye=ft,we=ft,Ue.length>ft?(Ar=Ue.charAt(ft),ft++):(Ar=Ee,$r===0&&Mn(si)),Ar!==Ee?(Pn=ft,Jr=vr(Ar),Jr?Jr=void 0:Jr=Ee,Jr!==Ee?(Ar=[Ar,Jr],we=Ar):(ft=we,we=Ee)):(ft=we,we=Ee),we!==Ee?ye=Ue.substring(ye,ft):ye=we,ye}function es(){var ye,we;return $r++,ye=ft,we=js(),we===Ee&&(we=ts()),we!==Ee?ye=Ue.substring(ye,ft):ye=we,$r--,ye===Ee&&(we=Ee,$r===0&&Mn(wr)),ye}function js(){var ye,we,Ar,Jr,br;if($r++,ye=ft,Ue.charCodeAt(ft)===48?(we=En,ft++):(we=Ee,$r===0&&Mn($n)),we!==Ee&&(Pn=ye,we=Ln()),ye=we,ye===Ee){if(ye=ft,we=ft,Vn.test(Ue.charAt(ft))?(Ar=Ue.charAt(ft),ft++):(Ar=Ee,$r===0&&Mn(ur)),Ar!==Ee){for(Jr=[],Nr.test(Ue.charAt(ft))?(br=Ue.charAt(ft),ft++):(br=Ee,$r===0&&Mn(xr));br!==Ee;)Jr.push(br),Nr.test(Ue.charAt(ft))?(br=Ue.charAt(ft),ft++):(br=Ee,$r===0&&Mn(xr));Jr!==Ee?(Ar=[Ar,Jr],we=Ar):(ft=we,we=Ee)}else ft=we,we=Ee;we!==Ee&&(Pn=ye,we=hn(we)),ye=we}return $r--,ye===Ee&&(we=Ee,$r===0&&Mn(yn)),ye}function ts(){var ye,we,Ar,Jr,br;if($r++,ye=ft,we=[],Ar=ft,Jr=ft,$r++,br=La(),br===Ee&&(br=ta()),$r--,br===Ee?Jr=void 0:(ft=Jr,Jr=Ee),Jr!==Ee?(Ue.length>ft?(br=Ue.charAt(ft),ft++):(br=Ee,$r===0&&Mn(si)),br!==Ee?(Jr=[Jr,br],Ar=Jr):(ft=Ar,Ar=Ee)):(ft=Ar,Ar=Ee),Ar!==Ee)for(;Ar!==Ee;)we.push(Ar),Ar=ft,Jr=ft,$r++,br=La(),br===Ee&&(br=ta()),$r--,br===Ee?Jr=void 0:(ft=Jr,Jr=Ee),Jr!==Ee?(Ue.length>ft?(br=Ue.charAt(ft),ft++):(br=Ee,$r===0&&Mn(si)),br!==Ee?(Jr=[Jr,br],Ar=Jr):(ft=Ar,Ar=Ee)):(ft=Ar,Ar=Ee);else we=Ee;return we!==Ee?ye=Ue.substring(ye,ft):ye=we,$r--,ye===Ee&&(we=Ee,$r===0&&Mn(Wn)),ye}var Hi=["root"];function Ba(){return Hi.length>1}function Os(){return Hi[Hi.length-1]==="plural"}function ha(){return Je&&Je.captureLocation?{location:Ii()}:{}}if(Vr=nr(),Vr!==Ee&&ft===Ue.length)return Vr;throw Vr!==Ee&&ft<Ue.length&&Mn(Ls()),$s(Xi,ui<Ue.length?Ue.charAt(ui):null,ui<Ue.length?ys(ui,ui+1):ys(ui,ui))}var q=ue,J=function(){for(var Ue=0,Je=0,Ee=arguments.length;Je<Ee;Je++)Ue+=arguments[Je].length;for(var st=Array(Ue),nr=0,Je=0;Je<Ee;Je++)for(var Lr=arguments[Je],Or=0,Ir=Lr.length;Or<Ir;Or++,nr++)st[nr]=Lr[Or];return st},K=/(^|[^\\])#/g;function oe(Ue){Ue.forEach(function(Je){!D(Je)&&!A(Je)||Object.keys(Je.options).forEach(function(Ee){for(var st,nr=Je.options[Ee],Lr=-1,Or=void 0,Ir=0;Ir<nr.value.length;Ir++){var Ur=nr.value[Ir];if(_(Ur)&&K.test(Ur.value)){Lr=Ir,Or=Ur;break}}if(Or){var _n=Or.value.replace(K,"$1{"+Je.value+", number}"),Pr=q(_n);(st=nr.value).splice.apply(st,J([Lr,1],Pr))}oe(nr.value)})})}function ee(Ue,Je){var Ee=q(Ue,Je);return(!Je||Je.normalizeHashtagInPlural!==!1)&&oe(Ee),Ee}var Q=function(){for(var Ue=0,Je=0,Ee=arguments.length;Je<Ee;Je++)Ue+=arguments[Je].length;for(var st=Array(Ue),nr=0,Je=0;Je<Ee;Je++)for(var Lr=arguments[Je],Or=0,Ir=Lr.length;Or<Ir;Or++,nr++)st[nr]=Lr[Or];return st};function le(Ue){return JSON.stringify(Ue.map(function(Je){return Je&&typeof Je=="object"?Z(Je):Je}))}function Z(Ue){return Object.keys(Ue).sort().map(function(Je){var Ee;return Ee={},Ee[Je]=Ue[Je],Ee})}var $=function(Ue,Je){return Je===void 0&&(Je={}),function(){for(var Ee,st=[],nr=0;nr<arguments.length;nr++)st[nr]=arguments[nr];var Lr=le(st),Or=Lr&&Je[Lr];return Or||(Or=new((Ee=Ue).bind.apply(Ee,Q([void 0],st))),Lr&&(Je[Lr]=Or)),Or}},se=$,_e=function(){return _e=Object.assign||function(Ue){for(var Je,Ee=1,st=arguments.length;Ee<st;Ee++){Je=arguments[Ee];for(var nr in Je)Object.prototype.hasOwnProperty.call(Je,nr)&&(Ue[nr]=Je[nr])}return Ue},_e.apply(this,arguments)},De=/(?:[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 ke(Ue){var Je={};return Ue.replace(De,function(Ee){var st=Ee.length;switch(Ee[0]){case"G":Je.era=st===4?"long":st===5?"narrow":"short";break;case"y":Je.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":Je.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":Je.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":Je.weekday=st===4?"short":st===5?"narrow":"short";break;case"e":if(st<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");Je.weekday=["short","long","narrow","short"][st-4];break;case"c":if(st<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");Je.weekday=["short","long","narrow","short"][st-4];break;case"a":Je.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":Je.hourCycle="h12",Je.hour=["numeric","2-digit"][st-1];break;case"H":Je.hourCycle="h23",Je.hour=["numeric","2-digit"][st-1];break;case"K":Je.hourCycle="h11",Je.hour=["numeric","2-digit"][st-1];break;case"k":Je.hourCycle="h24",Je.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":Je.minute=["numeric","2-digit"][st-1];break;case"s":Je.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":Je.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""}),Je}function Ze(Ue){return Ue.replace(/^(.*?)-/,"")}var Ne=/^\.(?:(0+)(\+|#+)?)?$/g,Bt=/^(@+)?(\+|#+)?$/g;function yt(Ue){var Je={};return Ue.replace(Bt,function(Ee,st,nr){return typeof nr!="string"?(Je.minimumSignificantDigits=st.length,Je.maximumSignificantDigits=st.length):nr==="+"?Je.minimumSignificantDigits=st.length:st[0]==="#"?Je.maximumSignificantDigits=st.length:(Je.minimumSignificantDigits=st.length,Je.maximumSignificantDigits=st.length+(typeof nr=="string"?nr.length:0)),""}),Je}function Dt(Ue){switch(Ue){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 Jt(Ue){var Je={},Ee=Dt(Ue);return Ee||Je}function er(Ue){for(var Je={},Ee=0,st=Ue;Ee<st.length;Ee++){var nr=st[Ee];switch(nr.stem){case"percent":Je.style="percent";continue;case"currency":Je.style="currency",Je.currency=nr.options[0];continue;case"group-off":Je.useGrouping=!1;continue;case"precision-integer":Je.maximumFractionDigits=0;continue;case"measure-unit":Je.style="unit",Je.unit=Ze(nr.options[0]);continue;case"compact-short":Je.notation="compact",Je.compactDisplay="short";continue;case"compact-long":Je.notation="compact",Je.compactDisplay="long";continue;case"scientific":Je=_e(_e(_e({},Je),{notation:"scientific"}),nr.options.reduce(function(Or,Ir){return _e(_e({},Or),Jt(Ir))},{}));continue;case"engineering":Je=_e(_e(_e({},Je),{notation:"engineering"}),nr.options.reduce(function(Or,Ir){return _e(_e({},Or),Jt(Ir))},{}));continue;case"notation-simple":Je.notation="standard";continue;case"unit-width-narrow":Je.currencyDisplay="narrowSymbol",Je.unitDisplay="narrow";continue;case"unit-width-short":Je.currencyDisplay="code",Je.unitDisplay="short";continue;case"unit-width-full-name":Je.currencyDisplay="name",Je.unitDisplay="long";continue;case"unit-width-iso-code":Je.currencyDisplay="symbol";continue}if(Ne.test(nr.stem)){if(nr.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");nr.stem.replace(Ne,function(Or,Ir,Ur){return Or==="."?Je.maximumFractionDigits=0:Ur==="+"?Je.minimumFractionDigits=Ur.length:Ir[0]==="#"?Je.maximumFractionDigits=Ir.length:(Je.minimumFractionDigits=Ir.length,Je.maximumFractionDigits=Ir.length+(typeof Ur=="string"?Ur.length:0)),""}),nr.options.length&&(Je=_e(_e({},Je),yt(nr.options[0])));continue}if(Bt.test(nr.stem)){Je=_e(_e({},Je),yt(nr.stem));continue}var Lr=Dt(nr.stem);Lr&&(Je=_e(_e({},Je),Lr))}return Je}var tr=function(){var Ue=function(Je,Ee){return Ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(st,nr){st.__proto__=nr}||function(st,nr){for(var Lr in nr)nr.hasOwnProperty(Lr)&&(st[Lr]=nr[Lr])},Ue(Je,Ee)};return function(Je,Ee){Ue(Je,Ee);function st(){this.constructor=Je}Je.prototype=Ee===null?Object.create(Ee):(st.prototype=Ee.prototype,new st)}}(),Xe=function(){for(var Ue=0,Je=0,Ee=arguments.length;Je<Ee;Je++)Ue+=arguments[Je].length;for(var st=Array(Ue),nr=0,Je=0;Je<Ee;Je++)for(var Lr=arguments[Je],Or=0,Ir=Lr.length;Or<Ir;Or++,nr++)st[nr]=Lr[Or];return st},Pt=function(Ue){tr(Je,Ue);function Je(Ee,st){var nr=Ue.call(this,Ee)||this;return nr.variableId=st,nr}return Je}(Error);function Zt(Ue){return Ue.length<2?Ue:Ue.reduce(function(Je,Ee){var st=Je[Je.length-1];return!st||st.type!==0||Ee.type!==0?Je.push(Ee):st.value+=Ee.value,Je},[])}function ot(Ue,Je,Ee,st,nr,Lr,Or){if(Ue.length===1&&_(Ue[0]))return[{type:0,value:Ue[0].value}];for(var Ir=[],Ur=0,_n=Ue;Ur<_n.length;Ur++){var Pr=_n[Ur];if(_(Pr)){Ir.push({type:0,value:Pr.value});continue}if(M(Pr)){typeof Lr=="number"&&Ir.push({type:0,value:Ee.getNumberFormat(Je).format(Lr)});continue}var fn=Pr.value;if(!(nr&&fn in nr))throw new Pt('The intl string context variable "'+fn+'" was not provided to the string "'+Or+'"');var nn=nr[fn];if(b(Pr)){(!nn||typeof nn=="string"||typeof nn=="number")&&(nn=typeof nn=="string"||typeof nn=="number"?String(nn):""),Ir.push({type:1,value:nn});continue}if(k(Pr)){var on=typeof Pr.style=="string"?st.date[Pr.style]:void 0;Ir.push({type:0,value:Ee.getDateTimeFormat(Je,on).format(nn)});continue}if(R(Pr)){var on=typeof Pr.style=="string"?st.time[Pr.style]:j(Pr.style)?ke(Pr.style.pattern):void 0;Ir.push({type:0,value:Ee.getDateTimeFormat(Je,on).format(nn)});continue}if(S(Pr)){var on=typeof Pr.style=="string"?st.number[Pr.style]:B(Pr.style)?er(Pr.style.tokens):void 0;Ir.push({type:0,value:Ee.getNumberFormat(Je,on).format(nn)});continue}if(A(Pr)){var Sn=Pr.options[nn]||Pr.options.other;if(!Sn)throw new RangeError('Invalid values for "'+Pr.value+'": "'+nn+'". Options are "'+Object.keys(Pr.options).join('", "')+'"');Ir.push.apply(Ir,ot(Sn.value,Je,Ee,st,nr));continue}if(D(Pr)){var Sn=Pr.options["="+nn];if(!Sn){if(!Intl.PluralRules)throw new Pt(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`);var va=Ee.getPluralRules(Je,{type:Pr.pluralType}).select(nn-(Pr.offset||0));Sn=Pr.options[va]||Pr.options.other}if(!Sn)throw new RangeError('Invalid values for "'+Pr.value+'": "'+nn+'". Options are "'+Object.keys(Pr.options).join('", "')+'"');Ir.push.apply(Ir,ot(Sn.value,Je,Ee,st,nr,nn-(Pr.offset||0)));continue}}return Zt(Ir)}function xt(Ue,Je,Ee,st,nr,Lr){var Or=ot(Ue,Je,Ee,st,nr,void 0,Lr);return Or.length===1?Or[0].value:Or.reduce(function(Ir,Ur){return Ir+=Ur.value},"")}var ht,et="@@",je=/@@(\d+_\d+)@@/g,ge=0;function Se(){return Date.now()+"_"+ ++ge}function Me(Ue,Je){return Ue.split(je).filter(Boolean).map(function(Ee){return Je[Ee]!=null?Je[Ee]:Ee}).reduce(function(Ee,st){return Ee.length&&typeof st=="string"&&typeof Ee[Ee.length-1]=="string"?Ee[Ee.length-1]+=st:Ee.push(st),Ee},[])}var $e=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,He=Date.now()+"@@",nt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function ct(Ue,Je,Ee){var st=Ue.tagName,nr=Ue.outerHTML,Lr=Ue.textContent,Or=Ue.childNodes;if(!st)return Me(Lr||"",Je);st=st.toLowerCase();var Ir=~nt.indexOf(st),Ur=Ee[st];if(Ur&&Ir)throw new Pt(st+" is a self-closing tag and can not be used, please use another tag name.");if(!Or.length)return[nr];var _n=Array.prototype.slice.call(Or).reduce(function(Pr,fn){return Pr.concat(ct(fn,Je,Ee))},[]);return Ur?typeof Ur=="function"?[Ur.apply(void 0,_n)]:[Ur]:Xe(["<"+st+">"],_n,["</"+st+">"])}function Vt(Ue,Je,Ee,st,nr,Lr){var Or=ot(Ue,Je,Ee,st,nr,void 0,Lr),Ir={},Ur=Or.reduce(function(nn,on){if(on.type===0)return nn+=on.value;var Sn=Se();return Ir[Sn]=on.value,nn+=""+et+Sn+et},"");if(!$e.test(Ur))return Me(Ur,Ir);if(!nr)throw new Pt("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Pt("Cannot format XML message without DOMParser");ht||(ht=new DOMParser);var _n=ht.parseFromString('<formatted-message id="'+He+'">'+Ur+"</formatted-message>","text/html").getElementById(He);if(!_n)throw new Pt("Malformed HTML message "+Ur);var Pr=Object.keys(nr).filter(function(nn){return!!_n.getElementsByTagName(nn).length});if(!Pr.length)return Me(Ur,Ir);var fn=Pr.filter(function(nn){return nn!==nn.toLowerCase()});if(fn.length)throw new Pt("HTML tag must be lowercased but the following tags are not: "+fn.join(", "));return Array.prototype.slice.call(_n.childNodes).reduce(function(nn,on){return nn.concat(ct(on,Ir,nr))},[])}var Ht=function(){return Ht=Object.assign||function(Ue){for(var Je,Ee=1,st=arguments.length;Ee<st;Ee++){Je=arguments[Ee];for(var nr in Je)Object.prototype.hasOwnProperty.call(Je,nr)&&(Ue[nr]=Je[nr])}return Ue},Ht.apply(this,arguments)};function Pe(Ue,Je){return Je?Ht(Ht(Ht({},Ue||{}),Je||{}),Object.keys(Ue).reduce(function(Ee,st){return Ee[st]=Ht(Ht({},Ue[st]),Je[st]||{}),Ee},{})):Ue}function qe(Ue,Je){return Je?Object.keys(Ue).reduce(function(Ee,st){return Ee[st]=Pe(Ue[st],Je[st]),Ee},Ht({},Ue)):Ue}function Yt(Ue){return Ue===void 0&&(Ue={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:se(Intl.NumberFormat,Ue.number),getDateTimeFormat:se(Intl.DateTimeFormat,Ue.dateTime),getPluralRules:se(Intl.PluralRules,Ue.pluralRules)}}var Rt=function(){function Ue(Je,Ee,st,nr){var Lr=this;if(Ee===void 0&&(Ee=Ue.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(Or){return xt(Lr.ast,Lr.locales,Lr.formatters,Lr.formats,Or,Lr.message)},this.formatToParts=function(Or){return ot(Lr.ast,Lr.locales,Lr.formatters,Lr.formats,Or,void 0,Lr.message)},this.formatHTMLMessage=function(Or){return Vt(Lr.ast,Lr.locales,Lr.formatters,Lr.formats,Or,Lr.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(Lr.locales)[0]}},this.getAst=function(){return Lr.ast},typeof Je=="string"){if(this.message=Je,!Ue.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Ue.__parse(Je,{normalizeHashtagInPlural:!1})}else this.ast=Je;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=qe(Ue.formats,st),this.locales=Ee,this.formatters=nr&&nr.formatters||Yt(this.formatterCache)}return Ue.defaultLocale=new Intl.NumberFormat().resolvedOptions().locale,Ue.__parse=ee,Ue.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"}}},Ue}(),Wt=Rt,$t=Wt;function At(Ue,Je,Ee){if(Ee===void 0&&(Ee=Error),!Ue)throw new Ee(Je)}const Xt={38:"&",62:">",60:"<",34:""",39:"'"},We=/[&><"']/g;function fe(Ue){return(""+Ue).replace(We,Je=>Xt[Je.charCodeAt(0)])}function pe(Ue,Je,Ee={}){return Je.reduce((st,nr)=>(nr in Ue?st[nr]=Ue[nr]:nr in Ee&&(st[nr]=Ee[nr]),st),{})}function Ot(Ue){At(Ue,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Te(Ue,Je){const Ee=Je?`
|
|
|
${Je.stack}`:"";return`[React Intl] ${Ue}${Ee}`}function dt(Ue){}const Gt={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:dt};function St(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Oe(Ue=St()){const Je=Intl.RelativeTimeFormat,Ee=Intl.ListFormat,st=Intl.DisplayNames;return{getDateTimeFormat:se(Intl.DateTimeFormat,Ue.dateTime),getNumberFormat:se(Intl.NumberFormat,Ue.number),getMessageFormat:se($t,Ue.message),getRelativeTimeFormat:se(Je,Ue.relativeTime),getPluralRules:se(Intl.PluralRules,Ue.pluralRules),getListFormat:se(Ee,Ue.list),getDisplayNames:se(st,Ue.displayNames)}}function wt(Ue,Je,Ee,st){const nr=Ue&&Ue[Je];let Lr;if(nr&&(Lr=nr[Ee]),Lr)return Lr;st(Te(`No ${Je} format named: ${Ee}`))}const be=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Ke({locale:Ue,formats:Je,onError:Ee},st,nr={}){const{format:Lr}=nr,Or=Lr&&wt(Je,"number",Lr,Ee)||{},Ir=pe(nr,be,Or);return st(Ue,Ir)}function gt(Ue,Je,Ee,st={}){try{return Ke(Ue,Je,st).format(Ee)}catch(nr){Ue.onError(Te("Error formatting number.",nr))}return String(Ee)}function Ft(Ue,Je,Ee,st={}){try{return Ke(Ue,Je,st).formatToParts(Ee)}catch(nr){Ue.onError(Te("Error formatting number.",nr))}return[]}const Fe=["numeric","style"];function Dr({locale:Ue,formats:Je,onError:Ee},st,nr={}){const{format:Lr}=nr,Or=!!Lr&&wt(Je,"relative",Lr,Ee)||{},Ir=pe(nr,Fe,Or);return st(Ue,Ir)}function Ct(Ue,Je,Ee,st,nr={}){st||(st="second"),Intl.RelativeTimeFormat||Ue.onError(Te(`Intl.RelativeTimeFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
|
`));try{return Dr(Ue,Je,nr).format(Ee,st)}catch(Or){Ue.onError(Te("Error formatting relative time.",Or))}return String(Ee)}const Gr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Qr({locale:Ue,formats:Je,onError:Ee,timeZone:st},nr,Lr,Or={}){const{format:Ir}=Or,Ur=Object.assign(Object.assign({},st&&{timeZone:st}),Ir&&wt(Je,nr,Ir,Ee));let _n=pe(Or,Gr,Ur);return nr==="time"&&!_n.hour&&!_n.minute&&!_n.second&&(_n=Object.assign(Object.assign({},_n),{hour:"numeric",minute:"numeric"})),Lr(Ue,_n)}function Cr(Ue,Je,Ee,st={}){const nr=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Qr(Ue,"date",Je,st).format(nr)}catch(Lr){Ue.onError(Te("Error formatting date.",Lr))}return String(nr)}function Fr(Ue,Je,Ee,st={}){const nr=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Qr(Ue,"time",Je,st).format(nr)}catch(Lr){Ue.onError(Te("Error formatting time.",Lr))}return String(nr)}function mr(Ue,Je,Ee,st={}){const nr=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Qr(Ue,"date",Je,st).formatToParts(nr)}catch(Lr){Ue.onError(Te("Error formatting date.",Lr))}return[]}function jr(Ue,Je,Ee,st={}){const nr=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Qr(Ue,"time",Je,st).formatToParts(nr)}catch(Lr){Ue.onError(Te("Error formatting time.",Lr))}return[]}const sn=["localeMatcher","type"];function cn({locale:Ue,onError:Je},Ee,st,nr={}){Intl.PluralRules||Je(Te(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`));const Lr=pe(nr,sn);try{return Ee(Ue,Lr).select(st)}catch(Or){Je(Te("Error formatting plural.",Or))}return"other"}function lr(Ue,Je){return Object.keys(Ue).reduce((Ee,st)=>(Ee[st]=Object.assign({timeZone:Je},Ue[st]),Ee),{})}function Lt(Ue,Je){return Object.keys(Object.assign(Object.assign({},Ue),Je)).reduce((st,nr)=>(st[nr]=Object.assign(Object.assign({},Ue[nr]||{}),Je[nr]||{}),st),{})}function mt(Ue,Je){if(!Je)return Ue;const Ee=$t.formats;return Object.assign(Object.assign(Object.assign({},Ee),Ue),{date:Lt(lr(Ee.date,Je),lr(Ue.date||{},Je)),time:Lt(lr(Ee.time,Je),lr(Ue.time||{},Je))})}const vt=Ue=>r.createElement(r.Fragment,null,...Ue);function Ut({locale:Ue,formats:Je,messages:Ee,defaultLocale:st,defaultFormats:nr,onError:Lr,timeZone:Or},Ir,Ur={id:""},_n={}){const{id:Pr,defaultMessage:fn}=Ur;At(!!Pr,"[React Intl] An `id` must be provided to format a message.");const nn=Ee&&Ee[String(Pr)];Je=mt(Je,Or),nr=mt(nr,Or);let on=[];if(nn)try{on=Ir.getMessageFormat(nn,Ue,Je,{formatters:Ir}).formatHTMLMessage(_n)}catch(Sn){Lr(Te(`Error formatting message: "${Pr}" for locale: "${Ue}"`+(fn?", using default message as fallback.":""),Sn))}else(!fn||Ue&&Ue.toLowerCase()!==st.toLowerCase())&&Lr(Te(`Missing message: "${Pr}" for locale: "${Ue}"`+(fn?", using default message as fallback.":"")));if(!on.length&&fn)try{on=Ir.getMessageFormat(fn,st,nr).formatHTMLMessage(_n)}catch(Sn){Lr(Te(`Error formatting the default message for: "${Pr}"`,Sn))}return on.length?on.length===1&&typeof on[0]=="string"?on[0]||fn||String(Pr):vt(on):(Lr(Te(`Cannot format message: "${Pr}", using message ${nn||fn?"source":"id"} as fallback.`)),typeof nn=="string"?nn||fn||String(Pr):fn||String(Pr))}function Sr(Ue,Je,Ee={id:""},st={}){const nr=Object.keys(st).reduce((Lr,Or)=>{const Ir=st[Or];return Lr[Or]=typeof Ir=="string"?fe(Ir):Ir,Lr},{});return Ut(Ue,Je,Ee,nr)}var yr=e(18947),it=e.n(yr);const Br=["localeMatcher","type","style"],gn=Date.now();function zn(Ue){return`${gn}_${Ue}_${gn}`}function gr({locale:Ue,onError:Je},Ee,st,nr={}){Intl.ListFormat||Je(Te(`Intl.ListFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
|
`));const Or=pe(nr,Br);try{const Ir={},Ur=st.map((Pr,fn)=>{if(typeof Pr=="object"){const nn=zn(fn);return Ir[nn]=Pr,nn}return String(Pr)});return Object.keys(Ir).length?Ee(Ue,Or).formatToParts(Ur).reduce((Pr,fn)=>{const nn=fn.value;return Ir[nn]?Pr.push(Ir[nn]):typeof Pr[Pr.length-1]=="string"?Pr[Pr.length-1]+=nn:Pr.push(nn),Pr},[]):Ee(Ue,Or).format(Ur)}catch(Ir){Je(Te("Error formatting list.",Ir))}return st}const tn=["localeMatcher","style","type","fallback"];function pn({locale:Ue,onError:Je},Ee,st,nr={}){Intl.DisplayNames||Je(Te(`Intl.DisplayNames is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
`));const Or=pe(nr,tn);try{return Ee(Ue,Or).of(st)}catch(Ir){Je(Te("Error formatting display name.",Ir))}}const Fn=it()||yr;function Tn(Ue){return{locale:Ue.locale,timeZone:Ue.timeZone,formats:Ue.formats,textComponent:Ue.textComponent,messages:Ue.messages,defaultLocale:Ue.defaultLocale,defaultFormats:Ue.defaultFormats,onError:Ue.onError}}function oi(Ue,Je){const Ee=Oe(Je),st=Object.assign(Object.assign({},Gt),Ue),{locale:nr,defaultLocale:Lr,onError:Or}=st;return nr?!Intl.NumberFormat.supportedLocalesOf(nr).length&&Or?Or(Te(`Missing locale data for locale: "${nr}" in Intl.NumberFormat. Using default locale: "${Lr}" 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&&Or&&Or(Te(`Missing locale data for locale: "${nr}" in Intl.DateTimeFormat. Using default locale: "${Lr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(Or&&Or(Te(`"locale" was not configured, using "${Lr}" 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:Ee,formatNumber:gt.bind(null,st,Ee.getNumberFormat),formatNumberToParts:Ft.bind(null,st,Ee.getNumberFormat),formatRelativeTime:Ct.bind(null,st,Ee.getRelativeTimeFormat),formatDate:Cr.bind(null,st,Ee.getDateTimeFormat),formatDateToParts:mr.bind(null,st,Ee.getDateTimeFormat),formatTime:Fr.bind(null,st,Ee.getDateTimeFormat),formatTimeToParts:jr.bind(null,st,Ee.getDateTimeFormat),formatPlural:cn.bind(null,st,Ee.getPluralRules),formatMessage:Ut.bind(null,st,Ee),formatHTMLMessage:Sr.bind(null,st,Ee),formatList:gr.bind(null,st,Ee.getListFormat),formatDisplayName:pn.bind(null,st,Ee.getDisplayNames)})}class Pi extends r.PureComponent{constructor(){super(...arguments),this.cache=St(),this.state={cache:this.cache,intl:oi(Tn(this.props),this.cache),prevConfig:Tn(this.props)}}static getDerivedStateFromProps(Je,{prevConfig:Ee,cache:st}){const nr=Tn(Je);return Fn(Ee,nr)?null:{intl:oi(nr,st),prevConfig:nr}}render(){return Ot(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}Pi.displayName="IntlProvider",Pi.defaultProps=Gt;var Li=e(3191),Si=e(3424),gi=e.n(Si),ii=e(85239),na=Object.getOwnPropertySymbols,ni=Object.prototype.hasOwnProperty,Ji=Object.prototype.propertyIsEnumerable,bt=(Ue,Je)=>{var Ee={};for(var st in Ue)ni.call(Ue,st)&&Je.indexOf(st)<0&&(Ee[st]=Ue[st]);if(Ue!=null&&na)for(var st of na(Ue))Je.indexOf(st)<0&&Ji.call(Ue,st)&&(Ee[st]=Ue[st]);return Ee};let lt;const Qn=!0,yi=new(gi()),ei=Symbol("LANG_CHANGE"),Ki=(Ue,Je="")=>Object.keys(Ue).reduce((Ee,st)=>{const nr=Ue[st],Lr=Je?`${Je}.${st}`:st;return typeof nr=="string"?Ee[Lr]=nr:Object.assign(Ee,Ki(nr,Lr)),Ee},{}),bi={},qn=(Ue,Je,Ee)=>{var st,nr,Lr,Or;if(!Ue)return;const Ir=(st=bi[Ue])!=null&&st.messages?Object.assign({},bi[Ue].messages,Je):Je,{momentLocale:Ur=(nr=bi[Ue])==null?void 0:nr.momentLocale,antd:_n=(Lr=bi[Ue])==null?void 0:Lr.antd}=Ee||{},Pr=(Or=Ue.split("-"))==null?void 0:Or.join("-");bi[Ue]={messages:Ir,locale:Pr,momentLocale:Ur,antd:_n},Pr===It()&&yi.emit(ei,Pr)},An=Ue=>(0,Li.We)().applyPlugins({key:"locale",type:"modify",initialValue:Ue}),rr=Ue=>{const Ee=An(bi[Ue]),{cache:st}=Ee,nr=bt(Ee,["cache"]);return oi(nr,st)},_t=(Ue,Je)=>lt&&!Je&&!Ue?lt:(Ue||(Ue=It()),Ue&&bi[Ue]?rr(Ue):bi["zh-CN"]?rr("zh-CN"):oi({locale:"zh-CN",messages:{}})),rt=Ue=>{lt=_t(Ue,!0)},It=()=>{const Ue=An({});return typeof(Ue==null?void 0:Ue.getLocale)=="function"?Ue.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&Qn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},pt=()=>{const Ue=It();return["he","ar","fa","ku"].filter(st=>Ue.startsWith(st)).length?"rtl":"ltr"},cr=(Ue,Je=!0)=>{(()=>{if(It()!==Ue){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Qn&&window.localStorage.setItem("umi_locale",Ue||""),rt(Ue),Je)window.location.reload();else if(yi.emit(ei,Ue),window.dispatchEvent){const st=new Event("languagechange");window.dispatchEvent(st)}}})()};let dr=!0;const Tr=(Ue,Je)=>(dr&&(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
|
|
|
`),dr=!1),lt||rt(It()),lt.formatMessage(Ue,Je)),Hr=()=>Object.keys(bi)},6383:function(d,v,e){"use strict";e.d(v,{y:function(){return o}});var r=e(43418),i=e(95237),l=e(43604),c=e(4787),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 G=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:()=>G.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(G=>(0,c.t)(G));return!V||!V.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(V.join(""))}let b=y.candidate.candidate.split(" "),[S,k,R,A,D,M,,B,...j]=b,Y=["rtp","rtpc"];if(console.log("event:",y),p.some(V=>V==D)||p.push(D),console.log(" candidate: "+S.split(":")[1]),console.log(" component: "+Y[k-1]),console.log(" protocol: "+R),console.log(" priority: "+A),console.log(" ip: "+D),console.log(" port: "+M),console.log(" type: "+B),j.length){console.log("attributes: ");for(let V=0;V<j.length;V+=2)console.log("> "+j[V]+": "+j[V+1])}}})},28426:function(d,v,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,S,k)=>S in b?c(b,S,{enumerable:!0,configurable:!0,writable:!0,value:k}):b[S]=k,p=(b,S)=>{for(var k in S||(S={}))u.call(S,k)&&x(b,k,S[k]);if(h)for(var k of h(S))a.call(S,k)&&x(b,k,S[k]);return b},y=(b,S)=>f(b,o(S));const _=({img:b,buttonProps:S={},styles:k={},customText:R,ButtonText:A,ButtonClick:D,Buttonclass:M,ButtonTwo:B,imgStyles:j,loading:Y=!1})=>r.createElement("section",{className:"tc animated fadeIn",style:p(p({},{color:"#999",margin:"100px auto",visibility:Y?"hidden":"visible"}),k)},r.createElement("img",{src:b||i,style:y(p({},j),{pointerEvents:"none",userSelect:"none"})}),r.createElement("p",{className:"mt20 font14"},R||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),A&&r.createElement(l.ZP,p({className:M,onClick:D},S),A),B&&B);v.Z=_},75617:function(d,v,e){"use strict";e.d(v,{Z:function(){return ae}});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(14809),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(ue,q){return r.createElement(h.Z,(0,c.Z)({},ue,{ref:q,icon:o}))},a=r.forwardRef(u),x=a,p=e(75975),y=e(6848),_=e(51257),b=e(81722),S=e(28426),k=e(346),R=e(44203),A=e(59301),D=Object.defineProperty,M=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,Y=(ie,ue,q)=>ue in ie?D(ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:q}):ie[ue]=q,V=(ie,ue)=>{for(var q in ue||(ue={}))B.call(ue,q)&&Y(ie,q,ue[q]);if(M)for(var q of M(ue))j.call(ue,q)&&Y(ie,q,ue[q]);return ie},G=(ie,ue,q)=>new Promise((J,K)=>{var oe=le=>{try{Q(q.next(le))}catch(Z){K(Z)}},ee=le=>{try{Q(q.throw(le))}catch(Z){K(Z)}},Q=le=>le.done?J(le.value):Promise.resolve(le.value).then(oe,ee);Q((q=q.apply(ie,ue)).next())}),ae=({editOffice:ie="view",data:ue,theme:q,type:J,filename:K,monacoEditor:oe,className:ee,style:Q,close:le,onClose:Z,hasMask:$,disabledDownload:se,onImgDimensions:_e,showNodata:De,recordInfo:ke})=>{const[Ze,Ne]=(0,r.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Bt,yt]=(0,r.useState)(""),[Dt,Jt]=(0,r.useState)(),er=window.ENV==="build"?"/react/build":"",tr=location.host.startsWith("localhost")?k.Z.PROXY_SERVER:k.Z.API_SERVER,Pt=10*(1024*1024),Zt=(0,r.useRef)();ue!=null&&ue.startsWith("/api")&&J!=="txt"&&(ue=k.Z.API_SERVER+ue);const ot=je=>je.substring(je.lastIndexOf("/")+1).split(".").pop();K&&oe&&(oe.filename=K),(0,r.useEffect)(()=>{var je,ge;const Se=(ge=(je=document.cookie)==null?void 0:je.replace(/\s/g,""))==null?void 0:ge.split(";");Se==null||Se.map(Me=>{let $e=Me.split("=");$e[0]==="_educoder_session"&&yt($e[1])})},[]),(0,r.useEffect)(()=>{J==="office"&&(ue.indexOf("bigfilescdn.")>-1||ue.indexOf("bigfiles1")>-1?Jt({url:ue,fileType:ot(ue),model:ue.indexOf("model=edit")?"edit":"view"}):xt())},[J,ue]);const xt=()=>G(void 0,null,function*(){console.log("data:",ue);let je=ue;ue.startsWith("http")||(je=location.origin+je);let ge=new URL(je).pathname.split("/").pop();const Se=yield(0,b.gJ)({attachment_id:ge});Se.url=tr+Se.url,Jt(Se)}),ht=()=>{if(ue.startsWith("http")||ue.startsWith("blob:")){et();return}(0,_.Nd)(K||"educoder",decodeURIComponent(ue))},et=()=>{ke&&(0,R.fc)({id:ke==null?void 0:ke.id,watch_type:1,course_id:ke==null?void 0:ke.course_id}),(0,_.Nd)(K||"educoder",decodeURIComponent(ue))};return console.log(ue,"data"),A.createElement("div",{style:V({},Q||{}),className:`${$&&i.bgBlack} ${J?i.wrp:"hide"}`},le&&A.createElement("div",{className:i.close,ref:Zt},!!_e&&A.createElement(y.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Zt.current},A.createElement("span",{onClick:()=>{Z(),_e()}},A.createElement("i",{className:"icon-yulanpizhu"}))),!se&&A.createElement(y.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Zt.current},A.createElement("span",{onClick:et},A.createElement("i",{className:"icon-quxiaozhiding"}))),A.createElement(y.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Zt.current},A.createElement("span",{className:"",onClick:Z},A.createElement("i",{className:"icon-guanbi1"})))),A.createElement("div",{className:`${i[ee]} ${ee} ${i.monaco} ${J==="txt"?"show":"hide"}`},J==="txt"&&A.createElement(A.Fragment,null,A.createElement(p.ZP,V({},oe)))),J==="audio"&&A.createElement("audio",{src:(ue==null?void 0:ue.indexOf("http"))>-1||ue!=null&&ue.startsWith("/api")?ue:`data:image/png;base64,${ue}`,autoPlay:!0}),J==="video"&&A.createElement(A.Fragment,null,(ue==null?void 0:ue.indexOf("http"))>-1||ue!=null&&ue.startsWith("/api")?A.createElement("video",{controls:!0,src:`${ue}`,autoPlay:!0}):A.createElement("video",{controls:!0,src:`data:video/mp4;base64,${ue}`,autoPlay:!0})),J==="office"&&Dt&&A.createElement("iframe",{src:`${er}/office.html?key=${Dt.key}&url=${btoa(Dt.url)}&callbackUrl=${tr+(Dt.callbackUrl||"")}&fileType=${Dt.fileType}&title=${Dt.title||""}&model=${ie}&officeServer=${k.Z.ONLYOFFICE}&disabledDownload=${!!se}`}),J==="html"&&A.createElement("iframe",{src:ue+"&disposition=inline"}),J==="pdf"&&A.createElement("iframe",{src:`${er}/js/pdfview/index.html?filename=${K||"educoder.pdf"}&url=${encodeURIComponent(ue)}&disabledDownload=${!!se}`}),J==="image"&&A.createElement("img",{src:(ue==null?void 0:ue.indexOf("http"))>-1||ue!=null&&ue.startsWith("/api")?ue:`data:image/png;base64,${ue}`}),(J==="other"||J==="download")&&A.createElement(A.Fragment,null,De?A.createElement(S.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:A.createElement(l.ZP,{icon:A.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ht,disabled:se},"\u4E0B\u8F7D")}):A.createElement(l.ZP,{type:"primary",size:"middle",onClick:ht,disabled:se},A.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},91842:function(d,v,e){"use strict";e.d(v,{z:function(){return V},Z:function(){return G}});var r=e(59301),i=e(8944),l=e(81428),c=e(64018),f=e(15360),o=e(346),h=e(51257),u=e(15342),a=e(1012),x=e(75617),p=e(59301),_=({html:ae})=>{const ie=(0,r.useRef)(null),ue=(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=ie.current.attachShadow({mode:"open"});ue.current=document.createElement("div"),ue.current.className="markdown-body",ue.current.innerHTML=ae,J.appendChild(ue.current);const K=document.createElement("style");return K.textContent=q,J.appendChild(K),()=>{J.innerHTML=""}},[]),(0,r.useEffect)(()=>{ue.current&&(ue.current.innerHTML=ae)},[ae]),p.createElement("div",{ref:ie})},b=Object.defineProperty,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=(ae,ie,ue)=>ie in ae?b(ae,ie,{enumerable:!0,configurable:!0,writable:!0,value:ue}):ae[ie]=ue,D=(ae,ie)=>{for(var ue in ie||(ie={}))k.call(ie,ue)&&A(ae,ue,ie[ue]);if(S)for(var ue of S(ie))R.call(ie,ue)&&A(ae,ue,ie[ue]);return ae};const M="@\u2581\u2581@",B="@\u2581@",j=/<pre[^>]*>/g;function Y(ae){let ie=document.createElement("div");return ie.innerHTML=ae,ie.childNodes.length===0?"":ie.childNodes[0].nodeValue}const V=(ae,ie)=>{ae=ae||"";const ue=/(?: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,K=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ie?ae.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ue,(oe,ee,Q,le,Z,$,se)=>{const _e=ee||le||$,De=Q||Z||se||"?";return o.Z.API_SERVER+"/api/attachments/"+_e+De+"&t="+(0,h.Jn)(_e,Date.now())+(oe.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ae=ae.replace(K,(oe,ee,Q,le,Z,$,se)=>{const _e=ee||le||$,De=Q||Z||se||"?";return o.Z.API_SERVER+"/attachments/download/"+_e+De+"&t="+(0,h.Jn)(_e,Date.now())+(oe.indexOf(")")>-1?")":"&")}).replace(ue,(oe,ee,Q,le,Z,$,se)=>{const _e=ee||le||$,De=Q||Z||se||"?";return o.Z.API_SERVER+"/api/attachments/"+_e+De+"&t="+(0,h.Jn)(_e,Date.now())+(oe.indexOf(")")>-1?")":"&")}).replace(q,(oe,ee,Q,le,Z)=>{const $=ee||le,se=Q||Z||"";return'"'+o.Z.API_SERVER+"/api/attachments/"+$+se+$+se+"&t="+(0,h.Jn)($,Date.now())}).replace(J,(oe,ee,Q,le,Z)=>{const $=ee||le,se=Q||Z||"";return"("+o.Z.API_SERVER+"/files/uploads/"+$+se+$+se+"&t="+(0,h.Jn)($,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,`
|
|
|
`),ae)};var G=({value:ae="",className:ie,showTextOnly:ue,showLines:q,style:J={},stylesPrev:K={},highlightKeywords:oe,showProgramFill:ee,isProgramFill:Q,disabledFill:le=!1,programFillValue:Z,onFillChange:$=De=>{},onFillBlur:se=()=>{},onFillFocus:_e=()=>{}})=>{let De=String(ae);const[ke,Ze]=(0,r.useState)(""),[Ne,Bt]=(0,r.useState)("office"),[yt,Dt]=(0,r.useState)([]),Jt=(0,r.useRef)("a"+(0,a.Z)()),er={},tr=($e,He,nt)=>{const ct=document.createElement($e===B?"input":"textarea");ct.style.width="100%",ct.style.height=$e===B?"40px":"151px",ct.rows=5,ct.spellcheck=!1,ct.name="edu-program-fill",ct.placeholder="\u8BF7\u8F93\u5165",ct.dataset.id=He;const Vt=Object.keys(er).length;return er[Vt]=ct,`<span class="edu-program-fill-wrap ${$e===B?"":"show"}" style="width:${$e===B?"600px":"100%"}" title=${nt||""}><span>${ct.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Xe($e){return $e=$e.replace(/!\[.*?\]\(.*?\)/g,""),$e=$e.replace(/\[.*?\]\(.*?\)/g,""),$e=$e.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),$e=$e.replace(/<embed.*?>/g,""),$e=$e.replace(/<img.*?>/g,""),$e=$e.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),$e=$e.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),$e=$e.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),$e=$e.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),$e}const Pt=$e=>$e.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(He,nt){let ct=nt.replace(/(\n|\r)/g,"").split("}"),Vt=[];return ct.map(Ht=>{Ht!=""&&Vt.push(`.${Jt.current} ${Ht}`)}),`<style>${Vt.join("}")}</style>`}),Zt=(0,r.useMemo)(()=>{try{const ct=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Vt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Ht=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Pe=/\(\/attachments\/download\//g;De=De.replace(Pe,"("+o.Z.API_SERVER+"/attachments/download/").replace(ct,"("+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(ct){}if(ee){let ct=-1;return De=De.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Vt,Ht,Pe){var qe;return++ct,tr(Vt,ct,(qe=Z==null?void 0:Z[ct])==null?void 0:qe.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Pt(De||"")}</pre>`}let $e=Pt(De);$e=(0,l.ZP)($e);const He=(0,l.ez)();De.match(/\[TOC\]/)&&($e=$e.replace("<p>[TOC]</p>",(0,l.Qv)()),(0,l.Iy)()),$e=$e.replace(/(__special_katext_id_\d+__)/g,(ct,Vt)=>{const{type:Ht,expression:Pe}=He[Vt];return(0,u.renderToString)(Y(Pe)||"",{displayMode:Ht==="block",throwOnError:!1,output:"html"})}),$e=$e.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const nt=document.createElement("div");if(nt.innerHTML=$e,ue)return nt.innerText;if(oe){const ct=oe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return et(nt,ct),nt.innerHTML}return setTimeout(()=>Se(),500),nt.innerHTML},[De,oe]);(0,r.useEffect)(()=>{je.current&&je.current.querySelectorAll(["input","textarea"]).forEach(He=>{He.oninput=ot,He.onblur=xt,He.onfocus=ht})},[yt]),(0,r.useEffect)(()=>{var $e,He,nt,ct,Vt;if(Z!=null&&Z.length)try{const Ht=je.current.querySelectorAll(".edu-program-fill-score"),Pe=je.current.querySelectorAll('[name="edu-program-fill"]');for(const[qe,Yt]of Pe.entries())Yt.value=(($e=Z==null?void 0:Z[qe])==null?void 0:$e.value)||"",((He=Z==null?void 0:Z[qe])==null?void 0:He.type)==="warning"?Yt.className="program-fill-warning":((nt=Z==null?void 0:Z[qe])==null?void 0:nt.type)==="success"?Yt.className="program-fill-success":Yt.className="";for(const[qe,Yt]of Ht.entries())Yt.innerHTML=(ct=Z==null?void 0:Z[qe])!=null&&ct.score?`${(Vt=Z==null?void 0:Z[qe])==null?void 0:Vt.score}\u5206`:"";Dt(Z)}catch(Ht){console.log(Ht,"error")}},[Z]);const ot=$e=>{yt[$e.target.dataset.id]=yt[$e.target.dataset.id]||{},yt[$e.target.dataset.id].value=$e.target.value,Dt([...yt]),$(yt,$e.target.dataset.id)},xt=$e=>{yt[$e.target.dataset.id]=yt[$e.target.dataset.id]||{},yt[$e.target.dataset.id].value=$e.target.value,Dt([...yt]),se(yt,$e.target.dataset.id)},ht=$e=>{yt[$e.target.dataset.id]=yt[$e.target.dataset.id]||{},yt[$e.target.dataset.id].value=$e.target.value,Dt([...yt]),_e(yt,$e.target.dataset.id)};function et($e,He){return $e.childNodes.forEach(nt=>{var ct;if(nt.childNodes.length>0)et(nt,He);else if(nt.nodeName!=="IMG")if(nt.innerHTML)nt.innerHTML=(ct=nt.innerHTML)==null?void 0:ct.replace(new RegExp(He,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Vt=document.createElement("span");Vt.innerHTML=nt.textContent.replace(new RegExp(He,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),nt.replaceWith(Vt)}})}const je=(0,r.useRef)();l.jb.WebkitLineClamp=q,q&&(J=D(D({},J),l.jb));function ge($e){let He=$e.target;if(He.tagName.toUpperCase()==="A"){let nt=He.getAttribute("href");if(nt.indexOf("office")>-1)$e.preventDefault(),Ze(nt),Bt("office");else if(nt.indexOf("application/pdf")>-1)$e.preventDefault(),Ze(nt),Bt("pdf");else if(nt.indexOf("text/html")>-1)$e.preventDefault(),Ze(nt),Bt("html");else if(nt.startsWith("#")){$e.preventDefault();let ct=document.getElementById(nt.replace("#",""));ct&&ct.scrollIntoView(!0)}}}const Se=()=>{var $e;const He=($e=je.current)==null?void 0:$e.querySelectorAll("video");He==null||He.forEach(nt=>{if(nt.oncontextmenu=()=>!1,nt.src.indexOf(".m3u8")>-1&&!nt.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var ct=new f.ZP;ct.loadSource(nt.src),ct.attachMedia(nt)}}})};(0,r.useEffect)(()=>{if(je.current&&Zt&&Zt.match(j)&&window.PR.prettyPrint(),je.current)return je.current.addEventListener("click",ge),()=>{var $e;($e=je.current)==null||$e.removeEventListener("click",ge),(0,l.AL)(),(0,l.Iy)()}},[Zt,je.current,ge]),(0,r.useEffect)(()=>{var $e;const He=nt=>{nt.preventDefault(),nt.clipboardData.setData("text",window.getSelection().toString())};return($e=je.current)==null||$e.addEventListener("copy",He),()=>{var nt;(nt=je.current)==null||nt.removeEventListener("copy",He)}},[je.current]);const Me=$e=>/<style[\s\S]*?>/i.test($e||"");return r.createElement(r.Fragment,null,ue&&r.createElement("div",{ref:je},Zt),!ue&&!Me(Zt)&&r.createElement("div",{ref:je,style:D({},J),className:`${ie||""} ${le?"disabled-fill":""} markdown-body ${Jt.current}`,dangerouslySetInnerHTML:{__html:Zt}}),!ue&&Me(Zt)&&r.createElement(_,{html:Zt}),r.createElement(x.Z,{close:!0,data:ke,type:ke!=null&&ke.length?Ne:"",style:D({},K),onClose:()=>Ze("")}))}},75975:function(d,v,e){"use strict";e.d(v,{SV:function(){return je},ZP:function(){return et}});var r=e(59301),i=e(76374);const l={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},c={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},f={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
|
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
|
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
|
`)}]},o={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
|
`)}]},h={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
|
`)}]};var u=e(53184),a=e.n(u),x=Object.defineProperty,p=Object.defineProperties,y=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,k=(ge,Se,Me)=>Se in ge?x(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Se]=Me,R=(ge,Se)=>{for(var Me in Se||(Se={}))b.call(Se,Me)&&k(ge,Me,Se[Me]);if(_)for(var Me of _(Se))S.call(Se,Me)&&k(ge,Me,Se[Me]);return ge},A=(ge,Se)=>p(ge,y(Se)),D=(ge,Se,Me)=>new Promise(($e,He)=>{var nt=Ht=>{try{Vt(Me.next(Ht))}catch(Pe){He(Pe)}},ct=Ht=>{try{Vt(Me.throw(Ht))}catch(Pe){He(Pe)}},Vt=Ht=>Ht.done?$e(Ht.value):Promise.resolve(Ht.value).then(nt,ct);Vt((Me=Me.apply(ge,Se)).next())});const M={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},B=(ge,Se)=>Se.map(Me=>({label:Me,kind:ge.languages.CompletionItemKind.Keyword,insertText:Me})),j=ge=>Object.keys(M.tables).map(Se=>({label:Se,kind:ge.languages.CompletionItemKind.Variable,insertText:Se})),Y=(ge,Se)=>{const Me=M.tables[ge];return Me?Me.map($e=>({label:$e,kind:Se.languages.CompletionItemKind.Field,insertText:$e})):[]};function V(ge,Se,Me,$e,He){let nt=Se.getWordUntilPosition(Me),ct={startLineNumber:Me.lineNumber,endLineNumber:Me.lineNumber,startColumn:nt.startColumn,endColumn:nt.endColumn},Vt=$e.map(Ht=>({label:Ht,kind:ge.languages.CompletionItemKind.Keyword,insertText:Ht,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ct}));return He.map(Ht=>{Vt.push(A(R({},Ht),{range:ct}))}),Vt}var G=ge=>{M.languages.map(He=>(ge.languages.registerDocumentFormattingEditProvider(He,{provideDocumentFormattingEdits(nt,ct,Vt){return D(this,null,function*(){const Ht=a()(nt.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:nt.getFullModelRange(),text:Ht}]})}}),He));const Se=f.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Me=o.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),$e=c.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ge.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Ht=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...f.keywords.map(Pe=>({label:Pe,kind:ge.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...f.quickKey.map(Pe=>({label:Pe.label,kind:ge.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Ht.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn};return{suggestions:[...l.keywords.map(Ht=>({label:Ht,kind:ge.languages.CompletionItemKind.Function,documentation:Ht,insertText:Ht,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Ht=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...c.keywords.map(Pe=>({label:Pe,kind:ge.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...c.quickKey.map(Pe=>({label:Pe.label,kind:ge.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Ht.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Ht=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...h.keywords.map(Pe=>({label:Pe,kind:ge.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...h.quickKey.map(Pe=>({label:Pe.label,kind:ge.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Ht.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Ht=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...o.keywords.map(Pe=>({label:Pe,kind:ge.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...o.quickKey.map(Pe=>({label:Pe.label,kind:ge.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Ht.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}})};const ae="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ie=Object.defineProperty,ue=(ge,Se,Me)=>Se in ge?ie(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Se]=Me,q=(ge,Se,Me)=>ue(ge,typeof Se!="symbol"?Se+"":Se,Me);const J=class Rd{constructor(Se,Me,$e){this.placeholder=Se,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 Rd.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};q(J,"ID","editor.widget.placeholderHint");var oe=J,ee=e(96236),Q=e(8591),le=e(6848),Z=e(89392),$=e(49535),se=e(56102),_e=Object.defineProperty,De=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,yt=(ge,Se,Me)=>Se in ge?_e(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Se]=Me,Dt=(ge,Se)=>{for(var Me in Se||(Se={}))Ne.call(Se,Me)&&yt(ge,Me,Se[Me]);if(Ze)for(var Me of Ze(Se))Bt.call(Se,Me)&&yt(ge,Me,Se[Me]);return ge},Jt=(ge,Se)=>De(ge,ke(Se)),er=(ge,Se)=>{var Me={};for(var $e in ge)Ne.call(ge,$e)&&Se.indexOf($e)<0&&(Me[$e]=ge[$e]);if(ge!=null&&Ze)for(var $e of Ze(ge))Se.indexOf($e)<0&&Bt.call(ge,$e)&&(Me[$e]=ge[$e]);return Me},tr=(ge,Se,Me)=>new Promise(($e,He)=>{var nt=Ht=>{try{Vt(Me.next(Ht))}catch(Pe){He(Pe)}},ct=Ht=>{try{Vt(Me.throw(Ht))}catch(Pe){He(Pe)}},Vt=Ht=>Ht.done?$e(Ht.value):Promise.resolve(Ht.value).then(nt,ct);Vt((Me=Me.apply(ge,Se)).next())});function Xe(ge){return/^\d+$/.test(ge)?`${ge}px`:ge}function Pt(){}let Zt=!1;const ot={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function xt(ge=[]){let Se=ge;if(Array.isArray(ge)){for(let Me=0;Me<ge.length;Me++){let $e=ot[ge[Me]];if($e)return $e}return Se[0]}return ot[Se]||Se}let ht=null;var et=ge=>{var Se=ge,{width:Me="100%",height:$e="100%",value:He,language:nt="javascript",style:ct={},options:Vt={},overrideServices:Ht={},theme:Pe="vs-dark",onEditBlur:qe,isCopy:Yt=!1,onSave:Rt,autoHeight:Wt=!1,forbidCopy:$t=!1,onChange:At=Pt,editorDidMount:Xt=Pt,onFocus:We=Pt,onBreakPoint:fe=Pt,breakPointValue:pe=[],filename:Ot="educoder.txt",errorLine:Te,errorContent:dt="",highlightLine:Gt,openBreakPoint:St=!1,placeholder:Oe=""}=Se,wt=er(Se,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const be=(0,r.useRef)(),Ke=(0,r.useRef)({}),gt=(0,r.useRef)(),Ft=(0,r.useRef)(),Fe=(0,r.useRef)([]),Dr=(0,r.useRef)(!1),Ct=(0,r.useRef)(),Gr=(0,r.useRef)(),Qr=(0,r.useRef)(!1),[Cr,Fr]=(0,r.useState)(!1);function mr(){let gr;return be.current&&(gr=new i.Z(tn=>{for(let pn of tn)(pn.target.offsetHeight>0||pn.target.offsetWidth>0)&&Ke.current.instance.layout()}),gr.observe(be.current)),gr}function jr(){Q.ZP.warning({content:decodeURIComponent(ae),key:"monaco-editor-tip"})}const sn=()=>{let gr=Ke.current.instance;if(He!=null&&gr&&Cr){const tn=gr.getModel();tn&&He!==tn.getValue()&&(Zt=!0,tn.setValue(He),gr.layout(),Zt=!1)}};(0,r.useEffect)(()=>{const gr=$.Z.subscribe("formatDocument",tn=>{var pn;let Fn=Ke.current.instance;(pn=Fn==null?void 0:Fn.getAction)==null||pn.call(Fn,"editor.action.formatDocument").run()});return window.updateMonacoValue=tn=>{At(tn)},gr},[]),(0,r.useEffect)(()=>{var gr;let tn=Ke.current.instance;Ft.current&&clearTimeout(Ft.current),Ft.current=setTimeout(()=>{sn()},500),He&&(He!=null&&He.length)&&((gr=tn==null?void 0:tn.updateOptions)==null||gr.call(tn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(He.split(/\r\n|\r|\n/g).length))+3,5)}))},[He,Cr,Ke.current]),(0,r.useEffect)(()=>{if(Te&&Ke.current&&Ke.current.instance){let tn=Ke.current.instance;tn.changeViewZones(function(pn){var Fn=document.createElement("div");Fn.style.padding="10px 20px",Fn.style.width="calc(100% - 20px)",Fn.className="my-error-line-wrp",Fn.innerHTML=dt,pn.addZone({afterLineNumber:Te||11,heightInLines:3,domNode:Fn})});var gr={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};tn.addOverlayWidget(gr),tn.revealPositionInCenter({lineNumber:20,column:1})}},[Te,Ke.current,Cr]);const cn=(gr="",tn)=>{if(!gr||gr.trim()==="")return!0;const Fn=Ke.current.instance.getModel().getLineTokens(tn);let Tn=!1;for(let oi=0;oi<2;oi++)Fn.getStandardTokenType(oi)===1&&(Tn=!0);return Tn};(0,r.useEffect)(()=>{var gr;const tn=(gr=Ke.current)==null?void 0:gr.instance;if(tn&&Cr&&$t){const pn=tn.onDidBlurEditorWidget(()=>{Qr.current=!1}),Fn=tn.onDidFocusEditorText(()=>{Qr.current=!0});return()=>{pn.dispose(),Fn.dispose()}}},[Ke.current,Cr,$t]),(0,r.useEffect)(()=>{var gr;if((gr=Ke.current)!=null&&gr.instance&&Cr&&St){let tn=Ke.current.instance,pn=tn.getModel();if(!pn)return;(()=>{var bt;let lt=[],Qn=[];const yi=pn.getAllDecorations();for(let Ki of yi)Ki.options.className==="highlighted-line"&&(lt.push((bt=Ki==null?void 0:Ki.range)==null?void 0:bt.startLineNumber),Qn.push(Ki==null?void 0:Ki.id));if(Gt===lt[0])return;pn.deltaDecorations(Qn,[]);const ei=pn.getLineCount();Gt&&Gt<=ei&&(tn.deltaDecorations([],[{range:new ht.Range(Gt,1,Gt,pn.getLineMaxColumn(Gt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),tn.revealLineInCenter(Gt))})();const Tn=(bt=!1)=>{var lt;let Qn=[],yi=[];const ei=pn.getAllDecorations();for(let Ki of ei)Ki.options.linesDecorationsClassName==="breakpoints-select"&&(Qn.push((lt=Ki==null?void 0:Ki.range)==null?void 0:lt.startLineNumber),yi.push(Ki==null?void 0:Ki.id));if(bt)return{lines:Qn,ids:yi};fe(Qn)},oi=bt=>tr(void 0,null,function*(){let lt={range:new ht.Range(bt,1,bt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield pn.deltaDecorations([],[lt]),Tn()}),Pi=bt=>tr(void 0,null,function*(){let lt=[];const Qn=tn.getLineDecorations(bt);for(let yi of Qn)yi.options.linesDecorationsClassName==="breakpoints-select"&<.push(yi.id);yield pn.deltaDecorations(lt,[]),Tn()}),Li=bt=>{let lt=tn.getLineDecorations(bt);for(let Qn of lt)if(Qn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Z.isEqual)(pe,Tn(!0).lines)){pn.deltaDecorations(Tn(!0).ids,[]);const bt=pe.map(lt=>({range:new ht.Range(lt,1,lt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));pn.deltaDecorations([],bt)}const Si=tn.onDidChangeModelContent(bt=>{let lt=tn.getPosition();if(lt){let Qn=lt.lineNumber;clearTimeout(Gr.current),Gr.current=setTimeout(()=>{cn(pn.getLineContent(Qn),Qn)?Pi(Qn):Li(Qn)?(Pi(Qn),oi(Qn)):Tn()},100)}}),gi=tn.onMouseDown(bt=>{var lt,Qn,yi;if(bt.target.detail&&((yi=(Qn=(lt=bt.target)==null?void 0:lt.element)==null?void 0:Qn.className)!=null&&yi.includes("line-numbers"))){let ei=bt.target.position.lineNumber;if(cn(pn.getLineContent(ei),ei))return;Li(ei)?Pi(ei):oi(ei)}}),ii=bt=>{let lt={range:new ht.Range(bt,1,bt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Fe.current=tn.deltaDecorations(Fe.current,[lt])},na=()=>{Fe.current=tn.deltaDecorations(Fe.current,[])},ni=tn.onMouseMove(bt=>{var lt,Qn,yi;if(na(),bt.target.detail&&((yi=(Qn=(lt=bt.target)==null?void 0:lt.element)==null?void 0:Qn.className)!=null&&yi.includes("line-numbers"))){let ei=bt.target.position.lineNumber;if(cn(pn.getLineContent(ei),ei))return;ii(ei)}}),Ji=tn.onMouseLeave(()=>{na()});return()=>{Si.dispose(),gi.dispose(),ni.dispose(),Ji.dispose()}}},[Ke.current,Cr,pe,Gt,St,nt]),(0,r.useEffect)(()=>{var gr;(gr=Ke.current)!=null&&gr.instance&&St&&Ke.current.instance.setPosition({lineNumber:0,column:0})},[Gt]);function lr(){let gr=Ke.current.instance;if(gr){const tn=gr.getSelection(),pn=Ke.current.pastePos||{},Fn=new ht.Range(pn.startLineNumber||tn.endLineNumber,pn.startColumn||tn.endColumn,pn.endLineNumber||tn.endLineNumber,pn.endColumn||tn.endColumn);setTimeout(()=>{gr.executeEdits("",[{range:Fn,text:""}])},300)}}function Lt(gr){(window.navigator.platform.match("Mac")?gr.metaKey:gr.ctrlKey)&&gr.keyCode==83&&(gr.preventDefault(),Rt())}const mt=()=>{if(Wt&&Ke.current.instance){const gr=Ke.current.instance.getContentHeight();gn(gr<$e?$e:gr)}else gn($e)};function vt(gr){var tn=document.createEvent("MouseEvents");tn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),gr.dispatchEvent(tn)}const Ut=gr=>{if(!Qr.current)return;const{keyCode:tn,ctrlKey:pn,metaKey:Fn,target:Tn,type:oi}=gr;return(oi==="paste"||(tn===67||tn===86)&&(Fn||pn))&&Tn.nodeName==="TEXTAREA"&&(jr(),gr.preventDefault()),!1};function Sr(gr,tn){var pn=window.URL||window.webkitURL||window,Fn=new Blob([tn]),Tn=document.createElementNS("http://www.w3.org/1999/xhtml","a");Tn.href=pn.createObjectURL(Fn),Tn.download=gr,vt(Tn)}(0,r.useEffect)(()=>{mt()},[mt]),(0,r.useEffect)(()=>{be.current&&!Cr&&Promise.all([e.e(8909),e.e(6656)]).then(e.bind(e,71448)).then(gr=>{try{ht=gr,Ke.current.instance=ht.editor.create(be.current,{value:He,language:xt(nt),theme:Pe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Ht);const tn=Ke.current.instance;let Tn=[...ee.BH._menuItems].find(Si=>Si[0]._debugName=="EditorContext")[1],oi=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Pi=(Si,gi)=>{var ii,na;let ni=Si._first;do gi.includes((na=(ii=ni.element)==null?void 0:ii.command)==null?void 0:na.id)&&Si._remove(ni);while(ni=ni.next)};if(Xt(tn,ht),setTimeout(()=>{mt(),Ke.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Sr(Ot||"educoder.txt",tn.getValue())}})},500),Ke.current.subscription=tn.onDidChangeModelContent(Si=>{Dr.current?clearTimeout(Ct.current):(mt(),At(tn.getValue(),Si)),Ct.current=setTimeout(()=>{Dr.current=!1},500)}),window.Monaco||G(ht,xt(nt)),$t&&(Pi(Tn,oi),be.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Ut),window.removeEventListener("paste",Ut),window.addEventListener("keydown",Ut),window.addEventListener("paste",Ut)),window.Monaco=ht,qe&&tn.onDidBlurEditorWidget(()=>{qe(tn.getValue())}),We&&tn.onDidFocusEditorText(()=>{We(tn.getValue())}),$t)try{tn.onDidPaste(Si=>{const gi=tn.getSelection(),ii=Ke.current.pastePos||{},na=new ht.Range(ii.startLineNumber||gi.endLineNumber,ii.startColumn||gi.endColumn,ii.endLineNumber||gi.endLineNumber,ii.endColumn||gi.endColumn);tn.executeEdits("",[{range:Si.range,text:""}])})}catch(Si){}let Li=mr();return Oe&&typeof Oe=="string"&&new oe(Oe,tn,ht),Fr(!0),()=>{const Si=Ke.current.instance;Si.dispose();const gi=Si.getModel();gi&&gi.dispose(),Ke.current.subscription&&Ke.current.subscription.dispose(),Li.unobserve(be.current)}}catch(tn){}})},[]),(0,r.useEffect)(()=>{if(Ke.current.instance&&Cr)return document.addEventListener("keydown",Lt,!1),()=>{document.removeEventListener("keydown",Lt)}},[Rt,Cr]),(0,r.useEffect)(()=>{let gr=Ke.current.instance;if(gr&&Cr){let tn=xt(nt);ht.editor.setModelLanguage(gr.getModel(),tn)}},[nt,Cr]),(0,r.useEffect)(()=>{Ke.current.instance&&Cr&&ht.editor.setTheme(Pe)},[Pe,Cr]),(0,r.useEffect)(()=>{let gr=Ke.current.instance;gt.current=Vt,gr&&Cr&&(gr.updateOptions(Dt({},Vt)),setTimeout(()=>{gr.getModel().updateOptions(Dt({},Vt))},200))},[JSON.stringify(Vt),Cr]),(0,r.useEffect)(()=>{let gr=Ke.current.instance;gr&&Cr&&gr.layout()},[Me,$e,Cr]);const[yr,it]=(0,r.useState)(Xe(Me)),[Br,gn]=(0,r.useState)(Xe($e)),zn=Jt(Dt({},ct),{width:yr,height:Br,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:be,style:zn},Yt&&r.createElement(se.CopyToClipboard,{text:He,onCopy:()=>Q.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(le.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function je({width:ge="100%",height:Se="100%",original:Me,modified:$e,language:He,options:nt={}}){const ct=(0,r.useRef)(),[Vt,Ht]=(0,r.useState)(null);function Pe(Wt){let $t;return ct.current&&($t=new i.Z(At=>{for(let Xt of At)(Xt.target.offsetHeight>0||Xt.target.offsetWidth>0)&&Wt.layout()}),$t.observe(ct.current)),$t}(0,r.useEffect)(()=>(ct.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Wt=>{ht=Wt;const $t=ht.editor.createDiffEditor(ct.current,Jt(Dt({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},nt),{wordWrap:!0}));Ht($t);let At=Pe($t);return()=>{$t.dispose();const Xt=$t.getModel();Xt&&Xt.dispose(),At.unobserve(ct.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{Vt&&Vt.setModel({original:ht.editor.createModel(Me,He),modified:ht.editor.createModel($e,He)})},[Me,$e,He,Vt]);const qe=Xe(ge),Yt=Xe(Se),Rt={width:qe,height:Yt};return r.createElement("div",{className:"my-diff-editor",ref:ct,style:Rt})}},32026:function(d,v,e){"use strict";e.d(v,{k:function(){return b}});var r=e(1103),i=e(8591),l=e(96999),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(k,R,A)=>R in k?c(k,R,{enumerable:!0,configurable:!0,writable:!0,value:A}):k[R]=A,p=(k,R)=>{for(var A in R||(R={}))u.call(R,A)&&x(k,A,R[A]);if(h)for(var A of h(R))a.call(R,A)&&x(k,A,R[A]);return k},y=(k,R)=>f(k,o(R)),_=(k,R)=>{var A={};for(var D in k)u.call(k,D)&&R.indexOf(D)<0&&(A[D]=k[D]);if(k!=null&&h)for(var D of h(k))R.indexOf(D)<0&&a.call(k,D)&&(A[D]=k[D]);return A};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],S={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:k},{call:R,put:A}){yield A({type:"save",payload:{actionTabs:p({},k)}})},*getMajorList({payload:k},{call:R,put:A,select:D}){const{userInfo:M}=yield D(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const j=l.U.getItem(M==null?void 0:M.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(Y=>({label:Y.name,value:Y.ec_major_school_id})),active:B.data.length>0?j[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:R,put:A,select:D}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield D(j=>j.user);if(M&&M.data){const j=l.U.getItem(B==null?void 0:B.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(Y=>({label:Y.year,value:Y.ec_year_id})),active:M.data.length>0?k.firstEnter?j[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:R,put:A,select:D}){const{calc:M,page:B,per_page:j}=k,{headerData:Y,tabListData:V}=yield D(ie=>ie.engineeringEvaluteList),{userInfo:G}=yield D(ie=>ie.user);let ae=Y.active[b[1]];if(ae){let ie={id:ae,page:B||1,per_page:j||V.pageSize};M&&(ie=y(p({},ie),{page:V.pageNo}));const ue=yield R(r._y,ie),q=[Y.active[b[0]],Y.active[b[1]]];l.U.setItem(G==null?void 0:G.login,q),ue&&ue.ec_courses&&(yield A({type:"setCourseResults",payload:y(p({},V),{pageNo:ie.page,total:ue.count,pageSize:ie.per_page||V.pageSize,dataSource:ue.ec_courses.map((J,K)=>y(p({},J),{key:ie.page>1?(ie.page-1)*ie.per_page+K+1:K+1}))})}))}else yield A({type:"setCourseResults",payload:y(p({},V),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:A}){const{headerData:D}=yield A(M=>M.engineeringEvaluteList);D.active[b[1]]&&(yield R(r.F,D.active[b[1]]))},*compute({payload:k},{call:R,put:A}){const D=k,{all:M}=D,B=_(D,["all"]),j=yield R(M?r.At:r.PX,B);j&&j.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield A({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(j.message)}},reducers:{save(k,R){return p(p({},k),R.payload)},setMajorOrYearDataSource(k,{payload:R}){let A=k.headerData.active;return R.active&&(A=y(p({},A),{[R.key]:R.active})),y(p({},k),{headerData:y(p({},k.headerData),{dataSource:y(p({},k.headerData.dataSource),{[R.key]:y(p({},k.headerData.dataSource[R.key]),{dataList:R.value})}),active:A})})},setMajorOrYearActive(k,{payload:R}){return y(p({},k),{headerData:y(p({},k.headerData),{active:y(p({},k.headerData.active),{[R.key]:R.value})})})},setCourseResults(k,{payload:R}){return y(p({},k),{tabListData:p(p({},k.tabListData),R)})}},subscriptions:{setup({dispatch:k,history:R}){return R.listen(({pathname:A})=>{A==="/"&&k({type:"query"})})}}};v.Z=S},55305:function(d,v,e){"use strict";e.d(v,{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:S,program_questions:k,completion_questions:R,subjective_questions:A,practical_questions:D,combination_questions:M}=x||{},j=[o({type:"SINGLE",name:"\u5355\u9009\u9898"},_),o({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),o({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},R),o({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},S),o({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},A),o({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},k),o({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},D),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(Y=>Y.questions_count>0).map((Y,V)=>o(o({},Y),{number:u[V+1]}));return{all_questions_count:p,all_score:y,questionList:j}}},96999:function(d,v,e){"use strict";e.d(v,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(48790);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)}}},98750:function(d,v,e){"use strict";e.d(v,{$f:function(){return p},Cq:function(){return b},GY:function(){return o},I8:function(){return k},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return D},Zm:function(){return u},bz:function(){return f},eF:function(){return S},gQ:function(){return R},ht:function(){return _},kN:function(){return M},n1:function(){return l},nI:function(){return B},o9:function(){return c},sG:function(){return a},wi:function(){return A}});var r=e(38986),i=(j,Y,V)=>new Promise((G,ae)=>{var ie=J=>{try{q(V.next(J))}catch(K){ae(K)}},ue=J=>{try{q(V.throw(J))}catch(K){ae(K)}},q=J=>J.done?G(J.value):Promise.resolve(J.value).then(ie,ue);q((V=V.apply(j,Y)).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 S(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/phone_bind.json`,{method:"post",body:j})})}function k(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/email_bind.json`,{method:"post",body:j})})}function R(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/password.json`,{method:"put",body:j})})}function A(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.basicInfoId}/open_users/${j.id}.json`,{method:"delete"})})}function D(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/cancel_authentication.json`,{method:"post",body:j})})}function M(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/cancel_professional_certification.json`,{method:"post",body:j})})}function B(j,Y){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/videos/${j.id}/create_subject_video.json`,{method:"post",body:Y})})}},97402:function(d,v,e){"use strict";e.d(v,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(_,b,S)=>b in _?i(_,b,{enumerable:!0,configurable:!0,writable:!0,value:S}):_[b]=S,h=(_,b)=>{for(var S in b||(b={}))c.call(b,S)&&o(_,S,b[S]);if(l)for(var S of l(b))f.call(b,S)&&o(_,S,b[S]);return _},u=(_,b,S)=>new Promise((k,R)=>{var A=B=>{try{M(S.next(B))}catch(j){R(j)}},D=B=>{try{M(S.throw(B))}catch(j){R(j)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(A,D);M((S=S.apply(_,b)).next())});function a(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_up.json`,{method:"post",body:h({},_)})})}function x(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_down.json`,{method:"post",body:h({},_)})})}function p(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/update_informs.json`,{method:"post",body:h({},_)})})}function y(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/new_informs.json`,{method:"post",body:h({},_)})})}},44203:function(d,v,e){"use strict";e.d(v,{$n:function(){return S},H:function(){return b},Nm:function(){return y},Ot:function(){return _},SV:function(){return a},fc:function(){return R},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,D,M)=>D in A?i(A,D,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[D]=M,h=(A,D)=>{for(var M in D||(D={}))c.call(D,M)&&o(A,M,D[M]);if(l)for(var M of l(D))f.call(D,M)&&o(A,M,D[M]);return A},u=(A,D,M)=>new Promise((B,j)=>{var Y=ae=>{try{G(M.next(ae))}catch(ie){j(ie)}},V=ae=>{try{G(M.throw(ae))}catch(ie){j(ie)}},G=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(Y,V);G((M=M.apply(A,D)).next())});function a(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},A)})})}function x(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},A)})})}function p(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},A)})})}function y(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A.id}.json`,{method:"get",params:h({},A)})})}function _(A){return u(this,null,function*(){const{id:D}=A;return delete A.id,(0,r.ZP)(`/api/files/${D}.json`,{method:"put",body:h({},A)})})}function b(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A.id}/update_visits.json`,{method:"post"})})}function S(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A==null?void 0:A.id}/watch_list.json`,{method:"get",params:h({},A)})})}function k(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},A)})})}function R(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A==null?void 0:A.id}/add_file_quantity.json`,{method:"post",body:h({},A)})})}},32967:function(d,v,e){"use strict";e.d(v,{CJ:function(){return y},Mf:function(){return R},NA:function(){return S},PC:function(){return _},PP:function(){return b},YQ:function(){return k},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,D,M)=>D in A?i(A,D,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[D]=M,h=(A,D)=>{for(var M in D||(D={}))c.call(D,M)&&o(A,M,D[M]);if(l)for(var M of l(D))f.call(D,M)&&o(A,M,D[M]);return A},u=(A,D,M)=>new Promise((B,j)=>{var Y=ae=>{try{G(M.next(ae))}catch(ie){j(ie)}},V=ae=>{try{G(M.throw(ae))}catch(ie){j(ie)}},G=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(Y,V);G((M=M.apply(A,D)).next())});function a(A){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},A)})})}function x(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}.json`,{method:"get",params:h({},A)})})}function p(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function y(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function _(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}/reply_list.json`,{method:"get",params:h({},A)})})}function b(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}/reply.json`,{method:"post",body:h({},A)})})}function S(A){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},A)})})}function k(A){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},A)})})}function R(A){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},A)})})}},82264:function(d,v,e){"use strict";e.d(v,{$T:function(){return yr},A:function(){return $t},Ab:function(){return Li},Al:function(){return Q},BQ:function(){return ht},BR:function(){return ee},Bn:function(){return Me},Cq:function(){return Ut},DJ:function(){return Ne},Dd:function(){return _},Ds:function(){return je},EO:function(){return At},Ed:function(){return Bt},F9:function(){return nt},FU:function(){return Vt},Fg:function(){return b},GV:function(){return tr},Gk:function(){return q},Gm:function(){return Zt},Gz:function(){return S},Hl:function(){return k},Hn:function(){return V},ID:function(){return sn},IU:function(){return Te},J2:function(){return Jt},K$:function(){return ge},KP:function(){return yt},KT:function(){return ke},L$:function(){return Yt},LH:function(){return D},Lk:function(){return Ji},Ls:function(){return se},MA:function(){return zn},Mc:function(){return ni},N7:function(){return oe},Nd:function(){return ue},Nl:function(){return Ot},Ns:function(){return cn},O3:function(){return Ze},Pj:function(){return Pt},QX:function(){return pe},QZ:function(){return De},R2:function(){return K},Rk:function(){return Sr},S9:function(){return Rt},U8:function(){return Lt},UD:function(){return Cr},U_:function(){return ae},Uy:function(){return mr},V8:function(){return Y},Vw:function(){return $},W0:function(){return Gt},W7:function(){return et},WK:function(){return gr},Wr:function(){return Pi},YR:function(){return We},Z0:function(){return gt},ZL:function(){return wt},ZT:function(){return Si},ZX:function(){return pn},Z_:function(){return M},_0:function(){return B},_9:function(){return ot},_B:function(){return ii},aP:function(){return St},aQ:function(){return xt},aZ:function(){return Pe},al:function(){return Wt},bm:function(){return Qr},bz:function(){return $e},c_:function(){return vt},ds:function(){return Gr},fN:function(){return tn},fr:function(){return Xt},g4:function(){return er},gq:function(){return R},hf:function(){return Z},i:function(){return Ft},i6:function(){return Br},i7:function(){return jr},iE:function(){return a},ih:function(){return Fn},kW:function(){return Dt},km:function(){return lr},nP:function(){return p},nQ:function(){return He},nX:function(){return Dr},oM:function(){return Se},oR:function(){return na},o_:function(){return Oe},pf:function(){return Ct},pr:function(){return gi},pv:function(){return it},qB:function(){return le},r2:function(){return j},rS:function(){return A},s:function(){return Tn},sb:function(){return qe},sm:function(){return y},t1:function(){return Xe},tB:function(){return oi},tR:function(){return ct},td:function(){return dt},uh:function(){return Ht},up:function(){return mt},v2:function(){return x},vV:function(){return be},w9:function(){return ie},wR:function(){return gn},yS:function(){return fe},yV:function(){return J},yd:function(){return Fe},zg:function(){return _e}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(bt,lt,Qn)=>lt in bt?i(bt,lt,{enumerable:!0,configurable:!0,writable:!0,value:Qn}):bt[lt]=Qn,h=(bt,lt)=>{for(var Qn in lt||(lt={}))c.call(lt,Qn)&&o(bt,Qn,lt[Qn]);if(l)for(var Qn of l(lt))f.call(lt,Qn)&&o(bt,Qn,lt[Qn]);return bt},u=(bt,lt,Qn)=>new Promise((yi,ei)=>{var Ki=An=>{try{qn(Qn.next(An))}catch(rr){ei(rr)}},bi=An=>{try{qn(Qn.throw(An))}catch(rr){ei(rr)}},qn=An=>An.done?yi(An.value):Promise.resolve(An.value).then(Ki,bi);qn((Qn=Qn.apply(bt,lt)).next())});const a=bt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${bt==null?void 0:bt.course_id}/course_videos/configs.json`,{method:"put",body:bt})}),x=bt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${bt==null?void 0:bt.course_id}/course_videos/list_for_config.json`,{method:"Get",params:bt})}),p=bt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${bt==null?void 0:bt.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:bt})}),y=bt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${bt==null?void 0:bt.course_id}/homework_commons/batch_late_setting`,{method:"post",body:bt})}),_=bt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:bt})}),b=bt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:bt})}),S=bt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:bt})}),k=bt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:bt})});function R(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},bt.permissions)})})}function A(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.course_id}/assistant_permissions.json`,{method:"Get",params:h({},bt)})})}function D(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/ai_status_query.json`,{method:"Get",params:bt})})}function M(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},bt)})})}function B(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/get_user_portrait_config.json`,{method:"Get",params:bt})})}function j(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/update_user_portrait_config.json?id=${bt.coursesId}`,{method:"put",body:h({},bt)})})}function Y(bt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},bt)})})}function V(bt){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},bt)})})}function G(bt){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},bt)})})}function ae(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/top_banner.json`,{method:"get",params:h({},bt)})})}function ie(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id||bt.coursesId}/left_banner.json`,{method:"get",params:h({},bt)})})}function ue(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/homework_commons.json`,{method:"get",params:h({},bt)})})}function q(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/homework_commons/list.json`,{method:"get",params:h({},bt)})})}function J(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/graduation_topics.json`,{method:"get",params:h({},bt)})})}function K(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/graduation_tasks.json`,{method:"get",params:h({},bt)})})}function oe(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${bt.id}/exercises.json`,{method:"get",params:h({},bt)})})}function ee(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/polls.json`,{method:"get",params:h({},bt)})})}function Q(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/homework_commons.json`,{method:"get",params:h({},bt)})})}function le(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/course_groups.json`,{method:"get",params:h({},bt)})})}function Z(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/all_course_groups.json`,{method:"get",params:h({},bt)})})}function $(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/attendances.json`,{method:"get",params:h({},bt)})})}function se(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${bt.coursesId}/attendances.json`,{method:"get",params:h({},bt)})})}function _e(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${bt.id}/edit.json`,{method:"get",params:h({},bt)})})}function De(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/informs.json`,{method:"get",params:h({},bt)})})}function ke(bt){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},bt)})})}function Ze(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/course_videos.json`,{method:"get",params:h({},bt)})})}function Ne(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/live_links.json`,{method:"get",params:h({},bt)})})}function Bt(bt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},bt)})})}function yt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${bt.categoryId}/messages.json`,{method:"get",params:h({},bt)})})}function Dt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/course_groups.json`,{method:"get",params:h({},bt)})})}function Jt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/students.json`,{method:"get",params:h({},bt)})})}function er(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/statistics.json`,{method:"get",params:h({},bt)})})}function tr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/work_score.json`,{method:"get",params:h({},bt)})})}function Xe(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/act_score.json`,{method:"get",params:h({},bt)})})}function Pt(bt){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},bt)})})}function Zt(bt){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},bt)})})}function ot(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt==null?void 0:bt.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},bt)})})}function xt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},bt)})})}function ht(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt==null?void 0:bt.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},bt)})})}function et(bt){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},bt)})})}function je(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},bt)})})}function ge(bt){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:bt})})}function Se(bt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:bt})})}function Me(bt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:bt})})}function $e(bt){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:bt})})}function He(bt){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:bt})})}function nt(bt){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},bt)})})}function ct(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.identifier}/add_student_groups.json`,{method:"post",body:bt})})}function Vt(bt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:bt})})}function Ht(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/add_teacher.json`,{method:"post",body:bt})})}function Pe(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/add_students_by_search.json`,{method:"post",body:bt})})}function qe(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/set_public_or_private.json`,{method:"post",body:bt})})}function Yt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/set_invite_code_halt.json`,{method:"post",body:bt})})}function Rt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/duplicate_course.json`,{method:"post",body:bt})})}function Wt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/update_end_date.json`,{method:"put",body:bt})})}function $t(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}.json`,{method:"delete",body:bt})})}function At(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/settings.json`,{method:"get",params:h({},bt)})})}function Xt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}.json`,{method:"put",body:bt})})}function We(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},bt)})})}function pe(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},bt)})})}function Ot(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},bt)})})}function Te(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},bt)})})}function dt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},bt)})})}function Gt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},bt)})})}function St(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${bt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},bt)})})}function Oe(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${bt.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},bt)})})}function wt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${bt.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},bt)})})}function be(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${bt.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},bt)})})}function Ke(bt){return u(this,null,function*(){return Fetch(`/api/homework_commons/${bt.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},bt)})})}function gt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${bt.id}.json`,{method:"delete",params:{export:!0}})})}function Ft(bt){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${bt.id}.json`,{method:"delete",params:{export:!0}})})}function Fe(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${bt.id}/sticky_module.json`,{method:"get"})})}function Dr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${bt.id}/hidden_module.json`,{method:"get"})})}function Ct(bt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:bt})})}function Gr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${bt.id}.json`,{method:"get",params:bt})})}function Qr(bt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:bt})})}function Cr(bt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:bt})})}function Fr(bt){return u(this,null,function*(){return Fetch(`/api/polls/${bt.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},bt)})})}function mr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${bt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},bt)})})}function jr(bt){return(0,r.ZP)(`/api/polls/${bt.categoryId}/start_answer.json`,{method:"get",params:h({},bt)})}function sn(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${bt.questionId}/poll_votes.json`,{method:"post",body:bt})})}function cn(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${bt.categoryId}/commit_poll.json`,{method:"post",body:bt})})}function lr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.courseId}/tasks_list.json`,{method:"get",params:bt})})}function Lt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.courseId}/update_task_position.json`,{method:"post",body:bt})})}function mt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:bt})})}function vt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/all_course_groups.json`,{method:"get",params:bt})})}function Ut(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/polls/all_course_groups.json`,{method:"get",params:bt})})}function Sr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/students.json`,{method:"get",params:bt})})}function yr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${bt.categoryId}/rename_group.json`,{method:"POST",body:bt})})}function it(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${bt.categoryId}.json`,{method:"delete",body:bt})})}function Br(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/join_course_group.json`,{method:"POST",body:bt})})}function gn(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/transfer_to_course_group.json`,{method:"post",body:bt})})}function zn(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/delete_from_course.json`,{method:"post",body:bt})})}function gr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/join_course_group.json`,{method:"post",body:bt})})}function tn(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/exit_course.json`,{method:"post"})})}function pn(bt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},bt)})})}function Fn(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/mooc_users/${bt.user_id}/edit.json`,{method:"get",params:bt})})}function Tn(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/mooc_users.json`,{method:"post",body:bt})})}function oi(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/mooc_users/${bt.user_id}.json`,{method:"put",body:bt})})}function Pi(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${bt.id}/move_category.json`,{method:"post",body:bt})})}function Li(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${bt.id}/move_category.json`,{method:"post",body:bt})})}function Si(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/courseware.json`,{method:"get",params:bt})})}function gi(bt,lt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${bt}/mark_wrong_topic.json`,{method:"get",params:lt})})}function ii(bt,lt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${bt}/cancel_wrong_topic.json`,{method:"get",params:lt})})}function na(bt,lt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${bt}/allow_end_group.json`,{method:"get",params:lt})})}function ni(bt,lt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:lt})})}function Ji(bt,lt){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${bt}/get_content_for_commit_id.json`,{method:"get",params:lt})})}},73801:function(d,v,e){"use strict";e.d(v,{$M:function(){return er},$P:function(){return Vt},Ax:function(){return x},Dh:function(){return k},FU:function(){return G},GQ:function(){return ee},IN:function(){return je},JM:function(){return $e},Ju:function(){return Jt},Mn:function(){return et},Ni:function(){return se},Pg:function(){return R},Pt:function(){return S},Qp:function(){return K},R9:function(){return ae},Ux:function(){return oe},Vy:function(){return Ze},XJ:function(){return $},XR:function(){return yt},Ze:function(){return B},aq:function(){return M},bQ:function(){return _},bu:function(){return p},cC:function(){return a},jS:function(){return ue},lm:function(){return ge},ml:function(){return le},o3:function(){return Xe},pA:function(){return Zt},pS:function(){return Me},pU:function(){return Z},ps:function(){return V},q0:function(){return xt},qN:function(){return ht},qS:function(){return b},qj:function(){return Bt},qt:function(){return nt},rV:function(){return A},rZ:function(){return He},rk:function(){return De},rm:function(){return J},sK:function(){return q},sL:function(){return ot},su:function(){return Se},tC:function(){return ke},tO:function(){return Ne},u9:function(){return Q},uZ:function(){return _e},vV:function(){return Y},xx:function(){return Ht},y8:function(){return Dt},yS:function(){return j},zF:function(){return y},zc:function(){return ie},zj:function(){return D},zz:function(){return ct}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Pe,qe,Yt)=>qe in Pe?i(Pe,qe,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Pe[qe]=Yt,h=(Pe,qe)=>{for(var Yt in qe||(qe={}))c.call(qe,Yt)&&o(Pe,Yt,qe[Yt]);if(l)for(var Yt of l(qe))f.call(qe,Yt)&&o(Pe,Yt,qe[Yt]);return Pe},u=(Pe,qe,Yt)=>new Promise((Rt,Wt)=>{var $t=We=>{try{Xt(Yt.next(We))}catch(fe){Wt(fe)}},At=We=>{try{Xt(Yt.throw(We))}catch(fe){Wt(fe)}},Xt=We=>We.done?Rt(We.value):Promise.resolve(We.value).then($t,At);Xt((Yt=Yt.apply(Pe,qe)).next())});const a=Pe=>(0,r.ZP)(`/api/competitions/${Pe.identifier}/create_guide.json`,{method:"post",body:Pe}),x=Pe=>(0,r.ZP)(`/api/competitions/${Pe.identifier}/guides.json`,{method:"get",params:Pe}),p=Pe=>(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.competition_team_id}/edit_info.json`,{method:"put",body:Pe});function y(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/update_result.json`,{method:"post",body:Pe})})}function _(Pe){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Pe)})})}function b(Pe){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Pe})})}function S(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"post"})})}function k(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_staff.json`,{method:"get"})})}function R(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/common_header.json`,{method:"get"})})}function A(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/${Pe.url}`,{method:"get",params:h({},Pe)})})}function D(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/update_md_content.json`,{method:"post",body:Pe})})}function M(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"get",params:Pe})})}function B(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.Teannameid}/edit.json`,{method:"get",params:Pe})})}function j(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.Teannameid}.json`,{method:"put",body:Pe})})}function Y(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.id}/leave.json`,{method:"post",body:Pe})})}function V(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.id}.json`,{method:"delete"})})}function G(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"post",body:Pe})})}function ae(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.id}/add_managers.json`,{method:"post",body:Pe})})}function ie(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/join.json`,{method:"post",body:Pe})})}function ue(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/teachers.json`,{method:"get",params:Pe})})}function q(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/students.json`,{method:"get",params:Pe})})}function J(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.teamid}/crud_team_members.json`,{method:"post",body:Pe})})}function K(Pe){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Pe})})}function oe(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/chart_rules.json`,{method:"get"})})}function ee(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/charts.json`,{method:"get",params:Pe})})}function Q(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/results.json`,{method:"get",params:Pe})})}function le(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/md_tab_rules.json`,{method:"get",params:Pe})})}function Z(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/prize.json`,{method:"get",params:Pe})})}function $(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.id}.json`,{method:"get",params:Pe})})}function se(Pe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Pe})})}function _e(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.userid}/phone_bind.json`,{method:"post",body:Pe})})}function De(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.userid}/email_bind.json`,{method:"post",body:Pe})})}function ke(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.userid}/professional_auth_apply.json`,{method:"delete"})})}function Ze(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.userid}/authentication_apply.json`,{method:"delete"})})}function Ne(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/prize_leader_account.json`,{method:"put",body:Pe})})}function Bt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.teamid}/shixun_detail.json`,{method:"get"})})}function yt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.teamid}/course_detail.json`,{method:"get"})})}function Dt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Pe.id}.json`,{method:"delete"})})}function Jt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.id}/get_certificate_info.json`,{method:"get",params:Pe})})}function er(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.id}/basic_setting.json`,{method:"post",body:Pe})})}function tr(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Xe(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/common_header.json`,{method:"get"})})}function Pt(Pe){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Pe})})}function Zt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/search_managers.json`,{method:"get",params:Pe})})}function ot(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/get_managers.json`,{method:"get"})})}function xt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/add_managers.json`,{method:"post",body:Pe})})}function ht(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/delete_managers.json`,{method:"delete",body:Pe})})}function et(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/get_picture.json`,{method:"get"})})}function je(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/identifier_exist.json`,{method:"post",body:Pe})})}function ge(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/get_shixun_settings.json`,{method:"get"})})}function Se(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/shixun_add.json`,{method:"post",body:Pe})})}function Me(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/shixun_delete.json`,{method:"delete",body:Pe})})}function $e(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/shixun_select.json`,{method:"post",body:Pe})})}function He(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/info_finish.json`,{method:"get"})})}function nt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/competition_review.json`,{method:"post",body:h({},Pe)})})}function ct(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"get",params:Pe})})}function Vt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/all_team_members.json`,{method:"get",params:Pe})})}function Ht(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Pe})})}},1103:function(d,v,e){"use strict";e.d(v,{F:function(){return b},OE:function(){return D},ff:function(){return S},p1:function(){return k},_y:function(){return _},mK:function(){return Y},gq:function(){return G},eM:function(){return j},BA:function(){return ue},bA:function(){return J},Nx:function(){return q},Qx:function(){return M},At:function(){return R},PX:function(){return A},Xl:function(){return B},y9:function(){return V},No:function(){return ae},ay:function(){return K}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(oe,ee,Q)=>ee in oe?i(oe,ee,{enumerable:!0,configurable:!0,writable:!0,value:Q}):oe[ee]=Q,a=(oe,ee)=>{for(var Q in ee||(ee={}))o.call(ee,Q)&&u(oe,Q,ee[Q]);if(f)for(var Q of f(ee))h.call(ee,Q)&&u(oe,Q,ee[Q]);return oe},x=(oe,ee)=>l(oe,c(ee)),p=(oe,ee)=>{var Q={};for(var le in oe)o.call(oe,le)&&ee.indexOf(le)<0&&(Q[le]=oe[le]);if(oe!=null&&f)for(var le of f(oe))ee.indexOf(le)<0&&h.call(oe,le)&&(Q[le]=oe[le]);return Q},y=(oe,ee,Q)=>new Promise((le,Z)=>{var $=De=>{try{_e(Q.next(De))}catch(ke){Z(ke)}},se=De=>{try{_e(Q.throw(De))}catch(ke){Z(ke)}},_e=De=>De.done?le(De.value):Promise.resolve(De.value).then($,se);_e((Q=Q.apply(oe,ee)).next())});const _=oe=>y(void 0,null,function*(){var ee=oe,{id:Q}=ee,le=p(ee,["id"]);return(0,r.ZP)(`/api/ec_years/${Q}/course_results.json`,{method:"get",params:le})}),b=oe=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${oe}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},S=({ec_year_id:oe})=>(0,r.ZP)(`/api/ec_years/${oe}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:oe,id:ee,class_name:Q=null})=>(0,r.ZP)(`/api/ec_years/${oe}/course_results/${ee}.json`,{method:"get",params:{class_name:Q}}),R=({ec_year_id:oe})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:oe}}),A=({ec_course_id:oe})=>(0,r.ZP)(`/api/ec_courses/${oe}/evaluations/evaluation_data`,{method:"POST"}),D=oe=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${oe}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},M=({ec_year_id:oe})=>(0,r.ZP)(`/api/ec_years/${oe}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:oe,id:ee})=>(0,r.ZP)(`/api/ec_years/${oe}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),j=oe=>(0,r.ZP)(`/api/ec_years/${oe}/ec_graduation_results.json`,{method:"get"}),Y=oe=>(0,r.ZP)(`/api/ec_years/${oe}/ec_graduation_results/get_formulas.json`,{method:"get"}),V=({ec_year_id:oe,formula_one:ee,formula_two:Q,formula_three:le})=>(0,r.ZP)(`/api/ec_years/${oe}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:Q,formula_three_id:le}}),G=({ec_year_id:oe,id:ee})=>(0,r.ZP)(`/api/ec_years/${oe}/ec_graduation_results/${ee}.json`,{method:"get"}),ae=oe=>{var ee=oe,{ec_year_id:Q,type:le,goal_value:Z}=ee,$=p(ee,["ec_year_id","type","goal_value"]);let se=`?type=${le}`,_e={method:"PUT"};return le==="all"&&(se+=`&goal_value=${Z}`),le==="each"&&(_e=x(a({},_e),{body:$})),(0,r.ZP)(`/api/ec_years/${Q}/ec_graduation_results/set_goal_value${se}`,_e)};var ie=(oe,ee,Q)=>new Promise((le,Z)=>{var $=De=>{try{_e(Q.next(De))}catch(ke){Z(ke)}},se=De=>{try{_e(Q.throw(De))}catch(ke){Z(ke)}},_e=De=>De.done?le(De.value):Promise.resolve(De.value).then($,se);_e((Q=Q.apply(oe,ee)).next())});const ue=oe=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${oe}/ec_majors/get_major_list.json`,{method:"get"})}),q=oe=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${oe}/ec_years/get_year_list.json`,{method:"get"})}),J=({ec_year_id:oe,school_id:ee})=>(0,r.ZP)(`/api/ec_years/${oe}/top_pages.json`,{method:"get",params:{school_id:ee}}),K=({id:oe,name:ee})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${oe}?name=${ee}`,{method:"PUT"})},81722:function(d,v,e){"use strict";e.d(v,{$Q:function(){return D},$l:function(){return yr},BJ:function(){return ht},CD:function(){return qe},Cd:function(){return nt},Cl:function(){return Fe},Di:function(){return tr},Fl:function(){return Zt},G$:function(){return le},GK:function(){return Pt},Ip:function(){return ge},J:function(){return Z},KE:function(){return ot},L8:function(){return Xt},LP:function(){return Se},MK:function(){return Xe},Mb:function(){return Cr},N0:function(){return V},N3:function(){return Ne},OO:function(){return R},P8:function(){return cn},PJ:function(){return se},PT:function(){return mr},Qc:function(){return ae},RK:function(){return Q},Ty:function(){return Ke},UH:function(){return dt},UK:function(){return Bt},Uj:function(){return Ht},Ul:function(){return He},VL:function(){return Wt},Vj:function(){return fe},W4:function(){return Vt},WL:function(){return pe},Wj:function(){return ee},X4:function(){return je},Xn:function(){return Gr},Xo:function(){return ue},YY:function(){return er},Ym:function(){return j},Yu:function(){return lr},ZD:function(){return sn},Zg:function(){return Dr},_B:function(){return Pe},_F:function(){return Fr},_U:function(){return J},_u:function(){return _e},aU:function(){return Y},ab:function(){return Ft},cC:function(){return be},cV:function(){return K},ck:function(){return jr},dp:function(){return G},eA:function(){return Ut},fG:function(){return S},gA:function(){return oe},gG:function(){return Qr},gJ:function(){return Lt},hk:function(){return y},hv:function(){return _},iB:function(){return b},iU:function(){return k},iw:function(){return wt},kp:function(){return $t},lL:function(){return A},lf:function(){return Ze},n$:function(){return ke},n7:function(){return q},nF:function(){return We},o3:function(){return mt},oS:function(){return Me},oX:function(){return Rt},oy:function(){return gt},p7:function(){return B},pL:function(){return Yt},pu:function(){return et},q6:function(){return At},qf:function(){return Jt},qz:function(){return $e},s:function(){return St},sA:function(){return Ot},sS:function(){return vt},tX:function(){return Gt},uR:function(){return yt},ux:function(){return xt},wy:function(){return Dt},xA:function(){return Oe},yE:function(){return ie},yu:function(){return Te},zP:function(){return M},zR:function(){return Sr}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(it,Br,gn)=>Br in it?i(it,Br,{enumerable:!0,configurable:!0,writable:!0,value:gn}):it[Br]=gn,a=(it,Br)=>{for(var gn in Br||(Br={}))o.call(Br,gn)&&u(it,gn,Br[gn]);if(f)for(var gn of f(Br))h.call(Br,gn)&&u(it,gn,Br[gn]);return it},x=(it,Br)=>l(it,c(Br)),p=(it,Br,gn)=>new Promise((zn,gr)=>{var tn=Tn=>{try{Fn(gn.next(Tn))}catch(oi){gr(oi)}},pn=Tn=>{try{Fn(gn.throw(Tn))}catch(oi){gr(oi)}},Fn=Tn=>Tn.done?zn(Tn.value):Promise.resolve(Tn.value).then(tn,pn);Fn((gn=gn.apply(it,Br)).next())});const y=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:it}),_=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:it}),b=it=>(0,r.ZP)(`/api/exercises/${it.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:it}),S=it=>(0,r.ZP)(`/api/exercises/${it.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:it}),k=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:it}),R=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.exercise_id}/statistics/list_student_score.json`,{method:"get",params:it}),A=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:it}),D=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.exercise_id}/statistics/score_ranges.json`,{method:"get",params:it}),M=it=>(0,r.ZP)(`/api/exercises/${it.id}/sava_exam_summary.json`,{method:"post",body:it}),B=it=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:it}),j=it=>(0,r.ZP)(`/api/exercises/${it.id}/generate_exam_summary.json`,{method:"post",body:it}),Y=it=>(0,r.ZP)(`/api/exercises/${it.id}/exam_summary_settings.json`,{method:"post",body:it}),V=it=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${it==null?void 0:it.exercise_id}/review_exercise_user.json`,{method:"post",body:it})}),G=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.id}/code_check.json`,{method:"get",params:it}),ae=it=>(0,r.ZP)(`/api/exercises/${it.id}/reset_pwd.json`,{method:"post",body:it}),ie=it=>(0,r.ZP)(`/api/exercises/${it.id}/encrypt_or_decrypt.json`,{method:"post",body:it}),ue=it=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${it.id}/delayed_time_or_force.json`,{method:"post",body:it})}),q=it=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${it==null?void 0:it.id}/exercise_time.json`,{method:"Get",params:it})}),J=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.id}/exercise_question_result.json`,{method:"get",params:it}),K=it=>(0,r.ZP)(`/api/exercises/${it.id}/get_question_type_alias.json`,{method:"get",params:it});function oe(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it==null?void 0:it.id}/teacher_update.json`,{method:"post",body:a({},it)})})}function ee(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it==null?void 0:it.id}/adjust_comment.json`,{method:"post",body:a({},it)})})}function Q(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.id}/edit_question_type_alias.json`,{method:"POST",body:it})})}function le(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_lists.json`,{method:"get",params:a({},it)})})}function Z(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},it)})})}function $(it){return p(this,null,function*(){return Fetch(`/api/exercises/${it.categoryId}/video_push_url.json`,{method:"get",params:a({},it)})})}function se(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},it)})})}function _e(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_result.json`,{method:"get",params:a({},it)})})}function De(it){return p(this,null,function*(){return Fetch(`/api/exercises/${it.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},it)})})}function ke(it){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},it)})})}function Ze(it){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},it)})})}function Ne(it){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${it.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},it)})})}function Bt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/common_header.json`,{method:"get",params:a({},it)})})}function yt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${it.coursesId}/exercises.json`,{method:"post",body:a({},it)})})}function Dt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.exerciseId}.json`,{method:"put",body:a({},it)})})}function Jt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}.json`,{method:"get",params:a({},it)})})}function er(it){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},it)})})}function tr(it){return p(this,null,function*(){const{id:Br}=it;return delete it.id,(0,r.ZP)(`/api/exercise_questions/${Br}.json`,{method:"put",body:a({},it)})})}function Xe(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_questions.json`,{method:"post",body:a({},it)})})}function Pt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.id}/up_down.json`,{method:"post",body:a({},it)})})}function Zt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.id}.json`,{method:"delete"})})}function ot(it){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${it.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},it)})})}function xt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/publish_groups.json`,{method:"get",params:a({},it)})})}function ht(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},it)})})}function et(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.exerciseId}/consult_exercise.json`,{method:"post",body:a({},it)})})}function je(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},it)})})}function ge(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.id}/adjust_score.json`,{method:"post",body:a({},it)})})}function Se(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.id}/batch_adjust_score.json`,{method:"post",body:a({},it)})})}function Me(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.id}/adjust_score.json`,{method:"post",body:a({},it)})})}function $e(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.id}/delayed_time.json`,{method:"post",body:a({},it)})})}function He(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_setting.json`,{method:"get",params:a({},it)})})}function nt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${it.categoryId}/exercise_setting.json`,{method:"get",params:a({},it)})})}function ct(it){return p(this,null,function*(){return Fetch(`/api/exercises/${it.categoryId}/commit_setting.json`,{method:"post",body:a({},it)})})}function Vt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},it)})})}function Ht(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},it),{export:!0})})})}function Pe(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},it),{login:null})})}function qe(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/start.json`,{method:"get",params:a({},it)})}function Yt(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/start_unlock.json`,{method:"post",body:a({},it)})}function Rt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.questionId}/exercise_answers.json`,{method:"post",body:it})})}function Wt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/commit_exercise.json`,{method:"post",body:it})})}function $t(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/simulate_commit_exercise.json`,{method:"post",body:it})})}function At(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/redo_exercise.json`,{method:"post",body:it})})}function Xt(it){return(0,r.ZP)(`/api/${it.url}`,{method:"get",params:a({},it)})}function We(it){return(0,r.ZP)(`/api/problems/${it.id}/start.json`,{method:"get",params:a({},it)})}function fe(it){return(0,r.ZP)(`/api/exercises/${it.id}/begin_commit.json`,{method:"get",params:a({},it)})}function pe(it){return(0,r.ZP)(`/api/exercises/${it.id}/simulate_begin_commit.json`,{method:"get",params:a({},it)})}function Ot(it){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},it)})}function Te(it){return console.log("params:",it),(0,r.ZP)(`/api/exercises/${it.categoryId}/edit.json`,{method:"get",params:a({},it)})}function dt(it){return(0,r.ZP)(`/api/exercises/${it.id}/get_objective_scores.json`,{method:"get",params:a({},it)})}function Gt(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/redo_modal.json`,{method:"get",params:a({},it)})}function St(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/student_redo_lists.json`,{method:"get",params:a({},it)})}function Oe(it){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:it})}function wt(it){return(0,r.ZP)(`/api/exercises/${it.id}/exercise_header.json`,{method:"get",params:a({},it)})}function be(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/allow_close_camera.json`,{method:"post",body:a({},it)})}function Ke(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},it)})}function gt(it){return(0,r.ZP)(`/api/exercises/${it.id}/record_screen`,{method:"post",params:a({},it)})}function Ft(it){return(0,r.ZP)(`/api/exercises/${it.id}/unbind_ip.json`,{method:"post",body:a({},it)})}function Fe(it){return(0,r.ZP)(`/api/exercises/${it.id}/check_ip.json`,{method:"get",params:a({},it)})}function Dr(it){return(0,r.ZP)(`/api/exercises/${it==null?void 0:it.id}/check_user_exercise.json`,{method:"get",params:a({},it)})}function Ct(it){return Fetch(`/api/exercises/${it.id}/make_up_students.json`,{method:"get",params:a({},it)})}function Gr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${it.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},it)})})}function Qr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.question_id}/adjust_score.json`,{method:"post",body:a({},it)})})}function Cr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${it.categoryId}/simulate_exercise.json`,{method:"post",body:a({},it)})})}function Fr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},it)})})}function mr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_time.json`,{method:"get",params:a({},it)})})}function jr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/commit_screen_at.json`,{method:"post",body:a({},it)})})}function sn(it,Br){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it}/unlock_user`,{method:"post",body:Br})})}function cn(it,Br){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it}/save_screen_record.json`,{method:"post",body:Br})})}function lr(it,Br){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it}/screen_record_list.json`,{method:"get",params:Br})})}function Lt(it){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},it)})})}function mt(it){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:it})})}function vt(it,Br){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it}/mark.json`,{method:"post",body:Br})})}function Ut(it){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${it}/exit_delete_pod.json`,{method:"post",body:it})})}function Sr(it){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:it})})}function yr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it==null?void 0:it.id}/send_to_item_bank.json`,{method:"post",body:a({},it)})})}},94670:function(d,v,e){"use strict";e.d(v,{B0:function(){return p},Si:function(){return R},Sr:function(){return D},YP:function(){return A},b4:function(){return k},bc:function(){return a},dX:function(){return S},eh:function(){return M},iI:function(){return _},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return j},vL:function(){return B},z5:function(){return Y}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(V,G,ae)=>G in V?i(V,G,{enumerable:!0,configurable:!0,writable:!0,value:ae}):V[G]=ae,h=(V,G)=>{for(var ae in G||(G={}))c.call(G,ae)&&o(V,ae,G[ae]);if(l)for(var ae of l(G))f.call(G,ae)&&o(V,ae,G[ae]);return V},u=(V,G,ae)=>new Promise((ie,ue)=>{var q=oe=>{try{K(ae.next(oe))}catch(ee){ue(ee)}},J=oe=>{try{K(ae.throw(oe))}catch(ee){ue(ee)}},K=oe=>oe.done?ie(oe.value):Promise.resolve(oe.value).then(q,J);K((ae=ae.apply(V,G)).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 S(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},V)})})}function k(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"put",body:h({},V)})})}function R(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"get",params:V})})}function A(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 M(V){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${V.id}/reward_code.json`,{method:"post",body:V})})}function B(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 Y(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/more_reply.json`,{method:"get",params:V})})}},22072:function(d,v,e){"use strict";e.d(v,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,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((S,k)=>{var R=M=>{try{D(b.next(M))}catch(B){k(B)}},A=M=>{try{D(b.throw(M))}catch(B){k(B)}},D=M=>M.done?S(M.value):Promise.resolve(M.value).then(R,A);D((b=b.apply(y,_)).next())});function a(y){return u(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return u(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},24059:function(d,v,e){"use strict";e.d(v,{B6:function(){return p},Gr:function(){return j},Mf:function(){return D},NA:function(){return R},PC:function(){return S},PP:function(){return k},QA:function(){return x},RP:function(){return G},Sv:function(){return V},YQ:function(){return A},_n:function(){return ae},hL:function(){return B},je:function(){return b},mM:function(){return _},wA:function(){return Y},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ie,ue,q)=>ue in ie?i(ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:q}):ie[ue]=q,h=(ie,ue)=>{for(var q in ue||(ue={}))c.call(ue,q)&&o(ie,q,ue[q]);if(l)for(var q of l(ue))f.call(ue,q)&&o(ie,q,ue[q]);return ie},u=(ie,ue,q)=>new Promise((J,K)=>{var oe=le=>{try{Q(q.next(le))}catch(Z){K(Z)}},ee=le=>{try{Q(q.throw(le))}catch(Z){K(Z)}},Q=le=>le.done?J(le.value):Promise.resolve(le.value).then(oe,ee);Q((q=q.apply(ie,ue)).next())});function a(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"get",params:h({},ie)})})}function x(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/tasks_list.json`,{method:"get",params:h({},ie)})})}function p(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/show_detail.json`,{method:"get",params:h({},ie)})})}function y(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}.json`,{method:"get",params:h({},ie)})})}function _(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ie)})})}function b(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ie)})})}function S(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ie.categoryId}/show_comment.json`,{method:"get",params:h({},ie)})})}function k(ie){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ie)})})}function R(ie){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ie)})})}function A(ie){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ie)})})}function D(ie){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ie)})})}function M(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ie)})})}function B(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/edit.json`,{method:"get",params:h({},ie)})})}function j(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics`,{method:"post",body:h({},ie)})})}function Y(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}`,{method:"put",body:h({},ie)})})}function V(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_tasks`,{method:"post",body:h({},ie)})})}function G(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"put",body:h({},ie)})})}function ae(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/edit.json`,{method:"get",params:h({},ie)})})}},12309:function(d,v,e){"use strict";e.d(v,{AA:function(){return Y},Db:function(){return x},Dd:function(){return b},F7:function(){return q},Fi:function(){return le},H3:function(){return _},HF:function(){return k},HH:function(){return y},Ib:function(){return oe},J3:function(){return o},NT:function(){return l},NX:function(){return A},Ot:function(){return R},Ou:function(){return J},Ps:function(){return c},Rk:function(){return ue},Tz:function(){return a},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ie},YS:function(){return G},Zd:function(){return Q},bS:function(){return D},ck:function(){return S},eh:function(){return j},il:function(){return h},j7:function(){return u},jW:function(){return V},km:function(){return ae},l5:function(){return B},rU:function(){return Z},xF:function(){return M},zC:function(){return K},zT:function(){return $}});var r=e(38986),i=(se,_e,De)=>new Promise((ke,Ze)=>{var Ne=Dt=>{try{yt(De.next(Dt))}catch(Jt){Ze(Jt)}},Bt=Dt=>{try{yt(De.throw(Dt))}catch(Jt){Ze(Jt)}},yt=Dt=>Dt.done?ke(Dt.value):Promise.resolve(Dt.value).then(Ne,Bt);yt((De=De.apply(se,_e)).next())});function l(se){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:se})}function c(se){return(0,r.ZP)(`/api/schools/${se.id}/departments/for_option.json`,{method:"get",params:se})}function f(se){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:se})}function o(se){return(0,r.ZP)("/api/graduations.json",{method:"get",params:se})}function h(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.stageid}/authorized_redelivery.json`,{method:"POST",body:se})})}function u(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.stageid}/submit.json`,{method:"POST",body:se})})}function a(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/export_status.json`,{method:"get",params:se})})}function x(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/export_all_attachments.json`,{method:"get",params:se})})}function p(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.id}.json`,{method:"get",params:se})})}function y(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/set_final_score.json`,{method:"POST",body:se})})}function _(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/final_score.json`,{method:"get",params:se})})}function b(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/set_novice_guide.json`,{method:"POST",body:se})})}function S(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_notices/${se.doid}/set_do.json`,{method:"POST",body:se})})}function k(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers.json`,{method:"POST",body:se})})}function R(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_students/${se.id}/update_major.json`,{method:"PUT",body:se})})}function A(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students.json`,{method:"POST",body:se})})}function D(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers/search.json`,{method:"get",params:se})})}function M(se){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:se})})}function B(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students/search.json`,{method:"get",params:se})})}function j(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students.json`,{method:"get",params:se})})}function Y(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers.json`,{method:"get",params:se})})}function V(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.graduation_id}/graduation_tasks.json`,{method:"POST",body:se})})}function G(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.graduation_id}/graduation_tasks/${se.id}.json`,{method:"PUT",body:se})})}function ae(se){return i(this,null,function*(){var _e;return(0,r.ZP)(`/api/graduations/${se.id}/graduation_tasks/${(_e=se.ids)==null?void 0:_e[0]}`,{method:"DELETE",body:{ids:se.ids}})})}function ie(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_tasks.json`,{method:"get",params:se})})}function ue(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_notices.json`,{method:"get",params:se})})}function q(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}.json`,{method:"get"})})}function J(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se==null?void 0:se.id}/common_header.json`,{method:"get"})})}function K(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/preview.json`,{method:"get"})})}function oe(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/not_pass.json`,{method:"post",body:_e})})}function ee(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/pass.json`,{method:"post",body:_e})})}function Q(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/not_pass.json`,{method:"post",body:_e})})}function le(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/pass.json`,{method:"post",body:_e})})}function Z(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/batch_delete`,{method:"delete",body:_e})})}function $(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/batch_delete`,{method:"delete",body:_e})})}},82220:function(d,v,e){"use strict";e.d(v,{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(38986),i=(p,y,_)=>new Promise((b,S)=>{var k=D=>{try{A(_.next(D))}catch(M){S(M)}},R=D=>{try{A(_.throw(D))}catch(M){S(M)}},A=D=>D.done?b(D.value):Promise.resolve(D.value).then(k,R);A((_=_.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})})}},50958:function(d,v,e){"use strict";e.d(v,{AD:function(){return a},Ig:function(){return x},Ko:function(){return _},QJ:function(){return b},Ub:function(){return S},V8:function(){return p},dl:function(){return k},w0:function(){return y}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(R,A,D)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:D}):R[A]=D,h=(R,A)=>{for(var D in A||(A={}))c.call(A,D)&&o(R,D,A[D]);if(l)for(var D of l(A))f.call(A,D)&&o(R,D,A[D]);return R},u=(R,A,D)=>new Promise((M,B)=>{var j=G=>{try{V(D.next(G))}catch(ae){B(ae)}},Y=G=>{try{V(D.throw(G))}catch(ae){B(ae)}},V=G=>G.done?M(G.value):Promise.resolve(G.value).then(j,Y);V((D=D.apply(R,A)).next())});function a(R){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},R)})})}function x(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/unread_message_info.json`,{method:"get",params:h({},R)})})}function p(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"get",params:h({},R)})})}function y(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"post",body:h({},R)})})}function _(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.id}/recent_contacts.json`,{method:"get",params:h({},R)})})}function b(R){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},R)})})}function S(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_message_details.json`,{method:"get",params:h({},R)})})}function k(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages/${R.id}.json`,{method:"delete"})})}},49379:function(d,v,e){"use strict";e.d(v,{A2:function(){return b},CI:function(){return p},Ep:function(){return _},Ex:function(){return M},R7:function(){return a},WW:function(){return B},_V:function(){return D},ms:function(){return R},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return A}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(j,Y,V)=>Y in j?i(j,Y,{enumerable:!0,configurable:!0,writable:!0,value:V}):j[Y]=V,h=(j,Y)=>{for(var V in Y||(Y={}))c.call(Y,V)&&o(j,V,Y[V]);if(l)for(var V of l(Y))f.call(Y,V)&&o(j,V,Y[V]);return j},u=(j,Y,V)=>new Promise((G,ae)=>{var ie=J=>{try{q(V.next(J))}catch(K){ae(K)}},ue=J=>{try{q(V.throw(J))}catch(K){ae(K)}},q=J=>J.done?G(J.value):Promise.resolve(J.value).then(ie,ue);q((V=V.apply(j,Y)).next())});function a(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/online_learning.json`,{method:"get"})})}function x(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}.json`,{method:"put",body:j})})}function p(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/course_stages.json`,{method:"post",body:j})})}function y(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_shixun_to_stage.json`,{method:"post",body:j})})}function _(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/select_shixun_to_stage.json`,{method:"post",body:j})})}function b(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_video_to_stage.json`,{method:"post",body:j})})}function S(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_attachment_to_stage.json`,{method:"post",body:j})})}function k(j){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:j})})}function R(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/up_position.json`,{method:"post"})})}function A(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/down_position.json`,{method:"post"})})}function D(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}.json`,{method:"delete"})})}function M(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.stage_id}/items/move_position.json`,{method:"post",body:h({},j)})})}function B(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.stage_id}/items/${j.id}`,{method:"delete"})})}},93629:function(d,v,e){"use strict";e.d(v,{DF:function(){return b},Di:function(){return ee},Dm:function(){return ue},Dq:function(){return De},Gd:function(){return _},Hb:function(){return ke},Hm:function(){return G},ID:function(){return u},JP:function(){return _e},NC:function(){return Y},Pl:function(){return S},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 k},iT:function(){return M},jK:function(){return ie},kF:function(){return Ze},kp:function(){return D},lc:function(){return A},oF:function(){return le},q$:function(){return h},qN:function(){return ae},tS:function(){return R},ts:function(){return B},un:function(){return K},w0:function(){return oe},wX:function(){return J},yE:function(){return f}});var r=e(38986),i=(Ne,Bt,yt)=>new Promise((Dt,Jt)=>{var er=Pt=>{try{Xe(yt.next(Pt))}catch(Zt){Jt(Zt)}},tr=Pt=>{try{Xe(yt.throw(Pt))}catch(Zt){Jt(Zt)}},Xe=Pt=>Pt.done?Dt(Pt.value):Promise.resolve(Pt.value).then(er,tr);Xe((yt=yt.apply(Ne,Bt)).next())});const l=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne==null?void 0:Ne.id}/code_check.json`,{method:"get",params:Ne}),c=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/reset_pwd.json`,{method:"post",body:Ne}),f=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/encrypt_or_decrypt.json`,{method:"post",body:Ne}),o=Ne=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:Ne}),h=Ne=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:Ne}),u=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/copy.json`,{method:"post",body:Ne}),a=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/get_question_type_alias.json`,{method:"get",params:Ne});function x(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/edit_question_type_alias.json`,{method:"POST",body:Ne})})}function p(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:Ne})})}function y(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:Ne})})}function _(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:Ne})})}function b(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/set_public.json`,{method:"post"})})}function S(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/set_private.json`,{method:"post"})})}function k(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}.json`,{method:"delete"})})}function R(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Ne})})}const A=Ne=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:Ne});function D(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/send_to_course.json`,{method:"post",body:Ne})})}function M(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}.json`,{method:"get",params:Ne})})}function B(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}/set_score`,{method:"post",body:Ne})})}function j(Ne){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}/set_shixun_score.json`,{method:"post",body:Ne})})}function Y(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}.json`,{method:"delete"})})}function V(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:Ne})})}function G(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:Ne})})}function ae(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}/adjust_position.json`,{method:"post",body:Ne})})}function ie(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}.json`,{method:"put",body:Ne})})}function ue(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Ne})})}function q(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:Ne})})}function J(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne==null?void 0:Ne.id}/set_public.json`,{method:"post",body:Ne})})}function K(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:Ne})})}function oe(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/update_exam.json`,{method:"put",body:Ne})})}function ee(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/edit_exam.json`,{method:"get"})})}function Q(Ne,Bt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/examination_banks_item_banks.json`,{method:"post",body:Bt})})}function le(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:Ne})})}function Z(Ne,Bt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/sort_question_type.json`,{method:"post",body:Bt})})}function $(Ne){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne.exam_id}/examination_banks_item_banks/${Ne.question_id}.json`,{method:"delete"})})}function se(Ne,Bt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/batch_set_score.json`,{method:"post",body:Bt})})}function _e(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne}/simulate_exercise.json`,{method:"post"})})}function De(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne}/exercise_header.json`,{method:"get"})})}function ke(Ne,Bt,yt){return i(this,null,function*(){const Dt=new FormData;return Dt.append("file",Bt),Dt.append("sub_discipline_id",yt),(0,r.ZP)(`/api/examination_banks/${Ne}/import_item_banks.json`,{method:"post",body:Dt},!0)})}function Ze(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:Ne})})}},36714:function(d,v,e){"use strict";e.d(v,{$D:function(){return q},A2:function(){return ge},A7:function(){return Gt},AQ:function(){return j},Ax:function(){return Pe},Bn:function(){return wt},CI:function(){return He},DQ:function(){return pe},DU:function(){return Zt},EP:function(){return ue},Ep:function(){return je},Er:function(){return se},Ex:function(){return Rt},FD:function(){return Ot},F_:function(){return Pt},Fg:function(){return x},GY:function(){return Xt},Go:function(){return le},Gz:function(){return p},Hl:function(){return y},JS:function(){return yt},KM:function(){return oe},M2:function(){return Me},MO:function(){return _e},Mt:function(){return $e},Mu:function(){return qe},NV:function(){return Oe},Q:function(){return De},Sp:function(){return B},VO:function(){return Te},WD:function(){return At},WO:function(){return $},WW:function(){return Wt},_C:function(){return St},_V:function(){return Ht},bw:function(){return ie},bz:function(){return fe},c3:function(){return Bt},eJ:function(){return Q},ef:function(){return Xe},fh:function(){return k},fj:function(){return Z},hS:function(){return _},jT:function(){return dt},ke:function(){return $t},lk:function(){return M},mQ:function(){return D},ms:function(){return ct},mx:function(){return Ze},nq:function(){return a},ol:function(){return We},p:function(){return V},p4:function(){return ke},pU:function(){return A},rS:function(){return Dt},rs:function(){return ee},s0:function(){return Se},sm:function(){return Ne},tS:function(){return b},tu:function(){return R},ue:function(){return Y},vf:function(){return ht},w4:function(){return G},xG:function(){return et},xn:function(){return xt},yN:function(){return ae},yy:function(){return Vt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(be,Ke,gt)=>Ke in be?i(be,Ke,{enumerable:!0,configurable:!0,writable:!0,value:gt}):be[Ke]=gt,h=(be,Ke)=>{for(var gt in Ke||(Ke={}))c.call(Ke,gt)&&o(be,gt,Ke[gt]);if(l)for(var gt of l(Ke))f.call(Ke,gt)&&o(be,gt,Ke[gt]);return be},u=(be,Ke,gt)=>new Promise((Ft,Fe)=>{var Dr=Qr=>{try{Gr(gt.next(Qr))}catch(Cr){Fe(Cr)}},Ct=Qr=>{try{Gr(gt.throw(Qr))}catch(Cr){Fe(Cr)}},Gr=Qr=>Qr.done?Ft(Qr.value):Promise.resolve(Qr.value).then(Dr,Ct);Gr((gt=gt.apply(be,Ke)).next())});const a=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:be})}),x=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:be})}),p=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:be})}),y=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:be})}),_=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:be})});function b(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},be)})})}function S(be){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},be)})})}function k(be){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},be)})})}function R(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"PUT",body:be})})}function A(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:be})})}function D(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/edit.json`,{method:"get"})})}function M(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function B(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function j(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/right_banner.json`,{method:"get",params:be})})}function Y(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"get",params:be})})}const V=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:be})}),G=be=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${be.id}/children.json`,{method:"Get",params:be})});function ae(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:be})})}function ie(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/update_team_title.json`,{method:"post",body:be})})}function ue(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/delete_member.json`,{method:"Delete",body:be})})}function q(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses/${be==null?void 0:be.courseid}.json`,{method:"Delete"})})}function J(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/up_member_position.json`,{method:"post",body:be})})}function K(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/down_member_position.json`,{method:"post",body:be})})}function oe(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:be})})}function ee(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:be})})}function Q(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"Delete",body:be})})}function le(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/publish.json`,{method:"post",body:be})})}function Z(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_publish.json`,{method:"post",body:be})})}function $(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/apply_public.json`,{method:"post",body:be})})}function se(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_public.json`,{method:"post",body:be})})}function _e(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/choose_course.json`,{method:"get",params:be})})}function De(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/send_to_course.json`,{method:"post",body:be})})}function ke(be){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${be.id}/send_to_course.json`,{method:"post",body:be})})}function Ze(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/add_subject_members.json`,{method:"post",body:be})})}function Ne(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"post",body:be})})}function Bt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/appointment.json`,{method:"post",body:be})})}function yt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/join_excellent_course.json`,{method:"post",body:be})})}function Dt(be){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:be})})}function Jt(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/statistics_info.json`,{method:"get",params:be})})}function er(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/shixun_analyze.json`,{method:"get",params:be})})}function tr(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/learning_analyze.json`,{method:"get",params:be})})}function Xe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/learning_statistics.json`,{method:"get",params:be})})}function Pt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/shixun_statistics.json`,{method:"get",params:be})})}function Zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/study_analyze/${be.type}.json`,{method:"get",params:be})})}function ot(be){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:be})})}function xt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"put",body:be})})}function ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_shixun_to_stage.json`,{method:"post",body:be})})}const et=be=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.stage_id}/select_challenge_to_stage.json`,{method:"post",body:be})});function je(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/select_shixun_to_stage.json`,{method:"post",body:be})})}function ge(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_video_to_stage.json`,{method:"post",body:be})})}function Se(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_attachment_to_stage.json`,{method:"post",body:be})})}function Me(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be.id}.json`,{method:"put",body:be})})}function $e(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_blank_to_stage.json`,{method:"post",body:be})})}function He(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:be})})}function nt(be){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:be})})}function ct(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/up_position.json`,{method:"get"})})}function Vt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/down_position.json`,{method:"get"})})}function Ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"delete"})})}function Pe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.pathId}/discusses.json`,{method:"get",params:h({},be)})})}function qe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.coursesId}/excellent_discusses.json`,{method:"get",params:h({},be)})})}function Yt(be){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},be)})})}function Rt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/move_position`,{method:"post",body:h({},be)})})}function Wt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/${be.id}`,{method:"delete"})})}function $t(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/excellent_discuss`,{method:"post",body:h({},be)})})}function At(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/post_discuss`,{method:"post",body:h({},be)})})}function Xt(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:be})})}function We(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:be})})}function fe(be){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:be})})}function pe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.id}/add_homework_to_stage.json`,{method:"post",body:be})})}function Ot(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be==null?void 0:be.id}/edit.json`,{method:"get",params:be})})}function Te(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be==null?void 0:be.id}.json`,{method:"put",body:be})})}function dt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/subjects/subject_homework.json`,{method:"get",params:be})})}function Gt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/courses/course_homework.json`,{method:"get",params:be})})}function St(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.id}/batch_add_homework_to_stage.json`,{method:"post",body:be})})}function Oe(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:be})})}function wt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_login}/subjects/cancel.json`,{method:"get",params:be})})}},7299:function(d,v,e){"use strict";e.d(v,{Fd:function(){return oe},Hi:function(){return y},IU:function(){return Y},KE:function(){return b},Kc:function(){return Q},MK:function(){return V},Q9:function(){return D},Qg:function(){return j},Qn:function(){return k},UK:function(){return p},W:function(){return Z},Ye:function(){return B},_c:function(){return a},hO:function(){return ue},iV:function(){return le},jy:function(){return G},kp:function(){return ie},lf:function(){return A},m7:function(){return _},n$:function(){return R},rJ:function(){return M},s3:function(){return x},ux:function(){return S},vf:function(){return K},wh:function(){return ae},wo:function(){return ee},x$:function(){return J}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=($,se,_e)=>se in $?i($,se,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$[se]=_e,h=($,se)=>{for(var _e in se||(se={}))c.call(se,_e)&&o($,_e,se[_e]);if(l)for(var _e of l(se))f.call(se,_e)&&o($,_e,se[_e]);return $},u=($,se,_e)=>new Promise((De,ke)=>{var Ze=yt=>{try{Bt(_e.next(yt))}catch(Dt){ke(Dt)}},Ne=yt=>{try{Bt(_e.throw(yt))}catch(Dt){ke(Dt)}},Bt=yt=>yt.done?De(yt.value):Promise.resolve(yt.value).then(Ze,Ne);Bt((_e=_e.apply($,se)).next())});const a=$=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$==null?void 0:$.id}/commit_word_cloud.json`,{method:"Get",params:$})});function x($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/poll_lists.json`,{method:"get",params:h({},$)})})}function p($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/common_header.json`,{method:"get"})})}function y($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/poll_setting.json`,{method:"get"})})}function _($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/commit_setting.json`,{method:"post",body:h({},$)})})}function b($){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${$.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},$)})})}function S($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/publish_groups.json`,{method:"get",params:h({},$)})})}function k($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/commit_result.json`,{method:"get",params:h({},$)})})}function R($){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},$)})})}function A($){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},$)})})}function D($){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${$.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},$)})})}function M($){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${$.coursesId}/polls.json`,{method:"POST",body:h({},$)})})}function B($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/edit.json`,{method:"get"})})}function j($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function Y($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function V($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.pollsId}/poll_questions.json`,{method:"post",body:h({},$)})})}function G($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}.json`,{method:"delete",body:h({},$)})})}function ae($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}/up_down.json`,{method:"post",body:h({},$)})})}function ie($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${$.topicId}.json`,{method:"get"})})}function ue($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${$.topicId}.json`,{method:"put",body:h({},$)})})}function q($){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${$.topicId}.json`,{method:"put",body:h({},$)})})}function J($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${$.pollsId}.json`,{method:"delete",body:h({},$)})})}function K($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}/up_down.json`,{method:"post",body:h({},$)})})}function oe($){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},$)})})}function ee($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function Q($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${$.id}.json`,{method:"put",body:h({},$)})})}function le($){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},$)})})}function Z($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${$.exerciseId}/up_down.json`,{method:"post",body:h({},$)})})}},46722:function(d,v,e){"use strict";e.d(v,{$c:function(){return nt},A1:function(){return $e},Bd:function(){return D},Bo:function(){return q},Cc:function(){return oe},Cn:function(){return le},DF:function(){return R},Dm:function(){return Xe},FG:function(){return ue},GW:function(){return Pt},HF:function(){return V},Hm:function(){return $},IJ:function(){return Me},L5:function(){return tr},LS:function(){return ot},MZ:function(){return ge},Mr:function(){return ie},NZ:function(){return Bt},Of:function(){return S},Pl:function(){return k},Qj:function(){return _},Qp:function(){return ht},RT:function(){return Pe},Rp:function(){return xt},U6:function(){return G},Vl:function(){return ee},Wk:function(){return ae},YP:function(){return Z},Ys:function(){return B},al:function(){return M},bF:function(){return ct},d1:function(){return y},dt:function(){return Vt},et:function(){return _e},ex:function(){return b},fY:function(){return De},fn:function(){return A},hI:function(){return yt},hg:function(){return je},iT:function(){return J},lS:function(){return Ne},nD:function(){return Zt},qN:function(){return se},rV:function(){return j},s:function(){return Ze},sD:function(){return Se},sS:function(){return er},ts:function(){return K},vi:function(){return He},wX:function(){return et},x5:function(){return Y},zh:function(){return ke}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(qe,Yt,Rt)=>Yt in qe?i(qe,Yt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):qe[Yt]=Rt,a=(qe,Yt)=>{for(var Rt in Yt||(Yt={}))o.call(Yt,Rt)&&u(qe,Rt,Yt[Rt]);if(f)for(var Rt of f(Yt))h.call(Yt,Rt)&&u(qe,Rt,Yt[Rt]);return qe},x=(qe,Yt)=>l(qe,c(Yt)),p=(qe,Yt,Rt)=>new Promise((Wt,$t)=>{var At=fe=>{try{We(Rt.next(fe))}catch(pe){$t(pe)}},Xt=fe=>{try{We(Rt.throw(fe))}catch(pe){$t(pe)}},We=fe=>fe.done?Wt(fe.value):Promise.resolve(fe.value).then(At,Xt);We((Rt=Rt.apply(qe,Yt)).next())});function y(qe){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},qe),{clazz:"ItemBanksGroup"})})})}function _(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:qe})})}function b(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:qe})})}function S(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:qe})})}function k(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/set_private.json`,{method:"post"})})}function R(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/set_public.json`,{method:"post"})})}function A(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}.json`,{method:"delete"})})}function D(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${qe.id}/start.json`,{method:"get"})})}function M(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}.json`,{method:"delete",body:a({},qe)})})}function B(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:qe})})}function j(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:qe})})}function Y(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:qe.type}})})}function V(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:qe})})}function G(qe){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:qe})})}function ae(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}.json`,{method:"put",body:qe})})}function ie(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:qe})})}function ue(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/edit.json`,{method:"get"})})}function q(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${qe.id}/edit.json`,{method:"get"})})}function J(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:qe})})}function K(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/set_score.json`,{method:"post",body:qe})})}function oe(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/set_challenge_score.json`,{method:"post",body:qe})})}function ee(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/combination_set_score.json`,{method:"post",body:qe})})}function Q(qe){return p(this,null,function*(){return Fetch(`/api/examination_banks//${qe.exerid}/examination_banks_item_banks/${qe.id}/combination_set_score.json`,{method:"post",body:qe})})}function le(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}.json`,{method:"delete"})})}function Z(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:qe})})}function $(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:qe})})}function se(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/adjust_position.json`,{method:"post",body:qe})})}function _e(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:qe})})}function De(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${qe.id}/revoke_item.json`,{method:"delete",body:qe})})}function ke(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${qe.exam_id}/examination_banks_item_banks.json`,{method:"post",body:qe})})}function Ze(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/join_to_collection.json`,{method:"post",params:qe})})}function Ne(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/cancel_collection.json`,{method:"post",params:qe})})}function Bt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:qe})})}function yt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:qe})})}function Dt(qe){return p(this,null,function*(){return Fetch(`/api/item_banks/${qe.id}/join_to_group.json`,{method:"post",body:qe})})}function Jt(qe){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${qe.id}.json`,{method:"put",body:qe})})}function er(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:qe})})}function tr(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/feedback.json`,{method:"post",body:qe})})}function Xe(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:qe})})}function Pt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:qe})})}function Zt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:qe})})}function ot(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:qe})})}function xt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:qe})})}function ht(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:qe})})}function et(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe==null?void 0:qe.id}/set_public.json`,{method:"post",body:qe})})}function je(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:qe})})}function ge(qe){return(0,r.ZP)(`/api/problems/${qe.identifier}/publish.json`,{method:"post",body:qe})}function Se(qe){return(0,r.ZP)(`/api/problems/${qe.identifier}/cancel_publish.json`,{method:"post",body:qe})}function Me(qe){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...qe.id]}})}function $e(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${qe.id}/up_position.json`,{method:"get",params:qe})})}function He(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${qe.id}/down_position.json`,{method:"get",params:qe})})}function nt(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${qe.id}/edit_hack.json`,{method:"get",params:qe})})}function ct(qe){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:qe})})}function Vt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:qe})})}function Ht(qe){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:qe})})}function Pe(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},506:function(d,v,e){"use strict";e.d(v,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(38986),i=(o,h,u)=>new Promise((a,x)=>{var p=b=>{try{_(u.next(b))}catch(S){x(S)}},y=b=>{try{_(u.throw(b))}catch(S){x(S)}},_=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);_((u=u.apply(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})})}},1247:function(d,v,e){"use strict";e.d(v,{Am:function(){return _},Ar:function(){return Xe},BD:function(){return He},Be:function(){return et},Dx:function(){return ee},Fr:function(){return pe},G$:function(){return k},GS:function(){return G},Gw:function(){return S},H:function(){return er},H1:function(){return tr},Hj:function(){return ct},JA:function(){return Ht},JG:function(){return oe},KE:function(){return Z},Lz:function(){return Me},Mf:function(){return Jt},NA:function(){return yt},PC:function(){return Ne},PP:function(){return Bt},PW:function(){return ot},Q3:function(){return Q},QC:function(){return Pe},Qt:function(){return $e},Qz:function(){return D},R$:function(){return We},RP:function(){return ue},Ti:function(){return St},Uc:function(){return Wt},Ul:function(){return J},VB:function(){return dt},Vs:function(){return $t},Wr:function(){return R},Xn:function(){return q},YQ:function(){return Dt},Yn:function(){return b},Z8:function(){return Y},ak:function(){return Zt},cN:function(){return B},co:function(){return je},cz:function(){return ke},fK:function(){return V},gG:function(){return Ze},gZ:function(){return Rt},h$:function(){return j},ku:function(){return Se},lf:function(){return se},m7:function(){return K},mQ:function(){return M},mz:function(){return ht},n$:function(){return $},oK:function(){return y},oN:function(){return Gt},pH:function(){return nt},pb:function(){return Te},qP:function(){return qe},ql:function(){return Yt},rN:function(){return ge},sw:function(){return _e},t1:function(){return De},to:function(){return ie},ub:function(){return Vt},ux:function(){return le},wS:function(){return Ot},wT:function(){return A},yT:function(){return Pt},yy:function(){return At},z2:function(){return xt}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Oe,wt,be)=>wt in Oe?i(Oe,wt,{enumerable:!0,configurable:!0,writable:!0,value:be}):Oe[wt]=be,a=(Oe,wt)=>{for(var be in wt||(wt={}))o.call(wt,be)&&u(Oe,be,wt[be]);if(f)for(var be of f(wt))h.call(wt,be)&&u(Oe,be,wt[be]);return Oe},x=(Oe,wt)=>l(Oe,c(wt)),p=(Oe,wt,be)=>new Promise((Ke,gt)=>{var Ft=Ct=>{try{Dr(be.next(Ct))}catch(Gr){gt(Gr)}},Fe=Ct=>{try{Dr(be.throw(Ct))}catch(Gr){gt(Gr)}},Dr=Ct=>Ct.done?Ke(Ct.value):Promise.resolve(Ct.value).then(Ft,Fe);Dr((be=be.apply(Oe,wt)).next())});const y=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.id}/update_journals.json`,{method:"post",body:Oe})}),_=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/change_score.json`,{method:"post",body:Oe})}),b=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/history_comment`,{method:"Get",params:Oe})}),S=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/feedback_know`,{method:"Get",params:Oe})}),k=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.userId}/student_work_feedbacks.json`,{method:"POST",body:Oe})}),R=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.userId}/feedback_list.json`,{method:"Get",params:Oe})}),A=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.userId}/histories.json`,{method:"Get",params:Oe})}),D=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/feedback_list`,{method:"Get",params:Oe})}),M=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Oe})}),B=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/appeal_list`,{method:"Get",params:Oe})});function j(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/works_list.json`,{method:"post",body:a({},Oe)})})}function Y(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Oe.categoryId}/student_works.json`,{method:"get",params:a({},Oe)})})}function V(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Oe.categoryId}/header_info.json`,{method:"get",params:a({},Oe)})})}function G(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe}/query_game_url.json`,{method:"get"})})}function ae(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ie(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}.json`,{method:"get"})})}function ue(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/code_review_results.json`,{method:"get",params:a({},Oe)})})}function q(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/code_review_detail.json`,{method:"get",params:a({},Oe)})})}function J(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/settings.json`,{method:"get",params:a({},Oe)})})}function K(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_settings.json`,{method:"post",body:a({},Oe)})})}function oe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/group_list.json`,{method:"get",params:a({},Oe)})})}function ee(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/works_list.xlsx`,{method:"get",params:a({},Oe)})})}function Q(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.coursesId}/reference_answer.json`,{method:"get",params:a({},Oe)})})}function le(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/publish_groups.json`,{method:"get",params:a({},Oe)})})}function Z(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/end_groups.json`,{method:"get",params:a({},Oe)})})}function $(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Oe)})})}function se(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Oe)})})}function _e(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/shixun_work_report.json`,{method:"get",params:Oe})})}function De(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Oe})})}function ke(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Oe),{id:Oe.categoryId})})})}function Ze(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Oe)})})}function Ne(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/show_comment.json`,{method:"get",params:a({},Oe)})})}function Bt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Oe)})})}function yt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Oe)})})}function Dt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Oe)})})}function Jt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Oe)})})}function er(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_explanation.json`,{method:"post",body:a({},Oe)})})}function tr(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons.json`,{method:"post",body:a({},Oe)})})}function Xe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}.json`,{method:"put",body:a({},Oe)})})}function Pt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Oe.id}.json`,{method:"put",body:a({},Oe)})})}function Zt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Oe)})})}function ot(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/edit.json`,{method:"get",params:a({},Oe)})})}function xt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}.json`,{method:"put",body:a({},Oe)})})}function ht(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Oe)})})}function et(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Oe)})})}function je(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Oe)})})}function ge(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Se(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Oe)})})}function Me(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Oe)})})}function $e(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Oe)})})}function He(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/edit.json`,{method:"get",params:a({},Oe)})})}function nt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Oe.id}.json`,{method:"get",params:a({},Oe)})})}function ct(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}.json`,{method:"get",params:a({},Oe)})})}function Vt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/supply_attachments.json`,{method:"get",params:a({},Oe)})})}function Ht(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/comment_list.json`,{method:"get",params:a({},Oe)})})}function Pe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/destroy_score.json`,{method:"delete",body:a({},Oe)})})}function qe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/add_score_reply.json`,{method:"post",body:a({},Oe)})})}function Yt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/all_student_works.json`,{method:"get",params:a({},Oe)})})}function Rt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Oe)})})}function Wt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/score_status.json`,{method:"get",params:a({},Oe)})})}function $t(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_score.json`,{method:"get",params:a({},Oe)})})}function At(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/add_score.json`,{method:"post",body:a({},Oe)})})}function Xt(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe.userId}/cancel_appeal.json`,{method:"post",body:a({},Oe)})})}function We(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Oe)})})}function fe(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe.userId}/deal_appeal_score.json`,{method:"post",body:a({},Oe)})})}function pe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Oe.id}/reset_my_game.json`,{method:"get",params:a({},Oe)})})}function Ot(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/commit_des.json`,{method:"get",params:a({},Oe)})})}function Te(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/update_des.json`,{method:"post",body:a({},Oe)})})}function dt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Oe)})})}function Gt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Oe)})})}function St(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Oe)})})}},75736:function(d,v,e){"use strict";e.d(v,{$Q:function(){return Fr},AE:function(){return $t},AQ:function(){return M},Ag:function(){return wt},Ar:function(){return le},At:function(){return Lt},BK:function(){return Y},Bj:function(){return Zt},DC:function(){return Xe},Dz:function(){return mt},E4:function(){return tr},EH:function(){return se},Ee:function(){return gn},Er:function(){return ee},FB:function(){return j},Fg:function(){return S},GI:function(){return ke},Gr:function(){return ht},Gu:function(){return De},Gz:function(){return b},HS:function(){return bt},Hl:function(){return y},IT:function(){return St},I_:function(){return A},Ir:function(){return V},Je:function(){return Fe},K:function(){return Ut},K0:function(){return Br},KM:function(){return q},K_:function(){return jr},LK:function(){return Dr},LP:function(){return Ze},Ne:function(){return oe},OV:function(){return Bt},OW:function(){return $},Op:function(){return Cr},P2:function(){return Dt},Po:function(){return D},Ps:function(){return et},Q:function(){return K},Q1:function(){return Sr},QA:function(){return gi},Ql:function(){return ge},Rs:function(){return Pe},SG:function(){return Ji},Tn:function(){return Xt},Tr:function(){return ii},U0:function(){return He},U9:function(){return je},UQ:function(){return Te},Ui:function(){return mr},Vx:function(){return it},WO:function(){return Q},WT:function(){return na},Wi:function(){return ot},Wl:function(){return be},X$:function(){return Jt},Yn:function(){return fe},Z2:function(){return Pt},ZO:function(){return xt},Zt:function(){return vt},_7:function(){return J},_9:function(){return pe},aH:function(){return Se},al:function(){return Vt},b8:function(){return Z},bq:function(){return We},dK:function(){return G},e:function(){return k},eX:function(){return _e},eb:function(){return qe},fL:function(){return Ft},h4:function(){return yr},hS:function(){return _},he:function(){return R},hn:function(){return ie},ii:function(){return Ht},im:function(){return Ot},j8:function(){return Ne},jq:function(){return Qr},kF:function(){return Gr},km:function(){return ct},l3:function(){return yt},m7:function(){return $e},mI:function(){return Si},n5:function(){return B},nu:function(){return Ct},p0:function(){return Gt},q0:function(){return Wt},q9:function(){return lr},qA:function(){return cn},rO:function(){return Rt},rs:function(){return ue},sr:function(){return dt},t2:function(){return Oe},tX:function(){return zn},uo:function(){return nt},v3:function(){return gt},w:function(){return Ke},xK:function(){return At},xg:function(){return Yt},xk:function(){return er},yE:function(){return Me},yx:function(){return Li},zD:function(){return ae},zH:function(){return sn}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(lt,Qn,yi)=>Qn in lt?i(lt,Qn,{enumerable:!0,configurable:!0,writable:!0,value:yi}):lt[Qn]=yi,a=(lt,Qn)=>{for(var yi in Qn||(Qn={}))o.call(Qn,yi)&&u(lt,yi,Qn[yi]);if(f)for(var yi of f(Qn))h.call(Qn,yi)&&u(lt,yi,Qn[yi]);return lt},x=(lt,Qn)=>l(lt,c(Qn)),p=(lt,Qn,yi)=>new Promise((ei,Ki)=>{var bi=rr=>{try{An(yi.next(rr))}catch(_t){Ki(_t)}},qn=rr=>{try{An(yi.throw(rr))}catch(_t){Ki(_t)}},An=rr=>rr.done?ei(rr.value):Promise.resolve(rr.value).then(bi,qn);An((yi=yi.apply(lt,Qn)).next())});const y=lt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:lt})}),_=lt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:lt})}),b=lt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:lt})}),S=lt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:lt})}),k=lt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:lt})});function R(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},lt)})})}function A(lt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},lt||{})})})}function D(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}.json`,{method:"Get",params:lt})})}function M(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/show_right.json`,{method:"Get"})})}function B(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges.json`,{method:"Get"})})}function j(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:lt.save_type}})})}function Y(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/jupyter_exec.json${lt.reset?`?reset=${lt.reset}`:""}`,{method:"Get",params:lt})})}function V(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/shixun_exec.json${lt.reset?`?reset=${lt.reset}`:""}`,{method:"Get",params:lt})})}function G(lt){return p(this,null,function*(){return(0,r.ZP)(lt.url,{method:"Get"})})}function ae(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.shixun_identifier}/challenges/${lt.challenge_id}/index_up.json`,{method:"Get"})})}function ie(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.shixun_identifier}/challenges/${lt.challenge_id}/index_down.json`,{method:"Get"})})}function ue(lt){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:lt.container_id,container_type:lt.container_type}})})}function q(lt){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:lt.container_id,container_type:lt.container_type}})})}function J(lt){return p(this,null,function*(){const{id:Qn}=lt||{};return(0,r.ZP)(`/api/shixuns/${Qn}/search_user_courses.json`,{method:"Get",params:lt})})}function K(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt==null?void 0:lt.id}/send_to_course.json`,{method:"Post",body:a({},lt)})})}function oe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/cancel_publish.json`,{method:"Get"})})}function ee(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/cancel_apply_public.json`,{method:"Get"})})}function Q(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/apply_public.json`,{method:"post",body:a({},lt)})})}function le(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/publish.json`,{method:"Get"})})}function Z(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function $(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${lt.id}.json`,{method:"delete"})})}function se(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:lt})})}function _e(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:lt})})}function De(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:lt})})}function ke(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/review_newest_record.json`,{method:"Get"})})}function Ze(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/review_shixun.json`,{method:"post",body:lt})})}function Ne(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/collaborators.json`,{method:"Get",params:lt})})}function Bt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/shixun_members_added.json`,{method:"post",body:lt})})}function yt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.identifier}/add_members_group.json`,{method:"post",body:lt})})}function Dt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/change_manager.json`,{method:"Get",params:lt})})}function Jt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/change_manager.json`,{method:"post",body:lt})})}function er(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/collaborators_delete.json`,{method:"delete",body:{user_id:lt.userId}})})}function tr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/ranking_list.json`,{method:"Get"})})}function Xe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/settings.json`,{method:"Get"})})}function Pt(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:lt.mirror_id}})})}function Zt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/get_script_contents.json`,{method:"Get",params:lt})})}function ot(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/get_custom_script.json`,{method:"Get",params:lt})})}function xt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/update_for_jupyter.json`,{method:"put",body:lt})})}function ht(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/shixun_quotes.json`,{method:"Get"})})}function et(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}.json`,{method:"delete"})})}function je(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/close.json`,{method:"post",body:lt})})}function ge(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:lt})})}function Se(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/update_permission_setting.json`,{method:"post",body:lt})})}function Me(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/update_learn_setting.json`,{method:"post",body:lt})})}function $e(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/update_setting`,{method:"post",body:lt})})}function He(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/get_data_sets.json`,{method:"Get",params:lt})})}function nt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/destroy_data_sets.json`,{method:"Delete",body:{id:lt.deleteId}})})}function ct(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/new.json`,{method:"get"})})}function Vt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.identifier}/challenges.json`,{method:"post",body:a({},lt)})})}function Ht(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengeId}/edit.json`,{method:"get",params:{tab:lt.tab}})})}function Pe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}.json`,{method:"put",body:a({},lt)})})}function qe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/choose_questions.json`,{method:"get"})})}function Yt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/move_position.json`,{method:"post",body:a({},lt)})})}function Rt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}.json`,{method:"delete",body:a({},lt)})})}function Wt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/edit.json`,{method:"get",params:a({},lt)})})}function $t(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengeId}/answer.json`,{method:"get",params:a({},lt)})})}function At(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengeId}/crud_answer.json`,{method:"post",body:a({},lt)})})}function Xt(lt){return p(this,null,function*(){if(lt.type===1)return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/create_choose_question.json`,{method:"post",body:a({},lt)});if(lt.type===2)return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/create_blank_question.json`,{method:"post",body:a({},lt)});if(lt.type===3)return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/create_judge_question.json`,{method:"post",body:a({},lt)})})}function We(lt){return p(this,null,function*(){if(lt.type===1)return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},lt),{choose_id:lt.questionId})});if(lt.type===2)return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},lt),{choose_id:lt.questionId})});if(lt.type===3)return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},lt),{choose_id:lt.questionId})})})}function fe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:lt.questionId}})})}function pe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:lt.questionId}})})}function Ot(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:lt.questionId}})})}function Te(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/challenges/${lt.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},lt),{choose_id:lt.questionId})})})}function dt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/delete_git_file.json`,{method:"Delete",body:lt})})}function Gt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${lt.id}/delete_git_file.json`,{method:"Delete",body:lt})})}function St(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/mv_file.json`,{method:"post",body:lt})})}function Oe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${lt.id}/mv_file.json`,{method:"post",body:lt})})}function wt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/repository.json`,{method:"post",body:lt})})}function be(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${lt.id}/repository.json`,{method:"post",body:lt})})}function Ke(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/secret_repository.json`,{method:"post",body:lt})})}function gt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/add_file.json`,{method:"post",body:lt})})}function Ft(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${lt.id}/add_file.json`,{method:"post",body:lt})})}function Fe(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/commits.json`,{method:"post",body:lt})})}function Dr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/file_content.json`,{method:"post",body:lt})})}function Ct(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${lt.id}/file_content.json`,{method:"post",body:lt})})}function Gr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/update_file.json`,{method:"post",body:lt})})}function Qr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${lt.id}/update_file.json`,{method:"post",body:lt})})}function Cr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/upload_git_folder.json`,{method:"post",body:{path:lt.path,secret_repository:lt.secret_repository}})})}function Fr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/${lt.url}`,{method:"Get"})})}function mr(lt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:lt})})}function jr(lt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:lt})})}function sn(lt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:lt})})}function cn(lt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:lt})})}function lr(lt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:lt})})}function Lt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/fork_list.json`,{method:"Get",params:lt})})}function mt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.identifier}/change_editable.json`,{method:"put",body:a({},lt)})})}function vt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/set_secret_dir.json`,{method:"post",body:a({},lt)})})}function Ut(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:lt})})}function Sr(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:lt})})}function yr(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/init_repository.json`,{method:"post",body:a({},lt)})})}function it(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${lt.id}/init_repository.json`,{method:"post",body:a({},lt)})})}function Br(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/update_secret_repository.json`,{method:"post",body:a({},lt)})})}function gn(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/exist_exercise.json`,{method:"get",params:a({},lt)})})}function zn(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${lt.id}.json`,{method:"get",params:a({},lt)})})}function gr(lt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${lt.id}/publish.json`,{method:"post",body:a({},lt)})})}function tn(lt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${lt.id}/open_vnc.json`,{method:"post",params:a({},lt)})})}function pn(lt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${lt.id}/open_webssh.json`,{method:"post",params:a({},lt)})})}function Fn(lt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${lt.id}/save_image.json`,{method:"post",body:a({},lt)})})}function Tn(lt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${lt.id}/delete_image.json`,{method:"post",body:a({},lt)})})}function oi(lt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${lt.id}/extend_vnc.json`,{method:"post",body:a({},lt)})})}function Pi(lt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${lt.id}/reset_vnc_link.json`,{method:"post",body:a({},lt)})})}function Li(lt){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},lt)})})}function Si(lt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},lt)})})}function gi(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},lt)})})}function ii(lt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:lt})})}function na(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${lt}`,{method:"get",params:{is_initiative_study:1}})})}function ni(lt){return p(this,null,function*(){return Fetch(`/api/shixuns/${lt.id}/update_shixun_study_num.json`,{method:"post",body:a({},lt)})})}function Ji(lt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:lt})})}function bt(lt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${lt}/recommend_config.json`,{method:"get"})})}},49234:function(d,v,e){"use strict";e.d(v,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return S},fd:function(){return V},gp:function(){return a},iU:function(){return j},l3:function(){return R},mw:function(){return A},oZ:function(){return _},rM:function(){return D},r_:function(){return Y},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(G,ae,ie)=>ae in G?i(G,ae,{enumerable:!0,configurable:!0,writable:!0,value:ie}):G[ae]=ie,h=(G,ae)=>{for(var ie in ae||(ae={}))c.call(ae,ie)&&o(G,ie,ae[ie]);if(l)for(var ie of l(ae))f.call(ae,ie)&&o(G,ie,ae[ie]);return G},u=(G,ae,ie)=>new Promise((ue,q)=>{var J=ee=>{try{oe(ie.next(ee))}catch(Q){q(Q)}},K=ee=>{try{oe(ie.throw(ee))}catch(Q){q(Q)}},oe=ee=>ee.done?ue(ee.value):Promise.resolve(ee.value).then(J,K);oe((ie=ie.apply(G,ae)).next())});function a(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/teachers.json`,{method:"get",params:h({},G)})})}function x(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/apply_teachers.json`,{method:"get",params:h({},G)})})}function p(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/graduation_group_list.json`,{method:"get",params:h({},G)})})}function y(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/all_course_groups.json`,{method:"get",params:h({},G)})})}function _(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/set_course_group.json`,{method:"post",body:h({},G)})})}function b(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/join_graduation_group.json`,{method:"post",body:h({},G)})})}function S(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/create_graduation_group.json`,{method:"post",body:h({},G)})})}function k(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},G)})})}function R(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/delete_from_course.json`,{method:"post",body:h({},G)})})}function A(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/change_member_role.json`,{method:"post",body:h({},G)})})}function D(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/change_course_admin.json`,{method:"post",body:h({},G)})})}function M(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/teacher_application_review.json`,{method:"post",body:h({},G)})})}function B(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/students.json`,{method:"get",params:h({},G)})})}function j(G,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G}/apply_students.json`,{method:"get",params:ae})})}function Y(G,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G}/join_student_checkout.json`,{method:"get",params:ae})})}function V(G,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G}/student_application_review.json`,{method:"post",body:ae})})}},86245:function(d,v,e){"use strict";e.d(v,{B$:function(){return y},Cx:function(){return J},DA:function(){return D},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return Jt},FM:function(){return ie},Fn:function(){return Q},Gq:function(){return tr},Ho:function(){return B},IU:function(){return _e},JJ:function(){return le},Ol:function(){return Ne},Qx:function(){return ae},Tv:function(){return Z},V8:function(){return x},WS:function(){return K},WY:function(){return G},ai:function(){return q},bG:function(){return k},bJ:function(){return a},c0:function(){return er},dE:function(){return se},dt:function(){return $},gI:function(){return oe},lO:function(){return ue},mW:function(){return V},n0:function(){return A},nV:function(){return Ze},o1:function(){return Bt},qE:function(){return _},qN:function(){return M},rV:function(){return j},sh:function(){return ke},vR:function(){return S},w3:function(){return Y},x4:function(){return R},z2:function(){return yt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Xe,Pt,Zt)=>Pt in Xe?i(Xe,Pt,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Xe[Pt]=Zt,h=(Xe,Pt)=>{for(var Zt in Pt||(Pt={}))c.call(Pt,Zt)&&o(Xe,Zt,Pt[Zt]);if(l)for(var Zt of l(Pt))f.call(Pt,Zt)&&o(Xe,Zt,Pt[Zt]);return Xe},u=(Xe,Pt,Zt)=>new Promise((ot,xt)=>{var ht=ge=>{try{je(Zt.next(ge))}catch(Se){xt(Se)}},et=ge=>{try{je(Zt.throw(ge))}catch(Se){xt(Se)}},je=ge=>ge.done?ot(ge.value):Promise.resolve(ge.value).then(ht,et);je((Zt=Zt.apply(Xe,Pt)).next())});const a=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}/move.json`,{method:"post",body:Xe})}),x=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}.json`,{method:"delete",body:Xe})}),p=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}.json`,{method:"put",body:Xe})}),y=Xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Xe})}),_=Xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Xe})});function b(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Xe)})})}function S(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function k(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Xe)})})}function R(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Xe)})})}function A(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function D(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/homepage_info.json`,{method:"get"})})}function M(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function B(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 Y(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 G(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos.json`,{method:"get",params:Xe})})}function ae(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/review.json`,{method:"get",params:Xe})})}function ie(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/${Xe.id}.json`,{method:"delete"})})}function ue(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Xe})})}function 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 K(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Xe})})}function oe(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Xe})})}function ee(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Xe})})}function Q(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/${Xe.object_id}/create_course_video.json`,{method:"post",body:Xe})})}function le(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Xe.topicId}.json`,{method:"get",params:Xe})})}function Z(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Xe)})})}function $(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/batch_publish.json`,{method:"post",body:Xe})})}function se(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Xe.identifier}/cancel.json`,{method:"delete",body:h({},Xe)})})}function _e(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Xe)})})}function De(Xe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Xe)})})}function ke(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function Ze(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function Ne(Xe){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Xe})}function Bt(Xe){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Xe})}function yt(Xe){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Xe)})}function Dt(Xe){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Xe)})}function Jt(Xe){return(0,r.ZP)(`/api/users/accounts/${Xe.login}/password.json`,{method:"put",body:h({},Xe)})}function er(Xe){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Xe)})}function tr(Xe){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Xe)})}},69618:function(d,v,e){"use strict";e.d(v,{BQ:function(){return a},DH:function(){return B},Db:function(){return ue},Ju:function(){return ie},Mz:function(){return V},O2:function(){return _},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return Y},cU:function(){return p},fn:function(){return ae},jK:function(){return R},yN:function(){return G}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(q,J,K)=>J in q?i(q,J,{enumerable:!0,configurable:!0,writable:!0,value:K}):q[J]=K,h=(q,J)=>{for(var K in J||(J={}))c.call(J,K)&&o(q,K,J[K]);if(l)for(var K of l(J))f.call(J,K)&&o(q,K,J[K]);return q},u=(q,J,K)=>new Promise((oe,ee)=>{var Q=$=>{try{Z(K.next($))}catch(se){ee(se)}},le=$=>{try{Z(K.throw($))}catch(se){ee(se)}},Z=$=>$.done?oe($.value):Promise.resolve($.value).then(Q,le);Z((K=K.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 S(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function k(q){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function R(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/star.json`,{method:"post",body:q})})}function A(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 M(q){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},q)})})}function B(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 Y(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 G(q){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:q})})}function ae(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 ie(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:q})})}function ue(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:q})})}},466:function(d,v,e){"use strict";e.d(v,{A:function(){return V},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return _},LY:function(){return M},Ll:function(){return o},MM:function(){return R},Ps:function(){return B},Sl:function(){return S},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return Y},cZ:function(){return u},rV:function(){return D},sT:function(){return b},tS:function(){return j},xt:function(){return A},y2:function(){return l}});var r=e(38986),i=(G,ae,ie)=>new Promise((ue,q)=>{var J=ee=>{try{oe(ie.next(ee))}catch(Q){q(Q)}},K=ee=>{try{oe(ie.throw(ee))}catch(Q){q(Q)}},oe=ee=>ee.done?ue(ee.value):Promise.resolve(ee.value).then(J,K);oe((ie=ie.apply(G,ae)).next())});const l=G=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:G})});function c(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions/${G.id}.json`,{method:"put",body:G})})}function f(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions/${G.id}.json`,{method:"get",params:G})})}function o(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions.json`,{method:"post",body:G})})}function h(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions.json`,{method:"get",params:G})})}function u(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}/add_resources.json`,{method:"post",body:G})})}function a(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}/lesson_resources_list.json`,{method:"get",params:G})})}function x(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}.json`,{method:"get",params:G})})}function p(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}.json`,{method:"put",body:G})})}function y(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons.json`,{method:"post",body:G})})}function _(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons.json`,{method:"get",params:G})})}function b(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G==null?void 0:G.id}.json`,{method:"get"})})}function S(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G==null?void 0:G.id}/modules.json`,{method:"get"})})}function k(G){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${G.id}/videos/batch_publish.json`,{method:"post",body:G})})}function R(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/members.json`,{method:"post",body:G})})}function A(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/members/${G.id}/change_creator.json`,{method:"post",body:G})})}function D(G,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/shixuns.json`,{method:"get",params:ae})})}function M(G,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/shixuns`,{method:"post",body:ae})})}function B(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_classroom_id}/shixuns/${G.shixun_id}.json`,{method:"delete"})})}function j(G,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/subjects.json`,{method:"get",params:ae})})}function Y(G,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/subjects.json`,{method:"post",body:ae})})}function V(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_classroom_id}/subjects/${G.subject_id}.json`,{method:"delete"})})}},48790:function(d,v,e){"use strict";e.d(v,{$O:function(){return J},EO:function(){return nt},G5:function(){return Y},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return G},JA:function(){return He},JL:function(){return A},Jd:function(){return q},Ny:function(){return k},RV:function(){return ie},Rb:function(){return j},Rm:function(){return V},V9:function(){return $},Yh:function(){return Q},aN:function(){return b},aQ:function(){return u},ag:function(){return $e},bg:function(){return Vt},d8:function(){return B},dE:function(){return ae},eB:function(){return ue},eY:function(){return Ht},fn:function(){return Me},h:function(){return $t},j5:function(){return _},m$:function(){return Pe},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return Yt},y8:function(){return ct}});var r=e(25690),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:Xt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Xt;return At.some(fe=>fe==(We==null?void 0:We.role))},o=At=>{const{user:Xt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Xt;return We!=null&&We.own?!0:At.some(fe=>{var pe;return fe==((pe=We==null?void 0:We.course)==null?void 0:pe.course_role)})},h=()=>{const{user:At}=(0,r.getDvaApp)()._store.getState(),{userInfo:Xt}=At;return Xt.main_site},u=()=>{var At;const{user:Xt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Xt;return(At=We==null?void 0:We.course)==null?void 0:At.course_is_end},a=()=>{const{user:At}=getDvaApp()._store.getState(),{userInfo:Xt}=At;return Xt.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]),S=()=>o([1,2]),k=()=>f([1,2]),R=()=>f([1]),A=()=>f([1,2,5]),D=()=>o([1,5]),M=()=>o([5,8]),B=()=>o([5]),j=()=>o([1,5,2]),Y=()=>o([1,2,5,8]),V=()=>o([12]),G=()=>o([8]),ae=()=>o([15]),ie=()=>o([1,2,5,8,12,15]),ue=()=>o([1,2,5,8,12]),q=()=>{var At;const{user:Xt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Xt;return((At=We==null?void 0:We.course)==null?void 0:At.course_role)===null},J=()=>{var At;const{user:Xt,globalSetting:We}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Xt,pe=((At=We==null?void 0:We.setting)==null?void 0:At.big_model_users)||[];return pe==null?void 0:pe.includes(fe==null?void 0:fe.login)},K=(At=!0,Xt=!1)=>f([1,2,5,8,12,15]),oe=(At=!0,Xt=!1)=>Xt||!Xt&&f([1]),ee=(At=!0,Xt=!1)=>Xt||!Xt&&f([1,2]),Q=()=>f([15]),le=(At=!0,Xt=!1)=>At?f([1,2,5,8,12,15]):Xt||!Xt&&f([1,2]),Z=(At=!0,Xt=!1)=>At?f([1,2,5,8,12,15]):Xt||!Xt&&f([1,2]),$=(At=!0,Xt=!1)=>{const{user:We}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=We;return fe!=null&&fe.is_shixun_marker?!0:f([1,2,5,8])},se=(At=!0,Xt=!1)=>At?f([1]):Xt||!Xt&&f([1]),_e=(At=!0,Xt=!1)=>At?f([1,2]):Xt||!Xt&&f([1,2]),De=(At=!0,Xt=!1)=>At?f([1,2,5,8,12,15]):Xt||!Xt&&f([1,2]),ke=(At=!0,Xt=!1)=>At?f([1,2,5,8,12]):Xt||!Xt&&f([1,2]),Ze=(At=!0,Xt=!1)=>At?f([1,2,5]):Xt||!Xt&&f([1,2]),Ne=(At=!0,Xt=!1)=>At?f([1]):!1,Bt=(At=!0,Xt=!1)=>f([1,2,5,8,12,15]),yt=(At=!0,Xt=!1)=>At?f([1]):Xt||!Xt&&f([1]),Dt=(At=!0,Xt=!1)=>At?f([1,2]):Xt||!Xt&&f([1,2]),Jt=(At=!0,Xt=!1)=>At?f([1,2,5,8,12,15]):Xt||!Xt&&f([1,2]),er=(At=!0,Xt=!1)=>At?!1:Xt||!Xt&&f([1,2]),tr=(At=!0,Xt=!1)=>At?Xt||!Xt&&f([1,2]):!1,Xe=(At=!0,Xt=!1)=>At?f([1,2,5,8,12]):!1,Pt=(At=!0,Xt=!1)=>At?!Xt&&f([1,2,5,8,12]):!1,Zt=(At=!0,Xt=!1)=>At?f([1,2,5]):Xt||!Xt&&f([1,2]),ot=(At=!0,Xt=!1)=>f([1,2,5,8,12]),xt=(At=!0,Xt=!1)=>At?f([1]):Xt||!Xt&&f([1]),ht=(At=!0,Xt=!1)=>At?f([1,2]):Xt||!Xt&&f([1,2]),et=(At=!0,Xt=!1)=>At?f([1,2,5,8,12]):Xt||!Xt&&f([1,2]),je=(At=!0,Xt=!1)=>At?Xt||!Xt&&f([1,2]):!1,ge=(At=!0,Xt=!1)=>At?f([1,2,5,8,12]):Xt||!Xt&&f([1,2]),Se=(At=!0,Xt=!1)=>o([8]),Me=()=>f([1]),$e=()=>f([1,2]),He=()=>f([15]),nt=()=>f([1,2,5]),ct=()=>f([1,2,5,12]),Vt=()=>{var At;const{user:Xt}=(0,r.getDvaApp)()._store.getState();return!!((At=Xt.userInfo)!=null&&At.login)},Ht=()=>{const{user:At}=(0,r.getDvaApp)()._store.getState();return At.userInfo},Pe=()=>{var At,Xt;const{user:We}=(0,r.getDvaApp)()._store.getState();return!!((Xt=(At=We.userInfo)==null?void 0:At.path)!=null&&Xt.own)},qe=At=>{const{graduations:Xt}=(0,r.getDvaApp)()._store.getState(),{details:We}=Xt;return At.some(fe=>fe===(We==null?void 0:We.user_identity))},Yt=()=>qe([0,1]),Rt=()=>qe([0]),Wt=()=>qe([1]),$t=()=>qe([2])},32162:function(d,v,e){"use strict";e.d(v,{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||{})},77935:function(d,v,e){"use strict";e.d(v,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},346:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.14",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.111",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const o=location.host;return o==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),o==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},38986:function(d,v,e){"use strict";e.d(v,{IV:function(){return Z},U2:function(){return oe},ZP:function(){return ue},d4:function(){return ee},gz:function(){return le},rz:function(){return ie},v_:function(){return Q}});var r=e(346),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(25690),a=e(51257),x=e(89392),p=e.n(x),y=Object.defineProperty,_=Object.defineProperties,b=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=($,se,_e)=>se in $?y($,se,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$[se]=_e,D=($,se)=>{for(var _e in se||(se={}))k.call(se,_e)&&A($,_e,se[_e]);if(S)for(var _e of S(se))R.call(se,_e)&&A($,_e,se[_e]);return $},M=($,se)=>_($,b(se)),B=($,se,_e)=>new Promise((De,ke)=>{var Ze=yt=>{try{Bt(_e.next(yt))}catch(Dt){ke(Dt)}},Ne=yt=>{try{Bt(_e.throw(yt))}catch(Dt){ke(Dt)}},Bt=yt=>yt.done?De(yt.value):Promise.resolve(yt.value).then(Ze,Ne);Bt((_e=_e.apply($,se)).next())});let j;const Y={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=($,se)=>B(void 0,null,function*(){if($.status>=200&&$.status<300)return $;const _e=Y[$.status]||$.statusText;let De;var ke=$.json();yield ke.then((Ne,Bt)=>{setTimeout(()=>{let yt=(0,u.getDvaApp)()},400),De=Ne.message,window.showNetworkErrorTip(Ne.message||`\u8BF7\u6C42\u9519\u8BEF ${$.status}: ${$.message}`),i.Z.error({style:{wordBreak:"break-all"},message:Ne.message||`\u8BF7\u6C42\u9519\u8BEF ${$.status}: ${$.message}`,description:Ne.message?"":_e})});const Ze=new Error(_e);throw Ze.name=$.status,Ze.response=$,{data:$,code:$.status,message:De||_e}}),G=($,se)=>{const _e=$.headers.get("Content-Type");return _e&&_e.match(/application\/json/i)&&$.clone().text().then(()=>{}),$};function ae($){try{return decodeURIComponent($),decodeURIComponent(encodeURIComponent($))===$}catch(se){return!1}}const ie=$=>{$=$||{};let se="";for(let _e in $)typeof $[_e]=="object"?Array.isArray($[_e])&&$[_e].forEach((De,ke)=>{se+="&"+_e+"[]="+De}):$[_e]!==void 0&&(se+="&"+_e+"="+(ae($[_e])?$[_e]:encodeURIComponent($[_e])));return se.substr(1)};function ue($,se,_e,De){se.method||(se.method="get"),se.method=se.method.toUpperCase(),se.mode="cors";const ke=D({},se),{user:Ze}=(0,u.getDvaApp)()._store.getState(),{userInfo:Ne}=Ze,Bt=$+(ke.body?JSON.stringify(ke.body):""),yt=o().sha256().update(Bt).digest("hex"),Dt={credentials:"include",withCredentials:!0},Jt={};Ne!=null&&Ne.login&&(Jt.zzud=Ne==null?void 0:Ne.login,Ne!=null&&Ne.school_id&&(Jt.zzsud=Ne==null?void 0:Ne.school_id),ke.params=D(D({},ke.params||{}),Jt));let er=D(D({},Dt),(0,x.cloneDeep)(ke));(er.method==="POST"||er.method==="PUT"||er.method==="PATCH"||er.method==="DELETE")&&(_e?(er.headers=M(D({_method:se.method.toUpperCase()},er.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),er.body=ke.body):(er.headers=D({Accept:"application/json",_method:se.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},er.headers),er.body=JSON.stringify(ke.body))),er.method=="GET"?(er.headers=M(D({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:se.method.toUpperCase()},er.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),ke.params&&ie(ke.params)&&($+="?"+ie(ke.params))):Jt.zzud&&($+="?"+ie(D({},Jt)));const tr=ke.expirys&&60;let Xe;(xt=>{xt.json="application/json;charset=UTF-8",xt.form="application/x-www-form-urlencoded; charset=UTF-8"})(Xe||(Xe={}));let Pt;(xt=>{xt.get="GET",xt.post="POST"})(Pt||(Pt={}));const Zt=xt=>B(this,null,function*(){const ht=yield xt.arrayBuffer();let et;const je=new Blob([ht]);try{et=xt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch($e){et="userfiles.zip"}const ge=document.createElement("a"),Se=window.URL.createObjectURL(je),Me=et;return ge.href=Se,ge.download=Me,ge.click(),window.URL.revokeObjectURL(Se),ht});let ot=r.Z.API_SERVER;return(window.ENV==="dev"||$.startsWith("http"))&&(ot=""),er.method=="GET"&&er.params&&Object.keys(er.params).map(xt=>{if(er.params[xt]&&!Array.isArray(er.params[xt]))try{er.params[xt]=encodeURIComponent(decodeURIComponent(er.params[xt]))}catch(ht){er.params[xt]=encodeURIComponent(er.params[xt])}}),(0,a.Ec)(er,$),De&&(ot=""),er.headers._method=er.method,er.headers["X-HTTP-Method-Override"]=er.method,er.method!=="GET"&&(er.method="POST"),fetch(ot+$,er).then(xt=>V(xt,D({url:r.Z.API_SERVER+$},er))).then(xt=>G(xt,yt)).then(xt=>B(this,null,function*(){var ht,et,je,ge;try{const Me=xt.headers.get("cs");Me&&(0,a.d8)("_educoder_session",Me,1)}catch(Me){}if(xt.status===204)return xt.text();let Se;if(xt.headers.get("content-type").indexOf("application/json")>-1){Se=yield xt.json();try{const Me=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,$e=/\"\/api\/attachments\/(\d+)\//g,He=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,nt=/\/api\/attachments\/(\d+)/g,ct=/\/attachments\/download\/(\d+)/g;let Vt=JSON.stringify(Se).replace(nt,(Ht,Pe,qe,Yt)=>{const Rt=Pe||qe||Yt;return"/api/attachments/"+(0,a.Jn)(Rt)}).replace(ct,(Ht,Pe,qe)=>{const Yt=Pe||qe;return"/attachments/download/"+(0,a.Jn)(Yt)}).replace(Me,(Ht,Pe,qe,Yt)=>{const Rt=Pe||qe||Yt;return"(/api/attachments/"+(0,a.Jn)(Rt)}).replace($e,(Ht,Pe,qe)=>{const Yt=Pe||qe;return'"/api/attachments/'+(0,a.Jn)(Yt)}).replace(He,(Ht,Pe,qe)=>{const Yt=Pe||qe;return"(/files/uploads/"+(0,a.Jn)(Yt)}).replace(/\r\n/g,`
|
|
|
`);Se=JSON.parse(Vt)}catch(Me){}}else er.headers["Content-Type"]==="application/xml"?Se=yield xt.text():(ht=ke.body)!=null&&ht.autoDownload||(et=ke.params)!=null&&et.autoDownload?Se=yield Zt(xt):Se=yield xt.arrayBuffer();try{Se.status===401&&(!((je=er.params)!=null&&je.hidePopLogin)||!((ge=er.body)!=null&&ge.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Se.status===402&&(localStorage.getItem("addinfo")==="2"?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(j=j||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),j.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{u.history.push("/account/profile/edit")}})))}catch(Me){console.log("fetcherr",Me)}return K(Se,$),Se})).catch(xt=>{try{const ht=xt.code;if(xt instanceof TypeError&&window.showNetworkErrorTip(`${$}<span class="ml10">${xt.message}</span>`),ht){if(ht===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}K(xt,$)}else $.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:er.body}}):xt.message!=="403"&&window.showNetworkErrorTip(`${$}<span class="ml10">${xt.message}</span>`);return xt}catch(ht){}})}let q=!1,J=!1;const K=($,se)=>{var _e,De,ke;if($.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:$.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if($.status==-7){J=!0,setTimeout(()=>J=!1,500);let Ne="";(_e=$==null?void 0:$.data)!=null&&_e.exercise_list&&((ke=(De=$==null?void 0:$.data)==null?void 0:De.exercise_list)==null||ke.map(Bt=>{Ne+=`<a target="_blank" href="/classrooms/${Bt.identifier}/exercise">\u300A${Bt.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 ${Ne} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762</div>`},500);return}if(($.status==-1||$.status==-2||$.status==-102||$.status>400)&&$.status!=403&&!J){J=!0,setTimeout(()=>J=!1,500),c.ZP.warning({content:$.message,key:"message-key"});return}const Ze={403:"/403",404:"/404",500:"/500"};if(Ze[$.status]&&!q){const{user:Ne}=(0,u.getDvaApp)()._store.getState(),{userInfo:Bt}=Ne;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(q=!0),setTimeout(()=>q=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify($)),Object.values(Ze).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(Ze[$.status]),new Error("403")}};function oe($,se){return ue(`/api/${$}`,{method:"Get",params:se||{}})}function ee($,se){return ue(`/${$}`,{method:"Get",params:se})}function Q($,se){return ue(`/api/${$}`,{method:"Post",body:D({},se)})}function le($,se){return ue(`/api/${$}`,{method:"Put",body:D({},se)})}function Z($,se){return ue(`/api/${$}`,{method:"delete",body:D({},se||{})})}},11851:function(d,v,e){"use strict";e.d(v,{Bn:function(){return l},hw:function(){return i},mi:function(){return r}});const r="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",i="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",l="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},81428:function(d,v,e){"use strict";e.d(v,{AL:function(){return B},Iy:function(){return p},Qv:function(){return b},ez:function(){return M},jb:function(){return y}});var r=e(32834),i=e.n(r),l=e(11690),c=e.n(l);let f=1;function o(ae,ie){const ue=ae.match(/^(\s+)(?:```)/);if(ue===null)return ie;const q=ue[1];return ie.split(`
|
|
|
`).map(J=>{const K=J.match(/^\s+/);if(K===null)return J;const[oe]=K;return oe.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 _(ae,ie,ue,q){if(ie>=ae.length||ae[ie].level<=ue)return ie;var J=ae[ie];q.push("<li><a href='#"+f+J.anchor+"'>"+J.text+"</a>"),ie++;var K=[];return ie=_(ae,ie,J.level,K),K.length>0&&(q.push("<ul>"),K.forEach(function(oe){q.push(oe)}),q.push("</ul>")),q.push("</li>"),ie=_(ae,ie,ue,q),ie}function b(){return _(h,0,0,u),u.push("</ul>"),u.join("")}const S={heading(ae){const ie=x.exec(ae);if(f+=1,ie)return{type:"heading",raw:ie[0],depth:ie[1].length,text:ie[2]}},fences(ae){const ie=this.rules.block.fences.exec(ae);if(ie){const ue=ie[0];let q=o(ue,ie[3]||"");const J=ie[2]?ie[2].trim():ie[2];if(["latex","katex","math"].indexOf(J)>=0){const K=A(),oe=q;q=K,D[K]={type:"block",expression:oe}}return{type:"code",raw:ue,lang:J,text:q}}}},k=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let R=0;const A=()=>`__special_katext_id_${R++}__`;let D={};function M(){return D}function B(){R=0,D={}}function j(ae){return ae=ae.replace(k,(ie,ue)=>{const q=A();return D[q]={type:"inline",expression:ue},q}),ae}const Y=a.listitem;a.listitem=function(ae){return Y(j(ae))};const V=a.paragraph;a.paragraph=function(ae){return V(j(ae))};const G=a.tablecell;a.tablecell=function(ae,ie){return G(j(ae),ie)},a.code=function(ae,ie,ue){const q=(ie||"").match(/\S*/)[0];return q?["latex","katex","math"].indexOf(q)>=0?`<p class='editormd-tex'>${ae}</p>`:`<pre class="prettyprint linenums"><code class="language-${ie}">${ue?ae:(0,l.escape)(ae,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(ue?ae:(0,l.escape)(ae,!0))+"</code></pre>"},a.heading=function(ae,ie,ue){let q=this.options.headerPrefix+ue.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return h.push({anchor:q,level:ie,text:ae}),"<h"+ie+' id="'+f+q+'">'+ae+"</h"+ie+">"},i().setOptions({silent:!0,gfm:!0,pedantic:!1}),i().use({tokenizer:S,renderer:a}),v.ZP=i()},51257:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},Br:function(){return getBlob},DH:function(){return timego},Dk:function(){return setDocumentTitle},Dw:function(){return onPreviewImage},EJ:function(){return HighLightedContent},EM:function(){return toChineseNumber},EN:function(){return preciseCalculation},Ec:function(){return setHeader},FH:function(){return downLoadFile},G5:function(){return sendAppStatus},G7:function(){return handleValidatorNickName},HJ:function(){return handleValidatorName},I9:function(){return RomanNumber},IS:function(){return isWechatBrowser},Il:function(){return setThreeComponent},JL:function(){return formatHomeWorkStatusToName},Jn:function(){return getImageUrl},L4:function(){return PollsStatus},L9:function(){return trackEvent},LR:function(){return download},Ll:function(){return checkIsClientExam},M:function(){return setmiyah},M2:function(){return randomArray},NY:function(){return setUrlQuery},Nd:function(){return downLoadLink},Oo:function(){return getCategoryName},Or:function(){return toWechatLogin},PF:function(){return formatRandomPaperDatas},Pq:function(){return cutName},Q8:function(){return disabledDate},QB:function(){return timeContrast},QE:function(){return releaseRuleDataAdjust},QH:function(){return downLoadFileIframe},Qq:function(){return JudgeSort},RD:function(){return bytesToSize},RG:function(){return copyTextFuc},Sp:function(){return rangeNumber},Tv:function(){return ImgSrcConvert},U6:function(){return HalfPastOne},UQ:function(){return HomeWorkDetailStatus},Uw:function(){return CommonWorkStatus},VV:function(){return StatusClassroomsTags},Vf:function(){return domScrollToTop},W:function(){return isUnOrNull},WX:function(){return isLocalApp},Y:function(){return HomeWorkCommonDetailStatus},YA:function(){return getHiddenName},ZJ:function(){return toDataUrl},_g:function(){return getMessagesUrl},_m:function(){return isKepuKehuan},ad:function(){return formatRandomPaperData},b9:function(){return isPc},cX:function(){return localSort},d0:function(){return disabledTime},d8:function(){return setCookie},db:function(){return getFileContentAndUrl},eF:function(){return bindPhone},eR:function(){return validateLength},ej:function(){return getCookie},en:function(){return parseUrl},fX:function(){return buildTree},hi:function(){return getExamRestrictionInfo},hv:function(){return NewAntdDisabledTime},i7:function(){return isChrome},j1:function(){return StatusGraduationProjectTags},jh:function(){return educationList},jt:function(){return showInstallWebRtcDoc},ju:function(){return ExerciseStatus},jz:function(){return replaceParamVal},k3:function(){return scrollToTop},kk:function(){return pointerEvents},lC:function(){return HomeWorkListStatus},lF:function(){return toWNumber},li:function(){return toTimeFormat},m5:function(){return clearAllCookies},nr:function(){return startExercise},oP:function(){return getJsonFromUrl},oV:function(){return ZimuSort},og:function(){return formatRate},oi:function(){return checkLocalOrPublicIp},pE:function(){return addJumping},pp:function(){return findEndWhitespace},qZ:function(){return arrTrans},qd:function(){return DayHalfPastOne},rK:function(){return HomeWorkShixunListStatus},rU:function(){return showTotal},rz:function(){return moveArray},s2:function(){return isMobileDevice},tP:function(){return cutFileName},tw:function(){return getTwoDecimalPlaces},uD:function(){return dealUploadChange},vA:function(){return HomeWorkShixunDetailStatus},vB:function(){return exerciseTips},vQ:function(){return copyToClipboard},xg:function(){return openNewWindow},y3:function(){return getBase64},yC:function(){return compareVersion}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),_utils_authority__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(48790),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(8591),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(43418),antd__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(95237),antd__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(43604),_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6383),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(81722),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(77935),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(25690),md5__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(93735),md5__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_6__),_env__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(346),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(49535),_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(91842),_utils_fetch__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(38986),crypto_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(28209),crypto_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_11__),_key__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(11851),moment__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(61186),moment__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(33656),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__),uuid__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(1012),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(d,v,e)=>v in d?__defProp(d,v,{enumerable:!0,configurable:!0,writable:!0,value:e}):d[v]=e,__spreadValues=(d,v)=>{for(var e in v||(v={}))__hasOwnProp.call(v,e)&&__defNormalProp(d,e,v[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(v))__propIsEnum.call(v,e)&&__defNormalProp(d,e,v[e]);return d},__spreadProps=(d,v)=>__defProps(d,__getOwnPropDescs(v)),__async=(d,v,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,v)).next())}),_a,_b;moment__WEBPACK_IMPORTED_MODULE_12___default().extend(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default());const HighLightedContent=(d,v=[],e="#2EC25B")=>(typeof v=="string"&&(v=[v]),d.replace(new RegExp(`(${v.join("|")})`,"gi"),`<span style="color:${e}">$1</span>`)),parseParams=d=>{d=d||{};let v="";for(let e in d)typeof d[e]=="object"?Array.isArray(d[e])&&d[e].forEach((r,i)=>{v+="&"+e+"[]="+r}):d[e]!==void 0&&(v+="&"+e+"="+d[e]);return v.substr(1)},getKey=d=>window.atob(window.atob(d));function bytesToSize(d){var v=["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)+" "+v[e]}const getTwoDecimalPlaces=d=>Math.round(Math.round(d*1e5)/1e3*100)/100,NewAntdDisabledDate=(d,v=null)=>{const e=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.startTime).startOf("day"),r=d>moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.endTime).endOf("day"),i=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).startOf("day");return v!=null&&v.endTime?v!=null&&v.compared?moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared)?i||r:e||r:d&&e||r:v!=null&&v.compared&&moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared)?i:e},NewAntdDisabledTime=(d,v=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(v!=null&&v.compared){const o=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("HH")),h=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("mm")),u=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("ss"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.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,v,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()(v).endOf("day"),c=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(e).startOf("day");return v?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,v)=>{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(v){const c=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v).format("HH")),f=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v).format("mm"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(v),"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,v,e)=>{typeof d=="string"&&(d=Number(d)),typeof v=="string"&&(v=Number(v));const r=(d.toString().split(".")[1]||"").length,i=(v.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(v*c))/c;case"-":return(Math.round(d*c)-Math.round(v*c))/c;case"*":return Math.round(d*c)*Math.round(v*c)/(c*c);case"/":return Math.round(d*c)/Math.round(v*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 v=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<v.length;f++){const o=v[f],h=l(o),u=h?i[v.length-1-f]:"";c+=h+u}return c=c.replace(/^一十$/,"\u5341"),c=c.replace(/^一(?=十[一二三四五六七八九])/,""),c},moveArray=(d,v,e)=>{const r=d.splice(v,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 v=d.replace(/(?:\r\n|\n)/g,`\x1B[41m\x1B[37m\u21B5\x1B[0m\r
|
|
|
`).replace(/ +$/g,"\x1B[41m \x1B[0m");return console.debug("str:",v,JSON.stringify(d)),v},StatusTags=d=>{const v={\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:v[e]&&v[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 v,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:(v=r==null?void 0:r[d.status])==null?void 0:v.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkShixunListStatus=d=>{var v,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:(v=r==null?void 0:r[d.status])==null?void 0:v.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkDetailStatus=d=>{var v,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:(v=r==null?void 0:r[d.status])==null?void 0:v.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 v,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:(v=r==null?void 0:r[d.status])==null?void 0:v.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 v,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:(v=r==null?void 0:r[d.status])==null?void 0:v.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:v}=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[v].class},e[v].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 v={\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&&(v=__spreadValues(__spreadValues({},v),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:v[i]&&v[i].class},i))})}catch(i){console.log("utils.status.tag:",i,d.status)}return r},exerciseTips=(d,v)=>{if(d===5||v)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 v,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:(v=r[d.status])==null?void 0:v.class},(e=r[d.status])==null?void 0:e.name)},CommonWorkStatus=d=>{var v,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:(v=r[d.status])==null?void 0:v.class},(e=r[d.status])==null?void 0:e.name)},timego=d=>{d=new Date(d).getTime();let v=1e3*60,e=v*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/v,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,v)=>{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(v)&&(v=v.replace(RegExp.$1,(d.getFullYear()+"").substr(4-RegExp.$1.length))),/(w+)/.test(v)&&(v=v.replace(RegExp.$1,r[RegExp.$1.length-1][d.getDay()]));for(let i in e)new RegExp("("+i+")").test(v)&&(v=v.replace(RegExp.$1,RegExp.$1.length==1?e[i]:("00"+e[i]).substr((""+e[i]).length)));return v},toTimeFormat=d=>{if(!d||d<0)return"0\u79D2";console.log("time:",d);let v=60,e=v*60,r=e*24,i=d/r,l=d/e,c=d/v,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="",v=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<=v};function buildTree(d,v){const e={};let r=null;return d.forEach(i=>{e[i.properties.uuid]=__spreadProps(__spreadValues({},i),{children:[]})}),v.forEach(i=>{const l=e[i.startNodeUuid],c=e[i.endNodeUuid];l&&c&&l.children.push(c)}),d.forEach(i=>{!v.some(c=>c.endNodeUuid===i.properties.uuid)&&(r=e[i.properties.uuid])}),r}const handleValidatorNickName=(d,v,e)=>{if(v){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(v),c=r.test(v);(l===!0||c===!0||v.length<2||v.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57\u53CA\u4E0B\u5212\u7EBF")}e()},handleValidatorName=(d,v,e)=>{if(v){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(v),c=r.test(v);(l===!0||c===!0||v.length<2||v.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57")}e()},getHiddenName=d=>{if(!d)return"";let v=d.length-1,e="";for(var r=0;r<v;r++)e+="*";return d.substr(0,1)+e},getBase64=(d,v)=>{const e=new FileReader;e.addEventListener("load",()=>v(e.result)),e.readAsDataURL(d)},getFileContentAndUrl=d=>new Promise((v,e)=>{var r=new FileReader;r.onload=function(){try{const i=window.URL.createObjectURL(d);v({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 v,e=RegExp("(^| )"+d+"=([^;]+)(;|$)");return(v=document.cookie.match(e))?decodeURIComponent(v[2]):null};function setCookie(d,v,e){var r=new Date;r.setTime(r.getTime()+e*24*60*60*1e3);var i="expires="+r.toUTCString();document.cookie=d+"="+v+"; "+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(";"),v=0;v<d.length;v++){var e=d[v],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,v){let e=document.createElement("a");document.body.appendChild(e),e.href=v,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,v=d.split(".").reverse();return v.length>2?[v[1],v[0]].join("."):d}function getBlob(d){return new Promise(v=>{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&&v(e.response)},e.send()})}function saveAs(d,v){if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(d,v);else{const e=document.createElement("a"),r=document.querySelector("body");e.href=window.URL.createObjectURL(d),e.download=v,e.style.display="none",r.appendChild(e),e.click(),r.removeChild(e),window.URL.revokeObjectURL(e.href)}}function download(d,v){getBlob(d).then(e=>{saveAs(e,v)})}function downLoadFileIframe(d,v){return new Promise((e,r)=>{var i=v,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,v){downLoadLink(d,v)}const setUrlQuery=d=>{let{url:v,query:e}=d;if(!v)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]}`));v.indexOf("?")!==-1?v=`${v}&${r.join("&")}`:v=`${v}?${r.join("&")}`,console.log("url1111",v)}return v};function isPc(){let d=navigator.userAgent,v=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],e=!0;for(var r=0;r<v.length;r++)if(d.indexOf(v[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 v;return(v=d==null?void 0:d.toString())==null?void 0:v.replace(/\B(?=(\d{3})+(?!\d))/g,",")},openNewWindow=d=>{let v=document.createElement("a");v.target="_blank",document.body.appendChild(v),v.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),v.dispatchEvent(e),document.body.removeChild(v)},openNewWindows=d=>{let v=document.createElement("a");document.body.appendChild(v),v.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),v.dispatchEvent(e),document.body.removeChild(v)},formatTextMiddleIntercept=(d="")=>d.length<=6?d:`${d.substring(0,3)}...${d.substring(d.length-3,d.length)}`,HalfPastOne=()=>{let d=new Date().getHours(),v=new Date().getMinutes();return v>=30?(d++,v="00"):v="30",d+":"+v},DayHalfPastOne=(d="-")=>{let v=new Date().getHours(),e=new Date().getMinutes();return e>=30?(v++,e="00"):e="30",new Date().toLocaleDateString().replace(/\//g,d)+" "+v+":"+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 v=Object.prototype.toString.call(d);return v.substring(8,v.length-1)},isEmpty=d=>type(d)==="Array"?d.length===0:type(d)==="Object"?Object.keys(d).length===0:!d,rangeNumber=(d,v)=>{const e=[];for(let r=d;r<v;r++)e.push(r);return e},middleEllipsis=(d,v=12)=>{let e=v/2-2,r=v/2+3;return d.length>v?d.substr(0,e)+"..."+d.substr(r,v):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,v){const e=new RegExp(`(^|&)${d}=([^&]*)(&|$)`,"i"),r=v.substr(1).match(e);return r!=null?decodeURIComponent(r[2]):null}const getMessagesUrl=d=>{var v;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/${(v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.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,v)=>__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||v)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((v,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){v("");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 v,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/${(v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.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,v,e,r){if(console.log("param:",d),v=v||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{v&&(u=c(u)?v+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,v)=>{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],v==="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 v=d.split(".");return v.length>2&&/^[a-z]{2}$/.test(v[v.length-2])?v.slice(-3).join("."):v.slice(-2).join(".")}const setHeader=(d,v)=>{var e;try{const r=Date.now(),i=(0,uuid__WEBPACK_IMPORTED_MODULE_18__.Z)();let l="method="+((e=d.method)==null?void 0:e.toLocaleUpperCase())+"&ak="+getKey(_key__WEBPACK_IMPORTED_MODULE_19__.mi)+"&sk="+getKey(_key__WEBPACK_IMPORTED_MODULE_19__.hw)+"&time="+r;return d.headers["X-EDU-Type"]="pc",d.headers["X-EDU-Timestamp"]=r,d.headers["X-EDU-Signature"]=md5__WEBPACK_IMPORTED_MODULE_6___default()(window.btoa(l)),d.headers["Pc-Authorization"]=getCookie("_educoder_session"),d.headers["X-Request-Id"]=i,d}catch(r){console.log("error:",r,d,v)}},setThreeComponent=()=>{(function(d){XMLHttpRequest.prototype.open=function(v,e,r=!0){const i=setHeader({method:v,headers:{}});d.call(this,v,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(v,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 v=/(\w+)=([^\#&]*)/gi,e={};return d.replace(v,function(r,i,l){e[i]=decodeURI(l)}),e},messageInfo=(d,v)=>{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${v}\u53D1\u5E03\uFF0C\u8BF7\u7B49\u5F85\u3002`}[d];antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning(r)},base64ToBlob=(d,v)=>{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=v.split("."))==null?void 0:e[1]]||"application/octet-stream"})},downloadFile=(d,v,e)=>{const r=base64ToBlob(v,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 v;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:((v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.login)||""})}catch(e){console.log("trackEvent:err:",e)}},trackEventCustom=d=>{if(d.length)try{window._czc.push(["_setCustomVar",...d])}catch(v){console.log("trackEvent:err:",v)}},onPreviewImage=d=>{const v=(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=v(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,v)=>{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 v?(l=(i=(r=c==null?void 0:c.second_category)==null?void 0:r.filter(f=>f.category_id==v))==null?void 0:i[0])==null?void 0:l.category_name:c==null?void 0:c.name}return null},bindPhone=d=>{const v=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:()=>{v.destroy(),d!=null&&d.onCancel&&d.onCancel()}})},copyTextFuc=(d="",v=!1)=>{const e=document.createElement("textarea");e.value=d,document.body.appendChild(e),e.select(),document.execCommand("Copy"),v||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 v=d.substring(1),e={};return v.split("&").forEach(function(r){let i=r.split("=");e[i[0]]=decodeURIComponent(i[1])}),e},arrTrans=(d,v)=>{if(!v)return null;const e=[];return v.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,v,e)=>{const r=d,i=localStorage.getItem(r),l=i!==null&&i!=="[object Object]"?JSON.parse(i):{};l[e]=v,localStorage.setItem(r,JSON.stringify(l))},getItem:(d,v)=>{const e=d,r=localStorage.getItem(e);return(r!==null&&r!=="[object Object]"?JSON.parse(r):{})[v]}},ImgSrcConvert=d=>d!=null&&d.startsWith("http")?d:_env__WEBPACK_IMPORTED_MODULE_7__.Z.IMG_SERVER+d,compareVersion=d=>{const v=getVersion(),e=d.split("."),r=v.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,v)=>{d=`${d}${v?","+v:""}`;const e=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().enc.Utf8.parse(window.atob(window.atob(_key__WEBPACK_IMPORTED_MODULE_19__.Bn)).substring(0,16)),r=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().AES.encrypt(d||"",e,{iv:e,mode:crypto_js__WEBPACK_IMPORTED_MODULE_11___default().mode.CBC});return window.btoa(r.toString())},getVersion=()=>{const v=navigator.userAgent.toLowerCase().match(/version\/[\d.]+/gi);return v&&v[0].replace(/version\//,"")},isLocalApp=()=>navigator.userAgent.indexOf("ExerciseApp")>-1;function randomArray(d,v){let e=d.length,r,i;v=v||1;let l=function(){var c=Math.sin(v++)*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 v=document.getElementsByTagName("iframe");for(let r=0;r<v.length;r++)v[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((v,e)=>{var r=new XMLHttpRequest;r.withCredentials=!0,r.onload=function(){var i=new FileReader;i.onloadend=function(){v(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 v;(v=document.querySelector(d))==null||v.scrollTo({left:0,top:0,behavior:"smooth"})}function dealUploadChange(d){var v,e,r,i,l;const c=(v=d.fileList)==null?void 0:v.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="",v){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>v?r[0].slice(0,v)+"..."+r[1]:d}function cutName(d="",v,e="--"){return d?(d==null?void 0:d.length)>=v?(d==null?void 0:d.slice(0,v))+"...":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 v={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(S=>S.questions_count>0).map((S,k)=>{var R;return(R=S.questions)==null||R.forEach(A=>{p.push(A.id),y=y+A.score,_=_+1}),__spreadValues(__spreadValues({},S),{number:v[k+1]})});return{all_questions_count:_,all_score:y,questionList:b,ids:p,exam:e}},formatRandomPaperDatas=d=>{var v;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=[];(v=r==null?void 0:r.question_type_position)==null||v.map((R,A)=>{p==null||p.map((D,M)=>{R.type===D.type&&y.push(D)})});const _=[];let b=0,S=0;const k=y.filter(R=>R.questions_count>0).map((R,A)=>{var D;return(D=R.questions)==null||D.forEach(M=>{_.push(M.id),b=b+M.score,S=S+1}),__spreadValues(__spreadValues({},R),{number:e[A+1]})});return{all_questions_count:S,all_score:b,questionList:k,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,v)=>{var e;try{v?(d.send(JSON.stringify({type:"toggleLockExit",data:!0})),v!=null&&v.forbid_screen&&d.send(JSON.stringify({type:"open-disabled-switchscreen"})),v!=null&&v.use_white_list&&d.send(JSON.stringify({type:"open-only-allow-runapp",data:v==null?void 0:v.white_list})),v!=null&&v.net_limit&&d.send(JSON.stringify({type:"network-close",data:(e=v==null?void 0:v.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"]'),v=d==null?void 0:d.querySelector("span");v&&(v.classList.remove("jumping-icon"),v.offsetWidth,v.classList.add("jumping-icon"),setTimeout(()=>{var e;(e=v==null?void 0:v.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 v=[];return d.is_locked&&v.push("\u8003\u8BD5\u89E3\u9501\u7801"),d.login_restrict&&v.push("\u8003\u8BD5\u767B\u5F55\u9650\u5236"),d.screen_open&&v.push("\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377"),d.ip_bind&&v.push("IP\u5730\u5740\u7ED1\u5B9A"),(d.ip_limit==="pub"||d.ip_limit==="inner")&&v.push("\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP"),d.open_camera&&v.push("\u8003\u8BD5\u4E2D\u542F\u7528\u62CD\u7167\u529F\u80FD\u8FDB\u884C\u76D1\u8003\u548C\u884C\u4E3A\u5206\u6790"),d.identity_verify&&v.push("\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C"),d.open_phone_video_recording&&v.push("\u8003\u8BD5\u4E2D\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236"),v.length>0?v.join("\u3001"):""},releaseRuleDataAdjust=d=>{const v=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(v).map(r=>__spreadProps(__spreadValues({},r),{group_name:r.group_name.flat(),group_id:r.group_id.flat()}))},showInstallWebRtcDoc=()=>new Promise((d,v)=>__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(v=>{throw console.error("Failed to copy text: ",v),v}):new Promise((v,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!"),v(!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,v="utf-8")=>isArrayBuffer(d)?new TextDecoder(v).decode(d):d},4787:function(d,v,e){"use strict";e.d(v,{t:function(){return r}});const r=l=>{var c=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;return c.test(l)},i=l=>{var c=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.$/;return c.test(l)}},91231:function(d,v,e){"use strict";e.d(v,{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,S=(0,l.fp)(b,y.pathname);return S||[]}function u(){var y,_=h().slice(-1),b=((y=_[0])===null||y===void 0?void 0:y.route)||{},S=b.element,k=(0,r.Z)(b,c);return k}function a(){var y=h(),_=o(),b=_.serverLoaderData,S=_.basename,k=React.useState(function(){var M={},B=!1;return y.forEach(function(j){var Y=b[j.route.id];Y&&(Object.assign(M,Y),B=!0)}),B?M:void 0}),R=_slicedToArray(k,2),A=R[0],D=R[1];return React.useEffect(function(){window.__UMI_LOADER_DATA__||Promise.all(y.filter(function(M){return M.route.hasServerLoader}).map(function(M){return new Promise(function(B){fetchServerLoader({id:M.route.id,basename:S,cb:B})})})).then(function(M){if(M.length){var B={};M.forEach(function(j){Object.assign(B,j)}),D(B)}})},[]),{data:A}}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 v={en_GB:"en-gb",en_US:"en",zh_CN:"zh-cn",zh_TW:"zh-tw"},e=function(i){var l=v[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,v,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:S,quitOnNullishReturnValue:k,actionFn:R}=h,A=i.useRef(!1),D=i.useRef(null),[M,B]=(0,r.Z)(!1),j=function(){y==null||y.apply(void 0,arguments)};i.useEffect(()=>{let G=null;return _&&(G=setTimeout(()=>{var ae;(ae=D.current)===null||ae===void 0||ae.focus()})),()=>{G&&clearTimeout(G)}},[]);const Y=G=>{f(G)&&(B(!0),G.then(function(){B(!1,!0),j.apply(void 0,arguments),A.current=!1},ae=>{if(B(!1,!0),A.current=!1,!(S!=null&&S()))return Promise.reject(ae)}))},V=G=>{if(A.current)return;if(A.current=!0,!R){j();return}let ae;if(b){if(ae=R(G),k&&!f(ae)){A.current=!1,j(G);return}}else if(R.length)ae=R(y),A.current=!1;else if(ae=R(),!ae){j();return}Y(ae)};return i.createElement(l.ZP,Object.assign({},(0,c.n)(u),{onClick:V,loading:M,prefixCls:x},p,{ref:D}),a)};v.Z=o},53487:function(d,v,e){"use strict";e.d(v,{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,S=i.useRef(null),[k,R]=i.useState(0),[A,D]=i.useState(0),[M,B]=(0,r.Z)(!1,{value:y.open}),{getPrefixCls:j}=i.useContext(c.E_),Y=j(u||"select",_);i.useEffect(()=>{if(B(!0),typeof ResizeObserver!="undefined"){const G=new ResizeObserver(ie=>{const ue=ie[0].target;R(ue.offsetHeight+8),D(ue.offsetWidth)}),ae=setInterval(()=>{var ie;const ue=a?`.${a(Y)}`:`.${Y}-dropdown`,q=(ie=S.current)===null||ie===void 0?void 0:ie.querySelector(ue);q&&(clearInterval(ae),G.observe(q))},10);return()=>{clearInterval(ae),G.disconnect()}}},[]);let V=Object.assign(Object.assign({},y),{style:Object.assign(Object.assign({},b),{margin:0}),open:M,visible:M,getPopupContainer:()=>S.current});return x&&(V=x(V)),i.createElement("div",{ref:S,style:{paddingBottom:k,position:"relative",minWidth:A}},i.createElement(h,Object.assign({},V)))}return f(p)}},36785:function(d,v,e){"use strict";e.d(v,{o2:function(){return f},yT:function(){return o}});var r=e(95190),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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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}`;v.Z=f},79676:function(d,v,e){"use strict";e.d(v,{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,S={};return Object.keys(l).forEach(k=>{const R=x&&c[k]||l[k],A=Object.assign(Object.assign({},R),{offset:[0,0]});switch(S[k]=A,f.has(k)&&(A.autoArrow=!1),k){case"top":case"topLeft":case"topRight":A.offset[1]=-b-p;break;case"bottom":case"bottomLeft":case"bottomRight":A.offset[1]=b+p;break;case"left":case"leftTop":case"leftBottom":A.offset[0]=-b-p;break;case"right":case"rightTop":case"rightBottom":A.offset[0]=b+p;break}const D=(0,r.fS)({contentRadius:y,limitVerticalRadius:!0});if(x)switch(k){case"topLeft":case"bottomLeft":A.offset[0]=-D.dropdownArrowOffset-b;break;case"topRight":case"bottomRight":A.offset[0]=D.dropdownArrowOffset+b;break;case"leftTop":case"rightTop":A.offset[1]=-D.dropdownArrowOffset-b;break;case"leftBottom":case"rightBottom":A.offset[1]=D.dropdownArrowOffset+b;break}A.overflow=i(k,D,u,a),_&&(A.htmlRegion="visibleFirst")}),S}},92343:function(d,v,e){"use strict";var r;e.d(v,{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,v,e){"use strict";e.d(v,{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`,S=`screen${_}`;if(!(a[b]<=a[S]))throw new Error(`${b}<=${S} fails : !(${a[b]}<=${a[S]})`);if(y<x.length-1){const k=`screen${_}Max`;if(!(a[S]<=a[k]))throw new Error(`${S}<=${k} fails : !(${a[S]}<=${a[k]})`);const A=`screen${x[y+1].toUpperCase()}Min`;if(!(a[k]<=a[A]))throw new Error(`${k}<=${A} fails : !(${a[k]}<=${a[A]})`)}}),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[_],S=this.matchHandlers[b];S==null||S.mql.removeListener(S==null?void 0:S.listener)}),x.clear()},register(){Object.keys(a).forEach(_=>{const b=a[_],S=R=>{let{matches:A}=R;this.dispatch(Object.assign(Object.assign({},y),{[_]:A}))},k=window.matchMedia(b);k.addListener(S),this.matchHandlers[b]={mql:k,listener:S},S(k)})},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,v,e){"use strict";e.d(v,{Z:function(){return ae}});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=ie=>{const{componentCls:ue,colorPrimary:q}=ie;return{[ue]:{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 ${ie.motionEaseOutCirc}`,`opacity 2s ${ie.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${ie.motionEaseInOut}`,`opacity 0.35s ${ie.motionEaseInOut}`].join(",")}}}}};var x=(0,u.Z)("Wave",ie=>[a(ie)]),p=e(70425),y=e(16089),_=e(77900),b=e(1585);function S(ie){const ue=(ie||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return ue&&ue[1]&&ue[2]&&ue[3]?!(ue[1]===ue[2]&&ue[2]===ue[3]):!0}function k(ie){return ie&&ie!=="#fff"&&ie!=="#ffffff"&&ie!=="rgb(255, 255, 255)"&&ie!=="rgba(255, 255, 255, 1)"&&S(ie)&&!/rgba\((?:\d*, ){3}0\)/.test(ie)&&ie!=="transparent"}function R(ie){const{borderTopColor:ue,borderColor:q,backgroundColor:J}=getComputedStyle(ie);return k(ue)?ue:k(q)?q:k(J)?J:null}var A=e(4572);function D(ie){return Number.isNaN(ie)?0:ie}const M=ie=>{const{className:ue,target:q,component:J}=ie,K=f.useRef(null),[oe,ee]=f.useState(null),[Q,le]=f.useState([]),[Z,$]=f.useState(0),[se,_e]=f.useState(0),[De,ke]=f.useState(0),[Ze,Ne]=f.useState(0),[Bt,yt]=f.useState(!1),Dt={left:Z,top:se,width:De,height:Ze,borderRadius:Q.map(tr=>`${tr}px`).join(" ")};oe&&(Dt["--wave-color"]=oe);function Jt(){const tr=getComputedStyle(q);ee(R(q));const Xe=tr.position==="static",{borderLeftWidth:Pt,borderTopWidth:Zt}=tr;$(Xe?q.offsetLeft:D(-parseFloat(Pt))),_e(Xe?q.offsetTop:D(-parseFloat(Zt))),ke(q.offsetWidth),Ne(q.offsetHeight);const{borderTopLeftRadius:ot,borderTopRightRadius:xt,borderBottomLeftRadius:ht,borderBottomRightRadius:et}=tr;le([ot,xt,et,ht].map(je=>D(parseFloat(je))))}if(f.useEffect(()=>{if(q){const tr=(0,y.Z)(()=>{Jt(),yt(!0)});let Xe;return typeof ResizeObserver!="undefined"&&(Xe=new ResizeObserver(Jt),Xe.observe(q)),()=>{y.Z.cancel(tr),Xe==null||Xe.disconnect()}}},[]),!Bt)return null;const er=(J==="Checkbox"||J==="Radio")&&(q==null?void 0:q.classList.contains(A.A));return f.createElement(_.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(tr,Xe)=>{var Pt;if(Xe.deadline||Xe.propertyName==="opacity"){const Zt=(Pt=K.current)===null||Pt===void 0?void 0:Pt.parentElement;(0,b.v)(Zt).then(()=>{Zt==null||Zt.remove()})}return!1}},tr=>{let{className:Xe}=tr;return f.createElement("div",{ref:K,className:i()(ue,{"wave-quick":er},Xe),style:Dt})})};var j=(ie,ue)=>{var q;const{component:J}=ue;if(J==="Checkbox"&&!(!((q=ie.querySelector("input"))===null||q===void 0)&&q.checked))return;const K=document.createElement("div");K.style.position="absolute",K.style.left="0px",K.style.top="0px",ie==null||ie.insertBefore(K,ie==null?void 0:ie.firstChild),(0,b.s)(f.createElement(M,Object.assign({},ue,{target:ie})),K)},Y=e(88088);function V(ie,ue,q){const{wave:J}=f.useContext(o.E_),[,K,oe]=(0,Y.Z)(),ee=(0,p.useEvent)(Z=>{const $=ie.current;if(J!=null&&J.disabled||!$)return;const se=$.querySelector(`.${A.A}`)||$,{showEffect:_e}=J||{};(_e||j)(se,{className:ue,token:K,component:q,event:Z,hashId:oe})}),Q=f.useRef();return Z=>{y.Z.cancel(Q.current),Q.current=(0,y.Z)(()=>{ee(Z)})}}var ae=ie=>{const{children:ue,disabled:q,component:J}=ie,{getPrefixCls:K}=(0,f.useContext)(o.E_),oe=(0,f.useRef)(null),ee=K("wave"),[,Q]=x(ee),le=V(oe,i()(ee,Q),J);if(f.useEffect(()=>{const $=oe.current;if(!$||$.nodeType!==1||q)return;const se=_e=>{!(0,c.Z)(_e.target)||!$.getAttribute||$.getAttribute("disabled")||$.disabled||$.className.includes("disabled")||$.className.includes("-leave")||le(_e)};return $.addEventListener("click",se,!0),()=>{$.removeEventListener("click",se,!0)}},[q]),!f.isValidElement(ue))return ue!=null?ue:null;const Z=(0,l.Yr)(ue)?(0,l.sQ)(ue.ref,oe):oe;return(0,h.Tm)(ue,{ref:Z})}},4572:function(d,v,e){"use strict";e.d(v,{A:function(){return r}});const r="ant-wave-target"},67797:function(d,v,e){"use strict";e.d(v,{n:function(){return Rt},Z:function(){return Xt}});var r=e(59301),i=e(92310),l=e.n(i),c=e(2738),f=e(8654),o=e(14088),h=e(36355),u=e(1684),a=e(19716),x=e(33234),p=e(88088),y=function(We,fe){var pe={};for(var Ot in We)Object.prototype.hasOwnProperty.call(We,Ot)&&fe.indexOf(Ot)<0&&(pe[Ot]=We[Ot]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Ot=Object.getOwnPropertySymbols(We);Te<Ot.length;Te++)fe.indexOf(Ot[Te])<0&&Object.prototype.propertyIsEnumerable.call(We,Ot[Te])&&(pe[Ot[Te]]=We[Ot[Te]]);return pe};const _=r.createContext(void 0);var S=We=>{const{getPrefixCls:fe,direction:pe}=r.useContext(h.E_),{prefixCls:Ot,size:Te,className:dt}=We,Gt=y(We,["prefixCls","size","className"]),St=fe("btn-group",Ot),[,,Oe]=(0,p.Z)();let wt="";switch(Te){case"large":wt="lg";break;case"small":wt="sm";break;case"middle":case void 0:break;default:}const be=l()(St,{[`${St}-${wt}`]:wt,[`${St}-rtl`]:pe==="rtl"},dt,Oe);return r.createElement(_.Provider,{value:Te},r.createElement("div",Object.assign({},Gt,{className:be})))},k=e(92343);const R=/^[\u4e00-\u9fa5]{2}$/,A=R.test.bind(R);function D(We){return typeof We=="string"}function M(We){return We==="text"||We==="link"}function B(We,fe){if(We==null)return;const pe=fe?" ":"";return typeof We!="string"&&typeof We!="number"&&D(We.type)&&A(We.props.children)?(0,k.Tm)(We,{children:We.props.children.split("").join(pe)}):D(We)?A(We)?r.createElement("span",null,We.split("").join(pe)):r.createElement("span",null,We):(0,k.M2)(We)?r.createElement("span",null,We):We}function j(We,fe){let pe=!1;const Ot=[];return r.Children.forEach(We,Te=>{const dt=typeof Te,Gt=dt==="string"||dt==="number";if(pe&&Gt){const St=Ot.length-1,Oe=Ot[St];Ot[St]=`${Oe}${Te}`}else Ot.push(Te);pe=Gt}),r.Children.map(Ot,Te=>B(Te,fe))}const Y=null,V=null,G=null;var ie=(0,r.forwardRef)((We,fe)=>{const{className:pe,style:Ot,children:Te,prefixCls:dt}=We,Gt=l()(`${dt}-icon`,pe);return r.createElement("span",{ref:fe,className:Gt,style:Ot},Te)}),ue=e(58617),q=e(77900);const J=(0,r.forwardRef)((We,fe)=>{let{prefixCls:pe,className:Ot,style:Te,iconClassName:dt}=We;const Gt=l()(`${pe}-loading-icon`,Ot);return r.createElement(ie,{prefixCls:pe,className:Gt,style:Te,ref:fe},r.createElement(ue.Z,{className:dt}))}),K=()=>({width:0,opacity:0,transform:"scale(0)"}),oe=We=>({width:We.scrollWidth,opacity:1,transform:"scale(1)"});var Q=We=>{const{prefixCls:fe,loading:pe,existIcon:Ot,className:Te,style:dt}=We,Gt=!!pe;return Ot?r.createElement(J,{prefixCls:fe,className:Te,style:dt}):r.createElement(q.default,{visible:Gt,motionName:`${fe}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:K,onAppearActive:oe,onEnterStart:K,onEnterActive:oe,onLeaveStart:oe,onLeaveActive:K},(St,Oe)=>{let{className:wt,style:be}=St;return r.createElement(J,{prefixCls:fe,className:Te,style:Object.assign(Object.assign({},dt),be),ref:Oe,iconClassName:wt})})},le=e(17313),Z=e(37613),$=e(83116);const se=(We,fe)=>({[`> span, > ${We}`]:{"&:not(:last-child)":{[`&, & > ${We}`]:{"&:not(:disabled)":{borderInlineEndColor:fe}}},"&:not(:first-child)":{[`&, & > ${We}`]:{"&:not(:disabled)":{borderInlineStartColor:fe}}}}});var De=We=>{const{componentCls:fe,fontSize:pe,lineWidth:Ot,groupBorderColor:Te,colorErrorHover:dt}=We;return{[`${fe}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${fe}`]:{"&:not(:last-child)":{[`&, & > ${fe}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-Ot,[`&, & > ${fe}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[fe]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${fe}-icon-only`]:{fontSize:pe}},se(`${fe}-primary`,Te),se(`${fe}-danger`,dt)]}};const ke=We=>{const{componentCls:fe,iconCls:pe,fontWeight:Ot}=We;return{[fe]:{outline:"none",position:"relative",display:"inline-block",fontWeight:Ot,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${We.lineWidth}px ${We.lineType} transparent`,cursor:"pointer",transition:`all ${We.motionDurationMid} ${We.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:We.lineHeight,color:We.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${fe}-icon`]:{lineHeight:0},[`> ${pe} + span, > span + ${pe}`]:{marginInlineStart:We.marginXS},[`&:not(${fe}-icon-only) > ${fe}-icon`]:{[`&${fe}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:We.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,le.Qy)(We)),[`&-icon-only${fe}-compact-item`]:{flex:"none"},[`&-compact-item${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-We.lineWidth,insetInlineStart:-We.lineWidth,display:"inline-block",width:We.lineWidth,height:`calc(100% + ${We.lineWidth*2}px)`,backgroundColor:We.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-vertical-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-We.lineWidth,insetInlineStart:-We.lineWidth,display:"inline-block",width:`calc(100% + ${We.lineWidth*2}px)`,height:We.lineWidth,backgroundColor:We.colorPrimaryHover,content:'""'}}}}}}},Ze=(We,fe,pe)=>({[`&:not(:disabled):not(${We}-disabled)`]:{"&:hover":fe,"&:active":pe}}),Ne=We=>({minWidth:We.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Bt=We=>({borderRadius:We.controlHeight,paddingInlineStart:We.controlHeight/2,paddingInlineEnd:We.controlHeight/2}),yt=We=>({cursor:"not-allowed",borderColor:We.borderColorDisabled,color:We.colorTextDisabled,backgroundColor:We.colorBgContainerDisabled,boxShadow:"none"}),Dt=(We,fe,pe,Ot,Te,dt,Gt,St)=>({[`&${We}-background-ghost`]:Object.assign(Object.assign({color:pe||void 0,backgroundColor:fe,borderColor:Ot||void 0,boxShadow:"none"},Ze(We,Object.assign({backgroundColor:fe},Gt),Object.assign({backgroundColor:fe},St))),{"&:disabled":{cursor:"not-allowed",color:Te||void 0,borderColor:dt||void 0}})}),Jt=We=>({[`&:disabled, &${We.componentCls}-disabled`]:Object.assign({},yt(We))}),er=We=>Object.assign({},Jt(We)),tr=We=>({[`&:disabled, &${We.componentCls}-disabled`]:{cursor:"not-allowed",color:We.colorTextDisabled}}),Xe=We=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},er(We)),{backgroundColor:We.defaultBg,borderColor:We.defaultBorderColor,color:We.defaultColor,boxShadow:We.defaultShadow}),Ze(We.componentCls,{color:We.colorPrimaryHover,borderColor:We.colorPrimaryHover},{color:We.colorPrimaryActive,borderColor:We.colorPrimaryActive})),Dt(We.componentCls,We.ghostBg,We.defaultGhostColor,We.defaultGhostBorderColor,We.colorTextDisabled,We.colorBorder)),{[`&${We.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:We.colorError,borderColor:We.colorError},Ze(We.componentCls,{color:We.colorErrorHover,borderColor:We.colorErrorBorderHover},{color:We.colorErrorActive,borderColor:We.colorErrorActive})),Dt(We.componentCls,We.ghostBg,We.colorError,We.colorError,We.colorTextDisabled,We.colorBorder)),Jt(We))}),Pt=We=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},er(We)),{color:We.primaryColor,backgroundColor:We.colorPrimary,boxShadow:We.primaryShadow}),Ze(We.componentCls,{color:We.colorTextLightSolid,backgroundColor:We.colorPrimaryHover},{color:We.colorTextLightSolid,backgroundColor:We.colorPrimaryActive})),Dt(We.componentCls,We.ghostBg,We.colorPrimary,We.colorPrimary,We.colorTextDisabled,We.colorBorder,{color:We.colorPrimaryHover,borderColor:We.colorPrimaryHover},{color:We.colorPrimaryActive,borderColor:We.colorPrimaryActive})),{[`&${We.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:We.colorError,boxShadow:We.dangerShadow,color:We.dangerColor},Ze(We.componentCls,{backgroundColor:We.colorErrorHover},{backgroundColor:We.colorErrorActive})),Dt(We.componentCls,We.ghostBg,We.colorError,We.colorError,We.colorTextDisabled,We.colorBorder,{color:We.colorErrorHover,borderColor:We.colorErrorHover},{color:We.colorErrorActive,borderColor:We.colorErrorActive})),Jt(We))}),Zt=We=>Object.assign(Object.assign({},Xe(We)),{borderStyle:"dashed"}),ot=We=>Object.assign(Object.assign(Object.assign({color:We.colorLink},Ze(We.componentCls,{color:We.colorLinkHover,backgroundColor:We.linkHoverBg},{color:We.colorLinkActive})),tr(We)),{[`&${We.componentCls}-dangerous`]:Object.assign(Object.assign({color:We.colorError},Ze(We.componentCls,{color:We.colorErrorHover},{color:We.colorErrorActive})),tr(We))}),xt=We=>Object.assign(Object.assign(Object.assign({},Ze(We.componentCls,{color:We.colorText,backgroundColor:We.textHoverBg},{color:We.colorText,backgroundColor:We.colorBgTextActive})),tr(We)),{[`&${We.componentCls}-dangerous`]:Object.assign(Object.assign({color:We.colorError},tr(We)),Ze(We.componentCls,{color:We.colorErrorHover,backgroundColor:We.colorErrorBg},{color:We.colorErrorHover,backgroundColor:We.colorErrorBg}))}),ht=We=>{const{componentCls:fe}=We;return{[`${fe}-default`]:Xe(We),[`${fe}-primary`]:Pt(We),[`${fe}-dashed`]:Zt(We),[`${fe}-link`]:ot(We),[`${fe}-text`]:xt(We),[`${fe}-ghost`]:Dt(We.componentCls,We.ghostBg,We.colorBgContainer,We.colorBgContainer,We.colorTextDisabled,We.colorBorder)}},et=function(We){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:pe,controlHeight:Ot,fontSize:Te,lineHeight:dt,lineWidth:Gt,borderRadius:St,buttonPaddingHorizontal:Oe,iconCls:wt}=We,be=Math.max(0,(Ot-Te*dt)/2-Gt),Ke=`${pe}-icon-only`;return[{[`${pe}${fe}`]:{fontSize:Te,height:Ot,padding:`${be}px ${Oe}px`,borderRadius:St,[`&${Ke}`]:{width:Ot,paddingInlineStart:0,paddingInlineEnd:0,[`&${pe}-round`]:{width:"auto"},[wt]:{fontSize:We.buttonIconOnlyFontSize}},[`&${pe}-loading`]:{opacity:We.opacityLoading,cursor:"default"},[`${pe}-loading-icon`]:{transition:`width ${We.motionDurationSlow} ${We.motionEaseInOut}, opacity ${We.motionDurationSlow} ${We.motionEaseInOut}`}}},{[`${pe}${pe}-circle${fe}`]:Ne(We)},{[`${pe}${pe}-round${fe}`]:Bt(We)}]},je=We=>et((0,Z.TS)(We,{fontSize:We.contentFontSize})),ge=We=>{const fe=(0,Z.TS)(We,{controlHeight:We.controlHeightSM,fontSize:We.contentFontSizeSM,padding:We.paddingXS,buttonPaddingHorizontal:We.paddingInlineSM,borderRadius:We.borderRadiusSM,buttonIconOnlyFontSize:We.onlyIconSizeSM});return et(fe,`${We.componentCls}-sm`)},Se=We=>{const fe=(0,Z.TS)(We,{controlHeight:We.controlHeightLG,fontSize:We.contentFontSizeLG,buttonPaddingHorizontal:We.paddingInlineLG,borderRadius:We.borderRadiusLG,buttonIconOnlyFontSize:We.onlyIconSizeLG});return et(fe,`${We.componentCls}-lg`)},Me=We=>{const{componentCls:fe}=We;return{[fe]:{[`&${fe}-block`]:{width:"100%"}}}},$e=We=>{const{paddingInline:fe,onlyIconSize:pe}=We;return(0,Z.TS)(We,{buttonPaddingHorizontal:fe,buttonIconOnlyFontSize:pe})},He=We=>({fontWeight:400,defaultShadow:`0 ${We.controlOutlineWidth}px 0 ${We.controlTmpOutline}`,primaryShadow:`0 ${We.controlOutlineWidth}px 0 ${We.controlOutline}`,dangerShadow:`0 ${We.controlOutlineWidth}px 0 ${We.colorErrorOutline}`,primaryColor:We.colorTextLightSolid,dangerColor:We.colorTextLightSolid,borderColorDisabled:We.colorBorder,defaultGhostColor:We.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:We.colorBgContainer,paddingInline:We.paddingContentHorizontal-We.lineWidth,paddingInlineLG:We.paddingContentHorizontal-We.lineWidth,paddingInlineSM:8-We.lineWidth,onlyIconSize:We.fontSizeLG,onlyIconSizeSM:We.fontSizeLG-2,onlyIconSizeLG:We.fontSizeLG+2,groupBorderColor:We.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:We.colorBgTextHover,defaultColor:We.colorText,defaultBg:We.colorBgContainer,defaultBorderColor:We.colorBorder,defaultBorderColorDisabled:We.colorBorder,contentFontSize:We.fontSize,contentFontSizeSM:We.fontSize,contentFontSizeLG:We.fontSizeLG});var nt=(0,$.Z)("Button",We=>{const fe=$e(We);return[ke(fe),ge(fe),je(fe),Se(fe),Me(fe),ht(fe),De(fe)]},He),ct=e(74207);function Vt(We,fe){return{[`&-item:not(${fe}-last-item)`]:{marginBottom:-We.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Ht(We,fe){return{[`&-item:not(${fe}-first-item):not(${fe}-last-item)`]:{borderRadius:0},[`&-item${fe}-first-item:not(${fe}-last-item)`]:{[`&, &${We}-sm, &${We}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${fe}-last-item:not(${fe}-first-item)`]:{[`&, &${We}-sm, &${We}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Pe(We){const fe=`${We.componentCls}-compact-vertical`;return{[fe]:Object.assign(Object.assign({},Vt(We,fe)),Ht(We.componentCls,fe))}}var qe=(0,$.b)(["Button","compact"],We=>{const fe=$e(We);return[(0,ct.c)(fe),Pe(fe)]},He),Yt=function(We,fe){var pe={};for(var Ot in We)Object.prototype.hasOwnProperty.call(We,Ot)&&fe.indexOf(Ot)<0&&(pe[Ot]=We[Ot]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Ot=Object.getOwnPropertySymbols(We);Te<Ot.length;Te++)fe.indexOf(Ot[Te])<0&&Object.prototype.propertyIsEnumerable.call(We,Ot[Te])&&(pe[Ot[Te]]=We[Ot[Te]]);return pe};function Rt(We){return We==="danger"?{danger:!0}:{type:We}}function Wt(We){if(typeof We=="object"&&We){const fe=We==null?void 0:We.delay;return{loading:!1,delay:!Number.isNaN(fe)&&typeof fe=="number"?fe:0}}return{loading:!!We,delay:0}}const $t=(We,fe)=>{var pe,Ot;const{loading:Te=!1,prefixCls:dt,type:Gt="default",danger:St,shape:Oe="default",size:wt,styles:be,disabled:Ke,className:gt,rootClassName:Ft,children:Fe,icon:Dr,ghost:Ct=!1,block:Gr=!1,htmlType:Qr="button",classNames:Cr,style:Fr={}}=We,mr=Yt(We,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:jr,autoInsertSpaceInButton:sn,direction:cn,button:lr}=(0,r.useContext)(h.E_),Lt=jr("btn",dt),[mt,vt]=nt(Lt),Ut=(0,r.useContext)(u.Z),Sr=Ke!=null?Ke:Ut,yr=(0,r.useContext)(_),it=(0,r.useMemo)(()=>Wt(Te),[Te]),[Br,gn]=(0,r.useState)(it.loading),[zn,gr]=(0,r.useState)(!1),tn=(0,r.createRef)(),pn=(0,f.sQ)(fe,tn),Fn=r.Children.count(Fe)===1&&!Dr&&!M(Gt);(0,r.useEffect)(()=>{let bi=null;it.delay>0?bi=setTimeout(()=>{bi=null,gn(!0)},it.delay):gn(it.loading);function qn(){bi&&(clearTimeout(bi),bi=null)}return qn},[it]),(0,r.useEffect)(()=>{if(!pn||!pn.current||sn===!1)return;const bi=pn.current.textContent;Fn&&A(bi)?zn||gr(!0):zn&&gr(!1)},[pn]);const Tn=bi=>{const{onClick:qn}=We;if(Br||Sr){bi.preventDefault();return}qn==null||qn(bi)},oi=sn!==!1,{compactSize:Pi,compactItemClassnames:Li}=(0,x.ri)(Lt,cn),Si={large:"lg",small:"sm",middle:void 0},gi=(0,a.Z)(bi=>{var qn,An;return(An=(qn=wt!=null?wt:Pi)!==null&&qn!==void 0?qn:yr)!==null&&An!==void 0?An:bi}),ii=gi&&Si[gi]||"",na=Br?"loading":Dr,ni=(0,c.Z)(mr,["navigate"]),Ji=l()(Lt,vt,{[`${Lt}-${Oe}`]:Oe!=="default"&&Oe,[`${Lt}-${Gt}`]:Gt,[`${Lt}-${ii}`]:ii,[`${Lt}-icon-only`]:!Fe&&Fe!==0&&!!na,[`${Lt}-background-ghost`]:Ct&&!M(Gt),[`${Lt}-loading`]:Br,[`${Lt}-two-chinese-chars`]:zn&&oi&&!Br,[`${Lt}-block`]:Gr,[`${Lt}-dangerous`]:!!St,[`${Lt}-rtl`]:cn==="rtl"},Li,gt,Ft,lr==null?void 0:lr.className),bt=Object.assign(Object.assign({},lr==null?void 0:lr.style),Fr),lt=l()(Cr==null?void 0:Cr.icon,(pe=lr==null?void 0:lr.classNames)===null||pe===void 0?void 0:pe.icon),Qn=Object.assign(Object.assign({},(be==null?void 0:be.icon)||{}),((Ot=lr==null?void 0:lr.styles)===null||Ot===void 0?void 0:Ot.icon)||{}),yi=Dr&&!Br?r.createElement(ie,{prefixCls:Lt,className:lt,style:Qn},Dr):r.createElement(Q,{existIcon:!!Dr,prefixCls:Lt,loading:!!Br}),ei=Fe||Fe===0?j(Fe,Fn&&oi):null;if(ni.href!==void 0)return mt(r.createElement("a",Object.assign({},ni,{className:l()(Ji,{[`${Lt}-disabled`]:Sr}),style:bt,onClick:Tn,ref:pn}),yi,ei));let Ki=r.createElement("button",Object.assign({},mr,{type:Qr,className:Ji,style:bt,onClick:Tn,disabled:Sr,ref:pn}),yi,ei,Li&&r.createElement(qe,{key:"compact",prefixCls:Lt}));return M(Gt)||(Ki=r.createElement(o.Z,{component:"Button",disabled:!!Br},Ki)),mt(Ki)},At=(0,r.forwardRef)($t);At.Group=S,At.__ANT_BUTTON=!0;var Xt=At},3113:function(d,v,e){"use strict";var r=e(67797);v.ZP=r.Z},43604:function(d,v,e){"use strict";var r=e(37028);v.Z=r.Z},1684:function(d,v,e){"use strict";e.d(v,{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)};v.Z=i},52946:function(d,v,e){"use strict";e.d(v,{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)};v.Z=i},36355:function(d,v,e){"use strict";e.d(v,{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,v,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])};v.Z=l},92736:function(d,v,e){"use strict";e.d(v,{ZP:function(){return tr},w6:function(){return Dt}});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:Pt={},children:Zt,_ANT_MARK__:ot}=Xe;f.useEffect(()=>(0,h.f)(Pt&&Pt.Modal),[Pt]);const xt=f.useMemo(()=>Object.assign(Object.assign({},Pt),{exist:!0}),[Pt]);return f.createElement(u.Z.Provider,{value:xt},Zt)},y=e(31724),_=e(45246),b=e(34117),S=e(36355),k=e(30071),R=e(64993),A=e(47273),D=e(810);const M=`-ant-${Date.now()}-${Math.random()}`;function B(Xe,Pt){const Zt={},ot=(et,je)=>{let ge=et.clone();return ge=(je==null?void 0:je(ge))||ge,ge.toRgbString()},xt=(et,je)=>{const ge=new R.C(et),Se=(0,k.generate)(ge.toRgbString());Zt[`${je}-color`]=ot(ge),Zt[`${je}-color-disabled`]=Se[1],Zt[`${je}-color-hover`]=Se[4],Zt[`${je}-color-active`]=Se[6],Zt[`${je}-color-outline`]=ge.clone().setAlpha(.2).toRgbString(),Zt[`${je}-color-deprecated-bg`]=Se[0],Zt[`${je}-color-deprecated-border`]=Se[2]};if(Pt.primaryColor){xt(Pt.primaryColor,"primary");const et=new R.C(Pt.primaryColor),je=(0,k.generate)(et.toRgbString());je.forEach((Se,Me)=>{Zt[`primary-${Me+1}`]=Se}),Zt["primary-color-deprecated-l-35"]=ot(et,Se=>Se.lighten(35)),Zt["primary-color-deprecated-l-20"]=ot(et,Se=>Se.lighten(20)),Zt["primary-color-deprecated-t-20"]=ot(et,Se=>Se.tint(20)),Zt["primary-color-deprecated-t-50"]=ot(et,Se=>Se.tint(50)),Zt["primary-color-deprecated-f-12"]=ot(et,Se=>Se.setAlpha(Se.getAlpha()*.12));const ge=new R.C(je[0]);Zt["primary-color-active-deprecated-f-30"]=ot(ge,Se=>Se.setAlpha(Se.getAlpha()*.3)),Zt["primary-color-active-deprecated-d-02"]=ot(ge,Se=>Se.darken(2))}return Pt.successColor&&xt(Pt.successColor,"success"),Pt.warningColor&&xt(Pt.warningColor,"warning"),Pt.errorColor&&xt(Pt.errorColor,"error"),Pt.infoColor&&xt(Pt.infoColor,"info"),`
|
|
|
:root {
|
|
|
${Object.keys(Zt).map(et=>`--${Xe}-${et}: ${Zt[et]};`).join(`
|
|
|
`)}
|
|
|
}
|
|
|
`.trim()}function j(Xe,Pt){const Zt=B(Xe,Pt);(0,A.Z)()&&(0,D.hq)(Zt,`${M}-dynamic-theme`)}var Y=e(1684),V=e(52946);function G(){const Xe=(0,f.useContext)(Y.Z),Pt=(0,f.useContext)(V.Z);return{componentDisabled:Xe,componentSize:Pt}}var ae=G,ie=e(13697);function ue(Xe,Pt){const Zt=Xe||{},ot=Zt.inherit===!1||!Pt?_.u_:Pt;return(0,l.Z)(()=>{if(!Xe)return Pt;const xt=Object.assign({},ot.components);return Object.keys(Xe.components||{}).forEach(ht=>{xt[ht]=Object.assign(Object.assign({},xt[ht]),Xe.components[ht])}),Object.assign(Object.assign(Object.assign({},ot),Zt),{token:Object.assign(Object.assign({},ot.token),Zt.token),components:xt})},[Zt,ot],(xt,ht)=>xt.some((et,je)=>{const ge=ht[je];return!(0,ie.Z)(et,ge,!0)}))}var q=e(77900),J=e(88088);function K(Xe){const{children:Pt}=Xe,[,Zt]=(0,J.Z)(),{motion:ot}=Zt,xt=f.useRef(!1);return xt.current=xt.current||ot===!1,xt.current?f.createElement(q.Provider,{motion:ot},Pt):Pt}var oe=e(73040),ee=function(Xe,Pt){var Zt={};for(var ot in Xe)Object.prototype.hasOwnProperty.call(Xe,ot)&&Pt.indexOf(ot)<0&&(Zt[ot]=Xe[ot]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,ot=Object.getOwnPropertySymbols(Xe);xt<ot.length;xt++)Pt.indexOf(ot[xt])<0&&Object.prototype.propertyIsEnumerable.call(Xe,ot[xt])&&(Zt[ot[xt]]=Xe[ot[xt]]);return Zt};let Q=!1;const le=null,Z=null,$=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],se="ant";let _e,De,ke;function Ze(){return _e||se}function Ne(){return De||S.oR}function Bt(Xe){return Object.keys(Xe).some(Pt=>Pt.endsWith("Color"))}const yt=Xe=>{let{prefixCls:Pt,iconPrefixCls:Zt,theme:ot}=Xe;Pt!==void 0&&(_e=Pt),Zt!==void 0&&(De=Zt),ot&&(Bt(ot)?j(Ze(),ot):ke=ot)},Dt=()=>({getPrefixCls:(Xe,Pt)=>Pt||(Xe?`${Ze()}-${Xe}`:Ze()),getIconPrefixCls:Ne,getRootPrefixCls:()=>_e||Ze(),getTheme:()=>ke}),Jt=Xe=>{const{children:Pt,csp:Zt,autoInsertSpaceInButton:ot,alert:xt,anchor:ht,form:et,locale:je,componentSize:ge,direction:Se,space:Me,virtual:$e,dropdownMatchSelectWidth:He,popupMatchSelectWidth:nt,popupOverflow:ct,legacyLocale:Vt,parentContext:Ht,iconPrefixCls:Pe,theme:qe,componentDisabled:Yt,segmented:Rt,statistic:Wt,spin:$t,calendar:At,carousel:Xt,cascader:We,collapse:fe,typography:pe,checkbox:Ot,descriptions:Te,divider:dt,drawer:Gt,skeleton:St,steps:Oe,image:wt,layout:be,list:Ke,mentions:gt,modal:Ft,progress:Fe,result:Dr,slider:Ct,breadcrumb:Gr,menu:Qr,pagination:Cr,input:Fr,empty:mr,badge:jr,radio:sn,rate:cn,switch:lr,transfer:Lt,avatar:mt,message:vt,tag:Ut,table:Sr,card:yr,tabs:it,timeline:Br,timePicker:gn,upload:zn,notification:gr,tree:tn,colorPicker:pn,datePicker:Fn,wave:Tn}=Xe,oi=f.useCallback((ei,Ki)=>{const{prefixCls:bi}=Xe;if(Ki)return Ki;const qn=bi||Ht.getPrefixCls("");return ei?`${qn}-${ei}`:qn},[Ht.getPrefixCls,Xe.prefixCls]),Pi=Pe||Ht.iconPrefixCls||S.oR,Li=Pi!==Ht.iconPrefixCls,Si=Zt||Ht.csp,gi=(0,oe.Z)(Pi,Si),ii=ue(qe,Ht.theme),na={csp:Si,autoInsertSpaceInButton:ot,alert:xt,anchor:ht,locale:je||Vt,direction:Se,space:Me,virtual:$e,popupMatchSelectWidth:nt!=null?nt:He,popupOverflow:ct,getPrefixCls:oi,iconPrefixCls:Pi,theme:ii,segmented:Rt,statistic:Wt,spin:$t,calendar:At,carousel:Xt,cascader:We,collapse:fe,typography:pe,checkbox:Ot,descriptions:Te,divider:dt,drawer:Gt,skeleton:St,steps:Oe,image:wt,input:Fr,layout:be,list:Ke,mentions:gt,modal:Ft,progress:Fe,result:Dr,slider:Ct,breadcrumb:Gr,menu:Qr,pagination:Cr,empty:mr,badge:jr,radio:sn,rate:cn,switch:lr,transfer:Lt,avatar:mt,message:vt,tag:Ut,table:Sr,card:yr,tabs:it,timeline:Br,timePicker:gn,upload:zn,notification:gr,tree:tn,colorPicker:pn,datePicker:Fn,wave:Tn},ni=Object.assign({},Ht);Object.keys(na).forEach(ei=>{na[ei]!==void 0&&(ni[ei]=na[ei])}),$.forEach(ei=>{const Ki=Xe[ei];Ki&&(ni[ei]=Ki)});const Ji=(0,l.Z)(()=>ni,ni,(ei,Ki)=>{const bi=Object.keys(ei),qn=Object.keys(Ki);return bi.length!==qn.length||bi.some(An=>ei[An]!==Ki[An])}),bt=f.useMemo(()=>({prefixCls:Pi,csp:Si}),[Pi,Si]);let lt=Li?gi(Pt):Pt;const Qn=f.useMemo(()=>{var ei,Ki,bi,qn;return(0,c.T)(((ei=y.Z.Form)===null||ei===void 0?void 0:ei.defaultValidateMessages)||{},((bi=(Ki=Ji.locale)===null||Ki===void 0?void 0:Ki.Form)===null||bi===void 0?void 0:bi.defaultValidateMessages)||{},((qn=Ji.form)===null||qn===void 0?void 0:qn.validateMessages)||{},(et==null?void 0:et.validateMessages)||{})},[Ji,et==null?void 0:et.validateMessages]);Object.keys(Qn).length>0&&(lt=f.createElement(o.Z.Provider,{value:Qn},Pt)),je&&(lt=f.createElement(p,{locale:je,_ANT_MARK__:a},lt)),(Pi||Si)&&(lt=f.createElement(i.Z.Provider,{value:bt},lt)),ge&&(lt=f.createElement(V.q,{size:ge},lt)),lt=f.createElement(K,null,lt);const yi=f.useMemo(()=>{const ei=ii||{},{algorithm:Ki,token:bi,components:qn}=ei,An=ee(ei,["algorithm","token","components"]),rr=Ki&&(!Array.isArray(Ki)||Ki.length>0)?(0,r.createTheme)(Ki):_.uH,_t={};return Object.entries(qn||{}).forEach(rt=>{let[It,pt]=rt;const cr=Object.assign({},pt);"algorithm"in cr&&(cr.algorithm===!0?cr.theme=rr:(Array.isArray(cr.algorithm)||typeof cr.algorithm=="function")&&(cr.theme=(0,r.createTheme)(cr.algorithm)),delete cr.algorithm),_t[It]=cr}),Object.assign(Object.assign({},An),{theme:rr,token:Object.assign(Object.assign({},b.Z),bi),components:_t})},[ii]);return qe&&(lt=f.createElement(_.Mj.Provider,{value:yi},lt)),Yt!==void 0&&(lt=f.createElement(Y.n,{disabled:Yt},lt)),f.createElement(S.E_.Provider,{value:Ji},lt)},er=Xe=>{const Pt=f.useContext(S.E_),Zt=f.useContext(u.Z);return f.createElement(Jt,Object.assign({parentContext:Pt,legacyLocale:Zt},Xe))};er.ConfigContext=S.E_,er.SizeContext=V.Z,er.config=yt,er.useConfig=ae,Object.defineProperty(er,"SizeContext",{get:()=>V.Z});var tr=er},48183:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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),S=(0,r.useMemo)(()=>{const k=Object.assign({},b);return _&&delete k.isFormItemInput,y&&(delete k.status,delete k.hasFeedback,delete k.feedbackIcon),k},[y,_,b]);return r.createElement(u.Provider,{value:S},p)}},28726:function(d,v,e){"use strict";var r=e(59301);v.Z=(0,r.createContext)(void 0)},6700:function(d,v,e){"use strict";var r=e(59301);const i=(0,r.createContext)({});v.Z=i},37028:function(d,v,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 S=0,b=Object.getOwnPropertySymbols(p);S<b.length;S++)y.indexOf(b[S])<0&&Object.prototype.propertyIsEnumerable.call(p,b[S])&&(_[b[S]]=p[b[S]]);return _};function u(p){return typeof p=="number"?`${p} ${p} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(p)?`0 0 ${p}`:p}const a=["xs","sm","md","lg","xl","xxl"],x=r.forwardRef((p,y)=>{const{getPrefixCls:_,direction:b}=r.useContext(c.E_),{gutter:S,wrap:k}=r.useContext(f.Z),{prefixCls:R,span:A,order:D,offset:M,push:B,pull:j,className:Y,children:V,flex:G,style:ae}=p,ie=h(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),ue=_("col",R),[q,J]=(0,o.c)(ue);let K={};a.forEach(Q=>{let le={};const Z=p[Q];typeof Z=="number"?le.span=Z:typeof Z=="object"&&(le=Z||{}),delete ie[Q],K=Object.assign(Object.assign({},K),{[`${ue}-${Q}-${le.span}`]:le.span!==void 0,[`${ue}-${Q}-order-${le.order}`]:le.order||le.order===0,[`${ue}-${Q}-offset-${le.offset}`]:le.offset||le.offset===0,[`${ue}-${Q}-push-${le.push}`]:le.push||le.push===0,[`${ue}-${Q}-pull-${le.pull}`]:le.pull||le.pull===0,[`${ue}-${Q}-flex-${le.flex}`]:le.flex||le.flex==="auto",[`${ue}-rtl`]:b==="rtl"})});const oe=l()(ue,{[`${ue}-${A}`]:A!==void 0,[`${ue}-order-${D}`]:D,[`${ue}-offset-${M}`]:M,[`${ue}-push-${B}`]:B,[`${ue}-pull-${j}`]:j},Y,K,J),ee={};if(S&&S[0]>0){const Q=S[0]/2;ee.paddingLeft=Q,ee.paddingRight=Q}return G&&(ee.flex=u(G),k===!1&&!ee.minWidth&&(ee.minWidth=0)),q(r.createElement("div",Object.assign({},ie,{style:Object.assign(Object.assign({},ee),ae),className:oe,ref:y}),V))});v.Z=x},27382:function(d,v,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 S={};for(var k in _)Object.prototype.hasOwnProperty.call(_,k)&&b.indexOf(k)<0&&(S[k]=_[k]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,k=Object.getOwnPropertySymbols(_);R<k.length;R++)b.indexOf(k[R])<0&&Object.prototype.propertyIsEnumerable.call(_,k[R])&&(S[k[R]]=_[k[R]]);return S};const a=null,x=null;function p(_,b){const[S,k]=r.useState(typeof _=="string"?_:""),R=()=>{if(typeof _=="string"&&k(_),typeof _=="object")for(let A=0;A<c.c4.length;A++){const D=c.c4[A];if(!b[D])continue;const M=_[D];if(M!==void 0){k(M);return}}};return r.useEffect(()=>{R()},[JSON.stringify(_),b]),S}const y=r.forwardRef((_,b)=>{const{prefixCls:S,justify:k,align:R,className:A,style:D,children:M,gutter:B=0,wrap:j}=_,Y=u(_,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:V,direction:G}=r.useContext(f.E_),[ae,ie]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[ue,q]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),J=p(R,ue),K=p(k,ue),oe=r.useRef(B),ee=(0,c.ZP)();r.useEffect(()=>{const yt=ee.subscribe(Dt=>{q(Dt);const Jt=oe.current||0;(!Array.isArray(Jt)&&typeof Jt=="object"||Array.isArray(Jt)&&(typeof Jt[0]=="object"||typeof Jt[1]=="object"))&&ie(Dt)});return()=>ee.unsubscribe(yt)},[]);const Q=()=>{const yt=[void 0,void 0];return(Array.isArray(B)?B:[B,void 0]).forEach((Jt,er)=>{if(typeof Jt=="object")for(let tr=0;tr<c.c4.length;tr++){const Xe=c.c4[tr];if(ae[Xe]&&Jt[Xe]!==void 0){yt[er]=Jt[Xe];break}}else yt[er]=Jt}),yt},le=V("row",S),[Z,$]=(0,h.V)(le),se=Q(),_e=l()(le,{[`${le}-no-wrap`]:j===!1,[`${le}-${K}`]:K,[`${le}-${J}`]:J,[`${le}-rtl`]:G==="rtl"},A,$),De={},ke=se[0]!=null&&se[0]>0?se[0]/-2:void 0;ke&&(De.marginLeft=ke,De.marginRight=ke),[,De.rowGap]=se;const[Ze,Ne]=se,Bt=r.useMemo(()=>({gutter:[Ze,Ne],wrap:j}),[Ze,Ne,j]);return Z(r.createElement(o.Z.Provider,{value:Bt},r.createElement("div",Object.assign({},Y,{className:_e,style:Object.assign(Object.assign({},De),D),ref:b}),M)))});v.Z=y},98242:function(d,v,e){"use strict";e.d(v,{V:function(){return u},c:function(){return a}});var r=e(83116),i=e(37613);const l=x=>{const{componentCls:p}=x;return{[p]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},c=x=>{const{componentCls:p}=x;return{[p]:{position:"relative",maxWidth:"100%",minHeight:1}}},f=(x,p)=>{const{componentCls:y,gridColumns:_}=x,b={};for(let S=_;S>=0;S--)S===0?(b[`${y}${p}-${S}`]={display:"none"},b[`${y}-push-${S}`]={insetInlineStart:"auto"},b[`${y}-pull-${S}`]={insetInlineEnd:"auto"},b[`${y}${p}-push-${S}`]={insetInlineStart:"auto"},b[`${y}${p}-pull-${S}`]={insetInlineEnd:"auto"},b[`${y}${p}-offset-${S}`]={marginInlineStart:0},b[`${y}${p}-order-${S}`]={order:0}):(b[`${y}${p}-${S}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${S/_*100}%`,maxWidth:`${S/_*100}%`}],b[`${y}${p}-push-${S}`]={insetInlineStart:`${S/_*100}%`},b[`${y}${p}-pull-${S}`]={insetInlineEnd:`${S/_*100}%`},b[`${y}${p}-offset-${S}`]={marginInlineStart:`${S/_*100}%`},b[`${y}${p}-order-${S}`]={order:S});return b},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,v,e){"use strict";var r=e(59301);const i=(0,r.createContext)(void 0);v.Z=i},31724:function(d,v,e){"use strict";e.d(v,{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,v,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]};v.Z=c},81863:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{ZP:function(){return xt}});var r=e(95190),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),S=e(17313),k=e(83116),R=e(37613);const A=ht=>{const{componentCls:et,iconCls:je,boxShadow:ge,colorText:Se,colorSuccess:Me,colorError:$e,colorWarning:He,colorInfo:nt,fontSizeLG:ct,motionEaseInOutCirc:Vt,motionDurationSlow:Ht,marginXS:Pe,paddingXS:qe,borderRadiusLG:Yt,zIndexPopup:Rt,contentPadding:Wt,contentBg:$t}=ht,At=`${et}-notice`,Xt=new b.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:qe,transform:"translateY(0)",opacity:1}}),We=new b.Keyframes("MessageMoveOut",{"0%":{maxHeight:ht.height,padding:qe,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),fe={padding:qe,textAlign:"center",[`${et}-custom-content > ${je}`]:{verticalAlign:"text-bottom",marginInlineEnd:Pe,fontSize:ct},[`${At}-content`]:{display:"inline-block",padding:Wt,background:$t,borderRadius:Yt,boxShadow:ge,pointerEvents:"all"},[`${et}-success > ${je}`]:{color:Me},[`${et}-error > ${je}`]:{color:$e},[`${et}-warning > ${je}`]:{color:He},[`${et}-info > ${je},
|
|
|
${et}-loading > ${je}`]:{color:nt}};return[{[et]:Object.assign(Object.assign({},(0,S.Wf)(ht)),{color:Se,position:"fixed",top:Pe,width:"100%",pointerEvents:"none",zIndex:Rt,[`${et}-move-up`]:{animationFillMode:"forwards"},[`
|
|
|
${et}-move-up-appear,
|
|
|
${et}-move-up-enter
|
|
|
`]:{animationName:Xt,animationDuration:Ht,animationPlayState:"paused",animationTimingFunction:Vt},[`
|
|
|
${et}-move-up-appear${et}-move-up-appear-active,
|
|
|
${et}-move-up-enter${et}-move-up-enter-active
|
|
|
`]:{animationPlayState:"running"},[`${et}-move-up-leave`]:{animationName:We,animationDuration:Ht,animationPlayState:"paused",animationTimingFunction:Vt},[`${et}-move-up-leave${et}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[et]:{[At]:Object.assign({},fe)}},{[`${et}-notice-pure-panel`]:Object.assign(Object.assign({},fe),{padding:0,textAlign:"start"})}]};var D=(0,k.Z)("Message",ht=>{const et=(0,R.TS)(ht,{height:150});return[A(et)]},ht=>({zIndexPopup:ht.zIndexPopupBase+10,contentBg:ht.colorBgElevated,contentPadding:`${(ht.controlHeightLG-ht.fontSize*ht.lineHeight)/2}px ${ht.paddingSM}px`})),M=function(ht,et){var je={};for(var ge in ht)Object.prototype.hasOwnProperty.call(ht,ge)&&et.indexOf(ge)<0&&(je[ge]=ht[ge]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ge=Object.getOwnPropertySymbols(ht);Se<ge.length;Se++)et.indexOf(ge[Se])<0&&Object.prototype.propertyIsEnumerable.call(ht,ge[Se])&&(je[ge[Se]]=ht[ge[Se]]);return je};const B={info:i.createElement(u.Z,null),success:i.createElement(f.Z,null),error:i.createElement(o.Z,null),warning:i.createElement(h.Z,null),loading:i.createElement(a.Z,null)},j=ht=>{let{prefixCls:et,type:je,icon:ge,children:Se}=ht;return i.createElement("div",{className:p()(`${et}-custom-content`,`${et}-${je}`)},ge||B[je],i.createElement("span",null,Se))};var V=ht=>{const{prefixCls:et,className:je,type:ge,icon:Se,content:Me}=ht,$e=M(ht,["prefixCls","className","type","icon","content"]),{getPrefixCls:He}=i.useContext(_.E_),nt=et||He("message"),[,ct]=D(nt);return i.createElement(y.qX,Object.assign({},$e,{prefixCls:nt,className:p()(je,ct,`${nt}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(j,{prefixCls:nt,type:ge,icon:Se},Me)}))},G=e(99267);function ae(ht,et){return{motionName:et!=null?et:`${ht}-move-up`}}function ie(ht){let et;const je=new Promise(Se=>{et=ht(()=>{Se(!0)})}),ge=()=>{et==null||et()};return ge.then=(Se,Me)=>je.then(Se,Me),ge.promise=je,ge}var ue=function(ht,et){var je={};for(var ge in ht)Object.prototype.hasOwnProperty.call(ht,ge)&&et.indexOf(ge)<0&&(je[ge]=ht[ge]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ge=Object.getOwnPropertySymbols(ht);Se<ge.length;Se++)et.indexOf(ge[Se])<0&&Object.prototype.propertyIsEnumerable.call(ht,ge[Se])&&(je[ge[Se]]=ht[ge[Se]]);return je};const q=8,J=3,K=ht=>{let{children:et,prefixCls:je}=ht;const[,ge]=D(je);return i.createElement(y.JB,{classNames:{list:ge,notice:ge}},et)},oe=(ht,et)=>{let{prefixCls:je,key:ge}=et;return i.createElement(K,{prefixCls:je,key:ge},ht)},ee=i.forwardRef((ht,et)=>{const{top:je,prefixCls:ge,getContainer:Se,maxCount:Me,duration:$e=J,rtl:He,transitionName:nt,onAllRemoved:ct}=ht,{getPrefixCls:Vt,getPopupContainer:Ht,message:Pe}=i.useContext(_.E_),qe=ge||Vt("message"),Yt=()=>({left:"50%",transform:"translateX(-50%)",top:je!=null?je:q}),Rt=()=>p()({[`${qe}-rtl`]:He}),Wt=()=>ae(qe,nt),$t=i.createElement("span",{className:`${qe}-close-x`},i.createElement(G.Z,{className:`${qe}-close-icon`})),[At,Xt]=(0,y.lm)({prefixCls:qe,style:Yt,className:Rt,motion:Wt,closable:!1,closeIcon:$t,duration:$e,getContainer:()=>(Se==null?void 0:Se())||(Ht==null?void 0:Ht())||document.body,maxCount:Me,onAllRemoved:ct,renderNotifications:oe});return i.useImperativeHandle(et,()=>Object.assign(Object.assign({},At),{prefixCls:qe,message:Pe})),Xt});let Q=0;function le(ht){const et=i.useRef(null);return[i.useMemo(()=>{const ge=nt=>{var ct;(ct=et.current)===null||ct===void 0||ct.close(nt)},Se=nt=>{if(!et.current){const pe=()=>{};return pe.then=()=>{},pe}const{open:ct,prefixCls:Vt,message:Ht}=et.current,Pe=`${Vt}-notice`,{content:qe,icon:Yt,type:Rt,key:Wt,className:$t,style:At,onClose:Xt}=nt,We=ue(nt,["content","icon","type","key","className","style","onClose"]);let fe=Wt;return fe==null&&(Q+=1,fe=`antd-message-${Q}`),ie(pe=>(ct(Object.assign(Object.assign({},We),{key:fe,content:i.createElement(j,{prefixCls:Vt,type:Rt,icon:Yt},qe),placement:"top",className:p()(Rt&&`${Pe}-${Rt}`,$t,Ht==null?void 0:Ht.className),style:Object.assign(Object.assign({},Ht==null?void 0:Ht.style),At),onClose:()=>{Xt==null||Xt(),pe()}})),()=>{ge(fe)}))},$e={open:Se,destroy:nt=>{var ct;nt!==void 0?ge(nt):(ct=et.current)===null||ct===void 0||ct.destroy()}};return["info","success","warning","error","loading"].forEach(nt=>{const ct=(Vt,Ht,Pe)=>{let qe;Vt&&typeof Vt=="object"&&"content"in Vt?qe=Vt:qe={content:Vt};let Yt,Rt;typeof Ht=="function"?Rt=Ht:(Yt=Ht,Rt=Pe);const Wt=Object.assign(Object.assign({onClose:Rt,duration:Yt},qe),{type:nt});return Se(Wt)};$e[nt]=ct}),$e},[]),i.createElement(ee,Object.assign({key:"message-holder"},ht,{ref:et}))]}function Z(ht){return le(ht)}let $=null,se=ht=>ht(),_e=[],De={};function ke(){const{prefixCls:ht,getContainer:et,duration:je,rtl:ge,maxCount:Se,top:Me}=De,$e=ht!=null?ht:(0,c.w6)().getPrefixCls("message"),He=(et==null?void 0:et())||document.body;return{prefixCls:$e,getContainer:()=>He,duration:je,rtl:ge,maxCount:Se,top:Me}}const Ze=i.forwardRef((ht,et)=>{const[je,ge]=i.useState(ke),[Se,Me]=le(je),$e=(0,c.w6)(),He=$e.getRootPrefixCls(),nt=$e.getIconPrefixCls(),ct=$e.getTheme(),Vt=()=>{ge(ke)};return i.useEffect(Vt,[]),i.useImperativeHandle(et,()=>{const Ht=Object.assign({},Se);return Object.keys(Ht).forEach(Pe=>{Ht[Pe]=function(){return Vt(),Se[Pe].apply(Se,arguments)}}),{instance:Ht,sync:Vt}}),i.createElement(c.ZP,{prefixCls:He,iconPrefixCls:nt,theme:ct},Me)});function Ne(){if(!$){const ht=document.createDocumentFragment(),et={fragment:ht};$=et,se(()=>{(0,l.s)(i.createElement(Ze,{ref:je=>{const{instance:ge,sync:Se}=je||{};Promise.resolve().then(()=>{!et.instance&&ge&&(et.instance=ge,et.sync=Se,Ne())})}}),ht)});return}$.instance&&(_e.forEach(ht=>{const{type:et,skipped:je}=ht;if(!je)switch(et){case"open":{se(()=>{const ge=$.instance.open(Object.assign(Object.assign({},De),ht.config));ge==null||ge.then(ht.resolve),ht.setCloseFn(ge)});break}case"destroy":se(()=>{$==null||$.instance.destroy(ht.key)});break;default:se(()=>{var ge;const Se=(ge=$.instance)[et].apply(ge,(0,r.Z)(ht.args));Se==null||Se.then(ht.resolve),ht.setCloseFn(Se)})}}),_e=[])}function Bt(ht){De=Object.assign(Object.assign({},De),ht),se(()=>{var et;(et=$==null?void 0:$.sync)===null||et===void 0||et.call($)})}function yt(ht){const et=ie(je=>{let ge;const Se={type:"open",config:ht,resolve:je,setCloseFn:Me=>{ge=Me}};return _e.push(Se),()=>{ge?se(()=>{ge()}):Se.skipped=!0}});return Ne(),et}function Dt(ht,et){const je=ie(ge=>{let Se;const Me={type:ht,args:et,resolve:ge,setCloseFn:$e=>{Se=$e}};return _e.push(Me),()=>{Se?se(()=>{Se()}):Me.skipped=!0}});return Ne(),je}function Jt(ht){_e.push({type:"destroy",key:ht}),Ne()}const er=["success","info","warning","error","loading"],Xe={open:yt,destroy:Jt,config:Bt,useMessage:Z,_InternalPanelDoNotUseOrYouWillBeFired:V};er.forEach(ht=>{Xe[ht]=function(){for(var et=arguments.length,je=new Array(et),ge=0;ge<et;ge++)je[ge]=arguments[ge];return Dt(ht,je)}});const Pt=()=>{};let Zt=null,ot=null;var xt=Xe},43418:function(d,v,e){"use strict";e.d(v,{default:function(){return dt}});var r=e(95190),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:S}=b;var R=()=>{const{autoFocusButton:Gt,cancelButtonProps:St,cancelTextLocale:Oe,isSilent:wt,mergedOkCancel:be,rootPrefixCls:Ke,close:gt,onCancel:Ft,onConfirm:Fe}=(0,l.useContext)(b);return be?l.createElement(_.Z,{isSilent:wt,actionFn:Ft,close:function(){gt==null||gt.apply(void 0,arguments),Fe==null||Fe(!1)},autoFocus:Gt==="cancel",buttonProps:St,prefixCls:`${Ke}-btn`},Oe):null},D=()=>{const{autoFocusButton:Gt,close:St,isSilent:Oe,okButtonProps:wt,rootPrefixCls:be,okTextLocale:Ke,okType:gt,onConfirm:Ft,onOk:Fe}=(0,l.useContext)(b);return l.createElement(_.Z,{isSilent:Oe,type:gt||"primary",actionFn:Fe,close:function(){St==null||St.apply(void 0,arguments),Ft==null||Ft(!0)},autoFocus:Gt==="ok",buttonProps:wt,prefixCls:`${be}-btn`},Ke)},M=e(99267),B=e(86923),j=e(47729),Y=e(47273);const V=()=>(0,Y.Z)()&&window.document.documentElement;var G=e(36355),ae=e(32441),ie=e(33234),ue=e(11575),q=e(1684),J=e(3113),oe=()=>{const{cancelButtonProps:Gt,cancelTextLocale:St,onCancel:Oe}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({onClick:Oe},Gt),St)},ee=e(67797),le=()=>{const{confirmLoading:Gt,okButtonProps:St,okType:Oe,okTextLocale:wt,onOk:be}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({},(0,ee.n)(Oe),{loading:Gt,onClick:be},St),wt)},Z=e(98044);function $(Gt,St){return l.createElement("span",{className:`${Gt}-close-x`},St||l.createElement(M.Z,{className:`${Gt}-close-icon`}))}const se=Gt=>{const{okText:St,okType:Oe="primary",cancelText:wt,confirmLoading:be,onOk:Ke,onCancel:gt,okButtonProps:Ft,cancelButtonProps:Fe,footer:Dr}=Gt,[Ct]=(0,y.Z)("Modal",(0,Z.A)()),Gr=St||(Ct==null?void 0:Ct.okText),Qr=wt||(Ct==null?void 0:Ct.cancelText),Cr={confirmLoading:be,okButtonProps:Ft,cancelButtonProps:Fe,okTextLocale:Gr,cancelTextLocale:Qr,okType:Oe,onOk:Ke,onCancel:gt},Fr=l.useMemo(()=>Cr,(0,r.Z)(Object.values(Cr)));let mr;return typeof Dr=="function"||typeof Dr=="undefined"?(mr=l.createElement(S,{value:Fr},l.createElement(oe,null),l.createElement(le,null)),typeof Dr=="function"&&(mr=Dr(mr,{OkBtn:le,CancelBtn:oe}))):mr=Dr,l.createElement(q.n,{disabled:!1},mr)};var _e=e(73819),De=function(Gt,St){var Oe={};for(var wt in Gt)Object.prototype.hasOwnProperty.call(Gt,wt)&&St.indexOf(wt)<0&&(Oe[wt]=Gt[wt]);if(Gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Gt);be<wt.length;be++)St.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Gt,wt[be])&&(Oe[wt[be]]=Gt[wt[be]]);return Oe};let ke;const Ze=Gt=>{ke={x:Gt.pageX,y:Gt.pageY},setTimeout(()=>{ke=null},100)};V()&&document.documentElement.addEventListener("click",Ze,!0);var Bt=Gt=>{var St;const{getPopupContainer:Oe,getPrefixCls:wt,direction:be,modal:Ke}=l.useContext(G.E_),gt=pn=>{const{onCancel:Fn}=Gt;Fn==null||Fn(pn)},Ft=pn=>{const{onOk:Fn}=Gt;Fn==null||Fn(pn)},{prefixCls:Fe,className:Dr,rootClassName:Ct,open:Gr,wrapClassName:Qr,centered:Cr,getContainer:Fr,closeIcon:mr,closable:jr,focusTriggerAfterClose:sn=!0,style:cn,visible:lr,width:Lt=520,footer:mt}=Gt,vt=De(Gt,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),Ut=wt("modal",Fe),Sr=wt(),[yr,it]=(0,_e.ZP)(Ut),Br=x()(Qr,{[`${Ut}-centered`]:!!Cr,[`${Ut}-wrap-rtl`]:be==="rtl"}),gn=mt!==null&&l.createElement(se,Object.assign({},Gt,{onOk:Ft,onCancel:gt})),[zn,gr]=(0,j.Z)(jr,mr,pn=>$(Ut,pn),l.createElement(M.Z,{className:`${Ut}-close-icon`}),!0),tn=(0,ue.H)(`.${Ut}-content`);return yr(l.createElement(ie.BR,null,l.createElement(ae.Ux,{status:!0,override:!0},l.createElement(B.Z,Object.assign({width:Lt},vt,{getContainer:Fr===void 0?Oe:Fr,prefixCls:Ut,rootClassName:x()(it,Ct),wrapClassName:Br,footer:gn,visible:Gr!=null?Gr:lr,mousePosition:(St=vt.mousePosition)!==null&&St!==void 0?St:ke,onClose:gt,closable:zn,closeIcon:gr,focusTriggerAfterClose:sn,transitionName:(0,p.m)(Sr,"zoom",Gt.transitionName),maskTransitionName:(0,p.m)(Sr,"fade",Gt.maskTransitionName),className:x()(it,Dr,Ke==null?void 0:Ke.className),style:Object.assign(Object.assign({},Ke==null?void 0:Ke.style),cn),panelRef:tn})))))},yt=e(17313),Dt=e(83116);const Jt=Gt=>{const{componentCls:St,titleFontSize:Oe,titleLineHeight:wt,modalConfirmIconSize:be,fontSize:Ke,lineHeight:gt}=Gt,Ft=`${St}-confirm`,Fe=Math.round(Oe*wt),Dr=Math.round(Ke*gt);return{[Ft]:{"&-rtl":{direction:"rtl"},[`${Gt.antCls}-modal-header`]:{display:"none"},[`${Ft}-body-wrapper`]:Object.assign({},(0,yt.dF)()),[`${Ft}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Gt.iconCls}`]:{flex:"none",fontSize:be,marginInlineEnd:Gt.marginSM,marginTop:(Dr-be)/2},[`&-has-title > ${Gt.iconCls}`]:{marginTop:(Fe-be)/2}},[`${Ft}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:Gt.marginXS},[`${Ft}-title`]:{color:Gt.colorTextHeading,fontWeight:Gt.fontWeightStrong,fontSize:Oe,lineHeight:wt},[`${Ft}-content`]:{color:Gt.colorText,fontSize:Ke,lineHeight:gt},[`${Ft}-btns`]:{textAlign:"end",marginTop:Gt.marginSM,[`${Gt.antCls}-btn + ${Gt.antCls}-btn`]:{marginBottom:0,marginInlineStart:Gt.marginXS}}},[`${Ft}-error ${Ft}-body > ${Gt.iconCls}`]:{color:Gt.colorError},[`${Ft}-warning ${Ft}-body > ${Gt.iconCls},
|
|
|
${Ft}-confirm ${Ft}-body > ${Gt.iconCls}`]:{color:Gt.colorWarning},[`${Ft}-info ${Ft}-body > ${Gt.iconCls}`]:{color:Gt.colorInfo},[`${Ft}-success ${Ft}-body > ${Gt.iconCls}`]:{color:Gt.colorSuccess}}};var er=(0,Dt.b)(["Modal","confirm"],Gt=>{const St=(0,_e.B4)(Gt);return[Jt(St)]},_e.eh,{order:-1e3}),tr=function(Gt,St){var Oe={};for(var wt in Gt)Object.prototype.hasOwnProperty.call(Gt,wt)&&St.indexOf(wt)<0&&(Oe[wt]=Gt[wt]);if(Gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Gt);be<wt.length;be++)St.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Gt,wt[be])&&(Oe[wt[be]]=Gt[wt[be]]);return Oe};function Xe(Gt){const{prefixCls:St,icon:Oe,okText:wt,cancelText:be,confirmPrefixCls:Ke,type:gt,okCancel:Ft,footer:Fe,locale:Dr}=Gt,Ct=tr(Gt,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Gr=Oe;if(!Oe&&Oe!==null)switch(gt){case"info":Gr=l.createElement(u.Z,null);break;case"success":Gr=l.createElement(f.Z,null);break;case"error":Gr=l.createElement(o.Z,null);break;default:Gr=l.createElement(h.Z,null)}const Qr=Ft!=null?Ft:gt==="confirm",Cr=Gt.autoFocusButton===null?!1:Gt.autoFocusButton||"ok",[Fr]=(0,y.Z)("Modal"),mr=Dr||Fr,jr=wt||(Qr?mr==null?void 0:mr.okText:mr==null?void 0:mr.justOkText),sn=be||(mr==null?void 0:mr.cancelText),cn=Object.assign({autoFocusButton:Cr,cancelTextLocale:sn,okTextLocale:jr,mergedOkCancel:Qr},Ct),lr=l.useMemo(()=>cn,(0,r.Z)(Object.values(cn))),Lt=l.createElement(l.Fragment,null,l.createElement(R,null),l.createElement(D,null)),mt=Gt.title!==void 0&&Gt.title!==null,vt=`${Ke}-body`;return l.createElement("div",{className:`${Ke}-body-wrapper`},l.createElement("div",{className:x()(vt,{[`${vt}-has-title`]:mt})},Gr,l.createElement("div",{className:`${Ke}-paragraph`},mt&&l.createElement("span",{className:`${Ke}-title`},Gt.title),l.createElement("div",{className:`${Ke}-content`},Gt.content))),Fe===void 0||typeof Fe=="function"?l.createElement(S,{value:lr},l.createElement("div",{className:`${Ke}-btns`},typeof Fe=="function"?Fe(Lt,{OkBtn:D,CancelBtn:R}):Lt)):Fe,l.createElement(er,{prefixCls:St}))}var Zt=Gt=>{const{close:St,zIndex:Oe,afterClose:wt,visible:be,open:Ke,keyboard:gt,centered:Ft,getContainer:Fe,maskStyle:Dr,direction:Ct,prefixCls:Gr,wrapClassName:Qr,rootPrefixCls:Cr,iconPrefixCls:Fr,theme:mr,bodyStyle:jr,closable:sn=!1,closeIcon:cn,modalRender:lr,focusTriggerAfterClose:Lt,onConfirm:mt}=Gt,vt=`${Gr}-confirm`,Ut=Gt.width||416,Sr=Gt.style||{},yr=Gt.mask===void 0?!0:Gt.mask,it=Gt.maskClosable===void 0?!1:Gt.maskClosable,Br=x()(vt,`${vt}-${Gt.type}`,{[`${vt}-rtl`]:Ct==="rtl"},Gt.className);return l.createElement(c.ZP,{prefixCls:Cr,iconPrefixCls:Fr,direction:Ct,theme:mr},l.createElement(Bt,{prefixCls:Gr,className:Br,wrapClassName:x()({[`${vt}-centered`]:!!Gt.centered},Qr),onCancel:()=>{St==null||St({triggerCancel:!0}),mt==null||mt(!1)},open:Ke,title:"",footer:null,transitionName:(0,p.m)(Cr||"","zoom",Gt.transitionName),maskTransitionName:(0,p.m)(Cr||"","fade",Gt.maskTransitionName),mask:yr,maskClosable:it,maskStyle:Dr,style:Sr,bodyStyle:jr,width:Ut,zIndex:Oe,afterClose:wt,keyboard:gt,centered:Ft,getContainer:Fe,closable:sn,closeIcon:cn,modalRender:lr,focusTriggerAfterClose:Lt},l.createElement(Xe,Object.assign({},Gt,{confirmPrefixCls:vt}))))},xt=[],ht=function(Gt,St){var Oe={};for(var wt in Gt)Object.prototype.hasOwnProperty.call(Gt,wt)&&St.indexOf(wt)<0&&(Oe[wt]=Gt[wt]);if(Gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Gt);be<wt.length;be++)St.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Gt,wt[be])&&(Oe[wt[be]]=Gt[wt[be]]);return Oe};let et="";function je(){return et}function ge(Gt){const St=document.createDocumentFragment();let Oe=Object.assign(Object.assign({},Gt),{close:gt,open:!0}),wt;function be(){for(var Fe=arguments.length,Dr=new Array(Fe),Ct=0;Ct<Fe;Ct++)Dr[Ct]=arguments[Ct];const Gr=Dr.some(Qr=>Qr&&Qr.triggerCancel);Gt.onCancel&&Gr&&Gt.onCancel.apply(Gt,[()=>{}].concat((0,r.Z)(Dr.slice(1))));for(let Qr=0;Qr<xt.length;Qr++)if(xt[Qr]===gt){xt.splice(Qr,1);break}(0,i.v)(St)}function Ke(Fe){var{okText:Dr,cancelText:Ct,prefixCls:Gr,getContainer:Qr}=Fe,Cr=ht(Fe,["okText","cancelText","prefixCls","getContainer"]);clearTimeout(wt),wt=setTimeout(()=>{const Fr=(0,Z.A)(),{getPrefixCls:mr,getIconPrefixCls:jr,getTheme:sn}=(0,c.w6)(),cn=mr(void 0,je()),lr=Gr||`${cn}-modal`,Lt=jr(),mt=sn();let vt=Qr;vt===!1&&(vt=void 0),(0,i.s)(l.createElement(Zt,Object.assign({},Cr,{getContainer:vt,prefixCls:lr,rootPrefixCls:cn,iconPrefixCls:Lt,okText:Dr,locale:Fr,theme:mt,cancelText:Ct||Fr.cancelText})),St)})}function gt(){for(var Fe=arguments.length,Dr=new Array(Fe),Ct=0;Ct<Fe;Ct++)Dr[Ct]=arguments[Ct];Oe=Object.assign(Object.assign({},Oe),{open:!1,afterClose:()=>{typeof Gt.afterClose=="function"&&Gt.afterClose(),be.apply(this,Dr)}}),Oe.visible&&delete Oe.visible,Ke(Oe)}function Ft(Fe){typeof Fe=="function"?Oe=Fe(Oe):Oe=Object.assign(Object.assign({},Oe),Fe),Ke(Oe)}return Ke(Oe),xt.push(gt),{destroy:gt,update:Ft}}function Se(Gt){return Object.assign(Object.assign({},Gt),{type:"warning"})}function Me(Gt){return Object.assign(Object.assign({},Gt),{type:"info"})}function $e(Gt){return Object.assign(Object.assign({},Gt),{type:"success"})}function He(Gt){return Object.assign(Object.assign({},Gt),{type:"error"})}function nt(Gt){return Object.assign(Object.assign({},Gt),{type:"confirm"})}function ct(Gt){let{rootPrefixCls:St}=Gt;et=St}var Vt=e(53487),Ht=function(Gt,St){var Oe={};for(var wt in Gt)Object.prototype.hasOwnProperty.call(Gt,wt)&&St.indexOf(wt)<0&&(Oe[wt]=Gt[wt]);if(Gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Gt);be<wt.length;be++)St.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Gt,wt[be])&&(Oe[wt[be]]=Gt[wt[be]]);return Oe};const Pe=Gt=>{const{prefixCls:St,className:Oe,closeIcon:wt,closable:be,type:Ke,title:gt,children:Ft}=Gt,Fe=Ht(Gt,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:Dr}=l.useContext(G.E_),Ct=Dr(),Gr=St||Dr("modal"),[,Qr]=(0,_e.ZP)(Gr),Cr=`${Gr}-confirm`;let Fr={};return Ke?Fr={closable:be!=null?be:!1,title:"",footer:"",children:l.createElement(Xe,Object.assign({},Gt,{prefixCls:Gr,confirmPrefixCls:Cr,rootPrefixCls:Ct,content:Ft}))}:Fr={closable:be!=null?be:!0,title:gt,footer:Gt.footer===void 0?l.createElement(se,Object.assign({},Gt)):Gt.footer,children:Ft},l.createElement(B.s,Object.assign({prefixCls:Gr,className:x()(Qr,`${Gr}-pure-panel`,Ke&&Cr,Ke&&`${Cr}-${Ke}`,Oe)},Fe,{closeIcon:$(Gr,wt),closable:be},Fr))};var qe=(0,Vt.i)(Pe);function Yt(){const[Gt,St]=l.useState([]),Oe=l.useCallback(wt=>(St(be=>[].concat((0,r.Z)(be),[wt])),()=>{St(be=>be.filter(Ke=>Ke!==wt))}),[]);return[Gt,Oe]}var Rt=e(31724),Wt=function(Gt,St){var Oe={};for(var wt in Gt)Object.prototype.hasOwnProperty.call(Gt,wt)&&St.indexOf(wt)<0&&(Oe[wt]=Gt[wt]);if(Gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Gt);be<wt.length;be++)St.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Gt,wt[be])&&(Oe[wt[be]]=Gt[wt[be]]);return Oe};const $t=(Gt,St)=>{var Oe,{afterClose:wt,config:be}=Gt,Ke=Wt(Gt,["afterClose","config"]);const[gt,Ft]=l.useState(!0),[Fe,Dr]=l.useState(be),{direction:Ct,getPrefixCls:Gr}=l.useContext(G.E_),Qr=Gr("modal"),Cr=Gr(),Fr=()=>{var cn;wt(),(cn=Fe.afterClose)===null||cn===void 0||cn.call(Fe)},mr=function(){Ft(!1);for(var cn=arguments.length,lr=new Array(cn),Lt=0;Lt<cn;Lt++)lr[Lt]=arguments[Lt];const mt=lr.some(vt=>vt&&vt.triggerCancel);Fe.onCancel&&mt&&Fe.onCancel.apply(Fe,[()=>{}].concat((0,r.Z)(lr.slice(1))))};l.useImperativeHandle(St,()=>({destroy:mr,update:cn=>{Dr(lr=>Object.assign(Object.assign({},lr),cn))}}));const jr=(Oe=Fe.okCancel)!==null&&Oe!==void 0?Oe:Fe.type==="confirm",[sn]=(0,y.Z)("Modal",Rt.Z.Modal);return l.createElement(Zt,Object.assign({prefixCls:Qr,rootPrefixCls:Cr},Fe,{close:mr,open:gt,afterClose:Fr,okText:Fe.okText||(jr?sn==null?void 0:sn.okText:sn==null?void 0:sn.justOkText),direction:Fe.direction||Ct,cancelText:Fe.cancelText||(sn==null?void 0:sn.cancelText)},Ke))};var At=l.forwardRef($t);let Xt=0;const We=l.memo(l.forwardRef((Gt,St)=>{const[Oe,wt]=Yt();return l.useImperativeHandle(St,()=>({patchElement:wt}),[]),l.createElement(l.Fragment,null,Oe)}));function fe(){const Gt=l.useRef(null),[St,Oe]=l.useState([]);l.useEffect(()=>{St.length&&((0,r.Z)(St).forEach(gt=>{gt()}),Oe([]))},[St]);const wt=l.useCallback(Ke=>function(Ft){var Fe;Xt+=1;const Dr=l.createRef();let Ct;const Gr=new Promise(jr=>{Ct=jr});let Qr=!1,Cr;const Fr=l.createElement(At,{key:`modal-${Xt}`,config:Ke(Ft),ref:Dr,afterClose:()=>{Cr==null||Cr()},isSilent:()=>Qr,onConfirm:jr=>{Ct(jr)}});return Cr=(Fe=Gt.current)===null||Fe===void 0?void 0:Fe.patchElement(Fr),Cr&&xt.push(Cr),{destroy:()=>{function jr(){var sn;(sn=Dr.current)===null||sn===void 0||sn.destroy()}Dr.current?jr():Oe(sn=>[].concat((0,r.Z)(sn),[jr]))},update:jr=>{function sn(){var cn;(cn=Dr.current)===null||cn===void 0||cn.update(jr)}Dr.current?sn():Oe(cn=>[].concat((0,r.Z)(cn),[sn]))},then:jr=>(Qr=!0,Gr.then(jr))}},[]);return[l.useMemo(()=>({info:wt(Me),success:wt($e),error:wt(He),warning:wt(Se),confirm:wt(nt)}),[]),l.createElement(We,{key:"modal-holder",ref:Gt})]}var pe=fe;function Ot(Gt){return ge(Se(Gt))}const Te=Bt;Te.useModal=pe,Te.info=function(St){return ge(Me(St))},Te.success=function(St){return ge($e(St))},Te.error=function(St){return ge(He(St))},Te.warning=Ot,Te.warn=Ot,Te.confirm=function(St){return ge(nt(St))},Te.destroyAll=function(){for(;xt.length;){const St=xt.pop();St&&St()}},Te.config=ct,Te._InternalPanelDoNotUseOrYouWillBeFired=qe;var dt=Te},98044:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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:S}=_;return[{[`${b}-root`]:{[`${b}${S}-zoom-enter, ${b}${S}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:_.motionDurationSlow,userSelect:"none"},[`${b}${S}-zoom-leave ${b}-content`]:{pointerEvents:"none"},[`${b}-mask`]:Object.assign(Object.assign({},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}${S}-zoom-enter), &:has(${b}${S}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${b}-root`]:(0,i.J$)(_)}]},u=_=>{const{componentCls:b}=_;return[{[`${b}-root`]:{[`${b}-wrap-rtl`]:{direction:"rtl"},[`${b}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[b]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${_.screenSMMax})`]:{[b]:{maxWidth:"calc(100vw - 16px)",margin:`${_.marginXS} auto`},[`${b}-centered`]:{[b]:{flex:1}}}}},{[b]:Object.assign(Object.assign({},(0,r.Wf)(_)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${_.margin*2}px)`,margin:"0 auto",paddingBottom:_.paddingLG,[`${b}-title`]:{margin:0,color:_.titleColor,fontWeight:_.fontWeightStrong,fontSize:_.titleFontSize,lineHeight:_.titleLineHeight,wordWrap:"break-word"},[`${b}-content`]:{position:"relative",backgroundColor:_.contentBg,backgroundClip:"padding-box",border:0,borderRadius:_.borderRadiusLG,boxShadow:_.boxShadow,pointerEvents:"auto",padding:`${_.paddingMD}px ${_.paddingContentHorizontalLG}px`},[`${b}-close`]:Object.assign({position:"absolute",top:(_.modalHeaderHeight-_.modalCloseBtnSize)/2,insetInlineEnd:(_.modalHeaderHeight-_.modalCloseBtnSize)/2,zIndex:_.zIndexPopupBase+10,padding:0,color:_.modalCloseIconColor,fontWeight:_.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:_.borderRadiusSM,width:_.modalCloseBtnSize,height:_.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${_.motionDurationMid}, background-color ${_.motionDurationMid}`,"&-x":{display:"flex",fontSize:_.fontSizeLG,fontStyle:"normal",lineHeight:`${_.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:_.modalIconHoverColor,backgroundColor:_.wireframe?"transparent":_.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:_.wireframe?"transparent":_.colorFillContentHover}},(0,r.Qy)(_)),[`${b}-header`]:{color:_.colorText,background:_.headerBg,borderRadius:`${_.borderRadiusLG}px ${_.borderRadiusLG}px 0 0`,marginBottom:_.marginXS},[`${b}-body`]:{fontSize:_.fontSize,lineHeight:_.lineHeight,wordWrap:"break-word"},[`${b}-footer`]:{textAlign:"end",background:_.footerBg,marginTop:_.marginSM,[`${_.antCls}-btn + ${_.antCls}-btn:not(${_.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:_.marginXS}},[`${b}-open`]:{overflow:"hidden"}})},{[`${b}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${b}-content,
|
|
|
${b}-body,
|
|
|
${b}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${b}-confirm-body`]:{marginBottom:"auto"}}}]},a=_=>{const{componentCls:b,antCls:S}=_,k=`${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}},[k]:{[`${S}-modal-body`]:{padding:`${_.padding*2}px ${_.padding*2}px ${_.paddingLG}px`},[`${k}-body`]:{[`> ${_.iconCls}`]:{marginInlineEnd:_.margin,[`+ ${k}-title + ${k}-content`]:{marginInlineStart:_.modalConfirmIconSize+_.margin}}},[`${k}-btns`]:{marginTop:_.marginLG}}}},x=_=>{const{componentCls:b}=_;return{[`${b}-root`]:{[`${b}-wrap-rtl`]:{direction:"rtl",[`${b}-confirm-body`]:{direction:"rtl"}}}}},p=_=>{const b=_.padding,S=_.fontSizeHeading5,k=_.lineHeightHeading5;return(0,c.TS)(_,{modalBodyPadding:_.paddingLG,modalHeaderPadding:`${b}px ${_.paddingLG}px`,modalHeaderBorderWidth:_.lineWidth,modalHeaderBorderStyle:_.lineType,modalHeaderBorderColorSplit:_.colorSplit,modalHeaderHeight:k*S+b*2,modalFooterBorderColorSplit:_.colorSplit,modalFooterBorderStyle:_.lineType,modalFooterPaddingVertical:_.paddingXS,modalFooterPaddingHorizontal:_.padding,modalFooterBorderWidth:_.lineWidth,modalIconHoverColor:_.colorIconHover,modalCloseIconColor:_.colorIcon,modalCloseBtnSize:_.fontSize*_.lineHeight,modalConfirmIconSize:_.fontSize*_.lineHeight})},y=_=>({footerBg:"transparent",headerBg:_.colorBgElevated,titleLineHeight:_.lineHeightHeading5,titleFontSize:_.fontSizeHeading5,contentBg:_.colorBgElevated,titleColor:_.colorTextHeading});v.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,v,e){"use strict";e.d(v,{Z:function(){return ht}});var r=e(59301),i=e(1585),l=e(92736),c=e(29679),f=e(19248),o=e(99267),h=e(96512),u=e(78987),a=e(58617),x=e(92310),p=e.n(x),y=e(581),_=e(36355),b=e(93083),S=e(17313),k=e(83116),R=e(37613),D=et=>{const{componentCls:je,width:ge,notificationMarginEdge:Se}=et,Me=new b.Keyframes("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),$e=new b.Keyframes("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),He=new b.Keyframes("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:ge},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${je}-top, &${je}-bottom`]:{marginInline:0},[`&${je}-top`]:{[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationName:Me}},[`&${je}-bottom`]:{[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationName:$e}},[`&${je}-topLeft, &${je}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:Se,[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationName:He}}}};const M=et=>{const{iconCls:je,componentCls:ge,boxShadow:Se,fontSizeLG:Me,notificationMarginBottom:$e,borderRadiusLG:He,colorSuccess:nt,colorInfo:ct,colorWarning:Vt,colorError:Ht,colorTextHeading:Pe,notificationBg:qe,notificationPadding:Yt,notificationMarginEdge:Rt,motionDurationMid:Wt,motionEaseInOut:$t,fontSize:At,lineHeight:Xt,width:We,notificationIconSize:fe,colorText:pe}=et,Ot=`${ge}-notice`,Te=new b.Keyframes("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:We},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),dt=new b.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:et.animationMaxHeight,marginBottom:$e,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),Gt={position:"relative",width:We,maxWidth:`calc(100vw - ${Rt*2}px)`,marginBottom:$e,marginInlineStart:"auto",padding:Yt,overflow:"hidden",lineHeight:Xt,wordWrap:"break-word",background:qe,borderRadius:He,boxShadow:Se,[`${ge}-close-icon`]:{fontSize:At,cursor:"pointer"},[`${Ot}-message`]:{marginBottom:et.marginXS,color:Pe,fontSize:Me,lineHeight:et.lineHeightLG},[`${Ot}-description`]:{fontSize:At,color:pe},[`&${Ot}-closable ${Ot}-message`]:{paddingInlineEnd:et.paddingLG},[`${Ot}-with-icon ${Ot}-message`]:{marginBottom:et.marginXS,marginInlineStart:et.marginSM+fe,fontSize:Me},[`${Ot}-with-icon ${Ot}-description`]:{marginInlineStart:et.marginSM+fe,fontSize:At},[`${Ot}-icon`]:{position:"absolute",fontSize:fe,lineHeight:0,[`&-success${je}`]:{color:nt},[`&-info${je}`]:{color:ct},[`&-warning${je}`]:{color:Vt},[`&-error${je}`]:{color:Ht}},[`${Ot}-close`]:{position:"absolute",top:et.notificationPaddingVertical,insetInlineEnd:et.notificationPaddingHorizontal,color:et.colorIcon,outline:"none",width:et.notificationCloseButtonSize,height:et.notificationCloseButtonSize,borderRadius:et.borderRadiusSM,transition:`background-color ${et.motionDurationMid}, color ${et.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:et.colorIconHover,backgroundColor:et.wireframe?"transparent":et.colorFillContent}},[`${Ot}-btn`]:{float:"right",marginTop:et.marginSM}};return[{[ge]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(et)),{position:"fixed",zIndex:et.zIndexPopup,marginInlineEnd:Rt,[`${ge}-hook-holder`]:{position:"relative"},[`&${ge}-top, &${ge}-bottom`]:{[Ot]:{marginInline:"auto auto"}},[`&${ge}-topLeft, &${ge}-bottomLeft`]:{[Ot]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${ge}-fade-enter, ${ge}-fade-appear`]:{animationDuration:et.motionDurationMid,animationTimingFunction:$t,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${ge}-fade-leave`]:{animationTimingFunction:$t,animationFillMode:"both",animationDuration:Wt,animationPlayState:"paused"},[`${ge}-fade-enter${ge}-fade-enter-active, ${ge}-fade-appear${ge}-fade-appear-active`]:{animationName:Te,animationPlayState:"running"},[`${ge}-fade-leave${ge}-fade-leave-active`]:{animationName:dt,animationPlayState:"running"}}),D(et)),{"&-rtl":{direction:"rtl",[`${Ot}-btn`]:{float:"left"}}})},{[ge]:{[Ot]:Object.assign({},Gt)}},{[`${Ot}-pure-panel`]:Object.assign(Object.assign({},Gt),{margin:0})}]};var B=(0,k.Z)("Notification",et=>{const je=et.paddingMD,ge=et.paddingLG,Se=(0,R.TS)(et,{notificationBg:et.colorBgElevated,notificationPaddingVertical:je,notificationPaddingHorizontal:ge,notificationIconSize:et.fontSizeLG*et.lineHeightLG,notificationCloseButtonSize:et.controlHeightLG*.55,notificationMarginBottom:et.margin,notificationPadding:`${et.paddingMD}px ${et.paddingContentHorizontalLG}px`,notificationMarginEdge:et.marginLG,animationMaxHeight:150});return[M(Se)]},et=>({zIndexPopup:et.zIndexPopupBase+50,width:384})),j=function(et,je){var ge={};for(var Se in et)Object.prototype.hasOwnProperty.call(et,Se)&&je.indexOf(Se)<0&&(ge[Se]=et[Se]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Se=Object.getOwnPropertySymbols(et);Me<Se.length;Me++)je.indexOf(Se[Me])<0&&Object.prototype.propertyIsEnumerable.call(et,Se[Me])&&(ge[Se[Me]]=et[Se[Me]]);return ge};const Y={info:r.createElement(u.Z,null),success:r.createElement(c.Z,null),error:r.createElement(f.Z,null),warning:r.createElement(h.Z,null),loading:r.createElement(a.Z,null)};function V(et,je){return je===null||je===!1?null:je||r.createElement("span",{className:`${et}-close-x`},r.createElement(o.Z,{className:`${et}-close-icon`}))}const G={success:c.Z,info:u.Z,error:f.Z,warning:h.Z},ae=et=>{const{prefixCls:je,icon:ge,type:Se,message:Me,description:$e,btn:He,role:nt="alert"}=et;let ct=null;return ge?ct=r.createElement("span",{className:`${je}-icon`},ge):Se&&(ct=r.createElement(G[Se]||null,{className:p()(`${je}-icon`,`${je}-icon-${Se}`)})),r.createElement("div",{className:p()({[`${je}-with-icon`]:ct}),role:nt},ct,r.createElement("div",{className:`${je}-message`},Me),r.createElement("div",{className:`${je}-description`},$e),He&&r.createElement("div",{className:`${je}-btn`},He))};var ue=et=>{const{prefixCls:je,className:ge,icon:Se,type:Me,message:$e,description:He,btn:nt,closable:ct=!0,closeIcon:Vt}=et,Ht=j(et,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:Pe}=r.useContext(_.E_),qe=je||Pe("notification"),Yt=`${qe}-notice`,[,Rt]=B(qe);return r.createElement(y.qX,Object.assign({},Ht,{prefixCls:qe,className:p()(ge,Rt,`${Yt}-pure-panel`),eventKey:"pure",duration:null,closable:ct,closeIcon:V(qe,Vt),content:r.createElement(ae,{prefixCls:Yt,icon:Se,type:Me,message:$e,description:He,btn:nt})}))};function q(et,je,ge){let Se;switch(et){case"top":Se={left:"50%",transform:"translateX(-50%)",right:"auto",top:je,bottom:"auto"};break;case"topLeft":Se={left:0,top:je,bottom:"auto"};break;case"topRight":Se={right:0,top:je,bottom:"auto"};break;case"bottom":Se={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:ge};break;case"bottomLeft":Se={left:0,top:"auto",bottom:ge};break;default:Se={right:0,top:"auto",bottom:ge};break}return Se}function J(et){return{motionName:`${et}-fade`}}var K=function(et,je){var ge={};for(var Se in et)Object.prototype.hasOwnProperty.call(et,Se)&&je.indexOf(Se)<0&&(ge[Se]=et[Se]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Se=Object.getOwnPropertySymbols(et);Me<Se.length;Me++)je.indexOf(Se[Me])<0&&Object.prototype.propertyIsEnumerable.call(et,Se[Me])&&(ge[Se[Me]]=et[Se[Me]]);return ge};const oe=24,ee=4.5,Q="topRight",le=et=>{let{children:je,prefixCls:ge}=et;const[,Se]=B(ge);return r.createElement(y.JB,{classNames:{list:Se,notice:Se}},je)},Z=(et,je)=>{let{prefixCls:ge,key:Se}=je;return r.createElement(le,{prefixCls:ge,key:Se},et)},$=r.forwardRef((et,je)=>{const{top:ge,bottom:Se,prefixCls:Me,getContainer:$e,maxCount:He,rtl:nt,onAllRemoved:ct}=et,{getPrefixCls:Vt,getPopupContainer:Ht,notification:Pe}=r.useContext(_.E_),qe=Me||Vt("notification"),Yt=Xt=>q(Xt,ge!=null?ge:oe,Se!=null?Se:oe),Rt=()=>p()({[`${qe}-rtl`]:nt}),Wt=()=>J(qe),[$t,At]=(0,y.lm)({prefixCls:qe,style:Yt,className:Rt,motion:Wt,closable:!0,closeIcon:V(qe),duration:ee,getContainer:()=>($e==null?void 0:$e())||(Ht==null?void 0:Ht())||document.body,maxCount:He,onAllRemoved:ct,renderNotifications:Z});return r.useImperativeHandle(je,()=>Object.assign(Object.assign({},$t),{prefixCls:qe,notification:Pe})),At});function se(et){const je=r.useRef(null);return[r.useMemo(()=>{const Se=nt=>{var ct;if(!je.current)return;const{open:Vt,prefixCls:Ht,notification:Pe}=je.current,qe=`${Ht}-notice`,{message:Yt,description:Rt,icon:Wt,type:$t,btn:At,className:Xt,style:We,role:fe="alert",closeIcon:pe}=nt,Ot=K(nt,["message","description","icon","type","btn","className","style","role","closeIcon"]),Te=V(qe,pe);return Vt(Object.assign(Object.assign({placement:(ct=et==null?void 0:et.placement)!==null&&ct!==void 0?ct:Q},Ot),{content:r.createElement(ae,{prefixCls:qe,icon:Wt,type:$t,message:Yt,description:Rt,btn:At,role:fe}),className:p()($t&&`${qe}-${$t}`,Xt,Pe==null?void 0:Pe.className),style:Object.assign(Object.assign({},Pe==null?void 0:Pe.style),We),closeIcon:Te,closable:!!Te}))},$e={open:Se,destroy:nt=>{var ct,Vt;nt!==void 0?(ct=je.current)===null||ct===void 0||ct.close(nt):(Vt=je.current)===null||Vt===void 0||Vt.destroy()}};return["success","info","warning","error"].forEach(nt=>{$e[nt]=ct=>Se(Object.assign(Object.assign({},ct),{type:nt}))}),$e},[]),r.createElement($,Object.assign({key:"notification-holder"},et,{ref:je}))]}function _e(et){return se(et)}let De=null,ke=et=>et(),Ze=[],Ne={};function Bt(){const{prefixCls:et,getContainer:je,rtl:ge,maxCount:Se,top:Me,bottom:$e}=Ne,He=et!=null?et:(0,l.w6)().getPrefixCls("notification"),nt=(je==null?void 0:je())||document.body;return{prefixCls:He,getContainer:()=>nt,rtl:ge,maxCount:Se,top:Me,bottom:$e}}const yt=r.forwardRef((et,je)=>{const[ge,Se]=r.useState(Bt),[Me,$e]=se(ge),He=(0,l.w6)(),nt=He.getRootPrefixCls(),ct=He.getIconPrefixCls(),Vt=He.getTheme(),Ht=()=>{Se(Bt)};return r.useEffect(Ht,[]),r.useImperativeHandle(je,()=>{const Pe=Object.assign({},Me);return Object.keys(Pe).forEach(qe=>{Pe[qe]=function(){return Ht(),Me[qe].apply(Me,arguments)}}),{instance:Pe,sync:Ht}}),r.createElement(l.ZP,{prefixCls:nt,iconPrefixCls:ct,theme:Vt},$e)});function Dt(){if(!De){const et=document.createDocumentFragment(),je={fragment:et};De=je,ke(()=>{(0,i.s)(r.createElement(yt,{ref:ge=>{const{instance:Se,sync:Me}=ge||{};Promise.resolve().then(()=>{!je.instance&&Se&&(je.instance=Se,je.sync=Me,Dt())})}}),et)});return}De.instance&&(Ze.forEach(et=>{switch(et.type){case"open":{ke(()=>{De.instance.open(Object.assign(Object.assign({},Ne),et.config))});break}case"destroy":ke(()=>{De==null||De.instance.destroy(et.key)});break}}),Ze=[])}function Jt(et){Ne=Object.assign(Object.assign({},Ne),et),ke(()=>{var je;(je=De==null?void 0:De.sync)===null||je===void 0||je.call(De)})}function er(et){Ze.push({type:"open",config:et}),Dt()}function tr(et){Ze.push({type:"destroy",key:et}),Dt()}const Xe=["success","info","warning","error"],Zt={open:er,destroy:tr,config:Jt,useNotification:_e,_InternalPanelDoNotUseOrYouWillBeFired:ue};Xe.forEach(et=>{Zt[et]=je=>er(Object.assign(Object.assign({},je),{type:et}))});const ot=()=>{};let xt=null;var ht=Zt},95237:function(d,v,e){"use strict";var r=e(27382);v.Z=r.Z},33234:function(d,v,e){"use strict";e.d(v,{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,S){var k={};for(var R in b)Object.prototype.hasOwnProperty.call(b,R)&&S.indexOf(R)<0&&(k[R]=b[R]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,R=Object.getOwnPropertySymbols(b);A<R.length;A++)S.indexOf(R[A])<0&&Object.prototype.propertyIsEnumerable.call(b,R[A])&&(k[R[A]]=b[R[A]]);return k};const a=c.createContext(null),x=(b,S)=>{const k=c.useContext(a),R=c.useMemo(()=>{if(!k)return"";const{compactDirection:A,isFirstItem:D,isLastItem:M}=k,B=A==="vertical"?"-vertical-":"-";return i()(`${b}-compact${B}item`,{[`${b}-compact${B}first-item`]:D,[`${b}-compact${B}last-item`]:M,[`${b}-compact${B}item-rtl`]:S==="rtl"})},[b,S,k]);return{compactSize:k==null?void 0:k.compactSize,compactDirection:k==null?void 0:k.compactDirection,compactItemClassnames:R}},p=b=>{let{children:S}=b;return c.createElement(a.Provider,{value:null},S)},y=b=>{var{children:S}=b,k=u(b,["children"]);return c.createElement(a.Provider,{value:k},S)},_=b=>{const{getPrefixCls:S,direction:k}=c.useContext(f.E_),{size:R,direction:A,block:D,prefixCls:M,className:B,rootClassName:j,children:Y}=b,V=u(b,["size","direction","block","prefixCls","className","rootClassName","children"]),G=(0,o.Z)(ee=>R!=null?R:ee),ae=S("space-compact",M),[ie,ue]=(0,h.Z)(ae),q=i()(ae,ue,{[`${ae}-rtl`]:k==="rtl",[`${ae}-block`]:D,[`${ae}-vertical`]:A==="vertical"},B,j),J=c.useContext(a),K=(0,l.Z)(Y),oe=c.useMemo(()=>K.map((ee,Q)=>{const le=ee&&ee.key||`${ae}-item-${Q}`;return c.createElement(y,{key:le,compactSize:G,compactDirection:A,isFirstItem:Q===0&&(!J||(J==null?void 0:J.isFirstItem)),isLastItem:Q===K.length-1&&(!J||(J==null?void 0:J.isLastItem))},ee)}),[R,K,J]);return K.length===0?null:ie(c.createElement("div",Object.assign({className:q},V),oe))};v.ZP=_},2856:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{Z:function(){return Y}});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 S=(0,x.Z)("Spin",V=>{const G=(0,p.TS)(V,{spinDotDefault:V.colorTextDescription});return[b(G)]},V=>({contentHeight:400,dotSize:V.controlHeightLG/2,dotSizeSM:V.controlHeightLG*.35,dotSizeLG:V.controlHeight})),k=function(V,G){var ae={};for(var ie in V)Object.prototype.hasOwnProperty.call(V,ie)&&G.indexOf(ie)<0&&(ae[ie]=V[ie]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ie=Object.getOwnPropertySymbols(V);ue<ie.length;ue++)G.indexOf(ie[ue])<0&&Object.prototype.propertyIsEnumerable.call(V,ie[ue])&&(ae[ie[ue]]=V[ie[ue]]);return ae};const R=null;let A=null;function D(V,G){const{indicator:ae}=G,ie=`${V}-dot`;return ae===null?null:(0,o.l$)(ae)?(0,o.Tm)(ae,{className:i()(ae.props.className,ie)}):(0,o.l$)(A)?(0,o.Tm)(A,{className:i()(A.props.className,ie)}):c.createElement("span",{className:i()(ie,`${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 M(V,G){return!!V&&!!G&&!isNaN(Number(G))}const B=V=>{const{spinPrefixCls:G,spinning:ae=!0,delay:ie=0,className:ue,rootClassName:q,size:J="default",tip:K,wrapperClassName:oe,style:ee,children:Q,hashId:le}=V,Z=k(V,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[$,se]=c.useState(()=>ae&&!M(ae,ie));c.useEffect(()=>{if(ae){const Jt=(0,f.D)(ie,()=>{se(!0)});return Jt(),()=>{var er;(er=Jt==null?void 0:Jt.cancel)===null||er===void 0||er.call(Jt)}}se(!1)},[ie,ae]);const _e=c.useMemo(()=>typeof Q!="undefined",[Q]),{direction:De,spin:ke}=c.useContext(h.E_),Ze=i()(G,ke==null?void 0:ke.className,{[`${G}-sm`]:J==="small",[`${G}-lg`]:J==="large",[`${G}-spinning`]:$,[`${G}-show-text`]:!!K,[`${G}-rtl`]:De==="rtl"},ue,q,le),Ne=i()(`${G}-container`,{[`${G}-blur`]:$}),Bt=(0,l.Z)(Z,["indicator","prefixCls"]),yt=Object.assign(Object.assign({},ke==null?void 0:ke.style),ee),Dt=c.createElement("div",Object.assign({},Bt,{style:yt,className:Ze,"aria-live":"polite","aria-busy":$}),D(G,V),K&&_e?c.createElement("div",{className:`${G}-text`},K):null);return _e?c.createElement("div",Object.assign({},Bt,{className:i()(`${G}-nested-loading`,oe,le)}),$&&c.createElement("div",{key:"loading"},Dt),c.createElement("div",{className:Ne,key:"container"},Q)):Dt},j=V=>{const{prefixCls:G}=V,{getPrefixCls:ae}=c.useContext(h.E_),ie=ae("spin",G),[ue,q]=S(ie),J=Object.assign(Object.assign({},V),{spinPrefixCls:ie,hashId:q});return ue(c.createElement(B,Object.assign({},J)))};j.setDefaultIndicator=V=>{A=V};var Y=j},74207:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{_y:function(){return k},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}}),S={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}},k=(R,A)=>{const{antCls:D}=R,M=`${D}-${A}`,{inKeyframes:B,outKeyframes:j}=S[A];return[(0,i.R)(M,B,j,A==="zoom-big-fast"?R.motionDurationFast:R.motionDurationMid),{[`
|
|
|
${M}-enter,
|
|
|
${M}-appear
|
|
|
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:R.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${M}-leave`]:{animationTimingFunction:R.motionEaseInOutCirc}}]}},19447:function(d,v,e){"use strict";e.d(v,{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:S,arrowDistance:k=0,arrowPlacement:R={left:!0,right:!0,top:!0,bottom:!0}}=h,{dropdownArrowOffsetVertical:A,dropdownArrowOffset:D}=l({contentRadius:b,limitVerticalRadius:S});return{[u]:Object.assign(Object.assign(Object.assign(Object.assign({[`${u}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,r.r)(a,x,p,_,y)),{"&:before":{background:_}})]},c(!!R.top,{[[`&-placement-top ${u}-arrow`,`&-placement-topLeft ${u}-arrow`,`&-placement-topRight ${u}-arrow`].join(",")]:{bottom:k,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(!!R.bottom,{[[`&-placement-bottom ${u}-arrow`,`&-placement-bottomLeft ${u}-arrow`,`&-placement-bottomRight ${u}-arrow`].join(",")]:{top:k,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(!!R.left,{[[`&-placement-left ${u}-arrow`,`&-placement-leftTop ${u}-arrow`,`&-placement-leftBottom ${u}-arrow`].join(",")]:{right:{_skip_check_:!0,value:k},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:A},[`&-placement-leftBottom ${u}-arrow`]:{bottom:A}})),c(!!R.right,{[[`&-placement-right ${u}-arrow`,`&-placement-rightTop ${u}-arrow`,`&-placement-rightBottom ${u}-arrow`].join(",")]:{left:{_skip_check_:!0,value:k},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:A},[`&-placement-rightBottom ${u}-arrow`]:{bottom:A}}))}}},47585:function(d,v,e){"use strict";e.d(v,{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,S=_,k=2*h-x,R=p,A=2*h-u,D=a,M=h*Math.sqrt(2)+c*(Math.sqrt(2)-2),B=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(${B}px 100%, 50% ${B}px, ${2*h-B}px 100%, ${B}px 100%)`,`path('M ${u} ${a} A ${c} ${c} 0 0 0 ${x} ${p} L ${y} ${_} A ${l} ${l} 0 0 1 ${b} ${S} L ${k} ${R} A ${c} ${c} 0 0 0 ${A} ${D} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:M,height:M,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${l}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}}},45246:function(d,v,e){"use strict";e.d(v,{Mj:function(){return Y},u_:function(){return j},uH:function(){return B}});var r=e(93083),i=e(59301),l=e(30071),f=V=>{const{controlHeight:G}=V;return{controlHeightSM:G*.75,controlHeightXS:G*.5,controlHeightLG:G*1.25}};function o(V){const{sizeUnit:G,sizeStep:ae}=V;return{sizeXXL:G*(ae+8),sizeXL:G*(ae+4),sizeLG:G*(ae+2),sizeMD:G*(ae+1),sizeMS:G*ae,size:G*ae,sizeSM:G*(ae-1),sizeXS:G*(ae-2),sizeXXS:G*(ae-3)}}var h=e(34117),u=e(64993);function a(V,G){let{generateColorPalettes:ae,generateNeutralColorPalettes:ie}=G;const{colorSuccess:ue,colorWarning:q,colorError:J,colorInfo:K,colorPrimary:oe,colorBgBase:ee,colorTextBase:Q}=V,le=ae(oe),Z=ae(ue),$=ae(q),se=ae(J),_e=ae(K),De=ie(ee,Q),ke=V.colorLink||V.colorInfo,Ze=ae(ke);return Object.assign(Object.assign({},De),{colorPrimaryBg:le[1],colorPrimaryBgHover:le[2],colorPrimaryBorder:le[3],colorPrimaryBorderHover:le[4],colorPrimaryHover:le[5],colorPrimary:le[6],colorPrimaryActive:le[7],colorPrimaryTextHover:le[8],colorPrimaryText:le[9],colorPrimaryTextActive:le[10],colorSuccessBg:Z[1],colorSuccessBgHover:Z[2],colorSuccessBorder:Z[3],colorSuccessBorderHover:Z[4],colorSuccessHover:Z[4],colorSuccess:Z[6],colorSuccessActive:Z[7],colorSuccessTextHover:Z[8],colorSuccessText:Z[9],colorSuccessTextActive:Z[10],colorErrorBg:se[1],colorErrorBgHover:se[2],colorErrorBorder:se[3],colorErrorBorderHover:se[4],colorErrorHover:se[5],colorError:se[6],colorErrorActive:se[7],colorErrorTextHover:se[8],colorErrorText:se[9],colorErrorTextActive:se[10],colorWarningBg:$[1],colorWarningBgHover:$[2],colorWarningBorder:$[3],colorWarningBorderHover:$[4],colorWarningHover:$[4],colorWarning:$[6],colorWarningActive:$[7],colorWarningTextHover:$[8],colorWarningText:$[9],colorWarningTextActive:$[10],colorInfoBg:_e[1],colorInfoBgHover:_e[2],colorInfoBorder:_e[3],colorInfoBorderHover:_e[4],colorInfoHover:_e[4],colorInfo:_e[6],colorInfoActive:_e[7],colorInfoTextHover:_e[8],colorInfoText:_e[9],colorInfoTextActive:_e[10],colorLinkHover:Ze[4],colorLink:Ze[6],colorLinkActive:Ze[7],colorBgMask:new u.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}var p=V=>{let G=V,ae=V,ie=V,ue=V;return V<6&&V>=5?G=V+1:V<16&&V>=6?G=V+2:V>=16&&(G=16),V<7&&V>=5?ae=4:V<8&&V>=7?ae=5:V<14&&V>=8?ae=6:V<16&&V>=14?ae=7:V>=16&&(ae=8),V<6&&V>=2?ie=1:V>=6&&(ie=2),V>4&&V<8?ue=4:V>=8&&(ue=6),{borderRadius:V>16?16:V,borderRadiusXS:ie,borderRadiusSM:ae,borderRadiusLG:G,borderRadiusOuter:ue}};function y(V){const{motionUnit:G,motionBase:ae,borderRadius:ie,lineWidth:ue}=V;return Object.assign({motionDurationFast:`${(ae+G).toFixed(1)}s`,motionDurationMid:`${(ae+G*2).toFixed(1)}s`,motionDurationSlow:`${(ae+G*3).toFixed(1)}s`,lineWidthBold:ue+1},p(ie))}const _=(V,G)=>new u.C(V).setAlpha(G).toRgbString(),b=(V,G)=>new u.C(V).darken(G).toHexString(),S=V=>{const G=(0,l.generate)(V);return{1:G[0],2:G[1],3:G[2],4:G[3],5:G[4],6:G[5],7:G[6],8:G[4],9:G[5],10:G[6]}},k=(V,G)=>{const ae=V||"#fff",ie=G||"#000";return{colorBgBase:ae,colorTextBase:ie,colorText:_(ie,.88),colorTextSecondary:_(ie,.65),colorTextTertiary:_(ie,.45),colorTextQuaternary:_(ie,.25),colorFill:_(ie,.15),colorFillSecondary:_(ie,.06),colorFillTertiary:_(ie,.04),colorFillQuaternary:_(ie,.02),colorBgLayout:b(ae,4),colorBgContainer:b(ae,0),colorBgElevated:b(ae,0),colorBgSpotlight:_(ie,.85),colorBorder:b(ae,15),colorBorderSecondary:b(ae,6)}};function R(V){const G=new Array(10).fill(null).map((ae,ie)=>{const ue=ie-1,q=V*Math.pow(2.71828,ue/5),J=ie>1?Math.floor(q):Math.ceil(q);return Math.floor(J/2)*2});return G[1]=V,G.map(ae=>{const ie=ae+8;return{size:ae,lineHeight:ie/ae}})}var D=V=>{const G=R(V),ae=G.map(ue=>ue.size),ie=G.map(ue=>ue.lineHeight);return{fontSizeSM:ae[0],fontSize:ae[1],fontSizeLG:ae[2],fontSizeXL:ae[3],fontSizeHeading1:ae[6],fontSizeHeading2:ae[5],fontSizeHeading3:ae[4],fontSizeHeading4:ae[3],fontSizeHeading5:ae[2],lineHeight:ie[1],lineHeightLG:ie[2],lineHeightSM:ie[0],lineHeightHeading1:ie[6],lineHeightHeading2:ie[5],lineHeightHeading3:ie[4],lineHeightHeading4:ie[3],lineHeightHeading5:ie[2]}};function M(V){const G=Object.keys(h.M).map(ae=>{const ie=(0,l.generate)(V[ae]);return new Array(10).fill(1).reduce((ue,q,J)=>(ue[`${ae}-${J+1}`]=ie[J],ue[`${ae}${J+1}`]=ie[J],ue),{})}).reduce((ae,ie)=>(ae=Object.assign(Object.assign({},ae),ie),ae),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},V),G),a(V,{generateColorPalettes:S,generateNeutralColorPalettes:k})),D(V.fontSize)),o(V)),f(V)),y(V))}const B=(0,r.createTheme)(M),j={token:h.Z,hashed:!0},Y=i.createContext(j)},33166:function(d,v,e){"use strict";e.d(v,{i:function(){return r}});const r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},34117:function(d,v,e){"use strict";e.d(v,{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});v.Z=i},88088:function(d,v,e){"use strict";e.d(v,{Z:function(){return S}});var r=e(93083),i=e(59301),l="5.9.0",c=l,f=e(45246),o=e(34117),h=e(64993);function u(k){return k>=0&&k<=255}function a(k,R){const{r:A,g:D,b:M,a:B}=new h.C(k).toRgb();if(B<1)return k;const{r:j,g:Y,b:V}=new h.C(R).toRgb();for(let G=.01;G<=1;G+=.01){const ae=Math.round((A-j*(1-G))/G),ie=Math.round((D-Y*(1-G))/G),ue=Math.round((M-V*(1-G))/G);if(u(ae)&&u(ie)&&u(ue))return new h.C({r:ae,g:ie,b:ue,a:Math.round(G*100)/100}).toRgbString()}return new h.C({r:A,g:D,b:M,a:1}).toRgbString()}var x=a,p=function(k,R){var A={};for(var D in k)Object.prototype.hasOwnProperty.call(k,D)&&R.indexOf(D)<0&&(A[D]=k[D]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,D=Object.getOwnPropertySymbols(k);M<D.length;M++)R.indexOf(D[M])<0&&Object.prototype.propertyIsEnumerable.call(k,D[M])&&(A[D[M]]=k[D[M]]);return A};function y(k){const{override:R}=k,A=p(k,["override"]),D=Object.assign({},R);Object.keys(o.Z).forEach(ue=>{delete D[ue]});const M=Object.assign(Object.assign({},A),D),B=480,j=576,Y=768,V=992,G=1200,ae=1600;if(M.motion===!1){const ue="0s";M.motionDurationFast=ue,M.motionDurationMid=ue,M.motionDurationSlow=ue}return Object.assign(Object.assign(Object.assign({},M),{colorFillContent:M.colorFillSecondary,colorFillContentHover:M.colorFill,colorFillAlter:M.colorFillQuaternary,colorBgContainerDisabled:M.colorFillTertiary,colorBorderBg:M.colorBgContainer,colorSplit:x(M.colorBorderSecondary,M.colorBgContainer),colorTextPlaceholder:M.colorTextQuaternary,colorTextDisabled:M.colorTextQuaternary,colorTextHeading:M.colorText,colorTextLabel:M.colorTextSecondary,colorTextDescription:M.colorTextTertiary,colorTextLightSolid:M.colorWhite,colorHighlight:M.colorError,colorBgTextHover:M.colorFillSecondary,colorBgTextActive:M.colorFill,colorIcon:M.colorTextTertiary,colorIconHover:M.colorText,colorErrorOutline:x(M.colorErrorBg,M.colorBgContainer),colorWarningOutline:x(M.colorWarningBg,M.colorBgContainer),fontSizeIcon:M.fontSizeSM,lineWidthFocus:M.lineWidth*4,lineWidth:M.lineWidth,controlOutlineWidth:M.lineWidth*2,controlInteractiveSize:M.controlHeight/2,controlItemBgHover:M.colorFillTertiary,controlItemBgActive:M.colorPrimaryBg,controlItemBgActiveHover:M.colorPrimaryBgHover,controlItemBgActiveDisabled:M.colorFill,controlTmpOutline:M.colorFillQuaternary,controlOutline:x(M.colorPrimaryBg,M.colorBgContainer),lineType:M.lineType,borderRadius:M.borderRadius,borderRadiusXS:M.borderRadiusXS,borderRadiusSM:M.borderRadiusSM,borderRadiusLG:M.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:M.sizeXXS,paddingXS:M.sizeXS,paddingSM:M.sizeSM,padding:M.size,paddingMD:M.sizeMD,paddingLG:M.sizeLG,paddingXL:M.sizeXL,paddingContentHorizontalLG:M.sizeLG,paddingContentVerticalLG:M.sizeMS,paddingContentHorizontal:M.sizeMS,paddingContentVertical:M.sizeSM,paddingContentHorizontalSM:M.size,paddingContentVerticalSM:M.sizeXS,marginXXS:M.sizeXXS,marginXS:M.sizeXS,marginSM:M.sizeSM,margin:M.size,marginMD:M.sizeMD,marginLG:M.sizeLG,marginXL:M.sizeXL,marginXXL:M.sizeXXL,boxShadow:`
|
|
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowSecondary:`
|
|
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowTertiary:`
|
|
|
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
|
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
|
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
|
`,screenXS:B,screenXSMin:B,screenXSMax:j-1,screenSM:j,screenSMMin:j,screenSMMax:Y-1,screenMD:Y,screenMDMin:Y,screenMDMax:V-1,screenLG:V,screenLGMin:V,screenLGMax:G-1,screenXL:G,screenXLMin:G,screenXLMax:ae-1,screenXXL:ae,screenXXLMin:ae,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(k,R){var A={};for(var D in k)Object.prototype.hasOwnProperty.call(k,D)&&R.indexOf(D)<0&&(A[D]=k[D]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,D=Object.getOwnPropertySymbols(k);M<D.length;M++)R.indexOf(D[M])<0&&Object.prototype.propertyIsEnumerable.call(k,D[M])&&(A[D[M]]=k[D[M]]);return A};const b=(k,R,A)=>{const D=A.getDerivativeToken(k),{override:M}=R,B=_(R,["override"]);let j=Object.assign(Object.assign({},D),{override:M});return j=y(j),B&&Object.entries(B).forEach(Y=>{let[V,G]=Y;const{theme:ae}=G,ie=_(G,["theme"]);let ue=ie;ae&&(ue=b(Object.assign(Object.assign({},j),ie),{override:ie},ae)),j[V]=ue}),j};function S(){const{token:k,hashed:R,theme:A,components:D}=i.useContext(f.Mj),M=`${c}-${R||""}`,B=A||f.uH,[j,Y]=(0,r.useCacheToken)(B,[o.Z,k],{salt:M,override:Object.assign({override:k},D),getComputedToken:b,formatToken:y});return[B,j,R?Y:""]}},83116:function(d,v,e){"use strict";e.d(v,{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 S=Array.isArray(p)?p:[p,p],[k]=S,R=S.join("-");return A=>{const[D,M,B]=(0,o.Z)(),{getPrefixCls:j,iconPrefixCls:Y,csp:V}=(0,r.useContext)(c.E_),G=j(),ae={theme:D,token:M,hashId:B,nonce:()=>V==null?void 0:V.nonce,clientOnly:b.clientOnly,order:b.order||-999};return(0,i.useStyleRegister)(Object.assign(Object.assign({},ae),{clientOnly:!1,path:["Shared",G]}),()=>[{"&":(0,f.Lx)(M)}]),(0,u.Z)(Y),[(0,i.useStyleRegister)(Object.assign(Object.assign({},ae),{path:[R,A,Y]}),()=>{const{token:ie,flush:ue}=(0,h.ZP)(M),q=Object.assign({},M[k]);if(b.deprecatedTokens){const{deprecatedTokens:le}=b;le.forEach(Z=>{let[$,se]=Z;var _e;(q!=null&&q[$]||q!=null&&q[se])&&((_e=q[se])!==null&&_e!==void 0||(q[se]=q==null?void 0:q[$]))})}const J=typeof _=="function"?_((0,h.TS)(ie,q!=null?q:{})):_,K=Object.assign(Object.assign({},J),q),oe=`.${A}`,ee=(0,h.TS)(ie,{componentCls:oe,prefixCls:A,iconCls:`.${Y}`,antCls:`.${G}`},K),Q=y(ee,{hashId:B,prefixCls:A,rootPrefixCls:G,iconPrefixCls:Y,overrideComponentToken:q});return ue(k,K),[b.resetStyle===!1?null:(0,f.du)(M,A),Q]}),B]}}const x=(p,y,_,b)=>{const S=a(p,y,_,Object.assign({resetStyle:!1,order:-998},b));return R=>{let{prefixCls:A}=R;return S(A),null}}},45157:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,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"}})}])};v.Z=c},67532:function(d,v){"use strict";const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};v.Z=e},6848:function(d,v,e){"use strict";e.d(v,{Z:function(){return ue}});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),S=e(45157),k=e(37613),R=e(83116);const A=q=>{const{componentCls:J,tooltipMaxWidth:K,tooltipColor:oe,tooltipBg:ee,tooltipBorderRadius:Q,zIndexPopup:le,controlHeight:Z,boxShadowSecondary:$,paddingSM:se,paddingXS:_e,tooltipRadiusOuter:De}=q;return[{[J]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(q)),{position:"absolute",zIndex:le,display:"block",width:"max-content",maxWidth:K,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":ee,[`${J}-inner`]:{minWidth:Z,minHeight:Z,padding:`${se/2}px ${_e}px`,color:oe,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:ee,borderRadius:Q,boxShadow:$,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${J}-inner`]:{borderRadius:Math.min(Q,b.qN)}},[`${J}-content`]:{position:"relative"}}),(0,S.Z)(q,(ke,Ze)=>{let{darkColor:Ne}=Ze;return{[`&${J}-${ke}`]:{[`${J}-inner`]:{backgroundColor:Ne},[`${J}-arrow`]:{"--antd-arrow-background-color":Ne}}}})),{"&-rtl":{direction:"rtl"}})},(0,b.ZP)((0,k.TS)(q,{borderRadiusOuter:De}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:Q,limitVerticalRadius:!0}),{[`${J}-pure`]:{position:"relative",maxWidth:"none",margin:q.sizePopupArrow}}]};var D=(q,J)=>(0,R.Z)("Tooltip",oe=>{if(J===!1)return[];const{borderRadius:ee,colorTextLightSolid:Q,colorBgDefault:le,borderRadiusOuter:Z}=oe,$=(0,k.TS)(oe,{tooltipMaxWidth:250,tooltipColor:Q,tooltipBorderRadius:ee,tooltipBg:le,tooltipRadiusOuter:Z>4?4:Z});return[A($),(0,_._y)(oe,"zoom-big-fast")]},oe=>{let{zIndexPopupBase:ee,colorBgSpotlight:Q}=oe;return{zIndexPopup:ee+70,colorBgDefault:Q}},{resetStyle:!1})(q),M=e(36785);function B(q,J){const K=(0,M.o2)(J),oe=l()({[`${q}-${J}`]:J&&K}),ee={},Q={};return J&&!K&&(ee.background=J,Q["--antd-arrow-background-color"]=J),{className:oe,overlayStyle:ee,arrowStyle:Q}}var Y=q=>{const{prefixCls:J,className:K,placement:oe="top",title:ee,color:Q,overlayInnerStyle:le}=q,{getPrefixCls:Z}=r.useContext(a.E_),$=Z("tooltip",J),[se,_e]=D($,!0),De=B($,Q),ke=De.arrowStyle,Ze=Object.assign(Object.assign({},le),De.overlayStyle),Ne=l()(_e,$,`${$}-pure`,`${$}-placement-${oe}`,K,De.className);return se(r.createElement("div",{className:Ne,style:ke},r.createElement("div",{className:`${$}-arrow`}),r.createElement(c.G,Object.assign({},q,{className:_e,prefixCls:$,overlayInnerStyle:Ze}),ee)))},V=function(q,J){var K={};for(var oe in q)Object.prototype.hasOwnProperty.call(q,oe)&&J.indexOf(oe)<0&&(K[oe]=q[oe]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,oe=Object.getOwnPropertySymbols(q);ee<oe.length;ee++)J.indexOf(oe[ee])<0&&Object.prototype.propertyIsEnumerable.call(q,oe[ee])&&(K[oe[ee]]=q[oe[ee]]);return K};const G=(q,J)=>{const K={},oe=Object.assign({},q);return J.forEach(ee=>{q&&ee in q&&(K[ee]=q[ee],delete oe[ee])}),{picked:K,omitted:oe}};function ae(q,J){const K=q.type;if((K.__ANT_BUTTON===!0||q.type==="button")&&q.props.disabled||K.__ANT_SWITCH===!0&&(q.props.disabled||q.props.loading)||K.__ANT_RADIO===!0&&q.props.disabled){const{picked:oe,omitted:ee}=G(q.props.style,["position","left","right","top","bottom","float","display","zIndex"]),Q=Object.assign(Object.assign({display:"inline-block"},oe),{cursor:"not-allowed",width:q.props.block?"100%":void 0}),le=Object.assign(Object.assign({},ee),{pointerEvents:"none"}),Z=(0,u.Tm)(q,{style:le,className:null});return r.createElement("span",{style:Q,className:l()(q.props.className,`${J}-disabled-compatible-wrapper`)},Z)}return q}const ie=r.forwardRef((q,J)=>{var K,oe;const{prefixCls:ee,openClassName:Q,getTooltipContainer:le,overlayClassName:Z,color:$,overlayInnerStyle:se,children:_e,afterOpenChange:De,afterVisibleChange:ke,destroyTooltipOnHide:Ze,arrow:Ne=!0,title:Bt,overlay:yt,builtinPlacements:Dt,arrowPointAtCenter:Jt=!1,autoAdjustOverflow:er=!0}=q,tr=!!Ne,[,Xe]=(0,p.Z)(),{getPopupContainer:Pt,getPrefixCls:Zt,direction:ot}=r.useContext(a.E_),xt=r.useRef(null),ht=()=>{var Oe;(Oe=xt.current)===null||Oe===void 0||Oe.forceAlign()};r.useImperativeHandle(J,()=>({forceAlign:ht,forcePopupAlign:()=>{ht()}}));const[et,je]=(0,f.Z)(!1,{value:(K=q.open)!==null&&K!==void 0?K:q.visible,defaultValue:(oe=q.defaultOpen)!==null&&oe!==void 0?oe:q.defaultVisible}),ge=!Bt&&!yt&&Bt!==0,Se=Oe=>{var wt,be;je(ge?!1:Oe),ge||((wt=q.onOpenChange)===null||wt===void 0||wt.call(q,Oe),(be=q.onVisibleChange)===null||be===void 0||be.call(q,Oe))},Me=r.useMemo(()=>{var Oe,wt;let be=Jt;return typeof Ne=="object"&&(be=(wt=(Oe=Ne.pointAtCenter)!==null&&Oe!==void 0?Oe:Ne.arrowPointAtCenter)!==null&&wt!==void 0?wt:Jt),Dt||(0,h.Z)({arrowPointAtCenter:be,autoAdjustOverflow:er,arrowWidth:tr?Xe.sizePopupArrow:0,borderRadius:Xe.borderRadius,offset:Xe.marginXXS,visibleFirst:!0})},[Jt,Ne,Dt,Xe]),$e=r.useMemo(()=>Bt===0?Bt:yt||Bt||"",[yt,Bt]),He=r.createElement(x.BR,null,typeof $e=="function"?$e():$e),{getPopupContainer:nt,placement:ct="top",mouseEnterDelay:Vt=.1,mouseLeaveDelay:Ht=.1,overlayStyle:Pe,rootClassName:qe}=q,Yt=V(q,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),Rt=Zt("tooltip",ee),Wt=Zt(),$t=q["data-popover-inject"];let At=et;!("open"in q)&&!("visible"in q)&&ge&&(At=!1);const Xt=ae((0,u.l$)(_e)&&!(0,u.M2)(_e)?_e:r.createElement("span",null,_e),Rt),We=Xt.props,fe=!We.className||typeof We.className=="string"?l()(We.className,Q||`${Rt}-open`):We.className,[pe,Ot]=D(Rt,!$t),Te=B(Rt,$),dt=Te.arrowStyle,Gt=Object.assign(Object.assign({},se),Te.overlayStyle),St=l()(Z,{[`${Rt}-rtl`]:ot==="rtl"},Te.className,qe,Ot);return pe(r.createElement(c.Z,Object.assign({},Yt,{showArrow:tr,placement:ct,mouseEnterDelay:Vt,mouseLeaveDelay:Ht,prefixCls:Rt,overlayClassName:St,overlayStyle:Object.assign(Object.assign({},dt),Pe),getTooltipContainer:nt||le||Pt,ref:xt,builtinPlacements:Me,overlay:He,visible:At,onVisibleChange:Se,afterVisibleChange:De!=null?De:ke,overlayInnerStyle:Gt,arrowContent:r.createElement("span",{className:`${Rt}-arrow-content`}),motion:{motionName:(0,o.m)(Wt,"zoom-big-fast",q.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Ze}),At?(0,u.Tm)(Xt,{className:fe}):Xt))});ie._InternalPanelDoNotUseOrYouWillBeFired=Y;var ue=ie},11575:function(d,v,e){"use strict";e.d(v,{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 v={utf8:{stringToBytes:function(e){return v.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(v.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=v},64018:function(){var d,v,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"],S="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",k=[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"],R=[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"],A=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],D=[x,y,p,b,S,k,R,A],M=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,B="str",j="kwd",Y="com",V="typ",G="lit",ae="pun",ie="pln",ue="tag",q="dec",J="src",K="atn",oe="atv",ee="nocode",Q="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function le(ot){for(var xt=0,ht=!1,et=!1,je=0,ge=ot.length;je<ge;++je){var Se=ot[je];if(Se.ignoreCase)et=!0;else if(/[a-z]/i.test(Se.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){ht=!0,et=!1;break}}var Me={b:8,t:9,n:10,v:11,f:12,r:13};function $e(Ht){var Pe=Ht.charCodeAt(0);if(Pe!==92)return Pe;var qe=Ht.charAt(1);return Pe=Me[qe],Pe||("0"<=qe&&qe<="7"?parseInt(Ht.substring(1),8):qe==="u"||qe==="x"?parseInt(Ht.substring(2),16):Ht.charCodeAt(1))}function He(Ht){if(Ht<32)return(Ht<16?"\\x0":"\\x")+Ht.toString(16);var Pe=String.fromCharCode(Ht);return Pe==="\\"||Pe==="-"||Pe==="]"||Pe==="^"?"\\"+Pe:Pe}function nt(Ht){var Pe=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")),qe=[],Yt=Pe[0]==="^",Rt=["["];Yt&&Rt.push("^");for(var Wt=Yt?1:0,$t=Pe.length;Wt<$t;++Wt){var At=Pe[Wt];if(/\\[bdsw]/i.test(At))Rt.push(At);else{var Xt=$e(At),We;Wt+2<$t&&Pe[Wt+1]==="-"?(We=$e(Pe[Wt+2]),Wt+=2):We=Xt,qe.push([Xt,We]),We<65||Xt>122||(We<65||Xt>90||qe.push([Math.max(65,Xt)|32,Math.min(We,90)|32]),We<97||Xt>122||qe.push([Math.max(97,Xt)&-33,Math.min(We,122)&-33]))}}qe.sort(function(Te,dt){return Te[0]-dt[0]||dt[1]-Te[1]});for(var fe=[],pe=[],Wt=0;Wt<qe.length;++Wt){var Ot=qe[Wt];Ot[0]<=pe[1]+1?pe[1]=Math.max(pe[1],Ot[1]):fe.push(pe=Ot)}for(var Wt=0;Wt<fe.length;++Wt){var Ot=fe[Wt];Rt.push(He(Ot[0])),Ot[1]>Ot[0]&&(Ot[1]+1>Ot[0]&&Rt.push("-"),Rt.push(He(Ot[1])))}return Rt.push("]"),Rt.join("")}function ct(Ht){for(var Pe=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")),qe=Pe.length,Yt=[],Rt=0,Wt=0;Rt<qe;++Rt){var $t=Pe[Rt];if($t==="(")++Wt;else if($t.charAt(0)==="\\"){var At=+$t.substring(1);At&&(At<=Wt?Yt[At]=-1:Pe[Rt]=He(At))}}for(var Rt=1;Rt<Yt.length;++Rt)Yt[Rt]===-1&&(Yt[Rt]=++xt);for(var Rt=0,Wt=0;Rt<qe;++Rt){var $t=Pe[Rt];if($t==="(")++Wt,Yt[Wt]||(Pe[Rt]="(?:");else if($t.charAt(0)==="\\"){var At=+$t.substring(1);At&&At<=Wt&&(Pe[Rt]="\\"+Yt[At])}}for(var Rt=0;Rt<qe;++Rt)Pe[Rt]==="^"&&Pe[Rt+1]!=="^"&&(Pe[Rt]="");if(Ht.ignoreCase&&ht)for(var Rt=0;Rt<qe;++Rt){var $t=Pe[Rt],Xt=$t.charAt(0);$t.length>=2&&Xt==="["?Pe[Rt]=nt($t):Xt!=="\\"&&(Pe[Rt]=$t.replace(/[a-zA-Z]/g,function(pe){var Ot=pe.charCodeAt(0);return"["+String.fromCharCode(Ot&-33,Ot|32)+"]"}))}return Pe.join("")}for(var Vt=[],je=0,ge=ot.length;je<ge;++je){var Se=ot[je];if(Se.global||Se.multiline)throw new Error(""+Se);Vt.push("(?:"+ct(Se)+")")}return new RegExp(Vt.join("|"),et?"gi":"g")}function Z(ot,xt){var ht=/(?:^|\s)nocode(?:\s|$)/,et=[],je=0,ge=[],Se=0;function Me($e){var He=$e.nodeType;if(He==1){if(ht.test($e.className))return;for(var nt=$e.firstChild;nt;nt=nt.nextSibling)Me(nt);var ct=$e.nodeName.toLowerCase();(ct==="br"||ct==="li")&&(et[Se]=`
|
|
|
`,ge[Se<<1]=je++,ge[Se++<<1|1]=$e)}else if(He==3||He==4){var Vt=$e.nodeValue;Vt.length&&(xt?Vt=Vt.replace(/\r\n?/g,`
|
|
|
`):Vt=Vt.replace(/[ \t\r\n]+/g," "),et[Se]=Vt,ge[Se<<1]=je,je+=Vt.length,ge[Se++<<1|1]=$e)}}return Me(ot),{sourceCode:et.join("").replace(/\n$/,""),spans:ge}}function $(ot,xt,ht,et,je){if(ht){var ge={sourceNode:ot,pre:1,langExtension:null,numberLines:null,sourceCode:ht,spans:null,basePos:xt,decorations:null};et(ge),je.push.apply(je,ge.decorations)}}var se=/\S/;function _e(ot){for(var xt=void 0,ht=ot.firstChild;ht;ht=ht.nextSibling){var et=ht.nodeType;xt=et===1?xt?ot:ht:et===3&&se.test(ht.nodeValue)?ot:xt}return xt===ot?void 0:xt}function De(ot,xt){var ht={},et;(function(){for(var Se=ot.concat(xt),Me=[],$e={},He=0,nt=Se.length;He<nt;++He){var ct=Se[He],Vt=ct[3];if(Vt)for(var Ht=Vt.length;--Ht>=0;)ht[Vt.charAt(Ht)]=ct;var Pe=ct[1],qe=""+Pe;$e.hasOwnProperty(qe)||(Me.push(Pe),$e[qe]=null)}Me.push(/[\0-\uffff]/),et=le(Me)})();var je=xt.length,ge=function(Se){for(var Me=Se.sourceCode,$e=Se.basePos,He=Se.sourceNode,nt=[$e,ie],ct=0,Vt=Me.match(et)||[],Ht={},Pe=0,qe=Vt.length;Pe<qe;++Pe){var Yt=Vt[Pe],Rt=Ht[Yt],Wt=void 0,$t;if(typeof Rt=="string")$t=!1;else{var At=ht[Yt.charAt(0)];if(At)Wt=Yt.match(At[1]),Rt=At[0];else{for(var Xt=0;Xt<je;++Xt)if(At=xt[Xt],Wt=Yt.match(At[1]),Wt){Rt=At[0];break}Wt||(Rt=ie)}$t=Rt.length>=5&&Rt.substring(0,5)==="lang-",$t&&!(Wt&&typeof Wt[1]=="string")&&($t=!1,Rt=J),$t||(Ht[Yt]=Rt)}var We=ct;if(ct+=Yt.length,!$t)nt.push($e+We,Rt);else{var fe=Wt[1],pe=Yt.indexOf(fe),Ot=pe+fe.length;Wt[2]&&(Ot=Yt.length-Wt[2].length,pe=Ot-fe.length);var Te=Rt.substring(5);$(He,$e+We,Yt.substring(0,pe),ge,nt),$(He,$e+We+pe,fe,Jt(Te,fe),nt),$(He,$e+We+Ot,Yt.substring(Ot),ge,nt)}}Se.decorations=nt};return ge}function ke(ot){var xt=[],ht=[];ot.tripleQuotedStrings?xt.push([B,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):ot.multiLineStrings?xt.push([B,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):xt.push([B,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),ot.verbatimStrings&&ht.push([B,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var et=ot.hashComments;et&&(ot.cStyleComments?(et>1?xt.push([Y,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):xt.push([Y,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),ht.push([B,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):xt.push([Y,/^#[^\r\n]*/,null,"#"])),ot.cStyleComments&&(ht.push([Y,/^\/\/[^\r\n]*/,null]),ht.push([Y,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var je=ot.regexLiterals;if(je){var ge=je>1?"":`
|
|
|
\r`,Se=ge?".":"[\\S\\s]",Me="/(?=[^/*"+ge+"])(?:[^/\\x5B\\x5C"+ge+"]|\\x5C"+Se+"|\\x5B(?:[^\\x5C\\x5D"+ge+"]|\\x5C"+Se+")*(?:\\x5D|$))+/";ht.push(["lang-regex",RegExp("^"+Q+"("+Me+")")])}var $e=ot.types;$e&&ht.push([V,$e]);var He=(""+ot.keywords).replace(/^ | $/g,"");He.length&&ht.push([j,new RegExp("^(?:"+He.replace(/[\s,]+/g,"|")+")\\b"),null]),xt.push([ie,/^\s+/,null,` \r
|
|
|
\xA0`]);var nt="^.[^\\s\\w.$@'\"`/\\\\]*";return ot.regexLiterals&&(nt+="(?!s*/)"),ht.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[V,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[ie,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[ie,/^\\[\s\S]?/,null],[ae,new RegExp(nt),null]),De(xt,ht)}var Ze=ke({keywords:D,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Ne(ot,xt,ht){for(var et=/(?:^|\s)nocode(?:\s|$)/,je=/\r\n?|\n/,ge=ot.ownerDocument,Se=ge.createElement("li");ot.firstChild;)Se.appendChild(ot.firstChild);var Me=[Se];function $e(Pe){var qe=Pe.nodeType;if(qe==1&&!et.test(Pe.className))if(Pe.nodeName==="br")He(Pe),Pe.parentNode&&Pe.parentNode.removeChild(Pe);else for(var Yt=Pe.firstChild;Yt;Yt=Yt.nextSibling)$e(Yt);else if((qe==3||qe==4)&&ht){var Rt=Pe.nodeValue,Wt=Rt.match(je);if(Wt){var $t=Rt.substring(0,Wt.index);Pe.nodeValue=$t;var At=Rt.substring(Wt.index+Wt[0].length);if(At){var Xt=Pe.parentNode;Xt.insertBefore(ge.createTextNode(At),Pe.nextSibling)}He(Pe),$t||Pe.parentNode.removeChild(Pe)}}}function He(Pe){for(;!Pe.nextSibling;)if(Pe=Pe.parentNode,!Pe)return;function qe(Wt,$t){var At=$t?Wt.cloneNode(!1):Wt,Xt=Wt.parentNode;if(Xt){var We=qe(Xt,1),fe=Wt.nextSibling;We.appendChild(At);for(var pe=fe;pe;pe=fe)fe=pe.nextSibling,We.appendChild(pe)}return At}for(var Yt=qe(Pe.nextSibling,0),Rt;(Rt=Yt.parentNode)&&Rt.nodeType===1;)Yt=Rt;Me.push(Yt)}for(var nt=0;nt<Me.length;++nt)$e(Me[nt]);xt===(xt|0)&&Me[0].setAttribute("value",xt);var ct=ge.createElement("ol");ct.className="linenums";for(var Vt=Math.max(0,xt-1|0)||0,nt=0,Ht=Me.length;nt<Ht;++nt)Se=Me[nt],Se.className="L"+(nt+Vt)%10,Se.firstChild||Se.appendChild(ge.createTextNode("\xA0")),ct.appendChild(Se);ot.appendChild(ct)}function Bt(ot){var xt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);xt=xt&&+xt[1]<=8;var ht=/\n/g,et=ot.sourceCode,je=et.length,ge=0,Se=ot.spans,Me=Se.length,$e=0,He=ot.decorations,nt=He.length,ct=0;He[nt]=je;var Vt,Ht;for(Ht=Vt=0;Ht<nt;)He[Ht]!==He[Ht+2]?(He[Vt++]=He[Ht++],He[Vt++]=He[Ht++]):Ht+=2;for(nt=Vt,Ht=Vt=0;Ht<nt;){for(var Pe=He[Ht],qe=He[Ht+1],Yt=Ht+2;Yt+2<=nt&&He[Yt+1]===qe;)Yt+=2;He[Vt++]=Pe,He[Vt++]=qe,Ht=Yt}nt=He.length=Vt;var Rt=ot.sourceNode,Wt="";Rt&&(Wt=Rt.style.display,Rt.style.display="none");try{for(var $t=null;$e<Me;){var At=Se[$e],Xt=Se[$e+2]||je,We=He[ct+2]||je,Yt=Math.min(Xt,We),fe=Se[$e+1],pe;if(fe.nodeType!==1&&(pe=et.substring(ge,Yt))){xt&&(pe=pe.replace(ht,"\r")),fe.nodeValue=pe;var Ot=fe.ownerDocument,Te=Ot.createElement("span");Te.className=He[ct+1];var dt=fe.parentNode;dt.replaceChild(Te,fe),Te.appendChild(fe),ge<Xt&&(Se[$e+1]=fe=Ot.createTextNode(et.substring(Yt,Xt)),dt.insertBefore(fe,Te.nextSibling))}ge=Yt,ge>=Xt&&($e+=2),ge>=We&&(ct+=2)}}finally{Rt&&(Rt.style.display=Wt)}}var yt={};function Dt(ot,xt){for(var ht=xt.length;--ht>=0;){var et=xt[ht];yt.hasOwnProperty(et)?o.console&&console.warn("cannot override language handler %s",et):yt[et]=ot}}function Jt(ot,xt){return ot&&yt.hasOwnProperty(ot)||(ot=/^\s*</.test(xt)?"default-markup":"default-code"),yt[ot]}Dt(Ze,["default-code"]),Dt(De([],[[ie,/^[^<?]+/],[q,/^<!\w[^>]*(?:>|$)/],[Y,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[ae,/^(?:<[%?]|[%?]>)/],["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"]),Dt(De([[ie,/^[\s]+/,null,` \r
|
|
|
`],[oe,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[ue,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[K,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[ae,/^[=<>\/]+/],["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"]),Dt(De([],[[oe,/^[\s\S]+/]]),["uq.val"]),Dt(ke({keywords:x,hashComments:!0,cStyleComments:!0,types:M}),["c","cc","cpp","cxx","cyc","m"]),Dt(ke({keywords:"null,true,false"}),["json"]),Dt(ke({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:M}),["cs"]),Dt(ke({keywords:p,cStyleComments:!0}),["java"]),Dt(ke({keywords:A,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Dt(ke({keywords:k,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Dt(ke({keywords:S,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Dt(ke({keywords:R,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Dt(ke({keywords:b,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Dt(ke({keywords:_,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Dt(De([],[[B,/^[\s\S]+/]]),["regex"]);function er(ot){var xt=ot.langExtension;try{var ht=Z(ot.sourceNode,ot.pre),et=ht.sourceCode;ot.sourceCode=et,ot.spans=ht.spans,ot.basePos=0,Jt(xt,et)(ot),Bt(ot)}catch(je){o.console&&console.log(je&&je.stack||je)}}function tr(ot,xt,ht){var et=ht||!1,je=xt||null,ge=document.createElement("div");ge.innerHTML="<pre>"+ot+"</pre>",ge=ge.firstChild,et&&Ne(ge,et,!0);var Se={langExtension:je,numberLines:et,sourceNode:ge,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return er(Se),ge.innerHTML}function Xe(ot,xt){var ht=xt||document.body,et=ht.ownerDocument||document;function je(At){return ht.getElementsByTagName(At)}for(var ge=[je("pre"),je("code"),je("xmp")],Se=[],Me=0;Me<ge.length;++Me)for(var $e=0,He=ge[Me].length;$e<He;++$e)Se.push(ge[Me][$e]);ge=null;var nt=Date;nt.now||(nt={now:function(){return+new Date}});var ct=0,Vt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ht=/\bprettyprint\b/,Pe=/\bprettyprinted\b/,qe=/pre|xmp/i,Yt=/^code$/i,Rt=/^(?:pre|code|xmp)$/i,Wt={};function $t(){for(var At=o.PR_SHOULD_USE_CONTINUATION?nt.now()+250:1/0;ct<Se.length&&nt.now()<At;ct++){for(var Xt=Se[ct],We=Wt,fe=Xt;fe=fe.previousSibling;){var pe=fe.nodeType,Ot=(pe===7||pe===8)&&fe.nodeValue;if(Ot?!/^\??prettify\b/.test(Ot):pe!==3||/\S/.test(fe.nodeValue))break;if(Ot){We={},Ot.replace(/\b(\w+)=([\w:.%+-]+)/g,function(Ct,Gr,Qr){We[Gr]=Qr});break}}var Te=Xt.className;if((We!==Wt||Ht.test(Te))&&!Pe.test(Te)){for(var dt=!1,Gt=Xt.parentNode;Gt;Gt=Gt.parentNode){var St=Gt.tagName;if(Rt.test(St)&&Gt.className&&Ht.test(Gt.className)){dt=!0;break}}if(!dt){Xt.className+=" prettyprinted";var Oe=We.lang;if(!Oe){Oe=Te.match(Vt);var wt;!Oe&&(wt=_e(Xt))&&Yt.test(wt.tagName)&&(Oe=wt.className.match(Vt)),Oe&&(Oe=Oe[1])}var be;if(qe.test(Xt.tagName))be=1;else{var Ke=Xt.currentStyle,gt=et.defaultView,Ft=Ke?Ke.whiteSpace:gt&>.getComputedStyle?gt.getComputedStyle(Xt,null).getPropertyValue("white-space"):0;be=Ft&&Ft.substring(0,3)==="pre"}var Fe=We.linenums;(Fe=Fe==="true"||+Fe)||(Fe=Te.match(/\blinenums\b(?::(\d+))?/),Fe=Fe?Fe[1]&&Fe[1].length?+Fe[1]:!0:!1),Fe&&Ne(Xt,Fe,be);var Dr={langExtension:Oe,sourceNode:Xt,numberLines:Fe,pre:be,sourceCode:null,basePos:null,spans:null,decorations:null};er(Dr)}}}ct<Se.length?o.setTimeout($t,250):typeof ot=="function"&&ot()}$t()}var Pt=o.PR={createSimpleLexer:De,registerLangHandler:Dt,sourceDecorator:ke,PR_ATTRIB_NAME:K,PR_ATTRIB_VALUE:oe,PR_COMMENT:Y,PR_DECLARATION:q,PR_KEYWORD:j,PR_LITERAL:G,PR_NOCODE:ee,PR_PLAIN:ie,PR_PUNCTUATION:ae,PR_SOURCE:J,PR_STRING:B,PR_TAG:ue,PR_TYPE:V,prettyPrintOne:r?o.prettyPrintOne=tr:c=tr,prettyPrint:f=r?o.prettyPrint=Xe:f=Xe},Zt=o.define;typeof Zt=="function"&&Zt.amd&&Zt("google-code-prettify",[],function(){return Pt})})()},25769:function(d,v,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(k){if(k.stopPropagation(),h.format)if(k.preventDefault(),typeof k.clipboardData=="undefined"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var R=i[h.format]||i.default;window.clipboardData.setData(R,o)}else k.clipboardData.clearData(),k.clipboardData.setData(h.format,o);h.onCopy&&(k.preventDefault(),h.onCopy(k.clipboardData))}),document.body.appendChild(_),p.selectNodeContents(_),y.addRange(p);var S=document.execCommand("copy");if(!S)throw new Error("copy command was unsuccessful");b=!0}catch(k){u&&console.error("unable to copy using execCommand: ",k),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(h.format||"text",o),h.onCopy&&h.onCopy(window.clipboardData),b=!0}catch(R){u&&console.error("unable to copy using clipboardData: ",R),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 v="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(v.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((v.indexOf(r.charAt(l-1))&Math.pow(2,-2*c+8)-1)<<c*2|v.indexOf(r.charAt(l))>>>6-c*2);return i}};d.exports=e})()},84452:function(d,v,e){(function(r,i,l){d.exports=v=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=[],S=[];(function(){for(var A=[],D=0;D<256;D++)D<128?A[D]=D<<1:A[D]=D<<1^283;for(var M=0,B=0,D=0;D<256;D++){var j=B^B<<1^B<<2^B<<3^B<<4;j=j>>>8^j&255^99,o[M]=j,h[j]=M;var Y=A[M],V=A[Y],G=A[V],ae=A[j]*257^j*16843008;u[M]=ae<<24|ae>>>8,a[M]=ae<<16|ae>>>16,x[M]=ae<<8|ae>>>24,p[M]=ae;var ae=G*16843009^V*65537^Y*257^M*16843008;y[j]=ae<<24|ae>>>8,_[j]=ae<<16|ae>>>16,b[j]=ae<<8|ae>>>24,S[j]=ae,M?(M=Y^A[A[A[G^Y]]],B^=A[A[B]]):M=B=1}})();var k=[0,1,2,4,8,16,32,64,128,27,54],R=f.AES=c.extend({_doReset:function(){var A;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var D=this._keyPriorReset=this._key,M=D.words,B=D.sigBytes/4,j=this._nRounds=B+6,Y=(j+1)*4,V=this._keySchedule=[],G=0;G<Y;G++)G<B?V[G]=M[G]:(A=V[G-1],G%B?B>6&&G%B==4&&(A=o[A>>>24]<<24|o[A>>>16&255]<<16|o[A>>>8&255]<<8|o[A&255]):(A=A<<8|A>>>24,A=o[A>>>24]<<24|o[A>>>16&255]<<16|o[A>>>8&255]<<8|o[A&255],A^=k[G/B|0]<<24),V[G]=V[G-B]^A);for(var ae=this._invKeySchedule=[],ie=0;ie<Y;ie++){var G=Y-ie;if(ie%4)var A=V[G];else var A=V[G-4];ie<4||G<=4?ae[ie]=A:ae[ie]=y[o[A>>>24]]^_[o[A>>>16&255]]^b[o[A>>>8&255]]^S[o[A&255]]}}},encryptBlock:function(A,D){this._doCryptBlock(A,D,this._keySchedule,u,a,x,p,o)},decryptBlock:function(A,D){var M=A[D+1];A[D+1]=A[D+3],A[D+3]=M,this._doCryptBlock(A,D,this._invKeySchedule,y,_,b,S,h);var M=A[D+1];A[D+1]=A[D+3],A[D+3]=M},_doCryptBlock:function(A,D,M,B,j,Y,V,G){for(var ae=this._nRounds,ie=A[D]^M[0],ue=A[D+1]^M[1],q=A[D+2]^M[2],J=A[D+3]^M[3],K=4,oe=1;oe<ae;oe++){var ee=B[ie>>>24]^j[ue>>>16&255]^Y[q>>>8&255]^V[J&255]^M[K++],Q=B[ue>>>24]^j[q>>>16&255]^Y[J>>>8&255]^V[ie&255]^M[K++],le=B[q>>>24]^j[J>>>16&255]^Y[ie>>>8&255]^V[ue&255]^M[K++],Z=B[J>>>24]^j[ie>>>16&255]^Y[ue>>>8&255]^V[q&255]^M[K++];ie=ee,ue=Q,q=le,J=Z}var ee=(G[ie>>>24]<<24|G[ue>>>16&255]<<16|G[q>>>8&255]<<8|G[J&255])^M[K++],Q=(G[ue>>>24]<<24|G[q>>>16&255]<<16|G[J>>>8&255]<<8|G[ie&255])^M[K++],le=(G[q>>>24]<<24|G[J>>>16&255]<<16|G[ie>>>8&255]<<8|G[ue&255])^M[K++],Z=(G[J>>>24]<<24|G[ie>>>16&255]<<16|G[ue>>>8&255]<<8|G[q&255])^M[K++];A[D]=ee,A[D+1]=Q,A[D+2]=le,A[D+3]=Z},keySize:256/32});i.AES=c._createHelper(R)}(),r.AES})},93617:function(d,v,e){(function(r,i,l){d.exports=v=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(ue,q){return this.create(this._ENC_XFORM_MODE,ue,q)},createDecryptor:function(ue,q){return this.create(this._DEC_XFORM_MODE,ue,q)},init:function(ue,q,J){this.cfg=this.cfg.extend(J),this._xformMode=ue,this._key=q,this.reset()},reset:function(){h.reset.call(this),this._doReset()},process:function(ue){return this._append(ue),this._process()},finalize:function(ue){ue&&this._append(ue);var q=this._doFinalize();return q},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function ue(q){return typeof q=="string"?ie:V}return function(q){return{encrypt:function(J,K,oe){return ue(K).encrypt(q,J,K,oe)},decrypt:function(J,K,oe){return ue(K).decrypt(q,J,K,oe)}}}}()}),b=c.StreamCipher=_.extend({_doFinalize:function(){var ue=this._process(!0);return ue},blockSize:1}),S=l.mode={},k=c.BlockCipherMode=f.extend({createEncryptor:function(ue,q){return this.Encryptor.create(ue,q)},createDecryptor:function(ue,q){return this.Decryptor.create(ue,q)},init:function(ue,q){this._cipher=ue,this._iv=q}}),R=S.CBC=function(){var ue=k.extend();ue.Encryptor=ue.extend({processBlock:function(J,K){var oe=this._cipher,ee=oe.blockSize;q.call(this,J,K,ee),oe.encryptBlock(J,K),this._prevBlock=J.slice(K,K+ee)}}),ue.Decryptor=ue.extend({processBlock:function(J,K){var oe=this._cipher,ee=oe.blockSize,Q=J.slice(K,K+ee);oe.decryptBlock(J,K),q.call(this,J,K,ee),this._prevBlock=Q}});function q(J,K,oe){var ee,Q=this._iv;Q?(ee=Q,this._iv=i):ee=this._prevBlock;for(var le=0;le<oe;le++)J[K+le]^=ee[le]}return ue}(),A=l.pad={},D=A.Pkcs7={pad:function(ue,q){for(var J=q*4,K=J-ue.sigBytes%J,oe=K<<24|K<<16|K<<8|K,ee=[],Q=0;Q<K;Q+=4)ee.push(oe);var le=o.create(ee,K);ue.concat(le)},unpad:function(ue){var q=ue.words[ue.sigBytes-1>>>2]&255;ue.sigBytes-=q}},M=c.BlockCipher=_.extend({cfg:_.cfg.extend({mode:R,padding:D}),reset:function(){var ue;_.reset.call(this);var q=this.cfg,J=q.iv,K=q.mode;this._xformMode==this._ENC_XFORM_MODE?ue=K.createEncryptor:(ue=K.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==ue?this._mode.init(this,J&&J.words):(this._mode=ue.call(K,this,J&&J.words),this._mode.__creator=ue)},_doProcessBlock:function(ue,q){this._mode.processBlock(ue,q)},_doFinalize:function(){var ue,q=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(q.pad(this._data,this.blockSize),ue=this._process(!0)):(ue=this._process(!0),q.unpad(ue)),ue},blockSize:128/32}),B=c.CipherParams=f.extend({init:function(ue){this.mixIn(ue)},toString:function(ue){return(ue||this.formatter).stringify(this)}}),j=l.format={},Y=j.OpenSSL={stringify:function(ue){var q,J=ue.ciphertext,K=ue.salt;return K?q=o.create([1398893684,1701076831]).concat(K).concat(J):q=J,q.toString(x)},parse:function(ue){var q,J=x.parse(ue),K=J.words;return K[0]==1398893684&&K[1]==1701076831&&(q=o.create(K.slice(2,4)),K.splice(0,4),J.sigBytes-=16),B.create({ciphertext:J,salt:q})}},V=c.SerializableCipher=f.extend({cfg:f.extend({format:Y}),encrypt:function(ue,q,J,K){K=this.cfg.extend(K);var oe=ue.createEncryptor(J,K),ee=oe.finalize(q),Q=oe.cfg;return B.create({ciphertext:ee,key:J,iv:Q.iv,algorithm:ue,mode:Q.mode,padding:Q.padding,blockSize:ue.blockSize,formatter:K.format})},decrypt:function(ue,q,J,K){K=this.cfg.extend(K),q=this._parse(q,K.format);var oe=ue.createDecryptor(J,K).finalize(q.ciphertext);return oe},_parse:function(ue,q){return typeof ue=="string"?q.parse(ue,this):ue}}),G=l.kdf={},ae=G.OpenSSL={execute:function(ue,q,J,K){K||(K=o.random(64/8));var oe=y.create({keySize:q+J}).compute(ue,K),ee=o.create(oe.words.slice(q),J*4);return oe.sigBytes=q*4,B.create({key:oe,iv:ee,salt:K})}},ie=c.PasswordBasedCipher=V.extend({cfg:V.cfg.extend({kdf:ae}),encrypt:function(ue,q,J,K){K=this.cfg.extend(K);var oe=K.kdf.execute(J,ue.keySize,ue.ivSize);K.iv=oe.iv;var ee=V.encrypt.call(this,ue,q,oe.key,K);return ee.mixIn(oe),ee},decrypt:function(ue,q,J,K){K=this.cfg.extend(K),q=this._parse(q,K.format);var oe=K.kdf.execute(J,ue.keySize,ue.ivSize,q.salt);K.iv=oe.iv;var ee=V.decrypt.call(this,ue,q,oe.key,K);return ee}})}()})},52952:function(d,v,e){(function(r,i){d.exports=v=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(A){}var f=function(){if(c){if(typeof c.getRandomValues=="function")try{return c.getRandomValues(new Uint32Array(1))[0]}catch(A){}if(typeof c.randomBytes=="function")try{return c.randomBytes(4).readInt32LE()}catch(A){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function A(){}return function(D){var M;return A.prototype=D,M=new A,A.prototype=null,M}}(),h={},u=h.lib={},a=u.Base=function(){return{extend:function(A){var D=o(this);return A&&D.mixIn(A),(!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 A=this.extend();return A.init.apply(A,arguments),A},init:function(){},mixIn:function(A){for(var D in A)A.hasOwnProperty(D)&&(this[D]=A[D]);A.hasOwnProperty("toString")&&(this.toString=A.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=u.WordArray=a.extend({init:function(A,D){A=this.words=A||[],D!=l?this.sigBytes=D:this.sigBytes=A.length*4},toString:function(A){return(A||y).stringify(this)},concat:function(A){var D=this.words,M=A.words,B=this.sigBytes,j=A.sigBytes;if(this.clamp(),B%4)for(var Y=0;Y<j;Y++){var V=M[Y>>>2]>>>24-Y%4*8&255;D[B+Y>>>2]|=V<<24-(B+Y)%4*8}else for(var G=0;G<j;G+=4)D[B+G>>>2]=M[G>>>2];return this.sigBytes+=j,this},clamp:function(){var A=this.words,D=this.sigBytes;A[D>>>2]&=4294967295<<32-D%4*8,A.length=i.ceil(D/4)},clone:function(){var A=a.clone.call(this);return A.words=this.words.slice(0),A},random:function(A){for(var D=[],M=0;M<A;M+=4)D.push(f());return new x.init(D,A)}}),p=h.enc={},y=p.Hex={stringify:function(A){for(var D=A.words,M=A.sigBytes,B=[],j=0;j<M;j++){var Y=D[j>>>2]>>>24-j%4*8&255;B.push((Y>>>4).toString(16)),B.push((Y&15).toString(16))}return B.join("")},parse:function(A){for(var D=A.length,M=[],B=0;B<D;B+=2)M[B>>>3]|=parseInt(A.substr(B,2),16)<<24-B%8*4;return new x.init(M,D/2)}},_=p.Latin1={stringify:function(A){for(var D=A.words,M=A.sigBytes,B=[],j=0;j<M;j++){var Y=D[j>>>2]>>>24-j%4*8&255;B.push(String.fromCharCode(Y))}return B.join("")},parse:function(A){for(var D=A.length,M=[],B=0;B<D;B++)M[B>>>2]|=(A.charCodeAt(B)&255)<<24-B%4*8;return new x.init(M,D)}},b=p.Utf8={stringify:function(A){try{return decodeURIComponent(escape(_.stringify(A)))}catch(D){throw new Error("Malformed UTF-8 data")}},parse:function(A){return _.parse(unescape(encodeURIComponent(A)))}},S=u.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(A){typeof A=="string"&&(A=b.parse(A)),this._data.concat(A),this._nDataBytes+=A.sigBytes},_process:function(A){var D,M=this._data,B=M.words,j=M.sigBytes,Y=this.blockSize,V=Y*4,G=j/V;A?G=i.ceil(G):G=i.max((G|0)-this._minBufferSize,0);var ae=G*Y,ie=i.min(ae*4,j);if(ae){for(var ue=0;ue<ae;ue+=Y)this._doProcessBlock(B,ue);D=B.splice(0,ae),M.sigBytes-=ie}return new x.init(D,ie)},clone:function(){var A=a.clone.call(this);return A._data=this._data.clone(),A},_minBufferSize:0}),k=u.Hasher=S.extend({cfg:a.extend(),init:function(A){this.cfg=this.cfg.extend(A),this.reset()},reset:function(){S.reset.call(this),this._doReset()},update:function(A){return this._append(A),this._process(),this},finalize:function(A){A&&this._append(A);var D=this._doFinalize();return D},blockSize:512/32,_createHelper:function(A){return function(D,M){return new A.init(M).finalize(D)}},_createHmacHelper:function(A){return function(D,M){return new R.HMAC.init(A,M).finalize(D)}}}),R=h.algo={};return h}(Math);return r})},35909:function(d,v,e){(function(r,i){d.exports=v=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,S=a[_+1>>>2]>>>24-(_+1)%4*8&255,k=a[_+2>>>2]>>>24-(_+2)%4*8&255,R=b<<16|S<<8|k,A=0;A<4&&_+A*.75<x;A++)y.push(p.charAt(R>>>6*(3-A)&63));var D=p.charAt(64);if(D)for(;y.length%4;)y.push(D);return y.join("")},parse:function(u){var a=u.length,x=this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var y=0;y<x.length;y++)p[x.charCodeAt(y)]=y}var _=x.charAt(64);if(_){var b=u.indexOf(_);b!==-1&&(a=b)}return h(u,a,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function h(u,a,x){for(var p=[],y=0,_=0;_<a;_++)if(_%4){var b=x[u.charCodeAt(_-1)]<<_%4*2,S=x[u.charCodeAt(_)]>>>6-_%4*2,k=b|S;p[y>>>2]|=k<<24-y%4*8,y++}return c.create(p,y)}}(),r.enc.Base64})},52695:function(d,v,e){(function(r,i){d.exports=v=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 S=x[b>>>2]>>>24-b%4*8&255,k=x[b+1>>>2]>>>24-(b+1)%4*8&255,R=x[b+2>>>2]>>>24-(b+2)%4*8&255,A=S<<16|k<<8|R,D=0;D<4&&b+D*.75<p;D++)_.push(y.charAt(A>>>6*(3-D)&63));var M=y.charAt(64);if(M)for(;_.length%4;)_.push(M);return _.join("")},parse:function(u,a=!0){var x=u.length,p=a?this._safe_map:this._map,y=this._reverseMap;if(!y){y=this._reverseMap=[];for(var _=0;_<p.length;_++)y[p.charCodeAt(_)]=_}var b=p.charAt(64);if(b){var S=u.indexOf(b);S!==-1&&(x=S)}return h(u,x,y)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function h(u,a,x){for(var p=[],y=0,_=0;_<a;_++)if(_%4){var b=x[u.charCodeAt(_-1)]<<_%4*2,S=x[u.charCodeAt(_)]>>>6-_%4*2,k=b|S;p[y>>>2]|=k<<24-y%4*8,y++}return c.create(p,y)}}(),r.enc.Base64url})},73323:function(d,v,e){(function(r,i){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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(),S=b.words,k=y.keySize,R=y.iterations;S.length<k;){p&&_.update(p),p=_.update(a).finalize(x),_.reset();for(var A=1;A<R;A++)p=_.finalize(p),_.reset();b.concat(p)}return b.sigBytes=k*4,b}});i.EvpKDF=function(a,x,p){return u.create(p).compute(a,x)}}(),r.EvpKDF})},24408:function(d,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i){d.exports=v=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(),S=_.words,k=b.words,R=0;R<p;R++)S[R]^=1549556828,k[R]^=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i){d.exports=v=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,v,e){(function(r,i){d.exports=v=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,S){for(var k=0;k<16;k++){var R=S+k,A=b[R];b[R]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}var D=this._hash.words,M=b[S+0],B=b[S+1],j=b[S+2],Y=b[S+3],V=b[S+4],G=b[S+5],ae=b[S+6],ie=b[S+7],ue=b[S+8],q=b[S+9],J=b[S+10],K=b[S+11],oe=b[S+12],ee=b[S+13],Q=b[S+14],le=b[S+15],Z=D[0],$=D[1],se=D[2],_e=D[3];Z=x(Z,$,se,_e,M,7,u[0]),_e=x(_e,Z,$,se,B,12,u[1]),se=x(se,_e,Z,$,j,17,u[2]),$=x($,se,_e,Z,Y,22,u[3]),Z=x(Z,$,se,_e,V,7,u[4]),_e=x(_e,Z,$,se,G,12,u[5]),se=x(se,_e,Z,$,ae,17,u[6]),$=x($,se,_e,Z,ie,22,u[7]),Z=x(Z,$,se,_e,ue,7,u[8]),_e=x(_e,Z,$,se,q,12,u[9]),se=x(se,_e,Z,$,J,17,u[10]),$=x($,se,_e,Z,K,22,u[11]),Z=x(Z,$,se,_e,oe,7,u[12]),_e=x(_e,Z,$,se,ee,12,u[13]),se=x(se,_e,Z,$,Q,17,u[14]),$=x($,se,_e,Z,le,22,u[15]),Z=p(Z,$,se,_e,B,5,u[16]),_e=p(_e,Z,$,se,ae,9,u[17]),se=p(se,_e,Z,$,K,14,u[18]),$=p($,se,_e,Z,M,20,u[19]),Z=p(Z,$,se,_e,G,5,u[20]),_e=p(_e,Z,$,se,J,9,u[21]),se=p(se,_e,Z,$,le,14,u[22]),$=p($,se,_e,Z,V,20,u[23]),Z=p(Z,$,se,_e,q,5,u[24]),_e=p(_e,Z,$,se,Q,9,u[25]),se=p(se,_e,Z,$,Y,14,u[26]),$=p($,se,_e,Z,ue,20,u[27]),Z=p(Z,$,se,_e,ee,5,u[28]),_e=p(_e,Z,$,se,j,9,u[29]),se=p(se,_e,Z,$,ie,14,u[30]),$=p($,se,_e,Z,oe,20,u[31]),Z=y(Z,$,se,_e,G,4,u[32]),_e=y(_e,Z,$,se,ue,11,u[33]),se=y(se,_e,Z,$,K,16,u[34]),$=y($,se,_e,Z,Q,23,u[35]),Z=y(Z,$,se,_e,B,4,u[36]),_e=y(_e,Z,$,se,V,11,u[37]),se=y(se,_e,Z,$,ie,16,u[38]),$=y($,se,_e,Z,J,23,u[39]),Z=y(Z,$,se,_e,ee,4,u[40]),_e=y(_e,Z,$,se,M,11,u[41]),se=y(se,_e,Z,$,Y,16,u[42]),$=y($,se,_e,Z,ae,23,u[43]),Z=y(Z,$,se,_e,q,4,u[44]),_e=y(_e,Z,$,se,oe,11,u[45]),se=y(se,_e,Z,$,le,16,u[46]),$=y($,se,_e,Z,j,23,u[47]),Z=_(Z,$,se,_e,M,6,u[48]),_e=_(_e,Z,$,se,ie,10,u[49]),se=_(se,_e,Z,$,Q,15,u[50]),$=_($,se,_e,Z,G,21,u[51]),Z=_(Z,$,se,_e,oe,6,u[52]),_e=_(_e,Z,$,se,Y,10,u[53]),se=_(se,_e,Z,$,J,15,u[54]),$=_($,se,_e,Z,B,21,u[55]),Z=_(Z,$,se,_e,ue,6,u[56]),_e=_(_e,Z,$,se,le,10,u[57]),se=_(se,_e,Z,$,ae,15,u[58]),$=_($,se,_e,Z,ee,21,u[59]),Z=_(Z,$,se,_e,V,6,u[60]),_e=_(_e,Z,$,se,K,10,u[61]),se=_(se,_e,Z,$,j,15,u[62]),$=_($,se,_e,Z,q,21,u[63]),D[0]=D[0]+Z|0,D[1]=D[1]+$|0,D[2]=D[2]+se|0,D[3]=D[3]+_e|0},_doFinalize:function(){var b=this._data,S=b.words,k=this._nDataBytes*8,R=b.sigBytes*8;S[R>>>5]|=128<<24-R%32;var A=i.floor(k/4294967296),D=k;S[(R+64>>>9<<4)+15]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,S[(R+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,b.sigBytes=(S.length+1)*4,this._process();for(var M=this._hash,B=M.words,j=0;j<4;j++){var Y=B[j];B[j]=(Y<<8|Y>>>24)&16711935|(Y<<24|Y>>>8)&4278255360}return M},clone:function(){var b=o.clone.call(this);return b._hash=this._hash.clone(),b}});function x(b,S,k,R,A,D,M){var B=b+(S&k|~S&R)+A+M;return(B<<D|B>>>32-D)+S}function p(b,S,k,R,A,D,M){var B=b+(S&R|k&~R)+A+M;return(B<<D|B>>>32-D)+S}function y(b,S,k,R,A,D,M){var B=b+(S^k^R)+A+M;return(B<<D|B>>>32-D)+S}function _(b,S,k,R,A,D,M){var B=b+(k^(S|~R))+A+M;return(B<<D|B>>>32-D)+S}l.MD5=o._createHelper(a),l.HmacMD5=o._createHmacHelper(a)}(Math),r.MD5})},2882:function(d,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})},10265:function(d,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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(),S=f.create([1]),k=b.words,R=S.words,A=y.keySize,D=y.iterations;k.length<A;){var M=_.update(p).finalize(S);_.reset();for(var B=M.words,j=B.length,Y=M,V=1;V<D;V++){Y=_.finalize(Y),_.reset();for(var G=Y.words,ae=0;ae<j;ae++)B[ae]^=G[ae]}b.concat(M),R[0]++}return b.sigBytes=A*4,b}});i.PBKDF2=function(x,p,y){return a.create(y).compute(x,p)}}(),r.PBKDF2})},35308:function(d,v,e){(function(r,i,l){d.exports=v=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 S=0;S<4;S++)x.call(this);for(var S=0;S<8;S++)b[S]^=_[S+4&7];if(y){var k=y.words,R=k[0],A=k[1],D=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,B=D>>>16|M&4294901760,j=M<<16|D&65535;b[0]^=D,b[1]^=B,b[2]^=M,b[3]^=j,b[4]^=D,b[5]^=B,b[6]^=M,b[7]^=j;for(var S=0;S<4;S++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),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[_],S=b&65535,k=b>>>16,R=((S*S>>>17)+S*k>>>15)+k*k,A=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=R^A}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,v,e){(function(r,i,l){d.exports=v=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],S=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var _=0;_<4;_++)x.call(this);for(var _=0;_<8;_++)S[_]^=b[_+4&7];if(y){var k=y.words,R=k[0],A=k[1],D=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,B=D>>>16|M&4294901760,j=M<<16|D&65535;S[0]^=D,S[1]^=B,S[2]^=M,S[3]^=j,S[4]^=D,S[5]^=B,S[6]^=M,S[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[_],S=b&65535,k=b>>>16,R=((S*S>>>17)+S*k>>>15)+k*k,A=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=R^A}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,v,e){(function(r,i,l){d.exports=v=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 S=_%p,k=x[S>>>2]>>>24-S%4*8&255;b=(b+y[_]+k)%256;var R=y[_];y[_]=y[b],y[b]=R}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,v,e){(function(r,i){d.exports=v=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(B,j){for(var Y=0;Y<16;Y++){var V=j+Y,G=B[V];B[V]=(G<<8|G>>>24)&16711935|(G<<24|G>>>8)&4278255360}var ae=this._hash.words,ie=y.words,ue=_.words,q=u.words,J=a.words,K=x.words,oe=p.words,ee,Q,le,Z,$,se,_e,De,ke,Ze;se=ee=ae[0],_e=Q=ae[1],De=le=ae[2],ke=Z=ae[3],Ze=$=ae[4];for(var Ne,Y=0;Y<80;Y+=1)Ne=ee+B[j+q[Y]]|0,Y<16?Ne+=S(Q,le,Z)+ie[0]:Y<32?Ne+=k(Q,le,Z)+ie[1]:Y<48?Ne+=R(Q,le,Z)+ie[2]:Y<64?Ne+=A(Q,le,Z)+ie[3]:Ne+=D(Q,le,Z)+ie[4],Ne=Ne|0,Ne=M(Ne,K[Y]),Ne=Ne+$|0,ee=$,$=Z,Z=M(le,10),le=Q,Q=Ne,Ne=se+B[j+J[Y]]|0,Y<16?Ne+=D(_e,De,ke)+ue[0]:Y<32?Ne+=A(_e,De,ke)+ue[1]:Y<48?Ne+=R(_e,De,ke)+ue[2]:Y<64?Ne+=k(_e,De,ke)+ue[3]:Ne+=S(_e,De,ke)+ue[4],Ne=Ne|0,Ne=M(Ne,oe[Y]),Ne=Ne+Ze|0,se=Ze,Ze=ke,ke=M(De,10),De=_e,_e=Ne;Ne=ae[1]+le+ke|0,ae[1]=ae[2]+Z+Ze|0,ae[2]=ae[3]+$+se|0,ae[3]=ae[4]+ee+_e|0,ae[4]=ae[0]+Q+De|0,ae[0]=Ne},_doFinalize:function(){var B=this._data,j=B.words,Y=this._nDataBytes*8,V=B.sigBytes*8;j[V>>>5]|=128<<24-V%32,j[(V+64>>>9<<4)+14]=(Y<<8|Y>>>24)&16711935|(Y<<24|Y>>>8)&4278255360,B.sigBytes=(j.length+1)*4,this._process();for(var G=this._hash,ae=G.words,ie=0;ie<5;ie++){var ue=ae[ie];ae[ie]=(ue<<8|ue>>>24)&16711935|(ue<<24|ue>>>8)&4278255360}return G},clone:function(){var B=o.clone.call(this);return B._hash=this._hash.clone(),B}});function S(B,j,Y){return B^j^Y}function k(B,j,Y){return B&j|~B&Y}function R(B,j,Y){return(B|~j)^Y}function A(B,j,Y){return B&Y|j&~Y}function D(B,j,Y){return B^(j|~Y)}function M(B,j){return B<<j|B>>>32-j}l.RIPEMD160=o._createHelper(b),l.HmacRIPEMD160=o._createHmacHelper(b)}(Math),r.RIPEMD160})},49479:function(d,v,e){(function(r,i){d.exports=v=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],S=p[3],k=p[4],R=0;R<80;R++){if(R<16)h[R]=a[x+R]|0;else{var A=h[R-3]^h[R-8]^h[R-14]^h[R-16];h[R]=A<<1|A>>>31}var D=(y<<5|y>>>27)+k+h[R];R<20?D+=(_&b|~_&S)+1518500249:R<40?D+=(_^b^S)+1859775393:R<60?D+=(_&b|_&S|b&S)-1894007588:D+=(_^b^S)-899497514,k=S,S=b,b=_<<30|_>>>2,_=y,y=D}p[0]=p[0]+y|0,p[1]=p[1]+_|0,p[2]=p[2]+b|0,p[3]=p[3]+S|0,p[4]=p[4]+k|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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i){d.exports=v=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(k){for(var R=i.sqrt(k),A=2;A<=R;A++)if(!(k%A))return!1;return!0}function _(k){return(k-(k|0))*4294967296|0}for(var b=2,S=0;S<64;)y(b)&&(S<8&&(u[S]=_(i.pow(b,.5))),a[S]=_(i.pow(b,.3333333333333333)),S++),b++})();var x=[],p=h.SHA256=o.extend({_doReset:function(){this._hash=new f.init(u.slice(0))},_doProcessBlock:function(y,_){for(var b=this._hash.words,S=b[0],k=b[1],R=b[2],A=b[3],D=b[4],M=b[5],B=b[6],j=b[7],Y=0;Y<64;Y++){if(Y<16)x[Y]=y[_+Y]|0;else{var V=x[Y-15],G=(V<<25|V>>>7)^(V<<14|V>>>18)^V>>>3,ae=x[Y-2],ie=(ae<<15|ae>>>17)^(ae<<13|ae>>>19)^ae>>>10;x[Y]=G+x[Y-7]+ie+x[Y-16]}var ue=D&M^~D&B,q=S&k^S&R^k&R,J=(S<<30|S>>>2)^(S<<19|S>>>13)^(S<<10|S>>>22),K=(D<<26|D>>>6)^(D<<21|D>>>11)^(D<<7|D>>>25),oe=j+K+ue+a[Y]+x[Y],ee=J+q;j=B,B=M,M=D,D=A+oe|0,A=R,R=k,k=S,S=oe+ee|0}b[0]=b[0]+S|0,b[1]=b[1]+k|0,b[2]=b[2]+R|0,b[3]=b[3]+A|0,b[4]=b[4]+D|0,b[5]=b[5]+M|0,b[6]=b[6]+B|0,b[7]=b[7]+j|0},_doFinalize:function(){var y=this._data,_=y.words,b=this._nDataBytes*8,S=y.sigBytes*8;return _[S>>>5]|=128<<24-S%32,_[(S+64>>>9<<4)+14]=i.floor(b/4294967296),_[(S+64>>>9<<4)+15]=b,y.sigBytes=_.length*4,this._process(),this._hash},clone:function(){var y=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,v,e){(function(r,i,l){d.exports=v=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 S=1,k=0,R=0;R<24;R++){x[S+5*k]=(R+1)*(R+2)/2%64;var A=k%5,D=(2*S+3*k)%5;S=A,k=D}for(var S=0;S<5;S++)for(var k=0;k<5;k++)p[S+5*k]=k+(2*S+3*k)%5*5;for(var M=1,B=0;B<24;B++){for(var j=0,Y=0,V=0;V<7;V++){if(M&1){var G=(1<<V)-1;G<32?Y^=1<<G:j^=1<<G-32}M&128?M=M<<1^113:M<<=1}y[B]=u.create(j,Y)}})();var _=[];(function(){for(var S=0;S<25;S++)_[S]=u.create()})();var b=a.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var S=this._state=[],k=0;k<25;k++)S[k]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(S,k){for(var R=this._state,A=this.blockSize/2,D=0;D<A;D++){var M=S[k+2*D],B=S[k+2*D+1];M=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360;var j=R[D];j.high^=B,j.low^=M}for(var Y=0;Y<24;Y++){for(var V=0;V<5;V++){for(var G=0,ae=0,ie=0;ie<5;ie++){var j=R[V+5*ie];G^=j.high,ae^=j.low}var ue=_[V];ue.high=G,ue.low=ae}for(var V=0;V<5;V++)for(var q=_[(V+4)%5],J=_[(V+1)%5],K=J.high,oe=J.low,G=q.high^(K<<1|oe>>>31),ae=q.low^(oe<<1|K>>>31),ie=0;ie<5;ie++){var j=R[V+5*ie];j.high^=G,j.low^=ae}for(var ee=1;ee<25;ee++){var G,ae,j=R[ee],Q=j.high,le=j.low,Z=x[ee];Z<32?(G=Q<<Z|le>>>32-Z,ae=le<<Z|Q>>>32-Z):(G=le<<Z-32|Q>>>64-Z,ae=Q<<Z-32|le>>>64-Z);var $=_[p[ee]];$.high=G,$.low=ae}var se=_[0],_e=R[0];se.high=_e.high,se.low=_e.low;for(var V=0;V<5;V++)for(var ie=0;ie<5;ie++){var ee=V+5*ie,j=R[ee],De=_[ee],ke=_[(V+1)%5+5*ie],Ze=_[(V+2)%5+5*ie];j.high=De.high^~ke.high&Ze.high,j.low=De.low^~ke.low&Ze.low}var j=R[0],Ne=y[Y];j.high^=Ne.high,j.low^=Ne.low}},_doFinalize:function(){var S=this._data,k=S.words,R=this._nDataBytes*8,A=S.sigBytes*8,D=this.blockSize*32;k[A>>>5]|=1<<24-A%32,k[(i.ceil((A+1)/D)*D>>>5)-1]|=128,S.sigBytes=k.length*4,this._process();for(var M=this._state,B=this.cfg.outputLength/8,j=B/8,Y=[],V=0;V<j;V++){var G=M[V],ae=G.high,ie=G.low;ae=(ae<<8|ae>>>24)&16711935|(ae<<24|ae>>>8)&4278255360,ie=(ie<<8|ie>>>24)&16711935|(ie<<24|ie>>>8)&4278255360,Y.push(ie),Y.push(ae)}return new f.init(Y,B)},clone:function(){for(var S=o.clone.call(this),k=S._state=this._state.slice(0),R=0;R<25;R++)k[R]=k[R].clone();return S}});l.SHA3=o._createHelper(b),l.HmacSHA3=o._createHmacHelper(b)}(Math),r.SHA3})},82307:function(d,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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 S=this._hash.words,k=S[0],R=S[1],A=S[2],D=S[3],M=S[4],B=S[5],j=S[6],Y=S[7],V=k.high,G=k.low,ae=R.high,ie=R.low,ue=A.high,q=A.low,J=D.high,K=D.low,oe=M.high,ee=M.low,Q=B.high,le=B.low,Z=j.high,$=j.low,se=Y.high,_e=Y.low,De=V,ke=G,Ze=ae,Ne=ie,Bt=ue,yt=q,Dt=J,Jt=K,er=oe,tr=ee,Xe=Q,Pt=le,Zt=Z,ot=$,xt=se,ht=_e,et=0;et<80;et++){var je,ge,Se=p[et];if(et<16)ge=Se.high=_[b+et*2]|0,je=Se.low=_[b+et*2+1]|0;else{var Me=p[et-15],$e=Me.high,He=Me.low,nt=($e>>>1|He<<31)^($e>>>8|He<<24)^$e>>>7,ct=(He>>>1|$e<<31)^(He>>>8|$e<<24)^(He>>>7|$e<<25),Vt=p[et-2],Ht=Vt.high,Pe=Vt.low,qe=(Ht>>>19|Pe<<13)^(Ht<<3|Pe>>>29)^Ht>>>6,Yt=(Pe>>>19|Ht<<13)^(Pe<<3|Ht>>>29)^(Pe>>>6|Ht<<26),Rt=p[et-7],Wt=Rt.high,$t=Rt.low,At=p[et-16],Xt=At.high,We=At.low;je=ct+$t,ge=nt+Wt+(je>>>0<ct>>>0?1:0),je=je+Yt,ge=ge+qe+(je>>>0<Yt>>>0?1:0),je=je+We,ge=ge+Xt+(je>>>0<We>>>0?1:0),Se.high=ge,Se.low=je}var fe=er&Xe^~er&Zt,pe=tr&Pt^~tr&ot,Ot=De&Ze^De&Bt^Ze&Bt,Te=ke&Ne^ke&yt^Ne&yt,dt=(De>>>28|ke<<4)^(De<<30|ke>>>2)^(De<<25|ke>>>7),Gt=(ke>>>28|De<<4)^(ke<<30|De>>>2)^(ke<<25|De>>>7),St=(er>>>14|tr<<18)^(er>>>18|tr<<14)^(er<<23|tr>>>9),Oe=(tr>>>14|er<<18)^(tr>>>18|er<<14)^(tr<<23|er>>>9),wt=x[et],be=wt.high,Ke=wt.low,gt=ht+Oe,Ft=xt+St+(gt>>>0<ht>>>0?1:0),gt=gt+pe,Ft=Ft+fe+(gt>>>0<pe>>>0?1:0),gt=gt+Ke,Ft=Ft+be+(gt>>>0<Ke>>>0?1:0),gt=gt+je,Ft=Ft+ge+(gt>>>0<je>>>0?1:0),Fe=Gt+Te,Dr=dt+Ot+(Fe>>>0<Gt>>>0?1:0);xt=Zt,ht=ot,Zt=Xe,ot=Pt,Xe=er,Pt=tr,tr=Jt+gt|0,er=Dt+Ft+(tr>>>0<Jt>>>0?1:0)|0,Dt=Bt,Jt=yt,Bt=Ze,yt=Ne,Ze=De,Ne=ke,ke=gt+Fe|0,De=Ft+Dr+(ke>>>0<gt>>>0?1:0)|0}G=k.low=G+ke,k.high=V+De+(G>>>0<ke>>>0?1:0),ie=R.low=ie+Ne,R.high=ae+Ze+(ie>>>0<Ne>>>0?1:0),q=A.low=q+yt,A.high=ue+Bt+(q>>>0<yt>>>0?1:0),K=D.low=K+Jt,D.high=J+Dt+(K>>>0<Jt>>>0?1:0),ee=M.low=ee+tr,M.high=oe+er+(ee>>>0<tr>>>0?1:0),le=B.low=le+Pt,B.high=Q+Xe+(le>>>0<Pt>>>0?1:0),$=j.low=$+ot,j.high=Z+Zt+($>>>0<ot>>>0?1:0),_e=Y.low=_e+ht,Y.high=se+xt+(_e>>>0<ht>>>0?1:0)},_doFinalize:function(){var _=this._data,b=_.words,S=this._nDataBytes*8,k=_.sigBytes*8;b[k>>>5]|=128<<24-k%32,b[(k+128>>>10<<5)+30]=Math.floor(S/4294967296),b[(k+128>>>10<<5)+31]=S,_.sigBytes=b.length*4,this._process();var R=this._hash.toX32();return R},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,v,e){(function(r,i,l){d.exports=v=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 k=this._key,R=k.words,A=[],D=0;D<56;D++){var M=h[D]-1;A[D]=R[M>>>5]>>>31-M%32&1}for(var B=this._subKeys=[],j=0;j<16;j++){for(var Y=B[j]=[],V=a[j],D=0;D<24;D++)Y[D/6|0]|=A[(u[D]-1+V)%28]<<31-D%6,Y[4+(D/6|0)]|=A[28+(u[D+24]-1+V)%28]<<31-D%6;Y[0]=Y[0]<<1|Y[0]>>>31;for(var D=1;D<7;D++)Y[D]=Y[D]>>>(D-1)*4+3;Y[7]=Y[7]<<5|Y[7]>>>27}for(var G=this._invSubKeys=[],D=0;D<16;D++)G[D]=B[15-D]},encryptBlock:function(k,R){this._doCryptBlock(k,R,this._subKeys)},decryptBlock:function(k,R){this._doCryptBlock(k,R,this._invSubKeys)},_doCryptBlock:function(k,R,A){this._lBlock=k[R],this._rBlock=k[R+1],_.call(this,4,252645135),_.call(this,16,65535),b.call(this,2,858993459),b.call(this,8,16711935),_.call(this,1,1431655765);for(var D=0;D<16;D++){for(var M=A[D],B=this._lBlock,j=this._rBlock,Y=0,V=0;V<8;V++)Y|=x[V][((j^M[V])&p[V])>>>0];this._lBlock=j,this._rBlock=B^Y}var G=this._lBlock;this._lBlock=this._rBlock,this._rBlock=G,_.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),_.call(this,16,65535),_.call(this,4,252645135),k[R]=this._lBlock,k[R+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function _(k,R){var A=(this._lBlock>>>k^this._rBlock)&R;this._rBlock^=A,this._lBlock^=A<<k}function b(k,R){var A=(this._rBlock>>>k^this._lBlock)&R;this._lBlock^=A,this._rBlock^=A<<k}i.DES=f._createHelper(y);var S=o.TripleDES=f.extend({_doReset:function(){var k=this._key,R=k.words;if(R.length!==2&&R.length!==4&&R.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var A=R.slice(0,2),D=R.length<4?R.slice(0,2):R.slice(2,4),M=R.length<6?R.slice(0,2):R.slice(4,6);this._des1=y.createEncryptor(c.create(A)),this._des2=y.createEncryptor(c.create(D)),this._des3=y.createEncryptor(c.create(M))},encryptBlock:function(k,R){this._des1.encryptBlock(k,R),this._des2.decryptBlock(k,R),this._des3.encryptBlock(k,R)},decryptBlock:function(k,R){this._des3.decryptBlock(k,R),this._des2.encryptBlock(k,R),this._des1.decryptBlock(k,R)},keySize:192/32,ivSize:64/32,blockSize:64/32});i.TripleDES=f._createHelper(S)}(),r.TripleDES})},41988:function(d,v,e){(function(r,i){d.exports=v=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,v,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(v,e){d.exports=e()})(this,function(){"use strict";var v=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,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(ie){var ue=["th","st","nd","rd"],q=ie%100;return"["+ie+(ue[(q-20)%10]||ue[q]||ue[0])+"]"}},k=function(ie,ue,q){var J=String(ie);return!J||J.length>=ue?ie:""+Array(ue+1-J.length).join(q)+ie},R={s:k,z:function(ie){var ue=-ie.utcOffset(),q=Math.abs(ue),J=Math.floor(q/60),K=q%60;return(ue<=0?"+":"-")+k(J,2,"0")+":"+k(K,2,"0")},m:function ie(ue,q){if(ue.date()<q.date())return-ie(q,ue);var J=12*(q.year()-ue.year())+(q.month()-ue.month()),K=ue.clone().add(J,u),oe=q-K<0,ee=ue.clone().add(J+(oe?-1:1),u);return+(-(J+(q-K)/(oe?K-ee:ee-K))||0)},a:function(ie){return ie<0?Math.ceil(ie)||0:Math.floor(ie)},p:function(ie){return{M:u,y:x,w:h,d:o,D:p,h:f,m:c,s:l,ms:i,Q:a}[ie]||String(ie||"").toLowerCase().replace(/s$/,"")},u:function(ie){return ie===void 0}},A="en",D={};D[A]=S;var M="$isDayjsObject",B=function(ie){return ie instanceof G||!(!ie||!ie[M])},j=function ie(ue,q,J){var K;if(!ue)return A;if(typeof ue=="string"){var oe=ue.toLowerCase();D[oe]&&(K=oe),q&&(D[oe]=q,K=oe);var ee=ue.split("-");if(!K&&ee.length>1)return ie(ee[0])}else{var Q=ue.name;D[Q]=ue,K=Q}return!J&&K&&(A=K),K||!J&&A},Y=function(ie,ue){if(B(ie))return ie.clone();var q=typeof ue=="object"?ue:{};return q.date=ie,q.args=arguments,new G(q)},V=R;V.l=j,V.i=B,V.w=function(ie,ue){return Y(ie,{locale:ue.$L,utc:ue.$u,x:ue.$x,$offset:ue.$offset})};var G=function(){function ie(q){this.$L=j(q.locale,null,!0),this.parse(q),this.$x=this.$x||q.x||{},this[M]=!0}var ue=ie.prototype;return ue.parse=function(q){this.$d=function(J){var K=J.date,oe=J.utc;if(K===null)return new Date(NaN);if(V.u(K))return new Date;if(K instanceof Date)return new Date(K);if(typeof K=="string"&&!/Z$/i.test(K)){var ee=K.match(_);if(ee){var Q=ee[2]-1||0,le=(ee[7]||"0").substring(0,3);return oe?new Date(Date.UTC(ee[1],Q,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,le)):new Date(ee[1],Q,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,le)}}return new Date(K)}(q),this.init()},ue.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()},ue.$utils=function(){return V},ue.isValid=function(){return this.$d.toString()!==y},ue.isSame=function(q,J){var K=Y(q);return this.startOf(J)<=K&&K<=this.endOf(J)},ue.isAfter=function(q,J){return Y(q)<this.startOf(J)},ue.isBefore=function(q,J){return this.endOf(J)<Y(q)},ue.$g=function(q,J,K){return V.u(q)?this[J]:this.set(K,q)},ue.unix=function(){return Math.floor(this.valueOf()/1e3)},ue.valueOf=function(){return this.$d.getTime()},ue.startOf=function(q,J){var K=this,oe=!!V.u(J)||J,ee=V.p(q),Q=function(Ze,Ne){var Bt=V.w(K.$u?Date.UTC(K.$y,Ne,Ze):new Date(K.$y,Ne,Ze),K);return oe?Bt:Bt.endOf(o)},le=function(Ze,Ne){return V.w(K.toDate()[Ze].apply(K.toDate("s"),(oe?[0,0,0,0]:[23,59,59,999]).slice(Ne)),K)},Z=this.$W,$=this.$M,se=this.$D,_e="set"+(this.$u?"UTC":"");switch(ee){case x:return oe?Q(1,0):Q(31,11);case u:return oe?Q(1,$):Q(0,$+1);case h:var De=this.$locale().weekStart||0,ke=(Z<De?Z+7:Z)-De;return Q(oe?se-ke:se+(6-ke),$);case o:case p:return le(_e+"Hours",0);case f:return le(_e+"Minutes",1);case c:return le(_e+"Seconds",2);case l:return le(_e+"Milliseconds",3);default:return this.clone()}},ue.endOf=function(q){return this.startOf(q,!1)},ue.$set=function(q,J){var K,oe=V.p(q),ee="set"+(this.$u?"UTC":""),Q=(K={},K[o]=ee+"Date",K[p]=ee+"Date",K[u]=ee+"Month",K[x]=ee+"FullYear",K[f]=ee+"Hours",K[c]=ee+"Minutes",K[l]=ee+"Seconds",K[i]=ee+"Milliseconds",K)[oe],le=oe===o?this.$D+(J-this.$W):J;if(oe===u||oe===x){var Z=this.clone().set(p,1);Z.$d[Q](le),Z.init(),this.$d=Z.set(p,Math.min(this.$D,Z.daysInMonth())).$d}else Q&&this.$d[Q](le);return this.init(),this},ue.set=function(q,J){return this.clone().$set(q,J)},ue.get=function(q){return this[V.p(q)]()},ue.add=function(q,J){var K,oe=this;q=Number(q);var ee=V.p(J),Q=function($){var se=Y(oe);return V.w(se.date(se.date()+Math.round($*q)),oe)};if(ee===u)return this.set(u,this.$M+q);if(ee===x)return this.set(x,this.$y+q);if(ee===o)return Q(1);if(ee===h)return Q(7);var le=(K={},K[c]=e,K[f]=r,K[l]=v,K)[ee]||1,Z=this.$d.getTime()+q*le;return V.w(Z,this)},ue.subtract=function(q,J){return this.add(-1*q,J)},ue.format=function(q){var J=this,K=this.$locale();if(!this.isValid())return K.invalidDate||y;var oe=q||"YYYY-MM-DDTHH:mm:ssZ",ee=V.z(this),Q=this.$H,le=this.$m,Z=this.$M,$=K.weekdays,se=K.months,_e=K.meridiem,De=function(Ne,Bt,yt,Dt){return Ne&&(Ne[Bt]||Ne(J,oe))||yt[Bt].slice(0,Dt)},ke=function(Ne){return V.s(Q%12||12,Ne,"0")},Ze=_e||function(Ne,Bt,yt){var Dt=Ne<12?"AM":"PM";return yt?Dt.toLowerCase():Dt};return oe.replace(b,function(Ne,Bt){return Bt||function(yt){switch(yt){case"YY":return String(J.$y).slice(-2);case"YYYY":return V.s(J.$y,4,"0");case"M":return Z+1;case"MM":return V.s(Z+1,2,"0");case"MMM":return De(K.monthsShort,Z,se,3);case"MMMM":return De(se,Z);case"D":return J.$D;case"DD":return V.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return De(K.weekdaysMin,J.$W,$,2);case"ddd":return De(K.weekdaysShort,J.$W,$,3);case"dddd":return $[J.$W];case"H":return String(Q);case"HH":return V.s(Q,2,"0");case"h":return ke(1);case"hh":return ke(2);case"a":return Ze(Q,le,!0);case"A":return Ze(Q,le,!1);case"m":return String(le);case"mm":return V.s(le,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 ee}return null}(Ne)||ee.replace(":","")})},ue.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ue.diff=function(q,J,K){var oe,ee=this,Q=V.p(J),le=Y(q),Z=(le.utcOffset()-this.utcOffset())*e,$=this-le,se=function(){return V.m(ee,le)};switch(Q){case x:oe=se()/12;break;case u:oe=se();break;case a:oe=se()/3;break;case h:oe=($-Z)/6048e5;break;case o:oe=($-Z)/864e5;break;case f:oe=$/r;break;case c:oe=$/e;break;case l:oe=$/v;break;default:oe=$}return K?oe:V.a(oe)},ue.daysInMonth=function(){return this.endOf(u).$D},ue.$locale=function(){return D[this.$L]},ue.locale=function(q,J){if(!q)return this.$L;var K=this.clone(),oe=j(q,J,!0);return oe&&(K.$L=oe),K},ue.clone=function(){return V.w(this.$d,this)},ue.toDate=function(){return new Date(this.valueOf())},ue.toJSON=function(){return this.isValid()?this.toISOString():null},ue.toISOString=function(){return this.$d.toISOString()},ue.toString=function(){return this.$d.toUTCString()},ie}(),ae=G.prototype;return Y.prototype=ae,[["$ms",i],["$s",l],["$m",c],["$H",f],["$W",o],["$M",u],["$y",x],["$D",p]].forEach(function(ie){ae[ie[1]]=function(ue){return this.$g(ue,ie[0],ie[1])}}),Y.extend=function(ie,ue){return ie.$i||(ie(ue,G,Y),ie.$i=!0),Y},Y.locale=j,Y.isDayjs=B,Y.unix=function(ie){return Y(1e3*ie)},Y.en=D[A],Y.Ls=D,Y.p={},Y})},65517:function(d,v,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(v,e){d.exports=e()})(this,function(){"use strict";return function(v,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(v,e){d.exports=e()})(this,function(){"use strict";var v={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 S=b.match(/([+-]|\d\d)/g),k=60*S[1]+(+S[2]||0);return k===0?0:S[0]==="+"?-k:k}(_)}],a=function(_){var b=f[_];return b&&(b.indexOf?b:b.s.concat(b.f))},x=function(_,b){var S,k=f.meridiem;if(k){for(var R=1;R<=24;R+=1)if(_.indexOf(k(R,0,b))>-1){S=R>12;break}}else S=_===(b?"pm":"PM");return S},p={A:[c,function(_){this.afternoon=x(_,!1)}],a:[c,function(_){this.afternoon=x(_,!0)}],Q:[r,function(_){this.month=3*(_-1)+1}],S:[r,function(_){this.milliseconds=100*+_}],SS:[i,function(_){this.milliseconds=10*+_}],SSS:[/\d{3}/,function(_){this.milliseconds=+_}],s:[l,h("seconds")],ss:[l,h("seconds")],m:[l,h("minutes")],mm:[l,h("minutes")],H:[l,h("hours")],h:[l,h("hours")],HH:[l,h("hours")],hh:[l,h("hours")],D:[l,h("day")],DD:[i,h("day")],Do:[c,function(_){var b=f.ordinal,S=_.match(/\d+/);if(this.day=S[0],b)for(var k=1;k<=31;k+=1)b(k).replace(/\[|\]/g,"")===_&&(this.day=k)}],w:[l,h("week")],ww:[i,h("week")],M:[l,h("month")],MM:[i,h("month")],MMM:[c,function(_){var b=a("months"),S=(a("monthsShort")||b.map(function(k){return k.slice(0,3)})).indexOf(_)+1;if(S<1)throw new Error;this.month=S%12||S}],MMMM:[c,function(_){var b=a("months").indexOf(_)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,h("year")],YY:[i,function(_){this.year=o(_)}],YYYY:[/\d{4}/,h("year")],Z:u,ZZ:u};function y(_){var b,S;b=_,S=f&&f.formats;for(var k=(_=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Y,V,G){var ae=G&&G.toUpperCase();return V||S[G]||v[G]||S[ae].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ie,ue,q){return ue||q.slice(1)})})).match(e),R=k.length,A=0;A<R;A+=1){var D=k[A],M=p[D],B=M&&M[0],j=M&&M[1];k[A]=j?{regex:B,parser:j}:D.replace(/^\[|\]$/g,"")}return function(Y){for(var V={},G=0,ae=0;G<R;G+=1){var ie=k[G];if(typeof ie=="string")ae+=ie.length;else{var ue=ie.regex,q=ie.parser,J=Y.slice(ae),K=ue.exec(J)[0];q.call(V,K),Y=Y.replace(K,"")}}return function(oe){var ee=oe.afternoon;if(ee!==void 0){var Q=oe.hours;ee?Q<12&&(oe.hours+=12):Q===12&&(oe.hours=0),delete oe.afternoon}}(V),V}}return function(_,b,S){S.p.customParseFormat=!0,_&&_.parseTwoDigitYear&&(o=_.parseTwoDigitYear);var k=b.prototype,R=k.parse;k.parse=function(A){var D=A.date,M=A.utc,B=A.args;this.$u=M;var j=B[1];if(typeof j=="string"){var Y=B[2]===!0,V=B[3]===!0,G=Y||V,ae=B[2];V&&(ae=B[2]),f=this.$locale(),!Y&&ae&&(f=S.Ls[ae]),this.$d=function(J,K,oe,ee){try{if(["x","X"].indexOf(K)>-1)return new Date((K==="X"?1e3:1)*J);var Q=y(K)(J),le=Q.year,Z=Q.month,$=Q.day,se=Q.hours,_e=Q.minutes,De=Q.seconds,ke=Q.milliseconds,Ze=Q.zone,Ne=Q.week,Bt=new Date,yt=$||(le||Z?1:Bt.getDate()),Dt=le||Bt.getFullYear(),Jt=0;le&&!Z||(Jt=Z>0?Z-1:Bt.getMonth());var er,tr=se||0,Xe=_e||0,Pt=De||0,Zt=ke||0;return Ze?new Date(Date.UTC(Dt,Jt,yt,tr,Xe,Pt,Zt+60*Ze.offset*1e3)):oe?new Date(Date.UTC(Dt,Jt,yt,tr,Xe,Pt,Zt)):(er=new Date(Dt,Jt,yt,tr,Xe,Pt,Zt),Ne&&(er=ee(er).week(Ne).toDate()),er)}catch(ot){return new Date("")}}(D,j,M,S),this.init(),ae&&ae!==!0&&(this.$L=this.locale(ae).$L),G&&D!=this.format(j)&&(this.$d=new Date("")),f={}}else if(j instanceof Array)for(var ie=j.length,ue=1;ue<=ie;ue+=1){B[1]=j[ue-1];var q=S.apply(this,B);if(q.isValid()){this.$d=q.$d,this.$L=q.$L,this.init();break}ue===ie&&(this.$d=new Date(""))}else R.call(this,A)}}})},47477:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v,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 R},p=function(D,M,B){return new R(D,B,M.$l)},y=function(D){return e.p(D)+"s"},_=function(D){return D<0},b=function(D){return _(D)?Math.ceil(D):Math.floor(D)},S=function(D){return Math.abs(D)},k=function(D,M){return D?_(D)?{negative:!0,format:""+S(D)+M}:{negative:!1,format:""+D+M}:{negative:!1,format:""}},R=function(){function D(B,j,Y){var V=this;if(this.$d={},this.$l=Y,B===void 0&&(this.$ms=0,this.parseFromMilliseconds()),j)return p(B*a[y(j)],this);if(typeof B=="number")return this.$ms=B,this.parseFromMilliseconds(),this;if(typeof B=="object")return Object.keys(B).forEach(function(ie){V.$d[y(ie)]=B[ie]}),this.calMilliseconds(),this;if(typeof B=="string"){var G=B.match(u);if(G){var ae=G.slice(2).map(function(ie){return ie!=null?Number(ie):0});return this.$d.years=ae[0],this.$d.months=ae[1],this.$d.weeks=ae[2],this.$d.days=ae[3],this.$d.hours=ae[4],this.$d.minutes=ae[5],this.$d.seconds=ae[6],this.calMilliseconds(),this}}return this}var M=D.prototype;return M.calMilliseconds=function(){var B=this;this.$ms=Object.keys(this.$d).reduce(function(j,Y){return j+(B.$d[Y]||0)*a[Y]},0)},M.parseFromMilliseconds=function(){var B=this.$ms;this.$d.years=b(B/o),B%=o,this.$d.months=b(B/h),B%=h,this.$d.days=b(B/c),B%=c,this.$d.hours=b(B/l),B%=l,this.$d.minutes=b(B/i),B%=i,this.$d.seconds=b(B/r),B%=r,this.$d.milliseconds=B},M.toISOString=function(){var B=k(this.$d.years,"Y"),j=k(this.$d.months,"M"),Y=+this.$d.days||0;this.$d.weeks&&(Y+=7*this.$d.weeks);var V=k(Y,"D"),G=k(this.$d.hours,"H"),ae=k(this.$d.minutes,"M"),ie=this.$d.seconds||0;this.$d.milliseconds&&(ie+=this.$d.milliseconds/1e3,ie=Math.round(1e3*ie)/1e3);var ue=k(ie,"S"),q=B.negative||j.negative||V.negative||G.negative||ae.negative||ue.negative,J=G.format||ae.format||ue.format?"T":"",K=(q?"-":"")+"P"+B.format+j.format+V.format+J+G.format+ae.format+ue.format;return K==="P"||K==="-P"?"P0D":K},M.toJSON=function(){return this.toISOString()},M.format=function(B){var j=B||"YYYY-MM-DDTHH:mm:ss",Y={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,G){return G||String(Y[V])})},M.as=function(B){return this.$ms/a[y(B)]},M.get=function(B){var j=this.$ms,Y=y(B);return Y==="milliseconds"?j%=1e3:j=Y==="weeks"?b(j/a[Y]):this.$d[Y],j||0},M.add=function(B,j,Y){var V;return V=j?B*a[y(j)]:x(B)?B.$ms:p(B,this).$ms,p(this.$ms+V*(Y?-1:1),this)},M.subtract=function(B,j){return this.add(B,j,!0)},M.locale=function(B){var j=this.clone();return j.$l=B,j},M.clone=function(){return p(this.$ms,this)},M.humanize=function(B){return v().add(this.$ms,"ms").locale(this.$l).fromNow(!B)},M.valueOf=function(){return this.asMilliseconds()},M.milliseconds=function(){return this.get("milliseconds")},M.asMilliseconds=function(){return this.as("milliseconds")},M.seconds=function(){return this.get("seconds")},M.asSeconds=function(){return this.as("seconds")},M.minutes=function(){return this.get("minutes")},M.asMinutes=function(){return this.as("minutes")},M.hours=function(){return this.get("hours")},M.asHours=function(){return this.as("hours")},M.days=function(){return this.get("days")},M.asDays=function(){return this.as("days")},M.weeks=function(){return this.get("weeks")},M.asWeeks=function(){return this.as("weeks")},M.months=function(){return this.get("months")},M.asMonths=function(){return this.as("months")},M.years=function(){return this.get("years")},M.asYears=function(){return this.as("years")},D}(),A=function(D,M,B){return D.add(M.years()*B,"y").add(M.months()*B,"M").add(M.days()*B,"d").add(M.hours()*B,"h").add(M.minutes()*B,"m").add(M.seconds()*B,"s").add(M.milliseconds()*B,"ms")};return function(D,M,B){v=B,e=B().$utils(),B.duration=function(V,G){var ae=B.locale();return p(V,{$l:ae},G)},B.isDuration=x;var j=M.prototype.add,Y=M.prototype.subtract;M.prototype.add=function(V,G){return x(V)?A(this,V,1):j.bind(this)(V,G)},M.prototype.subtract=function(V,G){return x(V)?A(this,V,-1):Y.bind(this)(V,G)}}})},58862:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){r.isMoment=function(i){return r.isDayjs(i)}}})},19277:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.isSameOrAfter=function(r,i){return this.isSame(r,i)||this.isAfter(r,i)}}})},34749:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.isSameOrBefore=function(r,i){return this.isSame(r,i)||this.isBefore(r,i)}}})},58319:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){var i=e.prototype,l=function(u){return u&&(u.indexOf?u:u.s)},c=function(u,a,x,p,y){var _=u.name?u:u.$locale(),b=l(_[a]),S=l(_[x]),k=b||S.map(function(A){return A.slice(0,p)});if(!y)return k;var R=_.weekStart;return k.map(function(A,D){return k[(D+(R||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(v,e){d.exports=e()})(this,function(){"use strict";var v={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=v,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]||v[y]||a[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,S,k){return S||k.slice(1)})})}(f,o===void 0?{}:o);return c.call(this,h)}}})},59717:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){v=v||{};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,S=v.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"}],k=S.length,R=0;R<k;R+=1){var A=S[R];A.d&&(p=a?r(o).diff(u,A.d,!0):u.diff(o,A.d,!0));var D=(v.rounding||Math.round)(Math.abs(p));if(_=p>0,D<=A.r||!A.r){D<=1&&R>0&&(A=S[R-1]);var M=b[A.l];x&&(D=x(""+D)),y=typeof M=="string"?M.replace("%d",D):M(D,h,A.l,_);break}}if(h)return y;var B=_?b.future:b.past;return typeof B=="function"?B(y):B.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(v,e){d.exports=e()})(this,function(){"use strict";var v="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(v);if(h.isBefore(u))return 1}var a=l(this).startOf(e).date(o).startOf(v).subtract(1,"millisecond"),x=this.diff(a,v,!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(v,e){d.exports=e()})(this,function(){"use strict";return function(v,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(v,e){d.exports=e()})(this,function(){"use strict";return function(v,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 v(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){v(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:{}},_=v({},h,function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y,k=arguments.length>1?arguments[1]:void 0,R=k.type,A=k.payload,D=A||{},M=D.namespace,B=D.actionType,j;switch(R){case i:j=r(r({},S),{},{global:!0,models:r(r({},S.models),{},v({},M,!0)),effects:r(r({},S.effects),{},v({},B,!0))});break;case l:{var Y=r(r({},S.effects),{},v({},B,!1)),V=r(r({},S.models),{},v({},M,Object.keys(Y).some(function(ae){var ie=ae.split("/")[0];return ie!==M?!1:Y[ae]}))),G=Object.keys(V).some(function(ae){return V[ae]});j=r(r({},S),{},{global:G,models:V,effects:Y});break}default:j=S;break}return j});function b(S,k,R,A){var D=k.put,M=R.namespace;return a.length===0&&p.length===0||a.length>0&&a.indexOf(A)!==-1||p.length>0&&p.indexOf(A)===-1?regeneratorRuntime.mark(function B(){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:M,actionType:A}});case 2:return V.next=4,S.apply(void 0,j);case 4:return V.next=6,D({type:l,payload:{namespace:M,actionType:A}});case 6:case"end":return V.stop()}},B)}):S}return{extraReducers:_,onEffect:b}}d.exports=f},68192:function(d){"use strict";d.exports=function(){}},63474:function(d,v,e){"use strict";d.exports=e(71111)()?Object.assign:e(47597)},71111:function(d){"use strict";d.exports=function(){var v=Object.assign,e;return typeof v!="function"?!1:(e={foo:"raz"},v(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},47597:function(d,v,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,v,e){"use strict";var r=e(68192)();d.exports=function(i){return i!==r&&i!==null}},90721:function(d,v,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(v){return!1}}},34810:function(d,v,e){"use strict";var r=e(67390),i=Object.keys;d.exports=function(l){return i(r(l)?Object(l):l)}},47095:function(d,v,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(v){if(typeof v!="function")throw new TypeError(v+" is not a function");return v}},58883:function(d,v,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,v,e){"use strict";d.exports=e(65136)()?String.prototype.contains:e(12444)},65136:function(d){"use strict";var v="razdwatrzy";d.exports=function(){return typeof v.contains!="function"?!1:v.contains("dwa")===!0&&v.contains("foo")===!1}},12444:function(d){"use strict";var v=String.prototype.indexOf;d.exports=function(e){return v.call(this,e,arguments[1])>-1}},3424:function(d,v,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,S,k;x=function(R,A){var D;return i(A),u.call(this,"__ee__")?D=this.__ee__:(D=a.value=f(null),o(this,"__ee__",a),a.value=null),D[R]?typeof D[R]=="object"?D[R].push(A):D[R]=[D[R],A]:D[R]=A,this},p=function(R,A){var D,M;return i(A),M=this,x.call(this,R,D=function(){y.call(M,R,D),l.call(A,this,arguments)}),D.__eeOnceListener__=A,this},y=function(R,A){var D,M,B,j;if(i(A),!u.call(this,"__ee__"))return this;if(D=this.__ee__,!D[R])return this;if(M=D[R],typeof M=="object")for(j=0;B=M[j];++j)(B===A||B.__eeOnceListener__===A)&&(M.length===2?D[R]=M[j?0:1]:M.splice(j,1));else(M===A||M.__eeOnceListener__===A)&&delete D[R];return this},_=function(R){var A,D,M,B,j;if(u.call(this,"__ee__")&&(B=this.__ee__[R],!!B))if(typeof B=="object"){for(D=arguments.length,j=new Array(D-1),A=1;A<D;++A)j[A-1]=arguments[A];for(B=B.slice(),A=0;M=B[A];++A)l.call(M,this,j)}else switch(arguments.length){case 1:c.call(B,this);break;case 2:c.call(B,this,arguments[1]);break;case 3:c.call(B,this,arguments[1],arguments[2]);break;default:for(D=arguments.length,j=new Array(D-1),A=1;A<D;++A)j[A-1]=arguments[A];l.call(B,this,j)}},b={on:x,once:p,off:y,emit:_},S={on:r(x),once:r(p),off:r(y),emit:r(_)},k=h({},S),d.exports=v=function(R){return R==null?f(k):h(Object(R),S)},v.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,v,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,v,e){var r=v;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,v,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}v.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,v,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,v,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),v.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(R,A){for(var D=this.h[0],M=this.h[1],B=this.h[2],j=this.h[3],Y=this.h[4],V=D,G=M,ae=B,ie=j,ue=Y,q=0;q<80;q++){var J=c(l(o(D,a(q,M,B,j),R[y[q]+A],x(q)),b[q]),Y);D=Y,Y=j,j=l(B,10),B=M,M=J,J=c(l(o(V,a(79-q,G,ae,ie),R[_[q]+A],p(q)),S[q]),ue),V=ue,ue=ie,ie=l(ae,10),ae=G,G=J}J=f(this.h[1],B,ie),this.h[1]=f(this.h[2],j,ue),this.h[2]=f(this.h[3],Y,V),this.h[3]=f(this.h[4],D,G),this.h[4]=f(this.h[0],M,ae),this.h[0]=J},u.prototype._digest=function(R){return R==="hex"?r.toHex32(this.h,"little"):r.split32(this.h,"little")};function a(k,R,A,D){return k<=15?R^A^D:k<=31?R&A|~R&D:k<=47?(R|~A)^D:k<=63?R&D|A&~D:R^(A|~D)}function x(k){return k<=15?0:k<=31?1518500249:k<=47?1859775393:k<=63?2400959708:2840853838}function p(k){return k<=15?1352829926:k<=31?1548603684:k<=47?1836072691:k<=63?2053994217:0}var y=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],_=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],S=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},26672:function(d,v,e){"use strict";v.sha1=e(16114),v.sha224=e(44853),v.sha256=e(6586),v.sha384=e(66474),v.sha512=e(50663)},16114:function(d,v,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,S=0;S<16;S++)b[S]=y[_+S];for(;S<b.length;S++)b[S]=c(b[S-3]^b[S-8]^b[S-14]^b[S-16],1);var k=this.h[0],R=this.h[1],A=this.h[2],D=this.h[3],M=this.h[4];for(S=0;S<b.length;S++){var B=~~(S/20),j=o(c(k,5),h(B,R,A,D),M,b[S],a[B]);M=D,D=A,A=c(R,30),R=k,k=j}this.h[0]=f(this.h[0],k),this.h[1]=f(this.h[1],R),this.h[2]=f(this.h[2],A),this.h[3]=f(this.h[3],D),this.h[4]=f(this.h[4],M)},x.prototype._digest=function(y){return y==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},44853:function(d,v,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,v,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,S=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function k(){if(!(this instanceof k))return new k;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=S,this.W=new Array(64)}r.inherits(k,b),d.exports=k,k.blockSize=512,k.outSize=256,k.hmacStrength=192,k.padLength=64,k.prototype._update=function(A,D){for(var M=this.W,B=0;B<16;B++)M[B]=A[D+B];for(;B<M.length;B++)M[B]=o(_(M[B-2]),M[B-7],y(M[B-15]),M[B-16]);var j=this.h[0],Y=this.h[1],V=this.h[2],G=this.h[3],ae=this.h[4],ie=this.h[5],ue=this.h[6],q=this.h[7];for(c(this.k.length===M.length),B=0;B<M.length;B++){var J=h(q,p(ae),u(ae,ie,ue),this.k[B],M[B]),K=f(x(j),a(j,Y,V));q=ue,ue=ie,ie=ae,ae=f(G,J),G=V,V=Y,Y=j,j=f(J,K)}this.h[0]=f(this.h[0],j),this.h[1]=f(this.h[1],Y),this.h[2]=f(this.h[2],V),this.h[3]=f(this.h[3],G),this.h[4]=f(this.h[4],ae),this.h[5]=f(this.h[5],ie),this.h[6]=f(this.h[6],ue),this.h[7]=f(this.h[7],q)},k.prototype._digest=function(A){return A==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},66474:function(d,v,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,v,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,S=i.BlockHash,k=[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 R(){if(!(this instanceof R))return new R;S.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=k,this.W=new Array(160)}r.inherits(R,S),d.exports=R,R.blockSize=1024,R.outSize=512,R.hmacStrength=192,R.padLength=128,R.prototype._prepareBlock=function(K,oe){for(var ee=this.W,Q=0;Q<32;Q++)ee[Q]=K[oe+Q];for(;Q<ee.length;Q+=2){var le=ue(ee[Q-4],ee[Q-3]),Z=q(ee[Q-4],ee[Q-3]),$=ee[Q-14],se=ee[Q-13],_e=ae(ee[Q-30],ee[Q-29]),De=ie(ee[Q-30],ee[Q-29]),ke=ee[Q-32],Ze=ee[Q-31];ee[Q]=p(le,Z,$,se,_e,De,ke,Ze),ee[Q+1]=y(le,Z,$,se,_e,De,ke,Ze)}},R.prototype._update=function(K,oe){this._prepareBlock(K,oe);var ee=this.W,Q=this.h[0],le=this.h[1],Z=this.h[2],$=this.h[3],se=this.h[4],_e=this.h[5],De=this.h[6],ke=this.h[7],Ze=this.h[8],Ne=this.h[9],Bt=this.h[10],yt=this.h[11],Dt=this.h[12],Jt=this.h[13],er=this.h[14],tr=this.h[15];l(this.k.length===ee.length);for(var Xe=0;Xe<ee.length;Xe+=2){var Pt=er,Zt=tr,ot=V(Ze,Ne),xt=G(Ze,Ne),ht=A(Ze,Ne,Bt,yt,Dt,Jt),et=D(Ze,Ne,Bt,yt,Dt,Jt),je=this.k[Xe],ge=this.k[Xe+1],Se=ee[Xe],Me=ee[Xe+1],$e=_(Pt,Zt,ot,xt,ht,et,je,ge,Se,Me),He=b(Pt,Zt,ot,xt,ht,et,je,ge,Se,Me);Pt=j(Q,le),Zt=Y(Q,le),ot=M(Q,le,Z,$,se,_e),xt=B(Q,le,Z,$,se,_e);var nt=a(Pt,Zt,ot,xt),ct=x(Pt,Zt,ot,xt);er=Dt,tr=Jt,Dt=Bt,Jt=yt,Bt=Ze,yt=Ne,Ze=a(De,ke,$e,He),Ne=x(ke,ke,$e,He),De=se,ke=_e,se=Z,_e=$,Z=Q,$=le,Q=a($e,He,nt,ct),le=x($e,He,nt,ct)}u(this.h,0,Q,le),u(this.h,2,Z,$),u(this.h,4,se,_e),u(this.h,6,De,ke),u(this.h,8,Ze,Ne),u(this.h,10,Bt,yt),u(this.h,12,Dt,Jt),u(this.h,14,er,tr)},R.prototype._digest=function(K){return K==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")};function A(J,K,oe,ee,Q){var le=J&oe^~J&Q;return le<0&&(le+=4294967296),le}function D(J,K,oe,ee,Q,le){var Z=K&ee^~K≤return Z<0&&(Z+=4294967296),Z}function M(J,K,oe,ee,Q){var le=J&oe^J&Q^oe&Q;return le<0&&(le+=4294967296),le}function B(J,K,oe,ee,Q,le){var Z=K&ee^K&le^ee≤return Z<0&&(Z+=4294967296),Z}function j(J,K){var oe=c(J,K,28),ee=c(K,J,2),Q=c(K,J,7),le=oe^ee^Q;return le<0&&(le+=4294967296),le}function Y(J,K){var oe=f(J,K,28),ee=f(K,J,2),Q=f(K,J,7),le=oe^ee^Q;return le<0&&(le+=4294967296),le}function V(J,K){var oe=c(J,K,14),ee=c(J,K,18),Q=c(K,J,9),le=oe^ee^Q;return le<0&&(le+=4294967296),le}function G(J,K){var oe=f(J,K,14),ee=f(J,K,18),Q=f(K,J,9),le=oe^ee^Q;return le<0&&(le+=4294967296),le}function ae(J,K){var oe=c(J,K,1),ee=c(J,K,8),Q=o(J,K,7),le=oe^ee^Q;return le<0&&(le+=4294967296),le}function ie(J,K){var oe=f(J,K,1),ee=f(J,K,8),Q=h(J,K,7),le=oe^ee^Q;return le<0&&(le+=4294967296),le}function ue(J,K){var oe=c(J,K,19),ee=c(K,J,29),Q=o(J,K,6),le=oe^ee^Q;return le<0&&(le+=4294967296),le}function q(J,K){var oe=f(J,K,19),ee=f(K,J,29),Q=h(J,K,6),le=oe^ee^Q;return le<0&&(le+=4294967296),le}},81692:function(d,v,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)}v.ft_1=l;function c(p,y,_){return p&y^~p&_}v.ch32=c;function f(p,y,_){return p&y^p&_^y&_}v.maj32=f;function o(p,y,_){return p^y^_}v.p32=o;function h(p){return i(p,2)^i(p,13)^i(p,22)}v.s0_256=h;function u(p){return i(p,6)^i(p,11)^i(p,25)}v.s1_256=u;function a(p){return i(p,7)^i(p,18)^p>>>3}v.g0_256=a;function x(p){return i(p,17)^i(p,19)^p>>>10}v.g1_256=x},8631:function(d,v,e){"use strict";var r=e(61339),i=e(4603);v.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 K=[];if(typeof q=="string")if(J){if(J==="hex")for(q=q.replace(/[^a-z0-9]+/ig,""),q.length%2!==0&&(q="0"+q),ee=0;ee<q.length;ee+=2)K.push(parseInt(q[ee]+q[ee+1],16))}else for(var oe=0,ee=0;ee<q.length;ee++){var Q=q.charCodeAt(ee);Q<128?K[oe++]=Q:Q<2048?(K[oe++]=Q>>6|192,K[oe++]=Q&63|128):l(q,ee)?(Q=65536+((Q&1023)<<10)+(q.charCodeAt(++ee)&1023),K[oe++]=Q>>18|240,K[oe++]=Q>>12&63|128,K[oe++]=Q>>6&63|128,K[oe++]=Q&63|128):(K[oe++]=Q>>12|224,K[oe++]=Q>>6&63|128,K[oe++]=Q&63|128)}else for(ee=0;ee<q.length;ee++)K[ee]=q[ee]|0;return K}v.toArray=c;function f(q){for(var J="",K=0;K<q.length;K++)J+=u(q[K].toString(16));return J}v.toHex=f;function o(q){var J=q>>>24|q>>>8&65280|q<<8&16711680|(q&255)<<24;return J>>>0}v.htonl=o;function h(q,J){for(var K="",oe=0;oe<q.length;oe++){var ee=q[oe];J==="little"&&(ee=o(ee)),K+=a(ee.toString(16))}return K}v.toHex32=h;function u(q){return q.length===1?"0"+q:q}v.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}v.zero8=a;function x(q,J,K,oe){var ee=K-J;r(ee%4===0);for(var Q=new Array(ee/4),le=0,Z=J;le<Q.length;le++,Z+=4){var $;oe==="big"?$=q[Z]<<24|q[Z+1]<<16|q[Z+2]<<8|q[Z+3]:$=q[Z+3]<<24|q[Z+2]<<16|q[Z+1]<<8|q[Z],Q[le]=$>>>0}return Q}v.join32=x;function p(q,J){for(var K=new Array(q.length*4),oe=0,ee=0;oe<q.length;oe++,ee+=4){var Q=q[oe];J==="big"?(K[ee]=Q>>>24,K[ee+1]=Q>>>16&255,K[ee+2]=Q>>>8&255,K[ee+3]=Q&255):(K[ee+3]=Q>>>24,K[ee+2]=Q>>>16&255,K[ee+1]=Q>>>8&255,K[ee]=Q&255)}return K}v.split32=p;function y(q,J){return q>>>J|q<<32-J}v.rotr32=y;function _(q,J){return q<<J|q>>>32-J}v.rotl32=_;function b(q,J){return q+J>>>0}v.sum32=b;function S(q,J,K){return q+J+K>>>0}v.sum32_3=S;function k(q,J,K,oe){return q+J+K+oe>>>0}v.sum32_4=k;function R(q,J,K,oe,ee){return q+J+K+oe+ee>>>0}v.sum32_5=R;function A(q,J,K,oe){var ee=q[J],Q=q[J+1],le=oe+Q>>>0,Z=(le<oe?1:0)+K+ee;q[J]=Z>>>0,q[J+1]=le}v.sum64=A;function D(q,J,K,oe){var ee=J+oe>>>0,Q=(ee<J?1:0)+q+K;return Q>>>0}v.sum64_hi=D;function M(q,J,K,oe){var ee=J+oe;return ee>>>0}v.sum64_lo=M;function B(q,J,K,oe,ee,Q,le,Z){var $=0,se=J;se=se+oe>>>0,$+=se<J?1:0,se=se+Q>>>0,$+=se<Q?1:0,se=se+Z>>>0,$+=se<Z?1:0;var _e=q+K+ee+le+$;return _e>>>0}v.sum64_4_hi=B;function j(q,J,K,oe,ee,Q,le,Z){var $=J+oe+Q+Z;return $>>>0}v.sum64_4_lo=j;function Y(q,J,K,oe,ee,Q,le,Z,$,se){var _e=0,De=J;De=De+oe>>>0,_e+=De<J?1:0,De=De+Q>>>0,_e+=De<Q?1:0,De=De+Z>>>0,_e+=De<Z?1:0,De=De+se>>>0,_e+=De<se?1:0;var ke=q+K+ee+le+$+_e;return ke>>>0}v.sum64_5_hi=Y;function V(q,J,K,oe,ee,Q,le,Z,$,se){var _e=J+oe+Q+Z+se;return _e>>>0}v.sum64_5_lo=V;function G(q,J,K){var oe=J<<32-K|q>>>K;return oe>>>0}v.rotr64_hi=G;function ae(q,J,K){var oe=q<<32-K|J>>>K;return oe>>>0}v.rotr64_lo=ae;function ie(q,J,K){return q>>>K}v.shr64_hi=ie;function ue(q,J,K){var oe=q<<32-K|J>>>K;return oe>>>0}v.shr64_lo=ue},19340:function(d,v,e){"use strict";e.d(v,{Ep:function(){return S},PP:function(){return x},aU:function(){return i},cP:function(){return k},lX:function(){return u},q_:function(){return a}});var r=e(14809),i;(function(R){R.Pop="POP",R.Push="PUSH",R.Replace="REPLACE"})(i||(i={}));var l=function(R){return R};function c(R,A){if(!R){typeof console!="undefined"&&console.warn(A);try{throw new Error(A)}catch(D){}}}var f="beforeunload",o="hashchange",h="popstate";function u(R){R===void 0&&(R={});var A=R,D=A.window,M=D===void 0?document.defaultView:D,B=M.history;function j(){var De=M.location,ke=De.pathname,Ze=De.search,Ne=De.hash,Bt=B.state||{};return[Bt.idx,l({pathname:ke,search:Ze,hash:Ne,state:Bt.usr||null,key:Bt.key||"default"})]}var Y=null;function V(){if(Y)J.call(Y),Y=null;else{var De=i.Pop,ke=j(),Ze=ke[0],Ne=ke[1];if(J.length){if(Ze!=null){var Bt=ie-Ze;Bt&&(Y={action:De,location:Ne,retry:function(){se(Bt*-1)}},se(Bt))}}else le(De)}}M.addEventListener(h,V);var G=i.Pop,ae=j(),ie=ae[0],ue=ae[1],q=_(),J=_();ie==null&&(ie=0,B.replaceState((0,r.Z)({},B.state,{idx:ie}),""));function K(De){return typeof De=="string"?De:S(De)}function oe(De,ke){return ke===void 0&&(ke=null),l((0,r.Z)({pathname:ue.pathname,hash:"",search:""},typeof De=="string"?k(De):De,{state:ke,key:b()}))}function ee(De,ke){return[{usr:De.state,key:De.key,idx:ke},K(De)]}function Q(De,ke,Ze){return!J.length||(J.call({action:De,location:ke,retry:Ze}),!1)}function le(De){G=De;var ke=j();ie=ke[0],ue=ke[1],q.call({action:G,location:ue})}function Z(De,ke){var Ze=i.Push,Ne=oe(De,ke);function Bt(){Z(De,ke)}if(Q(Ze,Ne,Bt)){var yt=ee(Ne,ie+1),Dt=yt[0],Jt=yt[1];try{B.pushState(Dt,"",Jt)}catch(er){M.location.assign(Jt)}le(Ze)}}function $(De,ke){var Ze=i.Replace,Ne=oe(De,ke);function Bt(){$(De,ke)}if(Q(Ze,Ne,Bt)){var yt=ee(Ne,ie),Dt=yt[0],Jt=yt[1];B.replaceState(Dt,"",Jt),le(Ze)}}function se(De){B.go(De)}var _e={get action(){return G},get location(){return ue},createHref:K,push:Z,replace:$,go:se,back:function(){se(-1)},forward:function(){se(1)},listen:function(ke){return q.push(ke)},block:function(ke){var Ze=J.push(ke);return J.length===1&&M.addEventListener(f,y),function(){Ze(),J.length||M.removeEventListener(f,y)}}};return _e}function a(R){R===void 0&&(R={});var A=R,D=A.window,M=D===void 0?document.defaultView:D,B=M.history;function j(){var ke=k(M.location.hash.substr(1)),Ze=ke.pathname,Ne=Ze===void 0?"/":Ze,Bt=ke.search,yt=Bt===void 0?"":Bt,Dt=ke.hash,Jt=Dt===void 0?"":Dt,er=B.state||{};return[er.idx,l({pathname:Ne,search:yt,hash:Jt,state:er.usr||null,key:er.key||"default"})]}var Y=null;function V(){if(Y)J.call(Y),Y=null;else{var ke=i.Pop,Ze=j(),Ne=Ze[0],Bt=Ze[1];if(J.length){if(Ne!=null){var yt=ie-Ne;yt&&(Y={action:ke,location:Bt,retry:function(){_e(yt*-1)}},_e(yt))}}else Z(ke)}}M.addEventListener(h,V),M.addEventListener(o,function(){var ke=j(),Ze=ke[1];S(Ze)!==S(ue)&&V()});var G=i.Pop,ae=j(),ie=ae[0],ue=ae[1],q=_(),J=_();ie==null&&(ie=0,B.replaceState((0,r.Z)({},B.state,{idx:ie}),""));function K(){var ke=document.querySelector("base"),Ze="";if(ke&&ke.getAttribute("href")){var Ne=M.location.href,Bt=Ne.indexOf("#");Ze=Bt===-1?Ne:Ne.slice(0,Bt)}return Ze}function oe(ke){return K()+"#"+(typeof ke=="string"?ke:S(ke))}function ee(ke,Ze){return Ze===void 0&&(Ze=null),l((0,r.Z)({pathname:ue.pathname,hash:"",search:""},typeof ke=="string"?k(ke):ke,{state:Ze,key:b()}))}function Q(ke,Ze){return[{usr:ke.state,key:ke.key,idx:Ze},oe(ke)]}function le(ke,Ze,Ne){return!J.length||(J.call({action:ke,location:Ze,retry:Ne}),!1)}function Z(ke){G=ke;var Ze=j();ie=Ze[0],ue=Ze[1],q.call({action:G,location:ue})}function $(ke,Ze){var Ne=i.Push,Bt=ee(ke,Ze);function yt(){$(ke,Ze)}if(le(Ne,Bt,yt)){var Dt=Q(Bt,ie+1),Jt=Dt[0],er=Dt[1];try{B.pushState(Jt,"",er)}catch(tr){M.location.assign(er)}Z(Ne)}}function se(ke,Ze){var Ne=i.Replace,Bt=ee(ke,Ze);function yt(){se(ke,Ze)}if(le(Ne,Bt,yt)){var Dt=Q(Bt,ie),Jt=Dt[0],er=Dt[1];B.replaceState(Jt,"",er),Z(Ne)}}function _e(ke){B.go(ke)}var De={get action(){return G},get location(){return ue},createHref:oe,push:$,replace:se,go:_e,back:function(){_e(-1)},forward:function(){_e(1)},listen:function(Ze){return q.push(Ze)},block:function(Ze){var Ne=J.push(Ze);return J.length===1&&M.addEventListener(f,y),function(){Ne(),J.length||M.removeEventListener(f,y)}}};return De}function x(R){R===void 0&&(R={});var A=R,D=A.initialEntries,M=D===void 0?["/"]:D,B=A.initialIndex,j=M.map(function(Z){var $=l((0,r.Z)({pathname:"/",search:"",hash:"",state:null,key:b()},typeof Z=="string"?k(Z):Z));return $}),Y=p(B==null?j.length-1:B,0,j.length-1),V=i.Pop,G=j[Y],ae=_(),ie=_();function ue(Z){return typeof Z=="string"?Z:S(Z)}function q(Z,$){return $===void 0&&($=null),l((0,r.Z)({pathname:G.pathname,search:"",hash:""},typeof Z=="string"?k(Z):Z,{state:$,key:b()}))}function J(Z,$,se){return!ie.length||(ie.call({action:Z,location:$,retry:se}),!1)}function K(Z,$){V=Z,G=$,ae.call({action:V,location:G})}function oe(Z,$){var se=i.Push,_e=q(Z,$);function De(){oe(Z,$)}J(se,_e,De)&&(Y+=1,j.splice(Y,j.length,_e),K(se,_e))}function ee(Z,$){var se=i.Replace,_e=q(Z,$);function De(){ee(Z,$)}J(se,_e,De)&&(j[Y]=_e,K(se,_e))}function Q(Z){var $=p(Y+Z,0,j.length-1),se=i.Pop,_e=j[$];function De(){Q(Z)}J(se,_e,De)&&(Y=$,K(se,_e))}var le={get index(){return Y},get action(){return V},get location(){return G},createHref:ue,push:oe,replace:ee,go:Q,back:function(){Q(-1)},forward:function(){Q(1)},listen:function($){return ae.push($)},block:function($){return ie.push($)}};return le}function p(R,A,D){return Math.min(Math.max(R,A),D)}function y(R){R.preventDefault(),R.returnValue=""}function _(){var R=[];return{get length(){return R.length},push:function(D){return R.push(D),function(){R=R.filter(function(M){return M!==D})}},call:function(D){R.forEach(function(M){return M&&M(D)})}}}function b(){return Math.random().toString(36).substr(2,8)}function S(R){var A=R.pathname,D=A===void 0?"/":A,M=R.search,B=M===void 0?"":M,j=R.hash,Y=j===void 0?"":j;return B&&B!=="?"&&(D+=B.charAt(0)==="?"?B:"?"+B),Y&&Y!=="#"&&(D+=Y.charAt(0)==="#"?Y:"#"+Y),D}function k(R){var A={};if(R){var D=R.indexOf("#");D>=0&&(A.hash=R.substr(D),R=R.substr(0,D));var M=R.indexOf("?");M>=0&&(A.search=R.substr(M),R=R.substr(0,M)),R&&(A.pathname=R)}return A}},94266:function(d,v,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(S){return r.isMemo(S)?f:o[S.$$typeof]||i}var u=Object.defineProperty,a=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,_=Object.prototype;function b(S,k,R){if(typeof k!="string"){if(_){var A=y(k);A&&A!==_&&b(S,A,R)}var D=a(k);x&&(D=D.concat(x(k)));for(var M=h(S),B=h(k),j=0;j<D.length;++j){var Y=D[j];if(!l[Y]&&!(R&&R[Y])&&!(B&&B[Y])&&!(M&&M[Y])){var V=p(k,Y);try{u(S,Y,V)}catch(G){}}}}return S}d.exports=b},4603:function(d){typeof Object.create=="function"?d.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:d.exports=function(e,r){if(r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e}}},44520:function(d){"use strict";var v=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=v},78034:function(d){d.exports=function(r){return r!=null&&(v(r)||e(r)||!!r._isBuffer)};function v(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"&&v(r.slice(0,0))}},78639:function(d,v,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,v,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(v,r),i!==void 0&&(d.exports=i)},87804:function(d,v){var e,r;(function(){var i;(function(){"use strict";var c=[,,function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var _=this.__items.length-1;_>=0;_--)if(this.__items[_].match(y))return!0;return!1},a.prototype.set_indent=function(y,_){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=_||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var y=this.__parent.current_line;return y.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),y.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),y.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,y.__items[0]===" "&&(y.__items.splice(0,1),y.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(y){this.__items.push(y);var _=y.lastIndexOf(`
|
|
|
`);_!==-1?this.__character_count=y.length-_:this.__character_count+=y.length},a.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var y="";return this.is_empty()?this.__parent.indent_empty_lines&&(y=this.__parent.get_indent_string(this.__indent_count)):(y=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),y+=this.__items.join("")),y};function x(y,_){this.__cache=[""],this.__indent_size=y.indent_size,this.__indent_string=y.indent_char,y.indent_with_tabs||(this.__indent_string=new Array(y.indent_size+1).join(y.indent_char)),_=_||"",y.indent_level>0&&(_=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=_,this.__base_string_length=_.length}x.prototype.get_indent_size=function(y,_){var b=this.__base_string_length;return _=_||0,y<0&&(b=0),b+=y*this.__indent_size,b+=_,b},x.prototype.get_indent_string=function(y,_){var b=this.__base_string;return _=_||0,y<0&&(y=0,b=""),_+=y*this.__indent_size,this.__ensure_cache(_),b+=this.__cache[_],b},x.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},x.prototype.__add_column=function(){var y=this.__cache.length,_=0,b="";this.__indent_size&&y>=this.__indent_size&&(_=Math.floor(y/this.__indent_size),y-=_*this.__indent_size,b=new Array(_+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,_){this.__indent_cache=new x(y,_),this.raw=!1,this._end_with_newline=y.end_with_newline,this.indent_size=y.indent_size,this.wrap_line_length=y.wrap_line_length,this.indent_empty_lines=y.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}p.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},p.prototype.get_line_number=function(){return this.__lines.length},p.prototype.get_indent_string=function(y,_){return this.__indent_cache.get_indent_string(y,_)},p.prototype.get_indent_size=function(y,_){return this.__indent_cache.get_indent_size(y,_)},p.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},p.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},p.prototype.get_code=function(y){this.trim(!0);var _=this.current_line.pop();_&&(_[_.length-1]===`
|
|
|
`&&(_=_.replace(/\n+$/g,"")),this.current_line.push(_)),this._end_with_newline&&this.__add_outputline();var b=this.__lines.join(`
|
|
|
`);return y!==`
|
|
|
`&&(b=b.replace(/[\n]/g,y)),b},p.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},p.prototype.set_indent=function(y,_){return y=y||0,_=_||0,this.next_line.set_indent(y,_),this.__lines.length>1?(this.current_line.set_indent(y,_),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var _=0;_<y.newlines;_++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(y.whitespace_before),this.current_line.push(y.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},p.prototype.add_token=function(y){this.__add_space_before_token(),this.current_line.push(y),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},p.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},p.prototype.remove_indent=function(y){for(var _=this.__lines.length;y<_;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},p.prototype.trim=function(y){for(y=y===void 0?!1:y,this.current_line.trim();y&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},p.prototype.just_added_newline=function(){return this.current_line.is_empty()},p.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},p.prototype.ensure_empty_line_above=function(y,_){for(var b=this.__lines.length-2;b>=0;){var S=this.__lines[b];if(S.is_empty())break;if(S.item(0).indexOf(y)!==0&&S.item(-1)!==_){this.__lines.splice(b+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}b--}},u.exports.Output=p},,,,function(u){function a(y,_){this.raw_options=x(y,_),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}a.prototype._get_array=function(y,_){var b=this.raw_options[y],S=_||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(S=b.concat()):typeof b=="string"&&(S=b.split(/[^a-zA-Z0-9_\/\-]+/)),S},a.prototype._get_boolean=function(y,_){var b=this.raw_options[y],S=b===void 0?!!_:!!b;return S},a.prototype._get_characters=function(y,_){var b=this.raw_options[y],S=_||"";return typeof b=="string"&&(S=b.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),S},a.prototype._get_number=function(y,_){var b=this.raw_options[y];_=parseInt(_,10),isNaN(_)&&(_=0);var S=parseInt(b,10);return isNaN(S)&&(S=_),S},a.prototype._get_selection=function(y,_,b){var S=this._get_selection_list(y,_,b);if(S.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
|
|
|
`+_+`
|
|
|
You passed in: '`+this.raw_options[y]+"'");return S[0]},a.prototype._get_selection_list=function(y,_,b){if(!_||_.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[_[0]],!this._is_valid_selection(b,_))throw new Error("Invalid Default Value!");var S=this._get_array(y,b);if(!this._is_valid_selection(S,_))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
|
|
|
`+_+`
|
|
|
You passed in: '`+this.raw_options[y]+"'");return S},a.prototype._is_valid_selection=function(y,_){return y.length&&_.length&&!y.some(function(b){return _.indexOf(b)===-1})};function x(y,_){var b={};y=p(y);var S;for(S in y)S!==_&&(b[S]=y[S]);if(_&&y[_])for(S in y[_])b[S]=y[_][S];return b}function p(y){var _={},b;for(b in y){var S=b.replace(/-/g,"_");_[S]=y[b]}return _}u.exports.Options=a,u.exports.normalizeOpts=p,u.exports.mergeOpts=x},,function(u){var a=RegExp.prototype.hasOwnProperty("sticky");function x(p){this.__input=p||"",this.__input_length=this.__input.length,this.__position=0}x.prototype.restart=function(){this.__position=0},x.prototype.back=function(){this.__position>0&&(this.__position-=1)},x.prototype.hasNext=function(){return this.__position<this.__input_length},x.prototype.next=function(){var p=null;return this.hasNext()&&(p=this.__input.charAt(this.__position),this.__position+=1),p},x.prototype.peek=function(p){var y=null;return p=p||0,p+=this.__position,p>=0&&p<this.__input_length&&(y=this.__input.charAt(p)),y},x.prototype.__match=function(p,y){p.lastIndex=y;var _=p.exec(this.__input);return _&&!(a&&p.sticky)&&_.index!==y&&(_=null),_},x.prototype.test=function(p,y){return y=y||0,y+=this.__position,y>=0&&y<this.__input_length?!!this.__match(p,y):!1},x.prototype.testChar=function(p,y){var _=this.peek(y);return p.lastIndex=0,_!==null&&p.test(_)},x.prototype.match=function(p){var y=this.__match(p,this.__position);return y?this.__position+=y[0].length:y=null,y},x.prototype.read=function(p,y,_){var b="",S;return p&&(S=this.match(p),S&&(b+=S[0])),y&&(S||!p)&&(b+=this.readUntil(y,_)),b},x.prototype.readUntil=function(p,y){var _="",b=this.__position;p.lastIndex=this.__position;var S=p.exec(this.__input);return S?(b=S.index,y&&(b+=S[0].length)):b=this.__input_length,_=this.__input.substring(this.__position,b),this.__position=b,_},x.prototype.readUntilAfter=function(p){return this.readUntil(p,!0)},x.prototype.get_regexp=function(p,y){var _=null,b="g";return y&&a&&(b="y"),typeof p=="string"&&p!==""?_=new RegExp(p,b):p&&(_=new RegExp(p.source,b)),_},x.prototype.get_literal_regexp=function(p){return RegExp(p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},x.prototype.peekUntilAfter=function(p){var y=this.__position,_=this.readUntilAfter(p);return this.__position=y,_},x.prototype.lookBack=function(p){var y=this.__position-1;return y>=p.length&&this.__input.substring(y-p.length,y).toLowerCase()===p},u.exports.InputScanner=x},,,,,function(u){function a(x,p){x=typeof x=="string"?x:x.source,p=typeof p=="string"?p:p.source,this.__directives_block_pattern=new RegExp(x+/ beautify( \w+[:]\w+)+ /.source+p,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(x+/\sbeautify\signore:end\s/.source+p,"g")}a.prototype.get_directives=function(x){if(!x.match(this.__directives_block_pattern))return null;var p={};this.__directive_pattern.lastIndex=0;for(var y=this.__directive_pattern.exec(x);y;)p[y[1]]=y[2],y=this.__directive_pattern.exec(x);return p},a.prototype.readIgnored=function(x){return x.readUntilAfter(this.__directives_end_ignore_pattern)},u.exports.Directives=a},,function(u,a,x){var p=x(16).Beautifier,y=x(17).Options;function _(b,S){var k=new p(b,S);return k.beautify()}u.exports=_,u.exports.defaultOptions=function(){return new y}},function(u,a,x){var p=x(17).Options,y=x(2).Output,_=x(8).InputScanner,b=x(13).Directives,S=new b(/\/\*/,/\*\//),k=/\r\n|[\r\n]/,R=/\r\n|[\r\n]/g,A=/\s/,D=/(?:\s|\n)+/g,M=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,B=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function j(Y,V){this._source_text=Y||"",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(Y){var V="";for(this._ch=this._input.next();this._ch;){if(V+=this._ch,this._ch==="\\")V+=this._input.next();else if(Y.indexOf(this._ch)!==-1||this._ch===`
|
|
|
`)break;this._ch=this._input.next()}return V},j.prototype.eatWhitespace=function(Y){for(var V=A.test(this._input.peek()),G=0;A.test(this._input.peek());)this._ch=this._input.next(),Y&&this._ch===`
|
|
|
`&&(G===0||G<this._options.max_preserve_newlines)&&(G++,this._output.add_new_line(!0));return V},j.prototype.foundNestedPseudoClass=function(){for(var Y=0,V=1,G=this._input.peek(V);G;){if(G==="{")return!0;if(G==="(")Y+=1;else if(G===")"){if(Y===0)return!1;Y-=1}else if(G===";"||G==="}")return!1;V++,G=this._input.peek(V)}return!1},j.prototype.print_string=function(Y){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(Y)},j.prototype.preserveSingleSpace=function(Y){Y&&(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 Y=this._source_text,V=this._options.eol;V==="auto"&&(V=`
|
|
|
`,Y&&k.test(Y||"")&&(V=Y.match(k)[0])),Y=Y.replace(R,`
|
|
|
`);var G=Y.match(/^[\t ]*/)[0];this._output=new y(this._options,G),this._input=new _(Y),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var ae=0,ie=!1,ue=!1,q=!1,J=!1,K=!1,oe=this._ch,ee=!1,Q,le,Z;Q=this._input.read(D),le=Q!=="",Z=oe,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),oe=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var $=this._input.read(M),se=S.get_directives($);se&&se.ignore==="start"&&($+=S.readIgnored(this._input)),this.print_string($),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(B)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(le),this.print_string(this._ch);var _e=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);_e.match(/[ :]$/)&&(_e=this.eatString(": ").replace(/\s+$/,""),this.print_string(_e),this._output.space_before_token=!0),ae===0&&_e.indexOf(":")!==-1&&(ue=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(le),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var De=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);De.match(/[ :]$/)&&(De=this.eatString(": ").replace(/\s+$/,""),this.print_string(De),this._output.space_before_token=!0),ae===0&&De.indexOf(":")!==-1?(ue=!0,this.indent()):De in this.NESTED_AT_RULE?(this._nestedLevel+=1,De in this.CONDITIONAL_GROUP_RULE&&(q=!0)):ae===0&&!ue&&(J=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(le),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")ue&&(ue=!1,this.outdent()),J=!1,q?(q=!1,ie=this._indentLevel>=this._nestedLevel):ie=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&ie&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(Z==="("?this._output.space_before_token=!1:Z!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),Z==="{"&&this._output.trim(!0),ue&&(this.outdent(),ue=!1),this.print_string(this._ch),ie=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var ke=0;ke<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;ke++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[ke])){ee=!0;break}(ie||q)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!J&&ae===0?(this.print_string(":"),ue||(ue=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var Ze=Z==='"'||Z==="'";this.preserveSingleSpace(Ze||le),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")ee=!1,ae===0?(ue&&(this.outdent(),ue=!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(),ae++,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(")")),ae&&(ae--,this.outdent()));else{var Ne=!1;this._input.lookBack("with")&&(Ne=!0),this.preserveSingleSpace(le||Ne),this.print_string(this._ch),ue&&Z==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),K=!0):(this.eatWhitespace(),ae++,this.indent())}else if(this._ch===")")ae&&(ae--,this.outdent()),K&&this._input.peek()===";"&&this._options.selector_separator_newline&&(K=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!ue||K)&&ae===0&&!J?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!ue&&ae===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&&A.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(le),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),A.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 Bt=Z==='"'||Z==="'";this.preserveSingleSpace(Bt||le),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
|
`&&ee&&this._output.add_new_line()}var yt=this._output.get_code(V);return yt},u.exports.Beautifier=j},function(u,a,x){var p=x(6).Options;function y(_){p.call(this,_,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var b=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||b;var S=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var k=0;k<S.length;k++)S[k]!=="expand"?this.brace_style="collapse":this.brace_style=S[k]}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(v,e),r!==void 0&&(d.exports=r)})()},40998:function(d,v,e){var r,i;(function(){var l;(function(){"use strict";var h=[,,function(p){function y(S){this.__parent=S,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}y.prototype.clone_empty=function(){var S=new y(this.__parent);return S.set_indent(this.__indent_count,this.__alignment_count),S},y.prototype.item=function(S){return S<0?this.__items[this.__items.length+S]:this.__items[S]},y.prototype.has_match=function(S){for(var k=this.__items.length-1;k>=0;k--)if(this.__items[k].match(S))return!0;return!1},y.prototype.set_indent=function(S,k){this.is_empty()&&(this.__indent_count=S||0,this.__alignment_count=k||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},y.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},y.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},y.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var S=this.__parent.current_line;return S.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),S.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),S.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,S.__items[0]===" "&&(S.__items.splice(0,1),S.__character_count-=1),!0}return!1},y.prototype.is_empty=function(){return this.__items.length===0},y.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},y.prototype.push=function(S){this.__items.push(S);var k=S.lastIndexOf(`
|
|
|
`);k!==-1?this.__character_count=S.length-k:this.__character_count+=S.length},y.prototype.pop=function(){var S=null;return this.is_empty()||(S=this.__items.pop(),this.__character_count-=S.length),S},y.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},y.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},y.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},y.prototype.toString=function(){var S="";return this.is_empty()?this.__parent.indent_empty_lines&&(S=this.__parent.get_indent_string(this.__indent_count)):(S=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),S+=this.__items.join("")),S};function _(S,k){this.__cache=[""],this.__indent_size=S.indent_size,this.__indent_string=S.indent_char,S.indent_with_tabs||(this.__indent_string=new Array(S.indent_size+1).join(S.indent_char)),k=k||"",S.indent_level>0&&(k=new Array(S.indent_level+1).join(this.__indent_string)),this.__base_string=k,this.__base_string_length=k.length}_.prototype.get_indent_size=function(S,k){var R=this.__base_string_length;return k=k||0,S<0&&(R=0),R+=S*this.__indent_size,R+=k,R},_.prototype.get_indent_string=function(S,k){var R=this.__base_string;return k=k||0,S<0&&(S=0,R=""),k+=S*this.__indent_size,this.__ensure_cache(k),R+=this.__cache[k],R},_.prototype.__ensure_cache=function(S){for(;S>=this.__cache.length;)this.__add_column()},_.prototype.__add_column=function(){var S=this.__cache.length,k=0,R="";this.__indent_size&&S>=this.__indent_size&&(k=Math.floor(S/this.__indent_size),S-=k*this.__indent_size,R=new Array(k+1).join(this.__indent_string)),S&&(R+=new Array(S+1).join(" ")),this.__cache.push(R)};function b(S,k){this.__indent_cache=new _(S,k),this.raw=!1,this._end_with_newline=S.end_with_newline,this.indent_size=S.indent_size,this.wrap_line_length=S.wrap_line_length,this.indent_empty_lines=S.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new y(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}b.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},b.prototype.get_line_number=function(){return this.__lines.length},b.prototype.get_indent_string=function(S,k){return this.__indent_cache.get_indent_string(S,k)},b.prototype.get_indent_size=function(S,k){return this.__indent_cache.get_indent_size(S,k)},b.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},b.prototype.add_new_line=function(S){return this.is_empty()||!S&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},b.prototype.get_code=function(S){this.trim(!0);var k=this.current_line.pop();k&&(k[k.length-1]===`
|
|
|
`&&(k=k.replace(/\n+$/g,"")),this.current_line.push(k)),this._end_with_newline&&this.__add_outputline();var R=this.__lines.join(`
|
|
|
`);return S!==`
|
|
|
`&&(R=R.replace(/[\n]/g,S)),R},b.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},b.prototype.set_indent=function(S,k){return S=S||0,k=k||0,this.next_line.set_indent(S,k),this.__lines.length>1?(this.current_line.set_indent(S,k),!0):(this.current_line.set_indent(),!1)},b.prototype.add_raw_token=function(S){for(var k=0;k<S.newlines;k++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(S.whitespace_before),this.current_line.push(S.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},b.prototype.add_token=function(S){this.__add_space_before_token(),this.current_line.push(S),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},b.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},b.prototype.remove_indent=function(S){for(var k=this.__lines.length;S<k;)this.__lines[S]._remove_indent(),S++;this.current_line._remove_wrap_indent()},b.prototype.trim=function(S){for(S=S===void 0?!1:S,this.current_line.trim();S&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},b.prototype.just_added_newline=function(){return this.current_line.is_empty()},b.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},b.prototype.ensure_empty_line_above=function(S,k){for(var R=this.__lines.length-2;R>=0;){var A=this.__lines[R];if(A.is_empty())break;if(A.item(0).indexOf(S)!==0&&A.item(-1)!==k){this.__lines.splice(R+1,0,new y(this)),this.previous_line=this.__lines[this.__lines.length-2];break}R--}},p.exports.Output=b},function(p){function y(_,b,S,k){this.type=_,this.text=b,this.comments_before=null,this.newlines=S||0,this.whitespace_before=k||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}p.exports.Token=y},,,function(p){function y(S,k){this.raw_options=_(S,k),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}y.prototype._get_array=function(S,k){var R=this.raw_options[S],A=k||[];return typeof R=="object"?R!==null&&typeof R.concat=="function"&&(A=R.concat()):typeof R=="string"&&(A=R.split(/[^a-zA-Z0-9_\/\-]+/)),A},y.prototype._get_boolean=function(S,k){var R=this.raw_options[S],A=R===void 0?!!k:!!R;return A},y.prototype._get_characters=function(S,k){var R=this.raw_options[S],A=k||"";return typeof R=="string"&&(A=R.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),A},y.prototype._get_number=function(S,k){var R=this.raw_options[S];k=parseInt(k,10),isNaN(k)&&(k=0);var A=parseInt(R,10);return isNaN(A)&&(A=k),A},y.prototype._get_selection=function(S,k,R){var A=this._get_selection_list(S,k,R);if(A.length!==1)throw new Error("Invalid Option Value: The option '"+S+`' can only be one of the following values:
|
|
|
`+k+`
|
|
|
You passed in: '`+this.raw_options[S]+"'");return A[0]},y.prototype._get_selection_list=function(S,k,R){if(!k||k.length===0)throw new Error("Selection list cannot be empty.");if(R=R||[k[0]],!this._is_valid_selection(R,k))throw new Error("Invalid Default Value!");var A=this._get_array(S,R);if(!this._is_valid_selection(A,k))throw new Error("Invalid Option Value: The option '"+S+`' can contain only the following values:
|
|
|
`+k+`
|
|
|
You passed in: '`+this.raw_options[S]+"'");return A},y.prototype._is_valid_selection=function(S,k){return S.length&&k.length&&!S.some(function(R){return k.indexOf(R)===-1})};function _(S,k){var R={};S=b(S);var A;for(A in S)A!==k&&(R[A]=S[A]);if(k&&S[k])for(A in S[k])R[A]=S[k][A];return R}function b(S){var k={},R;for(R in S){var A=R.replace(/-/g,"_");k[A]=S[R]}return k}p.exports.Options=y,p.exports.normalizeOpts=b,p.exports.mergeOpts=_},,function(p){var y=RegExp.prototype.hasOwnProperty("sticky");function _(b){this.__input=b||"",this.__input_length=this.__input.length,this.__position=0}_.prototype.restart=function(){this.__position=0},_.prototype.back=function(){this.__position>0&&(this.__position-=1)},_.prototype.hasNext=function(){return this.__position<this.__input_length},_.prototype.next=function(){var b=null;return this.hasNext()&&(b=this.__input.charAt(this.__position),this.__position+=1),b},_.prototype.peek=function(b){var S=null;return b=b||0,b+=this.__position,b>=0&&b<this.__input_length&&(S=this.__input.charAt(b)),S},_.prototype.__match=function(b,S){b.lastIndex=S;var k=b.exec(this.__input);return k&&!(y&&b.sticky)&&k.index!==S&&(k=null),k},_.prototype.test=function(b,S){return S=S||0,S+=this.__position,S>=0&&S<this.__input_length?!!this.__match(b,S):!1},_.prototype.testChar=function(b,S){var k=this.peek(S);return b.lastIndex=0,k!==null&&b.test(k)},_.prototype.match=function(b){var S=this.__match(b,this.__position);return S?this.__position+=S[0].length:S=null,S},_.prototype.read=function(b,S,k){var R="",A;return b&&(A=this.match(b),A&&(R+=A[0])),S&&(A||!b)&&(R+=this.readUntil(S,k)),R},_.prototype.readUntil=function(b,S){var k="",R=this.__position;b.lastIndex=this.__position;var A=b.exec(this.__input);return A?(R=A.index,S&&(R+=A[0].length)):R=this.__input_length,k=this.__input.substring(this.__position,R),this.__position=R,k},_.prototype.readUntilAfter=function(b){return this.readUntil(b,!0)},_.prototype.get_regexp=function(b,S){var k=null,R="g";return S&&y&&(R="y"),typeof b=="string"&&b!==""?k=new RegExp(b,R):b&&(k=new RegExp(b.source,R)),k},_.prototype.get_literal_regexp=function(b){return RegExp(b.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},_.prototype.peekUntilAfter=function(b){var S=this.__position,k=this.readUntilAfter(b);return this.__position=S,k},_.prototype.lookBack=function(b){var S=this.__position-1;return S>=b.length&&this.__input.substring(S-b.length,S).toLowerCase()===b},p.exports.InputScanner=_},function(p,y,_){var b=_(8).InputScanner,S=_(3).Token,k=_(10).TokenStream,R=_(11).WhitespacePattern,A={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},D=function(M,B){this._input=new b(M),this._options=B||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new R(this._input)};D.prototype.tokenize=function(){this._input.restart(),this.__tokens=new k,this._reset();for(var M,B=new S(A.START,""),j=null,Y=[],V=new k;B.type!==A.EOF;){for(M=this._get_next_token(B,j);this._is_comment(M);)V.add(M),M=this._get_next_token(B,j);V.isEmpty()||(M.comments_before=V,V=new k),M.parent=j,this._is_opening(M)?(Y.push(j),j=M):j&&this._is_closing(M,j)&&(M.opened=j,j.closed=M,j=Y.pop(),M.parent=j),M.previous=B,B.next=M,this.__tokens.add(M),B=M}return this.__tokens},D.prototype._is_first_token=function(){return this.__tokens.isEmpty()},D.prototype._reset=function(){},D.prototype._get_next_token=function(M,B){this._readWhitespace();var j=this._input.read(/.+/g);return j?this._create_token(A.RAW,j):this._create_token(A.EOF,"")},D.prototype._is_comment=function(M){return!1},D.prototype._is_opening=function(M){return!1},D.prototype._is_closing=function(M,B){return!1},D.prototype._create_token=function(M,B){var j=new S(M,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=A},function(p){function y(_){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=_}y.prototype.restart=function(){this.__position=0},y.prototype.isEmpty=function(){return this.__tokens_length===0},y.prototype.hasNext=function(){return this.__position<this.__tokens_length},y.prototype.next=function(){var _=null;return this.hasNext()&&(_=this.__tokens[this.__position],this.__position+=1),_},y.prototype.peek=function(_){var b=null;return _=_||0,_+=this.__position,_>=0&&_<this.__tokens_length&&(b=this.__tokens[_]),b},y.prototype.add=function(_){this.__parent_token&&(_.parent=this.__parent_token),this.__tokens.push(_),this.__tokens_length+=1},p.exports.TokenStream=y},function(p,y,_){var b=_(12).Pattern;function S(k,R){b.call(this,k,R),R?this._line_regexp=this._input.get_regexp(R._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}S.prototype=new b,S.prototype.__set_whitespace_patterns=function(k,R){k+="\\t ",R+="\\n\\r",this._match_pattern=this._input.get_regexp("["+k+R+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+R+"]")},S.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var k=this._input.read(this._match_pattern);if(k===" ")this.whitespace_before_token=" ";else if(k){var R=this.__split(this._newline_regexp,k);this.newline_count=R.length-1,this.whitespace_before_token=R[this.newline_count]}return k},S.prototype.matching=function(k,R){var A=this._create();return A.__set_whitespace_patterns(k,R),A._update(),A},S.prototype._create=function(){return new S(this._input,this)},S.prototype.__split=function(k,R){k.lastIndex=0;for(var A=0,D=[],M=k.exec(R);M;)D.push(R.substring(A,M.index)),A=M.index+M[0].length,M=k.exec(R);return A<R.length?D.push(R.substring(A,R.length)):D.push(""),D},p.exports.WhitespacePattern=S},function(p){function y(_,b){this._input=_,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,b&&(this._starting_pattern=this._input.get_regexp(b._starting_pattern,!0),this._match_pattern=this._input.get_regexp(b._match_pattern,!0),this._until_pattern=this._input.get_regexp(b._until_pattern),this._until_after=b._until_after)}y.prototype.read=function(){var _=this._input.read(this._starting_pattern);return(!this._starting_pattern||_)&&(_+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),_},y.prototype.read_match=function(){return this._input.match(this._match_pattern)},y.prototype.until_after=function(_){var b=this._create();return b._until_after=!0,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.until=function(_){var b=this._create();return b._until_after=!1,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.starting_with=function(_){var b=this._create();return b._starting_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype.matching=function(_){var b=this._create();return b._match_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype._create=function(){return new y(this._input,this)},y.prototype._update=function(){},p.exports.Pattern=y},function(p){function y(_,b){_=typeof _=="string"?_:_.source,b=typeof b=="string"?b:b.source,this.__directives_block_pattern=new RegExp(_+/ beautify( \w+[:]\w+)+ /.source+b,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(_+/\sbeautify\signore:end\s/.source+b,"g")}y.prototype.get_directives=function(_){if(!_.match(this.__directives_block_pattern))return null;var b={};this.__directive_pattern.lastIndex=0;for(var S=this.__directive_pattern.exec(_);S;)b[S[1]]=S[2],S=this.__directive_pattern.exec(_);return b},y.prototype.readIgnored=function(_){return _.readUntilAfter(this.__directives_end_ignore_pattern)},p.exports.Directives=y},function(p,y,_){var b=_(12).Pattern,S={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function k(R,A){b.call(this,R,A),this.__template_pattern=null,this._disabled=Object.assign({},S),this._excluded=Object.assign({},S),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 D=new b(R);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}/)}}k.prototype=new b,k.prototype._create=function(){return new k(this._input,this)},k.prototype._update=function(){this.__set_templated_pattern()},k.prototype.disable=function(R){var A=this._create();return A._disabled[R]=!0,A._update(),A},k.prototype.read_options=function(R){var A=this._create();for(var D in S)A._disabled[D]=R.templating.indexOf(D)===-1;return A._update(),A},k.prototype.exclude=function(R){var A=this._create();return A._excluded[R]=!0,A._update(),A},k.prototype.read=function(){var R="";this._match_pattern?R=this._input.read(this._starting_pattern):R=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),R+=A,A=this._read_template();return this._until_after&&(R+=this._input.readUntilAfter(this._until_pattern)),R},k.prototype.__set_templated_pattern=function(){var R=[];this._disabled.php||R.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||R.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||R.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||R.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(R.push(this.__patterns.django._starting_pattern.source),R.push(this.__patterns.django_value._starting_pattern.source),R.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||R.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&R.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+R.join("|")+")")},k.prototype._read_template=function(){var R="",A=this._input.peek();if(A==="<"){var D=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&D==="?"&&(R=R||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&D==="%"&&(R=R||this.__patterns.erb.read())}else A==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(R=R||this.__patterns.handlebars_comment.read(),R=R||this.__patterns.handlebars_unescaped.read(),R=R||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(R=R||this.__patterns.django_value.read()),this._excluded.django||(R=R||this.__patterns.django_comment.read(),R=R||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(R=R||this.__patterns.smarty_comment.read(),R=R||this.__patterns.smarty_literal.read(),R=R||this.__patterns.smarty.read()));return R},p.exports.TemplatablePattern=k},,,,function(p,y,_){var b=_(19).Beautifier,S=_(20).Options;function k(R,A,D,M){var B=new b(R,A,D,M);return B.beautify()}p.exports=k,p.exports.defaultOptions=function(){return new S}},function(p,y,_){var b=_(20).Options,S=_(2).Output,k=_(21).Tokenizer,R=_(21).TOKEN,A=/\r\n|[\r\n]/,D=/\r\n|[\r\n]/g,M=function(J,K){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 S(J,K)};M.prototype.current_line_has_match=function(J){return this._output.current_line.has_match(J)},M.prototype.set_space_before_token=function(J,K){this._output.space_before_token=J,this._output.non_breaking_space=K},M.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},M.prototype.add_raw_token=function(J){this._output.add_raw_token(J)},M.prototype.print_preserved_newlines=function(J){var K=0;J.type!==R.TEXT&&J.previous.type!==R.TEXT&&(K=J.newlines?1:0),this.preserve_newlines&&(K=J.newlines<this.max_preserve_newlines+1?J.newlines:this.max_preserve_newlines+1);for(var oe=0;oe<K;oe++)this.print_newline(oe>0);return K!==0},M.prototype.traverse_whitespace=function(J){return J.whitespace_before||J.newlines?(this.print_preserved_newlines(J)||(this._output.space_before_token=!0),!0):!1},M.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},M.prototype.print_newline=function(J){this._output.add_new_line(J)},M.prototype.print_token=function(J){J.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(J.text))},M.prototype.indent=function(){this.indent_level++},M.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},M.prototype.get_full_indent=function(J){return J=this.indent_level+(J||0),J<1?"":this._output.get_indent_string(J)};var B=function(J){for(var K=null,oe=J.next;oe.type!==R.EOF&&J.closed!==oe;){if(oe.type===R.ATTRIBUTE&&oe.text==="type"){oe.next&&oe.next.type===R.EQUALS&&oe.next.next&&oe.next.next.type===R.VALUE&&(K=oe.next.next.text);break}oe=oe.next}return K},j=function(J,K){var oe=null,ee=null;return K.closed?(J==="script"?oe="text/javascript":J==="style"&&(oe="text/css"),oe=B(K)||oe,oe.search("text/css")>-1?ee="css":oe.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?ee="javascript":oe.search(/(text|application|dojo)\/(x-)?(html)/)>-1?ee="html":oe.search(/test\/null/)>-1&&(ee="null"),ee):null};function Y(J,K){return K.indexOf(J)!==-1}function V(J,K,oe){this.parent=J||null,this.tag=K?K.tag_name:"",this.indent_level=oe||0,this.parser_token=K||null}function G(J){this._printer=J,this._current_frame=null}G.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},G.prototype.record_tag=function(J){var K=new V(this._current_frame,J,this._printer.indent_level);this._current_frame=K},G.prototype._try_pop_frame=function(J){var K=null;return J&&(K=J.parser_token,this._printer.indent_level=J.indent_level,this._current_frame=J.parent),K},G.prototype._get_frame=function(J,K){for(var oe=this._current_frame;oe&&J.indexOf(oe.tag)===-1;){if(K&&K.indexOf(oe.tag)!==-1){oe=null;break}oe=oe.parent}return oe},G.prototype.try_pop=function(J,K){var oe=this._get_frame([J],K);return this._try_pop_frame(oe)},G.prototype.indent_to_tag=function(J){var K=this._get_frame(J);K&&(this._printer.indent_level=K.indent_level)};function ae(J,K,oe,ee){this._source_text=J||"",K=K||{},this._js_beautify=oe,this._css_beautify=ee,this._tag_stack=null;var Q=new b(K,"html");this._options=Q,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"}ae.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var J=this._source_text,K=this._options.eol;this._options.eol==="auto"&&(K=`
|
|
|
`,J&&A.test(J)&&(K=J.match(A)[0])),J=J.replace(D,`
|
|
|
`);var oe=J.match(/^[\t ]*/)[0],ee={text:"",type:""},Q=new ie(this._options),le=new M(this._options,oe),Z=new k(J,this._options).tokenize();this._tag_stack=new G(le);for(var $=null,se=Z.next();se.type!==R.EOF;)se.type===R.TAG_OPEN||se.type===R.COMMENT?($=this._handle_tag_open(le,se,Q,ee,Z),Q=$):se.type===R.ATTRIBUTE||se.type===R.EQUALS||se.type===R.VALUE||se.type===R.TEXT&&!Q.tag_complete?$=this._handle_inside_tag(le,se,Q,ee):se.type===R.TAG_CLOSE?$=this._handle_tag_close(le,se,Q):se.type===R.TEXT?$=this._handle_text(le,se,Q):se.type===R.CONTROL_FLOW_OPEN?$=this._handle_control_flow_open(le,se):se.type===R.CONTROL_FLOW_CLOSE?$=this._handle_control_flow_close(le,se):le.add_raw_token(se),ee=$,se=Z.next();var _e=le._output.get_code(K);return _e},ae.prototype._handle_control_flow_open=function(J,K){var oe={text:K.text,type:K.type};return J.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),K.newlines?J.print_preserved_newlines(K):J.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),J.print_token(K),J.indent(),oe},ae.prototype._handle_control_flow_close=function(J,K){var oe={text:K.text,type:K.type};return J.deindent(),K.newlines?J.print_preserved_newlines(K):J.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),J.print_token(K),oe},ae.prototype._handle_tag_close=function(J,K,oe){var ee={text:K.text,type:K.type};return J.alignment_size=0,oe.tag_complete=!0,J.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),oe.is_unformatted?J.add_raw_token(K):(oe.tag_start_char==="<"&&(J.set_space_before_token(K.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&oe.has_wrapped_attrs&&J.print_newline(!1)),J.print_token(K)),oe.indent_content&&!(oe.is_unformatted||oe.is_content_unformatted)&&(J.indent(),oe.indent_content=!1),!oe.is_inline_element&&!(oe.is_unformatted||oe.is_content_unformatted)&&J.set_wrap_point(),ee},ae.prototype._handle_inside_tag=function(J,K,oe,ee){var Q=oe.has_wrapped_attrs,le={text:K.text,type:K.type};return J.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),oe.is_unformatted?J.add_raw_token(K):oe.tag_start_char==="{"&&K.type===R.TEXT?J.print_preserved_newlines(K)?(K.newlines=0,J.add_raw_token(K)):J.print_token(K):(K.type===R.ATTRIBUTE?J.set_space_before_token(!0):(K.type===R.EQUALS||K.type===R.VALUE&&K.previous.type===R.EQUALS)&&J.set_space_before_token(!1),K.type===R.ATTRIBUTE&&oe.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(J.traverse_whitespace(K),Q=Q||K.newlines!==0),this._is_wrap_attributes_force&&oe.attr_count>=this._options.wrap_attributes_min_attrs&&(ee.type!==R.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(J.print_newline(!1),Q=!0)),J.print_token(K),Q=Q||J.previous_token_wrapped(),oe.has_wrapped_attrs=Q),le},ae.prototype._handle_text=function(J,K,oe){var ee={text:K.text,type:"TK_CONTENT"};return oe.custom_beautifier_name?this._print_custom_beatifier_text(J,K,oe):oe.is_unformatted||oe.is_content_unformatted?J.add_raw_token(K):(J.traverse_whitespace(K),J.print_token(K)),ee},ae.prototype._print_custom_beatifier_text=function(J,K,oe){var ee=this;if(K.text!==""){var Q=K.text,le,Z=1,$="",se="";oe.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?le=this._js_beautify:oe.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?le=this._css_beautify:oe.custom_beautifier_name==="html"&&(le=function(Bt,yt){var Dt=new ae(Bt,yt,ee._js_beautify,ee._css_beautify);return Dt.beautify()}),this._options.indent_scripts==="keep"?Z=0:this._options.indent_scripts==="separate"&&(Z=-J.indent_level);var _e=J.get_full_indent(Z);if(Q=Q.replace(/\n[ \t]*$/,""),oe.custom_beautifier_name!=="html"&&Q[0]==="<"&&Q.match(/^(<!--|<!\[CDATA\[)/)){var De=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(Q);if(!De){J.add_raw_token(K);return}$=_e+De[1]+`
|
|
|
`,Q=De[4],De[5]&&(se=_e+De[5]),Q=Q.replace(/\n[ \t]*$/,""),(De[2]||De[3].indexOf(`
|
|
|
`)!==-1)&&(De=De[3].match(/[ \t]+$/),De&&(K.whitespace_before=De[0]))}if(Q)if(le){var ke=function(){this.eol=`
|
|
|
`};ke.prototype=this._options.raw_options;var Ze=new ke;Q=le(_e+Q,Ze)}else{var Ne=K.whitespace_before;Ne&&(Q=Q.replace(new RegExp(`
|
|
|
(`+Ne+")?","g"),`
|
|
|
`)),Q=_e+Q.replace(/\n/g,`
|
|
|
`+_e)}$&&(Q?Q=$+Q+`
|
|
|
`+se:Q=$+se),J.print_newline(!1),Q&&(K.text=Q,K.whitespace_before="",K.newlines=0,J.add_raw_token(K),J.print_newline(!0))}},ae.prototype._handle_tag_open=function(J,K,oe,ee,Q){var le=this._get_tag_open_token(K);if((oe.is_unformatted||oe.is_content_unformatted)&&!oe.is_empty_element&&K.type===R.TAG_OPEN&&!le.is_start_tag?(J.add_raw_token(K),le.start_tag_token=this._tag_stack.try_pop(le.tag_name)):(J.traverse_whitespace(K),this._set_tag_position(J,K,le,oe,ee),le.is_inline_element||J.set_wrap_point(),J.print_token(K)),le.is_start_tag&&this._is_wrap_attributes_force){var Z=0,$;do $=Q.peek(Z),$.type===R.ATTRIBUTE&&(le.attr_count+=1),Z+=1;while($.type!==R.EOF&&$.type!==R.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(le.alignment_size=K.text.length+1),!le.tag_complete&&!le.is_unformatted&&(J.alignment_size=le.alignment_size),le};var ie=function(J,K,oe){if(this.parent=K||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="",!oe)this.tag_complete=!0;else{var ee;this.tag_start_char=oe.text[0],this.text=oe.text,this.tag_start_char==="<"?(ee=oe.text.match(/^<([^\s>]*)/),this.tag_check=ee?ee[1]:""):(ee=oe.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=ee?ee[1]:"",(oe.text.startsWith("{{#>")||oe.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&oe.next!==null?this.tag_check=oe.next.text.split(" ")[0]:this.tag_check=oe.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),oe.type===R.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||oe.closed&&oe.closed.text==="/>";var Q=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(Q=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!J.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(Q)))}};ae.prototype._get_tag_open_token=function(J){var K=new ie(this._options,this._tag_stack.get_parser_token(),J);return K.alignment_size=this._options.wrap_attributes_indent_size,K.is_end_tag=K.is_end_tag||Y(K.tag_check,this._options.void_elements),K.is_empty_element=K.tag_complete||K.is_start_tag&&K.is_end_tag,K.is_unformatted=!K.tag_complete&&Y(K.tag_check,this._options.unformatted),K.is_content_unformatted=!K.is_empty_element&&Y(K.tag_check,this._options.content_unformatted),K.is_inline_element=Y(K.tag_name,this._options.inline)||this._options.inline_custom_elements&&K.tag_name.includes("-")||K.tag_start_char==="{",K},ae.prototype._set_tag_position=function(J,K,oe,ee,Q){if(oe.is_empty_element||(oe.is_end_tag?oe.start_tag_token=this._tag_stack.try_pop(oe.tag_name):(this._do_optional_end_element(oe)&&(oe.is_inline_element||J.print_newline(!1)),this._tag_stack.record_tag(oe),(oe.tag_name==="script"||oe.tag_name==="style")&&!(oe.is_unformatted||oe.is_content_unformatted)&&(oe.custom_beautifier_name=j(oe.tag_check,K)))),Y(oe.tag_check,this._options.extra_liners)&&(J.print_newline(!1),J._output.just_added_blankline()||J.print_newline(!0)),oe.is_empty_element){if(oe.tag_start_char==="{"&&oe.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),oe.indent_content=!0;var le=J.current_line_has_match(/{{#if/);le||J.print_newline(!1)}oe.tag_name==="!--"&&Q.type===R.TAG_CLOSE&&ee.is_end_tag&&oe.text.indexOf(`
|
|
|
`)===-1||(oe.is_inline_element||oe.is_unformatted||J.print_newline(!1),this._calcluate_parent_multiline(J,oe))}else if(oe.is_end_tag){var Z=!1;Z=oe.start_tag_token&&oe.start_tag_token.multiline_content,Z=Z||!oe.is_inline_element&&!(ee.is_inline_element||ee.is_unformatted)&&!(Q.type===R.TAG_CLOSE&&oe.start_tag_token===ee)&&Q.type!=="TK_CONTENT",(oe.is_content_unformatted||oe.is_unformatted)&&(Z=!1),Z&&J.print_newline(!1)}else oe.indent_content=!oe.custom_beautifier_name,oe.tag_start_char==="<"&&(oe.tag_name==="html"?oe.indent_content=this._options.indent_inner_html:oe.tag_name==="head"?oe.indent_content=this._options.indent_head_inner_html:oe.tag_name==="body"&&(oe.indent_content=this._options.indent_body_inner_html)),!(oe.is_inline_element||oe.is_unformatted)&&(Q.type!=="TK_CONTENT"||oe.is_content_unformatted)&&J.print_newline(!1),this._calcluate_parent_multiline(J,oe)},ae.prototype._calcluate_parent_multiline=function(J,K){K.parent&&J._output.just_added_newline()&&!((K.is_inline_element||K.is_unformatted)&&K.parent.is_inline_element)&&(K.parent.multiline_content=!0)};var ue=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],q=["a","audio","del","ins","map","noscript","video"];ae.prototype._do_optional_end_element=function(J){var K=null;if(!(J.is_empty_element||!J.is_start_tag||!J.parent)){if(J.tag_name==="body")K=K||this._tag_stack.try_pop("head");else if(J.tag_name==="li")K=K||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(J.tag_name==="dd"||J.tag_name==="dt")K=K||this._tag_stack.try_pop("dt",["dl"]),K=K||this._tag_stack.try_pop("dd",["dl"]);else if(J.parent.tag_name==="p"&&ue.indexOf(J.tag_name)!==-1){var oe=J.parent.parent;(!oe||q.indexOf(oe.tag_name)===-1)&&(K=K||this._tag_stack.try_pop("p"))}else J.tag_name==="rp"||J.tag_name==="rt"?(K=K||this._tag_stack.try_pop("rt",["ruby","rtc"]),K=K||this._tag_stack.try_pop("rp",["ruby","rtc"])):J.tag_name==="optgroup"?K=K||this._tag_stack.try_pop("optgroup",["select"]):J.tag_name==="option"?K=K||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):J.tag_name==="colgroup"?K=K||this._tag_stack.try_pop("caption",["table"]):J.tag_name==="thead"?(K=K||this._tag_stack.try_pop("caption",["table"]),K=K||this._tag_stack.try_pop("colgroup",["table"])):J.tag_name==="tbody"||J.tag_name==="tfoot"?(K=K||this._tag_stack.try_pop("caption",["table"]),K=K||this._tag_stack.try_pop("colgroup",["table"]),K=K||this._tag_stack.try_pop("thead",["table"]),K=K||this._tag_stack.try_pop("tbody",["table"])):J.tag_name==="tr"?(K=K||this._tag_stack.try_pop("caption",["table"]),K=K||this._tag_stack.try_pop("colgroup",["table"]),K=K||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(J.tag_name==="th"||J.tag_name==="td")&&(K=K||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),K=K||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return J.parent=this._tag_stack.get_parser_token(),K}},p.exports.Beautifier=ae},function(p,y,_){var b=_(6).Options;function S(k){b.call(this,k,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}S.prototype=new b,p.exports.Options=S},function(p,y,_){var b=_(9).Tokenizer,S=_(9).TOKEN,k=_(13).Directives,R=_(14).TemplatablePattern,A=_(12).Pattern,D={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:S.START,RAW:S.RAW,EOF:S.EOF},M=new k(/<\!--/,/-->/),B=function(j,Y){b.call(this,j,Y),this._current_tag_name="";var V=new R(this._input).read_options(this._options),G=new A(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:G.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:G.starting_with(/{{!--/).until_after(/--}}/),handlebars:G.starting_with(/{{/).until_after(/}}/),handlebars_open:G.until(/[\n\r\t }]/),handlebars_raw_close:G.until(/}}/),comment:G.starting_with(/<!--/).until_after(/-->/),cdata:G.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:G.starting_with(/<!\[/).until_after(/]>/),processing:G.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 ae=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=G.matching(ae).until_after(ae)}};B.prototype=new b,B.prototype._is_comment=function(j){return!1},B.prototype._is_opening=function(j){return j.type===D.TAG_OPEN||j.type===D.CONTROL_FLOW_OPEN},B.prototype._is_closing=function(j,Y){return j.type===D.TAG_CLOSE&&Y&&((j.text===">"||j.text==="/>")&&Y.text[0]==="<"||j.text==="}}"&&Y.text[0]==="{"&&Y.text[1]==="{")||j.type===D.CONTROL_FLOW_CLOSE&&j.text==="}"&&Y.text.endsWith("{")},B.prototype._reset=function(){this._current_tag_name=""},B.prototype._get_next_token=function(j,Y){var V=null;this._readWhitespace();var G=this._input.peek();return G===null?this._create_token(D.EOF,""):(V=V||this._read_open_handlebars(G,Y),V=V||this._read_attribute(G,j,Y),V=V||this._read_close(G,Y),V=V||this._read_script_and_style(G,j),V=V||this._read_control_flows(G,Y),V=V||this._read_raw_content(G,j,Y),V=V||this._read_content_word(G,Y),V=V||this._read_comment_or_cdata(G),V=V||this._read_processing(G),V=V||this._read_open(G,Y),V=V||this._create_token(D.UNKNOWN,this._input.next()),V)},B.prototype._read_comment_or_cdata=function(j){var Y=null,V=null,G=null;if(j==="<"){var ae=this._input.peek(1);ae==="!"&&(V=this.__patterns.comment.read(),V?(G=M.get_directives(V),G&&G.ignore==="start"&&(V+=M.readIgnored(this._input))):V=this.__patterns.cdata.read()),V&&(Y=this._create_token(D.COMMENT,V),Y.directives=G)}return Y},B.prototype._read_processing=function(j){var Y=null,V=null,G=null;if(j==="<"){var ae=this._input.peek(1);(ae==="!"||ae==="?")&&(V=this.__patterns.conditional_comment.read(),V=V||this.__patterns.processing.read()),V&&(Y=this._create_token(D.COMMENT,V),Y.directives=G)}return Y},B.prototype._read_open=function(j,Y){var V=null,G=null;return(!Y||Y.type===D.CONTROL_FLOW_OPEN)&&j==="<"&&(V=this._input.next(),this._input.peek()==="/"&&(V+=this._input.next()),V+=this.__patterns.element_name.read(),G=this._create_token(D.TAG_OPEN,V)),G},B.prototype._read_open_handlebars=function(j,Y){var V=null,G=null;return(!Y||Y.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(),G=this._create_token(D.COMMENT,V)):(V=this.__patterns.handlebars_open.read(),G=this._create_token(D.TAG_OPEN,V))),G},B.prototype._read_control_flows=function(j,Y){var V="",G=null;if(!this._options.templating.includes("angular"))return G;if(j==="@"){if(V=this.__patterns.angular_control_flow_start.read(),V==="")return G;for(var ae=V.endsWith("(")?1:0,ie=0;!(V.endsWith("{")&&ae===ie);){var ue=this._input.next();if(ue===null)break;ue==="("?ae++:ue===")"&&ie++,V+=ue}G=this._create_token(D.CONTROL_FLOW_OPEN,V)}else j==="}"&&Y&&Y.type===D.CONTROL_FLOW_OPEN&&(V=this._input.next(),G=this._create_token(D.CONTROL_FLOW_CLOSE,V));return G},B.prototype._read_close=function(j,Y){var V=null,G=null;return Y&&Y.type===D.TAG_OPEN&&(Y.text[0]==="<"&&(j===">"||j==="/"&&this._input.peek(1)===">")?(V=this._input.next(),j==="/"&&(V+=this._input.next()),G=this._create_token(D.TAG_CLOSE,V)):Y.text[0]==="{"&&j==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),G=this._create_token(D.TAG_CLOSE,"}}"))),G},B.prototype._read_attribute=function(j,Y,V){var G=null,ae="";if(V&&V.text[0]==="<")if(j==="=")G=this._create_token(D.EQUALS,this._input.next());else if(j==='"'||j==="'"){var ie=this._input.next();j==='"'?ie+=this.__patterns.double_quote.read():ie+=this.__patterns.single_quote.read(),G=this._create_token(D.VALUE,ie)}else ae=this.__patterns.attribute.read(),ae&&(Y.type===D.EQUALS?G=this._create_token(D.VALUE,ae):G=this._create_token(D.ATTRIBUTE,ae));return G},B.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)},B.prototype._read_raw_content=function(j,Y,V){var G="";if(V&&V.text[0]==="{")G=this.__patterns.handlebars_raw_close.read();else if(Y.type===D.TAG_CLOSE&&Y.opened.text[0]==="<"&&Y.text[0]!=="/"){var ae=Y.opened.text.substr(1).toLowerCase();this._is_content_unformatted(ae)&&(G=this._input.readUntil(new RegExp("</"+ae+"[\\n\\r\\t ]*?>","ig")))}return G?this._create_token(D.TEXT,G):null},B.prototype._read_script_and_style=function(j,Y){if(Y.type===D.TAG_CLOSE&&Y.opened.text[0]==="<"&&Y.text[0]!=="/"){var V=Y.opened.text.substr(1).toLowerCase();if(V==="script"||V==="style"){var G=this._read_comment_or_cdata(j);if(G)return G.type=D.TEXT,G;var ae=this._input.readUntil(new RegExp("</"+V+"[\\n\\r\\t ]*?>","ig"));if(ae)return this._create_token(D.TEXT,ae)}}return null},B.prototype._read_content_word=function(j,Y){var V="";return this._options.unformatted_content_delimiter&&j===this._options.unformatted_content_delimiter[0]&&(V=this.__patterns.unformatted_content_delimiter.read()),V||(V=Y&&Y.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=B,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(v,r),i!==void 0&&(d.exports=i);else var f,o})()},58553:function(d,v){var e,r;(function(){var i;(function(){"use strict";var c=[function(u,a,x){var p=x(1).Beautifier,y=x(5).Options;function _(b,S){var k=new p(b,S);return k.beautify()}u.exports=_,u.exports.defaultOptions=function(){return new y}},function(u,a,x){var p=x(2).Output,y=x(3).Token,_=x(4),b=x(5).Options,S=x(7).Tokenizer,k=x(7).line_starters,R=x(7).positionable_operators,A=x(7).TOKEN;function D($,se){return se.indexOf($)!==-1}function M($){return $.replace(/^\s+/g,"")}function B($){for(var se={},_e=0;_e<$.length;_e++)se[$[_e].replace(/-/g,"_")]=$[_e];return se}function j($,se){return $&&$.type===A.RESERVED&&$.text===se}function Y($,se){return $&&$.type===A.RESERVED&&D($.text,se)}var V=["case","return","do","if","throw","else","await","break","continue","async"],G=["before-newline","after-newline","preserve-newline"],ae=B(G),ie=[ae.before_newline,ae.preserve_newline],ue={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function q($,se){se.multiline_frame||se.mode===ue.ForInitializer||se.mode===ue.Conditional||$.remove_indent(se.start_line_index)}function J($){$=$.replace(_.allLineBreaks,`
|
|
|
`);for(var se=[],_e=$.indexOf(`
|
|
|
`);_e!==-1;)se.push($.substring(0,_e)),$=$.substring(_e+1),_e=$.indexOf(`
|
|
|
`);return $.length&&se.push($),se}function K($){return $===ue.ArrayLiteral}function oe($){return D($,[ue.Expression,ue.ForInitializer,ue.Conditional])}function ee($,se){for(var _e=0;_e<$.length;_e++){var De=$[_e].trim();if(De.charAt(0)!==se)return!1}return!0}function Q($,se){for(var _e=0,De=$.length,ke;_e<De;_e++)if(ke=$[_e],ke&&ke.indexOf(se)!==0)return!1;return!0}function le($,se){se=se||{},this._source_text=$||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new b(se)}le.prototype.create_flags=function($,se){var _e=0;$&&(_e=$.indentation_level,!this._output.just_added_newline()&&$.line_indent_level>_e&&(_e=$.line_indent_level));var De={mode:se,parent:$,last_token:$?$.last_token:new y(A.START_BLOCK,""),last_word:$?$.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:_e,alignment:0,line_indent_level:$?$.line_indent_level:_e,start_line_index:this._output.get_line_number(),ternary_depth:0};return De},le.prototype._reset=function($){var se=$.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new p(this._options,se),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(ue.BlockStatement);var _e=new S($,this._options);return this._tokens=_e.tokenize(),$},le.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var $,se=this._reset(this._source_text),_e=this._options.eol;this._options.eol==="auto"&&(_e=`
|
|
|
`,se&&_.lineBreak.test(se||"")&&(_e=se.match(_.lineBreak)[0]));for(var De=this._tokens.next();De;)this.handle_token(De),this._last_last_text=this._flags.last_token.text,this._flags.last_token=De,De=this._tokens.next();return $=this._output.get_code(_e),$},le.prototype.handle_token=function($,se){$.type===A.START_EXPR?this.handle_start_expr($):$.type===A.END_EXPR?this.handle_end_expr($):$.type===A.START_BLOCK?this.handle_start_block($):$.type===A.END_BLOCK?this.handle_end_block($):$.type===A.WORD?this.handle_word($):$.type===A.RESERVED?this.handle_word($):$.type===A.SEMICOLON?this.handle_semicolon($):$.type===A.STRING?this.handle_string($):$.type===A.EQUALS?this.handle_equals($):$.type===A.OPERATOR?this.handle_operator($):$.type===A.COMMA?this.handle_comma($):$.type===A.BLOCK_COMMENT?this.handle_block_comment($,se):$.type===A.COMMENT?this.handle_comment($,se):$.type===A.DOT?this.handle_dot($):$.type===A.EOF?this.handle_eof($):$.type===A.UNKNOWN?this.handle_unknown($,se):this.handle_unknown($,se)},le.prototype.handle_whitespace_and_comments=function($,se){var _e=$.newlines,De=this._options.keep_array_indentation&&K(this._flags.mode);if($.comments_before)for(var ke=$.comments_before.next();ke;)this.handle_whitespace_and_comments(ke,se),this.handle_token(ke,se),ke=$.comments_before.next();if(De)for(var Ze=0;Ze<_e;Ze+=1)this.print_newline(Ze>0,se);else if(this._options.max_preserve_newlines&&_e>this._options.max_preserve_newlines&&(_e=this._options.max_preserve_newlines),this._options.preserve_newlines&&_e>1){this.print_newline(!1,se);for(var Ne=1;Ne<_e;Ne+=1)this.print_newline(!0,se)}};var Z=["async","break","continue","return","throw","yield"];le.prototype.allow_wrap_or_preserved_newline=function($,se){if(se=se===void 0?!1:se,!this._output.just_added_newline()){var _e=this._options.preserve_newlines&&$.newlines||se,De=D(this._flags.last_token.text,R)||D($.text,R);if(De){var ke=D(this._flags.last_token.text,R)&&D(this._options.operator_position,ie)||D($.text,R);_e=_e&&ke}if(_e)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(Y(this._flags.last_token,Z))return;this._output.set_wrap_point()}}},le.prototype.print_newline=function($,se){if(!se&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==A.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var _e=this._tokens.peek();this._flags.mode===ue.Statement&&!(this._flags.if_block&&j(_e,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line($)&&(this._flags.multiline_frame=!0)},le.prototype.print_token_line_indentation=function($){this._output.just_added_newline()&&(this._options.keep_array_indentation&&$.newlines&&($.text==="["||K(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push($.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},le.prototype.print_token=function($){if(this._output.raw){this._output.add_raw_token($);return}if(this._options.comma_first&&$.previous&&$.previous.type===A.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var se=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(se),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation($),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation($),this._output.non_breaking_space=!0,this._output.add_token($.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},le.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},le.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},le.prototype.set_mode=function($){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,$),this._flags=this.create_flags(this._previous_flags,$),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},le.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===ue.Statement&&q(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},le.prototype.start_of_object_property=function(){return this._flags.parent.mode===ue.ObjectLiteral&&this._flags.mode===ue.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||Y(this._flags.last_token,["get","set"]))},le.prototype.start_of_statement=function($){var se=!1;return se=se||Y(this._flags.last_token,["var","let","const"])&&$.type===A.WORD,se=se||j(this._flags.last_token,"do"),se=se||!(this._flags.parent.mode===ue.ObjectLiteral&&this._flags.mode===ue.Statement)&&Y(this._flags.last_token,Z)&&!$.newlines,se=se||j(this._flags.last_token,"else")&&!(j($,"if")&&!$.comments_before),se=se||this._flags.last_token.type===A.END_EXPR&&(this._previous_flags.mode===ue.ForInitializer||this._previous_flags.mode===ue.Conditional),se=se||this._flags.last_token.type===A.WORD&&this._flags.mode===ue.BlockStatement&&!this._flags.in_case&&!($.text==="--"||$.text==="++")&&this._last_last_text!=="function"&&$.type!==A.WORD&&$.type!==A.RESERVED,se=se||this._flags.mode===ue.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||Y(this._flags.last_token,["get","set"])),se?(this.set_mode(ue.Statement),this.indent(),this.handle_whitespace_and_comments($,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline($,Y($,["do","for","if","while"])),!0):!1},le.prototype.handle_start_expr=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($);var se=ue.Expression;if($.text==="["){if(this._flags.last_token.type===A.WORD||this._flags.last_token.text===")"){Y(this._flags.last_token,k)&&(this._output.space_before_token=!0),this.print_token($),this.set_mode(se),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}se=ue.ArrayLiteral,K(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,[A.START_EXPR,A.END_EXPR,A.WORD,A.OPERATOR,A.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===A.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,se=ue.ForInitializer):D(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,se=ue.Conditional):D(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&$.whitespace_before===""?this._output.space_before_token=!1:(D(this._flags.last_token.text,k)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===A.EQUALS||this._flags.last_token.type===A.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline($);else if(this._flags.last_token.type===A.WORD){this._output.space_before_token=!1;var _e=this._tokens.peek(-3);if(this._options.space_after_named_function&&_e){var De=this._tokens.peek(-4);Y(_e,["async","function"])||_e.text==="*"&&Y(De,["async","function"])?this._output.space_before_token=!0:this._flags.mode===ue.ObjectLiteral?(_e.text==="{"||_e.text===","||_e.text==="*"&&(De.text==="{"||De.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($);(this._flags.last_token.type===A.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===ue.ObjectLiteral&&D(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===A.START_BLOCK?this.print_newline():(this._flags.last_token.type===A.END_EXPR||this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===A.COMMA)&&this.allow_wrap_or_preserved_newline($,$.newlines),this.print_token($),this.set_mode(se),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},le.prototype.handle_end_expr=function($){for(;this._flags.mode===ue.Statement;)this.restore_mode();this.handle_whitespace_and_comments($),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline($,$.text==="]"&&K(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===A.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($),this.restore_mode(),q(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===ue.Conditional&&(this._previous_flags.mode=ue.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},le.prototype.handle_start_block=function($){this.handle_whitespace_and_comments($);var se=this._tokens.peek(),_e=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===A.END_EXPR?(this.set_mode(ue.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(ue.BlockStatement):_e&&(D(_e.text,[":",","])&&D(se.type,[A.STRING,A.WORD,A.RESERVED])||D(se.text,["get","set","..."])&&D(_e.type,[A.WORD,A.RESERVED]))?D(this._last_last_text,["class","interface"])&&!D(_e.text,[":",","])?this.set_mode(ue.BlockStatement):this.set_mode(ue.ObjectLiteral):this._flags.last_token.type===A.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(ue.BlockStatement):D(this._flags.last_token.type,[A.EQUALS,A.START_EXPR,A.COMMA,A.OPERATOR])||Y(this._flags.last_token,["return","throw","import","default"])?this.set_mode(ue.ObjectLiteral):this.set_mode(ue.BlockStatement),this._flags.last_token&&Y(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var De=!se.comments_before&&se.text==="}",ke=De&&this._flags.last_word==="function"&&this._flags.last_token.type===A.END_EXPR;if(this._options.brace_preserve_inline){var Ze=0,Ne=null;this._flags.inline_frame=!0;do if(Ze+=1,Ne=this._tokens.peek(Ze-1),Ne.newlines){this._flags.inline_frame=!1;break}while(Ne.type!==A.EOF&&!(Ne.type===A.END_BLOCK&&Ne.opened===$))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&$.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==A.OPERATOR&&(ke||this._flags.last_token.type===A.EQUALS||Y(this._flags.last_token,V)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(K(this._previous_flags.mode)&&(this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.COMMA)&&((this._flags.last_token.type===A.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline($),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==A.OPERATOR&&this._flags.last_token.type!==A.START_EXPR&&(D(this._flags.last_token.type,[A.START_BLOCK,A.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token($),this.indent(),!De&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},le.prototype.handle_end_block=function($){for(this.handle_whitespace_and_comments($);this._flags.mode===ue.Statement;)this.restore_mode();var se=this._flags.last_token.type===A.START_BLOCK;this._flags.inline_frame&&!se?this._output.space_before_token=!0:this._options.brace_style==="expand"?se||this.print_newline():se||(K(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($)},le.prototype.handle_word=function($){if($.type===A.RESERVED){if(D($.text,["set","get"])&&this._flags.mode!==ue.ObjectLiteral)$.type=A.WORD;else if($.text==="import"&&D(this._tokens.peek().text,["(","."]))$.type=A.WORD;else if(D($.text,["as","from"])&&!this._flags.import_block)$.type=A.WORD;else if(this._flags.mode===ue.ObjectLiteral){var se=this._tokens.peek();se.text===":"&&($.type=A.WORD)}}if(this.start_of_statement($)?Y(this._flags.last_token,["var","let","const"])&&$.type===A.WORD&&(this._flags.declaration_statement=!0):$.newlines&&!oe(this._flags.mode)&&(this._flags.last_token.type!==A.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==A.EQUALS&&(this._options.preserve_newlines||!Y(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments($),this.print_newline()):this.handle_whitespace_and_comments($),this._flags.do_block&&!this._flags.do_while)if(j($,"while")){this._output.space_before_token=!0,this.print_token($),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($,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===ue.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&Y($,["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($),this._flags.in_case=!0;return}if((this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.EQUALS||this._flags.last_token.type===A.OPERATOR)&&!this.start_of_object_property()&&!(D(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===ue.ObjectLiteral)&&this.allow_wrap_or_preserved_newline($),j($,"function")){(D(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(D(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===A.OPERATOR))&&!this._output.just_added_blankline()&&!$.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===A.RESERVED||this._flags.last_token.type===A.WORD?Y(this._flags.last_token,["get","set","new","export"])||Y(this._flags.last_token,Z)?this._output.space_before_token=!0:j(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===A.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(oe(this._flags.mode)||K(this._flags.mode))||this.print_newline(),this.print_token($),this._flags.last_word=$.text;return}var _e="NONE";if(this._flags.last_token.type===A.END_BLOCK?this._previous_flags.inline_frame?_e="SPACE":Y($,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&$.newlines?_e="NEWLINE":(_e="SPACE",this._output.space_before_token=!0):_e="NEWLINE":this._flags.last_token.type===A.SEMICOLON&&this._flags.mode===ue.BlockStatement?_e="NEWLINE":this._flags.last_token.type===A.SEMICOLON&&oe(this._flags.mode)?_e="SPACE":this._flags.last_token.type===A.STRING?_e="NEWLINE":this._flags.last_token.type===A.RESERVED||this._flags.last_token.type===A.WORD||this._flags.last_token.text==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===ue.ObjectLiteral&&D(this._last_last_text,["{",","]))?_e="SPACE":this._flags.last_token.type===A.START_BLOCK?this._flags.inline_frame?_e="SPACE":_e="NEWLINE":this._flags.last_token.type===A.END_EXPR&&(this._output.space_before_token=!0,_e="NEWLINE"),Y($,k)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?_e="SPACE":_e="NEWLINE"),Y($,["else","catch","finally"]))if((!(this._flags.last_token.type===A.END_BLOCK&&this._previous_flags.mode===ue.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&$.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var De=this._output.current_line;De.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else _e==="NEWLINE"?Y(this._flags.last_token,V)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&Y($,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==A.END_EXPR?(this._flags.last_token.type!==A.START_EXPR||!Y($,["var","let","const"]))&&this._flags.last_token.text!==":"&&(j($,"if")&&j($.previous,"else")?this._output.space_before_token=!0:this.print_newline()):Y($,k)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&K(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():_e==="SPACE"&&(this._output.space_before_token=!0);$.previous&&($.previous.type===A.WORD||$.previous.type===A.RESERVED)&&(this._output.space_before_token=!0),this.print_token($),this._flags.last_word=$.text,$.type===A.RESERVED&&($.text==="do"?this._flags.do_block=!0:$.text==="if"?this._flags.if_block=!0:$.text==="import"?this._flags.import_block=!0:this._flags.import_block&&j($,"from")&&(this._flags.import_block=!1))},le.prototype.handle_semicolon=function($){this.start_of_statement($)?this._output.space_before_token=!1:this.handle_whitespace_and_comments($);for(var se=this._tokens.peek();this._flags.mode===ue.Statement&&!(this._flags.if_block&&j(se,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token($)},le.prototype.handle_string=function($){$.text.startsWith("`")&&$.newlines===0&&$.whitespace_before===""&&($.previous.text===")"||this._flags.last_token.type===A.WORD)||(this.start_of_statement($)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments($),this._flags.last_token.type===A.RESERVED||this._flags.last_token.type===A.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.EQUALS||this._flags.last_token.type===A.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline($):$.text.startsWith("`")&&this._flags.last_token.type===A.END_EXPR&&($.previous.text==="]"||$.previous.text===")")&&$.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token($)},le.prototype.handle_equals=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token($),this._output.space_before_token=!0},le.prototype.handle_comma=function($){this.handle_whitespace_and_comments($,!0),this.print_token($),this._output.space_before_token=!0,this._flags.declaration_statement?(oe(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($)):this._flags.mode===ue.ObjectLiteral||this._flags.mode===ue.Statement&&this._flags.parent.mode===ue.ObjectLiteral?(this._flags.mode===ue.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline($)},le.prototype.handle_operator=function($){var se=$.text==="*"&&(Y(this._flags.last_token,["function","yield"])||D(this._flags.last_token.type,[A.START_BLOCK,A.COMMA,A.END_BLOCK,A.SEMICOLON])),_e=D($.text,["-","+"])&&(D(this._flags.last_token.type,[A.START_BLOCK,A.START_EXPR,A.EQUALS,A.OPERATOR])||D(this._flags.last_token.text,k)||this._flags.last_token.text===",");if(!this.start_of_statement($)){var De=!se;this.handle_whitespace_and_comments($,De)}if($.text==="*"&&this._flags.last_token.type===A.DOT){this.print_token($);return}if($.text==="::"){this.print_token($);return}if(D($.text,["-","+"])&&this.start_of_object_property()){this.print_token($);return}if(this._flags.last_token.type===A.OPERATOR&&D(this._options.operator_position,ie)&&this.allow_wrap_or_preserved_newline($),$.text===":"&&this._flags.in_case){this.print_token($),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==A.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 ke=!0,Ze=!0,Ne=!1;if($.text===":"?this._flags.ternary_depth===0?ke=!1:(this._flags.ternary_depth-=1,Ne=!0):$.text==="?"&&(this._flags.ternary_depth+=1),!_e&&!se&&this._options.preserve_newlines&&D($.text,R)){var Bt=$.text===":",yt=Bt&&Ne,Dt=Bt&&!Ne;switch(this._options.operator_position){case ae.before_newline:this._output.space_before_token=!Dt,this.print_token($),(!Bt||yt)&&this.allow_wrap_or_preserved_newline($),this._output.space_before_token=!0;return;case ae.after_newline:this._output.space_before_token=!0,!Bt||yt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline($):this._output.space_before_token=!1,this.print_token($),this._output.space_before_token=!0;return;case ae.preserve_newline:Dt||this.allow_wrap_or_preserved_newline($),ke=!(this._output.just_added_newline()||Dt),this._output.space_before_token=ke,this.print_token($),this._output.space_before_token=!0;return}}if(se){this.allow_wrap_or_preserved_newline($),ke=!1;var Jt=this._tokens.peek();Ze=Jt&&D(Jt.type,[A.WORD,A.RESERVED])}else if($.text==="...")this.allow_wrap_or_preserved_newline($),ke=this._flags.last_token.type===A.START_BLOCK,Ze=!1;else if(D($.text,["--","++","!","~"])||_e){if((this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR)&&this.allow_wrap_or_preserved_newline($),ke=!1,Ze=!1,$.newlines&&($.text==="--"||$.text==="++"||$.text==="~")){var er=Y(this._flags.last_token,V)&&$.newlines;er&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(er,!0)}this._flags.last_token.text===";"&&oe(this._flags.mode)&&(ke=!0),this._flags.last_token.type===A.RESERVED?ke=!0:this._flags.last_token.type===A.END_EXPR?ke=!(this._flags.last_token.text==="]"&&($.text==="--"||$.text==="++")):this._flags.last_token.type===A.OPERATOR&&(ke=D($.text,["--","-","++","+"])&&D(this._flags.last_token.text,["--","-","++","+"]),D($.text,["+","-"])&&D(this._flags.last_token.text,["--","++"])&&(Ze=!0)),(this._flags.mode===ue.BlockStatement&&!this._flags.inline_frame||this._flags.mode===ue.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||ke,this.print_token($),this._output.space_before_token=Ze},le.prototype.handle_block_comment=function($,se){if(this._output.raw){this._output.add_raw_token($),$.directives&&$.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if($.directives){this.print_newline(!1,se),this.print_token($),$.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!_.newline.test($.text)&&!$.newlines){this._output.space_before_token=!0,this.print_token($),this._output.space_before_token=!0;return}else this.print_block_commment($,se)},le.prototype.print_block_commment=function($,se){var _e=J($.text),De,ke=!1,Ze=!1,Ne=$.whitespace_before,Bt=Ne.length;if(this.print_newline(!1,se),this.print_token_line_indentation($),this._output.add_token(_e[0]),this.print_newline(!1,se),_e.length>1){for(_e=_e.slice(1),ke=ee(_e,"*"),Ze=Q(_e,Ne),ke&&(this._flags.alignment=1),De=0;De<_e.length;De++)ke?(this.print_token_line_indentation($),this._output.add_token(M(_e[De]))):Ze&&_e[De]?(this.print_token_line_indentation($),this._output.add_token(_e[De].substring(Bt))):(this._output.current_line.set_indent(-1),this._output.add_token(_e[De])),this.print_newline(!1,se);this._flags.alignment=0}},le.prototype.handle_comment=function($,se){$.newlines?this.print_newline(!1,se):this._output.trim(!0),this._output.space_before_token=!0,this.print_token($),this.print_newline(!1,se)},le.prototype.handle_dot=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),Y(this._flags.last_token,V)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline($,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($)},le.prototype.handle_unknown=function($,se){this.print_token($),$.text[$.text.length-1]===`
|
|
|
`&&this.print_newline(!1,se)},le.prototype.handle_eof=function($){for(;this._flags.mode===ue.Statement;)this.restore_mode();this.handle_whitespace_and_comments($)},u.exports.Beautifier=le},function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var _=this.__items.length-1;_>=0;_--)if(this.__items[_].match(y))return!0;return!1},a.prototype.set_indent=function(y,_){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=_||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var y=this.__parent.current_line;return y.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),y.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),y.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,y.__items[0]===" "&&(y.__items.splice(0,1),y.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(y){this.__items.push(y);var _=y.lastIndexOf(`
|
|
|
`);_!==-1?this.__character_count=y.length-_:this.__character_count+=y.length},a.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var y="";return this.is_empty()?this.__parent.indent_empty_lines&&(y=this.__parent.get_indent_string(this.__indent_count)):(y=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),y+=this.__items.join("")),y};function x(y,_){this.__cache=[""],this.__indent_size=y.indent_size,this.__indent_string=y.indent_char,y.indent_with_tabs||(this.__indent_string=new Array(y.indent_size+1).join(y.indent_char)),_=_||"",y.indent_level>0&&(_=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=_,this.__base_string_length=_.length}x.prototype.get_indent_size=function(y,_){var b=this.__base_string_length;return _=_||0,y<0&&(b=0),b+=y*this.__indent_size,b+=_,b},x.prototype.get_indent_string=function(y,_){var b=this.__base_string;return _=_||0,y<0&&(y=0,b=""),_+=y*this.__indent_size,this.__ensure_cache(_),b+=this.__cache[_],b},x.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},x.prototype.__add_column=function(){var y=this.__cache.length,_=0,b="";this.__indent_size&&y>=this.__indent_size&&(_=Math.floor(y/this.__indent_size),y-=_*this.__indent_size,b=new Array(_+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,_){this.__indent_cache=new x(y,_),this.raw=!1,this._end_with_newline=y.end_with_newline,this.indent_size=y.indent_size,this.wrap_line_length=y.wrap_line_length,this.indent_empty_lines=y.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}p.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},p.prototype.get_line_number=function(){return this.__lines.length},p.prototype.get_indent_string=function(y,_){return this.__indent_cache.get_indent_string(y,_)},p.prototype.get_indent_size=function(y,_){return this.__indent_cache.get_indent_size(y,_)},p.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},p.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},p.prototype.get_code=function(y){this.trim(!0);var _=this.current_line.pop();_&&(_[_.length-1]===`
|
|
|
`&&(_=_.replace(/\n+$/g,"")),this.current_line.push(_)),this._end_with_newline&&this.__add_outputline();var b=this.__lines.join(`
|
|
|
`);return y!==`
|
|
|
`&&(b=b.replace(/[\n]/g,y)),b},p.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},p.prototype.set_indent=function(y,_){return y=y||0,_=_||0,this.next_line.set_indent(y,_),this.__lines.length>1?(this.current_line.set_indent(y,_),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var _=0;_<y.newlines;_++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(y.whitespace_before),this.current_line.push(y.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},p.prototype.add_token=function(y){this.__add_space_before_token(),this.current_line.push(y),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},p.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},p.prototype.remove_indent=function(y){for(var _=this.__lines.length;y<_;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},p.prototype.trim=function(y){for(y=y===void 0?!1:y,this.current_line.trim();y&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},p.prototype.just_added_newline=function(){return this.current_line.is_empty()},p.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},p.prototype.ensure_empty_line_above=function(y,_){for(var b=this.__lines.length-2;b>=0;){var S=this.__lines[b];if(S.is_empty())break;if(S.item(0).indexOf(y)!==0&&S.item(-1)!==_){this.__lines.splice(b+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}b--}},u.exports.Output=p},function(u){function a(x,p,y,_){this.type=x,this.text=p,this.comments_before=null,this.newlines=y||0,this.whitespace_before=_||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}u.exports.Token=a},function(u,a){var x="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",p="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",y="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",_="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",b="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",S="(?:"+b+"|["+x+y+"])",k="(?:"+b+"|["+p+y+_+"])*";a.identifier=new RegExp(S+k,"g"),a.identifierStart=new RegExp(S),a.identifierMatch=new RegExp("(?:"+b+"|["+p+y+_+"])+");var R=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;a.newline=/[\n\r\u2028\u2029]/,a.lineBreak=new RegExp(`\r
|
|
|
|`+a.newline.source),a.allLineBreaks=new RegExp(a.lineBreak.source,"g")},function(u,a,x){var p=x(6).Options,y=["before-newline","after-newline","preserve-newline"];function _(b){p.call(this,b,"js");var S=this.raw_options.brace_style||null;S==="expand-strict"?this.raw_options.brace_style="expand":S==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var k=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var R=0;R<k.length;R++)k[R]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=k[R];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",y),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}_.prototype=new p,u.exports.Options=_},function(u){function a(y,_){this.raw_options=x(y,_),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}a.prototype._get_array=function(y,_){var b=this.raw_options[y],S=_||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(S=b.concat()):typeof b=="string"&&(S=b.split(/[^a-zA-Z0-9_\/\-]+/)),S},a.prototype._get_boolean=function(y,_){var b=this.raw_options[y],S=b===void 0?!!_:!!b;return S},a.prototype._get_characters=function(y,_){var b=this.raw_options[y],S=_||"";return typeof b=="string"&&(S=b.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),S},a.prototype._get_number=function(y,_){var b=this.raw_options[y];_=parseInt(_,10),isNaN(_)&&(_=0);var S=parseInt(b,10);return isNaN(S)&&(S=_),S},a.prototype._get_selection=function(y,_,b){var S=this._get_selection_list(y,_,b);if(S.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
|
|
|
`+_+`
|
|
|
You passed in: '`+this.raw_options[y]+"'");return S[0]},a.prototype._get_selection_list=function(y,_,b){if(!_||_.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[_[0]],!this._is_valid_selection(b,_))throw new Error("Invalid Default Value!");var S=this._get_array(y,b);if(!this._is_valid_selection(S,_))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
|
|
|
`+_+`
|
|
|
You passed in: '`+this.raw_options[y]+"'");return S},a.prototype._is_valid_selection=function(y,_){return y.length&&_.length&&!y.some(function(b){return _.indexOf(b)===-1})};function x(y,_){var b={};y=p(y);var S;for(S in y)S!==_&&(b[S]=y[S]);if(_&&y[_])for(S in y[_])b[S]=y[_][S];return b}function p(y){var _={},b;for(b in y){var S=b.replace(/-/g,"_");_[S]=y[b]}return _}u.exports.Options=a,u.exports.normalizeOpts=p,u.exports.mergeOpts=x},function(u,a,x){var p=x(8).InputScanner,y=x(9).Tokenizer,_=x(9).TOKEN,b=x(13).Directives,S=x(4),k=x(12).Pattern,R=x(14).TemplatablePattern;function A(ee,Q){return Q.indexOf(ee)!==-1}var D={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:_.START,RAW:_.RAW,EOF:_.EOF},M=new b(/\/\*/,/\*\//),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]/,Y=/[^\d\.]/,V=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),G=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";G=G.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),G="\\?\\.(?!\\d) "+G,G=G.replace(/ /g,"|");var ae=new RegExp(G),ie="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),ue=ie.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),q=new RegExp("^(?:"+ue.join("|")+")$"),J,K=function(ee,Q){y.call(this,ee,Q),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var le=new k(this._input),Z=new R(this._input).read_options(this._options);this.__patterns={template:Z,identifier:Z.starting_with(S.identifier).matching(S.identifierMatch),number:le.matching(B),punct:le.matching(ae),comment:le.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:le.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:le.matching(/<!--/),html_comment_end:le.matching(/-->/),include:le.starting_with(/#include/).until_after(S.lineBreak),shebang:le.starting_with(/#!/).until_after(S.lineBreak),xml:le.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:Z.until(/['\\\n\r\u2028\u2029]/),double_quote:Z.until(/["\\\n\r\u2028\u2029]/),template_text:Z.until(/[`\\$]/),template_expression:Z.until(/[`}\\]/)}};K.prototype=new y,K.prototype._is_comment=function(ee){return ee.type===D.COMMENT||ee.type===D.BLOCK_COMMENT||ee.type===D.UNKNOWN},K.prototype._is_opening=function(ee){return ee.type===D.START_BLOCK||ee.type===D.START_EXPR},K.prototype._is_closing=function(ee,Q){return(ee.type===D.END_BLOCK||ee.type===D.END_EXPR)&&Q&&(ee.text==="]"&&Q.text==="["||ee.text===")"&&Q.text==="("||ee.text==="}"&&Q.text==="{")},K.prototype._reset=function(){J=!1},K.prototype._get_next_token=function(ee,Q){var le=null;this._readWhitespace();var Z=this._input.peek();return Z===null?this._create_token(D.EOF,""):(le=le||this._read_non_javascript(Z),le=le||this._read_string(Z),le=le||this._read_pair(Z,this._input.peek(1)),le=le||this._read_word(ee),le=le||this._read_singles(Z),le=le||this._read_comment(Z),le=le||this._read_regexp(Z,ee),le=le||this._read_xml(Z,ee),le=le||this._read_punctuation(),le=le||this._create_token(D.UNKNOWN,this._input.next()),le)},K.prototype._read_word=function(ee){var Q;if(Q=this.__patterns.identifier.read(),Q!=="")return Q=Q.replace(S.allLineBreaks,`
|
|
|
`),!(ee.type===D.DOT||ee.type===D.RESERVED&&(ee.text==="set"||ee.text==="get"))&&q.test(Q)?(Q==="in"||Q==="of")&&(ee.type===D.WORD||ee.type===D.STRING)?this._create_token(D.OPERATOR,Q):this._create_token(D.RESERVED,Q):this._create_token(D.WORD,Q);if(Q=this.__patterns.number.read(),Q!=="")return this._create_token(D.WORD,Q)},K.prototype._read_singles=function(ee){var Q=null;return ee==="("||ee==="["?Q=this._create_token(D.START_EXPR,ee):ee===")"||ee==="]"?Q=this._create_token(D.END_EXPR,ee):ee==="{"?Q=this._create_token(D.START_BLOCK,ee):ee==="}"?Q=this._create_token(D.END_BLOCK,ee):ee===";"?Q=this._create_token(D.SEMICOLON,ee):ee==="."&&Y.test(this._input.peek(1))?Q=this._create_token(D.DOT,ee):ee===","&&(Q=this._create_token(D.COMMA,ee)),Q&&this._input.next(),Q},K.prototype._read_pair=function(ee,Q){var le=null;return ee==="#"&&Q==="{"&&(le=this._create_token(D.START_BLOCK,ee+Q)),le&&(this._input.next(),this._input.next()),le},K.prototype._read_punctuation=function(){var ee=this.__patterns.punct.read();if(ee!=="")return ee==="="?this._create_token(D.EQUALS,ee):ee==="?."?this._create_token(D.DOT,ee):this._create_token(D.OPERATOR,ee)},K.prototype._read_non_javascript=function(ee){var Q="";if(ee==="#"){if(this._is_first_token()&&(Q=this.__patterns.shebang.read(),Q))return this._create_token(D.UNKNOWN,Q.trim()+`
|
|
|
`);if(Q=this.__patterns.include.read(),Q)return this._create_token(D.UNKNOWN,Q.trim()+`
|
|
|
`);ee=this._input.next();var le="#";if(this._input.hasNext()&&this._input.testChar(j)){do ee=this._input.next(),le+=ee;while(this._input.hasNext()&&ee!=="#"&&ee!=="=");return ee==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(le+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(le+="{}",this._input.next(),this._input.next())),this._create_token(D.WORD,le)}this._input.back()}else if(ee==="<"&&this._is_first_token()){if(Q=this.__patterns.html_comment_start.read(),Q){for(;this._input.hasNext()&&!this._input.testChar(S.newline);)Q+=this._input.next();return J=!0,this._create_token(D.COMMENT,Q)}}else if(J&&ee==="-"&&(Q=this.__patterns.html_comment_end.read(),Q))return J=!1,this._create_token(D.COMMENT,Q);return null},K.prototype._read_comment=function(ee){var Q=null;if(ee==="/"){var le="";if(this._input.peek(1)==="*"){le=this.__patterns.block_comment.read();var Z=M.get_directives(le);Z&&Z.ignore==="start"&&(le+=M.readIgnored(this._input)),le=le.replace(S.allLineBreaks,`
|
|
|
`),Q=this._create_token(D.BLOCK_COMMENT,le),Q.directives=Z}else this._input.peek(1)==="/"&&(le=this.__patterns.comment.read(),Q=this._create_token(D.COMMENT,le))}return Q},K.prototype._read_string=function(ee){if(ee==="`"||ee==="'"||ee==='"'){var Q=this._input.next();return this.has_char_escapes=!1,ee==="`"?Q+=this._read_string_recursive("`",!0,"${"):Q+=this._read_string_recursive(ee),this.has_char_escapes&&this._options.unescape_strings&&(Q=oe(Q)),this._input.peek()===ee&&(Q+=this._input.next()),Q=Q.replace(S.allLineBreaks,`
|
|
|
`),this._create_token(D.STRING,Q)}return null},K.prototype._allow_regexp_or_xml=function(ee){return ee.type===D.RESERVED&&A(ee.text,["return","case","throw","else","do","typeof","yield"])||ee.type===D.END_EXPR&&ee.text===")"&&ee.opened.previous.type===D.RESERVED&&A(ee.opened.previous.text,["if","while","for"])||A(ee.type,[D.COMMENT,D.START_EXPR,D.START_BLOCK,D.START,D.END_BLOCK,D.OPERATOR,D.EQUALS,D.EOF,D.SEMICOLON,D.COMMA])},K.prototype._read_regexp=function(ee,Q){if(ee==="/"&&this._allow_regexp_or_xml(Q)){for(var le=this._input.next(),Z=!1,$=!1;this._input.hasNext()&&(Z||$||this._input.peek()!==ee)&&!this._input.testChar(S.newline);)le+=this._input.peek(),Z?Z=!1:(Z=this._input.peek()==="\\",this._input.peek()==="["?$=!0:this._input.peek()==="]"&&($=!1)),this._input.next();return this._input.peek()===ee&&(le+=this._input.next(),le+=this._input.read(S.identifier)),this._create_token(D.STRING,le)}return null},K.prototype._read_xml=function(ee,Q){if(this._options.e4x&&ee==="<"&&this._allow_regexp_or_xml(Q)){var le="",Z=this.__patterns.xml.read_match();if(Z){for(var $=Z[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),se=$.indexOf("{")===0,_e=0;Z;){var De=!!Z[1],ke=Z[2],Ze=!!Z[Z.length-1]||ke.slice(0,8)==="![CDATA[";if(!Ze&&(ke===$||se&&ke.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(De?--_e:++_e),le+=Z[0],_e<=0)break;Z=this.__patterns.xml.read_match()}return Z||(le+=this._input.match(/[\s\S]*/g)[0]),le=le.replace(S.allLineBreaks,`
|
|
|
`),this._create_token(D.STRING,le)}}return null};function oe(ee){for(var Q="",le=0,Z=new p(ee),$=null;Z.hasNext();)if($=Z.match(/([\s]|[^\\]|\\\\)+/g),$&&(Q+=$[0]),Z.peek()==="\\"){if(Z.next(),Z.peek()==="x")$=Z.match(/x([0-9A-Fa-f]{2})/g);else if(Z.peek()==="u")$=Z.match(/u([0-9A-Fa-f]{4})/g),$||($=Z.match(/u\{([0-9A-Fa-f]+)\}/g));else{Q+="\\",Z.hasNext()&&(Q+=Z.next());continue}if(!$||(le=parseInt($[1],16),le>126&&le<=255&&$[0].indexOf("x")===0))return ee;le>=0&&le<32||le>1114111?Q+="\\"+$[0]:le===34||le===39||le===92?Q+="\\"+String.fromCharCode(le):Q+=String.fromCharCode(le)}return Q}K.prototype._read_string_recursive=function(ee,Q,le){var Z,$;ee==="'"?$=this.__patterns.single_quote:ee==='"'?$=this.__patterns.double_quote:ee==="`"?$=this.__patterns.template_text:ee==="}"&&($=this.__patterns.template_expression);for(var se=$.read(),_e="";this._input.hasNext();){if(_e=this._input.next(),_e===ee||!Q&&S.newline.test(_e)){this._input.back();break}else _e==="\\"&&this._input.hasNext()?(Z=this._input.peek(),Z==="x"||Z==="u"?this.has_char_escapes=!0:Z==="\r"&&this._input.peek(1)===`
|
|
|
`&&this._input.next(),_e+=this._input.next()):le&&(le==="${"&&_e==="$"&&this._input.peek()==="{"&&(_e+=this._input.next()),le===_e&&(ee==="`"?_e+=this._read_string_recursive("}",Q,"`"):_e+=this._read_string_recursive("`",Q,"${"),this._input.hasNext()&&(_e+=this._input.next())));_e+=$.read(),se+=_e}return se},u.exports.Tokenizer=K,u.exports.TOKEN=D,u.exports.positionable_operators=V.slice(),u.exports.line_starters=ie.slice()},function(u){var a=RegExp.prototype.hasOwnProperty("sticky");function x(p){this.__input=p||"",this.__input_length=this.__input.length,this.__position=0}x.prototype.restart=function(){this.__position=0},x.prototype.back=function(){this.__position>0&&(this.__position-=1)},x.prototype.hasNext=function(){return this.__position<this.__input_length},x.prototype.next=function(){var p=null;return this.hasNext()&&(p=this.__input.charAt(this.__position),this.__position+=1),p},x.prototype.peek=function(p){var y=null;return p=p||0,p+=this.__position,p>=0&&p<this.__input_length&&(y=this.__input.charAt(p)),y},x.prototype.__match=function(p,y){p.lastIndex=y;var _=p.exec(this.__input);return _&&!(a&&p.sticky)&&_.index!==y&&(_=null),_},x.prototype.test=function(p,y){return y=y||0,y+=this.__position,y>=0&&y<this.__input_length?!!this.__match(p,y):!1},x.prototype.testChar=function(p,y){var _=this.peek(y);return p.lastIndex=0,_!==null&&p.test(_)},x.prototype.match=function(p){var y=this.__match(p,this.__position);return y?this.__position+=y[0].length:y=null,y},x.prototype.read=function(p,y,_){var b="",S;return p&&(S=this.match(p),S&&(b+=S[0])),y&&(S||!p)&&(b+=this.readUntil(y,_)),b},x.prototype.readUntil=function(p,y){var _="",b=this.__position;p.lastIndex=this.__position;var S=p.exec(this.__input);return S?(b=S.index,y&&(b+=S[0].length)):b=this.__input_length,_=this.__input.substring(this.__position,b),this.__position=b,_},x.prototype.readUntilAfter=function(p){return this.readUntil(p,!0)},x.prototype.get_regexp=function(p,y){var _=null,b="g";return y&&a&&(b="y"),typeof p=="string"&&p!==""?_=new RegExp(p,b):p&&(_=new RegExp(p.source,b)),_},x.prototype.get_literal_regexp=function(p){return RegExp(p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},x.prototype.peekUntilAfter=function(p){var y=this.__position,_=this.readUntilAfter(p);return this.__position=y,_},x.prototype.lookBack=function(p){var y=this.__position-1;return y>=p.length&&this.__input.substring(y-p.length,y).toLowerCase()===p},u.exports.InputScanner=x},function(u,a,x){var p=x(8).InputScanner,y=x(3).Token,_=x(10).TokenStream,b=x(11).WhitespacePattern,S={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},k=function(R,A){this._input=new p(R),this._options=A||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new b(this._input)};k.prototype.tokenize=function(){this._input.restart(),this.__tokens=new _,this._reset();for(var R,A=new y(S.START,""),D=null,M=[],B=new _;A.type!==S.EOF;){for(R=this._get_next_token(A,D);this._is_comment(R);)B.add(R),R=this._get_next_token(A,D);B.isEmpty()||(R.comments_before=B,B=new _),R.parent=D,this._is_opening(R)?(M.push(D),D=R):D&&this._is_closing(R,D)&&(R.opened=D,D.closed=R,D=M.pop(),R.parent=D),R.previous=A,A.next=R,this.__tokens.add(R),A=R}return this.__tokens},k.prototype._is_first_token=function(){return this.__tokens.isEmpty()},k.prototype._reset=function(){},k.prototype._get_next_token=function(R,A){this._readWhitespace();var D=this._input.read(/.+/g);return D?this._create_token(S.RAW,D):this._create_token(S.EOF,"")},k.prototype._is_comment=function(R){return!1},k.prototype._is_opening=function(R){return!1},k.prototype._is_closing=function(R,A){return!1},k.prototype._create_token=function(R,A){var D=new y(R,A,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return D},k.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},u.exports.Tokenizer=k,u.exports.TOKEN=S},function(u){function a(x){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=x}a.prototype.restart=function(){this.__position=0},a.prototype.isEmpty=function(){return this.__tokens_length===0},a.prototype.hasNext=function(){return this.__position<this.__tokens_length},a.prototype.next=function(){var x=null;return this.hasNext()&&(x=this.__tokens[this.__position],this.__position+=1),x},a.prototype.peek=function(x){var p=null;return x=x||0,x+=this.__position,x>=0&&x<this.__tokens_length&&(p=this.__tokens[x]),p},a.prototype.add=function(x){this.__parent_token&&(x.parent=this.__parent_token),this.__tokens.push(x),this.__tokens_length+=1},u.exports.TokenStream=a},function(u,a,x){var p=x(12).Pattern;function y(_,b){p.call(this,_,b),b?this._line_regexp=this._input.get_regexp(b._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}y.prototype=new p,y.prototype.__set_whitespace_patterns=function(_,b){_+="\\t ",b+="\\n\\r",this._match_pattern=this._input.get_regexp("["+_+b+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+b+"]")},y.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var _=this._input.read(this._match_pattern);if(_===" ")this.whitespace_before_token=" ";else if(_){var b=this.__split(this._newline_regexp,_);this.newline_count=b.length-1,this.whitespace_before_token=b[this.newline_count]}return _},y.prototype.matching=function(_,b){var S=this._create();return S.__set_whitespace_patterns(_,b),S._update(),S},y.prototype._create=function(){return new y(this._input,this)},y.prototype.__split=function(_,b){_.lastIndex=0;for(var S=0,k=[],R=_.exec(b);R;)k.push(b.substring(S,R.index)),S=R.index+R[0].length,R=_.exec(b);return S<b.length?k.push(b.substring(S,b.length)):k.push(""),k},u.exports.WhitespacePattern=y},function(u){function a(x,p){this._input=x,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,p&&(this._starting_pattern=this._input.get_regexp(p._starting_pattern,!0),this._match_pattern=this._input.get_regexp(p._match_pattern,!0),this._until_pattern=this._input.get_regexp(p._until_pattern),this._until_after=p._until_after)}a.prototype.read=function(){var x=this._input.read(this._starting_pattern);return(!this._starting_pattern||x)&&(x+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),x},a.prototype.read_match=function(){return this._input.match(this._match_pattern)},a.prototype.until_after=function(x){var p=this._create();return p._until_after=!0,p._until_pattern=this._input.get_regexp(x),p._update(),p},a.prototype.until=function(x){var p=this._create();return p._until_after=!1,p._until_pattern=this._input.get_regexp(x),p._update(),p},a.prototype.starting_with=function(x){var p=this._create();return p._starting_pattern=this._input.get_regexp(x,!0),p._update(),p},a.prototype.matching=function(x){var p=this._create();return p._match_pattern=this._input.get_regexp(x,!0),p._update(),p},a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){},u.exports.Pattern=a},function(u){function a(x,p){x=typeof x=="string"?x:x.source,p=typeof p=="string"?p:p.source,this.__directives_block_pattern=new RegExp(x+/ beautify( \w+[:]\w+)+ /.source+p,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(x+/\sbeautify\signore:end\s/.source+p,"g")}a.prototype.get_directives=function(x){if(!x.match(this.__directives_block_pattern))return null;var p={};this.__directive_pattern.lastIndex=0;for(var y=this.__directive_pattern.exec(x);y;)p[y[1]]=y[2],y=this.__directive_pattern.exec(x);return p},a.prototype.readIgnored=function(x){return x.readUntilAfter(this.__directives_end_ignore_pattern)},u.exports.Directives=a},function(u,a,x){var p=x(12).Pattern,y={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function _(b,S){p.call(this,b,S),this.__template_pattern=null,this._disabled=Object.assign({},y),this._excluded=Object.assign({},y),S&&(this.__template_pattern=this._input.get_regexp(S.__template_pattern),this._excluded=Object.assign(this._excluded,S._excluded),this._disabled=Object.assign(this._disabled,S._disabled));var k=new p(b);this.__patterns={handlebars_comment:k.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:k.starting_with(/{{{/).until_after(/}}}/),handlebars:k.starting_with(/{{/).until_after(/}}/),php:k.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:k.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:k.starting_with(/{%/).until_after(/%}/),django_value:k.starting_with(/{{/).until_after(/}}/),django_comment:k.starting_with(/{#/).until_after(/#}/),smarty:k.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:k.starting_with(/{\*/).until_after(/\*}/),smarty_literal:k.starting_with(/{literal}/).until_after(/{\/literal}/)}}_.prototype=new p,_.prototype._create=function(){return new _(this._input,this)},_.prototype._update=function(){this.__set_templated_pattern()},_.prototype.disable=function(b){var S=this._create();return S._disabled[b]=!0,S._update(),S},_.prototype.read_options=function(b){var S=this._create();for(var k in y)S._disabled[k]=b.templating.indexOf(k)===-1;return S._update(),S},_.prototype.exclude=function(b){var S=this._create();return S._excluded[b]=!0,S._update(),S},_.prototype.read=function(){var b="";this._match_pattern?b=this._input.read(this._starting_pattern):b=this._input.read(this._starting_pattern,this.__template_pattern);for(var S=this._read_template();S;)this._match_pattern?S+=this._input.read(this._match_pattern):S+=this._input.readUntil(this.__template_pattern),b+=S,S=this._read_template();return this._until_after&&(b+=this._input.readUntilAfter(this._until_pattern)),b},_.prototype.__set_templated_pattern=function(){var b=[];this._disabled.php||b.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||b.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||b.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||b.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(b.push(this.__patterns.django._starting_pattern.source),b.push(this.__patterns.django_value._starting_pattern.source),b.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||b.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&b.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+b.join("|")+")")},_.prototype._read_template=function(){var b="",S=this._input.peek();if(S==="<"){var k=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&k==="?"&&(b=b||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&k==="%"&&(b=b||this.__patterns.erb.read())}else S==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(b=b||this.__patterns.handlebars_comment.read(),b=b||this.__patterns.handlebars_unescaped.read(),b=b||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(b=b||this.__patterns.django_value.read()),this._excluded.django||(b=b||this.__patterns.django_comment.read(),b=b||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(b=b||this.__patterns.smarty_comment.read(),b=b||this.__patterns.smarty_literal.read(),b=b||this.__patterns.smarty.read()));return b},u.exports.TemplatablePattern=_}],f={};function 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(v,e),r!==void 0&&(d.exports=r)})()},15342:function(d){(function(e,r){d.exports=r()})(typeof self!="undefined"?self:this,function(){return function(v){var e={};function r(i){if(e[i])return e[i].exports;var l=e[i]={i,l:!1,exports:{}};return v[i].call(l.exports,l,l.exports,r),l.l=!0,l.exports}return r.m=v,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(v,e,r){},function(v,e,r){"use strict";r.r(e);var i=r(0),l=function(){function Ve(H,X,ne){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=H,this.start=X,this.end=ne}return Ve.range=function(X,ne){return ne?!X||!X.loc||!ne.loc||X.loc.lexer!==ne.loc.lexer?null:new Ve(X.loc.lexer,X.loc.start,ne.loc.end):X&&X.loc},Ve}(),c=function(){function Ve(X,ne){this.text=void 0,this.loc=void 0,this.text=X,this.loc=ne}var H=Ve.prototype;return H.range=function(ne,he){return new Ve(he,l.range(this,ne))},Ve}(),f=function Ve(H,X){this.position=void 0;var ne="KaTeX parse error: "+H,he,Ce=X&&X.loc;if(Ce&&Ce.start<=Ce.end){var Ge=Ce.lexer.input;he=Ce.start;var Tt=Ce.end;he===Ge.length?ne+=" at end of input: ":ne+=" at position "+(he+1)+": ";var Nt=Ge.slice(he,Tt).replace(/[^]/g,"$&\u0332"),ar;he>15?ar="\u2026"+Ge.slice(he-15,he):ar=Ge.slice(0,he);var Er;Tt+15<Ge.length?Er=Ge.slice(Tt,Tt+15)+"\u2026":Er=Ge.slice(Tt),ne+=ar+Nt+Er}var zt=new Error(ne);return zt.name="ParseError",zt.__proto__=Ve.prototype,zt.position=he,zt};f.prototype.__proto__=Error.prototype;var o=f,h=function(H,X){return H.indexOf(X)!==-1},u=function(H,X){return H===void 0?X:H},a=/([A-Z])/g,x=function(H){return H.replace(a,"-$1").toLowerCase()},p={"&":"&",">":">","<":"<",'"':""","'":"'"},y=/[&><"']/g;function _(Ve){return String(Ve).replace(y,function(H){return p[H]})}var b=function Ve(H){return H.type==="ordgroup"||H.type==="color"?H.body.length===1?Ve(H.body[0]):H:H.type==="font"?Ve(H.body):H},S=function(H){var X=b(H);return X.type==="mathord"||X.type==="textord"||X.type==="atom"},k=function(H){if(!H)throw new Error("Expected non-null, but got "+String(H));return H},R=function(H){var X=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(H);return X!=null?X[1]:"_relative"},A={contains:h,deflt:u,escape:_,hyphenate:x,getBaseElem:b,isCharacterBox:S,protocolFromUrl:R},D=function(){function Ve(X){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,X=X||{},this.displayMode=A.deflt(X.displayMode,!1),this.output=A.deflt(X.output,"htmlAndMathml"),this.leqno=A.deflt(X.leqno,!1),this.fleqn=A.deflt(X.fleqn,!1),this.throwOnError=A.deflt(X.throwOnError,!0),this.errorColor=A.deflt(X.errorColor,"#cc0000"),this.macros=X.macros||{},this.minRuleThickness=Math.max(0,A.deflt(X.minRuleThickness,0)),this.colorIsTextColor=A.deflt(X.colorIsTextColor,!1),this.strict=A.deflt(X.strict,"warn"),this.trust=A.deflt(X.trust,!1),this.maxSize=Math.max(0,A.deflt(X.maxSize,1/0)),this.maxExpand=Math.max(0,A.deflt(X.maxExpand,1e3))}var H=Ve.prototype;return H.reportNonstrict=function(ne,he,Ce){var Ge=this.strict;if(typeof Ge=="function"&&(Ge=Ge(ne,he,Ce)),!(!Ge||Ge==="ignore")){if(Ge===!0||Ge==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(he+" ["+ne+"]"),Ce);Ge==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(he+" ["+ne+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ge+"': "+he+" ["+ne+"]"))}},H.useStrictBehavior=function(ne,he,Ce){var Ge=this.strict;if(typeof Ge=="function")try{Ge=Ge(ne,he,Ce)}catch(Tt){Ge="error"}return!Ge||Ge==="ignore"?!1:Ge===!0||Ge==="error"?!0:Ge==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(he+" ["+ne+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ge+"': "+he+" ["+ne+"]")),!1)},H.isTrusted=function(ne){ne.url&&!ne.protocol&&(ne.protocol=A.protocolFromUrl(ne.url));var he=typeof this.trust=="function"?this.trust(ne):this.trust;return!!he},Ve}(),M=function(){function Ve(X,ne,he){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=X,this.size=ne,this.cramped=he}var H=Ve.prototype;return H.sup=function(){return q[J[this.id]]},H.sub=function(){return q[K[this.id]]},H.fracNum=function(){return q[oe[this.id]]},H.fracDen=function(){return q[ee[this.id]]},H.cramp=function(){return q[Q[this.id]]},H.text=function(){return q[le[this.id]]},H.isTight=function(){return this.size>=2},Ve}(),B=0,j=1,Y=2,V=3,G=4,ae=5,ie=6,ue=7,q=[new M(B,0,!1),new M(j,0,!0),new M(Y,1,!1),new M(V,1,!0),new M(G,2,!1),new M(ae,2,!0),new M(ie,3,!1),new M(ue,3,!0)],J=[G,ae,G,ae,ie,ue,ie,ue],K=[ae,ae,ae,ae,ue,ue,ue,ue],oe=[Y,V,G,ae,ie,ue,ie,ue],ee=[V,V,ae,ae,ue,ue,ue,ue],Q=[j,j,V,V,ae,ae,ue,ue],le=[B,j,Y,V,Y,V,Y,V],Z={DISPLAY:q[B],TEXT:q[Y],SCRIPT:q[G],SCRIPTSCRIPT:q[ie]},$=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function se(Ve){for(var H=0;H<$.length;H++)for(var X=$[H],ne=0;ne<X.blocks.length;ne++){var he=X.blocks[ne];if(Ve>=he[0]&&Ve<=he[1])return X.name}return null}var _e=[];$.forEach(function(Ve){return Ve.blocks.forEach(function(H){return _e.push.apply(_e,H)})});function De(Ve){for(var H=0;H<_e.length;H+=2)if(Ve>=_e[H]&&Ve<=_e[H+1])return!0;return!1}var ke=80,Ze=function(H,X){return"M95,"+(622+H+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`+H/2.075+" -"+H+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+H)+`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+H)+" "+X+"h400000v"+(40+H)+"h-400000z"},Ne=function(H,X){return"M263,"+(601+H+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`+H/2.084+" -"+H+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+H)+`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+H)+" "+X+"h400000v"+(40+H)+"h-400000z"},Bt=function(H,X){return"M983 "+(10+H+X)+`
|
|
|
l`+H/3.13+" -"+H+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+H)+`
|
|
|
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+H)+" "+X+"h400000v"+(40+H)+"h-400000z"},yt=function(H,X){return"M424,"+(2398+H+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`+H/4.223+" -"+H+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+H)+`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+H)+" "+X+`
|
|
|
h400000v`+(40+H)+"h-400000z"},Dt=function(H,X){return"M473,"+(2713+H+X)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+H/5.298+" -"+H+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+H)+`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+H)+" "+X+"h400000v"+(40+H)+"H1017.7z"},Jt=function(H,X,ne){var he=ne-54-X-H;return"M702 "+(H+X)+"H400000"+(40+H)+`
|
|
|
H742v`+he+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
|
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
|
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
|
219 661 l218 661zM702 `+X+"H400000v"+(40+H)+"H742z"},er=function(H,X,ne){X=1e3*X;var he="";switch(H){case"sqrtMain":he=Ze(X,ke);break;case"sqrtSize1":he=Ne(X,ke);break;case"sqrtSize2":he=Bt(X,ke);break;case"sqrtSize3":he=yt(X,ke);break;case"sqrtSize4":he=Dt(X,ke);break;case"sqrtTall":he=Jt(X,ke,ne)}return he},tr={doubleleftarrow:`M262 157
|
|
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
|
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
|
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
|
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
|
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
|
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
|
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
|
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
|
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
|
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
|
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
|
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
|
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
|
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
|
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
|
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
|
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
|
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
|
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
|
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
|
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
|
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
|
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
|
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
|
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
|
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
|
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
|
435 0h399565z`,leftgroupunder:`M400000 262
|
|
|
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
|
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
|
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
|
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
|
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
|
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
|
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
|
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
|
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
|
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
|
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
|
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
|
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
|
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
|
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
|
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
|
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
|
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
|
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
|
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
|
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
|
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
|
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
|
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
|
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
|
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
|
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
|
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
|
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
|
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
|
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
|
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
|
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
|
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
|
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
|
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
|
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
|
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
|
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
|
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
|
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
|
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
|
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
|
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
|
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
|
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
|
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
|
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
|
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
|
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
|
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
|
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
|
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
|
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
|
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
|
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
|
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
|
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
|
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
|
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
|
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
|
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
|
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
|
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
|
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
|
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
|
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
|
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
|
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
|
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
|
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
|
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
|
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
|
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
|
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
|
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
|
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
|
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
|
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
|
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
|
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
|
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
|
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
|
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
|
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
|
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
|
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
|
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
|
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
|
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
|
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
|
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
|
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
|
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
|
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
|
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
|
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
|
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
|
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
|
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
|
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
|
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
|
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
|
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
|
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
|
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
|
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
|
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
|
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
|
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
|
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
|
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
|
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
|
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
|
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
|
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
|
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
|
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
|
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
|
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
|
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
|
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
|
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
|
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
|
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
|
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
|
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Xe=function(){function Ve(X){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=X,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var H=Ve.prototype;return H.hasClass=function(ne){return A.contains(this.classes,ne)},H.toNode=function(){for(var ne=document.createDocumentFragment(),he=0;he<this.children.length;he++)ne.appendChild(this.children[he].toNode());return ne},H.toMarkup=function(){for(var ne="",he=0;he<this.children.length;he++)ne+=this.children[he].toMarkup();return ne},H.toText=function(){var ne=function(Ce){return Ce.toText()};return this.children.map(ne).join("")},Ve}(),Pt=function(H){return H.filter(function(X){return X}).join(" ")},Zt=function(H,X,ne){if(this.classes=H||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=ne||{},X){X.style.isTight()&&this.classes.push("mtight");var he=X.getColor();he&&(this.style.color=he)}},ot=function(H){var X=document.createElement(H);X.className=Pt(this.classes);for(var ne in this.style)this.style.hasOwnProperty(ne)&&(X.style[ne]=this.style[ne]);for(var he in this.attributes)this.attributes.hasOwnProperty(he)&&X.setAttribute(he,this.attributes[he]);for(var Ce=0;Ce<this.children.length;Ce++)X.appendChild(this.children[Ce].toNode());return X},xt=function(H){var X="<"+H;this.classes.length&&(X+=' class="'+A.escape(Pt(this.classes))+'"');var ne="";for(var he in this.style)this.style.hasOwnProperty(he)&&(ne+=A.hyphenate(he)+":"+this.style[he]+";");ne&&(X+=' style="'+A.escape(ne)+'"');for(var Ce in this.attributes)this.attributes.hasOwnProperty(Ce)&&(X+=" "+Ce+'="'+A.escape(this.attributes[Ce])+'"');X+=">";for(var Ge=0;Ge<this.children.length;Ge++)X+=this.children[Ge].toMarkup();return X+="</"+H+">",X},ht=function(){function Ve(X,ne,he,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,Zt.call(this,X,he,Ce),this.children=ne||[]}var H=Ve.prototype;return H.setAttribute=function(ne,he){this.attributes[ne]=he},H.hasClass=function(ne){return A.contains(this.classes,ne)},H.toNode=function(){return ot.call(this,"span")},H.toMarkup=function(){return xt.call(this,"span")},Ve}(),et=function(){function Ve(X,ne,he,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,Zt.call(this,ne,Ce),this.children=he||[],this.setAttribute("href",X)}var H=Ve.prototype;return H.setAttribute=function(ne,he){this.attributes[ne]=he},H.hasClass=function(ne){return A.contains(this.classes,ne)},H.toNode=function(){return ot.call(this,"a")},H.toMarkup=function(){return xt.call(this,"a")},Ve}(),je=function(){function Ve(X,ne,he){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=ne,this.src=X,this.classes=["mord"],this.style=he}var H=Ve.prototype;return H.hasClass=function(ne){return A.contains(this.classes,ne)},H.toNode=function(){var ne=document.createElement("img");ne.src=this.src,ne.alt=this.alt,ne.className="mord";for(var he in this.style)this.style.hasOwnProperty(he)&&(ne.style[he]=this.style[he]);return ne},H.toMarkup=function(){var ne="<img src='"+this.src+" 'alt='"+this.alt+"' ",he="";for(var Ce in this.style)this.style.hasOwnProperty(Ce)&&(he+=A.hyphenate(Ce)+":"+this.style[Ce]+";");return he&&(ne+=' style="'+A.escape(he)+'"'),ne+="'/>",ne},Ve}(),ge={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Se=function(){function Ve(X,ne,he,Ce,Ge,Tt,Nt,ar){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=ne||0,this.depth=he||0,this.italic=Ce||0,this.skew=Ge||0,this.width=Tt||0,this.classes=Nt||[],this.style=ar||{},this.maxFontSize=0;var Er=se(this.text.charCodeAt(0));Er&&this.classes.push(Er+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ge[this.text])}var H=Ve.prototype;return H.hasClass=function(ne){return A.contains(this.classes,ne)},H.toNode=function(){var ne=document.createTextNode(this.text),he=null;this.italic>0&&(he=document.createElement("span"),he.style.marginRight=this.italic+"em"),this.classes.length>0&&(he=he||document.createElement("span"),he.className=Pt(this.classes));for(var Ce in this.style)this.style.hasOwnProperty(Ce)&&(he=he||document.createElement("span"),he.style[Ce]=this.style[Ce]);return he?(he.appendChild(ne),he):ne},H.toMarkup=function(){var ne=!1,he="<span";this.classes.length&&(ne=!0,he+=' class="',he+=A.escape(Pt(this.classes)),he+='"');var Ce="";this.italic>0&&(Ce+="margin-right:"+this.italic+"em;");for(var Ge in this.style)this.style.hasOwnProperty(Ge)&&(Ce+=A.hyphenate(Ge)+":"+this.style[Ge]+";");Ce&&(ne=!0,he+=' style="'+A.escape(Ce)+'"');var Tt=A.escape(this.text);return ne?(he+=">",he+=Tt,he+="</span>",he):Tt},Ve}(),Me=function(){function Ve(X,ne){this.children=void 0,this.attributes=void 0,this.children=X||[],this.attributes=ne||{}}var H=Ve.prototype;return H.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"svg");for(var Ce in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ce)&&he.setAttribute(Ce,this.attributes[Ce]);for(var Ge=0;Ge<this.children.length;Ge++)he.appendChild(this.children[Ge].toNode());return he},H.toMarkup=function(){var ne="<svg";for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ne+=" "+he+"='"+this.attributes[he]+"'");ne+=">";for(var Ce=0;Ce<this.children.length;Ce++)ne+=this.children[Ce].toMarkup();return ne+="</svg>",ne},Ve}(),$e=function(){function Ve(X,ne){this.pathName=void 0,this.alternate=void 0,this.pathName=X,this.alternate=ne}var H=Ve.prototype;return H.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"path");return this.alternate?he.setAttribute("d",this.alternate):he.setAttribute("d",tr[this.pathName]),he},H.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+tr[this.pathName]+"'/>"},Ve}(),He=function(){function Ve(X){this.attributes=void 0,this.attributes=X||{}}var H=Ve.prototype;return H.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"line");for(var Ce in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ce)&&he.setAttribute(Ce,this.attributes[Ce]);return he},H.toMarkup=function(){var ne="<line";for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ne+=" "+he+"='"+this.attributes[he]+"'");return ne+="/>",ne},Ve}();function nt(Ve){if(Ve instanceof Se)return Ve;throw new Error("Expected symbolNode but got "+String(Ve)+".")}function ct(Ve){if(Ve instanceof ht)return Ve;throw new Error("Expected span<HtmlDomNode> but got "+String(Ve)+".")}var Vt={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},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]},Pe={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function qe(Ve,H){Vt[Ve]=H}function Yt(Ve,H,X){if(!Vt[H])throw new Error("Font metrics not found for font: "+H+".");var ne=Ve.charCodeAt(0),he=Vt[H][ne];if(!he&&Ve[0]in Pe&&(ne=Pe[Ve[0]].charCodeAt(0),he=Vt[H][ne]),!he&&X==="text"&&De(ne)&&(he=Vt[H][77]),he)return{depth:he[0],height:he[1],italic:he[2],skew:he[3],width:he[4]}}var Rt={};function Wt(Ve){var H;if(Ve>=5?H=0:Ve>=3?H=1:H=2,!Rt[H]){var X=Rt[H]={cssEmPerMu:Ht.quad[H]/18};for(var ne in Ht)Ht.hasOwnProperty(ne)&&(X[ne]=Ht[ne][H])}return Rt[H]}var $t={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},Xt={math:{},text:{}},We=Xt;function fe(Ve,H,X,ne,he,Ce){Xt[Ve][he]={font:H,group:X,replace:ne},Ce&&ne&&(Xt[Ve][ne]=Xt[Ve][he])}var pe="math",Ot="text",Te="main",dt="ams",Gt="accent-token",St="bin",Oe="close",wt="inner",be="mathord",Ke="op-token",gt="open",Ft="punct",Fe="rel",Dr="spacing",Ct="textord";fe(pe,Te,Fe,"\u2261","\\equiv",!0),fe(pe,Te,Fe,"\u227A","\\prec",!0),fe(pe,Te,Fe,"\u227B","\\succ",!0),fe(pe,Te,Fe,"\u223C","\\sim",!0),fe(pe,Te,Fe,"\u22A5","\\perp"),fe(pe,Te,Fe,"\u2AAF","\\preceq",!0),fe(pe,Te,Fe,"\u2AB0","\\succeq",!0),fe(pe,Te,Fe,"\u2243","\\simeq",!0),fe(pe,Te,Fe,"\u2223","\\mid",!0),fe(pe,Te,Fe,"\u226A","\\ll",!0),fe(pe,Te,Fe,"\u226B","\\gg",!0),fe(pe,Te,Fe,"\u224D","\\asymp",!0),fe(pe,Te,Fe,"\u2225","\\parallel"),fe(pe,Te,Fe,"\u22C8","\\bowtie",!0),fe(pe,Te,Fe,"\u2323","\\smile",!0),fe(pe,Te,Fe,"\u2291","\\sqsubseteq",!0),fe(pe,Te,Fe,"\u2292","\\sqsupseteq",!0),fe(pe,Te,Fe,"\u2250","\\doteq",!0),fe(pe,Te,Fe,"\u2322","\\frown",!0),fe(pe,Te,Fe,"\u220B","\\ni",!0),fe(pe,Te,Fe,"\u221D","\\propto",!0),fe(pe,Te,Fe,"\u22A2","\\vdash",!0),fe(pe,Te,Fe,"\u22A3","\\dashv",!0),fe(pe,Te,Fe,"\u220B","\\owns"),fe(pe,Te,Ft,".","\\ldotp"),fe(pe,Te,Ft,"\u22C5","\\cdotp"),fe(pe,Te,Ct,"#","\\#"),fe(Ot,Te,Ct,"#","\\#"),fe(pe,Te,Ct,"&","\\&"),fe(Ot,Te,Ct,"&","\\&"),fe(pe,Te,Ct,"\u2135","\\aleph",!0),fe(pe,Te,Ct,"\u2200","\\forall",!0),fe(pe,Te,Ct,"\u210F","\\hbar",!0),fe(pe,Te,Ct,"\u2203","\\exists",!0),fe(pe,Te,Ct,"\u2207","\\nabla",!0),fe(pe,Te,Ct,"\u266D","\\flat",!0),fe(pe,Te,Ct,"\u2113","\\ell",!0),fe(pe,Te,Ct,"\u266E","\\natural",!0),fe(pe,Te,Ct,"\u2663","\\clubsuit",!0),fe(pe,Te,Ct,"\u2118","\\wp",!0),fe(pe,Te,Ct,"\u266F","\\sharp",!0),fe(pe,Te,Ct,"\u2662","\\diamondsuit",!0),fe(pe,Te,Ct,"\u211C","\\Re",!0),fe(pe,Te,Ct,"\u2661","\\heartsuit",!0),fe(pe,Te,Ct,"\u2111","\\Im",!0),fe(pe,Te,Ct,"\u2660","\\spadesuit",!0),fe(Ot,Te,Ct,"\xA7","\\S",!0),fe(Ot,Te,Ct,"\xB6","\\P",!0),fe(pe,Te,Ct,"\u2020","\\dag"),fe(Ot,Te,Ct,"\u2020","\\dag"),fe(Ot,Te,Ct,"\u2020","\\textdagger"),fe(pe,Te,Ct,"\u2021","\\ddag"),fe(Ot,Te,Ct,"\u2021","\\ddag"),fe(Ot,Te,Ct,"\u2021","\\textdaggerdbl"),fe(pe,Te,Oe,"\u23B1","\\rmoustache",!0),fe(pe,Te,gt,"\u23B0","\\lmoustache",!0),fe(pe,Te,Oe,"\u27EF","\\rgroup",!0),fe(pe,Te,gt,"\u27EE","\\lgroup",!0),fe(pe,Te,St,"\u2213","\\mp",!0),fe(pe,Te,St,"\u2296","\\ominus",!0),fe(pe,Te,St,"\u228E","\\uplus",!0),fe(pe,Te,St,"\u2293","\\sqcap",!0),fe(pe,Te,St,"\u2217","\\ast"),fe(pe,Te,St,"\u2294","\\sqcup",!0),fe(pe,Te,St,"\u25EF","\\bigcirc"),fe(pe,Te,St,"\u2219","\\bullet"),fe(pe,Te,St,"\u2021","\\ddagger"),fe(pe,Te,St,"\u2240","\\wr",!0),fe(pe,Te,St,"\u2A3F","\\amalg"),fe(pe,Te,St,"&","\\And"),fe(pe,Te,Fe,"\u27F5","\\longleftarrow",!0),fe(pe,Te,Fe,"\u21D0","\\Leftarrow",!0),fe(pe,Te,Fe,"\u27F8","\\Longleftarrow",!0),fe(pe,Te,Fe,"\u27F6","\\longrightarrow",!0),fe(pe,Te,Fe,"\u21D2","\\Rightarrow",!0),fe(pe,Te,Fe,"\u27F9","\\Longrightarrow",!0),fe(pe,Te,Fe,"\u2194","\\leftrightarrow",!0),fe(pe,Te,Fe,"\u27F7","\\longleftrightarrow",!0),fe(pe,Te,Fe,"\u21D4","\\Leftrightarrow",!0),fe(pe,Te,Fe,"\u27FA","\\Longleftrightarrow",!0),fe(pe,Te,Fe,"\u21A6","\\mapsto",!0),fe(pe,Te,Fe,"\u27FC","\\longmapsto",!0),fe(pe,Te,Fe,"\u2197","\\nearrow",!0),fe(pe,Te,Fe,"\u21A9","\\hookleftarrow",!0),fe(pe,Te,Fe,"\u21AA","\\hookrightarrow",!0),fe(pe,Te,Fe,"\u2198","\\searrow",!0),fe(pe,Te,Fe,"\u21BC","\\leftharpoonup",!0),fe(pe,Te,Fe,"\u21C0","\\rightharpoonup",!0),fe(pe,Te,Fe,"\u2199","\\swarrow",!0),fe(pe,Te,Fe,"\u21BD","\\leftharpoondown",!0),fe(pe,Te,Fe,"\u21C1","\\rightharpoondown",!0),fe(pe,Te,Fe,"\u2196","\\nwarrow",!0),fe(pe,Te,Fe,"\u21CC","\\rightleftharpoons",!0),fe(pe,dt,Fe,"\u226E","\\nless",!0),fe(pe,dt,Fe,"\uE010","\\@nleqslant"),fe(pe,dt,Fe,"\uE011","\\@nleqq"),fe(pe,dt,Fe,"\u2A87","\\lneq",!0),fe(pe,dt,Fe,"\u2268","\\lneqq",!0),fe(pe,dt,Fe,"\uE00C","\\@lvertneqq"),fe(pe,dt,Fe,"\u22E6","\\lnsim",!0),fe(pe,dt,Fe,"\u2A89","\\lnapprox",!0),fe(pe,dt,Fe,"\u2280","\\nprec",!0),fe(pe,dt,Fe,"\u22E0","\\npreceq",!0),fe(pe,dt,Fe,"\u22E8","\\precnsim",!0),fe(pe,dt,Fe,"\u2AB9","\\precnapprox",!0),fe(pe,dt,Fe,"\u2241","\\nsim",!0),fe(pe,dt,Fe,"\uE006","\\@nshortmid"),fe(pe,dt,Fe,"\u2224","\\nmid",!0),fe(pe,dt,Fe,"\u22AC","\\nvdash",!0),fe(pe,dt,Fe,"\u22AD","\\nvDash",!0),fe(pe,dt,Fe,"\u22EA","\\ntriangleleft"),fe(pe,dt,Fe,"\u22EC","\\ntrianglelefteq",!0),fe(pe,dt,Fe,"\u228A","\\subsetneq",!0),fe(pe,dt,Fe,"\uE01A","\\@varsubsetneq"),fe(pe,dt,Fe,"\u2ACB","\\subsetneqq",!0),fe(pe,dt,Fe,"\uE017","\\@varsubsetneqq"),fe(pe,dt,Fe,"\u226F","\\ngtr",!0),fe(pe,dt,Fe,"\uE00F","\\@ngeqslant"),fe(pe,dt,Fe,"\uE00E","\\@ngeqq"),fe(pe,dt,Fe,"\u2A88","\\gneq",!0),fe(pe,dt,Fe,"\u2269","\\gneqq",!0),fe(pe,dt,Fe,"\uE00D","\\@gvertneqq"),fe(pe,dt,Fe,"\u22E7","\\gnsim",!0),fe(pe,dt,Fe,"\u2A8A","\\gnapprox",!0),fe(pe,dt,Fe,"\u2281","\\nsucc",!0),fe(pe,dt,Fe,"\u22E1","\\nsucceq",!0),fe(pe,dt,Fe,"\u22E9","\\succnsim",!0),fe(pe,dt,Fe,"\u2ABA","\\succnapprox",!0),fe(pe,dt,Fe,"\u2246","\\ncong",!0),fe(pe,dt,Fe,"\uE007","\\@nshortparallel"),fe(pe,dt,Fe,"\u2226","\\nparallel",!0),fe(pe,dt,Fe,"\u22AF","\\nVDash",!0),fe(pe,dt,Fe,"\u22EB","\\ntriangleright"),fe(pe,dt,Fe,"\u22ED","\\ntrianglerighteq",!0),fe(pe,dt,Fe,"\uE018","\\@nsupseteqq"),fe(pe,dt,Fe,"\u228B","\\supsetneq",!0),fe(pe,dt,Fe,"\uE01B","\\@varsupsetneq"),fe(pe,dt,Fe,"\u2ACC","\\supsetneqq",!0),fe(pe,dt,Fe,"\uE019","\\@varsupsetneqq"),fe(pe,dt,Fe,"\u22AE","\\nVdash",!0),fe(pe,dt,Fe,"\u2AB5","\\precneqq",!0),fe(pe,dt,Fe,"\u2AB6","\\succneqq",!0),fe(pe,dt,Fe,"\uE016","\\@nsubseteqq"),fe(pe,dt,St,"\u22B4","\\unlhd"),fe(pe,dt,St,"\u22B5","\\unrhd"),fe(pe,dt,Fe,"\u219A","\\nleftarrow",!0),fe(pe,dt,Fe,"\u219B","\\nrightarrow",!0),fe(pe,dt,Fe,"\u21CD","\\nLeftarrow",!0),fe(pe,dt,Fe,"\u21CF","\\nRightarrow",!0),fe(pe,dt,Fe,"\u21AE","\\nleftrightarrow",!0),fe(pe,dt,Fe,"\u21CE","\\nLeftrightarrow",!0),fe(pe,dt,Fe,"\u25B3","\\vartriangle"),fe(pe,dt,Ct,"\u210F","\\hslash"),fe(pe,dt,Ct,"\u25BD","\\triangledown"),fe(pe,dt,Ct,"\u25CA","\\lozenge"),fe(pe,dt,Ct,"\u24C8","\\circledS"),fe(pe,dt,Ct,"\xAE","\\circledR"),fe(Ot,dt,Ct,"\xAE","\\circledR"),fe(pe,dt,Ct,"\u2221","\\measuredangle",!0),fe(pe,dt,Ct,"\u2204","\\nexists"),fe(pe,dt,Ct,"\u2127","\\mho"),fe(pe,dt,Ct,"\u2132","\\Finv",!0),fe(pe,dt,Ct,"\u2141","\\Game",!0),fe(pe,dt,Ct,"\u2035","\\backprime"),fe(pe,dt,Ct,"\u25B2","\\blacktriangle"),fe(pe,dt,Ct,"\u25BC","\\blacktriangledown"),fe(pe,dt,Ct,"\u25A0","\\blacksquare"),fe(pe,dt,Ct,"\u29EB","\\blacklozenge"),fe(pe,dt,Ct,"\u2605","\\bigstar"),fe(pe,dt,Ct,"\u2222","\\sphericalangle",!0),fe(pe,dt,Ct,"\u2201","\\complement",!0),fe(pe,dt,Ct,"\xF0","\\eth",!0),fe(pe,dt,Ct,"\u2571","\\diagup"),fe(pe,dt,Ct,"\u2572","\\diagdown"),fe(pe,dt,Ct,"\u25A1","\\square"),fe(pe,dt,Ct,"\u25A1","\\Box"),fe(pe,dt,Ct,"\u25CA","\\Diamond"),fe(pe,dt,Ct,"\xA5","\\yen",!0),fe(Ot,dt,Ct,"\xA5","\\yen",!0),fe(pe,dt,Ct,"\u2713","\\checkmark",!0),fe(Ot,dt,Ct,"\u2713","\\checkmark"),fe(pe,dt,Ct,"\u2136","\\beth",!0),fe(pe,dt,Ct,"\u2138","\\daleth",!0),fe(pe,dt,Ct,"\u2137","\\gimel",!0),fe(pe,dt,Ct,"\u03DD","\\digamma",!0),fe(pe,dt,Ct,"\u03F0","\\varkappa"),fe(pe,dt,gt,"\u250C","\\ulcorner",!0),fe(pe,dt,Oe,"\u2510","\\urcorner",!0),fe(pe,dt,gt,"\u2514","\\llcorner",!0),fe(pe,dt,Oe,"\u2518","\\lrcorner",!0),fe(pe,dt,Fe,"\u2266","\\leqq",!0),fe(pe,dt,Fe,"\u2A7D","\\leqslant",!0),fe(pe,dt,Fe,"\u2A95","\\eqslantless",!0),fe(pe,dt,Fe,"\u2272","\\lesssim",!0),fe(pe,dt,Fe,"\u2A85","\\lessapprox",!0),fe(pe,dt,Fe,"\u224A","\\approxeq",!0),fe(pe,dt,St,"\u22D6","\\lessdot"),fe(pe,dt,Fe,"\u22D8","\\lll",!0),fe(pe,dt,Fe,"\u2276","\\lessgtr",!0),fe(pe,dt,Fe,"\u22DA","\\lesseqgtr",!0),fe(pe,dt,Fe,"\u2A8B","\\lesseqqgtr",!0),fe(pe,dt,Fe,"\u2251","\\doteqdot"),fe(pe,dt,Fe,"\u2253","\\risingdotseq",!0),fe(pe,dt,Fe,"\u2252","\\fallingdotseq",!0),fe(pe,dt,Fe,"\u223D","\\backsim",!0),fe(pe,dt,Fe,"\u22CD","\\backsimeq",!0),fe(pe,dt,Fe,"\u2AC5","\\subseteqq",!0),fe(pe,dt,Fe,"\u22D0","\\Subset",!0),fe(pe,dt,Fe,"\u228F","\\sqsubset",!0),fe(pe,dt,Fe,"\u227C","\\preccurlyeq",!0),fe(pe,dt,Fe,"\u22DE","\\curlyeqprec",!0),fe(pe,dt,Fe,"\u227E","\\precsim",!0),fe(pe,dt,Fe,"\u2AB7","\\precapprox",!0),fe(pe,dt,Fe,"\u22B2","\\vartriangleleft"),fe(pe,dt,Fe,"\u22B4","\\trianglelefteq"),fe(pe,dt,Fe,"\u22A8","\\vDash",!0),fe(pe,dt,Fe,"\u22AA","\\Vvdash",!0),fe(pe,dt,Fe,"\u2323","\\smallsmile"),fe(pe,dt,Fe,"\u2322","\\smallfrown"),fe(pe,dt,Fe,"\u224F","\\bumpeq",!0),fe(pe,dt,Fe,"\u224E","\\Bumpeq",!0),fe(pe,dt,Fe,"\u2267","\\geqq",!0),fe(pe,dt,Fe,"\u2A7E","\\geqslant",!0),fe(pe,dt,Fe,"\u2A96","\\eqslantgtr",!0),fe(pe,dt,Fe,"\u2273","\\gtrsim",!0),fe(pe,dt,Fe,"\u2A86","\\gtrapprox",!0),fe(pe,dt,St,"\u22D7","\\gtrdot"),fe(pe,dt,Fe,"\u22D9","\\ggg",!0),fe(pe,dt,Fe,"\u2277","\\gtrless",!0),fe(pe,dt,Fe,"\u22DB","\\gtreqless",!0),fe(pe,dt,Fe,"\u2A8C","\\gtreqqless",!0),fe(pe,dt,Fe,"\u2256","\\eqcirc",!0),fe(pe,dt,Fe,"\u2257","\\circeq",!0),fe(pe,dt,Fe,"\u225C","\\triangleq",!0),fe(pe,dt,Fe,"\u223C","\\thicksim"),fe(pe,dt,Fe,"\u2248","\\thickapprox"),fe(pe,dt,Fe,"\u2AC6","\\supseteqq",!0),fe(pe,dt,Fe,"\u22D1","\\Supset",!0),fe(pe,dt,Fe,"\u2290","\\sqsupset",!0),fe(pe,dt,Fe,"\u227D","\\succcurlyeq",!0),fe(pe,dt,Fe,"\u22DF","\\curlyeqsucc",!0),fe(pe,dt,Fe,"\u227F","\\succsim",!0),fe(pe,dt,Fe,"\u2AB8","\\succapprox",!0),fe(pe,dt,Fe,"\u22B3","\\vartriangleright"),fe(pe,dt,Fe,"\u22B5","\\trianglerighteq"),fe(pe,dt,Fe,"\u22A9","\\Vdash",!0),fe(pe,dt,Fe,"\u2223","\\shortmid"),fe(pe,dt,Fe,"\u2225","\\shortparallel"),fe(pe,dt,Fe,"\u226C","\\between",!0),fe(pe,dt,Fe,"\u22D4","\\pitchfork",!0),fe(pe,dt,Fe,"\u221D","\\varpropto"),fe(pe,dt,Fe,"\u25C0","\\blacktriangleleft"),fe(pe,dt,Fe,"\u2234","\\therefore",!0),fe(pe,dt,Fe,"\u220D","\\backepsilon"),fe(pe,dt,Fe,"\u25B6","\\blacktriangleright"),fe(pe,dt,Fe,"\u2235","\\because",!0),fe(pe,dt,Fe,"\u22D8","\\llless"),fe(pe,dt,Fe,"\u22D9","\\gggtr"),fe(pe,dt,St,"\u22B2","\\lhd"),fe(pe,dt,St,"\u22B3","\\rhd"),fe(pe,dt,Fe,"\u2242","\\eqsim",!0),fe(pe,Te,Fe,"\u22C8","\\Join"),fe(pe,dt,Fe,"\u2251","\\Doteq",!0),fe(pe,dt,St,"\u2214","\\dotplus",!0),fe(pe,dt,St,"\u2216","\\smallsetminus"),fe(pe,dt,St,"\u22D2","\\Cap",!0),fe(pe,dt,St,"\u22D3","\\Cup",!0),fe(pe,dt,St,"\u2A5E","\\doublebarwedge",!0),fe(pe,dt,St,"\u229F","\\boxminus",!0),fe(pe,dt,St,"\u229E","\\boxplus",!0),fe(pe,dt,St,"\u22C7","\\divideontimes",!0),fe(pe,dt,St,"\u22C9","\\ltimes",!0),fe(pe,dt,St,"\u22CA","\\rtimes",!0),fe(pe,dt,St,"\u22CB","\\leftthreetimes",!0),fe(pe,dt,St,"\u22CC","\\rightthreetimes",!0),fe(pe,dt,St,"\u22CF","\\curlywedge",!0),fe(pe,dt,St,"\u22CE","\\curlyvee",!0),fe(pe,dt,St,"\u229D","\\circleddash",!0),fe(pe,dt,St,"\u229B","\\circledast",!0),fe(pe,dt,St,"\u22C5","\\centerdot"),fe(pe,dt,St,"\u22BA","\\intercal",!0),fe(pe,dt,St,"\u22D2","\\doublecap"),fe(pe,dt,St,"\u22D3","\\doublecup"),fe(pe,dt,St,"\u22A0","\\boxtimes",!0),fe(pe,dt,Fe,"\u21E2","\\dashrightarrow",!0),fe(pe,dt,Fe,"\u21E0","\\dashleftarrow",!0),fe(pe,dt,Fe,"\u21C7","\\leftleftarrows",!0),fe(pe,dt,Fe,"\u21C6","\\leftrightarrows",!0),fe(pe,dt,Fe,"\u21DA","\\Lleftarrow",!0),fe(pe,dt,Fe,"\u219E","\\twoheadleftarrow",!0),fe(pe,dt,Fe,"\u21A2","\\leftarrowtail",!0),fe(pe,dt,Fe,"\u21AB","\\looparrowleft",!0),fe(pe,dt,Fe,"\u21CB","\\leftrightharpoons",!0),fe(pe,dt,Fe,"\u21B6","\\curvearrowleft",!0),fe(pe,dt,Fe,"\u21BA","\\circlearrowleft",!0),fe(pe,dt,Fe,"\u21B0","\\Lsh",!0),fe(pe,dt,Fe,"\u21C8","\\upuparrows",!0),fe(pe,dt,Fe,"\u21BF","\\upharpoonleft",!0),fe(pe,dt,Fe,"\u21C3","\\downharpoonleft",!0),fe(pe,dt,Fe,"\u22B8","\\multimap",!0),fe(pe,dt,Fe,"\u21AD","\\leftrightsquigarrow",!0),fe(pe,dt,Fe,"\u21C9","\\rightrightarrows",!0),fe(pe,dt,Fe,"\u21C4","\\rightleftarrows",!0),fe(pe,dt,Fe,"\u21A0","\\twoheadrightarrow",!0),fe(pe,dt,Fe,"\u21A3","\\rightarrowtail",!0),fe(pe,dt,Fe,"\u21AC","\\looparrowright",!0),fe(pe,dt,Fe,"\u21B7","\\curvearrowright",!0),fe(pe,dt,Fe,"\u21BB","\\circlearrowright",!0),fe(pe,dt,Fe,"\u21B1","\\Rsh",!0),fe(pe,dt,Fe,"\u21CA","\\downdownarrows",!0),fe(pe,dt,Fe,"\u21BE","\\upharpoonright",!0),fe(pe,dt,Fe,"\u21C2","\\downharpoonright",!0),fe(pe,dt,Fe,"\u21DD","\\rightsquigarrow",!0),fe(pe,dt,Fe,"\u21DD","\\leadsto"),fe(pe,dt,Fe,"\u21DB","\\Rrightarrow",!0),fe(pe,dt,Fe,"\u21BE","\\restriction"),fe(pe,Te,Ct,"\u2018","`"),fe(pe,Te,Ct,"$","\\$"),fe(Ot,Te,Ct,"$","\\$"),fe(Ot,Te,Ct,"$","\\textdollar"),fe(pe,Te,Ct,"%","\\%"),fe(Ot,Te,Ct,"%","\\%"),fe(pe,Te,Ct,"_","\\_"),fe(Ot,Te,Ct,"_","\\_"),fe(Ot,Te,Ct,"_","\\textunderscore"),fe(pe,Te,Ct,"\u2220","\\angle",!0),fe(pe,Te,Ct,"\u221E","\\infty",!0),fe(pe,Te,Ct,"\u2032","\\prime"),fe(pe,Te,Ct,"\u25B3","\\triangle"),fe(pe,Te,Ct,"\u0393","\\Gamma",!0),fe(pe,Te,Ct,"\u0394","\\Delta",!0),fe(pe,Te,Ct,"\u0398","\\Theta",!0),fe(pe,Te,Ct,"\u039B","\\Lambda",!0),fe(pe,Te,Ct,"\u039E","\\Xi",!0),fe(pe,Te,Ct,"\u03A0","\\Pi",!0),fe(pe,Te,Ct,"\u03A3","\\Sigma",!0),fe(pe,Te,Ct,"\u03A5","\\Upsilon",!0),fe(pe,Te,Ct,"\u03A6","\\Phi",!0),fe(pe,Te,Ct,"\u03A8","\\Psi",!0),fe(pe,Te,Ct,"\u03A9","\\Omega",!0),fe(pe,Te,Ct,"A","\u0391"),fe(pe,Te,Ct,"B","\u0392"),fe(pe,Te,Ct,"E","\u0395"),fe(pe,Te,Ct,"Z","\u0396"),fe(pe,Te,Ct,"H","\u0397"),fe(pe,Te,Ct,"I","\u0399"),fe(pe,Te,Ct,"K","\u039A"),fe(pe,Te,Ct,"M","\u039C"),fe(pe,Te,Ct,"N","\u039D"),fe(pe,Te,Ct,"O","\u039F"),fe(pe,Te,Ct,"P","\u03A1"),fe(pe,Te,Ct,"T","\u03A4"),fe(pe,Te,Ct,"X","\u03A7"),fe(pe,Te,Ct,"\xAC","\\neg",!0),fe(pe,Te,Ct,"\xAC","\\lnot"),fe(pe,Te,Ct,"\u22A4","\\top"),fe(pe,Te,Ct,"\u22A5","\\bot"),fe(pe,Te,Ct,"\u2205","\\emptyset"),fe(pe,dt,Ct,"\u2205","\\varnothing"),fe(pe,Te,be,"\u03B1","\\alpha",!0),fe(pe,Te,be,"\u03B2","\\beta",!0),fe(pe,Te,be,"\u03B3","\\gamma",!0),fe(pe,Te,be,"\u03B4","\\delta",!0),fe(pe,Te,be,"\u03F5","\\epsilon",!0),fe(pe,Te,be,"\u03B6","\\zeta",!0),fe(pe,Te,be,"\u03B7","\\eta",!0),fe(pe,Te,be,"\u03B8","\\theta",!0),fe(pe,Te,be,"\u03B9","\\iota",!0),fe(pe,Te,be,"\u03BA","\\kappa",!0),fe(pe,Te,be,"\u03BB","\\lambda",!0),fe(pe,Te,be,"\u03BC","\\mu",!0),fe(pe,Te,be,"\u03BD","\\nu",!0),fe(pe,Te,be,"\u03BE","\\xi",!0),fe(pe,Te,be,"\u03BF","\\omicron",!0),fe(pe,Te,be,"\u03C0","\\pi",!0),fe(pe,Te,be,"\u03C1","\\rho",!0),fe(pe,Te,be,"\u03C3","\\sigma",!0),fe(pe,Te,be,"\u03C4","\\tau",!0),fe(pe,Te,be,"\u03C5","\\upsilon",!0),fe(pe,Te,be,"\u03D5","\\phi",!0),fe(pe,Te,be,"\u03C7","\\chi",!0),fe(pe,Te,be,"\u03C8","\\psi",!0),fe(pe,Te,be,"\u03C9","\\omega",!0),fe(pe,Te,be,"\u03B5","\\varepsilon",!0),fe(pe,Te,be,"\u03D1","\\vartheta",!0),fe(pe,Te,be,"\u03D6","\\varpi",!0),fe(pe,Te,be,"\u03F1","\\varrho",!0),fe(pe,Te,be,"\u03C2","\\varsigma",!0),fe(pe,Te,be,"\u03C6","\\varphi",!0),fe(pe,Te,St,"\u2217","*"),fe(pe,Te,St,"+","+"),fe(pe,Te,St,"\u2212","-"),fe(pe,Te,St,"\u22C5","\\cdot",!0),fe(pe,Te,St,"\u2218","\\circ"),fe(pe,Te,St,"\xF7","\\div",!0),fe(pe,Te,St,"\xB1","\\pm",!0),fe(pe,Te,St,"\xD7","\\times",!0),fe(pe,Te,St,"\u2229","\\cap",!0),fe(pe,Te,St,"\u222A","\\cup",!0),fe(pe,Te,St,"\u2216","\\setminus"),fe(pe,Te,St,"\u2227","\\land"),fe(pe,Te,St,"\u2228","\\lor"),fe(pe,Te,St,"\u2227","\\wedge",!0),fe(pe,Te,St,"\u2228","\\vee",!0),fe(pe,Te,Ct,"\u221A","\\surd"),fe(pe,Te,gt,"(","("),fe(pe,Te,gt,"[","["),fe(pe,Te,gt,"\u27E8","\\langle",!0),fe(pe,Te,gt,"\u2223","\\lvert"),fe(pe,Te,gt,"\u2225","\\lVert"),fe(pe,Te,Oe,")",")"),fe(pe,Te,Oe,"]","]"),fe(pe,Te,Oe,"?","?"),fe(pe,Te,Oe,"!","!"),fe(pe,Te,Oe,"\u27E9","\\rangle",!0),fe(pe,Te,Oe,"\u2223","\\rvert"),fe(pe,Te,Oe,"\u2225","\\rVert"),fe(pe,Te,Fe,"=","="),fe(pe,Te,Fe,"<","<"),fe(pe,Te,Fe,">",">"),fe(pe,Te,Fe,":",":"),fe(pe,Te,Fe,"\u2248","\\approx",!0),fe(pe,Te,Fe,"\u2245","\\cong",!0),fe(pe,Te,Fe,"\u2265","\\ge"),fe(pe,Te,Fe,"\u2265","\\geq",!0),fe(pe,Te,Fe,"\u2190","\\gets"),fe(pe,Te,Fe,">","\\gt"),fe(pe,Te,Fe,"\u2208","\\in",!0),fe(pe,Te,Fe,"\uE020","\\@not"),fe(pe,Te,Fe,"\u2282","\\subset",!0),fe(pe,Te,Fe,"\u2283","\\supset",!0),fe(pe,Te,Fe,"\u2286","\\subseteq",!0),fe(pe,Te,Fe,"\u2287","\\supseteq",!0),fe(pe,dt,Fe,"\u2288","\\nsubseteq",!0),fe(pe,dt,Fe,"\u2289","\\nsupseteq",!0),fe(pe,Te,Fe,"\u22A8","\\models"),fe(pe,Te,Fe,"\u2190","\\leftarrow",!0),fe(pe,Te,Fe,"\u2264","\\le"),fe(pe,Te,Fe,"\u2264","\\leq",!0),fe(pe,Te,Fe,"<","\\lt"),fe(pe,Te,Fe,"\u2192","\\rightarrow",!0),fe(pe,Te,Fe,"\u2192","\\to"),fe(pe,dt,Fe,"\u2271","\\ngeq",!0),fe(pe,dt,Fe,"\u2270","\\nleq",!0),fe(pe,Te,Dr,"\xA0","\\ "),fe(pe,Te,Dr,"\xA0","~"),fe(pe,Te,Dr,"\xA0","\\space"),fe(pe,Te,Dr,"\xA0","\\nobreakspace"),fe(Ot,Te,Dr,"\xA0","\\ "),fe(Ot,Te,Dr,"\xA0","~"),fe(Ot,Te,Dr,"\xA0","\\space"),fe(Ot,Te,Dr,"\xA0","\\nobreakspace"),fe(pe,Te,Dr,null,"\\nobreak"),fe(pe,Te,Dr,null,"\\allowbreak"),fe(pe,Te,Ft,",",","),fe(pe,Te,Ft,";",";"),fe(pe,dt,St,"\u22BC","\\barwedge",!0),fe(pe,dt,St,"\u22BB","\\veebar",!0),fe(pe,Te,St,"\u2299","\\odot",!0),fe(pe,Te,St,"\u2295","\\oplus",!0),fe(pe,Te,St,"\u2297","\\otimes",!0),fe(pe,Te,Ct,"\u2202","\\partial",!0),fe(pe,Te,St,"\u2298","\\oslash",!0),fe(pe,dt,St,"\u229A","\\circledcirc",!0),fe(pe,dt,St,"\u22A1","\\boxdot",!0),fe(pe,Te,St,"\u25B3","\\bigtriangleup"),fe(pe,Te,St,"\u25BD","\\bigtriangledown"),fe(pe,Te,St,"\u2020","\\dagger"),fe(pe,Te,St,"\u22C4","\\diamond"),fe(pe,Te,St,"\u22C6","\\star"),fe(pe,Te,St,"\u25C3","\\triangleleft"),fe(pe,Te,St,"\u25B9","\\triangleright"),fe(pe,Te,gt,"{","\\{"),fe(Ot,Te,Ct,"{","\\{"),fe(Ot,Te,Ct,"{","\\textbraceleft"),fe(pe,Te,Oe,"}","\\}"),fe(Ot,Te,Ct,"}","\\}"),fe(Ot,Te,Ct,"}","\\textbraceright"),fe(pe,Te,gt,"{","\\lbrace"),fe(pe,Te,Oe,"}","\\rbrace"),fe(pe,Te,gt,"[","\\lbrack"),fe(Ot,Te,Ct,"[","\\lbrack"),fe(pe,Te,Oe,"]","\\rbrack"),fe(Ot,Te,Ct,"]","\\rbrack"),fe(pe,Te,gt,"(","\\lparen"),fe(pe,Te,Oe,")","\\rparen"),fe(Ot,Te,Ct,"<","\\textless"),fe(Ot,Te,Ct,">","\\textgreater"),fe(pe,Te,gt,"\u230A","\\lfloor",!0),fe(pe,Te,Oe,"\u230B","\\rfloor",!0),fe(pe,Te,gt,"\u2308","\\lceil",!0),fe(pe,Te,Oe,"\u2309","\\rceil",!0),fe(pe,Te,Ct,"\\","\\backslash"),fe(pe,Te,Ct,"\u2223","|"),fe(pe,Te,Ct,"\u2223","\\vert"),fe(Ot,Te,Ct,"|","\\textbar"),fe(pe,Te,Ct,"\u2225","\\|"),fe(pe,Te,Ct,"\u2225","\\Vert"),fe(Ot,Te,Ct,"\u2225","\\textbardbl"),fe(Ot,Te,Ct,"~","\\textasciitilde"),fe(Ot,Te,Ct,"\\","\\textbackslash"),fe(Ot,Te,Ct,"^","\\textasciicircum"),fe(pe,Te,Fe,"\u2191","\\uparrow",!0),fe(pe,Te,Fe,"\u21D1","\\Uparrow",!0),fe(pe,Te,Fe,"\u2193","\\downarrow",!0),fe(pe,Te,Fe,"\u21D3","\\Downarrow",!0),fe(pe,Te,Fe,"\u2195","\\updownarrow",!0),fe(pe,Te,Fe,"\u21D5","\\Updownarrow",!0),fe(pe,Te,Ke,"\u2210","\\coprod"),fe(pe,Te,Ke,"\u22C1","\\bigvee"),fe(pe,Te,Ke,"\u22C0","\\bigwedge"),fe(pe,Te,Ke,"\u2A04","\\biguplus"),fe(pe,Te,Ke,"\u22C2","\\bigcap"),fe(pe,Te,Ke,"\u22C3","\\bigcup"),fe(pe,Te,Ke,"\u222B","\\int"),fe(pe,Te,Ke,"\u222B","\\intop"),fe(pe,Te,Ke,"\u222C","\\iint"),fe(pe,Te,Ke,"\u222D","\\iiint"),fe(pe,Te,Ke,"\u220F","\\prod"),fe(pe,Te,Ke,"\u2211","\\sum"),fe(pe,Te,Ke,"\u2A02","\\bigotimes"),fe(pe,Te,Ke,"\u2A01","\\bigoplus"),fe(pe,Te,Ke,"\u2A00","\\bigodot"),fe(pe,Te,Ke,"\u222E","\\oint"),fe(pe,Te,Ke,"\u222F","\\oiint"),fe(pe,Te,Ke,"\u2230","\\oiiint"),fe(pe,Te,Ke,"\u2A06","\\bigsqcup"),fe(pe,Te,Ke,"\u222B","\\smallint"),fe(Ot,Te,wt,"\u2026","\\textellipsis"),fe(pe,Te,wt,"\u2026","\\mathellipsis"),fe(Ot,Te,wt,"\u2026","\\ldots",!0),fe(pe,Te,wt,"\u2026","\\ldots",!0),fe(pe,Te,wt,"\u22EF","\\@cdots",!0),fe(pe,Te,wt,"\u22F1","\\ddots",!0),fe(pe,Te,Ct,"\u22EE","\\varvdots"),fe(pe,Te,Gt,"\u02CA","\\acute"),fe(pe,Te,Gt,"\u02CB","\\grave"),fe(pe,Te,Gt,"\xA8","\\ddot"),fe(pe,Te,Gt,"~","\\tilde"),fe(pe,Te,Gt,"\u02C9","\\bar"),fe(pe,Te,Gt,"\u02D8","\\breve"),fe(pe,Te,Gt,"\u02C7","\\check"),fe(pe,Te,Gt,"^","\\hat"),fe(pe,Te,Gt,"\u20D7","\\vec"),fe(pe,Te,Gt,"\u02D9","\\dot"),fe(pe,Te,Gt,"\u02DA","\\mathring"),fe(pe,Te,be,"\u0131","\\imath",!0),fe(pe,Te,be,"\u0237","\\jmath",!0),fe(Ot,Te,Ct,"\u0131","\\i",!0),fe(Ot,Te,Ct,"\u0237","\\j",!0),fe(Ot,Te,Ct,"\xDF","\\ss",!0),fe(Ot,Te,Ct,"\xE6","\\ae",!0),fe(Ot,Te,Ct,"\xE6","\\ae",!0),fe(Ot,Te,Ct,"\u0153","\\oe",!0),fe(Ot,Te,Ct,"\xF8","\\o",!0),fe(Ot,Te,Ct,"\xC6","\\AE",!0),fe(Ot,Te,Ct,"\u0152","\\OE",!0),fe(Ot,Te,Ct,"\xD8","\\O",!0),fe(Ot,Te,Gt,"\u02CA","\\'"),fe(Ot,Te,Gt,"\u02CB","\\`"),fe(Ot,Te,Gt,"\u02C6","\\^"),fe(Ot,Te,Gt,"\u02DC","\\~"),fe(Ot,Te,Gt,"\u02C9","\\="),fe(Ot,Te,Gt,"\u02D8","\\u"),fe(Ot,Te,Gt,"\u02D9","\\."),fe(Ot,Te,Gt,"\u02DA","\\r"),fe(Ot,Te,Gt,"\u02C7","\\v"),fe(Ot,Te,Gt,"\xA8",'\\"'),fe(Ot,Te,Gt,"\u02DD","\\H"),fe(Ot,Te,Gt,"\u25EF","\\textcircled");var Gr={"--":!0,"---":!0,"``":!0,"''":!0};fe(Ot,Te,Ct,"\u2013","--"),fe(Ot,Te,Ct,"\u2013","\\textendash"),fe(Ot,Te,Ct,"\u2014","---"),fe(Ot,Te,Ct,"\u2014","\\textemdash"),fe(Ot,Te,Ct,"\u2018","`"),fe(Ot,Te,Ct,"\u2018","\\textquoteleft"),fe(Ot,Te,Ct,"\u2019","'"),fe(Ot,Te,Ct,"\u2019","\\textquoteright"),fe(Ot,Te,Ct,"\u201C","``"),fe(Ot,Te,Ct,"\u201C","\\textquotedblleft"),fe(Ot,Te,Ct,"\u201D","''"),fe(Ot,Te,Ct,"\u201D","\\textquotedblright"),fe(pe,Te,Ct,"\xB0","\\degree",!0),fe(Ot,Te,Ct,"\xB0","\\degree"),fe(Ot,Te,Ct,"\xB0","\\textdegree",!0),fe(pe,Te,be,"\xA3","\\pounds"),fe(pe,Te,be,"\xA3","\\mathsterling",!0),fe(Ot,Te,be,"\xA3","\\pounds"),fe(Ot,Te,be,"\xA3","\\textsterling",!0),fe(pe,dt,Ct,"\u2720","\\maltese"),fe(Ot,dt,Ct,"\u2720","\\maltese"),fe(Ot,Te,Dr,"\xA0","\\ "),fe(Ot,Te,Dr,"\xA0"," "),fe(Ot,Te,Dr,"\xA0","~");for(var Qr='0123456789/@."',Cr=0;Cr<Qr.length;Cr++){var Fr=Qr.charAt(Cr);fe(pe,Te,Ct,Fr,Fr)}for(var mr='0123456789!@*()-=+[]<>|";:?/.,',jr=0;jr<mr.length;jr++){var sn=mr.charAt(jr);fe(Ot,Te,Ct,sn,sn)}for(var cn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",lr=0;lr<cn.length;lr++){var Lt=cn.charAt(lr);fe(pe,Te,be,Lt,Lt),fe(Ot,Te,Ct,Lt,Lt)}fe(pe,dt,Ct,"C","\u2102"),fe(Ot,dt,Ct,"C","\u2102"),fe(pe,dt,Ct,"H","\u210D"),fe(Ot,dt,Ct,"H","\u210D"),fe(pe,dt,Ct,"N","\u2115"),fe(Ot,dt,Ct,"N","\u2115"),fe(pe,dt,Ct,"P","\u2119"),fe(Ot,dt,Ct,"P","\u2119"),fe(pe,dt,Ct,"Q","\u211A"),fe(Ot,dt,Ct,"Q","\u211A"),fe(pe,dt,Ct,"R","\u211D"),fe(Ot,dt,Ct,"R","\u211D"),fe(pe,dt,Ct,"Z","\u2124"),fe(Ot,dt,Ct,"Z","\u2124"),fe(pe,Te,be,"h","\u210E"),fe(Ot,Te,be,"h","\u210E");for(var mt="",vt=0;vt<cn.length;vt++){var Ut=cn.charAt(vt);mt=String.fromCharCode(55349,56320+vt),fe(pe,Te,be,Ut,mt),fe(Ot,Te,Ct,Ut,mt),mt=String.fromCharCode(55349,56372+vt),fe(pe,Te,be,Ut,mt),fe(Ot,Te,Ct,Ut,mt),mt=String.fromCharCode(55349,56424+vt),fe(pe,Te,be,Ut,mt),fe(Ot,Te,Ct,Ut,mt),mt=String.fromCharCode(55349,56580+vt),fe(pe,Te,be,Ut,mt),fe(Ot,Te,Ct,Ut,mt),mt=String.fromCharCode(55349,56736+vt),fe(pe,Te,be,Ut,mt),fe(Ot,Te,Ct,Ut,mt),mt=String.fromCharCode(55349,56788+vt),fe(pe,Te,be,Ut,mt),fe(Ot,Te,Ct,Ut,mt),mt=String.fromCharCode(55349,56840+vt),fe(pe,Te,be,Ut,mt),fe(Ot,Te,Ct,Ut,mt),mt=String.fromCharCode(55349,56944+vt),fe(pe,Te,be,Ut,mt),fe(Ot,Te,Ct,Ut,mt),vt<26&&(mt=String.fromCharCode(55349,56632+vt),fe(pe,Te,be,Ut,mt),fe(Ot,Te,Ct,Ut,mt),mt=String.fromCharCode(55349,56476+vt),fe(pe,Te,be,Ut,mt),fe(Ot,Te,Ct,Ut,mt))}mt="\u{1D55C}",fe(pe,Te,be,"k",mt),fe(Ot,Te,Ct,"k",mt);for(var Sr=0;Sr<10;Sr++){var yr=Sr.toString();mt=String.fromCharCode(55349,57294+Sr),fe(pe,Te,be,yr,mt),fe(Ot,Te,Ct,yr,mt),mt=String.fromCharCode(55349,57314+Sr),fe(pe,Te,be,yr,mt),fe(Ot,Te,Ct,yr,mt),mt=String.fromCharCode(55349,57324+Sr),fe(pe,Te,be,yr,mt),fe(Ot,Te,Ct,yr,mt),mt=String.fromCharCode(55349,57334+Sr),fe(pe,Te,be,yr,mt),fe(Ot,Te,Ct,yr,mt)}for(var it="\xC7\xD0\xDE\xE7\xFE",Br=0;Br<it.length;Br++){var gn=it.charAt(Br);fe(pe,Te,be,gn,gn),fe(Ot,Te,Ct,gn,gn)}fe(Ot,Te,Ct,"\xF0","\xF0"),fe(Ot,Te,Ct,"\u2013","\u2013"),fe(Ot,Te,Ct,"\u2014","\u2014"),fe(Ot,Te,Ct,"\u2018","\u2018"),fe(Ot,Te,Ct,"\u2019","\u2019"),fe(Ot,Te,Ct,"\u201C","\u201C"),fe(Ot,Te,Ct,"\u201D","\u201D");var zn=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],gr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],tn=function(H,X){var ne=H.charCodeAt(0),he=H.charCodeAt(1),Ce=(ne-55296)*1024+(he-56320)+65536,Ge=X==="math"?0:1;if(119808<=Ce&&Ce<120484){var Tt=Math.floor((Ce-119808)/26);return[zn[Tt][2],zn[Tt][Ge]]}else if(120782<=Ce&&Ce<=120831){var Nt=Math.floor((Ce-120782)/10);return[gr[Nt][2],gr[Nt][Ge]]}else{if(Ce===120485||Ce===120486)return[zn[0][2],zn[0][Ge]];if(120486<Ce&&Ce<120782)return["",""];throw new o("Unsupported character: "+H)}},pn=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Fn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Tn=function(H,X){return X.size<2?H:pn[H-1][X.size-1]},oi=function(){function Ve(X){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=X.style,this.color=X.color,this.size=X.size||Ve.BASESIZE,this.textSize=X.textSize||this.size,this.phantom=!!X.phantom,this.font=X.font||"",this.fontFamily=X.fontFamily||"",this.fontWeight=X.fontWeight||"",this.fontShape=X.fontShape||"",this.sizeMultiplier=Fn[this.size-1],this.maxSize=X.maxSize,this.minRuleThickness=X.minRuleThickness,this._fontMetrics=void 0}var H=Ve.prototype;return H.extend=function(ne){var he={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var Ce in ne)ne.hasOwnProperty(Ce)&&(he[Ce]=ne[Ce]);return new Ve(he)},H.havingStyle=function(ne){return this.style===ne?this:this.extend({style:ne,size:Tn(this.textSize,ne)})},H.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},H.havingSize=function(ne){return this.size===ne&&this.textSize===ne?this:this.extend({style:this.style.text(),size:ne,textSize:ne,sizeMultiplier:Fn[ne-1]})},H.havingBaseStyle=function(ne){ne=ne||this.style.text();var he=Tn(Ve.BASESIZE,ne);return this.size===he&&this.textSize===Ve.BASESIZE&&this.style===ne?this:this.extend({style:ne,size:he})},H.havingBaseSizing=function(){var ne;switch(this.style.id){case 4:case 5:ne=3;break;case 6:case 7:ne=1;break;default:ne=6}return this.extend({style:this.style.text(),size:ne})},H.withColor=function(ne){return this.extend({color:ne})},H.withPhantom=function(){return this.extend({phantom:!0})},H.withFont=function(ne){return this.extend({font:ne})},H.withTextFontFamily=function(ne){return this.extend({fontFamily:ne,font:""})},H.withTextFontWeight=function(ne){return this.extend({fontWeight:ne,font:""})},H.withTextFontShape=function(ne){return this.extend({fontShape:ne,font:""})},H.sizingClasses=function(ne){return ne.size!==this.size?["sizing","reset-size"+ne.size,"size"+this.size]:[]},H.baseSizingClasses=function(){return this.size!==Ve.BASESIZE?["sizing","reset-size"+this.size,"size"+Ve.BASESIZE]:[]},H.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Wt(this.size)),this._fontMetrics},H.getColor=function(){return this.phantom?"transparent":this.color},Ve}();oi.BASESIZE=6;var Pi=oi,Li={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Si={ex:!0,em:!0,mu:!0},gi=function(H){return typeof H!="string"&&(H=H.unit),H in Li||H in Si||H==="ex"},ii=function(H,X){var ne;if(H.unit in Li)ne=Li[H.unit]/X.fontMetrics().ptPerEm/X.sizeMultiplier;else if(H.unit==="mu")ne=X.fontMetrics().cssEmPerMu;else{var he;if(X.style.isTight()?he=X.havingStyle(X.style.text()):he=X,H.unit==="ex")ne=he.fontMetrics().xHeight;else if(H.unit==="em")ne=he.fontMetrics().quad;else throw new o("Invalid unit: '"+H.unit+"'");he!==X&&(ne*=he.sizeMultiplier/X.sizeMultiplier)}return Math.min(H.number*ne,X.maxSize)},na=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],ni=function(H,X,ne){return We[ne][H]&&We[ne][H].replace&&(H=We[ne][H].replace),{value:H,metrics:Yt(H,X,ne)}},Ji=function(H,X,ne,he,Ce){var Ge=ni(H,X,ne),Tt=Ge.metrics;H=Ge.value;var Nt;if(Tt){var ar=Tt.italic;(ne==="text"||he&&he.font==="mathit")&&(ar=0),Nt=new Se(H,Tt.height,Tt.depth,ar,Tt.skew,Tt.width,Ce)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+H+"' in style '"+X+"' and mode '"+ne+"'")),Nt=new Se(H,0,0,0,0,0,Ce);if(he){Nt.maxFontSize=he.sizeMultiplier,he.style.isTight()&&Nt.classes.push("mtight");var Er=he.getColor();Er&&(Nt.style.color=Er)}return Nt},bt=function(H,X,ne,he){return he===void 0&&(he=[]),ne.font==="boldsymbol"&&ni(H,"Main-Bold",X).metrics?Ji(H,"Main-Bold",X,ne,he.concat(["mathbf"])):H==="\\"||We[X][H].font==="main"?Ji(H,"Main-Regular",X,ne,he):Ji(H,"AMS-Regular",X,ne,he.concat(["amsrm"]))},lt=function(H,X,ne,he){return/[0-9]/.test(H.charAt(0))||A.contains(na,H)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Qn=function(H,X,ne,he){return A.contains(na,H)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(H.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},yi=function(H,X,ne,he){return ni(H,"Math-BoldItalic",X).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},ei=function(H,X,ne){var he=H.mode,Ce=H.text,Ge=["mord"],Tt=he==="math"||he==="text"&&X.font,Nt=Tt?X.font:X.fontFamily;if(Ce.charCodeAt(0)===55349){var ar=tn(Ce,he),Er=ar[0],zt=ar[1];return Ji(Ce,Er,he,X,Ge.concat(zt))}else if(Nt){var an,xn;if(Nt==="boldsymbol"||Nt==="mathnormal"){var jn=Nt==="boldsymbol"?yi(Ce,he,X,Ge):Qn(Ce,he,X,Ge);an=jn.fontName,xn=[jn.fontClass]}else A.contains(na,Ce)?(an="Main-Italic",xn=["mathit"]):Tt?(an=Ue[Nt].fontName,xn=[Nt]):(an=Hr(Nt,X.fontWeight,X.fontShape),xn=[Nt,X.fontWeight,X.fontShape]);if(ni(Ce,an,he).metrics)return Ji(Ce,an,he,X,Ge.concat(xn));if(Gr.hasOwnProperty(Ce)&&an.substr(0,10)==="Typewriter"){for(var Zn=[],Ci=0;Ci<Ce.length;Ci++)Zn.push(Ji(Ce[Ci],an,he,X,Ge.concat(xn)));return It(Zn)}}if(ne==="mathord"){var pa=lt(Ce,he,X,Ge);return Ji(Ce,pa.fontName,he,X,Ge.concat([pa.fontClass]))}else if(ne==="textord"){var sa=We[he][Ce]&&We[he][Ce].font;if(sa==="ams"){var fa=Hr("amsrm",X.fontWeight,X.fontShape);return Ji(Ce,fa,he,X,Ge.concat("amsrm",X.fontWeight,X.fontShape))}else if(sa==="main"||!sa){var us=Hr("textrm",X.fontWeight,X.fontShape);return Ji(Ce,us,he,X,Ge.concat(X.fontWeight,X.fontShape))}else{var za=Hr(sa,X.fontWeight,X.fontShape);return Ji(Ce,za,he,X,Ge.concat(za,X.fontWeight,X.fontShape))}}else throw new Error("unexpected type: "+ne+" in makeOrd")},Ki=function(H,X){if(Pt(H.classes)!==Pt(X.classes)||H.skew!==X.skew||H.maxFontSize!==X.maxFontSize)return!1;for(var ne in H.style)if(H.style.hasOwnProperty(ne)&&H.style[ne]!==X.style[ne])return!1;for(var he in X.style)if(X.style.hasOwnProperty(he)&&H.style[he]!==X.style[he])return!1;return!0},bi=function(H){for(var X=0;X<H.length-1;X++){var ne=H[X],he=H[X+1];ne instanceof Se&&he instanceof Se&&Ki(ne,he)&&(ne.text+=he.text,ne.height=Math.max(ne.height,he.height),ne.depth=Math.max(ne.depth,he.depth),ne.italic=he.italic,H.splice(X+1,1),X--)}return H},qn=function(H){for(var X=0,ne=0,he=0,Ce=0;Ce<H.children.length;Ce++){var Ge=H.children[Ce];Ge.height>X&&(X=Ge.height),Ge.depth>ne&&(ne=Ge.depth),Ge.maxFontSize>he&&(he=Ge.maxFontSize)}H.height=X,H.depth=ne,H.maxFontSize=he},An=function(H,X,ne,he){var Ce=new ht(H,X,ne,he);return qn(Ce),Ce},rr=function(H,X,ne,he){return new ht(H,X,ne,he)},_t=function(H,X,ne){var he=An([H],[],X);return he.height=Math.max(ne||X.fontMetrics().defaultRuleThickness,X.minRuleThickness),he.style.borderBottomWidth=he.height+"em",he.maxFontSize=1,he},rt=function(H,X,ne,he){var Ce=new et(H,X,ne,he);return qn(Ce),Ce},It=function(H){var X=new Xe(H);return qn(X),X},pt=function(H,X){return H instanceof Xe?An([],[H],X):H},cr=function(H){if(H.positionType==="individualShift"){for(var X=H.children,ne=[X[0]],he=-X[0].shift-X[0].elem.depth,Ce=he,Ge=1;Ge<X.length;Ge++){var Tt=-X[Ge].shift-Ce-X[Ge].elem.depth,Nt=Tt-(X[Ge-1].elem.height+X[Ge-1].elem.depth);Ce=Ce+Tt,ne.push({type:"kern",size:Nt}),ne.push(X[Ge])}return{children:ne,depth:he}}var ar;if(H.positionType==="top"){for(var Er=H.positionData,zt=0;zt<H.children.length;zt++){var an=H.children[zt];Er-=an.type==="kern"?an.size:an.elem.height+an.elem.depth}ar=Er}else if(H.positionType==="bottom")ar=-H.positionData;else{var xn=H.children[0];if(xn.type!=="elem")throw new Error('First child must have type "elem".');if(H.positionType==="shift")ar=-xn.elem.depth-H.positionData;else if(H.positionType==="firstBaseline")ar=-xn.elem.depth;else throw new Error("Invalid positionType "+H.positionType+".")}return{children:H.children,depth:ar}},dr=function(H,X){for(var ne=cr(H),he=ne.children,Ce=ne.depth,Ge=0,Tt=0;Tt<he.length;Tt++){var Nt=he[Tt];if(Nt.type==="elem"){var ar=Nt.elem;Ge=Math.max(Ge,ar.maxFontSize,ar.height)}}Ge+=2;var Er=An(["pstrut"],[]);Er.style.height=Ge+"em";for(var zt=[],an=Ce,xn=Ce,jn=Ce,Zn=0;Zn<he.length;Zn++){var Ci=he[Zn];if(Ci.type==="kern")jn+=Ci.size;else{var pa=Ci.elem,sa=Ci.wrapperClasses||[],fa=Ci.wrapperStyle||{},us=An(sa,[Er,pa],void 0,fa);us.style.top=-Ge-jn-pa.depth+"em",Ci.marginLeft&&(us.style.marginLeft=Ci.marginLeft),Ci.marginRight&&(us.style.marginRight=Ci.marginRight),zt.push(us),jn+=pa.height+pa.depth}an=Math.min(an,jn),xn=Math.max(xn,jn)}var za=An(["vlist"],zt);za.style.height=xn+"em";var hs;if(an<0){var rs=An([],[]),Ea=An(["vlist"],[rs]);Ea.style.height=-an+"em";var Za=An(["vlist-s"],[new Se("\u200B")]);hs=[An(["vlist-r"],[za,Za]),An(["vlist-r"],[Ea])]}else hs=[An(["vlist-r"],[za])];var ks=An(["vlist-t"],hs);return hs.length===2&&ks.classes.push("vlist-t2"),ks.height=xn,ks.depth=-an,ks},Tr=function(H,X){var ne=An(["mspace"],[],X),he=ii(H,X);return ne.style.marginRight=he+"em",ne},Hr=function(H,X,ne){var he="";switch(H){case"amsrm":he="AMS";break;case"textrm":he="Main";break;case"textsf":he="SansSerif";break;case"texttt":he="Typewriter";break;default:he=H}var Ce;return X==="textbf"&&ne==="textit"?Ce="BoldItalic":X==="textbf"?Ce="Bold":X==="textit"?Ce="Italic":Ce="Regular",he+"-"+Ce},Ue={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"}},Je={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ee=function(H,X){var ne=Je[H],he=ne[0],Ce=ne[1],Ge=ne[2],Tt=new $e(he),Nt=new Me([Tt],{width:Ce+"em",height:Ge+"em",style:"width:"+Ce+"em",viewBox:"0 0 "+1e3*Ce+" "+1e3*Ge,preserveAspectRatio:"xMinYMin"}),ar=rr(["overlay"],[Nt],X);return ar.height=Ge,ar.style.height=Ge+"em",ar.style.width=Ce+"em",ar},st={fontMap:Ue,makeSymbol:Ji,mathsym:bt,makeSpan:An,makeSvgSpan:rr,makeLineSpan:_t,makeAnchor:rt,makeFragment:It,wrapFragment:pt,makeVList:dr,makeOrd:ei,makeGlue:Tr,staticSvg:Ee,svgData:Je,tryCombineChars:bi};function nr(Ve,H){var X=Lr(Ve,H);if(!X)throw new Error("Expected node of type "+H+", but got "+(Ve?"node of type "+Ve.type:String(Ve)));return X}function Lr(Ve,H){return Ve&&Ve.type===H?Ve:null}function Or(Ve,H){var X=Ir(Ve,H);if(!X)throw new Error('Expected node of type "atom" and family "'+H+'", but got '+(Ve?Ve.type==="atom"?"atom of family "+Ve.family:"node of type "+Ve.type:String(Ve)));return X}function Ir(Ve,H){return Ve&&Ve.type==="atom"&&Ve.family===H?Ve:null}function Ur(Ve){var H=_n(Ve);if(!H)throw new Error("Expected node of symbol group type, but got "+(Ve?"node of type "+Ve.type:String(Ve)));return H}function _n(Ve){return Ve&&(Ve.type==="atom"||At.hasOwnProperty(Ve.type))?Ve:null}var Pr={number:3,unit:"mu"},fn={number:4,unit:"mu"},nn={number:5,unit:"mu"},on={mord:{mop:Pr,mbin:fn,mrel:nn,minner:Pr},mop:{mord:Pr,mop:Pr,mrel:nn,minner:Pr},mbin:{mord:fn,mop:fn,mopen:fn,minner:fn},mrel:{mord:nn,mop:nn,mopen:nn,minner:nn},mopen:{},mclose:{mop:Pr,mbin:fn,mrel:nn,minner:Pr},mpunct:{mord:Pr,mop:Pr,mrel:nn,mopen:Pr,mclose:Pr,mpunct:Pr,minner:Pr},minner:{mord:Pr,mop:Pr,mbin:fn,mrel:nn,mopen:Pr,mpunct:Pr,minner:Pr}},Sn={mord:{mop:Pr},mop:{mord:Pr,mop:Pr},mbin:{},mrel:{},mopen:{},mclose:{mop:Pr},mpunct:{},minner:{mop:Pr}},va={},wi={},_i={};function vn(Ve){for(var H=Ve.type,X=Ve.names,ne=Ve.props,he=Ve.handler,Ce=Ve.htmlBuilder,Ge=Ve.mathmlBuilder,Tt={type:H,numArgs:ne.numArgs,argTypes:ne.argTypes,greediness:ne.greediness===void 0?1:ne.greediness,allowedInText:!!ne.allowedInText,allowedInMath:ne.allowedInMath===void 0?!0:ne.allowedInMath,numOptionalArgs:ne.numOptionalArgs||0,infix:!!ne.infix,handler:he},Nt=0;Nt<X.length;++Nt)va[X[Nt]]=Tt;H&&(Ce&&(wi[H]=Ce),Ge&&(_i[H]=Ge))}function si(Ve){var H=Ve.type,X=Ve.htmlBuilder,ne=Ve.mathmlBuilder;vn({type:H,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:X,mathmlBuilder:ne})}var Bi=function(H){var X=Lr(H,"ordgroup");return X?X.body:[H]},da=st.makeSpan,Ha=["leftmost","mbin","mopen","mrel","mop","mpunct"],Ta=["rightmost","mrel","mclose","mpunct"],fs={display:Z.DISPLAY,text:Z.TEXT,script:Z.SCRIPT,scriptscript:Z.SCRIPTSCRIPT},Es={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Wa=function(H,X,ne,he){he===void 0&&(he=[null,null]);for(var Ce=[],Ge=0;Ge<H.length;Ge++){var Tt=Yi(H[Ge],X);if(Tt instanceof Xe){var Nt=Tt.children;Ce.push.apply(Ce,Nt)}else Ce.push(Tt)}if(!ne)return Ce;var ar=X;if(H.length===1){var Er=Lr(H[0],"sizing")||Lr(H[0],"styling");Er&&(Er.type==="sizing"?ar=X.havingSize(Er.size):Er.type==="styling"&&(ar=X.havingStyle(fs[Er.style])))}var zt=da([he[0]||"leftmost"],[],X),an=da([he[1]||"rightmost"],[],X);return mi(Ce,function(xn,jn){var Zn=jn.classes[0],Ci=xn.classes[0];Zn==="mbin"&&A.contains(Ta,Ci)?jn.classes[0]="mord":Ci==="mbin"&&A.contains(Ha,Zn)&&(xn.classes[0]="mord")},{node:zt},an),mi(Ce,function(xn,jn){var Zn=Ga(jn),Ci=Ga(xn),pa=Zn&&Ci?xn.hasClass("mtight")?Sn[Zn][Ci]:on[Zn][Ci]:null;if(pa)return st.makeGlue(pa,ar)},{node:zt},an),Ce},mi=function Ve(H,X,ne,he){he&&H.push(he);for(var Ce=0;Ce<H.length;Ce++){var Ge=H[Ce],Tt=ia(Ge);if(Tt){Ve(Tt.children,X,ne);continue}if(Ge.classes[0]!=="mspace"){var Nt=X(Ge,ne.node);Nt&&(ne.insertAfter?ne.insertAfter(Nt):(H.unshift(Nt),Ce++)),ne.node=Ge,ne.insertAfter=function(ar){return function(Er){H.splice(ar+1,0,Er),Ce++}}(Ce)}}he&&H.pop()},ia=function(H){return H instanceof Xe||H instanceof et?H:null},os=function Ve(H,X){var ne=ia(H);if(ne){var he=ne.children;if(he.length){if(X==="right")return Ve(he[he.length-1],"right");if(X==="left")return Ve(he[0],"left")}}return H},Ga=function(H,X){return H?(X&&(H=os(H,X)),Es[H.classes[0]]||null):null},Is=function(H,X){var ne=["nulldelimiter"].concat(H.baseSizingClasses());return da(X.concat(ne))},Yi=function(H,X,ne){if(!H)return da();if(wi[H.type]){var he=wi[H.type](H,X);if(ne&&X.size!==ne.size){he=da(X.sizingClasses(ne),[he],X);var Ce=X.sizeMultiplier/ne.sizeMultiplier;he.height*=Ce,he.depth*=Ce}return he}else throw new o("Got group of unknown type: '"+H.type+"'")};function ms(Ve,H){var X=da(["base"],Ve,H),ne=da(["strut"]);return ne.style.height=X.height+X.depth+"em",ne.style.verticalAlign=-X.depth+"em",X.children.unshift(ne),X}function bo(Ve,H){var X=null;Ve.length===1&&Ve[0].type==="tag"&&(X=Ve[0].tag,Ve=Ve[0].body);for(var ne=Wa(Ve,H,!0),he=[],Ce=[],Ge=0;Ge<ne.length;Ge++)if(Ce.push(ne[Ge]),ne[Ge].hasClass("mbin")||ne[Ge].hasClass("mrel")||ne[Ge].hasClass("allowbreak")){for(var Tt=!1;Ge<ne.length-1&&ne[Ge+1].hasClass("mspace")&&!ne[Ge+1].hasClass("newline");)Ge++,Ce.push(ne[Ge]),ne[Ge].hasClass("nobreak")&&(Tt=!0);Tt||(he.push(ms(Ce,H)),Ce=[])}else ne[Ge].hasClass("newline")&&(Ce.pop(),Ce.length>0&&(he.push(ms(Ce,H)),Ce=[]),he.push(ne[Ge]));Ce.length>0&&he.push(ms(Ce,H));var Nt;X&&(Nt=ms(Wa(X,H,!0)),Nt.classes=["tag"],he.push(Nt));var ar=da(["katex-html"],he);if(ar.setAttribute("aria-hidden","true"),Nt){var Er=Nt.children[0];Er.style.height=ar.height+ar.depth+"em",Er.style.verticalAlign=-ar.depth+"em"}return ar}function Ni(Ve){return new Xe(Ve)}var vs=function(){function Ve(X,ne){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=X,this.attributes={},this.children=ne||[]}var H=Ve.prototype;return H.setAttribute=function(ne,he){this.attributes[ne]=he},H.getAttribute=function(ne){return this.attributes[ne]},H.toNode=function(){var ne=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&ne.setAttribute(he,this.attributes[he]);for(var Ce=0;Ce<this.children.length;Ce++)ne.appendChild(this.children[Ce].toNode());return ne},H.toMarkup=function(){var ne="<"+this.type;for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ne+=" "+he+'="',ne+=A.escape(this.attributes[he]),ne+='"');ne+=">";for(var Ce=0;Ce<this.children.length;Ce++)ne+=this.children[Ce].toMarkup();return ne+="</"+this.type+">",ne},H.toText=function(){return this.children.map(function(ne){return ne.toText()}).join("")},Ve}(),Na=function(){function Ve(X){this.text=void 0,this.text=X}var H=Ve.prototype;return H.toNode=function(){return document.createTextNode(this.text)},H.toMarkup=function(){return A.escape(this.toText())},H.toText=function(){return this.text},Ve}(),Ys=function(){function Ve(X){this.width=void 0,this.character=void 0,this.width=X,X>=.05555&&X<=.05556?this.character="\u200A":X>=.1666&&X<=.1667?this.character="\u2009":X>=.2222&&X<=.2223?this.character="\u2005":X>=.2777&&X<=.2778?this.character="\u2005\u200A":X>=-.05556&&X<=-.05555?this.character="\u200A\u2063":X>=-.1667&&X<=-.1666?this.character="\u2009\u2063":X>=-.2223&&X<=-.2222?this.character="\u205F\u2063":X>=-.2778&&X<=-.2777?this.character="\u2005\u2063":this.character=null}var H=Ve.prototype;return H.toNode=function(){if(this.character)return document.createTextNode(this.character);var ne=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return ne.setAttribute("width",this.width+"em"),ne},H.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},H.toText=function(){return this.character?this.character:" "},Ve}(),Dn={MathNode:vs,TextNode:Na,SpaceNode:Ys,newDocumentFragment:Ni},$a=function(H,X,ne){return We[X][H]&&We[X][H].replace&&H.charCodeAt(0)!==55349&&!(Gr.hasOwnProperty(H)&&ne&&(ne.fontFamily&&ne.fontFamily.substr(4,2)==="tt"||ne.font&&ne.font.substr(4,2)==="tt"))&&(H=We[X][H].replace),new Dn.TextNode(H)},cs=function(H){return H.length===1?H[0]:new Dn.MathNode("mrow",H)},ja=function(H,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 ne=X.font;if(!ne||ne==="mathnormal")return null;var he=H.mode;if(ne==="mathit")return"italic";if(ne==="boldsymbol")return"bold-italic";if(ne==="mathbf")return"bold";if(ne==="mathbb")return"double-struck";if(ne==="mathfrak")return"fraktur";if(ne==="mathscr"||ne==="mathcal")return"script";if(ne==="mathsf")return"sans-serif";if(ne==="mathtt")return"monospace";var Ce=H.text;if(A.contains(["\\imath","\\jmath"],Ce))return null;We[he][Ce]&&We[he][Ce].replace&&(Ce=We[he][Ce].replace);var Ge=st.fontMap[ne].fontName;return Yt(Ce,Ge,he)?st.fontMap[ne].variant:null},zi=function(H,X,ne){if(H.length===1){var he=Da(H[0],X);return ne&&he instanceof vs&&he.type==="mo"&&(he.setAttribute("lspace","0em"),he.setAttribute("rspace","0em")),[he]}for(var Ce=[],Ge,Tt=0;Tt<H.length;Tt++){var Nt=Da(H[Tt],X);if(Nt instanceof vs&&Ge instanceof vs){if(Nt.type==="mtext"&&Ge.type==="mtext"&&Nt.getAttribute("mathvariant")===Ge.getAttribute("mathvariant")){var ar;(ar=Ge.children).push.apply(ar,Nt.children);continue}else if(Nt.type==="mn"&&Ge.type==="mn"){var Er;(Er=Ge.children).push.apply(Er,Nt.children);continue}else if(Nt.type==="mi"&&Nt.children.length===1&&Ge.type==="mn"){var zt=Nt.children[0];if(zt instanceof Na&&zt.text==="."){var an;(an=Ge.children).push.apply(an,Nt.children);continue}}else if(Ge.type==="mi"&&Ge.children.length===1){var xn=Ge.children[0];if(xn instanceof Na&&xn.text==="\u0338"&&(Nt.type==="mo"||Nt.type==="mi"||Nt.type==="mn")){var jn=Nt.children[0];jn instanceof Na&&jn.text.length>0&&(jn.text=jn.text.slice(0,1)+"\u0338"+jn.text.slice(1),Ce.pop())}}}Ce.push(Nt),Ge=Nt}return Ce},Ra=function(H,X,ne){return cs(zi(H,X,ne))},Da=function(H,X){if(!H)return new Dn.MathNode("mrow");if(_i[H.type]){var ne=_i[H.type](H,X);return ne}else throw new o("Got group of unknown type: '"+H.type+"'")};function ws(Ve,H,X,ne){var he=zi(Ve,X),Ce;he.length===1&&he[0]instanceof vs&&A.contains(["mrow","mtable"],he[0].type)?Ce=he[0]:Ce=new Dn.MathNode("mrow",he);var Ge=new Dn.MathNode("annotation",[new Dn.TextNode(H)]);Ge.setAttribute("encoding","application/x-tex");var Tt=new Dn.MathNode("semantics",[Ce,Ge]),Nt=new Dn.MathNode("math",[Tt]);Nt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var ar=ne?"katex":"katex-mathml";return st.makeSpan([ar],[Nt])}var Xs=function(H){return new Pi({style:H.displayMode?Z.DISPLAY:Z.TEXT,maxSize:H.maxSize,minRuleThickness:H.minRuleThickness})},xo=function(H,X){if(X.displayMode){var ne=["katex-display"];X.leqno&&ne.push("leqno"),X.fleqn&&ne.push("fleqn"),H=st.makeSpan(ne,[H])}return H},ho=function(H,X,ne){var he=Xs(ne),Ce;if(ne.output==="mathml")return ws(H,X,he,!0);if(ne.output==="html"){var Ge=bo(H,he);Ce=st.makeSpan(["katex"],[Ge])}else{var Tt=ws(H,X,he,!1),Nt=bo(H,he);Ce=st.makeSpan(["katex"],[Tt,Nt])}return xo(Ce,ne)},wa=function(H,X,ne){var he=Xs(ne),Ce=bo(H,he),Ge=st.makeSpan(["katex"],[Ce]);return xo(Ge,ne)},gs=ho,Zs={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"},no=function(H){var X=new Dn.MathNode("mo",[new Dn.TextNode(Zs[H.substr(1)])]);return X.setAttribute("stretchy","true"),X},Eo={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]},wo=function(H){return H.type==="ordgroup"?H.body.length:1},po=function(H,X){function ne(){var Nt=4e5,ar=H.label.substr(1);if(A.contains(["widehat","widecheck","widetilde","utilde"],ar)){var Er=H,zt=wo(Er.base),an,xn,jn;if(zt>5)ar==="widehat"||ar==="widecheck"?(an=420,Nt=2364,jn=.42,xn=ar+"4"):(an=312,Nt=2340,jn=.34,xn="tilde4");else{var Zn=[1,1,2,2,3,3][zt];ar==="widehat"||ar==="widecheck"?(Nt=[0,1062,2364,2364,2364][Zn],an=[0,239,300,360,420][Zn],jn=[0,.24,.3,.3,.36,.42][Zn],xn=ar+Zn):(Nt=[0,600,1033,2339,2340][Zn],an=[0,260,286,306,312][Zn],jn=[0,.26,.286,.3,.306,.34][Zn],xn="tilde"+Zn)}var Ci=new $e(xn),pa=new Me([Ci],{width:"100%",height:jn+"em",viewBox:"0 0 "+Nt+" "+an,preserveAspectRatio:"none"});return{span:st.makeSvgSpan([],[pa],X),minWidth:0,height:jn}}else{var sa=[],fa=Eo[ar],us=fa[0],za=fa[1],hs=fa[2],rs=hs/1e3,Ea=us.length,Za,ks;if(Ea===1){var vi=fa[3];Za=["hide-tail"],ks=[vi]}else if(Ea===2)Za=["halfarrow-left","halfarrow-right"],ks=["xMinYMin","xMaxYMin"];else if(Ea===3)Za=["brace-left","brace-center","brace-right"],ks=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+Ea+" children.");for(var oo=0;oo<Ea;oo++){var Co=new $e(us[oo]),Mo=new Me([Co],{width:"400em",height:rs+"em",viewBox:"0 0 "+Nt+" "+hs,preserveAspectRatio:ks[oo]+" slice"}),Ms=st.makeSvgSpan([Za[oo]],[Mo],X);if(Ea===1)return{span:Ms,minWidth:za,height:rs};Ms.style.height=rs+"em",sa.push(Ms)}return{span:st.makeSpan(["stretchy"],sa,X),minWidth:za,height:rs}}}var he=ne(),Ce=he.span,Ge=he.minWidth,Tt=he.height;return Ce.height=Tt,Ce.style.height=Tt+"em",Ge>0&&(Ce.style.minWidth=Ge+"em"),Ce},di=function(H,X,ne,he){var Ce,Ge=H.height+H.depth+2*ne;if(/fbox|color/.test(X)){if(Ce=st.makeSpan(["stretchy",X],[],he),X==="fbox"){var Tt=he.color&&he.getColor();Tt&&(Ce.style.borderColor=Tt)}}else{var Nt=[];/^[bx]cancel$/.test(X)&&Nt.push(new He({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(X)&&Nt.push(new He({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var ar=new Me(Nt,{width:"100%",height:Ge+"em"});Ce=st.makeSvgSpan([],[ar],he)}return Ce.height=Ge,Ce.style.height=Ge+"em",Ce},ci={encloseSpan:di,mathMLnode:no,svgSpan:po},Ua=function(H,X){var ne,he,Ce=Lr(H,"supsub"),Ge;Ce?(he=nr(Ce.base,"accent"),ne=he.base,Ce.base=ne,Ge=ct(Yi(Ce,X)),Ce.base=he):(he=nr(H,"accent"),ne=he.base);var Tt=Yi(ne,X.havingCrampedStyle()),Nt=he.isShifty&&A.isCharacterBox(ne),ar=0;if(Nt){var Er=A.getBaseElem(ne),zt=Yi(Er,X.havingCrampedStyle());ar=nt(zt).skew}var an=Math.min(Tt.height,X.fontMetrics().xHeight),xn;if(he.isStretchy)xn=ci.svgSpan(he,X),xn=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tt},{type:"elem",elem:xn,wrapperClasses:["svg-align"],wrapperStyle:ar>0?{width:"calc(100% - "+2*ar+"em)",marginLeft:2*ar+"em"}:void 0}]},X);else{var jn,Zn;he.label==="\\vec"?(jn=st.staticSvg("vec",X),Zn=st.svgData.vec[1]):(jn=st.makeOrd({mode:he.mode,text:he.label},X,"textord"),jn=nt(jn),jn.italic=0,Zn=jn.width),xn=st.makeSpan(["accent-body"],[jn]);var Ci=he.label==="\\textcircled";Ci&&(xn.classes.push("accent-full"),an=Tt.height);var pa=ar;Ci||(pa-=Zn/2),xn.style.left=pa+"em",he.label==="\\textcircled"&&(xn.style.top=".2em"),xn=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tt},{type:"kern",size:-an},{type:"elem",elem:xn}]},X)}var sa=st.makeSpan(["mord","accent"],[xn],X);return Ge?(Ge.children[0]=sa,Ge.height=Math.max(sa.height,Ge.height),Ge.classes[0]="mord",Ge):sa},Qa=function(H,X){var ne=H.isStretchy?ci.mathMLnode(H.label):new Dn.MathNode("mo",[$a(H.label,H.mode)]),he=new Dn.MathNode("mover",[Da(H.base,X),ne]);return he.setAttribute("accent","true"),he},qa=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Ve){return"\\"+Ve}).join("|"));vn({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(H,X){var ne=X[0],he=!qa.test(H.funcName),Ce=!he||H.funcName==="\\widehat"||H.funcName==="\\widetilde"||H.funcName==="\\widecheck";return{type:"accent",mode:H.parser.mode,label:H.funcName,isStretchy:he,isShifty:Ce,base:ne}},htmlBuilder:Ua,mathmlBuilder:Qa}),vn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(H,X){var ne=X[0];return{type:"accent",mode:H.parser.mode,label:H.funcName,isStretchy:!1,isShifty:!0,base:ne}},htmlBuilder:Ua,mathmlBuilder:Qa}),vn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(H,X){var ne=H.parser,he=H.funcName,Ce=X[0];return{type:"accentUnder",mode:ne.mode,label:he,base:Ce}},htmlBuilder:function(H,X){var ne=Yi(H.base,X),he=ci.svgSpan(H,X),Ce=H.label==="\\utilde"?.12:0,Ge=st.makeVList({positionType:"bottom",positionData:he.height+Ce,children:[{type:"elem",elem:he,wrapperClasses:["svg-align"]},{type:"kern",size:Ce},{type:"elem",elem:ne}]},X);return st.makeSpan(["mord","accentunder"],[Ge],X)},mathmlBuilder:function(H,X){var ne=ci.mathMLnode(H.label),he=new Dn.MathNode("munder",[Da(H.base,X),ne]);return he.setAttribute("accentunder","true"),he}});var Qs=function(H){var X=new Dn.MathNode("mpadded",H?[H]:[]);return X.setAttribute("width","+0.6em"),X.setAttribute("lspace","0.3em"),X};vn({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(H,X,ne){var he=H.parser,Ce=H.funcName;return{type:"xArrow",mode:he.mode,label:Ce,body:X[0],below:ne[0]}},htmlBuilder:function(H,X){var ne=X.style,he=X.havingStyle(ne.sup()),Ce=st.wrapFragment(Yi(H.body,he,X),X);Ce.classes.push("x-arrow-pad");var Ge;H.below&&(he=X.havingStyle(ne.sub()),Ge=st.wrapFragment(Yi(H.below,he,X),X),Ge.classes.push("x-arrow-pad"));var Tt=ci.svgSpan(H,X),Nt=-X.fontMetrics().axisHeight+.5*Tt.height,ar=-X.fontMetrics().axisHeight-.5*Tt.height-.111;(Ce.depth>.25||H.label==="\\xleftequilibrium")&&(ar-=Ce.depth);var Er;if(Ge){var zt=-X.fontMetrics().axisHeight+Ge.height+.5*Tt.height+.111;Er=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ce,shift:ar},{type:"elem",elem:Tt,shift:Nt},{type:"elem",elem:Ge,shift:zt}]},X)}else Er=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ce,shift:ar},{type:"elem",elem:Tt,shift:Nt}]},X);return Er.children[0].children[0].children[1].classes.push("svg-align"),st.makeSpan(["mrel","x-arrow"],[Er],X)},mathmlBuilder:function(H,X){var ne=ci.mathMLnode(H.label),he;if(H.body){var Ce=Qs(Da(H.body,X));if(H.below){var Ge=Qs(Da(H.below,X));he=new Dn.MathNode("munderover",[ne,Ge,Ce])}else he=new Dn.MathNode("mover",[ne,Ce])}else if(H.below){var Tt=Qs(Da(H.below,X));he=new Dn.MathNode("munder",[ne,Tt])}else he=Qs(),he=new Dn.MathNode("mover",[ne,he]);return he}}),vn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(H,X){for(var ne=H.parser,he=nr(X[0],"ordgroup"),Ce=he.body,Ge="",Tt=0;Tt<Ce.length;Tt++){var Nt=nr(Ce[Tt],"textord");Ge+=Nt.text}var ar=parseInt(Ge);if(isNaN(ar))throw new o("\\@char has non-numeric argument "+Ge);return{type:"textord",mode:ne.mode,text:String.fromCharCode(ar)}}});var qs=function(H,X){var ne=Wa(H.body,X.withColor(H.color),!1);return st.makeFragment(ne)},Qo=function(H,X){var ne=zi(H.body,X.withColor(H.color)),he=new Dn.MathNode("mstyle",ne);return he.setAttribute("mathcolor",H.color),he};vn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(H,X){var ne=H.parser,he=nr(X[0],"color-token").color,Ce=X[1];return{type:"color",mode:ne.mode,color:he,body:Bi(Ce)}},htmlBuilder:qs,mathmlBuilder:Qo}),vn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(H,X){var ne=H.parser,he=H.breakOnTokenText,Ce=nr(X[0],"color-token").color;ne.gullet.macros.set("\\current@color",Ce);var Ge=ne.parseExpression(!0,he);return{type:"color",mode:ne.mode,color:Ce,body:Ge}},htmlBuilder:qs,mathmlBuilder:Qo}),vn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(H,X,ne){var he=H.parser,Ce=H.funcName,Ge=ne[0],Tt=Ce==="\\cr",Nt=!1;return Tt||(he.settings.displayMode&&he.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Nt=!1:Nt=!0),{type:"cr",mode:he.mode,newLine:Nt,newRow:Tt,size:Ge&&nr(Ge,"size").value}},htmlBuilder:function(H,X){if(H.newRow)throw new o("\\cr valid only within a tabular/array environment");var ne=st.makeSpan(["mspace"],[],X);return H.newLine&&(ne.classes.push("newline"),H.size&&(ne.style.marginTop=ii(H.size,X)+"em")),ne},mathmlBuilder:function(H,X){var ne=new Dn.MathNode("mspace");return H.newLine&&(ne.setAttribute("linebreak","newline"),H.size&&ne.setAttribute("height",ii(H.size,X)+"em")),ne}});var ds=function(H,X,ne){var he=We.math[H]&&We.math[H].replace,Ce=Yt(he||H,X,ne);if(!Ce)throw new Error("Unsupported symbol "+H+" and font size "+X+".");return Ce},Oo=function(H,X,ne,he){var Ce=ne.havingBaseStyle(X),Ge=st.makeSpan(he.concat(Ce.sizingClasses(ne)),[H],ne),Tt=Ce.sizeMultiplier/ne.sizeMultiplier;return Ge.height*=Tt,Ge.depth*=Tt,Ge.maxFontSize=Ce.sizeMultiplier,Ge},ko=function(H,X,ne){var he=X.havingBaseStyle(ne),Ce=(1-X.sizeMultiplier/he.sizeMultiplier)*X.fontMetrics().axisHeight;H.classes.push("delimcenter"),H.style.top=Ce+"em",H.height-=Ce,H.depth+=Ce},Ho=function(H,X,ne,he,Ce,Ge){var Tt=st.makeSymbol(H,"Main-Regular",Ce,he),Nt=Oo(Tt,X,he,Ge);return ne&&ko(Nt,he,X),Nt},Su=function(H,X,ne,he){return st.makeSymbol(H,"Size"+X+"-Regular",ne,he)},So=function(H,X,ne,he,Ce,Ge){var Tt=Su(H,X,Ce,he),Nt=Oo(st.makeSpan(["delimsizing","size"+X],[Tt],he),Z.TEXT,he,Ge);return ne&&ko(Nt,he,Z.TEXT),Nt},_o=function(H,X,ne){var he;X==="Size1-Regular"?he="delim-size1":he="delim-size4";var Ce=st.makeSpan(["delimsizinginner",he],[st.makeSpan([],[st.makeSymbol(H,X,ne)])]);return{type:"elem",elem:Ce}},Js={type:"kern",size:-.005},$u=function(H,X,ne,he,Ce,Ge){var Tt,Nt,ar,Er;Tt=ar=Er=H,Nt=null;var zt="Size1-Regular";H==="\\uparrow"?ar=Er="\u23D0":H==="\\Uparrow"?ar=Er="\u2016":H==="\\downarrow"?Tt=ar="\u23D0":H==="\\Downarrow"?Tt=ar="\u2016":H==="\\updownarrow"?(Tt="\\uparrow",ar="\u23D0",Er="\\downarrow"):H==="\\Updownarrow"?(Tt="\\Uparrow",ar="\u2016",Er="\\Downarrow"):H==="["||H==="\\lbrack"?(Tt="\u23A1",ar="\u23A2",Er="\u23A3",zt="Size4-Regular"):H==="]"||H==="\\rbrack"?(Tt="\u23A4",ar="\u23A5",Er="\u23A6",zt="Size4-Regular"):H==="\\lfloor"||H==="\u230A"?(ar=Tt="\u23A2",Er="\u23A3",zt="Size4-Regular"):H==="\\lceil"||H==="\u2308"?(Tt="\u23A1",ar=Er="\u23A2",zt="Size4-Regular"):H==="\\rfloor"||H==="\u230B"?(ar=Tt="\u23A5",Er="\u23A6",zt="Size4-Regular"):H==="\\rceil"||H==="\u2309"?(Tt="\u23A4",ar=Er="\u23A5",zt="Size4-Regular"):H==="("||H==="\\lparen"?(Tt="\u239B",ar="\u239C",Er="\u239D",zt="Size4-Regular"):H===")"||H==="\\rparen"?(Tt="\u239E",ar="\u239F",Er="\u23A0",zt="Size4-Regular"):H==="\\{"||H==="\\lbrace"?(Tt="\u23A7",Nt="\u23A8",Er="\u23A9",ar="\u23AA",zt="Size4-Regular"):H==="\\}"||H==="\\rbrace"?(Tt="\u23AB",Nt="\u23AC",Er="\u23AD",ar="\u23AA",zt="Size4-Regular"):H==="\\lgroup"||H==="\u27EE"?(Tt="\u23A7",Er="\u23A9",ar="\u23AA",zt="Size4-Regular"):H==="\\rgroup"||H==="\u27EF"?(Tt="\u23AB",Er="\u23AD",ar="\u23AA",zt="Size4-Regular"):H==="\\lmoustache"||H==="\u23B0"?(Tt="\u23A7",Er="\u23AD",ar="\u23AA",zt="Size4-Regular"):(H==="\\rmoustache"||H==="\u23B1")&&(Tt="\u23AB",Er="\u23A9",ar="\u23AA",zt="Size4-Regular");var an=ds(Tt,zt,Ce),xn=an.height+an.depth,jn=ds(ar,zt,Ce),Zn=jn.height+jn.depth,Ci=ds(Er,zt,Ce),pa=Ci.height+Ci.depth,sa=0,fa=1;if(Nt!==null){var us=ds(Nt,zt,Ce);sa=us.height+us.depth,fa=2}var za=xn+pa+sa,hs=Math.max(0,Math.ceil((X-za)/(fa*Zn))),rs=za+hs*fa*Zn,Ea=he.fontMetrics().axisHeight;ne&&(Ea*=he.sizeMultiplier);var Za=rs/2-Ea,ks=(hs+1)*.005-Zn,vi=[];if(vi.push(_o(Er,zt,Ce)),Nt===null)for(var oo=0;oo<hs;oo++)vi.push(Js),vi.push(_o(ar,zt,Ce));else{for(var Co=0;Co<hs;Co++)vi.push(Js),vi.push(_o(ar,zt,Ce));vi.push({type:"kern",size:ks}),vi.push(_o(ar,zt,Ce)),vi.push(Js),vi.push(_o(Nt,zt,Ce));for(var Mo=0;Mo<hs;Mo++)vi.push(Js),vi.push(_o(ar,zt,Ce))}vi.push({type:"kern",size:ks}),vi.push(_o(ar,zt,Ce)),vi.push(Js),vi.push(_o(Tt,zt,Ce));var Ms=he.havingBaseStyle(Z.TEXT),go=st.makeVList({positionType:"bottom",positionData:Za,children:vi},Ms);return Oo(st.makeSpan(["delimsizing","mult"],[go],Ms),Z.TEXT,he,Ge)},Ro=80,Lo=.08,Hs=function(H,X,ne,he,Ce){var Ge=er(H,he,ne),Tt=new $e(H,Ge),Nt=new Me([Tt],{width:"400em",height:X+"em",viewBox:"0 0 400000 "+ne,preserveAspectRatio:"xMinYMin slice"});return st.makeSvgSpan(["hide-tail"],[Nt],Ce)},du=function(H,X){var ne=X.havingBaseSizing(),he=vr("\\surd",H*ne.sizeMultiplier,hr,ne),Ce=ne.sizeMultiplier,Ge=Math.max(0,X.minRuleThickness-X.fontMetrics().sqrtRuleThickness),Tt,Nt=0,ar=0,Er=0,zt;return he.type==="small"?(Er=1e3+1e3*Ge+Ro,H<1?Ce=1:H<1.4&&(Ce=.7),Nt=(1+Ge+Lo)/Ce,ar=(1+Ge)/Ce,Tt=Hs("sqrtMain",Nt,Er,Ge,X),Tt.style.minWidth="0.853em",zt=.833/Ce):he.type==="large"?(Er=(1e3+Ro)*Rs[he.size],ar=(Rs[he.size]+Ge)/Ce,Nt=(Rs[he.size]+Ge+Lo)/Ce,Tt=Hs("sqrtSize"+he.size,Nt,Er,Ge,X),Tt.style.minWidth="1.02em",zt=1/Ce):(Nt=H+Ge+Lo,ar=H+Ge,Er=Math.floor(1e3*H+Ge)+Ro,Tt=Hs("sqrtTall",Nt,Er,Ge,X),Tt.style.minWidth="0.742em",zt=1.056),Tt.height=ar,Tt.style.height=Nt+"em",{span:Tt,advanceWidth:zt,ruleWidth:(X.fontMetrics().sqrtRuleThickness+Ge)*Ce}},jo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Ao=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Bs=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Rs=[0,1.2,1.8,2.4,3],hu=function(H,X,ne,he,Ce){if(H==="<"||H==="\\lt"||H==="\u27E8"?H="\\langle":(H===">"||H==="\\gt"||H==="\u27E9")&&(H="\\rangle"),A.contains(jo,H)||A.contains(Bs,H))return So(H,X,!1,ne,he,Ce);if(A.contains(Ao,H))return $u(H,Rs[X],!1,ne,he,Ce);throw new o("Illegal delimiter: '"+H+"'")},Au=[{type:"small",style:Z.SCRIPTSCRIPT},{type:"small",style:Z.SCRIPT},{type:"small",style:Z.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],qt=[{type:"small",style:Z.SCRIPTSCRIPT},{type:"small",style:Z.SCRIPT},{type:"small",style:Z.TEXT},{type:"stack"}],hr=[{type:"small",style:Z.SCRIPTSCRIPT},{type:"small",style:Z.SCRIPT},{type:"small",style:Z.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],or=function(H){if(H.type==="small")return"Main-Regular";if(H.type==="large")return"Size"+H.size+"-Regular";if(H.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+H.type+"' here.")},vr=function(H,X,ne,he){for(var Ce=Math.min(2,3-he.style.size),Ge=Ce;Ge<ne.length&&ne[Ge].type!=="stack";Ge++){var Tt=ds(H,or(ne[Ge]),"math"),Nt=Tt.height+Tt.depth;if(ne[Ge].type==="small"){var ar=he.havingBaseStyle(ne[Ge].style);Nt*=ar.sizeMultiplier}if(Nt>X)return ne[Ge]}return ne[ne.length-1]},wr=function(H,X,ne,he,Ce,Ge){H==="<"||H==="\\lt"||H==="\u27E8"?H="\\langle":(H===">"||H==="\\gt"||H==="\u27E9")&&(H="\\rangle");var Tt;A.contains(Bs,H)?Tt=Au:A.contains(jo,H)?Tt=hr:Tt=qt;var Nt=vr(H,X,Tt,he);return Nt.type==="small"?Ho(H,Nt.style,ne,he,Ce,Ge):Nt.type==="large"?So(H,Nt.size,ne,he,Ce,Ge):$u(H,X,ne,he,Ce,Ge)},yn=function(H,X,ne,he,Ce,Ge){var Tt=he.fontMetrics().axisHeight*he.sizeMultiplier,Nt=901,ar=5/he.fontMetrics().ptPerEm,Er=Math.max(X-Tt,ne+Tt),zt=Math.max(Er/500*Nt,2*Er-ar);return wr(H,zt,!0,he,Ce,Ge)},En={sqrtImage:du,sizedDelim:hu,customSizedDelim:wr,leftRightDelim:yn},$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}},Ln=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Vn(Ve,H){var X=_n(Ve);if(X&&A.contains(Ln,X.text))return X;throw new o("Invalid delimiter: '"+(X?X.text:JSON.stringify(Ve))+"' after '"+H.funcName+"'",Ve)}vn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(H,X){var ne=Vn(X[0],H);return{type:"delimsizing",mode:H.parser.mode,size:$n[H.funcName].size,mclass:$n[H.funcName].mclass,delim:ne.text}},htmlBuilder:function(H,X){return H.delim==="."?st.makeSpan([H.mclass]):En.sizedDelim(H.delim,H.size,X,H.mode,[H.mclass])},mathmlBuilder:function(H){var X=[];H.delim!=="."&&X.push($a(H.delim,H.mode));var ne=new Dn.MathNode("mo",X);return H.mclass==="mopen"||H.mclass==="mclose"?ne.setAttribute("fence","true"):ne.setAttribute("fence","false"),ne}});function ur(Ve){if(!Ve.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}vn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(H,X){var ne=H.parser.gullet.macros.get("\\current@color");if(ne&&typeof ne!="string")throw new o("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:H.parser.mode,delim:Vn(X[0],H).text,color:ne}}}),vn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(H,X){var ne=Vn(X[0],H),he=H.parser;++he.leftrightDepth;var Ce=he.parseExpression(!1);--he.leftrightDepth,he.expect("\\right",!1);var Ge=nr(he.parseFunction(),"leftright-right");return{type:"leftright",mode:he.mode,body:Ce,left:ne.text,right:Ge.delim,rightColor:Ge.color}},htmlBuilder:function(H,X){ur(H);for(var ne=Wa(H.body,X,!0,["mopen","mclose"]),he=0,Ce=0,Ge=!1,Tt=0;Tt<ne.length;Tt++)ne[Tt].isMiddle?Ge=!0:(he=Math.max(ne[Tt].height,he),Ce=Math.max(ne[Tt].depth,Ce));he*=X.sizeMultiplier,Ce*=X.sizeMultiplier;var Nt;if(H.left==="."?Nt=Is(X,["mopen"]):Nt=En.leftRightDelim(H.left,he,Ce,X,H.mode,["mopen"]),ne.unshift(Nt),Ge)for(var ar=1;ar<ne.length;ar++){var Er=ne[ar],zt=Er.isMiddle;zt&&(ne[ar]=En.leftRightDelim(zt.delim,he,Ce,zt.options,H.mode,[]))}var an;if(H.right===".")an=Is(X,["mclose"]);else{var xn=H.rightColor?X.withColor(H.rightColor):X;an=En.leftRightDelim(H.right,he,Ce,xn,H.mode,["mclose"])}return ne.push(an),st.makeSpan(["minner"],ne,X)},mathmlBuilder:function(H,X){ur(H);var ne=zi(H.body,X);if(H.left!=="."){var he=new Dn.MathNode("mo",[$a(H.left,H.mode)]);he.setAttribute("fence","true"),ne.unshift(he)}if(H.right!=="."){var Ce=new Dn.MathNode("mo",[$a(H.right,H.mode)]);Ce.setAttribute("fence","true"),H.rightColor&&Ce.setAttribute("mathcolor",H.rightColor),ne.push(Ce)}return cs(ne)}}),vn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(H,X){var ne=Vn(X[0],H);if(!H.parser.leftrightDepth)throw new o("\\middle without preceding \\left",ne);return{type:"middle",mode:H.parser.mode,delim:ne.text}},htmlBuilder:function(H,X){var ne;if(H.delim===".")ne=Is(X,[]);else{ne=En.sizedDelim(H.delim,1,X,H.mode,[]);var he={delim:H.delim,options:X};ne.isMiddle=he}return ne},mathmlBuilder:function(H,X){var ne=H.delim==="\\vert"||H.delim==="|"?$a("|","text"):$a(H.delim,H.mode),he=new Dn.MathNode("mo",[ne]);return he.setAttribute("fence","true"),he.setAttribute("lspace","0.05em"),he.setAttribute("rspace","0.05em"),he}});var Nr=function(H,X){var ne=st.wrapFragment(Yi(H.body,X),X),he=H.label.substr(1),Ce=X.sizeMultiplier,Ge,Tt=0,Nt=A.isCharacterBox(H.body);if(he==="sout")Ge=st.makeSpan(["stretchy","sout"]),Ge.height=X.fontMetrics().defaultRuleThickness/Ce,Tt=-.5*X.fontMetrics().xHeight;else{/cancel/.test(he)?Nt||ne.classes.push("cancel-pad"):ne.classes.push("boxpad");var ar=0,Er=0;/box/.test(he)?(Er=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness),ar=X.fontMetrics().fboxsep+(he==="colorbox"?0:Er)):ar=Nt?.2:0,Ge=ci.encloseSpan(ne,he,ar,X),/fbox|boxed|fcolorbox/.test(he)&&(Ge.style.borderStyle="solid",Ge.style.borderWidth=Er+"em"),Tt=ne.depth+ar,H.backgroundColor&&(Ge.style.backgroundColor=H.backgroundColor,H.borderColor&&(Ge.style.borderColor=H.borderColor))}var zt;return H.backgroundColor?zt=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ge,shift:Tt},{type:"elem",elem:ne,shift:0}]},X):zt=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ne,shift:0},{type:"elem",elem:Ge,shift:Tt,wrapperClasses:/cancel/.test(he)?["svg-align"]:[]}]},X),/cancel/.test(he)&&(zt.height=ne.height,zt.depth=ne.depth),/cancel/.test(he)&&!Nt?st.makeSpan(["mord","cancel-lap"],[zt],X):st.makeSpan(["mord"],[zt],X)},xr=function(H,X){var ne=0,he=new Dn.MathNode(H.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Da(H.body,X)]);switch(H.label){case"\\cancel":he.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":he.setAttribute("notation","downdiagonalstrike");break;case"\\sout":he.setAttribute("notation","horizontalstrike");break;case"\\fbox":he.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(ne=X.fontMetrics().fboxsep*X.fontMetrics().ptPerEm,he.setAttribute("width","+"+2*ne+"pt"),he.setAttribute("height","+"+2*ne+"pt"),he.setAttribute("lspace",ne+"pt"),he.setAttribute("voffset",ne+"pt"),H.label==="\\fcolorbox"){var Ce=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness);he.setAttribute("style","border: "+Ce+"em solid "+String(H.borderColor))}break;case"\\xcancel":he.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return H.backgroundColor&&he.setAttribute("mathbackground",H.backgroundColor),he};vn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(H,X,ne){var he=H.parser,Ce=H.funcName,Ge=nr(X[0],"color-token").color,Tt=X[1];return{type:"enclose",mode:he.mode,label:Ce,backgroundColor:Ge,body:Tt}},htmlBuilder:Nr,mathmlBuilder:xr}),vn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(H,X,ne){var he=H.parser,Ce=H.funcName,Ge=nr(X[0],"color-token").color,Tt=nr(X[1],"color-token").color,Nt=X[2];return{type:"enclose",mode:he.mode,label:Ce,backgroundColor:Tt,borderColor:Ge,body:Nt}},htmlBuilder:Nr,mathmlBuilder:xr}),vn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(H,X){var ne=H.parser;return{type:"enclose",mode:ne.mode,label:"\\fbox",body:X[0]}}}),vn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(H,X,ne){var he=H.parser,Ce=H.funcName,Ge=X[0];return{type:"enclose",mode:he.mode,label:Ce,body:Ge}},htmlBuilder:Nr,mathmlBuilder:xr});var hn={};function Wn(Ve){for(var H=Ve.type,X=Ve.names,ne=Ve.props,he=Ve.handler,Ce=Ve.htmlBuilder,Ge=Ve.mathmlBuilder,Tt={type:H,numArgs:ne.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:he},Nt=0;Nt<X.length;++Nt)hn[X[Nt]]=Tt;Ce&&(wi[H]=Ce),Ge&&(_i[H]=Ge)}function ft(Ve){var H=[];Ve.consumeSpaces();for(var X=Ve.fetch().text;X==="\\hline"||X==="\\hdashline";)Ve.consume(),H.push(X==="\\hdashline"),Ve.consumeSpaces(),X=Ve.fetch().text;return H}function Pn(Ve,H,X){var ne=H.hskipBeforeAndAfter,he=H.addJot,Ce=H.cols,Ge=H.arraystretch,Tt=H.colSeparationType;if(Ve.gullet.beginGroup(),Ve.gullet.macros.set("\\\\","\\cr"),!Ge){var Nt=Ve.gullet.expandMacroAsText("\\arraystretch");if(Nt==null)Ge=1;else if(Ge=parseFloat(Nt),!Ge||Ge<0)throw new o("Invalid \\arraystretch: "+Nt)}Ve.gullet.beginGroup();var ar=[],Er=[ar],zt=[],an=[];for(an.push(ft(Ve));;){var xn=Ve.parseExpression(!1,"\\cr");Ve.gullet.endGroup(),Ve.gullet.beginGroup(),xn={type:"ordgroup",mode:Ve.mode,body:xn},X&&(xn={type:"styling",mode:Ve.mode,style:X,body:[xn]}),ar.push(xn);var jn=Ve.fetch().text;if(jn==="&")Ve.consume();else if(jn==="\\end"){ar.length===1&&xn.type==="styling"&&xn.body[0].body.length===0&&Er.pop(),an.length<Er.length+1&&an.push([]);break}else if(jn==="\\cr"){var Zn=nr(Ve.parseFunction(),"cr");zt.push(Zn.size),an.push(ft(Ve)),ar=[],Er.push(ar)}else throw new o("Expected & or \\\\ or \\cr or \\end",Ve.nextToken)}return Ve.gullet.endGroup(),Ve.gullet.endGroup(),{type:"array",mode:Ve.mode,addJot:he,arraystretch:Ge,body:Er,cols:Ce,rowGaps:zt,hskipBeforeAndAfter:ne,hLinesBeforeRow:an,colSeparationType:Tt}}function Kn(Ve){return Ve.substr(0,1)==="d"?"display":"text"}var ui=function(H,X){var ne,he,Ce=H.body.length,Ge=H.hLinesBeforeRow,Tt=0,Nt=new Array(Ce),ar=[],Er=Math.max(X.fontMetrics().arrayRuleWidth,X.minRuleThickness),zt=1/X.fontMetrics().ptPerEm,an=5*zt;if(H.colSeparationType&&H.colSeparationType==="small"){var xn=X.havingStyle(Z.SCRIPT).sizeMultiplier;an=.2778*(xn/X.sizeMultiplier)}var jn=12*zt,Zn=3*zt,Ci=H.arraystretch*jn,pa=.7*Ci,sa=.3*Ci,fa=0;function us(To){for(var mu=0;mu<To.length;++mu)mu>0&&(fa+=.25),ar.push({pos:fa,isDashed:To[mu]})}for(us(Ge[0]),ne=0;ne<H.body.length;++ne){var za=H.body[ne],hs=pa,rs=sa;Tt<za.length&&(Tt=za.length);var Ea=new Array(za.length);for(he=0;he<za.length;++he){var Za=Yi(za[he],X);rs<Za.depth&&(rs=Za.depth),hs<Za.height&&(hs=Za.height),Ea[he]=Za}var ks=H.rowGaps[ne],vi=0;ks&&(vi=ii(ks,X),vi>0&&(vi+=sa,rs<vi&&(rs=vi),vi=0)),H.addJot&&(rs+=Zn),Ea.height=hs,Ea.depth=rs,fa+=hs,Ea.pos=fa,fa+=rs+vi,Nt[ne]=Ea,us(Ge[ne+1])}var oo=fa/2+X.fontMetrics().axisHeight,Co=H.cols||[],Mo=[],Ms,go;for(he=0,go=0;he<Tt||go<Co.length;++he,++go){for(var ps=Co[go]||{},Xu=!0;ps.type==="separator";){if(Xu||(Ms=st.makeSpan(["arraycolsep"],[]),Ms.style.width=X.fontMetrics().doubleRuleSep+"em",Mo.push(Ms)),ps.separator==="|"||ps.separator===":"){var ju=ps.separator==="|"?"solid":"dashed",Qu=st.makeSpan(["vertical-separator"],[],X);Qu.style.height=fa+"em",Qu.style.borderRightWidth=Er+"em",Qu.style.borderRightStyle=ju,Qu.style.margin="0 -"+Er/2+"em",Qu.style.verticalAlign=-(fa-oo)+"em",Mo.push(Qu)}else throw new o("Invalid separator type: "+ps.separator);go++,ps=Co[go]||{},Xu=!1}if(!(he>=Tt)){var uu=void 0;(he>0||H.hskipBeforeAndAfter)&&(uu=A.deflt(ps.pregap,an),uu!==0&&(Ms=st.makeSpan(["arraycolsep"],[]),Ms.style.width=uu+"em",Mo.push(Ms)));var As=[];for(ne=0;ne<Ce;++ne){var Uu=Nt[ne],Cu=Uu[he];if(Cu){var yo=Uu.pos-oo;Cu.depth=Uu.depth,Cu.height=Uu.height,As.push({type:"elem",elem:Cu,shift:yo})}}As=st.makeVList({positionType:"individualShift",children:As},X),As=st.makeSpan(["col-align-"+(ps.align||"c")],[As]),Mo.push(As),(he<Tt-1||H.hskipBeforeAndAfter)&&(uu=A.deflt(ps.postgap,an),uu!==0&&(Ms=st.makeSpan(["arraycolsep"],[]),Ms.style.width=uu+"em",Mo.push(Ms)))}}if(Nt=st.makeSpan(["mtable"],Mo),ar.length>0){for(var pl=st.makeLineSpan("hline",X,Er),_l=st.makeLineSpan("hdashline",X,Er),qo=[{type:"elem",elem:Nt,shift:0}];ar.length>0;){var ml=ar.pop(),Gs=ml.pos-oo;ml.isDashed?qo.push({type:"elem",elem:_l,shift:Gs}):qo.push({type:"elem",elem:pl,shift:Gs})}Nt=st.makeVList({positionType:"individualShift",children:qo},X)}return st.makeSpan(["mord"],[Nt],X)},Xi={c:"center ",l:"left ",r:"right "},$r=function(H,X){var ne=new Dn.MathNode("mtable",H.body.map(function(fa){return new Dn.MathNode("mtr",fa.map(function(us){return new Dn.MathNode("mtd",[Da(us,X)])}))})),he=H.arraystretch===.5?.1:.16+H.arraystretch-1+(H.addJot?.09:0);ne.setAttribute("rowspacing",he+"em");var Ce="",Ge="";if(H.cols){var Tt=H.cols,Nt="",ar=!1,Er=0,zt=Tt.length;Tt[0].type==="separator"&&(Ce+="top ",Er=1),Tt[Tt.length-1].type==="separator"&&(Ce+="bottom ",zt-=1);for(var an=Er;an<zt;an++)Tt[an].type==="align"?(Ge+=Xi[Tt[an].align],ar&&(Nt+="none "),ar=!0):Tt[an].type==="separator"&&ar&&(Nt+=Tt[an].separator==="|"?"solid ":"dashed ",ar=!1);ne.setAttribute("columnalign",Ge.trim()),/[sd]/.test(Nt)&&ne.setAttribute("columnlines",Nt.trim())}if(H.colSeparationType==="align"){for(var xn=H.cols||[],jn="",Zn=1;Zn<xn.length;Zn++)jn+=Zn%2?"0em ":"1em ";ne.setAttribute("columnspacing",jn.trim())}else H.colSeparationType==="alignat"?ne.setAttribute("columnspacing","0em"):H.colSeparationType==="small"?ne.setAttribute("columnspacing","0.2778em"):ne.setAttribute("columnspacing","1em");var Ci="",pa=H.hLinesBeforeRow;Ce+=pa[0].length>0?"left ":"",Ce+=pa[pa.length-1].length>0?"right ":"";for(var sa=1;sa<pa.length-1;sa++)Ci+=pa[sa].length===0?"none ":pa[sa][0]?"dashed ":"solid ";return/[sd]/.test(Ci)&&ne.setAttribute("rowlines",Ci.trim()),Ce!==""&&(ne=new Dn.MathNode("menclose",[ne]),ne.setAttribute("notation",Ce.trim())),H.arraystretch&&H.arraystretch<1&&(ne=new Dn.MathNode("mstyle",[ne]),ne.setAttribute("scriptlevel","1")),ne},Vr=function(H,X){var ne=[],he=Pn(H.parser,{cols:ne,addJot:!0},"display"),Ce,Ge=0,Tt={type:"ordgroup",mode:H.mode,body:[]},Nt=Lr(X[0],"ordgroup");if(Nt){for(var ar="",Er=0;Er<Nt.body.length;Er++){var zt=nr(Nt.body[Er],"textord");ar+=zt.text}Ce=Number(ar),Ge=Ce*2}var an=!Ge;he.body.forEach(function(Ci){for(var pa=1;pa<Ci.length;pa+=2){var sa=nr(Ci[pa],"styling"),fa=nr(sa.body[0],"ordgroup");fa.body.unshift(Tt)}if(an)Ge<Ci.length&&(Ge=Ci.length);else{var us=Ci.length/2;if(Ce<us)throw new o("Too many math in a row: "+("expected "+Ce+", but got "+us),Ci[0])}});for(var xn=0;xn<Ge;++xn){var jn="r",Zn=0;xn%2===1?jn="l":xn>0&&an&&(Zn=1),ne[xn]={type:"align",align:jn,pregap:Zn,postgap:0}}return he.colSeparationType=an?"align":"alignat",he};Wn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(H,X){var ne=_n(X[0]),he=ne?[X[0]]:nr(X[0],"ordgroup").body,Ce=he.map(function(Tt){var Nt=Ur(Tt),ar=Nt.text;if("lcr".indexOf(ar)!==-1)return{type:"align",align:ar};if(ar==="|")return{type:"separator",separator:"|"};if(ar===":")return{type:"separator",separator:":"};throw new o("Unknown column alignment: "+ar,Tt)}),Ge={cols:Ce,hskipBeforeAndAfter:!0};return Pn(H.parser,Ge,Kn(H.envName))},htmlBuilder:ui,mathmlBuilder:$r}),Wn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(H){var X={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[H.envName],ne={hskipBeforeAndAfter:!1},he=Pn(H.parser,ne,Kn(H.envName));return X?{type:"leftright",mode:H.mode,body:[he],left:X[0],right:X[1],rightColor:void 0}:he},htmlBuilder:ui,mathmlBuilder:$r}),Wn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(H){var X={arraystretch:.5},ne=Pn(H.parser,X,"script");return ne.colSeparationType="small",ne},htmlBuilder:ui,mathmlBuilder:$r}),Wn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(H,X){var ne=_n(X[0]),he=ne?[X[0]]:nr(X[0],"ordgroup").body,Ce=he.map(function(Tt){var Nt=Ur(Tt),ar=Nt.text;if("lc".indexOf(ar)!==-1)return{type:"align",align:ar};throw new o("Unknown column alignment: "+ar,Tt)});if(Ce.length>1)throw new o("{subarray} can contain only one column");var Ge={cols:Ce,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ge=Pn(H.parser,Ge,"script"),Ge.body[0].length>1)throw new o("{subarray} can contain only one column");return Ge},htmlBuilder:ui,mathmlBuilder:$r}),Wn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(H){var X={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},ne=Pn(H.parser,X,Kn(H.envName));return{type:"leftright",mode:H.mode,body:[ne],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:ui,mathmlBuilder:$r}),Wn({type:"array",names:["aligned"],props:{numArgs:0},handler:Vr,htmlBuilder:ui,mathmlBuilder:$r}),Wn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(H){var X={cols:[{type:"align",align:"c"}],addJot:!0};return Pn(H.parser,X,"display")},htmlBuilder:ui,mathmlBuilder:$r}),Wn({type:"array",names:["alignedat"],props:{numArgs:1},handler:Vr,htmlBuilder:ui,mathmlBuilder:$r}),vn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(H,X){throw new o(H.funcName+" valid only within array environment")}});var ga=hn,Ii=ga;vn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(H,X){var ne=H.parser,he=H.funcName,Ce=X[0];if(Ce.type!=="ordgroup")throw new o("Invalid environment name",Ce);for(var Ge="",Tt=0;Tt<Ce.body.length;++Tt)Ge+=nr(Ce.body[Tt],"textord").text;if(he==="\\begin"){if(!Ii.hasOwnProperty(Ge))throw new o("No such environment: "+Ge,Ce);var Nt=Ii[Ge],ar=ne.parseArguments("\\begin{"+Ge+"}",Nt),Er=ar.args,zt=ar.optArgs,an={mode:ne.mode,envName:Ge,parser:ne},xn=Nt.handler(an,Er,zt);ne.expect("\\end",!1);var jn=ne.nextToken,Zn=nr(ne.parseFunction(),"environment");if(Zn.name!==Ge)throw new o("Mismatch: \\begin{"+Ge+"} matched by \\end{"+Zn.name+"}",jn);return xn}return{type:"environment",mode:ne.mode,name:Ge,nameGroup:Ce}}});var aa=st.makeSpan;function Ds(Ve,H){var X=Wa(Ve.body,H,!0);return aa([Ve.mclass],X,H)}function li(Ve,H){var X,ne=zi(Ve.body,H);return Ve.mclass==="minner"?Dn.newDocumentFragment(ne):(Ve.mclass==="mord"?Ve.isCharacterBox?(X=ne[0],X.type="mi"):X=new Dn.MathNode("mi",ne):(Ve.isCharacterBox?(X=ne[0],X.type="mo"):X=new Dn.MathNode("mo",ne),Ve.mclass==="mbin"?(X.attributes.lspace="0.22em",X.attributes.rspace="0.22em"):Ve.mclass==="mpunct"?(X.attributes.lspace="0em",X.attributes.rspace="0.17em"):(Ve.mclass==="mopen"||Ve.mclass==="mclose")&&(X.attributes.lspace="0em",X.attributes.rspace="0em")),X)}vn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(H,X){var ne=H.parser,he=H.funcName,Ce=X[0];return{type:"mclass",mode:ne.mode,mclass:"m"+he.substr(5),body:Bi(Ce),isCharacterBox:A.isCharacterBox(Ce)}},htmlBuilder:Ds,mathmlBuilder:li});var Ws=function(H){var X=H.type==="ordgroup"&&H.body.length?H.body[0]:H;return X.type==="atom"&&(X.family==="bin"||X.family==="rel")?"m"+X.family:"mord"};vn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(H,X){var ne=H.parser;return{type:"mclass",mode:ne.mode,mclass:Ws(X[0]),body:[X[1]],isCharacterBox:A.isCharacterBox(X[1])}}}),vn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(H,X){var ne=H.parser,he=H.funcName,Ce=X[1],Ge=X[0],Tt;he!=="\\stackrel"?Tt=Ws(Ce):Tt="mrel";var Nt={type:"op",mode:Ce.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:he!=="\\stackrel",body:Bi(Ce)},ar={type:"supsub",mode:Ge.mode,base:Nt,sup:he==="\\underset"?null:Ge,sub:he==="\\underset"?Ge:null};return{type:"mclass",mode:ne.mode,mclass:Tt,body:[ar],isCharacterBox:A.isCharacterBox(ar)}},htmlBuilder:Ds,mathmlBuilder:li});var Uo=function(H,X){var ne=H.font,he=X.withFont(ne);return Yi(H.body,he)},Ls=function(H,X){var ne=H.font,he=X.withFont(ne);return Da(H.body,he)},ya={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};vn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(H,X){var ne=H.parser,he=H.funcName,Ce=X[0],Ge=he;return Ge in ya&&(Ge=ya[Ge]),{type:"font",mode:ne.mode,font:Ge.slice(1),body:Ce}},htmlBuilder:Uo,mathmlBuilder:Ls}),vn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(H,X){var ne=H.parser,he=X[0],Ce=A.isCharacterBox(he);return{type:"mclass",mode:ne.mode,mclass:Ws(he),body:[{type:"font",mode:ne.mode,font:"boldsymbol",body:he}],isCharacterBox:Ce}}}),vn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(H,X){var ne=H.parser,he=H.funcName,Ce=H.breakOnTokenText,Ge=ne.mode,Tt=ne.parseExpression(!0,Ce),Nt="math"+he.slice(1);return{type:"font",mode:Ge,font:Nt,body:{type:"ordgroup",mode:ne.mode,body:Tt}}},htmlBuilder:Uo,mathmlBuilder:Ls});var Va=function(H,X){var ne=X;return H==="display"?ne=ne.id>=Z.SCRIPT.id?ne.text():Z.DISPLAY:H==="text"&&ne.size===Z.DISPLAY.size?ne=Z.TEXT:H==="script"?ne=Z.SCRIPT:H==="scriptscript"&&(ne=Z.SCRIPTSCRIPT),ne},ys=function(H,X){var ne=Va(H.size,X.style),he=ne.fracNum(),Ce=ne.fracDen(),Ge;Ge=X.havingStyle(he);var Tt=Yi(H.numer,Ge,X);if(H.continued){var Nt=8.5/X.fontMetrics().ptPerEm,ar=3.5/X.fontMetrics().ptPerEm;Tt.height=Tt.height<Nt?Nt:Tt.height,Tt.depth=Tt.depth<ar?ar:Tt.depth}Ge=X.havingStyle(Ce);var Er=Yi(H.denom,Ge,X),zt,an,xn;H.hasBarLine?(H.barSize?(an=ii(H.barSize,X),zt=st.makeLineSpan("frac-line",X,an)):zt=st.makeLineSpan("frac-line",X),an=zt.height,xn=zt.height):(zt=null,an=0,xn=X.fontMetrics().defaultRuleThickness);var jn,Zn,Ci;ne.size===Z.DISPLAY.size||H.size==="display"?(jn=X.fontMetrics().num1,an>0?Zn=3*xn:Zn=7*xn,Ci=X.fontMetrics().denom1):(an>0?(jn=X.fontMetrics().num2,Zn=xn):(jn=X.fontMetrics().num3,Zn=3*xn),Ci=X.fontMetrics().denom2);var pa;if(zt){var fa=X.fontMetrics().axisHeight;jn-Tt.depth-(fa+.5*an)<Zn&&(jn+=Zn-(jn-Tt.depth-(fa+.5*an))),fa-.5*an-(Er.height-Ci)<Zn&&(Ci+=Zn-(fa-.5*an-(Er.height-Ci)));var us=-(fa-.5*an);pa=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Er,shift:Ci},{type:"elem",elem:zt,shift:us},{type:"elem",elem:Tt,shift:-jn}]},X)}else{var sa=jn-Tt.depth-(Er.height-Ci);sa<Zn&&(jn+=.5*(Zn-sa),Ci+=.5*(Zn-sa)),pa=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Er,shift:Ci},{type:"elem",elem:Tt,shift:-jn}]},X)}Ge=X.havingStyle(ne),pa.height*=Ge.sizeMultiplier/X.sizeMultiplier,pa.depth*=Ge.sizeMultiplier/X.sizeMultiplier;var za;ne.size===Z.DISPLAY.size?za=X.fontMetrics().delim1:za=X.fontMetrics().delim2;var hs,rs;return H.leftDelim==null?hs=Is(X,["mopen"]):hs=En.customSizedDelim(H.leftDelim,za,!0,X.havingStyle(ne),H.mode,["mopen"]),H.continued?rs=st.makeSpan([]):H.rightDelim==null?rs=Is(X,["mclose"]):rs=En.customSizedDelim(H.rightDelim,za,!0,X.havingStyle(ne),H.mode,["mclose"]),st.makeSpan(["mord"].concat(Ge.sizingClasses(X)),[hs,st.makeSpan(["mfrac"],[pa]),rs],X)},Mn=function(H,X){var ne=new Dn.MathNode("mfrac",[Da(H.numer,X),Da(H.denom,X)]);if(!H.hasBarLine)ne.setAttribute("linethickness","0px");else if(H.barSize){var he=ii(H.barSize,X);ne.setAttribute("linethickness",he+"em")}var Ce=Va(H.size,X.style);if(Ce.size!==X.style.size){ne=new Dn.MathNode("mstyle",[ne]);var Ge=Ce.size===Z.DISPLAY.size?"true":"false";ne.setAttribute("displaystyle",Ge),ne.setAttribute("scriptlevel","0")}if(H.leftDelim!=null||H.rightDelim!=null){var Tt=[];if(H.leftDelim!=null){var Nt=new Dn.MathNode("mo",[new Dn.TextNode(H.leftDelim.replace("\\",""))]);Nt.setAttribute("fence","true"),Tt.push(Nt)}if(Tt.push(ne),H.rightDelim!=null){var ar=new Dn.MathNode("mo",[new Dn.TextNode(H.rightDelim.replace("\\",""))]);ar.setAttribute("fence","true"),Tt.push(ar)}return cs(Tt)}return ne};vn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(H,X){var ne=H.parser,he=H.funcName,Ce=X[0],Ge=X[1],Tt,Nt=null,ar=null,Er="auto";switch(he){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Tt=!0;break;case"\\\\atopfrac":Tt=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Tt=!1,Nt="(",ar=")";break;case"\\\\bracefrac":Tt=!1,Nt="\\{",ar="\\}";break;case"\\\\brackfrac":Tt=!1,Nt="[",ar="]";break;default:throw new Error("Unrecognized genfrac command")}switch(he){case"\\cfrac":case"\\dfrac":case"\\dbinom":Er="display";break;case"\\tfrac":case"\\tbinom":Er="text";break}return{type:"genfrac",mode:ne.mode,continued:he==="\\cfrac",numer:Ce,denom:Ge,hasBarLine:Tt,leftDelim:Nt,rightDelim:ar,size:Er,barSize:null}},htmlBuilder:ys,mathmlBuilder:Mn}),vn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(H){var X=H.parser,ne=H.funcName,he=H.token,Ce;switch(ne){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:he}}});var Ns=["display","text","script","scriptscript"],$s=function(H){var X=null;return H.length>0&&(X=H,X=X==="."?null:X),X};vn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(H,X){var ne=H.parser,he=X[4],Ce=X[5],Ge=Lr(X[0],"atom");Ge&&(Ge=Or(X[0],"open"));var Tt=Ge?$s(Ge.text):null,Nt=Lr(X[1],"atom");Nt&&(Nt=Or(X[1],"close"));var ar=Nt?$s(Nt.text):null,Er=nr(X[2],"size"),zt,an=null;Er.isBlank?zt=!0:(an=Er.value,zt=an.number>0);var xn="auto",jn=Lr(X[3],"ordgroup");if(jn){if(jn.body.length>0){var Zn=nr(jn.body[0],"textord");xn=Ns[Number(Zn.text)]}}else jn=nr(X[3],"textord"),xn=Ns[Number(jn.text)];return{type:"genfrac",mode:ne.mode,numer:he,denom:Ce,continued:!1,hasBarLine:zt,barSize:an,leftDelim:Tt,rightDelim:ar,size:xn}},htmlBuilder:ys,mathmlBuilder:Mn}),vn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(H,X){var ne=H.parser,he=H.funcName,Ce=H.token;return{type:"infix",mode:ne.mode,replaceWith:"\\\\abovefrac",size:nr(X[0],"size").value,token:Ce}}}),vn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(H,X){var ne=H.parser,he=H.funcName,Ce=X[0],Ge=k(nr(X[1],"infix").size),Tt=X[2],Nt=Ge.number>0;return{type:"genfrac",mode:ne.mode,numer:Ce,denom:Tt,continued:!1,hasBarLine:Nt,barSize:Ge,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ys,mathmlBuilder:Mn});var Ye=function(H,X){var ne=X.style,he,Ce,Ge=Lr(H,"supsub");Ge?(he=Ge.sup?Yi(Ge.sup,X.havingStyle(ne.sup()),X):Yi(Ge.sub,X.havingStyle(ne.sub()),X),Ce=nr(Ge.base,"horizBrace")):Ce=nr(H,"horizBrace");var Tt=Yi(Ce.base,X.havingBaseStyle(Z.DISPLAY)),Nt=ci.svgSpan(Ce,X),ar;if(Ce.isOver?(ar=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tt},{type:"kern",size:.1},{type:"elem",elem:Nt}]},X),ar.children[0].children[0].children[1].classes.push("svg-align")):(ar=st.makeVList({positionType:"bottom",positionData:Tt.depth+.1+Nt.height,children:[{type:"elem",elem:Nt},{type:"kern",size:.1},{type:"elem",elem:Tt}]},X),ar.children[0].children[0].children[0].classes.push("svg-align")),he){var Er=st.makeSpan(["mord",Ce.isOver?"mover":"munder"],[ar],X);Ce.isOver?ar=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Er},{type:"kern",size:.2},{type:"elem",elem:he}]},X):ar=st.makeVList({positionType:"bottom",positionData:Er.depth+.2+he.height+he.depth,children:[{type:"elem",elem:he},{type:"kern",size:.2},{type:"elem",elem:Er}]},X)}return st.makeSpan(["mord",Ce.isOver?"mover":"munder"],[ar],X)},Qe=function(H,X){var ne=ci.mathMLnode(H.label);return new Dn.MathNode(H.isOver?"mover":"munder",[Da(H.base,X),ne])};vn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(H,X){var ne=H.parser,he=H.funcName;return{type:"horizBrace",mode:ne.mode,label:he,isOver:/^\\over/.test(he),base:X[0]}},htmlBuilder:Ye,mathmlBuilder:Qe}),vn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(H,X){var ne=H.parser,he=X[1],Ce=nr(X[0],"url").url;return ne.settings.isTrusted({command:"\\href",url:Ce})?{type:"href",mode:ne.mode,href:Ce,body:Bi(he)}:ne.formatUnsupportedCmd("\\href")},htmlBuilder:function(H,X){var ne=Wa(H.body,X,!1);return st.makeAnchor(H.href,[],ne,X)},mathmlBuilder:function(H,X){var ne=Ra(H.body,X);return ne instanceof vs||(ne=new vs("mrow",[ne])),ne.setAttribute("href",H.href),ne}}),vn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(H,X){var ne=H.parser,he=nr(X[0],"url").url;if(!ne.settings.isTrusted({command:"\\url",url:he}))return ne.formatUnsupportedCmd("\\url");for(var Ce=[],Ge=0;Ge<he.length;Ge++){var Tt=he[Ge];Tt==="~"&&(Tt="\\textasciitilde"),Ce.push({type:"textord",mode:"text",text:Tt})}var Nt={type:"text",mode:ne.mode,font:"\\texttt",body:Ce};return{type:"href",mode:ne.mode,href:he,body:Bi(Nt)}}}),vn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(H,X){var ne=H.parser;return{type:"htmlmathml",mode:ne.mode,html:Bi(X[0]),mathml:Bi(X[1])}},htmlBuilder:function(H,X){var ne=Wa(H.html,X,!1);return st.makeFragment(ne)},mathmlBuilder:function(H,X){return Ra(H.mathml,X)}});var Mt=function(H){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(H))return{number:+H,unit:"bp"};var X=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(H);if(!X)throw new o("Invalid size: '"+H+"' in \\includegraphics");var ne={number:+(X[1]+X[2]),unit:X[3]};if(!gi(ne))throw new o("Invalid unit: '"+ne.unit+"' in \\includegraphics.");return ne};vn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(H,X,ne){var he=H.parser,Ce={number:0,unit:"em"},Ge={number:.9,unit:"em"},Tt={number:0,unit:"em"},Nt="";if(ne[0])for(var ar=nr(ne[0],"raw").string,Er=ar.split(","),zt=0;zt<Er.length;zt++){var an=Er[zt].split("=");if(an.length===2){var xn=an[1].trim();switch(an[0].trim()){case"alt":Nt=xn;break;case"width":Ce=Mt(xn);break;case"height":Ge=Mt(xn);break;case"totalheight":Tt=Mt(xn);break;default:throw new o("Invalid key: '"+an[0]+"' in \\includegraphics.")}}}var jn=nr(X[0],"url").url;return Nt===""&&(Nt=jn,Nt=Nt.replace(/^.*[\\/]/,""),Nt=Nt.substring(0,Nt.lastIndexOf("."))),he.settings.isTrusted({command:"\\includegraphics",url:jn})?{type:"includegraphics",mode:he.mode,alt:Nt,width:Ce,height:Ge,totalheight:Tt,src:jn}:he.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(H,X){var ne=ii(H.height,X),he=0;H.totalheight.number>0&&(he=ii(H.totalheight,X)-ne,he=Number(he.toFixed(2)));var Ce=0;H.width.number>0&&(Ce=ii(H.width,X));var Ge={height:ne+he+"em"};Ce>0&&(Ge.width=Ce+"em"),he>0&&(Ge.verticalAlign=-he+"em");var Tt=new je(H.src,H.alt,Ge);return Tt.height=ne,Tt.depth=he,Tt},mathmlBuilder:function(H,X){var ne=new Dn.MathNode("mglyph",[]);ne.setAttribute("alt",H.alt);var he=ii(H.height,X),Ce=0;if(H.totalheight.number>0&&(Ce=ii(H.totalheight,X)-he,Ce=Ce.toFixed(2),ne.setAttribute("valign","-"+Ce+"em")),ne.setAttribute("height",he+Ce+"em"),H.width.number>0){var Ge=ii(H.width,X);ne.setAttribute("width",Ge+"em")}return ne.setAttribute("src",H.src),ne}}),vn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(H,X){var ne=H.parser,he=H.funcName,Ce=nr(X[0],"size");if(ne.settings.strict){var Ge=he[1]==="m",Tt=Ce.value.unit==="mu";Ge?(Tt||ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" supports only mu units, "+("not "+Ce.value.unit+" units")),ne.mode!=="math"&&ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" works only in math mode")):Tt&&ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" doesn't support mu units")}return{type:"kern",mode:ne.mode,dimension:Ce.value}},htmlBuilder:function(H,X){return st.makeGlue(H.dimension,X)},mathmlBuilder:function(H,X){var ne=ii(H.dimension,X);return new Dn.SpaceNode(ne)}}),vn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(H,X){var ne=H.parser,he=H.funcName,Ce=X[0];return{type:"lap",mode:ne.mode,alignment:he.slice(5),body:Ce}},htmlBuilder:function(H,X){var ne;H.alignment==="clap"?(ne=st.makeSpan([],[Yi(H.body,X)]),ne=st.makeSpan(["inner"],[ne],X)):ne=st.makeSpan(["inner"],[Yi(H.body,X)]);var he=st.makeSpan(["fix"],[]),Ce=st.makeSpan([H.alignment],[ne,he],X),Ge=st.makeSpan(["strut"]);return Ge.style.height=Ce.height+Ce.depth+"em",Ge.style.verticalAlign=-Ce.depth+"em",Ce.children.unshift(Ge),Ce=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ce}]},X),st.makeSpan(["mord"],[Ce],X)},mathmlBuilder:function(H,X){var ne=new Dn.MathNode("mpadded",[Da(H.body,X)]);if(H.alignment!=="rlap"){var he=H.alignment==="llap"?"-1":"-0.5";ne.setAttribute("lspace",he+"width")}return ne.setAttribute("width","0px"),ne}}),vn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(H,X){var ne=H.funcName,he=H.parser,Ce=he.mode;he.switchMode("math");var Ge=ne==="\\("?"\\)":"$",Tt=he.parseExpression(!1,Ge);return he.expect(Ge),he.switchMode(Ce),{type:"styling",mode:he.mode,style:"text",body:Tt}}}),vn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(H,X){throw new o("Mismatched "+H.funcName)}});var Kt=function(H,X){switch(X.style.size){case Z.DISPLAY.size:return H.display;case Z.TEXT.size:return H.text;case Z.SCRIPT.size:return H.script;case Z.SCRIPTSCRIPT.size:return H.scriptscript;default:return H.text}};vn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(H,X){var ne=H.parser;return{type:"mathchoice",mode:ne.mode,display:Bi(X[0]),text:Bi(X[1]),script:Bi(X[2]),scriptscript:Bi(X[3])}},htmlBuilder:function(H,X){var ne=Kt(H,X),he=Wa(ne,X,!1);return st.makeFragment(he)},mathmlBuilder:function(H,X){var ne=Kt(H,X);return Ra(ne,X)}});var pr=function(H,X,ne,he,Ce,Ge,Tt){H=st.makeSpan([],[H]);var Nt,ar;if(X){var Er=Yi(X,he.havingStyle(Ce.sup()),he);ar={elem:Er,kern:Math.max(he.fontMetrics().bigOpSpacing1,he.fontMetrics().bigOpSpacing3-Er.depth)}}if(ne){var zt=Yi(ne,he.havingStyle(Ce.sub()),he);Nt={elem:zt,kern:Math.max(he.fontMetrics().bigOpSpacing2,he.fontMetrics().bigOpSpacing4-zt.height)}}var an;if(ar&&Nt){var xn=he.fontMetrics().bigOpSpacing5+Nt.elem.height+Nt.elem.depth+Nt.kern+H.depth+Tt;an=st.makeVList({positionType:"bottom",positionData:xn,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:Nt.elem,marginLeft:-Ge+"em"},{type:"kern",size:Nt.kern},{type:"elem",elem:H},{type:"kern",size:ar.kern},{type:"elem",elem:ar.elem,marginLeft:Ge+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else if(Nt){var jn=H.height-Tt;an=st.makeVList({positionType:"top",positionData:jn,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:Nt.elem,marginLeft:-Ge+"em"},{type:"kern",size:Nt.kern},{type:"elem",elem:H}]},he)}else if(ar){var Zn=H.depth+Tt;an=st.makeVList({positionType:"bottom",positionData:Zn,children:[{type:"elem",elem:H},{type:"kern",size:ar.kern},{type:"elem",elem:ar.elem,marginLeft:Ge+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else return H;return st.makeSpan(["mop","op-limits"],[an],he)},Mr=["\\smallint"],Zr=function(H,X){var ne,he,Ce=!1,Ge,Tt=Lr(H,"supsub");Tt?(ne=Tt.sup,he=Tt.sub,Ge=nr(Tt.base,"op"),Ce=!0):Ge=nr(H,"op");var Nt=X.style,ar=!1;Nt.size===Z.DISPLAY.size&&Ge.symbol&&!A.contains(Mr,Ge.name)&&(ar=!0);var Er;if(Ge.symbol){var zt=ar?"Size2-Regular":"Size1-Regular",an="";if((Ge.name==="\\oiint"||Ge.name==="\\oiiint")&&(an=Ge.name.substr(1),Ge.name=an==="oiint"?"\\iint":"\\iiint"),Er=st.makeSymbol(Ge.name,zt,"math",X,["mop","op-symbol",ar?"large-op":"small-op"]),an.length>0){var xn=Er.italic,jn=st.staticSvg(an+"Size"+(ar?"2":"1"),X);Er=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Er,shift:0},{type:"elem",elem:jn,shift:ar?.08:0}]},X),Ge.name="\\"+an,Er.classes.unshift("mop"),Er.italic=xn}}else if(Ge.body){var Zn=Wa(Ge.body,X,!0);Zn.length===1&&Zn[0]instanceof Se?(Er=Zn[0],Er.classes[0]="mop"):Er=st.makeSpan(["mop"],st.tryCombineChars(Zn),X)}else{for(var Ci=[],pa=1;pa<Ge.name.length;pa++)Ci.push(st.mathsym(Ge.name[pa],Ge.mode,X));Er=st.makeSpan(["mop"],Ci,X)}var sa=0,fa=0;return(Er instanceof Se||Ge.name==="\\oiint"||Ge.name==="\\oiiint")&&!Ge.suppressBaseShift&&(sa=(Er.height-Er.depth)/2-X.fontMetrics().axisHeight,fa=Er.italic),Ce?pr(Er,ne,he,X,Nt,fa,sa):(sa&&(Er.style.position="relative",Er.style.top=sa+"em"),Er)},mn=function(H,X){var ne;if(H.symbol)ne=new vs("mo",[$a(H.name,H.mode)]),A.contains(Mr,H.name)&&ne.setAttribute("largeop","false");else if(H.body)ne=new vs("mo",zi(H.body,X));else{ne=new vs("mi",[new Na(H.name.slice(1))]);var he=new vs("mo",[$a("\u2061","text")]);H.parentIsSupSub?ne=new vs("mo",[ne,he]):ne=Ni([ne,he])}return ne},rn={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};vn({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(H,X){var ne=H.parser,he=H.funcName,Ce=he;return Ce.length===1&&(Ce=rn[Ce]),{type:"op",mode:ne.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Ce}},htmlBuilder:Zr,mathmlBuilder:mn}),vn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(H,X){var ne=H.parser,he=X[0];return{type:"op",mode:ne.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Bi(he)}},htmlBuilder:Zr,mathmlBuilder:mn});var bn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};vn({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(H){var X=H.parser,ne=H.funcName;return{type:"op",mode:X.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:ne}},htmlBuilder:Zr,mathmlBuilder:mn}),vn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(H){var X=H.parser,ne=H.funcName;return{type:"op",mode:X.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:ne}},htmlBuilder:Zr,mathmlBuilder:mn}),vn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(H){var X=H.parser,ne=H.funcName,he=ne;return he.length===1&&(he=bn[he]),{type:"op",mode:X.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:he}},htmlBuilder:Zr,mathmlBuilder:mn});var Yn=function(H,X){var ne,he,Ce=!1,Ge,Tt=Lr(H,"supsub");Tt?(ne=Tt.sup,he=Tt.sub,Ge=nr(Tt.base,"operatorname"),Ce=!0):Ge=nr(H,"operatorname");var Nt;if(Ge.body.length>0){for(var ar=Ge.body.map(function(xn){var jn=xn.text;return typeof jn=="string"?{type:"textord",mode:xn.mode,text:jn}:xn}),Er=Wa(ar,X.withFont("mathrm"),!0),zt=0;zt<Er.length;zt++){var an=Er[zt];an instanceof Se&&(an.text=an.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Nt=st.makeSpan(["mop"],Er,X)}else Nt=st.makeSpan(["mop"],[],X);return Ce?pr(Nt,ne,he,X,X.style,0,0):Nt},ti=function(H,X){for(var ne=zi(H.body,X.withFont("mathrm")),he=!0,Ce=0;Ce<ne.length;Ce++){var Ge=ne[Ce];if(!(Ge instanceof Dn.SpaceNode))if(Ge instanceof Dn.MathNode)switch(Ge.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Tt=Ge.children[0];Ge.children.length===1&&Tt instanceof Dn.TextNode?Tt.text=Tt.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):he=!1;break}default:he=!1}else he=!1}if(he){var Nt=ne.map(function(zt){return zt.toText()}).join("");ne=[new Dn.TextNode(Nt)]}var ar=new Dn.MathNode("mi",ne);ar.setAttribute("mathvariant","normal");var Er=new Dn.MathNode("mo",[$a("\u2061","text")]);return H.parentIsSupSub?new Dn.MathNode("mo",[ar,Er]):Dn.newDocumentFragment([ar,Er])};vn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(H,X){var ne=H.parser,he=H.funcName,Ce=X[0];return{type:"operatorname",mode:ne.mode,body:Bi(Ce),alwaysHandleSupSub:he==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Yn,mathmlBuilder:ti}),si({type:"ordgroup",htmlBuilder:function(H,X){return H.semisimple?st.makeFragment(Wa(H.body,X,!1)):st.makeSpan(["mord"],Wa(H.body,X,!0),X)},mathmlBuilder:function(H,X){return Ra(H.body,X,!0)}}),vn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(H,X){var ne=H.parser,he=X[0];return{type:"overline",mode:ne.mode,body:he}},htmlBuilder:function(H,X){var ne=Yi(H.body,X.havingCrampedStyle()),he=st.makeLineSpan("overline-line",X),Ce=X.fontMetrics().defaultRuleThickness,Ge=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne},{type:"kern",size:3*Ce},{type:"elem",elem:he},{type:"kern",size:Ce}]},X);return st.makeSpan(["mord","overline"],[Ge],X)},mathmlBuilder:function(H,X){var ne=new Dn.MathNode("mo",[new Dn.TextNode("\u203E")]);ne.setAttribute("stretchy","true");var he=new Dn.MathNode("mover",[Da(H.body,X),ne]);return he.setAttribute("accent","true"),he}}),vn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(H,X){var ne=H.parser,he=X[0];return{type:"phantom",mode:ne.mode,body:Bi(he)}},htmlBuilder:function(H,X){var ne=Wa(H.body,X.withPhantom(),!1);return st.makeFragment(ne)},mathmlBuilder:function(H,X){var ne=zi(H.body,X);return new Dn.MathNode("mphantom",ne)}}),vn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(H,X){var ne=H.parser,he=X[0];return{type:"hphantom",mode:ne.mode,body:he}},htmlBuilder:function(H,X){var ne=st.makeSpan([],[Yi(H.body,X.withPhantom())]);if(ne.height=0,ne.depth=0,ne.children)for(var he=0;he<ne.children.length;he++)ne.children[he].height=0,ne.children[he].depth=0;return ne=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne}]},X),st.makeSpan(["mord"],[ne],X)},mathmlBuilder:function(H,X){var ne=zi(Bi(H.body),X),he=new Dn.MathNode("mphantom",ne),Ce=new Dn.MathNode("mpadded",[he]);return Ce.setAttribute("height","0px"),Ce.setAttribute("depth","0px"),Ce}}),vn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(H,X){var ne=H.parser,he=X[0];return{type:"vphantom",mode:ne.mode,body:he}},htmlBuilder:function(H,X){var ne=st.makeSpan(["inner"],[Yi(H.body,X.withPhantom())]),he=st.makeSpan(["fix"],[]);return st.makeSpan(["mord","rlap"],[ne,he],X)},mathmlBuilder:function(H,X){var ne=zi(Bi(H.body),X),he=new Dn.MathNode("mphantom",ne),Ce=new Dn.MathNode("mpadded",[he]);return Ce.setAttribute("width","0px"),Ce}}),vn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(H,X){var ne=H.parser,he=nr(X[0],"size").value,Ce=X[1];return{type:"raisebox",mode:ne.mode,dy:he,body:Ce}},htmlBuilder:function(H,X){var ne=Yi(H.body,X),he=ii(H.dy,X);return st.makeVList({positionType:"shift",positionData:-he,children:[{type:"elem",elem:ne}]},X)},mathmlBuilder:function(H,X){var ne=new Dn.MathNode("mpadded",[Da(H.body,X)]),he=H.dy.number+H.dy.unit;return ne.setAttribute("voffset",he),ne}}),vn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(H,X,ne){var he=H.parser,Ce=ne[0],Ge=nr(X[0],"size"),Tt=nr(X[1],"size");return{type:"rule",mode:he.mode,shift:Ce&&nr(Ce,"size").value,width:Ge.value,height:Tt.value}},htmlBuilder:function(H,X){var ne=st.makeSpan(["mord","rule"],[],X),he=ii(H.width,X),Ce=ii(H.height,X),Ge=H.shift?ii(H.shift,X):0;return ne.style.borderRightWidth=he+"em",ne.style.borderTopWidth=Ce+"em",ne.style.bottom=Ge+"em",ne.width=he,ne.height=Ce+Ge,ne.depth=-Ge,ne.maxFontSize=Ce*1.125*X.sizeMultiplier,ne},mathmlBuilder:function(H,X){var ne=ii(H.width,X),he=ii(H.height,X),Ce=H.shift?ii(H.shift,X):0,Ge=X.color&&X.getColor()||"black",Tt=new Dn.MathNode("mspace");Tt.setAttribute("mathbackground",Ge),Tt.setAttribute("width",ne+"em"),Tt.setAttribute("height",he+"em");var Nt=new Dn.MathNode("mpadded",[Tt]);return Ce>=0?Nt.setAttribute("height","+"+Ce+"em"):(Nt.setAttribute("height",Ce+"em"),Nt.setAttribute("depth","+"+-Ce+"em")),Nt.setAttribute("voffset",Ce+"em"),Nt}});function xi(Ve,H,X){for(var ne=Wa(Ve,H,!1),he=H.sizeMultiplier/X.sizeMultiplier,Ce=0;Ce<ne.length;Ce++){var Ge=ne[Ce].classes.indexOf("sizing");Ge<0?Array.prototype.push.apply(ne[Ce].classes,H.sizingClasses(X)):ne[Ce].classes[Ge+1]==="reset-size"+H.size&&(ne[Ce].classes[Ge+1]="reset-size"+X.size),ne[Ce].height*=he,ne[Ce].depth*=he}return st.makeFragment(ne)}var Ai=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Zi=function(H,X){var ne=X.havingSize(H.size);return xi(H.body,ne,X)};vn({type:"sizing",names:Ai,props:{numArgs:0,allowedInText:!0},handler:function(H,X){var ne=H.breakOnTokenText,he=H.funcName,Ce=H.parser,Ge=Ce.parseExpression(!1,ne);return{type:"sizing",mode:Ce.mode,size:Ai.indexOf(he)+1,body:Ge}},htmlBuilder:Zi,mathmlBuilder:function(H,X){var ne=X.havingSize(H.size),he=zi(H.body,ne),Ce=new Dn.MathNode("mstyle",he);return Ce.setAttribute("mathsize",ne.sizeMultiplier+"em"),Ce}}),vn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(H,X,ne){var he=H.parser,Ce=!1,Ge=!1,Tt=ne[0]&&nr(ne[0],"ordgroup");if(Tt)for(var Nt="",ar=0;ar<Tt.body.length;++ar){var Er=Tt.body[ar];if(Nt=Er.text,Nt==="t")Ce=!0;else if(Nt==="b")Ge=!0;else{Ce=!1,Ge=!1;break}}else Ce=!0,Ge=!0;var zt=X[0];return{type:"smash",mode:he.mode,body:zt,smashHeight:Ce,smashDepth:Ge}},htmlBuilder:function(H,X){var ne=st.makeSpan([],[Yi(H.body,X)]);if(!H.smashHeight&&!H.smashDepth)return ne;if(H.smashHeight&&(ne.height=0,ne.children))for(var he=0;he<ne.children.length;he++)ne.children[he].height=0;if(H.smashDepth&&(ne.depth=0,ne.children))for(var Ce=0;Ce<ne.children.length;Ce++)ne.children[Ce].depth=0;var Ge=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne}]},X);return st.makeSpan(["mord"],[Ge],X)},mathmlBuilder:function(H,X){var ne=new Dn.MathNode("mpadded",[Da(H.body,X)]);return H.smashHeight&&ne.setAttribute("height","0px"),H.smashDepth&&ne.setAttribute("depth","0px"),ne}}),vn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(H,X,ne){var he=H.parser,Ce=ne[0],Ge=X[0];return{type:"sqrt",mode:he.mode,body:Ge,index:Ce}},htmlBuilder:function(H,X){var ne=Yi(H.body,X.havingCrampedStyle());ne.height===0&&(ne.height=X.fontMetrics().xHeight),ne=st.wrapFragment(ne,X);var he=X.fontMetrics(),Ce=he.defaultRuleThickness,Ge=Ce;X.style.id<Z.TEXT.id&&(Ge=X.fontMetrics().xHeight);var Tt=Ce+Ge/4,Nt=ne.height+ne.depth+Tt+Ce,ar=En.sqrtImage(Nt,X),Er=ar.span,zt=ar.ruleWidth,an=ar.advanceWidth,xn=Er.height-zt;xn>ne.height+ne.depth+Tt&&(Tt=(Tt+xn-ne.height-ne.depth)/2);var jn=Er.height-ne.height-Tt-zt;ne.style.paddingLeft=an+"em";var Zn=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne,wrapperClasses:["svg-align"]},{type:"kern",size:-(ne.height+jn)},{type:"elem",elem:Er},{type:"kern",size:zt}]},X);if(H.index){var Ci=X.havingStyle(Z.SCRIPTSCRIPT),pa=Yi(H.index,Ci,X),sa=.6*(Zn.height-Zn.depth),fa=st.makeVList({positionType:"shift",positionData:-sa,children:[{type:"elem",elem:pa}]},X),us=st.makeSpan(["root"],[fa]);return st.makeSpan(["mord","sqrt"],[us,Zn],X)}else return st.makeSpan(["mord","sqrt"],[Zn],X)},mathmlBuilder:function(H,X){var ne=H.body,he=H.index;return he?new Dn.MathNode("mroot",[Da(ne,X),Da(he,X)]):new Dn.MathNode("msqrt",[Da(ne,X)])}});var $i={display:Z.DISPLAY,text:Z.TEXT,script:Z.SCRIPT,scriptscript:Z.SCRIPTSCRIPT};vn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(H,X){var ne=H.breakOnTokenText,he=H.funcName,Ce=H.parser,Ge=Ce.parseExpression(!0,ne),Tt=he.slice(1,he.length-5);return{type:"styling",mode:Ce.mode,style:Tt,body:Ge}},htmlBuilder:function(H,X){var ne=$i[H.style],he=X.havingStyle(ne).withFont("");return xi(H.body,he,X)},mathmlBuilder:function(H,X){var ne=$i[H.style],he=X.havingStyle(ne),Ce=zi(H.body,he),Ge=new Dn.MathNode("mstyle",Ce),Tt={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Nt=Tt[H.style];return Ge.setAttribute("scriptlevel",Nt[0]),Ge.setAttribute("displaystyle",Nt[1]),Ge}});var Ei=function(H,X){var ne=H.base;if(ne)if(ne.type==="op"){var he=ne.limits&&(X.style.size===Z.DISPLAY.size||ne.alwaysHandleSupSub);return he?Zr:null}else if(ne.type==="operatorname"){var Ce=ne.alwaysHandleSupSub&&(X.style.size===Z.DISPLAY.size||ne.limits);return Ce?Yn:null}else{if(ne.type==="accent")return A.isCharacterBox(ne.base)?Ua:null;if(ne.type==="horizBrace"){var Ge=!H.sub;return Ge===ne.isOver?Ye:null}else return null}else return null};si({type:"supsub",htmlBuilder:function(H,X){var ne=Ei(H,X);if(ne)return ne(H,X);var he=H.base,Ce=H.sup,Ge=H.sub,Tt=Yi(he,X),Nt,ar,Er=X.fontMetrics(),zt=0,an=0,xn=he&&A.isCharacterBox(he);if(Ce){var jn=X.havingStyle(X.style.sup());Nt=Yi(Ce,jn,X),xn||(zt=Tt.height-jn.fontMetrics().supDrop*jn.sizeMultiplier/X.sizeMultiplier)}if(Ge){var Zn=X.havingStyle(X.style.sub());ar=Yi(Ge,Zn,X),xn||(an=Tt.depth+Zn.fontMetrics().subDrop*Zn.sizeMultiplier/X.sizeMultiplier)}var Ci;X.style===Z.DISPLAY?Ci=Er.sup1:X.style.cramped?Ci=Er.sup3:Ci=Er.sup2;var pa=X.sizeMultiplier,sa=.5/Er.ptPerEm/pa+"em",fa=null;if(ar){var us=H.base&&H.base.type==="op"&&H.base.name&&(H.base.name==="\\oiint"||H.base.name==="\\oiiint");(Tt instanceof Se||us)&&(fa=-Tt.italic+"em")}var za;if(Nt&&ar){zt=Math.max(zt,Ci,Nt.depth+.25*Er.xHeight),an=Math.max(an,Er.sub2);var hs=Er.defaultRuleThickness,rs=4*hs;if(zt-Nt.depth-(ar.height-an)<rs){an=rs-(zt-Nt.depth)+ar.height;var Ea=.8*Er.xHeight-(zt-Nt.depth);Ea>0&&(zt+=Ea,an-=Ea)}var Za=[{type:"elem",elem:ar,shift:an,marginRight:sa,marginLeft:fa},{type:"elem",elem:Nt,shift:-zt,marginRight:sa}];za=st.makeVList({positionType:"individualShift",children:Za},X)}else if(ar){an=Math.max(an,Er.sub1,ar.height-.8*Er.xHeight);var ks=[{type:"elem",elem:ar,marginLeft:fa,marginRight:sa}];za=st.makeVList({positionType:"shift",positionData:an,children:ks},X)}else if(Nt)zt=Math.max(zt,Ci,Nt.depth+.25*Er.xHeight),za=st.makeVList({positionType:"shift",positionData:-zt,children:[{type:"elem",elem:Nt,marginRight:sa}]},X);else throw new Error("supsub must have either sup or sub.");var vi=Ga(Tt,"right")||"mord";return st.makeSpan([vi],[Tt,st.makeSpan(["msupsub"],[za])],X)},mathmlBuilder:function(H,X){var ne=!1,he,Ce,Ge=Lr(H.base,"horizBrace");Ge&&(Ce=!!H.sup,Ce===Ge.isOver&&(ne=!0,he=Ge.isOver)),H.base&&(H.base.type==="op"||H.base.type==="operatorname")&&(H.base.parentIsSupSub=!0);var Tt=[Da(H.base,X)];H.sub&&Tt.push(Da(H.sub,X)),H.sup&&Tt.push(Da(H.sup,X));var Nt;if(ne)Nt=he?"mover":"munder";else if(H.sub)if(H.sup){var zt=H.base;zt&&zt.type==="op"&&zt.limits&&X.style===Z.DISPLAY||zt&&zt.type==="operatorname"&&zt.alwaysHandleSupSub&&(X.style===Z.DISPLAY||zt.limits)?Nt="munderover":Nt="msubsup"}else{var Er=H.base;Er&&Er.type==="op"&&Er.limits&&(X.style===Z.DISPLAY||Er.alwaysHandleSupSub)||Er&&Er.type==="operatorname"&&Er.alwaysHandleSupSub&&(Er.limits||X.style===Z.DISPLAY)?Nt="munder":Nt="msub"}else{var ar=H.base;ar&&ar.type==="op"&&ar.limits&&(X.style===Z.DISPLAY||ar.alwaysHandleSupSub)||ar&&ar.type==="operatorname"&&ar.alwaysHandleSupSub&&(ar.limits||X.style===Z.DISPLAY)?Nt="mover":Nt="msup"}var an=new Dn.MathNode(Nt,Tt);return an}}),si({type:"atom",htmlBuilder:function(H,X){return st.mathsym(H.text,H.mode,X,["m"+H.family])},mathmlBuilder:function(H,X){var ne=new Dn.MathNode("mo",[$a(H.text,H.mode)]);if(H.family==="bin"){var he=ja(H,X);he==="bold-italic"&&ne.setAttribute("mathvariant",he)}else H.family==="punct"?ne.setAttribute("separator","true"):(H.family==="open"||H.family==="close")&&ne.setAttribute("stretchy","false");return ne}});var ba={mi:"italic",mn:"normal",mtext:"normal"};si({type:"mathord",htmlBuilder:function(H,X){return st.makeOrd(H,X,"mathord")},mathmlBuilder:function(H,X){var ne=new Dn.MathNode("mi",[$a(H.text,H.mode,X)]),he=ja(H,X)||"italic";return he!==ba[ne.type]&&ne.setAttribute("mathvariant",he),ne}}),si({type:"textord",htmlBuilder:function(H,X){return st.makeOrd(H,X,"textord")},mathmlBuilder:function(H,X){var ne=$a(H.text,H.mode,X),he=ja(H,X)||"normal",Ce;return H.mode==="text"?Ce=new Dn.MathNode("mtext",[ne]):/[0-9]/.test(H.text)?Ce=new Dn.MathNode("mn",[ne]):H.text==="\\prime"?Ce=new Dn.MathNode("mo",[ne]):Ce=new Dn.MathNode("mi",[ne]),he!==ba[Ce.type]&&Ce.setAttribute("mathvariant",he),Ce}});var Di={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},hi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};si({type:"spacing",htmlBuilder:function(H,X){if(hi.hasOwnProperty(H.text)){var ne=hi[H.text].className||"";if(H.mode==="text"){var he=st.makeOrd(H,X,"textord");return he.classes.push(ne),he}else return st.makeSpan(["mspace",ne],[st.mathsym(H.text,H.mode,X)],X)}else{if(Di.hasOwnProperty(H.text))return st.makeSpan(["mspace",Di[H.text]],[],X);throw new o('Unknown type of space "'+H.text+'"')}},mathmlBuilder:function(H,X){var ne;if(hi.hasOwnProperty(H.text))ne=new Dn.MathNode("mtext",[new Dn.TextNode("\xA0")]);else{if(Di.hasOwnProperty(H.text))return new Dn.MathNode("mspace");throw new o('Unknown type of space "'+H.text+'"')}return ne}});var la=function(){var H=new Dn.MathNode("mtd",[]);return H.setAttribute("width","50%"),H};si({type:"tag",mathmlBuilder:function(H,X){var ne=new Dn.MathNode("mtable",[new Dn.MathNode("mtr",[la(),new Dn.MathNode("mtd",[Ra(H.body,X)]),la(),new Dn.MathNode("mtd",[Ra(H.tag,X)])])]);return ne.setAttribute("width","100%"),ne}});var eo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ss={"\\textbf":"textbf","\\textmd":"textmd"},Qi={"\\textit":"textit","\\textup":"textup"},La=function(H,X){var ne=H.font;return ne?eo[ne]?X.withTextFontFamily(eo[ne]):Ss[ne]?X.withTextFontWeight(Ss[ne]):X.withTextFontShape(Qi[ne]):X};vn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(H,X){var ne=H.parser,he=H.funcName,Ce=X[0];return{type:"text",mode:ne.mode,body:Bi(Ce),font:he}},htmlBuilder:function(H,X){var ne=La(H,X),he=Wa(H.body,ne,!0);return st.makeSpan(["mord","text"],st.tryCombineChars(he),ne)},mathmlBuilder:function(H,X){var ne=La(H,X);return Ra(H.body,ne)}}),vn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(H,X){var ne=H.parser;return{type:"underline",mode:ne.mode,body:X[0]}},htmlBuilder:function(H,X){var ne=Yi(H.body,X),he=st.makeLineSpan("underline-line",X),Ce=X.fontMetrics().defaultRuleThickness,Ge=st.makeVList({positionType:"top",positionData:ne.height,children:[{type:"kern",size:Ce},{type:"elem",elem:he},{type:"kern",size:3*Ce},{type:"elem",elem:ne}]},X);return st.makeSpan(["mord","underline"],[Ge],X)},mathmlBuilder:function(H,X){var ne=new Dn.MathNode("mo",[new Dn.TextNode("\u203E")]);ne.setAttribute("stretchy","true");var he=new Dn.MathNode("munder",[Da(H.body,X),ne]);return he.setAttribute("accentunder","true"),he}}),vn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(H,X,ne){throw new o("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(H,X){for(var ne=ta(H),he=[],Ce=X.havingStyle(X.style.text()),Ge=0;Ge<ne.length;Ge++){var Tt=ne[Ge];Tt==="~"&&(Tt="\\textasciitilde"),he.push(st.makeSymbol(Tt,"Typewriter-Regular",H.mode,Ce,["mord","texttt"]))}return st.makeSpan(["mord","text"].concat(Ce.sizingClasses(X)),st.tryCombineChars(he),Ce)},mathmlBuilder:function(H,X){var ne=new Dn.TextNode(ta(H)),he=new Dn.MathNode("mtext",[ne]);return he.setAttribute("mathvariant","monospace"),he}});var ta=function(H){return H.body.replace(/ /g,H.star?"\u2423":"\xA0")},Ri=va,xa=Ri,Ka=`[ \r
|
|
|
]`,Fa="\\\\[a-zA-Z@]+",io="\\\\[^\uD800-\uDFFF]",Ja=""+Fa+Ka+"*",ao=new RegExp("^("+Fa+")"+Ka+"*$"),es="[\u0300-\u036F]",js=new RegExp(es+"+$"),ts="("+Ka+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(es+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(es+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Ja)+("|"+io+")"),Hi=function(){function Ve(X,ne){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=X,this.settings=ne,this.tokenRegex=new RegExp(ts,"g"),this.catcodes={"%":14}}var H=Ve.prototype;return H.setCatcode=function(ne,he){this.catcodes[ne]=he},H.lex=function(){var ne=this.input,he=this.tokenRegex.lastIndex;if(he===ne.length)return new c("EOF",new l(this,he,he));var Ce=this.tokenRegex.exec(ne);if(Ce===null||Ce.index!==he)throw new o("Unexpected character: '"+ne[he]+"'",new c(ne[he],new l(this,he,he+1)));var Ge=Ce[2]||" ";if(this.catcodes[Ge]===14){var Tt=ne.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return Tt===-1?(this.tokenRegex.lastIndex=ne.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=Tt+1,this.lex()}var Nt=Ge.match(ao);return Nt&&(Ge=Nt[1]),new c(Ge,new l(this,he,this.tokenRegex.lastIndex))},Ve}(),Ba=function(){function Ve(X,ne){X===void 0&&(X={}),ne===void 0&&(ne={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=ne,this.builtins=X,this.undefStack=[]}var H=Ve.prototype;return H.beginGroup=function(){this.undefStack.push({})},H.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 ne=this.undefStack.pop();for(var he in ne)ne.hasOwnProperty(he)&&(ne[he]===void 0?delete this.current[he]:this.current[he]=ne[he])},H.has=function(ne){return this.current.hasOwnProperty(ne)||this.builtins.hasOwnProperty(ne)},H.get=function(ne){return this.current.hasOwnProperty(ne)?this.current[ne]:this.builtins[ne]},H.set=function(ne,he,Ce){if(Ce===void 0&&(Ce=!1),Ce){for(var Ge=0;Ge<this.undefStack.length;Ge++)delete this.undefStack[Ge][ne];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][ne]=he)}else{var Tt=this.undefStack[this.undefStack.length-1];Tt&&!Tt.hasOwnProperty(ne)&&(Tt[ne]=this.current[ne])}this.current[ne]=he},Ve}(),Os={},ha=Os;function ye(Ve,H){Os[Ve]=H}ye("\\@firstoftwo",function(Ve){var H=Ve.consumeArgs(2);return{tokens:H[0],numArgs:0}}),ye("\\@secondoftwo",function(Ve){var H=Ve.consumeArgs(2);return{tokens:H[1],numArgs:0}}),ye("\\@ifnextchar",function(Ve){var H=Ve.consumeArgs(3),X=Ve.future();return H[0].length===1&&H[0][0].text===X.text?{tokens:H[1],numArgs:0}:{tokens:H[2],numArgs:0}}),ye("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ye("\\TextOrMath",function(Ve){var H=Ve.consumeArgs(2);return Ve.mode==="text"?{tokens:H[0],numArgs:0}:{tokens:H[1],numArgs:0}});var we={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ye("\\char",function(Ve){var H=Ve.popToken(),X,ne="";if(H.text==="'")X=8,H=Ve.popToken();else if(H.text==='"')X=16,H=Ve.popToken();else if(H.text==="`")if(H=Ve.popToken(),H.text[0]==="\\")ne=H.text.charCodeAt(1);else{if(H.text==="EOF")throw new o("\\char` missing argument");ne=H.text.charCodeAt(0)}else X=10;if(X){if(ne=we[H.text],ne==null||ne>=X)throw new o("Invalid base-"+X+" digit "+H.text);for(var he;(he=we[Ve.future().text])!=null&&he<X;)ne*=X,ne+=he,Ve.popToken()}return"\\@char{"+ne+"}"});var Ar=function(H,X){var ne=H.consumeArgs(1)[0];if(ne.length!==1)throw new o("\\gdef's first argument must be a macro name");var he=ne[0].text,Ce=0;for(ne=H.consumeArgs(1)[0];ne.length===1&&ne[0].text==="#";){if(ne=H.consumeArgs(1)[0],ne.length!==1)throw new o('Invalid argument number length "'+ne.length+'"');if(!/^[1-9]$/.test(ne[0].text))throw new o('Invalid argument number "'+ne[0].text+'"');if(Ce++,parseInt(ne[0].text)!==Ce)throw new o('Argument number "'+ne[0].text+'" out of order');ne=H.consumeArgs(1)[0]}return H.macros.set(he,{tokens:ne,numArgs:Ce},X),""};ye("\\gdef",function(Ve){return Ar(Ve,!0)}),ye("\\def",function(Ve){return Ar(Ve,!1)}),ye("\\global",function(Ve){var H=Ve.consumeArgs(1)[0];if(H.length!==1)throw new o("Invalid command after \\global");var X=H[0].text;if(X==="\\def")return Ar(Ve,!0);throw new o("Invalid command '"+X+"' after \\global")});var Jr=function(H,X,ne){var he=H.consumeArgs(1)[0];if(he.length!==1)throw new o("\\newcommand's first argument must be a macro name");var Ce=he[0].text,Ge=H.isDefined(Ce);if(Ge&&!X)throw new o("\\newcommand{"+Ce+"} attempting to redefine "+(Ce+"; use \\renewcommand"));if(!Ge&&!ne)throw new o("\\renewcommand{"+Ce+"} when command "+Ce+" does not yet exist; use \\newcommand");var Tt=0;if(he=H.consumeArgs(1)[0],he.length===1&&he[0].text==="["){for(var Nt="",ar=H.expandNextToken();ar.text!=="]"&&ar.text!=="EOF";)Nt+=ar.text,ar=H.expandNextToken();if(!Nt.match(/^\s*[0-9]+\s*$/))throw new o("Invalid number of arguments: "+Nt);Tt=parseInt(Nt),he=H.consumeArgs(1)[0]}return H.macros.set(Ce,{tokens:he,numArgs:Tt}),""};ye("\\newcommand",function(Ve){return Jr(Ve,!1,!0)}),ye("\\renewcommand",function(Ve){return Jr(Ve,!0,!1)}),ye("\\providecommand",function(Ve){return Jr(Ve,!0,!0)}),ye("\\bgroup","{"),ye("\\egroup","}"),ye("\\lq","`"),ye("\\rq","'"),ye("\\aa","\\r a"),ye("\\AA","\\r A"),ye("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),ye("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ye("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),ye("\u212C","\\mathscr{B}"),ye("\u2130","\\mathscr{E}"),ye("\u2131","\\mathscr{F}"),ye("\u210B","\\mathscr{H}"),ye("\u2110","\\mathscr{I}"),ye("\u2112","\\mathscr{L}"),ye("\u2133","\\mathscr{M}"),ye("\u211B","\\mathscr{R}"),ye("\u212D","\\mathfrak{C}"),ye("\u210C","\\mathfrak{H}"),ye("\u2128","\\mathfrak{Z}"),ye("\\Bbbk","\\Bbb{k}"),ye("\xB7","\\cdotp"),ye("\\llap","\\mathllap{\\textrm{#1}}"),ye("\\rlap","\\mathrlap{\\textrm{#1}}"),ye("\\clap","\\mathclap{\\textrm{#1}}"),ye("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ye("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),ye("\\ne","\\neq"),ye("\u2260","\\neq"),ye("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),ye("\u2209","\\notin"),ye("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),ye("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),ye("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),ye("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),ye("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),ye("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),ye("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),ye("\u27C2","\\perp"),ye("\u203C","\\mathclose{!\\mkern-0.8mu!}"),ye("\u220C","\\notni"),ye("\u231C","\\ulcorner"),ye("\u231D","\\urcorner"),ye("\u231E","\\llcorner"),ye("\u231F","\\lrcorner"),ye("\xA9","\\copyright"),ye("\xAE","\\textregistered"),ye("\uFE0F","\\textregistered"),ye("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),ye("\u22EE","\\vdots"),ye("\\varGamma","\\mathit{\\Gamma}"),ye("\\varDelta","\\mathit{\\Delta}"),ye("\\varTheta","\\mathit{\\Theta}"),ye("\\varLambda","\\mathit{\\Lambda}"),ye("\\varXi","\\mathit{\\Xi}"),ye("\\varPi","\\mathit{\\Pi}"),ye("\\varSigma","\\mathit{\\Sigma}"),ye("\\varUpsilon","\\mathit{\\Upsilon}"),ye("\\varPhi","\\mathit{\\Phi}"),ye("\\varPsi","\\mathit{\\Psi}"),ye("\\varOmega","\\mathit{\\Omega}"),ye("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ye("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),ye("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ye("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ye("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ye("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var br={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ye("\\dots",function(Ve){var H="\\dotso",X=Ve.expandAfterFuture().text;return X in br?H=br[X]:(X.substr(0,4)==="\\not"||X in We.math&&A.contains(["bin","rel"],We.math[X].group))&&(H="\\dotsb"),H});var Xr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ye("\\dotso",function(Ve){var H=Ve.future().text;return H in Xr?"\\ldots\\,":"\\ldots"}),ye("\\dotsc",function(Ve){var H=Ve.future().text;return H in Xr&&H!==","?"\\ldots\\,":"\\ldots"}),ye("\\cdots",function(Ve){var H=Ve.future().text;return H in Xr?"\\@cdots\\,":"\\@cdots"}),ye("\\dotsb","\\cdots"),ye("\\dotsm","\\cdots"),ye("\\dotsi","\\!\\cdots"),ye("\\dotsx","\\ldots\\,"),ye("\\DOTSI","\\relax"),ye("\\DOTSB","\\relax"),ye("\\DOTSX","\\relax"),ye("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ye("\\,","\\tmspace+{3mu}{.1667em}"),ye("\\thinspace","\\,"),ye("\\>","\\mskip{4mu}"),ye("\\:","\\tmspace+{4mu}{.2222em}"),ye("\\medspace","\\:"),ye("\\;","\\tmspace+{5mu}{.2777em}"),ye("\\thickspace","\\;"),ye("\\!","\\tmspace-{3mu}{.1667em}"),ye("\\negthinspace","\\!"),ye("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ye("\\negthickspace","\\tmspace-{5mu}{.277em}"),ye("\\enspace","\\kern.5em "),ye("\\enskip","\\hskip.5em\\relax"),ye("\\quad","\\hskip1em\\relax"),ye("\\qquad","\\hskip2em\\relax"),ye("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ye("\\tag@paren","\\tag@literal{({#1})}"),ye("\\tag@literal",function(Ve){if(Ve.macros.get("\\df@tag"))throw new o("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ye("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ye("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ye("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ye("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ye("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),ye("\\\\","\\newline"),ye("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var wn=Vt["Main-Regular"][84][1]-.7*Vt["Main-Regular"][65][1]+"em";ye("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+wn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ye("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+wn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),ye("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ye("\\@hspace","\\hskip #1\\relax"),ye("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ye("\\ordinarycolon",":"),ye("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ye("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ye("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ye("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ye("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ye("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ye("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ye("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ye("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ye("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ye("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ye("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ye("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ye("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ye("\u2237","\\dblcolon"),ye("\u2239","\\eqcolon"),ye("\u2254","\\coloneqq"),ye("\u2255","\\eqqcolon"),ye("\u2A74","\\Coloneqq"),ye("\\ratio","\\vcentcolon"),ye("\\coloncolon","\\dblcolon"),ye("\\colonequals","\\coloneqq"),ye("\\coloncolonequals","\\Coloneqq"),ye("\\equalscolon","\\eqqcolon"),ye("\\equalscoloncolon","\\Eqqcolon"),ye("\\colonminus","\\coloneq"),ye("\\coloncolonminus","\\Coloneq"),ye("\\minuscolon","\\eqcolon"),ye("\\minuscoloncolon","\\Eqcolon"),ye("\\coloncolonapprox","\\Colonapprox"),ye("\\coloncolonsim","\\Colonsim"),ye("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ye("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ye("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ye("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ye("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),ye("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ye("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ye("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),ye("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),ye("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),ye("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),ye("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),ye("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),ye("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),ye("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),ye("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),ye("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),ye("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),ye("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),ye("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),ye("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),ye("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),ye("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),ye("\u27E6","\\llbracket"),ye("\u27E7","\\rrbracket"),ye("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),ye("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),ye("\u2983","\\lBrace"),ye("\u2984","\\rBrace"),ye("\\darr","\\downarrow"),ye("\\dArr","\\Downarrow"),ye("\\Darr","\\Downarrow"),ye("\\lang","\\langle"),ye("\\rang","\\rangle"),ye("\\uarr","\\uparrow"),ye("\\uArr","\\Uparrow"),ye("\\Uarr","\\Uparrow"),ye("\\N","\\mathbb{N}"),ye("\\R","\\mathbb{R}"),ye("\\Z","\\mathbb{Z}"),ye("\\alef","\\aleph"),ye("\\alefsym","\\aleph"),ye("\\Alpha","\\mathrm{A}"),ye("\\Beta","\\mathrm{B}"),ye("\\bull","\\bullet"),ye("\\Chi","\\mathrm{X}"),ye("\\clubs","\\clubsuit"),ye("\\cnums","\\mathbb{C}"),ye("\\Complex","\\mathbb{C}"),ye("\\Dagger","\\ddagger"),ye("\\diamonds","\\diamondsuit"),ye("\\empty","\\emptyset"),ye("\\Epsilon","\\mathrm{E}"),ye("\\Eta","\\mathrm{H}"),ye("\\exist","\\exists"),ye("\\harr","\\leftrightarrow"),ye("\\hArr","\\Leftrightarrow"),ye("\\Harr","\\Leftrightarrow"),ye("\\hearts","\\heartsuit"),ye("\\image","\\Im"),ye("\\infin","\\infty"),ye("\\Iota","\\mathrm{I}"),ye("\\isin","\\in"),ye("\\Kappa","\\mathrm{K}"),ye("\\larr","\\leftarrow"),ye("\\lArr","\\Leftarrow"),ye("\\Larr","\\Leftarrow"),ye("\\lrarr","\\leftrightarrow"),ye("\\lrArr","\\Leftrightarrow"),ye("\\Lrarr","\\Leftrightarrow"),ye("\\Mu","\\mathrm{M}"),ye("\\natnums","\\mathbb{N}"),ye("\\Nu","\\mathrm{N}"),ye("\\Omicron","\\mathrm{O}"),ye("\\plusmn","\\pm"),ye("\\rarr","\\rightarrow"),ye("\\rArr","\\Rightarrow"),ye("\\Rarr","\\Rightarrow"),ye("\\real","\\Re"),ye("\\reals","\\mathbb{R}"),ye("\\Reals","\\mathbb{R}"),ye("\\Rho","\\mathrm{P}"),ye("\\sdot","\\cdot"),ye("\\sect","\\S"),ye("\\spades","\\spadesuit"),ye("\\sub","\\subset"),ye("\\sube","\\subseteq"),ye("\\supe","\\supseteq"),ye("\\Tau","\\mathrm{T}"),ye("\\thetasym","\\vartheta"),ye("\\weierp","\\wp"),ye("\\Zeta","\\mathrm{Z}"),ye("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ye("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ye("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ye("\\blue","\\textcolor{##6495ed}{#1}"),ye("\\orange","\\textcolor{##ffa500}{#1}"),ye("\\pink","\\textcolor{##ff00af}{#1}"),ye("\\red","\\textcolor{##df0030}{#1}"),ye("\\green","\\textcolor{##28ae7b}{#1}"),ye("\\gray","\\textcolor{gray}{#1}"),ye("\\purple","\\textcolor{##9d38bd}{#1}"),ye("\\blueA","\\textcolor{##ccfaff}{#1}"),ye("\\blueB","\\textcolor{##80f6ff}{#1}"),ye("\\blueC","\\textcolor{##63d9ea}{#1}"),ye("\\blueD","\\textcolor{##11accd}{#1}"),ye("\\blueE","\\textcolor{##0c7f99}{#1}"),ye("\\tealA","\\textcolor{##94fff5}{#1}"),ye("\\tealB","\\textcolor{##26edd5}{#1}"),ye("\\tealC","\\textcolor{##01d1c1}{#1}"),ye("\\tealD","\\textcolor{##01a995}{#1}"),ye("\\tealE","\\textcolor{##208170}{#1}"),ye("\\greenA","\\textcolor{##b6ffb0}{#1}"),ye("\\greenB","\\textcolor{##8af281}{#1}"),ye("\\greenC","\\textcolor{##74cf70}{#1}"),ye("\\greenD","\\textcolor{##1fab54}{#1}"),ye("\\greenE","\\textcolor{##0d923f}{#1}"),ye("\\goldA","\\textcolor{##ffd0a9}{#1}"),ye("\\goldB","\\textcolor{##ffbb71}{#1}"),ye("\\goldC","\\textcolor{##ff9c39}{#1}"),ye("\\goldD","\\textcolor{##e07d10}{#1}"),ye("\\goldE","\\textcolor{##a75a05}{#1}"),ye("\\redA","\\textcolor{##fca9a9}{#1}"),ye("\\redB","\\textcolor{##ff8482}{#1}"),ye("\\redC","\\textcolor{##f9685d}{#1}"),ye("\\redD","\\textcolor{##e84d39}{#1}"),ye("\\redE","\\textcolor{##bc2612}{#1}"),ye("\\maroonA","\\textcolor{##ffbde0}{#1}"),ye("\\maroonB","\\textcolor{##ff92c6}{#1}"),ye("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ye("\\maroonD","\\textcolor{##ca337c}{#1}"),ye("\\maroonE","\\textcolor{##9e034e}{#1}"),ye("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ye("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ye("\\purpleC","\\textcolor{##aa87ff}{#1}"),ye("\\purpleD","\\textcolor{##7854ab}{#1}"),ye("\\purpleE","\\textcolor{##543b78}{#1}"),ye("\\mintA","\\textcolor{##f5f9e8}{#1}"),ye("\\mintB","\\textcolor{##edf2df}{#1}"),ye("\\mintC","\\textcolor{##e0e5cc}{#1}"),ye("\\grayA","\\textcolor{##f6f7f7}{#1}"),ye("\\grayB","\\textcolor{##f0f1f2}{#1}"),ye("\\grayC","\\textcolor{##e3e5e6}{#1}"),ye("\\grayD","\\textcolor{##d6d8da}{#1}"),ye("\\grayE","\\textcolor{##babec2}{#1}"),ye("\\grayF","\\textcolor{##888d93}{#1}"),ye("\\grayG","\\textcolor{##626569}{#1}"),ye("\\grayH","\\textcolor{##3b3e40}{#1}"),ye("\\grayI","\\textcolor{##21242c}{#1}"),ye("\\kaBlue","\\textcolor{##314453}{#1}"),ye("\\kaGreen","\\textcolor{##71B307}{#1}");var Jn={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Mi=function(){function Ve(X,ne,he){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=ne,this.expansionCount=0,this.feed(X),this.macros=new Ba(ha,ne.macros),this.mode=he,this.stack=[]}var H=Ve.prototype;return H.feed=function(ne){this.lexer=new Hi(ne,this.settings)},H.switchMode=function(ne){this.mode=ne},H.beginGroup=function(){this.macros.beginGroup()},H.endGroup=function(){this.macros.endGroup()},H.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},H.popToken=function(){return this.future(),this.stack.pop()},H.pushToken=function(ne){this.stack.push(ne)},H.pushTokens=function(ne){var he;(he=this.stack).push.apply(he,ne)},H.consumeSpaces=function(){for(;;){var ne=this.future();if(ne.text===" ")this.stack.pop();else break}},H.consumeArgs=function(ne){for(var he=[],Ce=0;Ce<ne;++Ce){this.consumeSpaces();var Ge=this.popToken();if(Ge.text==="{"){for(var Tt=[],Nt=1;Nt!==0;){var ar=this.popToken();if(Tt.push(ar),ar.text==="{")++Nt;else if(ar.text==="}")--Nt;else if(ar.text==="EOF")throw new o("End of input in macro argument",Ge)}Tt.pop(),Tt.reverse(),he[Ce]=Tt}else{if(Ge.text==="EOF")throw new o("End of input expecting macro argument");he[Ce]=[Ge]}}return he},H.expandOnce=function(){var ne=this.popToken(),he=ne.text,Ce=this._getExpansion(he);if(Ce==null)return this.pushToken(ne),ne;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new o("Too many expansions: infinite loop or need to increase maxExpand setting");var Ge=Ce.tokens;if(Ce.numArgs){var Tt=this.consumeArgs(Ce.numArgs);Ge=Ge.slice();for(var Nt=Ge.length-1;Nt>=0;--Nt){var ar=Ge[Nt];if(ar.text==="#"){if(Nt===0)throw new o("Incomplete placeholder at end of macro body",ar);if(ar=Ge[--Nt],ar.text==="#")Ge.splice(Nt+1,1);else if(/^[1-9]$/.test(ar.text)){var Er;(Er=Ge).splice.apply(Er,[Nt,2].concat(Tt[+ar.text-1]))}else throw new o("Not a valid argument number",ar)}}}return this.pushTokens(Ge),Ge},H.expandAfterFuture=function(){return this.expandOnce(),this.future()},H.expandNextToken=function(){for(;;){var ne=this.expandOnce();if(ne instanceof c)if(ne.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},H.expandMacro=function(ne){if(this.macros.get(ne)){var he=[],Ce=this.stack.length;for(this.pushToken(new c(ne));this.stack.length>Ce;){var Ge=this.expandOnce();Ge instanceof c&&he.push(this.stack.pop())}return he}},H.expandMacroAsText=function(ne){var he=this.expandMacro(ne);return he&&he.map(function(Ce){return Ce.text}).join("")},H._getExpansion=function(ne){var he=this.macros.get(ne);if(he==null)return he;var Ce=typeof he=="function"?he(this):he;if(typeof Ce=="string"){var Ge=0;if(Ce.indexOf("#")!==-1)for(var Tt=Ce.replace(/##/g,"");Tt.indexOf("#"+(Ge+1))!==-1;)++Ge;for(var Nt=new Hi(Ce,this.settings),ar=[],Er=Nt.lex();Er.text!=="EOF";)ar.push(Er),Er=Nt.lex();ar.reverse();var zt={tokens:ar,numArgs:Ge};return zt}return Ce},H.isDefined=function(ne){return this.macros.has(ne)||xa.hasOwnProperty(ne)||We.math.hasOwnProperty(ne)||We.text.hasOwnProperty(ne)||Jn.hasOwnProperty(ne)},Ve}(),On={"\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"}},kn={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},Bn=function(){function Ve(X,ne){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Mi(X,ne,this.mode),this.settings=ne,this.leftrightDepth=0}var H=Ve.prototype;return H.expect=function(ne,he){if(he===void 0&&(he=!0),this.fetch().text!==ne)throw new o("Expected '"+ne+"', got '"+this.fetch().text+"'",this.fetch());he&&this.consume()},H.consume=function(){this.nextToken=null},H.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},H.switchMode=function(ne){this.mode=ne,this.gullet.switchMode(ne)},H.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var ne=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),ne},H.parseExpression=function(ne,he){for(var Ce=[];;){this.mode==="math"&&this.consumeSpaces();var Ge=this.fetch();if(Ve.endOfExpression.indexOf(Ge.text)!==-1||he&&Ge.text===he||ne&&xa[Ge.text]&&xa[Ge.text].infix)break;var Tt=this.parseAtom(he);if(!Tt)break;Ce.push(Tt)}return this.mode==="text"&&this.formLigatures(Ce),this.handleInfixNodes(Ce)},H.handleInfixNodes=function(ne){for(var he=-1,Ce,Ge=0;Ge<ne.length;Ge++){var Tt=Lr(ne[Ge],"infix");if(Tt){if(he!==-1)throw new o("only one infix operator per group",Tt.token);he=Ge,Ce=Tt.replaceWith}}if(he!==-1&&Ce){var Nt,ar,Er=ne.slice(0,he),zt=ne.slice(he+1);Er.length===1&&Er[0].type==="ordgroup"?Nt=Er[0]:Nt={type:"ordgroup",mode:this.mode,body:Er},zt.length===1&&zt[0].type==="ordgroup"?ar=zt[0]:ar={type:"ordgroup",mode:this.mode,body:zt};var an;return Ce==="\\\\abovefrac"?an=this.callFunction(Ce,[Nt,ne[he],ar],[]):an=this.callFunction(Ce,[Nt,ar],[]),[an]}else return ne},H.handleSupSubscript=function(ne){var he=this.fetch(),Ce=he.text;this.consume();var Ge=this.parseGroup(ne,!1,Ve.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ge)throw new o("Expected group after '"+Ce+"'",he);return Ge},H.formatUnsupportedCmd=function(ne){for(var he=[],Ce=0;Ce<ne.length;Ce++)he.push({type:"textord",mode:"text",text:ne[Ce]});var Ge={type:"text",mode:this.mode,body:he},Tt={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ge]};return Tt},H.parseAtom=function(ne){var he=this.parseGroup("atom",!1,null,ne);if(this.mode==="text")return he;for(var Ce,Ge;;){this.consumeSpaces();var Tt=this.fetch();if(Tt.text==="\\limits"||Tt.text==="\\nolimits"){var Nt=Lr(he,"op");if(Nt){var ar=Tt.text==="\\limits";Nt.limits=ar,Nt.alwaysHandleSupSub=!0}else if(Nt=Lr(he,"operatorname"),Nt&&Nt.alwaysHandleSupSub){var Er=Tt.text==="\\limits";Nt.limits=Er}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(Ge)throw new o("Double subscript",Tt);Ge=this.handleSupSubscript("subscript")}else if(Tt.text==="'"){if(Ce)throw new o("Double superscript",Tt);var zt={type:"textord",mode:this.mode,text:"\\prime"},an=[zt];for(this.consume();this.fetch().text==="'";)an.push(zt),this.consume();this.fetch().text==="^"&&an.push(this.handleSupSubscript("superscript")),Ce={type:"ordgroup",mode:this.mode,body:an}}else break}return Ce||Ge?{type:"supsub",mode:this.mode,base:he,sup:Ce,sub:Ge}:he},H.parseFunction=function(ne,he,Ce){var Ge=this.fetch(),Tt=Ge.text,Nt=xa[Tt];if(!Nt)return null;if(this.consume(),Ce!=null&&Nt.greediness<=Ce)throw new o("Got function '"+Tt+"' with no arguments"+(he?" as "+he:""),Ge);if(this.mode==="text"&&!Nt.allowedInText)throw new o("Can't use function '"+Tt+"' in text mode",Ge);if(this.mode==="math"&&Nt.allowedInMath===!1)throw new o("Can't use function '"+Tt+"' in math mode",Ge);var ar=this.parseArguments(Tt,Nt),Er=ar.args,zt=ar.optArgs;return this.callFunction(Tt,Er,zt,Ge,ne)},H.callFunction=function(ne,he,Ce,Ge,Tt){var Nt={funcName:ne,parser:this,token:Ge,breakOnTokenText:Tt},ar=xa[ne];if(ar&&ar.handler)return ar.handler(Nt,he,Ce);throw new o("No function handler for "+ne)},H.parseArguments=function(ne,he){var Ce=he.numArgs+he.numOptionalArgs;if(Ce===0)return{args:[],optArgs:[]};for(var Ge=he.greediness,Tt=[],Nt=[],ar=0;ar<Ce;ar++){var Er=he.argTypes&&he.argTypes[ar],zt=ar<he.numOptionalArgs,an=ar>0&&!zt||ar===0&&!zt&&this.mode==="math",xn=this.parseGroupOfType("argument to '"+ne+"'",Er,zt,Ge,an);if(!xn){if(zt){Nt.push(null);continue}throw new o("Expected group after '"+ne+"'",this.fetch())}(zt?Nt:Tt).push(xn)}return{args:Tt,optArgs:Nt}},H.parseGroupOfType=function(ne,he,Ce,Ge,Tt){switch(he){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(ne,Ce,Ge,void 0,he,Tt);case"hbox":{var Nt=this.parseGroup(ne,Ce,Ge,void 0,"text",Tt);if(!Nt)return Nt;var ar={type:"styling",mode:Nt.mode,body:[Nt],style:"text"};return ar}case"raw":{if(Tt&&this.consumeSpaces(),Ce&&this.fetch().text==="{")return null;var Er=this.parseStringGroup("raw",Ce,!0);if(Er)return{type:"raw",mode:"text",string:Er.text};throw new o("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(ne,Ce,Ge,void 0,void 0,Tt);default:throw new o("Unknown group type as "+ne,this.fetch())}},H.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},H.parseStringGroup=function(ne,he,Ce){var Ge=he?"[":"{",Tt=he?"]":"}",Nt=this.fetch();if(Nt.text!==Ge){if(he)return null;if(Ce&&Nt.text!=="EOF"&&/[^{}[\]]/.test(Nt.text))return this.consume(),Nt}var ar=this.mode;this.mode="text",this.expect(Ge);for(var Er="",zt=this.fetch(),an=0,xn=zt,jn;(jn=this.fetch()).text!==Tt||Ce&&an>0;){switch(jn.text){case"EOF":throw new o("Unexpected end of input in "+ne,zt.range(xn,Er));case Ge:an++;break;case Tt:an--;break}xn=jn,Er+=xn.text,this.consume()}return this.expect(Tt),this.mode=ar,zt.range(xn,Er)},H.parseRegexGroup=function(ne,he){var Ce=this.mode;this.mode="text";for(var Ge=this.fetch(),Tt=Ge,Nt="",ar;(ar=this.fetch()).text!=="EOF"&&ne.test(Nt+ar.text);)Tt=ar,Nt+=Tt.text,this.consume();if(Nt==="")throw new o("Invalid "+he+": '"+Ge.text+"'",Ge);return this.mode=Ce,Ge.range(Tt,Nt)},H.parseColorGroup=function(ne){var he=this.parseStringGroup("color",ne);if(!he)return null;var Ce=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(he.text);if(!Ce)throw new o("Invalid color: '"+he.text+"'",he);var Ge=Ce[0];return/^[0-9a-f]{6}$/i.test(Ge)&&(Ge="#"+Ge),{type:"color-token",mode:this.mode,color:Ge}},H.parseSizeGroup=function(ne){var he,Ce=!1;if(!ne&&this.fetch().text!=="{"?he=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):he=this.parseStringGroup("size",ne),!he)return null;!ne&&he.text.length===0&&(he.text="0pt",Ce=!0);var Ge=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(he.text);if(!Ge)throw new o("Invalid size: '"+he.text+"'",he);var Tt={number:+(Ge[1]+Ge[2]),unit:Ge[3]};if(!gi(Tt))throw new o("Invalid unit: '"+Tt.unit+"'",he);return{type:"size",mode:this.mode,value:Tt,isBlank:Ce}},H.parseUrlGroup=function(ne,he){this.gullet.lexer.setCatcode("%",13);var Ce=this.parseStringGroup("url",ne,!0);if(this.gullet.lexer.setCatcode("%",14),!Ce)return null;var Ge=Ce.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ge}},H.parseGroup=function(ne,he,Ce,Ge,Tt,Nt){var ar=this.mode;Tt&&this.switchMode(Tt),Nt&&this.consumeSpaces();var Er=this.fetch(),zt=Er.text,an;if(he?zt==="[":zt==="{"||zt==="\\begingroup"){this.consume();var xn=Ve.endOfGroup[zt];this.gullet.beginGroup();var jn=this.parseExpression(!1,xn),Zn=this.fetch();this.expect(xn),this.gullet.endGroup(),an={type:"ordgroup",mode:this.mode,loc:l.range(Er,Zn),body:jn,semisimple:zt==="\\begingroup"||void 0}}else if(he)an=null;else if(an=this.parseFunction(Ge,ne,Ce)||this.parseSymbol(),an==null&&zt[0]==="\\"&&!Jn.hasOwnProperty(zt)){if(this.settings.throwOnError)throw new o("Undefined control sequence: "+zt,Er);an=this.formatUnsupportedCmd(zt),this.consume()}return Tt&&this.switchMode(ar),an},H.formLigatures=function(ne){for(var he=ne.length-1,Ce=0;Ce<he;++Ce){var Ge=ne[Ce],Tt=Ge.text;Tt==="-"&&ne[Ce+1].text==="-"&&(Ce+1<he&&ne[Ce+2].text==="-"?(ne.splice(Ce,3,{type:"textord",mode:"text",loc:l.range(Ge,ne[Ce+2]),text:"---"}),he-=2):(ne.splice(Ce,2,{type:"textord",mode:"text",loc:l.range(Ge,ne[Ce+1]),text:"--"}),he-=1)),(Tt==="'"||Tt==="`")&&ne[Ce+1].text===Tt&&(ne.splice(Ce,2,{type:"textord",mode:"text",loc:l.range(Ge,ne[Ce+1]),text:Tt+Tt}),he-=1)}},H.parseSymbol=function(){var ne=this.fetch(),he=ne.text;if(/^\\verb[^a-zA-Z]/.test(he)){this.consume();var Ce=he.slice(5),Ge=Ce.charAt(0)==="*";if(Ge&&(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:Ge}}kn.hasOwnProperty(he[0])&&!We[this.mode][he[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+he[0]+'" used in math mode',ne),he=kn[he[0]]+he.substr(1));var Tt=js.exec(he);Tt&&(he=he.substring(0,Tt.index),he==="i"?he="\u0131":he==="j"&&(he="\u0237"));var Nt;if(We[this.mode][he]){this.settings.strict&&this.mode==="math"&&it.indexOf(he)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+he[0]+'" used in math mode',ne);var ar=We[this.mode][he].group,Er=l.range(ne),zt;if($t.hasOwnProperty(ar)){var an=ar;zt={type:"atom",mode:this.mode,family:an,loc:Er,text:he}}else zt={type:ar,mode:this.mode,loc:Er,text:he};Nt=zt}else if(he.charCodeAt(0)>=128)this.settings.strict&&(De(he.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+he[0]+'" used in math mode',ne):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+he[0]+'"'+(" ("+he.charCodeAt(0)+")"),ne)),Nt={type:"textord",mode:"text",loc:l.range(ne),text:he};else return null;if(this.consume(),Tt)for(var xn=0;xn<Tt[0].length;xn++){var jn=Tt[0][xn];if(!On[jn])throw new o("Unknown accent ' "+jn+"'",ne);var Zn=On[jn][this.mode];if(!Zn)throw new o("Accent "+jn+" unsupported in "+this.mode+" mode",ne);Nt={type:"accent",mode:this.mode,loc:l.range(ne),label:Zn,isStretchy:!1,isShifty:!0,base:Nt}}return Nt},Ve}();Bn.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Bn.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Bn.SUPSUB_GREEDINESS=1;var ca=function(H,X){if(!(typeof H=="string"||H instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var ne=new Bn(H,X);delete ne.gullet.macros.current["\\df@tag"];var he=ne.parse();if(ne.gullet.macros.get("\\df@tag")){if(!X.displayMode)throw new o("\\tag works only in display equations");ne.gullet.feed("\\df@tag"),he=[{type:"tag",mode:"text",body:he,tag:ne.parse()}]}return he},Wi=ca,vo=function(H,X,ne){X.textContent="";var he=Yu(H,ne).toNode();X.appendChild(he)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),vo=function(){throw new o("KaTeX doesn't work in quirks mode.")});var so=function(H,X){var ne=Yu(H,X).toMarkup();return ne},ru=function(H,X){var ne=new D(X);return Wi(H,ne)},hl=function(H,X,ne){if(ne.throwOnError||!(H instanceof o))throw H;var he=st.makeSpan(["katex-error"],[new Se(X)]);return he.setAttribute("title",H.toString()),he.setAttribute("style","color:"+ne.errorColor),he},Yu=function(H,X){var ne=new D(X);try{var he=Wi(H,ne);return ho(he,H,ne)}catch(Ce){return hl(Ce,H,ne)}},pu=function(H,X){var ne=new D(X);try{var he=Wi(H,ne);return wa(he,H,ne)}catch(Ce){return hl(Ce,H,ne)}},Tl={version:"0.11.1",render:vo,renderToString:so,ParseError:o,__parse:ru,__renderToDomTree:Yu,__renderToHTMLTree:pu,__setFontMetrics:qe,__defineSymbol:fe,__defineMacro:ye,__domTree:{Span:ht,Anchor:et,SymbolNode:Se,SvgNode:Me,PathNode:$e,LineNode:He}},_u=e.default=Tl}]).default})},76414:function(d,v,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,v,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,v,e){var r=e(73893),i=e(33152),l=r(i,"Map");d.exports=l},52166:function(d,v,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,v,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,v,e){var r=e(33152),i=r.Symbol;d.exports=i},77945:function(d,v,e){var r=e(33152),i=r.Uint8Array;d.exports=i},79628:function(d){function v(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=v},63333:function(d,v,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),S=!y&&!_&&!b&&o(x),k=y||_||b||S,R=k?r(x.length,String):[],A=R.length;for(var D in x)(p||u.call(x,D))&&!(k&&(D=="length"||b&&(D=="offset"||D=="parent")||S&&(D=="buffer"||D=="byteLength"||D=="byteOffset")||f(D,A)))&&R.push(D);return R}d.exports=a},89135:function(d,v,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,v,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,v,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,v,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,v,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,v,e){var r=e(78010),i=r();d.exports=i},86756:function(d,v,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,v,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,v,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,v,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]",S="[object String]",k="[object WeakMap]",R="[object ArrayBuffer]",A="[object DataView]",D="[object Float32Array]",M="[object Float64Array]",B="[object Int8Array]",j="[object Int16Array]",Y="[object Int32Array]",V="[object Uint8Array]",G="[object Uint8ClampedArray]",ae="[object Uint16Array]",ie="[object Uint32Array]",ue={};ue[D]=ue[M]=ue[B]=ue[j]=ue[Y]=ue[V]=ue[G]=ue[ae]=ue[ie]=!0,ue[c]=ue[f]=ue[R]=ue[o]=ue[A]=ue[h]=ue[u]=ue[a]=ue[x]=ue[p]=ue[y]=ue[_]=ue[b]=ue[S]=ue[k]=!1;function q(J){return l(J)&&i(J.length)&&!!ue[r(J)]}d.exports=q},33988:function(d,v,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,v,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,S){if(_||(_=new r),f(b))c(a,x,S,p,u,y,_);else{var k=y?y(h(a,S),b,S+"",a,x,_):void 0;k===void 0&&(k=b),i(a,S,k)}},o)}d.exports=u},23585:function(d,v,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),S=e(20480);function k(R,A,D,M,B,j,Y){var V=b(R,D),G=b(A,D),ae=Y.get(G);if(ae){r(R,D,ae);return}var ie=j?j(V,G,D+"",R,A,Y):void 0,ue=ie===void 0;if(ue){var q=h(G),J=!q&&a(G),K=!q&&!J&&_(G);ie=G,q||J||K?h(V)?ie=V:u(V)?ie=c(V):J?(ue=!1,ie=i(G,!0)):K?(ue=!1,ie=l(G,!0)):ie=[]:y(G)||o(G)?(ie=V,o(V)?ie=S(V):(!p(V)||x(V))&&(ie=f(G))):ue=!1}ue&&(Y.set(G,ie),B(ie,G,M,j,Y),Y.delete(G)),r(R,D,ie)}d.exports=k},92918:function(d,v,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,v,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 v(e,r){for(var i=-1,l=Array(e);++i<e;)l[i]=r(i);return l}d.exports=v},38342:function(d){function v(e){return function(r){return e(r)}}d.exports=v},20188:function(d,v,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,v,e){d=e.nmd(d);var r=e(33152),i=v&&!v.nodeType&&v,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,v,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 v(e,r){var i=-1,l=e.length;for(r||(r=Array(l));++i<l;)r[i]=e[i];return r}d.exports=v},95378:function(d,v,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,v,e){var r=e(33152),i=r["__core-js_shared__"];d.exports=i},63323:function(d,v,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 v(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=v},35234:function(d,v,e){var r=e(73893),i=function(){try{var l=r(Object,"defineProperty");return l({},"",{}),l}catch(c){}}();d.exports=i},37675:function(d,v,e){var r=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g;d.exports=r},89819:function(d,v,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,v,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,v,e){var r=e(31030),i=r(Object.getPrototypeOf,Object);d.exports=i},72533:function(d,v,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 v(e,r){return e==null?void 0:e[r]}d.exports=v},64696:function(d,v,e){var r=e(65294);function i(){this.__data__=r?r(null):{},this.size=0}d.exports=i},16824:function(d){function v(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}d.exports=v},23476:function(d,v,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,v,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,v,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,v,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 v=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function r(i,l){var c=typeof i;return l=l==null?v:l,!!l&&(c=="number"||c!="symbol"&&e.test(i))&&i>-1&&i%1==0&&i<l}d.exports=r},8138:function(d,v,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 v(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}d.exports=v},89379:function(d,v,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 v=Object.prototype;function e(r){var i=r&&r.constructor,l=typeof i=="function"&&i.prototype||v;return r===l}d.exports=e},34251:function(d){function v(){this.__data__=[],this.size=0}d.exports=v},24968:function(d,v,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,v,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,v,e){var r=e(67971);function i(l){return r(this.__data__,l)>-1}d.exports=i},54238:function(d,v,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,v,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,v,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,v,e){var r=e(89819);function i(l){return r(this,l).get(l)}d.exports=i},10203:function(d,v,e){var r=e(89819);function i(l){return r(this,l).has(l)}d.exports=i},11298:function(d,v,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,v,e){var r=e(73893),i=r(Object,"create");d.exports=i},97817:function(d){function v(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}d.exports=v},52495:function(d,v,e){d=e.nmd(d);var r=e(37675),i=v&&!v.nodeType&&v,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 v=Object.prototype,e=v.toString;function r(i){return e.call(i)}d.exports=r},31030:function(d){function v(e,r){return function(i){return e(r(i))}}d.exports=v},19652:function(d,v,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,v,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 v(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}d.exports=v},71152:function(d,v,e){var r=e(63989),i=e(12345),l=i(r);d.exports=l},12345:function(d){var v=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>=v)return arguments[0]}else c=0;return l.apply(void 0,arguments)}}d.exports=i},31119:function(d,v,e){var r=e(99746);function i(){this.__data__=new r,this.size=0}d.exports=i},64399:function(d){function v(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}d.exports=v},81897:function(d){function v(e){return this.__data__.get(e)}d.exports=v},90558:function(d){function v(e){return this.__data__.has(e)}d.exports=v},64841:function(d,v,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 v=Function.prototype,e=v.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 v(e){return function(){return e}}d.exports=v},43607:function(d){function v(e,r){return e===r||e!==e&&r!==r}d.exports=v},46962:function(d){function v(e){return e}d.exports=v},13053:function(d,v,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 v=Array.isArray;d.exports=v},24665:function(d,v,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,v,e){var r=e(24665),i=e(93913);function l(c){return i(c)&&r(c)}d.exports=l},57835:function(d,v,e){d=e.nmd(d);var r=e(33152),i=e(55950),l=v&&!v.nodeType&&v,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,v,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 v=9007199254740991;function e(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=v}d.exports=e},20816:function(d){function v(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}d.exports=v},93913:function(d){function v(e){return e!=null&&typeof e=="object"}d.exports=v},19308:function(d,v,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,v,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,v,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,v,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,S=2,k=1,R=2,A=4,D=8,M=16,B=32,j=64,Y=128,V=256,G=512,ae=30,ie="...",ue=800,q=16,J=1,K=2,oe=3,ee=1/0,Q=9007199254740991,le=17976931348623157e292,Z=NaN,$=4294967295,se=$-1,_e=$>>>1,De=[["ary",Y],["bind",k],["bindKey",R],["curry",D],["curryRight",M],["flip",G],["partial",B],["partialRight",j],["rearg",V]],ke="[object Arguments]",Ze="[object Array]",Ne="[object AsyncFunction]",Bt="[object Boolean]",yt="[object Date]",Dt="[object DOMException]",Jt="[object Error]",er="[object Function]",tr="[object GeneratorFunction]",Xe="[object Map]",Pt="[object Number]",Zt="[object Null]",ot="[object Object]",xt="[object Promise]",ht="[object Proxy]",et="[object RegExp]",je="[object Set]",ge="[object String]",Se="[object Symbol]",Me="[object Undefined]",$e="[object WeakMap]",He="[object WeakSet]",nt="[object ArrayBuffer]",ct="[object DataView]",Vt="[object Float32Array]",Ht="[object Float64Array]",Pe="[object Int8Array]",qe="[object Int16Array]",Yt="[object Int32Array]",Rt="[object Uint8Array]",Wt="[object Uint8ClampedArray]",$t="[object Uint16Array]",At="[object Uint32Array]",Xt=/\b__p \+= '';/g,We=/\b(__p \+=) '' \+/g,fe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,pe=/&(?:amp|lt|gt|quot|#39);/g,Ot=/[&<>"']/g,Te=RegExp(pe.source),dt=RegExp(Ot.source),Gt=/<%-([\s\S]+?)%>/g,St=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,wt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/,Ke=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gt=/[\\^$.*+?()[\]{}|]/g,Ft=RegExp(gt.source),Fe=/^\s+/,Dr=/\s/,Ct=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Gr=/\{\n\/\* \[wrapped with (.+)\] \*/,Qr=/,? & /,Cr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Fr=/[()=,{}\[\]\/\s]/,mr=/\\(\\)?/g,jr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sn=/\w*$/,cn=/^[-+]0x[0-9a-f]+$/i,lr=/^0b[01]+$/i,Lt=/^\[object .+?Constructor\]$/,mt=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,Ut=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Sr=/($^)/,yr=/['\n\r\u2028\u2029\\]/g,it="\\ud800-\\udfff",Br="\\u0300-\\u036f",gn="\\ufe20-\\ufe2f",zn="\\u20d0-\\u20ff",gr=Br+gn+zn,tn="\\u2700-\\u27bf",pn="a-z\\xdf-\\xf6\\xf8-\\xff",Fn="\\xac\\xb1\\xd7\\xf7",Tn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",oi="\\u2000-\\u206f",Pi=" \\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",Li="A-Z\\xc0-\\xd6\\xd8-\\xde",Si="\\ufe0e\\ufe0f",gi=Fn+Tn+oi+Pi,ii="['\u2019]",na="["+it+"]",ni="["+gi+"]",Ji="["+gr+"]",bt="\\d+",lt="["+tn+"]",Qn="["+pn+"]",yi="[^"+it+gi+bt+tn+pn+Li+"]",ei="\\ud83c[\\udffb-\\udfff]",Ki="(?:"+Ji+"|"+ei+")",bi="[^"+it+"]",qn="(?:\\ud83c[\\udde6-\\uddff]){2}",An="[\\ud800-\\udbff][\\udc00-\\udfff]",rr="["+Li+"]",_t="\\u200d",rt="(?:"+Qn+"|"+yi+")",It="(?:"+rr+"|"+yi+")",pt="(?:"+ii+"(?:d|ll|m|re|s|t|ve))?",cr="(?:"+ii+"(?:D|LL|M|RE|S|T|VE))?",dr=Ki+"?",Tr="["+Si+"]?",Hr="(?:"+_t+"(?:"+[bi,qn,An].join("|")+")"+Tr+dr+")*",Ue="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Je="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ee=Tr+dr+Hr,st="(?:"+[lt,qn,An].join("|")+")"+Ee,nr="(?:"+[bi+Ji+"?",Ji,qn,An,na].join("|")+")",Lr=RegExp(ii,"g"),Or=RegExp(Ji,"g"),Ir=RegExp(ei+"(?="+ei+")|"+nr+Ee,"g"),Ur=RegExp([rr+"?"+Qn+"+"+pt+"(?="+[ni,rr,"$"].join("|")+")",It+"+"+cr+"(?="+[ni,rr+rt,"$"].join("|")+")",rr+"?"+rt+"+"+pt,rr+"+"+cr,Je,Ue,bt,st].join("|"),"g"),_n=RegExp("["+_t+it+gr+Si+"]"),Pr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fn=["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"],nn=-1,on={};on[Vt]=on[Ht]=on[Pe]=on[qe]=on[Yt]=on[Rt]=on[Wt]=on[$t]=on[At]=!0,on[ke]=on[Ze]=on[nt]=on[Bt]=on[ct]=on[yt]=on[Jt]=on[er]=on[Xe]=on[Pt]=on[ot]=on[et]=on[je]=on[ge]=on[$e]=!1;var Sn={};Sn[ke]=Sn[Ze]=Sn[nt]=Sn[ct]=Sn[Bt]=Sn[yt]=Sn[Vt]=Sn[Ht]=Sn[Pe]=Sn[qe]=Sn[Yt]=Sn[Xe]=Sn[Pt]=Sn[ot]=Sn[et]=Sn[je]=Sn[ge]=Sn[Se]=Sn[Rt]=Sn[Wt]=Sn[$t]=Sn[At]=!0,Sn[Jt]=Sn[er]=Sn[$e]=!1;var va={\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"},wi={"&":"&","<":"<",">":">",'"':""","'":"'"},_i={"&":"&","<":"<",">":">",""":'"',"'":"'"},vn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},si=parseFloat,Bi=parseInt,da=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,Ha=typeof self=="object"&&self&&self.Object===Object&&self,Ta=da||Ha||Function("return this")(),fs=v&&!v.nodeType&&v,Es=fs&&!0&&d&&!d.nodeType&&d,Wa=Es&&Es.exports===fs,mi=Wa&&da.process,ia=function(){try{var ur=Es&&Es.require&&Es.require("util").types;return ur||mi&&mi.binding&&mi.binding("util")}catch(Nr){}}(),os=ia&&ia.isArrayBuffer,Ga=ia&&ia.isDate,Is=ia&&ia.isMap,Yi=ia&&ia.isRegExp,ms=ia&&ia.isSet,bo=ia&&ia.isTypedArray;function Ni(ur,Nr,xr){switch(xr.length){case 0:return ur.call(Nr);case 1:return ur.call(Nr,xr[0]);case 2:return ur.call(Nr,xr[0],xr[1]);case 3:return ur.call(Nr,xr[0],xr[1],xr[2])}return ur.apply(Nr,xr)}function vs(ur,Nr,xr,hn){for(var Wn=-1,ft=ur==null?0:ur.length;++Wn<ft;){var Pn=ur[Wn];Nr(hn,Pn,xr(Pn),ur)}return hn}function Na(ur,Nr){for(var xr=-1,hn=ur==null?0:ur.length;++xr<hn&&Nr(ur[xr],xr,ur)!==!1;);return ur}function Ys(ur,Nr){for(var xr=ur==null?0:ur.length;xr--&&Nr(ur[xr],xr,ur)!==!1;);return ur}function Dn(ur,Nr){for(var xr=-1,hn=ur==null?0:ur.length;++xr<hn;)if(!Nr(ur[xr],xr,ur))return!1;return!0}function $a(ur,Nr){for(var xr=-1,hn=ur==null?0:ur.length,Wn=0,ft=[];++xr<hn;){var Pn=ur[xr];Nr(Pn,xr,ur)&&(ft[Wn++]=Pn)}return ft}function cs(ur,Nr){var xr=ur==null?0:ur.length;return!!xr&&no(ur,Nr,0)>-1}function ja(ur,Nr,xr){for(var hn=-1,Wn=ur==null?0:ur.length;++hn<Wn;)if(xr(Nr,ur[hn]))return!0;return!1}function zi(ur,Nr){for(var xr=-1,hn=ur==null?0:ur.length,Wn=Array(hn);++xr<hn;)Wn[xr]=Nr(ur[xr],xr,ur);return Wn}function Ra(ur,Nr){for(var xr=-1,hn=Nr.length,Wn=ur.length;++xr<hn;)ur[Wn+xr]=Nr[xr];return ur}function Da(ur,Nr,xr,hn){var Wn=-1,ft=ur==null?0:ur.length;for(hn&&ft&&(xr=ur[++Wn]);++Wn<ft;)xr=Nr(xr,ur[Wn],Wn,ur);return xr}function ws(ur,Nr,xr,hn){var Wn=ur==null?0:ur.length;for(hn&&Wn&&(xr=ur[--Wn]);Wn--;)xr=Nr(xr,ur[Wn],Wn,ur);return xr}function Xs(ur,Nr){for(var xr=-1,hn=ur==null?0:ur.length;++xr<hn;)if(Nr(ur[xr],xr,ur))return!0;return!1}var xo=di("length");function ho(ur){return ur.split("")}function wa(ur){return ur.match(Cr)||[]}function gs(ur,Nr,xr){var hn;return xr(ur,function(Wn,ft,Pn){if(Nr(Wn,ft,Pn))return hn=ft,!1}),hn}function Zs(ur,Nr,xr,hn){for(var Wn=ur.length,ft=xr+(hn?1:-1);hn?ft--:++ft<Wn;)if(Nr(ur[ft],ft,ur))return ft;return-1}function no(ur,Nr,xr){return Nr===Nr?Au(ur,Nr,xr):Zs(ur,wo,xr)}function Eo(ur,Nr,xr,hn){for(var Wn=xr-1,ft=ur.length;++Wn<ft;)if(hn(ur[Wn],Nr))return Wn;return-1}function wo(ur){return ur!==ur}function po(ur,Nr){var xr=ur==null?0:ur.length;return xr?qa(ur,Nr)/xr:Z}function di(ur){return function(Nr){return Nr==null?i:Nr[ur]}}function ci(ur){return function(Nr){return ur==null?i:ur[Nr]}}function Ua(ur,Nr,xr,hn,Wn){return Wn(ur,function(ft,Pn,Kn){xr=hn?(hn=!1,ft):Nr(xr,ft,Pn,Kn)}),xr}function Qa(ur,Nr){var xr=ur.length;for(ur.sort(Nr);xr--;)ur[xr]=ur[xr].value;return ur}function qa(ur,Nr){for(var xr,hn=-1,Wn=ur.length;++hn<Wn;){var ft=Nr(ur[hn]);ft!==i&&(xr=xr===i?ft:xr+ft)}return xr}function Qs(ur,Nr){for(var xr=-1,hn=Array(ur);++xr<ur;)hn[xr]=Nr(xr);return hn}function qs(ur,Nr){return zi(Nr,function(xr){return[xr,ur[xr]]})}function Qo(ur){return ur&&ur.slice(0,vr(ur)+1).replace(Fe,"")}function ds(ur){return function(Nr){return ur(Nr)}}function Oo(ur,Nr){return zi(Nr,function(xr){return ur[xr]})}function ko(ur,Nr){return ur.has(Nr)}function Ho(ur,Nr){for(var xr=-1,hn=ur.length;++xr<hn&&no(Nr,ur[xr],0)>-1;);return xr}function Su(ur,Nr){for(var xr=ur.length;xr--&&no(Nr,ur[xr],0)>-1;);return xr}function So(ur,Nr){for(var xr=ur.length,hn=0;xr--;)ur[xr]===Nr&&++hn;return hn}var _o=ci(va),Js=ci(wi);function $u(ur){return"\\"+vn[ur]}function Ro(ur,Nr){return ur==null?i:ur[Nr]}function Lo(ur){return _n.test(ur)}function Hs(ur){return Pr.test(ur)}function du(ur){for(var Nr,xr=[];!(Nr=ur.next()).done;)xr.push(Nr.value);return xr}function jo(ur){var Nr=-1,xr=Array(ur.size);return ur.forEach(function(hn,Wn){xr[++Nr]=[Wn,hn]}),xr}function Ao(ur,Nr){return function(xr){return ur(Nr(xr))}}function Bs(ur,Nr){for(var xr=-1,hn=ur.length,Wn=0,ft=[];++xr<hn;){var Pn=ur[xr];(Pn===Nr||Pn===x)&&(ur[xr]=x,ft[Wn++]=xr)}return ft}function Rs(ur){var Nr=-1,xr=Array(ur.size);return ur.forEach(function(hn){xr[++Nr]=hn}),xr}function hu(ur){var Nr=-1,xr=Array(ur.size);return ur.forEach(function(hn){xr[++Nr]=[hn,hn]}),xr}function Au(ur,Nr,xr){for(var hn=xr-1,Wn=ur.length;++hn<Wn;)if(ur[hn]===Nr)return hn;return-1}function qt(ur,Nr,xr){for(var hn=xr+1;hn--;)if(ur[hn]===Nr)return hn;return hn}function hr(ur){return Lo(ur)?yn(ur):xo(ur)}function or(ur){return Lo(ur)?En(ur):ho(ur)}function vr(ur){for(var Nr=ur.length;Nr--&&Dr.test(ur.charAt(Nr)););return Nr}var wr=ci(_i);function yn(ur){for(var Nr=Ir.lastIndex=0;Ir.test(ur);)++Nr;return Nr}function En(ur){return ur.match(Ir)||[]}function $n(ur){return ur.match(Ur)||[]}var Ln=function ur(Nr){Nr=Nr==null?Ta:Vn.defaults(Ta.Object(),Nr,Vn.pick(Ta,fn));var xr=Nr.Array,hn=Nr.Date,Wn=Nr.Error,ft=Nr.Function,Pn=Nr.Math,Kn=Nr.Object,ui=Nr.RegExp,Xi=Nr.String,$r=Nr.TypeError,Vr=xr.prototype,ga=ft.prototype,Ii=Kn.prototype,aa=Nr["__core-js_shared__"],Ds=ga.toString,li=Ii.hasOwnProperty,Ws=0,Uo=function(){var w=/[^.]+$/.exec(aa&&aa.keys&&aa.keys.IE_PROTO||"");return w?"Symbol(src)_1."+w:""}(),Ls=Ii.toString,ya=Ds.call(Kn),Va=Ta._,ys=ui("^"+Ds.call(li).replace(gt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Mn=Wa?Nr.Buffer:i,Ns=Nr.Symbol,$s=Nr.Uint8Array,Ye=Mn?Mn.allocUnsafe:i,Qe=Ao(Kn.getPrototypeOf,Kn),Mt=Kn.create,Kt=Ii.propertyIsEnumerable,pr=Vr.splice,Mr=Ns?Ns.isConcatSpreadable:i,Zr=Ns?Ns.iterator:i,mn=Ns?Ns.toStringTag:i,rn=function(){try{var w=Oa(Kn,"defineProperty");return w({},"",{}),w}catch(F){}}(),bn=Nr.clearTimeout!==Ta.clearTimeout&&Nr.clearTimeout,Yn=hn&&hn.now!==Ta.Date.now&&hn.now,ti=Nr.setTimeout!==Ta.setTimeout&&Nr.setTimeout,xi=Pn.ceil,Ai=Pn.floor,Zi=Kn.getOwnPropertySymbols,$i=Mn?Mn.isBuffer:i,Ei=Nr.isFinite,ba=Vr.join,Di=Ao(Kn.keys,Kn),hi=Pn.max,la=Pn.min,eo=hn.now,Ss=Nr.parseInt,Qi=Pn.random,La=Vr.reverse,ta=Oa(Nr,"DataView"),Ri=Oa(Nr,"Map"),xa=Oa(Nr,"Promise"),Ka=Oa(Nr,"Set"),Fa=Oa(Nr,"WeakMap"),io=Oa(Kn,"create"),Ja=Fa&&new Fa,ao={},es=oa(ta),js=oa(Ri),ts=oa(xa),Hi=oa(Ka),Ba=oa(Fa),Os=Ns?Ns.prototype:i,ha=Os?Os.valueOf:i,ye=Os?Os.toString:i;function we(w){if(tu(w)&&!Xa(w)&&!(w instanceof Xr)){if(w instanceof br)return w;if(li.call(w,"__wrapped__"))return _s(w)}return new br(w)}var Ar=function(){function w(){}return function(F){if(!Xo(F))return{};if(Mt)return Mt(F);w.prototype=F;var de=new w;return w.prototype=i,de}}();function Jr(){}function br(w,F){this.__wrapped__=w,this.__actions__=[],this.__chain__=!!F,this.__index__=0,this.__values__=i}we.templateSettings={escape:Gt,evaluate:St,interpolate:Oe,variable:"",imports:{_:we}},we.prototype=Jr.prototype,we.prototype.constructor=we,br.prototype=Ar(Jr.prototype),br.prototype.constructor=br;function Xr(w){this.__wrapped__=w,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$,this.__views__=[]}function wn(){var w=new Xr(this.__wrapped__);return w.__actions__=No(this.__actions__),w.__dir__=this.__dir__,w.__filtered__=this.__filtered__,w.__iteratees__=No(this.__iteratees__),w.__takeCount__=this.__takeCount__,w.__views__=No(this.__views__),w}function Jn(){if(this.__filtered__){var w=new Xr(this);w.__dir__=-1,w.__filtered__=!0}else w=this.clone(),w.__dir__*=-1;return w}function Mi(){var w=this.__wrapped__.value(),F=this.__dir__,de=Xa(w),Be=F<0,Et=de?w.length:0,Qt=Oc(0,Et,this.__views__),_r=Qt.start,Rr=Qt.end,Yr=Rr-_r,In=Be?Rr:_r-1,Rn=this.__iteratees__,Hn=Rn.length,Ti=0,ra=la(Yr,this.__takeCount__);if(!de||!Be&&Et==Yr&&ra==Yr)return Gc(w,this.__actions__);var Pa=[];e:for(;Yr--&&Ti<ra;){In+=F;for(var ls=-1,Ia=w[In];++ls<Hn;){var xs=Rn[ls],Ps=xs.iteratee,oc=xs.type,Cl=Ps(Ia);if(oc==K)Ia=Cl;else if(!Cl){if(oc==J)continue e;break e}}Pa[Ti++]=Ia}return Pa}Xr.prototype=Ar(Jr.prototype),Xr.prototype.constructor=Xr;function On(w){var F=-1,de=w==null?0:w.length;for(this.clear();++F<de;){var Be=w[F];this.set(Be[0],Be[1])}}function kn(){this.__data__=io?io(null):{},this.size=0}function Bn(w){var F=this.has(w)&&delete this.__data__[w];return this.size-=F?1:0,F}function ca(w){var F=this.__data__;if(io){var de=F[w];return de===u?i:de}return li.call(F,w)?F[w]:i}function Wi(w){var F=this.__data__;return io?F[w]!==i:li.call(F,w)}function vo(w,F){var de=this.__data__;return this.size+=this.has(w)?0:1,de[w]=io&&F===i?u:F,this}On.prototype.clear=kn,On.prototype.delete=Bn,On.prototype.get=ca,On.prototype.has=Wi,On.prototype.set=vo;function so(w){var F=-1,de=w==null?0:w.length;for(this.clear();++F<de;){var Be=w[F];this.set(Be[0],Be[1])}}function ru(){this.__data__=[],this.size=0}function hl(w){var F=this.__data__,de=us(F,w);if(de<0)return!1;var Be=F.length-1;return de==Be?F.pop():pr.call(F,de,1),--this.size,!0}function Yu(w){var F=this.__data__,de=us(F,w);return de<0?i:F[de][1]}function pu(w){return us(this.__data__,w)>-1}function Tl(w,F){var de=this.__data__,Be=us(de,w);return Be<0?(++this.size,de.push([w,F])):de[Be][1]=F,this}so.prototype.clear=ru,so.prototype.delete=hl,so.prototype.get=Yu,so.prototype.has=pu,so.prototype.set=Tl;function _u(w){var F=-1,de=w==null?0:w.length;for(this.clear();++F<de;){var Be=w[F];this.set(Be[0],Be[1])}}function Ve(){this.size=0,this.__data__={hash:new On,map:new(Ri||so),string:new On}}function H(w){var F=Oi(this,w).delete(w);return this.size-=F?1:0,F}function X(w){return Oi(this,w).get(w)}function ne(w){return Oi(this,w).has(w)}function he(w,F){var de=Oi(this,w),Be=de.size;return de.set(w,F),this.size+=de.size==Be?0:1,this}_u.prototype.clear=Ve,_u.prototype.delete=H,_u.prototype.get=X,_u.prototype.has=ne,_u.prototype.set=he;function Ce(w){var F=-1,de=w==null?0:w.length;for(this.__data__=new _u;++F<de;)this.add(w[F])}function Ge(w){return this.__data__.set(w,u),this}function Tt(w){return this.__data__.has(w)}Ce.prototype.add=Ce.prototype.push=Ge,Ce.prototype.has=Tt;function Nt(w){var F=this.__data__=new so(w);this.size=F.size}function ar(){this.__data__=new so,this.size=0}function Er(w){var F=this.__data__,de=F.delete(w);return this.size=F.size,de}function zt(w){return this.__data__.get(w)}function an(w){return this.__data__.has(w)}function xn(w,F){var de=this.__data__;if(de instanceof so){var Be=de.__data__;if(!Ri||Be.length<c-1)return Be.push([w,F]),this.size=++de.size,this;de=this.__data__=new _u(Be)}return de.set(w,F),this.size=de.size,this}Nt.prototype.clear=ar,Nt.prototype.delete=Er,Nt.prototype.get=zt,Nt.prototype.has=an,Nt.prototype.set=xn;function jn(w,F){var de=Xa(w),Be=!de&&Lf(w),Et=!de&&!Be&&If(w),Qt=!de&&!Be&&!Et&&zf(w),_r=de||Be||Et||Qt,Rr=_r?Qs(w.length,Xi):[],Yr=Rr.length;for(var In in w)(F||li.call(w,In))&&!(_r&&(In=="length"||Et&&(In=="offset"||In=="parent")||Qt&&(In=="buffer"||In=="byteLength"||In=="byteOffset")||$o(In,Yr)))&&Rr.push(In);return Rr}function Zn(w){var F=w.length;return F?w[vu(0,F-1)]:i}function Ci(w,F){return Fi(No(w),ks(F,0,w.length))}function pa(w){return Fi(No(w))}function sa(w,F,de){(de!==i&&!Nc(w[F],de)||de===i&&!(F in w))&&Ea(w,F,de)}function fa(w,F,de){var Be=w[F];(!(li.call(w,F)&&Nc(Be,de))||de===i&&!(F in w))&&Ea(w,F,de)}function us(w,F){for(var de=w.length;de--;)if(Nc(w[de][0],F))return de;return-1}function za(w,F,de,Be){return go(w,function(Et,Qt,_r){F(Be,Et,de(Et),_r)}),Be}function hs(w,F){return w&&Vs(F,Nu(F),w)}function rs(w,F){return w&&Vs(F,Zl(F),w)}function Ea(w,F,de){F=="__proto__"&&rn?rn(w,F,{configurable:!0,enumerable:!0,value:de,writable:!0}):w[F]=de}function Za(w,F){for(var de=-1,Be=F.length,Et=xr(Be),Qt=w==null;++de<Be;)Et[de]=Qt?i:sd(w,F[de]);return Et}function ks(w,F,de){return w===w&&(de!==i&&(w=w<=de?w:de),F!==i&&(w=w>=F?w:F)),w}function vi(w,F,de,Be,Et,Qt){var _r,Rr=F&p,Yr=F&y,In=F&_;if(de&&(_r=Et?de(w,Be,Et,Qt):de(w)),_r!==i)return _r;if(!Xo(w))return w;var Rn=Xa(w);if(Rn){if(_r=vc(w),!Rr)return No(w,_r)}else{var Hn=bs(w),Ti=Hn==er||Hn==tr;if(If(w))return df(w,Rr);if(Hn==ot||Hn==ke||Ti&&!Et){if(_r=Yr||Ti?{}:Mu(w),!Rr)return Yr?ku(w,rs(_r,w)):Go(w,hs(_r,w))}else{if(!Sn[Hn])return Et?w:{};_r=ki(w,Hn,Rr)}}Qt||(Qt=new Nt);var ra=Qt.get(w);if(ra)return ra;Qt.set(w,_r),gd(w)?w.forEach(function(Ia){_r.add(vi(Ia,F,de,Ia,w,Qt))}):md(w)&&w.forEach(function(Ia,xs){_r.set(xs,vi(Ia,F,de,xs,w,Qt))});var Pa=In?Yr?me:L:Yr?Zl:Nu,ls=Rn?i:Pa(w);return Na(ls||w,function(Ia,xs){ls&&(xs=Ia,Ia=w[xs]),fa(_r,xs,vi(Ia,F,de,xs,w,Qt))}),_r}function oo(w){var F=Nu(w);return function(de){return Co(de,w,F)}}function Co(w,F,de){var Be=de.length;if(w==null)return!Be;for(w=Kn(w);Be--;){var Et=de[Be],Qt=F[Et],_r=w[Et];if(_r===i&&!(Et in w)||!Qt(_r))return!1}return!0}function Mo(w,F,de){if(typeof w!="function")throw new $r(o);return ac(function(){w.apply(i,de)},F)}function Ms(w,F,de,Be){var Et=-1,Qt=cs,_r=!0,Rr=w.length,Yr=[],In=F.length;if(!Rr)return Yr;de&&(F=zi(F,ds(de))),Be?(Qt=ja,_r=!1):F.length>=c&&(Qt=ko,_r=!1,F=new Ce(F));e:for(;++Et<Rr;){var Rn=w[Et],Hn=de==null?Rn:de(Rn);if(Rn=Be||Rn!==0?Rn:0,_r&&Hn===Hn){for(var Ti=In;Ti--;)if(F[Ti]===Hn)continue e;Yr.push(Rn)}else Qt(F,Hn,Be)||Yr.push(Rn)}return Yr}var go=yu(yo),ps=yu(pl,!0);function Xu(w,F){var de=!0;return go(w,function(Be,Et,Qt){return de=!!F(Be,Et,Qt),de}),de}function ju(w,F,de){for(var Be=-1,Et=w.length;++Be<Et;){var Qt=w[Be],_r=F(Qt);if(_r!=null&&(Rr===i?_r===_r&&!sc(_r):de(_r,Rr)))var Rr=_r,Yr=Qt}return Yr}function Qu(w,F,de,Be){var Et=w.length;for(de=ss(de),de<0&&(de=-de>Et?0:Et+de),Be=Be===i||Be>Et?Et:ss(Be),Be<0&&(Be+=Et),Be=de>Be?0:bd(Be);de<Be;)w[de++]=F;return w}function uu(w,F){var de=[];return go(w,function(Be,Et,Qt){F(Be,Et,Qt)&&de.push(Be)}),de}function As(w,F,de,Be,Et){var Qt=-1,_r=w.length;for(de||(de=Fl),Et||(Et=[]);++Qt<_r;){var Rr=w[Qt];F>0&&de(Rr)?F>1?As(Rr,F-1,de,Be,Et):Ra(Et,Rr):Be||(Et[Et.length]=Rr)}return Et}var Uu=hc(),Cu=hc(!0);function yo(w,F){return w&&Uu(w,F,Nu)}function pl(w,F){return w&&Cu(w,F,Nu)}function _l(w,F){return $a(F,function(de){return bf(w[de])})}function qo(w,F){F=Du(F,w);for(var de=0,Be=F.length;w!=null&&de<Be;)w=w[Gi(F[de++])];return de&&de==Be?w:i}function ml(w,F,de){var Be=F(w);return Xa(w)?Be:Ra(Be,de(w))}function Gs(w){return w==null?w===i?Me:Zt:mn&&mn in Kn(w)?Do(w):Jc(w)}function To(w,F){return w>F}function mu(w,F){return w!=null&&li.call(w,F)}function Wl(w,F){return w!=null&&F in Kn(w)}function Tu(w,F,de){return w>=la(F,de)&&w<hi(F,de)}function lc(w,F,de){for(var Be=de?ja:cs,Et=w[0].length,Qt=w.length,_r=Qt,Rr=xr(Qt),Yr=1/0,In=[];_r--;){var Rn=w[_r];_r&&F&&(Rn=zi(Rn,ds(F))),Yr=la(Rn.length,Yr),Rr[_r]=!de&&(F||Et>=120&&Rn.length>=120)?new Ce(_r&&Rn):i}Rn=w[0];var Hn=-1,Ti=Rr[0];e:for(;++Hn<Et&&In.length<Yr;){var ra=Rn[Hn],Pa=F?F(ra):ra;if(ra=de||ra!==0?ra:0,!(Ti?ko(Ti,Pa):Be(In,Pa,de))){for(_r=Qt;--_r;){var ls=Rr[_r];if(!(ls?ko(ls,Pa):Be(w[_r],Pa,de)))continue e}Ti&&Ti.push(Pa),In.push(ra)}}return In}function Pl(w,F,de,Be){return yo(w,function(Et,Qt,_r){F(Be,de(Et),Qt,_r)}),Be}function ai(w,F,de){F=Du(F,w),w=Fu(w,F);var Be=w==null?w:w[Gi(Yo(F))];return Be==null?i:Ni(Be,w,de)}function xc(w){return tu(w)&&Gs(w)==ke}function to(w){return tu(w)&&Gs(w)==nt}function Ec(w){return tu(w)&&Gs(w)==yt}function Jo(w,F,de,Be,Et){return w===F?!0:w==null||F==null||!tu(w)&&!tu(F)?w!==w&&F!==F:Pu(w,F,de,Be,Jo,Et)}function Pu(w,F,de,Be,Et,Qt){var _r=Xa(w),Rr=Xa(F),Yr=_r?Ze:bs(w),In=Rr?Ze:bs(F);Yr=Yr==ke?ot:Yr,In=In==ke?ot:In;var Rn=Yr==ot,Hn=In==ot,Ti=Yr==In;if(Ti&&If(w)){if(!If(F))return!1;_r=!0,Rn=!1}if(Ti&&!Rn)return Qt||(Qt=new Nt),_r||zf(w)?mc(w,F,de,Be,Et,Qt):Dc(w,F,Yr,de,Be,Et,Qt);if(!(de&b)){var ra=Rn&&li.call(w,"__wrapped__"),Pa=Hn&&li.call(F,"__wrapped__");if(ra||Pa){var ls=ra?w.value():w,Ia=Pa?F.value():F;return Qt||(Qt=new Nt),Et(ls,Ia,de,Be,Qt)}}return Ti?(Qt||(Qt=new Nt),I(w,F,de,Be,Et,Qt)):!1}function qu(w){return tu(w)&&bs(w)==Xe}function zo(w,F,de,Be){var Et=de.length,Qt=Et,_r=!Be;if(w==null)return!Qt;for(w=Kn(w);Et--;){var Rr=de[Et];if(_r&&Rr[2]?Rr[1]!==w[Rr[0]]:!(Rr[0]in w))return!1}for(;++Et<Qt;){Rr=de[Et];var Yr=Rr[0],In=w[Yr],Rn=Rr[1];if(_r&&Rr[2]){if(In===i&&!(Yr in w))return!1}else{var Hn=new Nt;if(Be)var Ti=Be(In,Rn,Yr,w,F,Hn);if(!(Ti===i?Jo(Rn,In,b|S,Be,Hn):Ti))return!1}}return!0}function jc(w){if(!Xo(w)||El(w))return!1;var F=bf(w)?ys:Lt;return F.test(oa(w))}function mo(w){return tu(w)&&Gs(w)==et}function lf(w){return tu(w)&&bs(w)==je}function cf(w){return tu(w)&&Qf(w.length)&&!!on[Gs(w)]}function Uc(w){return typeof w=="function"?w:w==null?Hl:typeof w=="object"?Xa(w)?Us(w[0],w[1]):Ol(w):Od(w)}function Il(w){if(!ol(w))return Di(w);var F=[];for(var de in Kn(w))li.call(w,de)&&de!="constructor"&&F.push(de);return F}function vl(w){if(!Xo(w))return Bl(w);var F=ol(w),de=[];for(var Be in w)Be=="constructor"&&(F||!li.call(w,Be))||de.push(Be);return de}function Dl(w,F){return w<F}function Fo(w,F){var de=-1,Be=zl(w)?xr(w.length):[];return go(w,function(Et,Qt,_r){Be[++de]=F(Et,Qt,_r)}),Be}function Ol(w){var F=Ya(w);return F.length==1&&F[0][2]?kc(F[0][0],F[0][1]):function(de){return de===w||zo(de,w,F)}}function Us(w,F){return ns(w)&&Qc(F)?kc(Gi(w),F):function(de){var Be=sd(de,w);return Be===i&&Be===F?od(de,w):Jo(F,Be,b|S)}}function Bo(w,F,de,Be,Et){w!==F&&Uu(F,function(Qt,_r){if(Et||(Et=new Nt),Xo(Qt))Fs(w,F,_r,de,Bo,Be,Et);else{var Rr=Be?Be(ic(w,_r),Qt,_r+"",w,F,Et):i;Rr===i&&(Rr=Qt),sa(w,_r,Rr)}},Zl)}function Fs(w,F,de,Be,Et,Qt,_r){var Rr=ic(w,de),Yr=ic(F,de),In=_r.get(Yr);if(In){sa(w,de,In);return}var Rn=Qt?Qt(Rr,Yr,de+"",w,F,_r):i,Hn=Rn===i;if(Hn){var Ti=Xa(Yr),ra=!Ti&&If(Yr),Pa=!Ti&&!ra&&zf(Yr);Rn=Yr,Ti||ra||Pa?Xa(Rr)?Rn=Rr:su(Rr)?Rn=No(Rr):ra?(Hn=!1,Rn=df(Yr,!0)):Pa?(Hn=!1,Rn=Rl(Yr,!0)):Rn=[]:Vf(Yr)||Lf(Yr)?(Rn=Rr,Lf(Rr)?Rn=xd(Rr):(!Xo(Rr)||bf(Rr))&&(Rn=Mu(Yr))):Hn=!1}Hn&&(_r.set(Yr,Rn),Et(Rn,Yr,Be,Qt,_r),_r.delete(Yr)),sa(w,de,Rn)}function Gl(w,F){var de=w.length;if(de)return F+=F<0?de:0,$o(F,de)?w[F]:i}function gl(w,F,de){F.length?F=zi(F,function(Qt){return Xa(Qt)?function(_r){return qo(_r,Qt.length===1?Qt[0]:Qt)}:Qt}):F=[Hl];var Be=-1;F=zi(F,ds(dn()));var Et=Fo(w,function(Qt,_r,Rr){var Yr=zi(F,function(In){return In(Qt)});return{criteria:Yr,index:++Be,value:Qt}});return Qa(Et,function(Qt,_r){return gu(Qt,_r,de)})}function nu(w,F){return wc(w,F,function(de,Be){return od(w,Be)})}function wc(w,F,de){for(var Be=-1,Et=F.length,Qt={};++Be<Et;){var _r=F[Be],Rr=qo(w,_r);de(Rr,_r)&&zu(Qt,Du(_r,w),Rr)}return Qt}function Sc(w){return function(F){return qo(F,w)}}function iu(w,F,de,Be){var Et=Be?Eo:no,Qt=-1,_r=F.length,Rr=w;for(w===F&&(F=No(F)),de&&(Rr=zi(w,ds(de)));++Qt<_r;)for(var Yr=0,In=F[Qt],Rn=de?de(In):In;(Yr=Et(Rr,Rn,Yr,Be))>-1;)Rr!==w&&pr.call(Rr,Yr,1),pr.call(w,Yr,1);return w}function kl(w,F){for(var de=w?F.length:0,Be=de-1;de--;){var Et=F[de];if(de==Be||Et!==Qt){var Qt=Et;$o(Et)?pr.call(w,Et,1):dc(w,Et)}}return w}function vu(w,F){return w+Ai(Qi()*(F-w+1))}function cc(w,F,de,Be){for(var Et=-1,Qt=hi(xi((F-w)/(de||1)),0),_r=xr(Qt);Qt--;)_r[Be?Qt:++Et]=w,w+=de;return _r}function Ju(w,F){var de="";if(!w||F<1||F>Q)return de;do F%2&&(de+=w),F=Ai(F/2),F&&(w+=w);while(F);return de}function ka(w,F){return Nl(cu(w,F,Hl),w+"")}function zc(w){return Zn(Zf(w))}function Zc(w,F){var de=Zf(w);return Fi(de,ks(F,0,de.length))}function zu(w,F,de,Be){if(!Xo(w))return w;F=Du(F,w);for(var Et=-1,Qt=F.length,_r=Qt-1,Rr=w;Rr!=null&&++Et<Qt;){var Yr=Gi(F[Et]),In=de;if(Yr==="__proto__"||Yr==="constructor"||Yr==="prototype")return w;if(Et!=_r){var Rn=Rr[Yr];In=Be?Be(Rn,Yr,Rr):i,In===i&&(In=Xo(Rn)?Rn:$o(F[Et+1])?[]:{})}fa(Rr,Yr,In),Rr=Rr[Yr]}return w}var Ac=Ja?function(w,F){return Ja.set(w,F),w}:Hl,ff=rn?function(w,F){return rn(w,"toString",{configurable:!0,enumerable:!1,value:ld(F),writable:!0})}:Hl;function fc(w){return Fi(Zf(w))}function au(w,F,de){var Be=-1,Et=w.length;F<0&&(F=-F>Et?0:Et+F),de=de>Et?Et:de,de<0&&(de+=Et),Et=F>de?0:de-F>>>0,F>>>=0;for(var Qt=xr(Et);++Be<Et;)Qt[Be]=w[Be+F];return Qt}function Hc(w,F){var de;return go(w,function(Be,Et,Qt){return de=F(Be,Et,Qt),!de}),!!de}function Vl(w,F,de){var Be=0,Et=w==null?Be:w.length;if(typeof F=="number"&&F===F&&Et<=_e){for(;Be<Et;){var Qt=Be+Et>>>1,_r=w[Qt];_r!==null&&!sc(_r)&&(de?_r<=F:_r<F)?Be=Qt+1:Et=Qt}return Et}return yl(w,F,Hl,de)}function yl(w,F,de,Be){var Et=0,Qt=w==null?0:w.length;if(Qt===0)return 0;F=de(F);for(var _r=F!==F,Rr=F===null,Yr=sc(F),In=F===i;Et<Qt;){var Rn=Ai((Et+Qt)/2),Hn=de(w[Rn]),Ti=Hn!==i,ra=Hn===null,Pa=Hn===Hn,ls=sc(Hn);if(_r)var Ia=Be||Pa;else In?Ia=Pa&&(Be||Ti):Rr?Ia=Pa&&Ti&&(Be||!ra):Yr?Ia=Pa&&Ti&&!ra&&(Be||!ls):ra||ls?Ia=!1:Ia=Be?Hn<=F:Hn<F;Ia?Et=Rn+1:Qt=Rn}return la(Qt,se)}function Wc(w,F){for(var de=-1,Be=w.length,Et=0,Qt=[];++de<Be;){var _r=w[de],Rr=F?F(_r):_r;if(!de||!Nc(Rr,Yr)){var Yr=Rr;Qt[Et++]=_r===0?0:_r}}return Qt}function Kl(w){return typeof w=="number"?w:sc(w)?Z:+w}function Wo(w){if(typeof w=="string")return w;if(Xa(w))return zi(w,Wo)+"";if(sc(w))return ye?ye.call(w):"";var F=w+"";return F=="0"&&1/w==-ee?"-0":F}function Iu(w,F,de){var Be=-1,Et=cs,Qt=w.length,_r=!0,Rr=[],Yr=Rr;if(de)_r=!1,Et=ja;else if(Qt>=c){var In=F?null:Xc(w);if(In)return Rs(In);_r=!1,Et=ko,Yr=new Ce}else Yr=F?[]:Rr;e:for(;++Be<Qt;){var Rn=w[Be],Hn=F?F(Rn):Rn;if(Rn=de||Rn!==0?Rn:0,_r&&Hn===Hn){for(var Ti=Yr.length;Ti--;)if(Yr[Ti]===Hn)continue e;F&&Yr.push(Hn),Rr.push(Rn)}else Et(Yr,Hn,de)||(Yr!==Rr&&Yr.push(Hn),Rr.push(Rn))}return Rr}function dc(w,F){return F=Du(F,w),w=Fu(w,F),w==null||delete w[Gi(Yo(F))]}function Zu(w,F,de,Be){return zu(w,F,de(qo(w,F)),Be)}function Cc(w,F,de,Be){for(var Et=w.length,Qt=Be?Et:-1;(Be?Qt--:++Qt<Et)&&F(w[Qt],Qt,w););return de?au(w,Be?0:Qt,Be?Qt+1:Et):au(w,Be?Qt+1:0,Be?Et:Qt)}function Gc(w,F){var de=w;return de instanceof Xr&&(de=de.value()),Da(F,function(Be,Et){return Et.func.apply(Et.thisArg,Ra([Be],Et.args))},de)}function Yl(w,F,de){var Be=w.length;if(Be<2)return Be?Iu(w[0]):[];for(var Et=-1,Qt=xr(Be);++Et<Be;)for(var _r=w[Et],Rr=-1;++Rr<Be;)Rr!=Et&&(Qt[Et]=Ms(Qt[Et]||_r,w[Rr],F,de));return Iu(As(Qt,1),F,de)}function uo(w,F,de){for(var Be=-1,Et=w.length,Qt=F.length,_r={};++Be<Et;){var Rr=Be<Qt?F[Be]:i;de(_r,w[Be],Rr)}return _r}function Xl(w){return su(w)?w:[]}function Tc(w){return typeof w=="function"?w:Hl}function Du(w,F){return Xa(w)?w:ns(w,F)?[w]:Sa(ro(w))}var Ou=ka;function lo(w,F,de){var Be=w.length;return de=de===i?Be:de,!F&&de>=Be?w:au(w,F,de)}var el=bn||function(w){return Ta.clearTimeout(w)};function df(w,F){if(F)return w.slice();var de=w.length,Be=Ye?Ye(de):new w.constructor(de);return w.copy(Be),Be}function Pc(w){var F=new w.constructor(w.byteLength);return new $s(F).set(new $s(w)),F}function Vc(w,F){var de=F?Pc(w.buffer):w.buffer;return new w.constructor(de,w.byteOffset,w.byteLength)}function bl(w){var F=new w.constructor(w.source,sn.exec(w));return F.lastIndex=w.lastIndex,F}function Po(w){return ha?Kn(ha.call(w)):{}}function Rl(w,F){var de=F?Pc(w.buffer):w.buffer;return new w.constructor(de,w.byteOffset,w.length)}function ze(w,F){if(w!==F){var de=w!==i,Be=w===null,Et=w===w,Qt=sc(w),_r=F!==i,Rr=F===null,Yr=F===F,In=sc(F);if(!Rr&&!In&&!Qt&&w>F||Qt&&_r&&Yr&&!Rr&&!In||Be&&_r&&Yr||!de&&Yr||!Et)return 1;if(!Be&&!Qt&&!In&&w<F||In&&de&&Et&&!Be&&!Qt||Rr&&de&&Et||!_r&&Et||!Yr)return-1}return 0}function gu(w,F,de){for(var Be=-1,Et=w.criteria,Qt=F.criteria,_r=Et.length,Rr=de.length;++Be<_r;){var Yr=ze(Et[Be],Qt[Be]);if(Yr){if(Be>=Rr)return Yr;var In=de[Be];return Yr*(In=="desc"?-1:1)}}return w.index-F.index}function eu(w,F,de,Be){for(var Et=-1,Qt=w.length,_r=de.length,Rr=-1,Yr=F.length,In=hi(Qt-_r,0),Rn=xr(Yr+In),Hn=!Be;++Rr<Yr;)Rn[Rr]=F[Rr];for(;++Et<_r;)(Hn||Et<Qt)&&(Rn[de[Et]]=w[Et]);for(;In--;)Rn[Rr++]=w[Et++];return Rn}function Ll(w,F,de,Be){for(var Et=-1,Qt=w.length,_r=-1,Rr=de.length,Yr=-1,In=F.length,Rn=hi(Qt-Rr,0),Hn=xr(Rn+In),Ti=!Be;++Et<Rn;)Hn[Et]=w[Et];for(var ra=Et;++Yr<In;)Hn[ra+Yr]=F[Yr];for(;++_r<Rr;)(Ti||Et<Qt)&&(Hn[ra+de[_r]]=w[Et++]);return Hn}function No(w,F){var de=-1,Be=w.length;for(F||(F=xr(Be));++de<Be;)F[de]=w[de];return F}function Vs(w,F,de,Be){var Et=!de;de||(de={});for(var Qt=-1,_r=F.length;++Qt<_r;){var Rr=F[Qt],Yr=Be?Be(de[Rr],w[Rr],Rr,de,w):i;Yr===i&&(Yr=w[Rr]),Et?Ea(de,Rr,Yr):fa(de,Rr,Yr)}return de}function Go(w,F){return Vs(w,Ma(w),F)}function ku(w,F){return Vs(w,co(w),F)}function Io(w,F){return function(de,Be){var Et=Xa(de)?vs:za,Qt=F?F():{};return Et(de,w,dn(Be,2),Qt)}}function tl(w){return ka(function(F,de){var Be=-1,Et=de.length,Qt=Et>1?de[Et-1]:i,_r=Et>2?de[2]:i;for(Qt=w.length>3&&typeof Qt=="function"?(Et--,Qt):i,_r&&Ks(de[0],de[1],_r)&&(Qt=Et<3?i:Qt,Et=1),F=Kn(F);++Be<Et;){var Rr=de[Be];Rr&&w(F,Rr,Be,Qt)}return F})}function yu(w,F){return function(de,Be){if(de==null)return de;if(!zl(de))return w(de,Be);for(var Et=de.length,Qt=F?Et:-1,_r=Kn(de);(F?Qt--:++Qt<Et)&&Be(_r[Qt],Qt,_r)!==!1;);return de}}function hc(w){return function(F,de,Be){for(var Et=-1,Qt=Kn(F),_r=Be(F),Rr=_r.length;Rr--;){var Yr=_r[w?Rr:++Et];if(de(Qt[Yr],Yr,Qt)===!1)break}return F}}function Ru(w,F,de){var Be=F&k,Et=bu(w);function Qt(){var _r=this&&this!==Ta&&this instanceof Qt?Et:w;return _r.apply(Be?de:this,arguments)}return Qt}function Vo(w){return function(F){F=ro(F);var de=Lo(F)?or(F):i,Be=de?de[0]:F.charAt(0),Et=de?lo(de,1).join(""):F.slice(1);return Be[w]()+Et}}function rl(w){return function(F){return Da(Id(Pd(F).replace(Lr,"")),w,"")}}function bu(w){return function(){var F=arguments;switch(F.length){case 0:return new w;case 1:return new w(F[0]);case 2:return new w(F[0],F[1]);case 3:return new w(F[0],F[1],F[2]);case 4:return new w(F[0],F[1],F[2],F[3]);case 5:return new w(F[0],F[1],F[2],F[3],F[4]);case 6:return new w(F[0],F[1],F[2],F[3],F[4],F[5]);case 7:return new w(F[0],F[1],F[2],F[3],F[4],F[5],F[6])}var de=Ar(w.prototype),Be=w.apply(de,F);return Xo(Be)?Be:de}}function Ic(w,F,de){var Be=bu(w);function Et(){for(var Qt=arguments.length,_r=xr(Qt),Rr=Qt,Yr=Nn(Et);Rr--;)_r[Rr]=arguments[Rr];var In=Qt<3&&_r[0]!==Yr&&_r[Qt-1]!==Yr?[]:Bs(_r,Yr);if(Qt-=In.length,Qt<de)return Jl(w,F,xu,Et.placeholder,i,_r,In,i,i,de-Qt);var Rn=this&&this!==Ta&&this instanceof Et?Be:w;return Ni(Rn,this,_r)}return Et}function Kc(w){return function(F,de,Be){var Et=Kn(F);if(!zl(F)){var Qt=dn(de,3);F=Nu(F),de=function(Rr){return Qt(Et[Rr],Rr,Et)}}var _r=w(F,de,Be);return _r>-1?Et[Qt?F[_r]:_r]:i}}function Zo(w){return O(function(F){var de=F.length,Be=de,Et=br.prototype.thru;for(w&&F.reverse();Be--;){var Qt=F[Be];if(typeof Qt!="function")throw new $r(o);if(Et&&!_r&&qr(Qt)=="wrapper")var _r=new br([],!0)}for(Be=_r?Be:de;++Be<de;){Qt=F[Be];var Rr=qr(Qt),Yr=Rr=="wrapper"?Re(Qt):i;Yr&&sl(Yr[0])&&Yr[1]==(Y|D|B|V)&&!Yr[4].length&&Yr[9]==1?_r=_r[qr(Yr[0])].apply(_r,Yr[3]):_r=Qt.length==1&&sl(Qt)?_r[Rr]():_r.thru(Qt)}return function(){var In=arguments,Rn=In[0];if(_r&&In.length==1&&Xa(Rn))return _r.plant(Rn).value();for(var Hn=0,Ti=de?F[Hn].apply(this,In):Rn;++Hn<de;)Ti=F[Hn].call(this,Ti);return Ti}})}function xu(w,F,de,Be,Et,Qt,_r,Rr,Yr,In){var Rn=F&Y,Hn=F&k,Ti=F&R,ra=F&(D|M),Pa=F&G,ls=Ti?i:bu(w);function Ia(){for(var xs=arguments.length,Ps=xr(xs),oc=xs;oc--;)Ps[oc]=arguments[oc];if(ra)var Cl=Nn(Ia),uc=So(Ps,Cl);if(Be&&(Ps=eu(Ps,Be,Et,ra)),Qt&&(Ps=Ll(Ps,Qt,_r,ra)),xs-=uc,ra&&xs<In){var ou=Bs(Ps,Cl);return Jl(w,F,xu,Ia.placeholder,de,Ps,ou,Rr,Yr,In-xs)}var $c=Hn?de:this,Ef=Ti?$c[w]:w;return xs=Ps.length,Rr?Ps=Sl(Ps,Rr):Pa&&xs>1&&Ps.reverse(),Rn&&Yr<xs&&(Ps.length=Yr),this&&this!==Ta&&this instanceof Ia&&(Ef=ls||bu(Ef)),Ef.apply($c,Ps)}return Ia}function nl(w,F){return function(de,Be){return Pl(de,w,F(Be),{})}}function il(w,F){return function(de,Be){var Et;if(de===i&&Be===i)return F;if(de!==i&&(Et=de),Be!==i){if(Et===i)return Be;typeof de=="string"||typeof Be=="string"?(de=Wo(de),Be=Wo(Be)):(de=Kl(de),Be=Kl(Be)),Et=w(de,Be)}return Et}}function Ql(w){return O(function(F){return F=zi(F,ds(dn())),ka(function(de){var Be=this;return w(F,function(Et){return Ni(Et,Be,de)})})})}function ql(w,F){F=F===i?" ":Wo(F);var de=F.length;if(de<2)return de?Ju(F,w):F;var Be=Ju(F,xi(w/hr(F)));return Lo(F)?lo(or(Be),0,w).join(""):Be.slice(0,w)}function xl(w,F,de,Be){var Et=F&k,Qt=bu(w);function _r(){for(var Rr=-1,Yr=arguments.length,In=-1,Rn=Be.length,Hn=xr(Rn+Yr),Ti=this&&this!==Ta&&this instanceof _r?Qt:w;++In<Rn;)Hn[In]=Be[In];for(;Yr--;)Hn[In++]=arguments[++Rr];return Ni(Ti,Et?de:this,Hn)}return _r}function Yc(w){return function(F,de,Be){return Be&&typeof Be!="number"&&Ks(F,de,Be)&&(de=Be=i),F=xf(F),de===i?(de=F,F=0):de=xf(de),Be=Be===i?F<de?1:-1:xf(Be),cc(F,de,Be,w)}}function Ml(w){return function(F,de){return typeof F=="string"&&typeof de=="string"||(F=bc(F),de=bc(de)),w(F,de)}}function Jl(w,F,de,Be,Et,Qt,_r,Rr,Yr,In){var Rn=F&D,Hn=Rn?_r:i,Ti=Rn?i:_r,ra=Rn?Qt:i,Pa=Rn?i:Qt;F|=Rn?B:j,F&=~(Rn?j:B),F&A||(F&=~(k|R));var ls=[w,F,Et,ra,Hn,Pa,Ti,Rr,Yr,In],Ia=de.apply(i,ls);return sl(w)&&wu(Ia,ls),Ia.placeholder=Be,Cn(Ia,w,F)}function Eu(w){var F=Pn[w];return function(de,Be){if(de=bc(de),Be=Be==null?0:la(ss(Be),292),Be&&Ei(de)){var Et=(ro(de)+"e").split("e"),Qt=F(Et[0]+"e"+(+Et[1]+Be));return Et=(ro(Qt)+"e").split("e"),+(Et[0]+"e"+(+Et[1]-Be))}return F(de)}}var Xc=Ka&&1/Rs(new Ka([,-0]))[1]==ee?function(w){return new Ka(w)}:dd;function pc(w){return function(F){var de=bs(F);return de==Xe?jo(F):de==je?hu(F):qs(F,w(F))}}function Lu(w,F,de,Be,Et,Qt,_r,Rr){var Yr=F&R;if(!Yr&&typeof w!="function")throw new $r(o);var In=Be?Be.length:0;if(In||(F&=~(B|j),Be=Et=i),_r=_r===i?_r:hi(ss(_r),0),Rr=Rr===i?Rr:ss(Rr),In-=Et?Et.length:0,F&j){var Rn=Be,Hn=Et;Be=Et=i}var Ti=Yr?i:Re(w),ra=[w,F,de,Be,Et,Rn,Hn,Qt,_r,Rr];if(Ti&&qc(ra,Ti),w=ra[0],F=ra[1],de=ra[2],Be=ra[3],Et=ra[4],Rr=ra[9]=ra[9]===i?Yr?0:w.length:hi(ra[9]-In,0),!Rr&&F&(D|M)&&(F&=~(D|M)),!F||F==k)var Pa=Ru(w,F,de);else F==D||F==M?Pa=Ic(w,F,Rr):(F==B||F==(k|B))&&!Et.length?Pa=xl(w,F,de,Be):Pa=xu.apply(i,ra);var ls=Ti?Ac:wu;return Cn(ls(Pa,ra),w,F)}function lu(w,F,de,Be){return w===i||Nc(w,Ii[de])&&!li.call(Be,de)?F:w}function ec(w,F,de,Be,Et,Qt){return Xo(w)&&Xo(F)&&(Qt.set(F,w),Bo(w,F,i,ec,Qt),Qt.delete(F)),w}function _c(w){return Vf(w)?i:w}function mc(w,F,de,Be,Et,Qt){var _r=de&b,Rr=w.length,Yr=F.length;if(Rr!=Yr&&!(_r&&Yr>Rr))return!1;var In=Qt.get(w),Rn=Qt.get(F);if(In&&Rn)return In==F&&Rn==w;var Hn=-1,Ti=!0,ra=de&S?new Ce:i;for(Qt.set(w,F),Qt.set(F,w);++Hn<Rr;){var Pa=w[Hn],ls=F[Hn];if(Be)var Ia=_r?Be(ls,Pa,Hn,F,w,Qt):Be(Pa,ls,Hn,w,F,Qt);if(Ia!==i){if(Ia)continue;Ti=!1;break}if(ra){if(!Xs(F,function(xs,Ps){if(!ko(ra,Ps)&&(Pa===xs||Et(Pa,xs,de,Be,Qt)))return ra.push(Ps)})){Ti=!1;break}}else if(!(Pa===ls||Et(Pa,ls,de,Be,Qt))){Ti=!1;break}}return Qt.delete(w),Qt.delete(F),Ti}function Dc(w,F,de,Be,Et,Qt,_r){switch(de){case ct:if(w.byteLength!=F.byteLength||w.byteOffset!=F.byteOffset)return!1;w=w.buffer,F=F.buffer;case nt:return!(w.byteLength!=F.byteLength||!Qt(new $s(w),new $s(F)));case Bt:case yt:case Pt:return Nc(+w,+F);case Jt:return w.name==F.name&&w.message==F.message;case et:case ge:return w==F+"";case Xe:var Rr=jo;case je:var Yr=Be&b;if(Rr||(Rr=Rs),w.size!=F.size&&!Yr)return!1;var In=_r.get(w);if(In)return In==F;Be|=S,_r.set(w,F);var Rn=mc(Rr(w),Rr(F),Be,Et,Qt,_r);return _r.delete(w),Rn;case Se:if(ha)return ha.call(w)==ha.call(F)}return!1}function I(w,F,de,Be,Et,Qt){var _r=de&b,Rr=L(w),Yr=Rr.length,In=L(F),Rn=In.length;if(Yr!=Rn&&!_r)return!1;for(var Hn=Yr;Hn--;){var Ti=Rr[Hn];if(!(_r?Ti in F:li.call(F,Ti)))return!1}var ra=Qt.get(w),Pa=Qt.get(F);if(ra&&Pa)return ra==F&&Pa==w;var ls=!0;Qt.set(w,F),Qt.set(F,w);for(var Ia=_r;++Hn<Yr;){Ti=Rr[Hn];var xs=w[Ti],Ps=F[Ti];if(Be)var oc=_r?Be(Ps,xs,Ti,F,w,Qt):Be(xs,Ps,Ti,w,F,Qt);if(!(oc===i?xs===Ps||Et(xs,Ps,de,Be,Qt):oc)){ls=!1;break}Ia||(Ia=Ti=="constructor")}if(ls&&!Ia){var Cl=w.constructor,uc=F.constructor;Cl!=uc&&"constructor"in w&&"constructor"in F&&!(typeof Cl=="function"&&Cl instanceof Cl&&typeof uc=="function"&&uc instanceof uc)&&(ls=!1)}return Qt.delete(w),Qt.delete(F),ls}function O(w){return Nl(cu(w,i,hf),w+"")}function L(w){return ml(w,Nu,Ma)}function me(w){return ml(w,Zl,co)}var Re=Ja?function(w){return Ja.get(w)}:dd;function qr(w){for(var F=w.name+"",de=ao[F],Be=li.call(ao,F)?de.length:0;Be--;){var Et=de[Be],Qt=Et.func;if(Qt==null||Qt==w)return Et.name}return F}function Nn(w){var F=li.call(we,"placeholder")?we:w;return F.placeholder}function dn(){var w=we.iteratee||cd;return w=w===cd?Uc:w,arguments.length?w(arguments[0],arguments[1]):w}function Oi(w,F){var de=w.__data__;return al(F)?de[typeof F=="string"?"string":"hash"]:de.map}function Ya(w){for(var F=Nu(w),de=F.length;de--;){var Be=F[de],Et=w[Be];F[de]=[Be,Et,Qc(Et)]}return F}function Oa(w,F){var de=Ro(w,F);return jc(de)?de:i}function Do(w){var F=li.call(w,mn),de=w[mn];try{w[mn]=i;var Be=!0}catch(Qt){}var Et=Ls.call(w);return Be&&(F?w[mn]=de:delete w[mn]),Et}var Ma=Zi?function(w){return w==null?[]:(w=Kn(w),$a(Zi(w),function(F){return Kt.call(w,F)}))}:hd,co=Zi?function(w){for(var F=[];w;)Ra(F,Ma(w)),w=Qe(w);return F}:hd,bs=Gs;(ta&&bs(new ta(new ArrayBuffer(1)))!=ct||Ri&&bs(new Ri)!=Xe||xa&&bs(xa.resolve())!=xt||Ka&&bs(new Ka)!=je||Fa&&bs(new Fa)!=$e)&&(bs=function(w){var F=Gs(w),de=F==ot?w.constructor:i,Be=de?oa(de):"";if(Be)switch(Be){case es:return ct;case js:return Xe;case ts:return xt;case Hi:return je;case Ba:return $e}return F});function Oc(w,F,de){for(var Be=-1,Et=de.length;++Be<Et;){var Qt=de[Be],_r=Qt.size;switch(Qt.type){case"drop":w+=_r;break;case"dropRight":F-=_r;break;case"take":F=la(F,w+_r);break;case"takeRight":w=hi(w,F-_r);break}}return{start:w,end:F}}function tc(w){var F=w.match(Gr);return F?F[1].split(Qr):[]}function rc(w,F,de){F=Du(F,w);for(var Be=-1,Et=F.length,Qt=!1;++Be<Et;){var _r=Gi(F[Be]);if(!(Qt=w!=null&&de(w,_r)))break;w=w[_r]}return Qt||++Be!=Et?Qt:(Et=w==null?0:w.length,!!Et&&Qf(Et)&&$o(_r,Et)&&(Xa(w)||Lf(w)))}function vc(w){var F=w.length,de=new w.constructor(F);return F&&typeof w[0]=="string"&&li.call(w,"index")&&(de.index=w.index,de.input=w.input),de}function Mu(w){return typeof w.constructor=="function"&&!ol(w)?Ar(Qe(w)):{}}function ki(w,F,de){var Be=w.constructor;switch(F){case nt:return Pc(w);case Bt:case yt:return new Be(+w);case ct:return Vc(w,de);case Vt:case Ht:case Pe:case qe:case Yt:case Rt:case Wt:case $t:case At:return Rl(w,de);case Xe:return new Be;case Pt:case ge:return new Be(w);case et:return bl(w);case je:return new Be;case Se:return Po(w)}}function nc(w,F){var de=F.length;if(!de)return w;var Be=de-1;return F[Be]=(de>1?"& ":"")+F[Be],F=F.join(de>2?", ":" "),w.replace(Ct,`{
|
|
|
/* [wrapped with `+F+`] */
|
|
|
`)}function Fl(w){return Xa(w)||Lf(w)||!!(Mr&&w&&w[Mr])}function $o(w,F){var de=typeof w;return F=F==null?Q:F,!!F&&(de=="number"||de!="symbol"&&vt.test(w))&&w>-1&&w%1==0&&w<F}function Ks(w,F,de){if(!Xo(de))return!1;var Be=typeof F;return(Be=="number"?zl(de)&&$o(F,de.length):Be=="string"&&F in de)?Nc(de[F],w):!1}function ns(w,F){if(Xa(w))return!1;var de=typeof w;return de=="number"||de=="symbol"||de=="boolean"||w==null||sc(w)?!0:be.test(w)||!wt.test(w)||F!=null&&w in Kn(F)}function al(w){var F=typeof w;return F=="string"||F=="number"||F=="symbol"||F=="boolean"?w!=="__proto__":w===null}function sl(w){var F=qr(w),de=we[F];if(typeof de!="function"||!(F in Xr.prototype))return!1;if(w===de)return!0;var Be=Re(de);return!!Be&&w===Be[0]}function El(w){return!!Uo&&Uo in w}var wl=aa?bf:pd;function ol(w){var F=w&&w.constructor,de=typeof F=="function"&&F.prototype||Ii;return w===de}function Qc(w){return w===w&&!Xo(w)}function kc(w,F){return function(de){return de==null?!1:de[w]===F&&(F!==i||w in Kn(de))}}function Hu(w){var F=kf(w,function(Be){return de.size===a&&de.clear(),Be}),de=F.cache;return F}function qc(w,F){var de=w[1],Be=F[1],Et=de|Be,Qt=Et<(k|R|Y),_r=Be==Y&&de==D||Be==Y&&de==V&&w[7].length<=F[8]||Be==(Y|V)&&F[7].length<=F[8]&&de==D;if(!(Qt||_r))return w;Be&k&&(w[2]=F[2],Et|=de&k?0:A);var Rr=F[3];if(Rr){var Yr=w[3];w[3]=Yr?eu(Yr,Rr,F[4]):Rr,w[4]=Yr?Bs(w[3],x):F[4]}return Rr=F[5],Rr&&(Yr=w[5],w[5]=Yr?Ll(Yr,Rr,F[6]):Rr,w[6]=Yr?Bs(w[5],x):F[6]),Rr=F[7],Rr&&(w[7]=Rr),Be&Y&&(w[8]=w[8]==null?F[8]:la(w[8],F[8])),w[9]==null&&(w[9]=F[9]),w[0]=F[0],w[1]=Et,w}function Bl(w){var F=[];if(w!=null)for(var de in Kn(w))F.push(de);return F}function Jc(w){return Ls.call(w)}function cu(w,F,de){return F=hi(F===i?w.length-1:F,0),function(){for(var Be=arguments,Et=-1,Qt=hi(Be.length-F,0),_r=xr(Qt);++Et<Qt;)_r[Et]=Be[F+Et];Et=-1;for(var Rr=xr(F+1);++Et<F;)Rr[Et]=Be[Et];return Rr[F]=de(_r),Ni(w,this,Rr)}}function Fu(w,F){return F.length<2?w:qo(w,au(F,0,-1))}function Sl(w,F){for(var de=w.length,Be=la(F.length,de),Et=No(w);Be--;){var Qt=F[Be];w[Be]=$o(Qt,de)?Et[Qt]:i}return w}function ic(w,F){if(!(F==="constructor"&&typeof w[F]=="function")&&F!="__proto__")return w[F]}var wu=Gn(Ac),ac=ti||function(w,F){return Ta.setTimeout(w,F)},Nl=Gn(ff);function Cn(w,F,de){var Be=F+"";return Nl(w,nc(Be,ma(tc(Be),de)))}function Gn(w){var F=0,de=0;return function(){var Be=eo(),Et=q-(Be-de);if(de=Be,Et>0){if(++F>=ue)return arguments[0]}else F=0;return w.apply(i,arguments)}}function Fi(w,F){var de=-1,Be=w.length,Et=Be-1;for(F=F===i?Be:F;++de<F;){var Qt=vu(de,Et),_r=w[Qt];w[Qt]=w[de],w[de]=_r}return w.length=F,w}var Sa=Hu(function(w){var F=[];return w.charCodeAt(0)===46&&F.push(""),w.replace(Ke,function(de,Be,Et,Qt){F.push(Et?Qt.replace(mr,"$1"):Be||de)}),F});function Gi(w){if(typeof w=="string"||sc(w))return w;var F=w+"";return F=="0"&&1/w==-ee?"-0":F}function oa(w){if(w!=null){try{return Ds.call(w)}catch(F){}try{return w+""}catch(F){}}return""}function ma(w,F){return Na(De,function(de){var Be="_."+de[0];F&de[1]&&!cs(w,Be)&&w.push(Be)}),w.sort()}function _s(w){if(w instanceof Xr)return w.clone();var F=new br(w.__wrapped__,w.__chain__);return F.__actions__=No(w.__actions__),F.__index__=w.__index__,F.__values__=w.__values__,F}function qi(w,F,de){(de?Ks(w,F,de):F===i)?F=1:F=hi(ss(F),0);var Be=w==null?0:w.length;if(!Be||F<1)return[];for(var Et=0,Qt=0,_r=xr(xi(Be/F));Et<Be;)_r[Qt++]=au(w,Et,Et+=F);return _r}function is(w){for(var F=-1,de=w==null?0:w.length,Be=0,Et=[];++F<de;){var Qt=w[F];Qt&&(Et[Be++]=Qt)}return Et}function Wu(){var w=arguments.length;if(!w)return[];for(var F=xr(w-1),de=arguments[0],Be=w;Be--;)F[Be-1]=arguments[Be];return Ra(Xa(de)?No(de):[de],As(F,1))}var Bu=ka(function(w,F){return su(w)?Ms(w,As(F,1,su,!0)):[]}),Gu=ka(function(w,F){var de=Yo(F);return su(de)&&(de=i),su(w)?Ms(w,As(F,1,su,!0),dn(de,2)):[]}),ul=ka(function(w,F){var de=Yo(F);return su(de)&&(de=i),su(w)?Ms(w,As(F,1,su,!0),i,de):[]});function ll(w,F,de){var Be=w==null?0:w.length;return Be?(F=de||F===i?1:ss(F),au(w,F<0?0:F,Be)):[]}function Df(w,F,de){var Be=w==null?0:w.length;return Be?(F=de||F===i?1:ss(F),F=Be-F,au(w,0,F<0?0:F)):[]}function wf(w,F){return w&&w.length?Cc(w,dn(F,3),!0,!0):[]}function $l(w,F){return w&&w.length?Cc(w,dn(F,3),!0):[]}function Sf(w,F,de,Be){var Et=w==null?0:w.length;return Et?(de&&typeof de!="number"&&Ks(w,F,de)&&(de=0,Be=Et),Qu(w,F,de,Be)):[]}function gc(w,F,de){var Be=w==null?0:w.length;if(!Be)return-1;var Et=de==null?0:ss(de);return Et<0&&(Et=hi(Be+Et,0)),Zs(w,dn(F,3),Et)}function ef(w,F,de){var Be=w==null?0:w.length;if(!Be)return-1;var Et=Be-1;return de!==i&&(Et=ss(de),Et=de<0?hi(Be+Et,0):la(Et,Be-1)),Zs(w,dn(F,3),Et,!0)}function hf(w){var F=w==null?0:w.length;return F?As(w,1):[]}function cl(w){var F=w==null?0:w.length;return F?As(w,ee):[]}function Of(w,F){var de=w==null?0:w.length;return de?(F=F===i?1:ss(F),As(w,F)):[]}function Vu(w){for(var F=-1,de=w==null?0:w.length,Be={};++F<de;){var Et=w[F];Be[Et[0]]=Et[1]}return Be}function Rc(w){return w&&w.length?w[0]:i}function tf(w,F,de){var Be=w==null?0:w.length;if(!Be)return-1;var Et=de==null?0:ss(de);return Et<0&&(Et=hi(Be+Et,0)),no(w,F,Et)}function Ko(w){var F=w==null?0:w.length;return F?au(w,0,-1):[]}var rf=ka(function(w){var F=zi(w,Xl);return F.length&&F[0]===w[0]?lc(F):[]}),pf=ka(function(w){var F=Yo(w),de=zi(w,Xl);return F===Yo(de)?F=i:de.pop(),de.length&&de[0]===w[0]?lc(de,dn(F,2)):[]}),fl=ka(function(w){var F=Yo(w),de=zi(w,Xl);return F=typeof F=="function"?F:i,F&&de.pop(),de.length&&de[0]===w[0]?lc(de,i,F):[]});function jl(w,F){return w==null?"":ba.call(w,F)}function Yo(w){var F=w==null?0:w.length;return F?w[F-1]:i}function yc(w,F,de){var Be=w==null?0:w.length;if(!Be)return-1;var Et=Be;return de!==i&&(Et=ss(de),Et=Et<0?hi(Be+Et,0):la(Et,Be-1)),F===F?qt(w,F,Et):Zs(w,wo,Et,!0)}function _f(w,F){return w&&w.length?Gl(w,ss(F)):i}var Lc=ka(Mc);function Mc(w,F){return w&&w.length&&F&&F.length?iu(w,F):w}function mf(w,F,de){return w&&w.length&&F&&F.length?iu(w,F,dn(de,2)):w}function Fc(w,F,de){return w&&w.length&&F&&F.length?iu(w,F,i,de):w}var Af=O(function(w,F){var de=w==null?0:w.length,Be=Za(w,F);return kl(w,zi(F,function(Et){return $o(Et,de)?+Et:Et}).sort(ze)),Be});function Mf(w,F){var de=[];if(!(w&&w.length))return de;var Be=-1,Et=[],Qt=w.length;for(F=dn(F,3);++Be<Qt;){var _r=w[Be];F(_r,Be,w)&&(de.push(_r),Et.push(Be))}return kl(w,Et),de}function Bc(w){return w==null?w:La.call(w)}function Ff(w,F,de){var Be=w==null?0:w.length;return Be?(de&&typeof de!="number"&&Ks(w,F,de)?(F=0,de=Be):(F=F==null?0:ss(F),de=de===i?Be:ss(de)),au(w,F,de)):[]}function nf(w,F){return Vl(w,F)}function vf(w,F,de){return yl(w,F,dn(de,2))}function Hf(w,F){var de=w==null?0:w.length;if(de){var Be=Vl(w,F);if(Be<de&&Nc(w[Be],F))return Be}return-1}function Cf(w,F){return Vl(w,F,!0)}function Bf(w,F,de){return yl(w,F,dn(de,2),!0)}function Nf(w,F){var de=w==null?0:w.length;if(de){var Be=Vl(w,F,!0)-1;if(Nc(w[Be],F))return Be}return-1}function af(w){return w&&w.length?Wc(w):[]}function $f(w,F){return w&&w.length?Wc(w,dn(F,2)):[]}function Tf(w){var F=w==null?0:w.length;return F?au(w,1,F):[]}function g(w,F,de){return w&&w.length?(F=de||F===i?1:ss(F),au(w,0,F<0?0:F)):[]}function C(w,F,de){var Be=w==null?0:w.length;return Be?(F=de||F===i?1:ss(F),F=Be-F,au(w,F<0?0:F,Be)):[]}function z(w,F){return w&&w.length?Cc(w,dn(F,3),!1,!0):[]}function ve(w,F){return w&&w.length?Cc(w,dn(F,3)):[]}var Le=ka(function(w){return Iu(As(w,1,su,!0))}),ut=ka(function(w){var F=Yo(w);return su(F)&&(F=i),Iu(As(w,1,su,!0),dn(F,2))}),jt=ka(function(w){var F=Yo(w);return F=typeof F=="function"?F:i,Iu(As(w,1,su,!0),i,F)});function ir(w){return w&&w.length?Iu(w):[]}function P(w,F){return w&&w.length?Iu(w,dn(F,2)):[]}function t(w,F){return F=typeof F=="function"?F:i,w&&w.length?Iu(w,i,F):[]}function n(w){if(!(w&&w.length))return[];var F=0;return w=$a(w,function(de){if(su(de))return F=hi(de.length,F),!0}),Qs(F,function(de){return zi(w,di(de))})}function s(w,F){if(!(w&&w.length))return[];var de=n(w);return F==null?de:zi(de,function(Be){return Ni(F,i,Be)})}var m=ka(function(w,F){return su(w)?Ms(w,F):[]}),E=ka(function(w){return Yl($a(w,su))}),T=ka(function(w){var F=Yo(w);return su(F)&&(F=i),Yl($a(w,su),dn(F,2))}),U=ka(function(w){var F=Yo(w);return F=typeof F=="function"?F:i,Yl($a(w,su),i,F)}),W=ka(n);function N(w,F){return uo(w||[],F||[],fa)}function te(w,F){return uo(w||[],F||[],zu)}var ce=ka(function(w){var F=w.length,de=F>1?w[F-1]:i;return de=typeof de=="function"?(w.pop(),de):i,s(w,de)});function xe(w){var F=we(w);return F.__chain__=!0,F}function Ie(w,F){return F(w),w}function Ae(w,F){return F(w)}var at=O(function(w){var F=w.length,de=F?w[0]:0,Be=this.__wrapped__,Et=function(Qt){return Za(Qt,w)};return F>1||this.__actions__.length||!(Be instanceof Xr)||!$o(de)?this.thru(Et):(Be=Be.slice(de,+de+(F?1:0)),Be.__actions__.push({func:Ae,args:[Et],thisArg:i}),new br(Be,this.__chain__).thru(function(Qt){return F&&!Qt.length&&Qt.push(i),Qt}))});function tt(){return xe(this)}function kt(){return new br(this.value(),this.__chain__)}function fr(){this.__values__===i&&(this.__values__=yd(this.value()));var w=this.__index__>=this.__values__.length,F=w?i:this.__values__[this.__index__++];return{done:w,value:F}}function sr(){return this}function kr(w){for(var F,de=this;de instanceof Jr;){var Be=_s(de);Be.__index__=0,Be.__values__=i,F?Et.__wrapped__=Be:F=Be;var Et=Be;de=de.__wrapped__}return Et.__wrapped__=w,F}function zr(){var w=this.__wrapped__;if(w instanceof Xr){var F=w;return this.__actions__.length&&(F=new Xr(this)),F=F.reverse(),F.__actions__.push({func:Ae,args:[Bc],thisArg:i}),new br(F,this.__chain__)}return this.thru(Bc)}function ln(){return Gc(this.__wrapped__,this.__actions__)}var Wr=Io(function(w,F,de){li.call(w,de)?++w[de]:Ea(w,de,1)});function en(w,F,de){var Be=Xa(w)?Dn:Xu;return de&&Ks(w,F,de)&&(F=i),Be(w,dn(F,3))}function un(w,F){var de=Xa(w)?$a:uu;return de(w,dn(F,3))}var Kr=Kc(gc),Un=Kc(ef);function pi(w,F){return As(Aa(w,F),1)}function ua(w,F){return As(Aa(w,F),ee)}function ji(w,F,de){return de=de===i?1:ss(de),As(Aa(w,F),de)}function Ui(w,F){var de=Xa(w)?Na:go;return de(w,dn(F,3))}function fi(w,F){var de=Xa(w)?Ys:ps;return de(w,dn(F,3))}var Vi=Io(function(w,F,de){li.call(w,de)?w[de].push(F):Ea(w,de,[F])});function ea(w,F,de,Be){w=zl(w)?w:Zf(w),de=de&&!Be?ss(de):0;var Et=w.length;return de<0&&(de=hi(Et+de,0)),qf(w)?de<=Et&&w.indexOf(F,de)>-1:!!Et&&no(w,F,de)>-1}var Xn=ka(function(w,F,de){var Be=-1,Et=typeof F=="function",Qt=zl(w)?xr(w.length):[];return go(w,function(_r){Qt[++Be]=Et?Ni(F,_r,de):ai(_r,F,de)}),Qt}),ri=Io(function(w,F,de){Ea(w,de,F)});function Aa(w,F){var de=Xa(w)?zi:Fo;return de(w,dn(F,3))}function Ca(w,F,de,Be){return w==null?[]:(Xa(F)||(F=F==null?[]:[F]),de=Be?i:de,Xa(de)||(de=de==null?[]:[de]),gl(w,F,de))}var as=Io(function(w,F,de){w[de?0:1].push(F)},function(){return[[],[]]});function Cs(w,F,de){var Be=Xa(w)?Da:Ua,Et=arguments.length<3;return Be(w,dn(F,4),de,Et,go)}function zs(w,F,de){var Be=Xa(w)?ws:Ua,Et=arguments.length<3;return Be(w,dn(F,4),de,Et,ps)}function fo(w,F){var de=Xa(w)?$a:uu;return de(w,uf(dn(F,3)))}function Ku(w){var F=Xa(w)?Zn:zc;return F(w)}function dl(w,F,de){(de?Ks(w,F,de):F===i)?F=1:F=ss(F);var Be=Xa(w)?Ci:Zc;return Be(w,F)}function sf(w){var F=Xa(w)?pa:fc;return F(w)}function Kf(w){if(w==null)return 0;if(zl(w))return qf(w)?hr(w):w.length;var F=bs(w);return F==Xe||F==je?w.size:Il(w).length}function ed(w,F,de){var Be=Xa(w)?Xs:Hc;return de&&Ks(w,F,de)&&(F=i),Be(w,dn(F,3))}var td=ka(function(w,F){if(w==null)return[];var de=F.length;return de>1&&Ks(w,F[0],F[1])?F=[]:de>2&&Ks(F[0],F[1],F[2])&&(F=[F[0]]),gl(w,As(F,1),[])}),Pf=Yn||function(){return Ta.Date.now()};function Wf(w,F){if(typeof F!="function")throw new $r(o);return w=ss(w),function(){if(--w<1)return F.apply(this,arguments)}}function rd(w,F,de){return F=de?i:F,F=w&&F==null?w.length:F,Lu(w,Y,i,i,i,i,F)}function Ts(w,F){var de;if(typeof F!="function")throw new $r(o);return w=ss(w),function(){return--w>0&&(de=F.apply(this,arguments)),w<=1&&(F=i),de}}var fu=ka(function(w,F,de){var Be=k;if(de.length){var Et=Bs(de,Nn(fu));Be|=B}return Lu(w,Be,F,de,Et)}),Al=ka(function(w,F,de){var Be=k|R;if(de.length){var Et=Bs(de,Nn(Al));Be|=B}return Lu(F,Be,w,de,Et)});function of(w,F,de){F=de?i:F;var Be=Lu(w,D,i,i,i,i,i,F);return Be.placeholder=of.placeholder,Be}function Ul(w,F,de){F=de?i:F;var Be=Lu(w,M,i,i,i,i,i,F);return Be.placeholder=Ul.placeholder,Be}function gf(w,F,de){var Be,Et,Qt,_r,Rr,Yr,In=0,Rn=!1,Hn=!1,Ti=!0;if(typeof w!="function")throw new $r(o);F=bc(F)||0,Xo(de)&&(Rn=!!de.leading,Hn="maxWait"in de,Qt=Hn?hi(bc(de.maxWait)||0,F):Qt,Ti="trailing"in de?!!de.trailing:Ti);function ra(ou){var $c=Be,Ef=Et;return Be=Et=i,In=ou,_r=w.apply(Ef,$c),_r}function Pa(ou){return In=ou,Rr=ac(xs,F),Rn?ra(ou):_r}function ls(ou){var $c=ou-Yr,Ef=ou-In,kd=F-$c;return Hn?la(kd,Qt-Ef):kd}function Ia(ou){var $c=ou-Yr,Ef=ou-In;return Yr===i||$c>=F||$c<0||Hn&&Ef>=Qt}function xs(){var ou=Pf();if(Ia(ou))return Ps(ou);Rr=ac(xs,ls(ou))}function Ps(ou){return Rr=i,Ti&&Be?ra(ou):(Be=Et=i,_r)}function oc(){Rr!==i&&el(Rr),In=0,Be=Yr=Et=Rr=i}function Cl(){return Rr===i?_r:Ps(Pf())}function uc(){var ou=Pf(),$c=Ia(ou);if(Be=arguments,Et=this,Yr=ou,$c){if(Rr===i)return Pa(Yr);if(Hn)return el(Rr),Rr=ac(xs,F),ra(Yr)}return Rr===i&&(Rr=ac(xs,F)),_r}return uc.cancel=oc,uc.flush=Cl,uc}var yf=ka(function(w,F){return Mo(w,1,F)}),Yf=ka(function(w,F,de){return Mo(w,bc(F)||0,de)});function jf(w){return Lu(w,G)}function kf(w,F){if(typeof w!="function"||F!=null&&typeof F!="function")throw new $r(o);var de=function(){var Be=arguments,Et=F?F.apply(this,Be):Be[0],Qt=de.cache;if(Qt.has(Et))return Qt.get(Et);var _r=w.apply(this,Be);return de.cache=Qt.set(Et,_r)||Qt,_r};return de.cache=new(kf.Cache||_u),de}kf.Cache=_u;function uf(w){if(typeof w!="function")throw new $r(o);return function(){var F=arguments;switch(F.length){case 0:return!w.call(this);case 1:return!w.call(this,F[0]);case 2:return!w.call(this,F[0],F[1]);case 3:return!w.call(this,F[0],F[1],F[2])}return!w.apply(this,F)}}function Xf(w){return Ts(2,w)}var nd=Ou(function(w,F){F=F.length==1&&Xa(F[0])?zi(F[0],ds(dn())):zi(As(F,1),ds(dn()));var de=F.length;return ka(function(Be){for(var Et=-1,Qt=la(Be.length,de);++Et<Qt;)Be[Et]=F[Et].call(this,Be[Et]);return Ni(w,this,Be)})}),Uf=ka(function(w,F){var de=Bs(F,Nn(Uf));return Lu(w,B,i,F,de)}),Gf=ka(function(w,F){var de=Bs(F,Nn(Gf));return Lu(w,j,i,F,de)}),Rf=O(function(w,F){return Lu(w,V,i,i,i,F)});function Md(w,F){if(typeof w!="function")throw new $r(o);return F=F===i?F:ss(F),ka(w,F)}function Fd(w,F){if(typeof w!="function")throw new $r(o);return F=F==null?0:hi(ss(F),0),ka(function(de){var Be=de[F],Et=lo(de,0,F);return Be&&Ra(Et,Be),Ni(w,this,Et)})}function Bd(w,F,de){var Be=!0,Et=!0;if(typeof w!="function")throw new $r(o);return Xo(de)&&(Be="leading"in de?!!de.leading:Be,Et="trailing"in de?!!de.trailing:Et),gf(w,F,{leading:Be,maxWait:F,trailing:Et})}function Nd(w){return rd(w,1)}function $d(w,F){return Uf(Tc(F),w)}function jd(){if(!arguments.length)return[];var w=arguments[0];return Xa(w)?w:[w]}function Ud(w){return vi(w,_)}function zd(w,F){return F=typeof F=="function"?F:i,vi(w,_,F)}function Zd(w){return vi(w,p|_)}function Hd(w,F){return F=typeof F=="function"?F:i,vi(w,p|_,F)}function Wd(w,F){return F==null||Co(w,F,Nu(F))}function Nc(w,F){return w===F||w!==w&&F!==F}var Gd=Ml(To),Vd=Ml(function(w,F){return w>=F}),Lf=xc(function(){return arguments}())?xc:function(w){return tu(w)&&li.call(w,"callee")&&!Kt.call(w,"callee")},Xa=xr.isArray,Kd=os?ds(os):to;function zl(w){return w!=null&&Qf(w.length)&&!bf(w)}function su(w){return tu(w)&&zl(w)}function Yd(w){return w===!0||w===!1||tu(w)&&Gs(w)==Bt}var If=$i||pd,Xd=Ga?ds(Ga):Ec;function Qd(w){return tu(w)&&w.nodeType===1&&!Vf(w)}function qd(w){if(w==null)return!0;if(zl(w)&&(Xa(w)||typeof w=="string"||typeof w.splice=="function"||If(w)||zf(w)||Lf(w)))return!w.length;var F=bs(w);if(F==Xe||F==je)return!w.size;if(ol(w))return!Il(w).length;for(var de in w)if(li.call(w,de))return!1;return!0}function Jd(w,F){return Jo(w,F)}function e0(w,F,de){de=typeof de=="function"?de:i;var Be=de?de(w,F):i;return Be===i?Jo(w,F,i,de):!!Be}function id(w){if(!tu(w))return!1;var F=Gs(w);return F==Jt||F==Dt||typeof w.message=="string"&&typeof w.name=="string"&&!Vf(w)}function t0(w){return typeof w=="number"&&Ei(w)}function bf(w){if(!Xo(w))return!1;var F=Gs(w);return F==er||F==tr||F==Ne||F==ht}function _d(w){return typeof w=="number"&&w==ss(w)}function Qf(w){return typeof w=="number"&&w>-1&&w%1==0&&w<=Q}function Xo(w){var F=typeof w;return w!=null&&(F=="object"||F=="function")}function tu(w){return w!=null&&typeof w=="object"}var md=Is?ds(Is):qu;function r0(w,F){return w===F||zo(w,F,Ya(F))}function n0(w,F,de){return de=typeof de=="function"?de:i,zo(w,F,Ya(F),de)}function i0(w){return vd(w)&&w!=+w}function a0(w){if(wl(w))throw new Wn(f);return jc(w)}function s0(w){return w===null}function o0(w){return w==null}function vd(w){return typeof w=="number"||tu(w)&&Gs(w)==Pt}function Vf(w){if(!tu(w)||Gs(w)!=ot)return!1;var F=Qe(w);if(F===null)return!0;var de=li.call(F,"constructor")&&F.constructor;return typeof de=="function"&&de instanceof de&&Ds.call(de)==ya}var ad=Yi?ds(Yi):mo;function u0(w){return _d(w)&&w>=-Q&&w<=Q}var gd=ms?ds(ms):lf;function qf(w){return typeof w=="string"||!Xa(w)&&tu(w)&&Gs(w)==ge}function sc(w){return typeof w=="symbol"||tu(w)&&Gs(w)==Se}var zf=bo?ds(bo):cf;function l0(w){return w===i}function c0(w){return tu(w)&&bs(w)==$e}function f0(w){return tu(w)&&Gs(w)==He}var d0=Ml(Dl),h0=Ml(function(w,F){return w<=F});function yd(w){if(!w)return[];if(zl(w))return qf(w)?or(w):No(w);if(Zr&&w[Zr])return du(w[Zr]());var F=bs(w),de=F==Xe?jo:F==je?Rs:Zf;return de(w)}function xf(w){if(!w)return w===0?w:0;if(w=bc(w),w===ee||w===-ee){var F=w<0?-1:1;return F*le}return w===w?w:0}function ss(w){var F=xf(w),de=F%1;return F===F?de?F-de:F:0}function bd(w){return w?ks(ss(w),0,$):0}function bc(w){if(typeof w=="number")return w;if(sc(w))return Z;if(Xo(w)){var F=typeof w.valueOf=="function"?w.valueOf():w;w=Xo(F)?F+"":F}if(typeof w!="string")return w===0?w:+w;w=Qo(w);var de=lr.test(w);return de||mt.test(w)?Bi(w.slice(2),de?2:8):cn.test(w)?Z:+w}function xd(w){return Vs(w,Zl(w))}function p0(w){return w?ks(ss(w),-Q,Q):w===0?w:0}function ro(w){return w==null?"":Wo(w)}var _0=tl(function(w,F){if(ol(F)||zl(F)){Vs(F,Nu(F),w);return}for(var de in F)li.call(F,de)&&fa(w,de,F[de])}),Ed=tl(function(w,F){Vs(F,Zl(F),w)}),Jf=tl(function(w,F,de,Be){Vs(F,Zl(F),w,Be)}),m0=tl(function(w,F,de,Be){Vs(F,Nu(F),w,Be)}),v0=O(Za);function g0(w,F){var de=Ar(w);return F==null?de:hs(de,F)}var y0=ka(function(w,F){w=Kn(w);var de=-1,Be=F.length,Et=Be>2?F[2]:i;for(Et&&Ks(F[0],F[1],Et)&&(Be=1);++de<Be;)for(var Qt=F[de],_r=Zl(Qt),Rr=-1,Yr=_r.length;++Rr<Yr;){var In=_r[Rr],Rn=w[In];(Rn===i||Nc(Rn,Ii[In])&&!li.call(w,In))&&(w[In]=Qt[In])}return w}),b0=ka(function(w){return w.push(i,ec),Ni(wd,i,w)});function x0(w,F){return gs(w,dn(F,3),yo)}function E0(w,F){return gs(w,dn(F,3),pl)}function w0(w,F){return w==null?w:Uu(w,dn(F,3),Zl)}function S0(w,F){return w==null?w:Cu(w,dn(F,3),Zl)}function A0(w,F){return w&&yo(w,dn(F,3))}function C0(w,F){return w&&pl(w,dn(F,3))}function T0(w){return w==null?[]:_l(w,Nu(w))}function P0(w){return w==null?[]:_l(w,Zl(w))}function sd(w,F,de){var Be=w==null?i:qo(w,F);return Be===i?de:Be}function I0(w,F){return w!=null&&rc(w,F,mu)}function od(w,F){return w!=null&&rc(w,F,Wl)}var D0=nl(function(w,F,de){F!=null&&typeof F.toString!="function"&&(F=Ls.call(F)),w[F]=de},ld(Hl)),O0=nl(function(w,F,de){F!=null&&typeof F.toString!="function"&&(F=Ls.call(F)),li.call(w,F)?w[F].push(de):w[F]=[de]},dn),k0=ka(ai);function Nu(w){return zl(w)?jn(w):Il(w)}function Zl(w){return zl(w)?jn(w,!0):vl(w)}function R0(w,F){var de={};return F=dn(F,3),yo(w,function(Be,Et,Qt){Ea(de,F(Be,Et,Qt),Be)}),de}function L0(w,F){var de={};return F=dn(F,3),yo(w,function(Be,Et,Qt){Ea(de,Et,F(Be,Et,Qt))}),de}var M0=tl(function(w,F,de){Bo(w,F,de)}),wd=tl(function(w,F,de,Be){Bo(w,F,de,Be)}),F0=O(function(w,F){var de={};if(w==null)return de;var Be=!1;F=zi(F,function(Qt){return Qt=Du(Qt,w),Be||(Be=Qt.length>1),Qt}),Vs(w,me(w),de),Be&&(de=vi(de,p|y|_,_c));for(var Et=F.length;Et--;)dc(de,F[Et]);return de});function B0(w,F){return Sd(w,uf(dn(F)))}var N0=O(function(w,F){return w==null?{}:nu(w,F)});function Sd(w,F){if(w==null)return{};var de=zi(me(w),function(Be){return[Be]});return F=dn(F),wc(w,de,function(Be,Et){return F(Be,Et[0])})}function $0(w,F,de){F=Du(F,w);var Be=-1,Et=F.length;for(Et||(Et=1,w=i);++Be<Et;){var Qt=w==null?i:w[Gi(F[Be])];Qt===i&&(Be=Et,Qt=de),w=bf(Qt)?Qt.call(w):Qt}return w}function j0(w,F,de){return w==null?w:zu(w,F,de)}function U0(w,F,de,Be){return Be=typeof Be=="function"?Be:i,w==null?w:zu(w,F,de,Be)}var Ad=pc(Nu),Cd=pc(Zl);function z0(w,F,de){var Be=Xa(w),Et=Be||If(w)||zf(w);if(F=dn(F,4),de==null){var Qt=w&&w.constructor;Et?de=Be?new Qt:[]:Xo(w)?de=bf(Qt)?Ar(Qe(w)):{}:de={}}return(Et?Na:yo)(w,function(_r,Rr,Yr){return F(de,_r,Rr,Yr)}),de}function Z0(w,F){return w==null?!0:dc(w,F)}function H0(w,F,de){return w==null?w:Zu(w,F,Tc(de))}function W0(w,F,de,Be){return Be=typeof Be=="function"?Be:i,w==null?w:Zu(w,F,Tc(de),Be)}function Zf(w){return w==null?[]:Oo(w,Nu(w))}function G0(w){return w==null?[]:Oo(w,Zl(w))}function V0(w,F,de){return de===i&&(de=F,F=i),de!==i&&(de=bc(de),de=de===de?de:0),F!==i&&(F=bc(F),F=F===F?F:0),ks(bc(w),F,de)}function K0(w,F,de){return F=xf(F),de===i?(de=F,F=0):de=xf(de),w=bc(w),Tu(w,F,de)}function Y0(w,F,de){if(de&&typeof de!="boolean"&&Ks(w,F,de)&&(F=de=i),de===i&&(typeof F=="boolean"?(de=F,F=i):typeof w=="boolean"&&(de=w,w=i)),w===i&&F===i?(w=0,F=1):(w=xf(w),F===i?(F=w,w=0):F=xf(F)),w>F){var Be=w;w=F,F=Be}if(de||w%1||F%1){var Et=Qi();return la(w+Et*(F-w+si("1e-"+((Et+"").length-1))),F)}return vu(w,F)}var X0=rl(function(w,F,de){return F=F.toLowerCase(),w+(de?Td(F):F)});function Td(w){return ud(ro(w).toLowerCase())}function Pd(w){return w=ro(w),w&&w.replace(Ut,_o).replace(Or,"")}function Q0(w,F,de){w=ro(w),F=Wo(F);var Be=w.length;de=de===i?Be:ks(ss(de),0,Be);var Et=de;return de-=F.length,de>=0&&w.slice(de,Et)==F}function q0(w){return w=ro(w),w&&dt.test(w)?w.replace(Ot,Js):w}function J0(w){return w=ro(w),w&&Ft.test(w)?w.replace(gt,"\\$&"):w}var eh=rl(function(w,F,de){return w+(de?"-":"")+F.toLowerCase()}),th=rl(function(w,F,de){return w+(de?" ":"")+F.toLowerCase()}),rh=Vo("toLowerCase");function nh(w,F,de){w=ro(w),F=ss(F);var Be=F?hr(w):0;if(!F||Be>=F)return w;var Et=(F-Be)/2;return ql(Ai(Et),de)+w+ql(xi(Et),de)}function ih(w,F,de){w=ro(w),F=ss(F);var Be=F?hr(w):0;return F&&Be<F?w+ql(F-Be,de):w}function ah(w,F,de){w=ro(w),F=ss(F);var Be=F?hr(w):0;return F&&Be<F?ql(F-Be,de)+w:w}function sh(w,F,de){return de||F==null?F=0:F&&(F=+F),Ss(ro(w).replace(Fe,""),F||0)}function oh(w,F,de){return(de?Ks(w,F,de):F===i)?F=1:F=ss(F),Ju(ro(w),F)}function uh(){var w=arguments,F=ro(w[0]);return w.length<3?F:F.replace(w[1],w[2])}var lh=rl(function(w,F,de){return w+(de?"_":"")+F.toLowerCase()});function ch(w,F,de){return de&&typeof de!="number"&&Ks(w,F,de)&&(F=de=i),de=de===i?$:de>>>0,de?(w=ro(w),w&&(typeof F=="string"||F!=null&&!ad(F))&&(F=Wo(F),!F&&Lo(w))?lo(or(w),0,de):w.split(F,de)):[]}var fh=rl(function(w,F,de){return w+(de?" ":"")+ud(F)});function dh(w,F,de){return w=ro(w),de=de==null?0:ks(ss(de),0,w.length),F=Wo(F),w.slice(de,de+F.length)==F}function hh(w,F,de){var Be=we.templateSettings;de&&Ks(w,F,de)&&(F=i),w=ro(w),F=Jf({},F,Be,lu);var Et=Jf({},F.imports,Be.imports,lu),Qt=Nu(Et),_r=Oo(Et,Qt),Rr,Yr,In=0,Rn=F.interpolate||Sr,Hn="__p += '",Ti=ui((F.escape||Sr).source+"|"+Rn.source+"|"+(Rn===Oe?jr:Sr).source+"|"+(F.evaluate||Sr).source+"|$","g"),ra="//# sourceURL="+(li.call(F,"sourceURL")?(F.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++nn+"]")+`
|
|
|
`;w.replace(Ti,function(Ia,xs,Ps,oc,Cl,uc){return Ps||(Ps=oc),Hn+=w.slice(In,uc).replace(yr,$u),xs&&(Rr=!0,Hn+=`' +
|
|
|
__e(`+xs+`) +
|
|
|
'`),Cl&&(Yr=!0,Hn+=`';
|
|
|
`+Cl+`;
|
|
|
__p += '`),Ps&&(Hn+=`' +
|
|
|
((__t = (`+Ps+`)) == null ? '' : __t) +
|
|
|
'`),In=uc+Ia.length,Ia}),Hn+=`';
|
|
|
`;var Pa=li.call(F,"variable")&&F.variable;if(!Pa)Hn=`with (obj) {
|
|
|
`+Hn+`
|
|
|
}
|
|
|
`;else if(Fr.test(Pa))throw new Wn(h);Hn=(Yr?Hn.replace(Xt,""):Hn).replace(We,"$1").replace(fe,"$1;"),Hn="function("+(Pa||"obj")+`) {
|
|
|
`+(Pa?"":`obj || (obj = {});
|
|
|
`)+"var __t, __p = ''"+(Rr?", __e = _.escape":"")+(Yr?`, __j = Array.prototype.join;
|
|
|
function print() { __p += __j.call(arguments, '') }
|
|
|
`:`;
|
|
|
`)+Hn+`return __p
|
|
|
}`;var ls=Dd(function(){return ft(Qt,ra+"return "+Hn).apply(i,_r)});if(ls.source=Hn,id(ls))throw ls;return ls}function ph(w){return ro(w).toLowerCase()}function _h(w){return ro(w).toUpperCase()}function mh(w,F,de){if(w=ro(w),w&&(de||F===i))return Qo(w);if(!w||!(F=Wo(F)))return w;var Be=or(w),Et=or(F),Qt=Ho(Be,Et),_r=Su(Be,Et)+1;return lo(Be,Qt,_r).join("")}function vh(w,F,de){if(w=ro(w),w&&(de||F===i))return w.slice(0,vr(w)+1);if(!w||!(F=Wo(F)))return w;var Be=or(w),Et=Su(Be,or(F))+1;return lo(Be,0,Et).join("")}function gh(w,F,de){if(w=ro(w),w&&(de||F===i))return w.replace(Fe,"");if(!w||!(F=Wo(F)))return w;var Be=or(w),Et=Ho(Be,or(F));return lo(Be,Et).join("")}function yh(w,F){var de=ae,Be=ie;if(Xo(F)){var Et="separator"in F?F.separator:Et;de="length"in F?ss(F.length):de,Be="omission"in F?Wo(F.omission):Be}w=ro(w);var Qt=w.length;if(Lo(w)){var _r=or(w);Qt=_r.length}if(de>=Qt)return w;var Rr=de-hr(Be);if(Rr<1)return Be;var Yr=_r?lo(_r,0,Rr).join(""):w.slice(0,Rr);if(Et===i)return Yr+Be;if(_r&&(Rr+=Yr.length-Rr),ad(Et)){if(w.slice(Rr).search(Et)){var In,Rn=Yr;for(Et.global||(Et=ui(Et.source,ro(sn.exec(Et))+"g")),Et.lastIndex=0;In=Et.exec(Rn);)var Hn=In.index;Yr=Yr.slice(0,Hn===i?Rr:Hn)}}else if(w.indexOf(Wo(Et),Rr)!=Rr){var Ti=Yr.lastIndexOf(Et);Ti>-1&&(Yr=Yr.slice(0,Ti))}return Yr+Be}function bh(w){return w=ro(w),w&&Te.test(w)?w.replace(pe,wr):w}var xh=rl(function(w,F,de){return w+(de?" ":"")+F.toUpperCase()}),ud=Vo("toUpperCase");function Id(w,F,de){return w=ro(w),F=de?i:F,F===i?Hs(w)?$n(w):wa(w):w.match(F)||[]}var Dd=ka(function(w,F){try{return Ni(w,i,F)}catch(de){return id(de)?de:new Wn(de)}}),Eh=O(function(w,F){return Na(F,function(de){de=Gi(de),Ea(w,de,fu(w[de],w))}),w});function wh(w){var F=w==null?0:w.length,de=dn();return w=F?zi(w,function(Be){if(typeof Be[1]!="function")throw new $r(o);return[de(Be[0]),Be[1]]}):[],ka(function(Be){for(var Et=-1;++Et<F;){var Qt=w[Et];if(Ni(Qt[0],this,Be))return Ni(Qt[1],this,Be)}})}function Sh(w){return oo(vi(w,p))}function ld(w){return function(){return w}}function Ah(w,F){return w==null||w!==w?F:w}var Ch=Zo(),Th=Zo(!0);function Hl(w){return w}function cd(w){return Uc(typeof w=="function"?w:vi(w,p))}function Ph(w){return Ol(vi(w,p))}function Ih(w,F){return Us(w,vi(F,p))}var Dh=ka(function(w,F){return function(de){return ai(de,w,F)}}),Oh=ka(function(w,F){return function(de){return ai(w,de,F)}});function fd(w,F,de){var Be=Nu(F),Et=_l(F,Be);de==null&&!(Xo(F)&&(Et.length||!Be.length))&&(de=F,F=w,w=this,Et=_l(F,Nu(F)));var Qt=!(Xo(de)&&"chain"in de)||!!de.chain,_r=bf(w);return Na(Et,function(Rr){var Yr=F[Rr];w[Rr]=Yr,_r&&(w.prototype[Rr]=function(){var In=this.__chain__;if(Qt||In){var Rn=w(this.__wrapped__),Hn=Rn.__actions__=No(this.__actions__);return Hn.push({func:Yr,args:arguments,thisArg:w}),Rn.__chain__=In,Rn}return Yr.apply(w,Ra([this.value()],arguments))})}),w}function kh(){return Ta._===this&&(Ta._=Va),this}function dd(){}function Rh(w){return w=ss(w),ka(function(F){return Gl(F,w)})}var Lh=Ql(zi),Mh=Ql(Dn),Fh=Ql(Xs);function Od(w){return ns(w)?di(Gi(w)):Sc(w)}function Bh(w){return function(F){return w==null?i:qo(w,F)}}var Nh=Yc(),$h=Yc(!0);function hd(){return[]}function pd(){return!1}function jh(){return{}}function Uh(){return""}function zh(){return!0}function Zh(w,F){if(w=ss(w),w<1||w>Q)return[];var de=$,Be=la(w,$);F=dn(F),w-=$;for(var Et=Qs(Be,F);++de<w;)F(de);return Et}function Hh(w){return Xa(w)?zi(w,Gi):sc(w)?[w]:No(Sa(ro(w)))}function Wh(w){var F=++Ws;return ro(w)+F}var Gh=il(function(w,F){return w+F},0),Vh=Eu("ceil"),Kh=il(function(w,F){return w/F},1),Yh=Eu("floor");function Xh(w){return w&&w.length?ju(w,Hl,To):i}function Qh(w,F){return w&&w.length?ju(w,dn(F,2),To):i}function qh(w){return po(w,Hl)}function Jh(w,F){return po(w,dn(F,2))}function ep(w){return w&&w.length?ju(w,Hl,Dl):i}function tp(w,F){return w&&w.length?ju(w,dn(F,2),Dl):i}var rp=il(function(w,F){return w*F},1),np=Eu("round"),ip=il(function(w,F){return w-F},0);function ap(w){return w&&w.length?qa(w,Hl):0}function sp(w,F){return w&&w.length?qa(w,dn(F,2)):0}return we.after=Wf,we.ary=rd,we.assign=_0,we.assignIn=Ed,we.assignInWith=Jf,we.assignWith=m0,we.at=v0,we.before=Ts,we.bind=fu,we.bindAll=Eh,we.bindKey=Al,we.castArray=jd,we.chain=xe,we.chunk=qi,we.compact=is,we.concat=Wu,we.cond=wh,we.conforms=Sh,we.constant=ld,we.countBy=Wr,we.create=g0,we.curry=of,we.curryRight=Ul,we.debounce=gf,we.defaults=y0,we.defaultsDeep=b0,we.defer=yf,we.delay=Yf,we.difference=Bu,we.differenceBy=Gu,we.differenceWith=ul,we.drop=ll,we.dropRight=Df,we.dropRightWhile=wf,we.dropWhile=$l,we.fill=Sf,we.filter=un,we.flatMap=pi,we.flatMapDeep=ua,we.flatMapDepth=ji,we.flatten=hf,we.flattenDeep=cl,we.flattenDepth=Of,we.flip=jf,we.flow=Ch,we.flowRight=Th,we.fromPairs=Vu,we.functions=T0,we.functionsIn=P0,we.groupBy=Vi,we.initial=Ko,we.intersection=rf,we.intersectionBy=pf,we.intersectionWith=fl,we.invert=D0,we.invertBy=O0,we.invokeMap=Xn,we.iteratee=cd,we.keyBy=ri,we.keys=Nu,we.keysIn=Zl,we.map=Aa,we.mapKeys=R0,we.mapValues=L0,we.matches=Ph,we.matchesProperty=Ih,we.memoize=kf,we.merge=M0,we.mergeWith=wd,we.method=Dh,we.methodOf=Oh,we.mixin=fd,we.negate=uf,we.nthArg=Rh,we.omit=F0,we.omitBy=B0,we.once=Xf,we.orderBy=Ca,we.over=Lh,we.overArgs=nd,we.overEvery=Mh,we.overSome=Fh,we.partial=Uf,we.partialRight=Gf,we.partition=as,we.pick=N0,we.pickBy=Sd,we.property=Od,we.propertyOf=Bh,we.pull=Lc,we.pullAll=Mc,we.pullAllBy=mf,we.pullAllWith=Fc,we.pullAt=Af,we.range=Nh,we.rangeRight=$h,we.rearg=Rf,we.reject=fo,we.remove=Mf,we.rest=Md,we.reverse=Bc,we.sampleSize=dl,we.set=j0,we.setWith=U0,we.shuffle=sf,we.slice=Ff,we.sortBy=td,we.sortedUniq=af,we.sortedUniqBy=$f,we.split=ch,we.spread=Fd,we.tail=Tf,we.take=g,we.takeRight=C,we.takeRightWhile=z,we.takeWhile=ve,we.tap=Ie,we.throttle=Bd,we.thru=Ae,we.toArray=yd,we.toPairs=Ad,we.toPairsIn=Cd,we.toPath=Hh,we.toPlainObject=xd,we.transform=z0,we.unary=Nd,we.union=Le,we.unionBy=ut,we.unionWith=jt,we.uniq=ir,we.uniqBy=P,we.uniqWith=t,we.unset=Z0,we.unzip=n,we.unzipWith=s,we.update=H0,we.updateWith=W0,we.values=Zf,we.valuesIn=G0,we.without=m,we.words=Id,we.wrap=$d,we.xor=E,we.xorBy=T,we.xorWith=U,we.zip=W,we.zipObject=N,we.zipObjectDeep=te,we.zipWith=ce,we.entries=Ad,we.entriesIn=Cd,we.extend=Ed,we.extendWith=Jf,fd(we,we),we.add=Gh,we.attempt=Dd,we.camelCase=X0,we.capitalize=Td,we.ceil=Vh,we.clamp=V0,we.clone=Ud,we.cloneDeep=Zd,we.cloneDeepWith=Hd,we.cloneWith=zd,we.conformsTo=Wd,we.deburr=Pd,we.defaultTo=Ah,we.divide=Kh,we.endsWith=Q0,we.eq=Nc,we.escape=q0,we.escapeRegExp=J0,we.every=en,we.find=Kr,we.findIndex=gc,we.findKey=x0,we.findLast=Un,we.findLastIndex=ef,we.findLastKey=E0,we.floor=Yh,we.forEach=Ui,we.forEachRight=fi,we.forIn=w0,we.forInRight=S0,we.forOwn=A0,we.forOwnRight=C0,we.get=sd,we.gt=Gd,we.gte=Vd,we.has=I0,we.hasIn=od,we.head=Rc,we.identity=Hl,we.includes=ea,we.indexOf=tf,we.inRange=K0,we.invoke=k0,we.isArguments=Lf,we.isArray=Xa,we.isArrayBuffer=Kd,we.isArrayLike=zl,we.isArrayLikeObject=su,we.isBoolean=Yd,we.isBuffer=If,we.isDate=Xd,we.isElement=Qd,we.isEmpty=qd,we.isEqual=Jd,we.isEqualWith=e0,we.isError=id,we.isFinite=t0,we.isFunction=bf,we.isInteger=_d,we.isLength=Qf,we.isMap=md,we.isMatch=r0,we.isMatchWith=n0,we.isNaN=i0,we.isNative=a0,we.isNil=o0,we.isNull=s0,we.isNumber=vd,we.isObject=Xo,we.isObjectLike=tu,we.isPlainObject=Vf,we.isRegExp=ad,we.isSafeInteger=u0,we.isSet=gd,we.isString=qf,we.isSymbol=sc,we.isTypedArray=zf,we.isUndefined=l0,we.isWeakMap=c0,we.isWeakSet=f0,we.join=jl,we.kebabCase=eh,we.last=Yo,we.lastIndexOf=yc,we.lowerCase=th,we.lowerFirst=rh,we.lt=d0,we.lte=h0,we.max=Xh,we.maxBy=Qh,we.mean=qh,we.meanBy=Jh,we.min=ep,we.minBy=tp,we.stubArray=hd,we.stubFalse=pd,we.stubObject=jh,we.stubString=Uh,we.stubTrue=zh,we.multiply=rp,we.nth=_f,we.noConflict=kh,we.noop=dd,we.now=Pf,we.pad=nh,we.padEnd=ih,we.padStart=ah,we.parseInt=sh,we.random=Y0,we.reduce=Cs,we.reduceRight=zs,we.repeat=oh,we.replace=uh,we.result=$0,we.round=np,we.runInContext=ur,we.sample=Ku,we.size=Kf,we.snakeCase=lh,we.some=ed,we.sortedIndex=nf,we.sortedIndexBy=vf,we.sortedIndexOf=Hf,we.sortedLastIndex=Cf,we.sortedLastIndexBy=Bf,we.sortedLastIndexOf=Nf,we.startCase=fh,we.startsWith=dh,we.subtract=ip,we.sum=ap,we.sumBy=sp,we.template=hh,we.times=Zh,we.toFinite=xf,we.toInteger=ss,we.toLength=bd,we.toLower=ph,we.toNumber=bc,we.toSafeInteger=p0,we.toString=ro,we.toUpper=_h,we.trim=mh,we.trimEnd=vh,we.trimStart=gh,we.truncate=yh,we.unescape=bh,we.uniqueId=Wh,we.upperCase=xh,we.upperFirst=ud,we.each=Ui,we.eachRight=fi,we.first=Rc,fd(we,function(){var w={};return yo(we,function(F,de){li.call(we.prototype,de)||(w[de]=F)}),w}(),{chain:!1}),we.VERSION=l,Na(["bind","bindKey","curry","curryRight","partial","partialRight"],function(w){we[w].placeholder=we}),Na(["drop","take"],function(w,F){Xr.prototype[w]=function(de){de=de===i?1:hi(ss(de),0);var Be=this.__filtered__&&!F?new Xr(this):this.clone();return Be.__filtered__?Be.__takeCount__=la(de,Be.__takeCount__):Be.__views__.push({size:la(de,$),type:w+(Be.__dir__<0?"Right":"")}),Be},Xr.prototype[w+"Right"]=function(de){return this.reverse()[w](de).reverse()}}),Na(["filter","map","takeWhile"],function(w,F){var de=F+1,Be=de==J||de==oe;Xr.prototype[w]=function(Et){var Qt=this.clone();return Qt.__iteratees__.push({iteratee:dn(Et,3),type:de}),Qt.__filtered__=Qt.__filtered__||Be,Qt}}),Na(["head","last"],function(w,F){var de="take"+(F?"Right":"");Xr.prototype[w]=function(){return this[de](1).value()[0]}}),Na(["initial","tail"],function(w,F){var de="drop"+(F?"":"Right");Xr.prototype[w]=function(){return this.__filtered__?new Xr(this):this[de](1)}}),Xr.prototype.compact=function(){return this.filter(Hl)},Xr.prototype.find=function(w){return this.filter(w).head()},Xr.prototype.findLast=function(w){return this.reverse().find(w)},Xr.prototype.invokeMap=ka(function(w,F){return typeof w=="function"?new Xr(this):this.map(function(de){return ai(de,w,F)})}),Xr.prototype.reject=function(w){return this.filter(uf(dn(w)))},Xr.prototype.slice=function(w,F){w=ss(w);var de=this;return de.__filtered__&&(w>0||F<0)?new Xr(de):(w<0?de=de.takeRight(-w):w&&(de=de.drop(w)),F!==i&&(F=ss(F),de=F<0?de.dropRight(-F):de.take(F-w)),de)},Xr.prototype.takeRightWhile=function(w){return this.reverse().takeWhile(w).reverse()},Xr.prototype.toArray=function(){return this.take($)},yo(Xr.prototype,function(w,F){var de=/^(?:filter|find|map|reject)|While$/.test(F),Be=/^(?:head|last)$/.test(F),Et=we[Be?"take"+(F=="last"?"Right":""):F],Qt=Be||/^find/.test(F);Et&&(we.prototype[F]=function(){var _r=this.__wrapped__,Rr=Be?[1]:arguments,Yr=_r instanceof Xr,In=Rr[0],Rn=Yr||Xa(_r),Hn=function(xs){var Ps=Et.apply(we,Ra([xs],Rr));return Be&&Ti?Ps[0]:Ps};Rn&&de&&typeof In=="function"&&In.length!=1&&(Yr=Rn=!1);var Ti=this.__chain__,ra=!!this.__actions__.length,Pa=Qt&&!Ti,ls=Yr&&!ra;if(!Qt&&Rn){_r=ls?_r:new Xr(this);var Ia=w.apply(_r,Rr);return Ia.__actions__.push({func:Ae,args:[Hn],thisArg:i}),new br(Ia,Ti)}return Pa&&ls?w.apply(this,Rr):(Ia=this.thru(Hn),Pa?Be?Ia.value()[0]:Ia.value():Ia)})}),Na(["pop","push","shift","sort","splice","unshift"],function(w){var F=Vr[w],de=/^(?:push|sort|unshift)$/.test(w)?"tap":"thru",Be=/^(?:pop|shift)$/.test(w);we.prototype[w]=function(){var Et=arguments;if(Be&&!this.__chain__){var Qt=this.value();return F.apply(Xa(Qt)?Qt:[],Et)}return this[de](function(_r){return F.apply(Xa(_r)?_r:[],Et)})}}),yo(Xr.prototype,function(w,F){var de=we[F];if(de){var Be=de.name+"";li.call(ao,Be)||(ao[Be]=[]),ao[Be].push({name:F,func:de})}}),ao[xu(i,R).name]=[{name:"wrapper",func:i}],Xr.prototype.clone=wn,Xr.prototype.reverse=Jn,Xr.prototype.value=Mi,we.prototype.at=at,we.prototype.chain=tt,we.prototype.commit=kt,we.prototype.next=fr,we.prototype.plant=kr,we.prototype.reverse=zr,we.prototype.toJSON=we.prototype.valueOf=we.prototype.value=ln,we.prototype.first=we.prototype.head,Zr&&(we.prototype[Zr]=sr),we},Vn=Ln();Ta._=Vn,r=function(){return Vn}.call(v,e,v,d),r!==i&&(d.exports=r)}).call(this)},28440:function(d,v,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 v(){return!1}d.exports=v},20480:function(d,v,e){var r=e(95378),i=e(56730);function l(c){return r(c,i(c))}d.exports=l},32834:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";function v(St,Oe){for(var wt=0;wt<Oe.length;wt++){var be=Oe[wt];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(St,be.key,be)}}function e(St,Oe,wt){return Oe&&v(St.prototype,Oe),wt&&v(St,wt),St}function r(St,Oe){if(St){if(typeof St=="string")return i(St,Oe);var wt=Object.prototype.toString.call(St).slice(8,-1);if(wt==="Object"&&St.constructor&&(wt=St.constructor.name),wt==="Map"||wt==="Set")return Array.from(St);if(wt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(wt))return i(St,Oe)}}function i(St,Oe){(Oe==null||Oe>St.length)&&(Oe=St.length);for(var wt=0,be=new Array(Oe);wt<Oe;wt++)be[wt]=St[wt];return be}function l(St,Oe){var wt=typeof Symbol!="undefined"&&St[Symbol.iterator]||St["@@iterator"];if(wt)return(wt=wt.call(St)).next.bind(wt);if(Array.isArray(St)||(wt=r(St))||Oe&&St&&typeof St.length=="number"){wt&&(St=wt);var be=0;return function(){return be>=St.length?{done:!0}:{done:!1,value:St[be++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c={exports:{}};function f(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function o(St){c.exports.defaults=St}c.exports={defaults:f(),getDefaults:f,changeDefaults:o};var h=/[&<>"']/,u=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,x=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},y=function(Oe){return p[Oe]};function _(St,Oe){if(Oe){if(h.test(St))return St.replace(u,y)}else if(a.test(St))return St.replace(x,y);return St}var b=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function S(St){return St.replace(b,function(Oe,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 k=/(^|[^\[])\^/g;function R(St,Oe){St=St.source||St,Oe=Oe||"";var wt={replace:function(Ke,gt){return gt=gt.source||gt,gt=gt.replace(k,"$1"),St=St.replace(Ke,gt),wt},getRegex:function(){return new RegExp(St,Oe)}};return wt}var A=/[^\w:]/g,D=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function M(St,Oe,wt){if(St){var be;try{be=decodeURIComponent(S(wt)).replace(A,"").toLowerCase()}catch(Ke){return null}if(be.indexOf("javascript:")===0||be.indexOf("vbscript:")===0||be.indexOf("data:")===0)return null}Oe&&!D.test(wt)&&(wt=G(Oe,wt));try{wt=encodeURI(wt).replace(/%25/g,"%")}catch(Ke){return null}return wt}var B={},j=/^[^:]+:\/*[^/]*$/,Y=/^([^:]+:)[\s\S]*$/,V=/^([^:]+:\/*[^/]*)[\s\S]*$/;function G(St,Oe){B[" "+St]||(j.test(St)?B[" "+St]=St+"/":B[" "+St]=q(St,"/",!0)),St=B[" "+St];var wt=St.indexOf(":")===-1;return Oe.substring(0,2)==="//"?wt?Oe:St.replace(Y,"$1")+Oe:Oe.charAt(0)==="/"?wt?Oe:St.replace(V,"$1")+Oe:St+Oe}var ae={exec:function(){}};function ie(St){for(var Oe=1,wt,be;Oe<arguments.length;Oe++){wt=arguments[Oe];for(be in wt)Object.prototype.hasOwnProperty.call(wt,be)&&(St[be]=wt[be])}return St}function ue(St,Oe){var wt=St.replace(/\|/g,function(gt,Ft,Fe){for(var Dr=!1,Ct=Ft;--Ct>=0&&Fe[Ct]==="\\";)Dr=!Dr;return Dr?"|":" |"}),be=wt.split(/ \|/),Ke=0;if(be.length>Oe)be.splice(Oe);else for(;be.length<Oe;)be.push("");for(;Ke<be.length;Ke++)be[Ke]=be[Ke].trim().replace(/\\\|/g,"|");return be}function q(St,Oe,wt){var be=St.length;if(be===0)return"";for(var Ke=0;Ke<be;){var gt=St.charAt(be-Ke-1);if(gt===Oe&&!wt)Ke++;else if(gt!==Oe&&wt)Ke++;else break}return St.substr(0,be-Ke)}function J(St,Oe){if(St.indexOf(Oe[1])===-1)return-1;for(var wt=St.length,be=0,Ke=0;Ke<wt;Ke++)if(St[Ke]==="\\")Ke++;else if(St[Ke]===Oe[0])be++;else if(St[Ke]===Oe[1]&&(be--,be<0))return Ke;return-1}function K(St){St&&St.sanitize&&!St.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 oe(St,Oe){if(Oe<1)return"";for(var wt="";Oe>1;)Oe&1&&(wt+=St),Oe>>=1,St+=St;return wt+St}var ee={escape:_,unescape:S,edit:R,cleanUrl:M,resolveUrl:G,noopTest:ae,merge:ie,splitCells:ue,rtrim:q,findClosingBracket:J,checkSanitizeDeprecation:K,repeatString:oe},Q=c.exports.defaults,le=ee.rtrim,Z=ee.splitCells,$=ee.escape,se=ee.findClosingBracket;function _e(St,Oe,wt){var be=Oe.href,Ke=Oe.title?$(Oe.title):null,gt=St[1].replace(/\\([\[\]])/g,"$1");return St[0].charAt(0)!=="!"?{type:"link",raw:wt,href:be,title:Ke,text:gt}:{type:"image",raw:wt,href:be,title:Ke,text:$(gt)}}function De(St,Oe){var wt=St.match(/^(\s+)(?:```)/);if(wt===null)return Oe;var be=wt[1];return Oe.split(`
|
|
|
`).map(function(Ke){var gt=Ke.match(/^\s+/);if(gt===null)return Ke;var Ft=gt[0];return Ft.length>=be.length?Ke.slice(be.length):Ke}).join(`
|
|
|
`)}var ke=function(){function St(wt){this.options=wt||Q}var Oe=St.prototype;return Oe.space=function(be){var Ke=this.rules.block.newline.exec(be);if(Ke)return Ke[0].length>1?{type:"space",raw:Ke[0]}:{raw:`
|
|
|
`}},Oe.code=function(be){var Ke=this.rules.block.code.exec(be);if(Ke){var gt=Ke[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Ke[0],codeBlockStyle:"indented",text:this.options.pedantic?gt:le(gt,`
|
|
|
`)}}},Oe.fences=function(be){var Ke=this.rules.block.fences.exec(be);if(Ke){var gt=Ke[0],Ft=De(gt,Ke[3]||"");return{type:"code",raw:gt,lang:Ke[2]?Ke[2].trim():Ke[2],text:Ft}}},Oe.heading=function(be){var Ke=this.rules.block.heading.exec(be);if(Ke){var gt=Ke[2].trim();if(/#$/.test(gt)){var Ft=le(gt,"#");(this.options.pedantic||!Ft||/ $/.test(Ft))&&(gt=Ft.trim())}return{type:"heading",raw:Ke[0],depth:Ke[1].length,text:gt}}},Oe.nptable=function(be){var Ke=this.rules.block.nptable.exec(be);if(Ke){var gt={type:"table",header:Z(Ke[1].replace(/^ *| *\| *$/g,"")),align:Ke[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ke[3]?Ke[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:Ke[0]};if(gt.header.length===gt.align.length){var Ft=gt.align.length,Fe;for(Fe=0;Fe<Ft;Fe++)/^ *-+: *$/.test(gt.align[Fe])?gt.align[Fe]="right":/^ *:-+: *$/.test(gt.align[Fe])?gt.align[Fe]="center":/^ *:-+ *$/.test(gt.align[Fe])?gt.align[Fe]="left":gt.align[Fe]=null;for(Ft=gt.cells.length,Fe=0;Fe<Ft;Fe++)gt.cells[Fe]=Z(gt.cells[Fe],gt.header.length);return gt}}},Oe.hr=function(be){var Ke=this.rules.block.hr.exec(be);if(Ke)return{type:"hr",raw:Ke[0]}},Oe.blockquote=function(be){var Ke=this.rules.block.blockquote.exec(be);if(Ke){var gt=Ke[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Ke[0],text:gt}}},Oe.list=function(be){var Ke=this.rules.block.list.exec(be);if(Ke){var gt=Ke[0],Ft=Ke[2],Fe=Ft.length>1,Dr={type:"list",raw:gt,ordered:Fe,start:Fe?+Ft.slice(0,-1):"",loose:!1,items:[]},Ct=Ke[0].match(this.rules.block.item),Gr=!1,Qr,Cr,Fr,mr,jr,sn,cn,lr,Lt,mt=Ct.length;Fr=this.rules.block.listItemStart.exec(Ct[0]);for(var vt=0;vt<mt;vt++){if(Qr=Ct[vt],gt=Qr,this.options.pedantic||(Lt=Qr.match(new RegExp("\\n\\s*\\n {0,"+(Fr[0].length-1)+"}\\S")),Lt&&(jr=Qr.length-Lt.index+Ct.slice(vt+1).join(`
|
|
|
`).length,Dr.raw=Dr.raw.substring(0,Dr.raw.length-jr),Qr=Qr.substring(0,Lt.index),gt=Qr,mt=vt+1)),vt!==mt-1){if(mr=this.rules.block.listItemStart.exec(Ct[vt+1]),this.options.pedantic?mr[1].length>Fr[1].length:mr[1].length>=Fr[0].length||mr[1].length>3){Ct.splice(vt,2,Ct[vt]+(!this.options.pedantic&&mr[1].length<Fr[0].length&&!Ct[vt].match(/\n$/)?"":`
|
|
|
`)+Ct[vt+1]),vt--,mt--;continue}else(!this.options.pedantic||this.options.smartLists?mr[2][mr[2].length-1]!==Ft[Ft.length-1]:Fe===(mr[2].length===1))&&(jr=Ct.slice(vt+1).join(`
|
|
|
`).length,Dr.raw=Dr.raw.substring(0,Dr.raw.length-jr),vt=mt-1);Fr=mr}Cr=Qr.length,Qr=Qr.replace(/^ *([*+-]|\d+[.)]) ?/,""),~Qr.indexOf(`
|
|
|
`)&&(Cr-=Qr.length,Qr=this.options.pedantic?Qr.replace(/^ {1,4}/gm,""):Qr.replace(new RegExp("^ {1,"+Cr+"}","gm"),"")),Qr=le(Qr,`
|
|
|
`),vt!==mt-1&&(gt=gt+`
|
|
|
`),sn=Gr||/\n\n(?!\s*$)/.test(gt),vt!==mt-1&&(Gr=gt.slice(-2)===`
|
|
|
|
|
|
`,sn||(sn=Gr)),sn&&(Dr.loose=!0),this.options.gfm&&(cn=/^\[[ xX]\] /.test(Qr),lr=void 0,cn&&(lr=Qr[1]!==" ",Qr=Qr.replace(/^\[[ xX]\] +/,""))),Dr.items.push({type:"list_item",raw:gt,task:cn,checked:lr,loose:sn,text:Qr})}return Dr}},Oe.html=function(be){var Ke=this.rules.block.html.exec(be);if(Ke)return{type:this.options.sanitize?"paragraph":"html",raw:Ke[0],pre:!this.options.sanitizer&&(Ke[1]==="pre"||Ke[1]==="script"||Ke[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ke[0]):$(Ke[0]):Ke[0]}},Oe.def=function(be){var Ke=this.rules.block.def.exec(be);if(Ke){Ke[3]&&(Ke[3]=Ke[3].substring(1,Ke[3].length-1));var gt=Ke[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:gt,raw:Ke[0],href:Ke[2],title:Ke[3]}}},Oe.table=function(be){var Ke=this.rules.block.table.exec(be);if(Ke){var gt={type:"table",header:Z(Ke[1].replace(/^ *| *\| *$/g,"")),align:Ke[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ke[3]?Ke[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(gt.header.length===gt.align.length){gt.raw=Ke[0];var Ft=gt.align.length,Fe;for(Fe=0;Fe<Ft;Fe++)/^ *-+: *$/.test(gt.align[Fe])?gt.align[Fe]="right":/^ *:-+: *$/.test(gt.align[Fe])?gt.align[Fe]="center":/^ *:-+ *$/.test(gt.align[Fe])?gt.align[Fe]="left":gt.align[Fe]=null;for(Ft=gt.cells.length,Fe=0;Fe<Ft;Fe++)gt.cells[Fe]=Z(gt.cells[Fe].replace(/^ *\| *| *\| *$/g,""),gt.header.length);return gt}}},Oe.lheading=function(be){var Ke=this.rules.block.lheading.exec(be);if(Ke)return{type:"heading",raw:Ke[0],depth:Ke[2].charAt(0)==="="?1:2,text:Ke[1]}},Oe.paragraph=function(be){var Ke=this.rules.block.paragraph.exec(be);if(Ke)return{type:"paragraph",raw:Ke[0],text:Ke[1].charAt(Ke[1].length-1)===`
|
|
|
`?Ke[1].slice(0,-1):Ke[1]}},Oe.text=function(be){var Ke=this.rules.block.text.exec(be);if(Ke)return{type:"text",raw:Ke[0],text:Ke[0]}},Oe.escape=function(be){var Ke=this.rules.inline.escape.exec(be);if(Ke)return{type:"escape",raw:Ke[0],text:$(Ke[1])}},Oe.tag=function(be,Ke,gt){var Ft=this.rules.inline.tag.exec(be);if(Ft)return!Ke&&/^<a /i.test(Ft[0])?Ke=!0:Ke&&/^<\/a>/i.test(Ft[0])&&(Ke=!1),!gt&&/^<(pre|code|kbd|script)(\s|>)/i.test(Ft[0])?gt=!0:gt&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Ft[0])&&(gt=!1),{type:this.options.sanitize?"text":"html",raw:Ft[0],inLink:Ke,inRawBlock:gt,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ft[0]):$(Ft[0]):Ft[0]}},Oe.link=function(be){var Ke=this.rules.inline.link.exec(be);if(Ke){var gt=Ke[2].trim();if(!this.options.pedantic&&/^</.test(gt)){if(!/>$/.test(gt))return;var Ft=le(gt.slice(0,-1),"\\");if((gt.length-Ft.length)%2===0)return}else{var Fe=se(Ke[2],"()");if(Fe>-1){var Dr=Ke[0].indexOf("!")===0?5:4,Ct=Dr+Ke[1].length+Fe;Ke[2]=Ke[2].substring(0,Fe),Ke[0]=Ke[0].substring(0,Ct).trim(),Ke[3]=""}}var Gr=Ke[2],Qr="";if(this.options.pedantic){var Cr=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Gr);Cr&&(Gr=Cr[1],Qr=Cr[3])}else Qr=Ke[3]?Ke[3].slice(1,-1):"";return Gr=Gr.trim(),/^</.test(Gr)&&(this.options.pedantic&&!/>$/.test(gt)?Gr=Gr.slice(1):Gr=Gr.slice(1,-1)),_e(Ke,{href:Gr&&Gr.replace(this.rules.inline._escapes,"$1"),title:Qr&&Qr.replace(this.rules.inline._escapes,"$1")},Ke[0])}},Oe.reflink=function(be,Ke){var gt;if((gt=this.rules.inline.reflink.exec(be))||(gt=this.rules.inline.nolink.exec(be))){var Ft=(gt[2]||gt[1]).replace(/\s+/g," ");if(Ft=Ke[Ft.toLowerCase()],!Ft||!Ft.href){var Fe=gt[0].charAt(0);return{type:"text",raw:Fe,text:Fe}}return _e(gt,Ft,gt[0])}},Oe.emStrong=function(be,Ke,gt){gt===void 0&&(gt="");var Ft=this.rules.inline.emStrong.lDelim.exec(be);if(Ft&&!(Ft[3]&>.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var Fe=Ft[1]||Ft[2]||"";if(!Fe||Fe&&(gt===""||this.rules.inline.punctuation.exec(gt))){var Dr=Ft[0].length-1,Ct,Gr,Qr=Dr,Cr=0,Fr=Ft[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Fr.lastIndex=0,Ke=Ke.slice(-1*be.length+Dr);(Ft=Fr.exec(Ke))!=null;)if(Ct=Ft[1]||Ft[2]||Ft[3]||Ft[4]||Ft[5]||Ft[6],!!Ct){if(Gr=Ct.length,Ft[3]||Ft[4]){Qr+=Gr;continue}else if((Ft[5]||Ft[6])&&Dr%3&&!((Dr+Gr)%3)){Cr+=Gr;continue}if(Qr-=Gr,!(Qr>0))return Gr=Math.min(Gr,Gr+Qr+Cr),Math.min(Dr,Gr)%2?{type:"em",raw:be.slice(0,Dr+Ft.index+Gr+1),text:be.slice(1,Dr+Ft.index+Gr)}:{type:"strong",raw:be.slice(0,Dr+Ft.index+Gr+1),text:be.slice(2,Dr+Ft.index+Gr-1)}}}}},Oe.codespan=function(be){var Ke=this.rules.inline.code.exec(be);if(Ke){var gt=Ke[2].replace(/\n/g," "),Ft=/[^ ]/.test(gt),Fe=/^ /.test(gt)&&/ $/.test(gt);return Ft&&Fe&&(gt=gt.substring(1,gt.length-1)),gt=$(gt,!0),{type:"codespan",raw:Ke[0],text:gt}}},Oe.br=function(be){var Ke=this.rules.inline.br.exec(be);if(Ke)return{type:"br",raw:Ke[0]}},Oe.del=function(be){var Ke=this.rules.inline.del.exec(be);if(Ke)return{type:"del",raw:Ke[0],text:Ke[2]}},Oe.autolink=function(be,Ke){var gt=this.rules.inline.autolink.exec(be);if(gt){var Ft,Fe;return gt[2]==="@"?(Ft=$(this.options.mangle?Ke(gt[1]):gt[1]),Fe="mailto:"+Ft):(Ft=$(gt[1]),Fe=Ft),{type:"link",raw:gt[0],text:Ft,href:Fe,tokens:[{type:"text",raw:Ft,text:Ft}]}}},Oe.url=function(be,Ke){var gt;if(gt=this.rules.inline.url.exec(be)){var Ft,Fe;if(gt[2]==="@")Ft=$(this.options.mangle?Ke(gt[0]):gt[0]),Fe="mailto:"+Ft;else{var Dr;do Dr=gt[0],gt[0]=this.rules.inline._backpedal.exec(gt[0])[0];while(Dr!==gt[0]);Ft=$(gt[0]),gt[1]==="www."?Fe="http://"+Ft:Fe=Ft}return{type:"link",raw:gt[0],text:Ft,href:Fe,tokens:[{type:"text",raw:Ft,text:Ft}]}}},Oe.inlineText=function(be,Ke,gt){var Ft=this.rules.inline.text.exec(be);if(Ft){var Fe;return Ke?Fe=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ft[0]):$(Ft[0]):Ft[0]:Fe=$(this.options.smartypants?gt(Ft[0]):Ft[0]),{type:"text",raw:Ft[0],text:Fe}}},St}(),Ze=ee.noopTest,Ne=ee.edit,Bt=ee.merge,yt={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:Ze,table:Ze,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};yt._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,yt._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,yt.def=Ne(yt.def).replace("label",yt._label).replace("title",yt._title).getRegex(),yt.bullet=/(?:[*+-]|\d{1,9}[.)])/,yt.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,yt.item=Ne(yt.item,"gm").replace(/bull/g,yt.bullet).getRegex(),yt.listItemStart=Ne(/^( *)(bull) */).replace("bull",yt.bullet).getRegex(),yt.list=Ne(yt.list).replace(/bull/g,yt.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+yt.def.source+")").getRegex(),yt._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",yt._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,yt.html=Ne(yt.html,"i").replace("comment",yt._comment).replace("tag",yt._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),yt.paragraph=Ne(yt._paragraph).replace("hr",yt.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",yt._tag).getRegex(),yt.blockquote=Ne(yt.blockquote).replace("paragraph",yt.paragraph).getRegex(),yt.normal=Bt({},yt),yt.gfm=Bt({},yt.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*|$)"}),yt.gfm.nptable=Ne(yt.gfm.nptable).replace("hr",yt.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",yt._tag).getRegex(),yt.gfm.table=Ne(yt.gfm.table).replace("hr",yt.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",yt._tag).getRegex(),yt.pedantic=Bt({},yt.normal,{html:Ne(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",yt._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ze,paragraph:Ne(yt.normal._paragraph).replace("hr",yt.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",yt.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Dt={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ze,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_*]*?\*[^_*]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^_*]*?\_[^_*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Ze,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};Dt._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Dt.punctuation=Ne(Dt.punctuation).replace(/punctuation/g,Dt._punctuation).getRegex(),Dt.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Dt.escapedEmSt=/\\\*|\\_/g,Dt._comment=Ne(yt._comment).replace("(?:-->|$)","-->").getRegex(),Dt.emStrong.lDelim=Ne(Dt.emStrong.lDelim).replace(/punct/g,Dt._punctuation).getRegex(),Dt.emStrong.rDelimAst=Ne(Dt.emStrong.rDelimAst,"g").replace(/punct/g,Dt._punctuation).getRegex(),Dt.emStrong.rDelimUnd=Ne(Dt.emStrong.rDelimUnd,"g").replace(/punct/g,Dt._punctuation).getRegex(),Dt._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Dt._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Dt._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])?)+(?![-_])/,Dt.autolink=Ne(Dt.autolink).replace("scheme",Dt._scheme).replace("email",Dt._email).getRegex(),Dt._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Dt.tag=Ne(Dt.tag).replace("comment",Dt._comment).replace("attribute",Dt._attribute).getRegex(),Dt._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Dt._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Dt._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Dt.link=Ne(Dt.link).replace("label",Dt._label).replace("href",Dt._href).replace("title",Dt._title).getRegex(),Dt.reflink=Ne(Dt.reflink).replace("label",Dt._label).getRegex(),Dt.reflinkSearch=Ne(Dt.reflinkSearch,"g").replace("reflink",Dt.reflink).replace("nolink",Dt.nolink).getRegex(),Dt.normal=Bt({},Dt),Dt.pedantic=Bt({},Dt.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:Ne(/^!?\[(label)\]\((.*?)\)/).replace("label",Dt._label).getRegex(),reflink:Ne(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Dt._label).getRegex()}),Dt.gfm=Bt({},Dt.normal,{escape:Ne(Dt.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),Dt.gfm.url=Ne(Dt.gfm.url,"i").replace("email",Dt.gfm._extended_email).getRegex(),Dt.breaks=Bt({},Dt.gfm,{br:Ne(Dt.br).replace("{2,}","*").getRegex(),text:Ne(Dt.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Jt={block:yt,inline:Dt},er=ke,tr=c.exports.defaults,Xe=Jt.block,Pt=Jt.inline,Zt=ee.repeatString;function ot(St){return St.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 xt(St){var Oe="",wt,be,Ke=St.length;for(wt=0;wt<Ke;wt++)be=St.charCodeAt(wt),Math.random()>.5&&(be="x"+be.toString(16)),Oe+="&#"+be+";";return Oe}var ht=function(){function St(wt){this.tokens=[],this.tokens.links=Object.create(null),this.options=wt||tr,this.options.tokenizer=this.options.tokenizer||new er,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var be={block:Xe.normal,inline:Pt.normal};this.options.pedantic?(be.block=Xe.pedantic,be.inline=Pt.pedantic):this.options.gfm&&(be.block=Xe.gfm,this.options.breaks?be.inline=Pt.breaks:be.inline=Pt.gfm),this.tokenizer.rules=be}St.lex=function(be,Ke){var gt=new St(Ke);return gt.lex(be)},St.lexInline=function(be,Ke){var gt=new St(Ke);return gt.inlineTokens(be)};var Oe=St.prototype;return Oe.lex=function(be){return be=be.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(be,this.tokens,!0),this.inline(this.tokens),this.tokens},Oe.blockTokens=function(be,Ke,gt){Ke===void 0&&(Ke=[]),gt===void 0&&(gt=!0),this.options.pedantic&&(be=be.replace(/^ +$/gm,""));for(var Ft,Fe,Dr,Ct;be;){if(Ft=this.tokenizer.space(be)){be=be.substring(Ft.raw.length),Ft.type&&Ke.push(Ft);continue}if(Ft=this.tokenizer.code(be)){be=be.substring(Ft.raw.length),Ct=Ke[Ke.length-1],Ct&&Ct.type==="paragraph"?(Ct.raw+=`
|
|
|
`+Ft.raw,Ct.text+=`
|
|
|
`+Ft.text):Ke.push(Ft);continue}if(Ft=this.tokenizer.fences(be)){be=be.substring(Ft.raw.length),Ke.push(Ft);continue}if(Ft=this.tokenizer.heading(be)){be=be.substring(Ft.raw.length),Ke.push(Ft);continue}if(Ft=this.tokenizer.nptable(be)){be=be.substring(Ft.raw.length),Ke.push(Ft);continue}if(Ft=this.tokenizer.hr(be)){be=be.substring(Ft.raw.length),Ke.push(Ft);continue}if(Ft=this.tokenizer.blockquote(be)){be=be.substring(Ft.raw.length),Ft.tokens=this.blockTokens(Ft.text,[],gt),Ke.push(Ft);continue}if(Ft=this.tokenizer.list(be)){for(be=be.substring(Ft.raw.length),Dr=Ft.items.length,Fe=0;Fe<Dr;Fe++)Ft.items[Fe].tokens=this.blockTokens(Ft.items[Fe].text,[],!1);Ke.push(Ft);continue}if(Ft=this.tokenizer.html(be)){be=be.substring(Ft.raw.length),Ke.push(Ft);continue}if(gt&&(Ft=this.tokenizer.def(be))){be=be.substring(Ft.raw.length),this.tokens.links[Ft.tag]||(this.tokens.links[Ft.tag]={href:Ft.href,title:Ft.title});continue}if(Ft=this.tokenizer.table(be)){be=be.substring(Ft.raw.length),Ke.push(Ft);continue}if(Ft=this.tokenizer.lheading(be)){be=be.substring(Ft.raw.length),Ke.push(Ft);continue}if(gt&&(Ft=this.tokenizer.paragraph(be))){be=be.substring(Ft.raw.length),Ke.push(Ft);continue}if(Ft=this.tokenizer.text(be)){be=be.substring(Ft.raw.length),Ct=Ke[Ke.length-1],Ct&&Ct.type==="text"?(Ct.raw+=`
|
|
|
`+Ft.raw,Ct.text+=`
|
|
|
`+Ft.text):Ke.push(Ft);continue}if(be){var Gr="Infinite loop on byte: "+be.charCodeAt(0);if(this.options.silent){console.error(Gr);break}else throw new Error(Gr)}}return Ke},Oe.inline=function(be){var Ke,gt,Ft,Fe,Dr,Ct,Gr=be.length;for(Ke=0;Ke<Gr;Ke++)switch(Ct=be[Ke],Ct.type){case"paragraph":case"text":case"heading":{Ct.tokens=[],this.inlineTokens(Ct.text,Ct.tokens);break}case"table":{for(Ct.tokens={header:[],cells:[]},Fe=Ct.header.length,gt=0;gt<Fe;gt++)Ct.tokens.header[gt]=[],this.inlineTokens(Ct.header[gt],Ct.tokens.header[gt]);for(Fe=Ct.cells.length,gt=0;gt<Fe;gt++)for(Dr=Ct.cells[gt],Ct.tokens.cells[gt]=[],Ft=0;Ft<Dr.length;Ft++)Ct.tokens.cells[gt][Ft]=[],this.inlineTokens(Dr[Ft],Ct.tokens.cells[gt][Ft]);break}case"blockquote":{this.inline(Ct.tokens);break}case"list":{for(Fe=Ct.items.length,gt=0;gt<Fe;gt++)this.inline(Ct.items[gt].tokens);break}}return be},Oe.inlineTokens=function(be,Ke,gt,Ft){Ke===void 0&&(Ke=[]),gt===void 0&&(gt=!1),Ft===void 0&&(Ft=!1);var Fe,Dr,Ct=be,Gr,Qr,Cr;if(this.tokens.links){var Fr=Object.keys(this.tokens.links);if(Fr.length>0)for(;(Gr=this.tokenizer.rules.inline.reflinkSearch.exec(Ct))!=null;)Fr.includes(Gr[0].slice(Gr[0].lastIndexOf("[")+1,-1))&&(Ct=Ct.slice(0,Gr.index)+"["+Zt("a",Gr[0].length-2)+"]"+Ct.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Gr=this.tokenizer.rules.inline.blockSkip.exec(Ct))!=null;)Ct=Ct.slice(0,Gr.index)+"["+Zt("a",Gr[0].length-2)+"]"+Ct.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Gr=this.tokenizer.rules.inline.escapedEmSt.exec(Ct))!=null;)Ct=Ct.slice(0,Gr.index)+"++"+Ct.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;be;){if(Qr||(Cr=""),Qr=!1,Fe=this.tokenizer.escape(be)){be=be.substring(Fe.raw.length),Ke.push(Fe);continue}if(Fe=this.tokenizer.tag(be,gt,Ft)){be=be.substring(Fe.raw.length),gt=Fe.inLink,Ft=Fe.inRawBlock;var mr=Ke[Ke.length-1];mr&&Fe.type==="text"&&mr.type==="text"?(mr.raw+=Fe.raw,mr.text+=Fe.text):Ke.push(Fe);continue}if(Fe=this.tokenizer.link(be)){be=be.substring(Fe.raw.length),Fe.type==="link"&&(Fe.tokens=this.inlineTokens(Fe.text,[],!0,Ft)),Ke.push(Fe);continue}if(Fe=this.tokenizer.reflink(be,this.tokens.links)){be=be.substring(Fe.raw.length);var jr=Ke[Ke.length-1];Fe.type==="link"?(Fe.tokens=this.inlineTokens(Fe.text,[],!0,Ft),Ke.push(Fe)):jr&&Fe.type==="text"&&jr.type==="text"?(jr.raw+=Fe.raw,jr.text+=Fe.text):Ke.push(Fe);continue}if(Fe=this.tokenizer.emStrong(be,Ct,Cr)){be=be.substring(Fe.raw.length),Fe.tokens=this.inlineTokens(Fe.text,[],gt,Ft),Ke.push(Fe);continue}if(Fe=this.tokenizer.codespan(be)){be=be.substring(Fe.raw.length),Ke.push(Fe);continue}if(Fe=this.tokenizer.br(be)){be=be.substring(Fe.raw.length),Ke.push(Fe);continue}if(Fe=this.tokenizer.del(be)){be=be.substring(Fe.raw.length),Fe.tokens=this.inlineTokens(Fe.text,[],gt,Ft),Ke.push(Fe);continue}if(Fe=this.tokenizer.autolink(be,xt)){be=be.substring(Fe.raw.length),Ke.push(Fe);continue}if(!gt&&(Fe=this.tokenizer.url(be,xt))){be=be.substring(Fe.raw.length),Ke.push(Fe);continue}if(Fe=this.tokenizer.inlineText(be,Ft,ot)){be=be.substring(Fe.raw.length),Fe.raw.slice(-1)!=="_"&&(Cr=Fe.raw.slice(-1)),Qr=!0,Dr=Ke[Ke.length-1],Dr&&Dr.type==="text"?(Dr.raw+=Fe.raw,Dr.text+=Fe.text):Ke.push(Fe);continue}if(be){var sn="Infinite loop on byte: "+be.charCodeAt(0);if(this.options.silent){console.error(sn);break}else throw new Error(sn)}}return Ke},e(St,null,[{key:"rules",get:function(){return{block:Xe,inline:Pt}}}]),St}(),et=c.exports.defaults,je=ee.cleanUrl,ge=ee.escape,Se=function(){function St(wt){this.options=wt||et}var Oe=St.prototype;return Oe.code=function(be,Ke,gt){var Ft=(Ke||"").match(/\S*/)[0];if(this.options.highlight){var Fe=this.options.highlight(be,Ft);Fe!=null&&Fe!==be&&(gt=!0,be=Fe)}return be=be.replace(/\n$/,"")+`
|
|
|
`,Ft?'<pre><code class="'+this.options.langPrefix+ge(Ft,!0)+'">'+(gt?be:ge(be,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(gt?be:ge(be,!0))+`</code></pre>
|
|
|
`},Oe.blockquote=function(be){return`<blockquote>
|
|
|
`+be+`</blockquote>
|
|
|
`},Oe.html=function(be){return be},Oe.heading=function(be,Ke,gt,Ft){return this.options.headerIds?"<h"+Ke+' id="'+this.options.headerPrefix+Ft.slug(gt)+'">'+be+"</h"+Ke+`>
|
|
|
`:"<h"+Ke+">"+be+"</h"+Ke+`>
|
|
|
`},Oe.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},Oe.list=function(be,Ke,gt){var Ft=Ke?"ol":"ul",Fe=Ke&>!==1?' start="'+gt+'"':"";return"<"+Ft+Fe+`>
|
|
|
`+be+"</"+Ft+`>
|
|
|
`},Oe.listitem=function(be){return"<li>"+be+`</li>
|
|
|
`},Oe.checkbox=function(be){return"<input "+(be?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Oe.paragraph=function(be){return"<p>"+be+`</p>
|
|
|
`},Oe.table=function(be,Ke){return Ke&&(Ke="<tbody>"+Ke+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+be+`</thead>
|
|
|
`+Ke+`</table>
|
|
|
`},Oe.tablerow=function(be){return`<tr>
|
|
|
`+be+`</tr>
|
|
|
`},Oe.tablecell=function(be,Ke){var gt=Ke.header?"th":"td",Ft=Ke.align?"<"+gt+' align="'+Ke.align+'">':"<"+gt+">";return Ft+be+"</"+gt+`>
|
|
|
`},Oe.strong=function(be){return"<strong>"+be+"</strong>"},Oe.em=function(be){return"<em>"+be+"</em>"},Oe.codespan=function(be){return"<code>"+be+"</code>"},Oe.br=function(){return this.options.xhtml?"<br/>":"<br>"},Oe.del=function(be){return"<del>"+be+"</del>"},Oe.link=function(be,Ke,gt){if(be=je(this.options.sanitize,this.options.baseUrl,be),be===null)return gt;var Ft='<a href="'+ge(be)+'"';return Ke&&(Ft+=' title="'+Ke+'"'),Ft+=">"+gt+"</a>",Ft},Oe.image=function(be,Ke,gt){if(be=je(this.options.sanitize,this.options.baseUrl,be),be===null)return gt;var Ft='<img src="'+be+'" alt="'+gt+'"';return Ke&&(Ft+=' title="'+Ke+'"'),Ft+=this.options.xhtml?"/>":">",Ft},Oe.text=function(be){return be},St}(),Me=function(){function St(){}var Oe=St.prototype;return Oe.strong=function(be){return be},Oe.em=function(be){return be},Oe.codespan=function(be){return be},Oe.del=function(be){return be},Oe.html=function(be){return be},Oe.text=function(be){return be},Oe.link=function(be,Ke,gt){return""+gt},Oe.image=function(be,Ke,gt){return""+gt},Oe.br=function(){return""},St}(),$e=function(){function St(){this.seen={}}var Oe=St.prototype;return Oe.serialize=function(be){return be.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},Oe.getNextSafeSlug=function(be,Ke){var gt=be,Ft=0;if(this.seen.hasOwnProperty(gt)){Ft=this.seen[be];do Ft++,gt=be+"-"+Ft;while(this.seen.hasOwnProperty(gt))}return Ke||(this.seen[be]=Ft,this.seen[gt]=0),gt},Oe.slug=function(be,Ke){Ke===void 0&&(Ke={});var gt=this.serialize(be);return this.getNextSafeSlug(gt,Ke.dryrun)},St}(),He=Se,nt=Me,ct=$e,Vt=c.exports.defaults,Ht=ee.unescape,Pe=function(){function St(wt){this.options=wt||Vt,this.options.renderer=this.options.renderer||new He,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new nt,this.slugger=new ct}St.parse=function(be,Ke){var gt=new St(Ke);return gt.parse(be)},St.parseInline=function(be,Ke){var gt=new St(Ke);return gt.parseInline(be)};var Oe=St.prototype;return Oe.parse=function(be,Ke){Ke===void 0&&(Ke=!0);var gt="",Ft,Fe,Dr,Ct,Gr,Qr,Cr,Fr,mr,jr,sn,cn,lr,Lt,mt,vt,Ut,Sr,yr=be.length;for(Ft=0;Ft<yr;Ft++)switch(jr=be[Ft],jr.type){case"space":continue;case"hr":{gt+=this.renderer.hr();continue}case"heading":{gt+=this.renderer.heading(this.parseInline(jr.tokens),jr.depth,Ht(this.parseInline(jr.tokens,this.textRenderer)),this.slugger);continue}case"code":{gt+=this.renderer.code(jr.text,jr.lang,jr.escaped);continue}case"table":{for(Fr="",Cr="",Ct=jr.header.length,Fe=0;Fe<Ct;Fe++)Cr+=this.renderer.tablecell(this.parseInline(jr.tokens.header[Fe]),{header:!0,align:jr.align[Fe]});for(Fr+=this.renderer.tablerow(Cr),mr="",Ct=jr.cells.length,Fe=0;Fe<Ct;Fe++){for(Qr=jr.tokens.cells[Fe],Cr="",Gr=Qr.length,Dr=0;Dr<Gr;Dr++)Cr+=this.renderer.tablecell(this.parseInline(Qr[Dr]),{header:!1,align:jr.align[Dr]});mr+=this.renderer.tablerow(Cr)}gt+=this.renderer.table(Fr,mr);continue}case"blockquote":{mr=this.parse(jr.tokens),gt+=this.renderer.blockquote(mr);continue}case"list":{for(sn=jr.ordered,cn=jr.start,lr=jr.loose,Ct=jr.items.length,mr="",Fe=0;Fe<Ct;Fe++)mt=jr.items[Fe],vt=mt.checked,Ut=mt.task,Lt="",mt.task&&(Sr=this.renderer.checkbox(vt),lr?mt.tokens.length>0&&mt.tokens[0].type==="text"?(mt.tokens[0].text=Sr+" "+mt.tokens[0].text,mt.tokens[0].tokens&&mt.tokens[0].tokens.length>0&&mt.tokens[0].tokens[0].type==="text"&&(mt.tokens[0].tokens[0].text=Sr+" "+mt.tokens[0].tokens[0].text)):mt.tokens.unshift({type:"text",text:Sr}):Lt+=Sr),Lt+=this.parse(mt.tokens,lr),mr+=this.renderer.listitem(Lt,Ut,vt);gt+=this.renderer.list(mr,sn,cn);continue}case"html":{gt+=this.renderer.html(jr.text);continue}case"paragraph":{gt+=this.renderer.paragraph(this.parseInline(jr.tokens));continue}case"text":{for(mr=jr.tokens?this.parseInline(jr.tokens):jr.text;Ft+1<yr&&be[Ft+1].type==="text";)jr=be[++Ft],mr+=`
|
|
|
`+(jr.tokens?this.parseInline(jr.tokens):jr.text);gt+=Ke?this.renderer.paragraph(mr):mr;continue}default:{var it='Token with "'+jr.type+'" type was not found.';if(this.options.silent){console.error(it);return}else throw new Error(it)}}return gt},Oe.parseInline=function(be,Ke){Ke=Ke||this.renderer;var gt="",Ft,Fe,Dr=be.length;for(Ft=0;Ft<Dr;Ft++)switch(Fe=be[Ft],Fe.type){case"escape":{gt+=Ke.text(Fe.text);break}case"html":{gt+=Ke.html(Fe.text);break}case"link":{gt+=Ke.link(Fe.href,Fe.title,this.parseInline(Fe.tokens,Ke));break}case"image":{gt+=Ke.image(Fe.href,Fe.title,Fe.text);break}case"strong":{gt+=Ke.strong(this.parseInline(Fe.tokens,Ke));break}case"em":{gt+=Ke.em(this.parseInline(Fe.tokens,Ke));break}case"codespan":{gt+=Ke.codespan(Fe.text);break}case"br":{gt+=Ke.br();break}case"del":{gt+=Ke.del(this.parseInline(Fe.tokens,Ke));break}case"text":{gt+=Ke.text(Fe.text);break}default:{var Ct='Token with "'+Fe.type+'" type was not found.';if(this.options.silent){console.error(Ct);return}else throw new Error(Ct)}}return gt},St}(),qe=ht,Yt=Pe,Rt=ke,Wt=Se,$t=Me,At=$e,Xt=ee.merge,We=ee.checkSanitizeDeprecation,fe=ee.escape,pe=c.exports.getDefaults,Ot=c.exports.changeDefaults,Te=c.exports.defaults;function dt(St,Oe,wt){if(typeof St=="undefined"||St===null)throw new Error("marked(): input parameter is undefined or null");if(typeof St!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(St)+", string expected");if(typeof Oe=="function"&&(wt=Oe,Oe=null),Oe=Xt({},dt.defaults,Oe||{}),We(Oe),wt){var be=Oe.highlight,Ke;try{Ke=qe.lex(St,Oe)}catch(Dr){return wt(Dr)}var gt=function(Ct){var Gr;if(!Ct)try{Oe.walkTokens&&dt.walkTokens(Ke,Oe.walkTokens),Gr=Yt.parse(Ke,Oe)}catch(Qr){Ct=Qr}return Oe.highlight=be,Ct?wt(Ct):wt(null,Gr)};if(!be||be.length<3||(delete Oe.highlight,!Ke.length))return gt();var Ft=0;dt.walkTokens(Ke,function(Dr){Dr.type==="code"&&(Ft++,setTimeout(function(){be(Dr.text,Dr.lang,function(Ct,Gr){if(Ct)return gt(Ct);Gr!=null&&Gr!==Dr.text&&(Dr.text=Gr,Dr.escaped=!0),Ft--,Ft===0&>()})},0))}),Ft===0&>();return}try{var Fe=qe.lex(St,Oe);return Oe.walkTokens&&dt.walkTokens(Fe,Oe.walkTokens),Yt.parse(Fe,Oe)}catch(Dr){if(Dr.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Oe.silent)return"<p>An error occurred:</p><pre>"+fe(Dr.message+"",!0)+"</pre>";throw Dr}}dt.options=dt.setOptions=function(St){return Xt(dt.defaults,St),Ot(dt.defaults),dt},dt.getDefaults=pe,dt.defaults=Te,dt.use=function(St){var Oe=Xt({},St);if(St.renderer&&function(){var be=dt.defaults.renderer||new Wt,Ke=function(Fe){var Dr=be[Fe];be[Fe]=function(){for(var Ct=arguments.length,Gr=new Array(Ct),Qr=0;Qr<Ct;Qr++)Gr[Qr]=arguments[Qr];var Cr=St.renderer[Fe].apply(be,Gr);return Cr===!1&&(Cr=Dr.apply(be,Gr)),Cr}};for(var gt in St.renderer)Ke(gt);Oe.renderer=be}(),St.tokenizer&&function(){var be=dt.defaults.tokenizer||new Rt,Ke=function(Fe){var Dr=be[Fe];be[Fe]=function(){for(var Ct=arguments.length,Gr=new Array(Ct),Qr=0;Qr<Ct;Qr++)Gr[Qr]=arguments[Qr];var Cr=St.tokenizer[Fe].apply(be,Gr);return Cr===!1&&(Cr=Dr.apply(be,Gr)),Cr}};for(var gt in St.tokenizer)Ke(gt);Oe.tokenizer=be}(),St.walkTokens){var wt=dt.defaults.walkTokens;Oe.walkTokens=function(be){St.walkTokens(be),wt&&wt(be)}}dt.setOptions(Oe)},dt.walkTokens=function(St,Oe){for(var wt=l(St),be;!(be=wt()).done;){var Ke=be.value;switch(Oe(Ke),Ke.type){case"table":{for(var gt=l(Ke.tokens.header),Ft;!(Ft=gt()).done;){var Fe=Ft.value;dt.walkTokens(Fe,Oe)}for(var Dr=l(Ke.tokens.cells),Ct;!(Ct=Dr()).done;)for(var Gr=Ct.value,Qr=l(Gr),Cr;!(Cr=Qr()).done;){var Fr=Cr.value;dt.walkTokens(Fr,Oe)}break}case"list":{dt.walkTokens(Ke.items,Oe);break}default:Ke.tokens&&dt.walkTokens(Ke.tokens,Oe)}}},dt.parseInline=function(St,Oe){if(typeof St=="undefined"||St===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof St!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(St)+", string expected");Oe=Xt({},dt.defaults,Oe||{}),We(Oe);try{var wt=qe.lexInline(St,Oe);return Oe.walkTokens&&dt.walkTokens(wt,Oe.walkTokens),Yt.parseInline(wt,Oe)}catch(be){if(be.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Oe.silent)return"<p>An error occurred:</p><pre>"+fe(be.message+"",!0)+"</pre>";throw be}},dt.Parser=Yt,dt.parser=Yt.parse,dt.Renderer=Wt,dt.TextRenderer=$t,dt.Lexer=qe,dt.lexer=qe.lex,dt.Tokenizer=Rt,dt.Slugger=At,dt.parse=dt;var Gt=dt;return Gt})},11690:function(d){const v=/[&<>"']/,e=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},c=G=>l[G];function f(G,ae){if(ae){if(v.test(G))return G.replace(e,c)}else if(r.test(G))return G.replace(i,c);return G}const o=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(G){return G.replace(o,(ae,ie)=>(ie=ie.toLowerCase(),ie==="colon"?":":ie.charAt(0)==="#"?ie.charAt(1)==="x"?String.fromCharCode(parseInt(ie.substring(2),16)):String.fromCharCode(+ie.substring(1)):""))}const u=/(^|[^\[])\^/g;function a(G,ae){G=G.source||G,ae=ae||"";const ie={replace:(ue,q)=>(q=q.source||q,q=q.replace(u,"$1"),G=G.replace(ue,q),ie),getRegex:()=>new RegExp(G,ae)};return ie}const x=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(G,ae,ie){if(G){let ue;try{ue=decodeURIComponent(h(ie)).replace(x,"").toLowerCase()}catch(q){return null}if(ue.indexOf("javascript:")===0||ue.indexOf("vbscript:")===0||ue.indexOf("data:")===0)return null}ae&&!p.test(ie)&&(ie=R(ae,ie));try{ie=encodeURI(ie).replace(/%25/g,"%")}catch(ue){return null}return ie}const _={},b=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,k=/^([^:]+:\/*[^/]*)[\s\S]*$/;function R(G,ae){_[" "+G]||(b.test(G)?_[" "+G]=G+"/":_[" "+G]=B(G,"/",!0)),G=_[" "+G];const ie=G.indexOf(":")===-1;return ae.substring(0,2)==="//"?ie?ae:G.replace(S,"$1")+ae:ae.charAt(0)==="/"?ie?ae:G.replace(k,"$1")+ae:G+ae}const A={exec:function(){}};function D(G){let ae=1,ie,ue;for(;ae<arguments.length;ae++){ie=arguments[ae];for(ue in ie)Object.prototype.hasOwnProperty.call(ie,ue)&&(G[ue]=ie[ue])}return G}function M(G,ae){const ie=G.replace(/\|/g,(J,K,oe)=>{let ee=!1,Q=K;for(;--Q>=0&&oe[Q]==="\\";)ee=!ee;return ee?"|":" |"}),ue=ie.split(/ \|/);let q=0;if(ue.length>ae)ue.splice(ae);else for(;ue.length<ae;)ue.push("");for(;q<ue.length;q++)ue[q]=ue[q].trim().replace(/\\\|/g,"|");return ue}function B(G,ae,ie){const ue=G.length;if(ue===0)return"";let q=0;for(;q<ue;){const J=G.charAt(ue-q-1);if(J===ae&&!ie)q++;else if(J!==ae&&ie)q++;else break}return G.substr(0,ue-q)}function j(G,ae){if(G.indexOf(ae[1])===-1)return-1;const ie=G.length;let ue=0,q=0;for(;q<ie;q++)if(G[q]==="\\")q++;else if(G[q]===ae[0])ue++;else if(G[q]===ae[1]&&(ue--,ue<0))return q;return-1}function Y(G){G&&G.sanitize&&!G.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(G,ae){if(ae<1)return"";let ie="";for(;ae>1;)ae&1&&(ie+=G),ae>>=1,G+=G;return ie+G}d.exports={escape:f,unescape:h,edit:a,cleanUrl:y,resolveUrl:R,noopTest:A,merge:D,splitCells:M,rtrim:B,findClosingBracket:j,checkSanitizeDeprecation:Y,repeatString:V}},93735:function(d,v,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 S=f._ff,k=f._gg,R=f._hh,A=f._ii,b=0;b<u.length;b+=16){var D=x,M=p,B=y,j=_;x=S(x,p,y,_,u[b+0],7,-680876936),_=S(_,x,p,y,u[b+1],12,-389564586),y=S(y,_,x,p,u[b+2],17,606105819),p=S(p,y,_,x,u[b+3],22,-1044525330),x=S(x,p,y,_,u[b+4],7,-176418897),_=S(_,x,p,y,u[b+5],12,1200080426),y=S(y,_,x,p,u[b+6],17,-1473231341),p=S(p,y,_,x,u[b+7],22,-45705983),x=S(x,p,y,_,u[b+8],7,1770035416),_=S(_,x,p,y,u[b+9],12,-1958414417),y=S(y,_,x,p,u[b+10],17,-42063),p=S(p,y,_,x,u[b+11],22,-1990404162),x=S(x,p,y,_,u[b+12],7,1804603682),_=S(_,x,p,y,u[b+13],12,-40341101),y=S(y,_,x,p,u[b+14],17,-1502002290),p=S(p,y,_,x,u[b+15],22,1236535329),x=k(x,p,y,_,u[b+1],5,-165796510),_=k(_,x,p,y,u[b+6],9,-1069501632),y=k(y,_,x,p,u[b+11],14,643717713),p=k(p,y,_,x,u[b+0],20,-373897302),x=k(x,p,y,_,u[b+5],5,-701558691),_=k(_,x,p,y,u[b+10],9,38016083),y=k(y,_,x,p,u[b+15],14,-660478335),p=k(p,y,_,x,u[b+4],20,-405537848),x=k(x,p,y,_,u[b+9],5,568446438),_=k(_,x,p,y,u[b+14],9,-1019803690),y=k(y,_,x,p,u[b+3],14,-187363961),p=k(p,y,_,x,u[b+8],20,1163531501),x=k(x,p,y,_,u[b+13],5,-1444681467),_=k(_,x,p,y,u[b+2],9,-51403784),y=k(y,_,x,p,u[b+7],14,1735328473),p=k(p,y,_,x,u[b+12],20,-1926607734),x=R(x,p,y,_,u[b+5],4,-378558),_=R(_,x,p,y,u[b+8],11,-2022574463),y=R(y,_,x,p,u[b+11],16,1839030562),p=R(p,y,_,x,u[b+14],23,-35309556),x=R(x,p,y,_,u[b+1],4,-1530992060),_=R(_,x,p,y,u[b+4],11,1272893353),y=R(y,_,x,p,u[b+7],16,-155497632),p=R(p,y,_,x,u[b+10],23,-1094730640),x=R(x,p,y,_,u[b+13],4,681279174),_=R(_,x,p,y,u[b+0],11,-358537222),y=R(y,_,x,p,u[b+3],16,-722521979),p=R(p,y,_,x,u[b+6],23,76029189),x=R(x,p,y,_,u[b+9],4,-640364487),_=R(_,x,p,y,u[b+12],11,-421815835),y=R(y,_,x,p,u[b+15],16,530742520),p=R(p,y,_,x,u[b+2],23,-995338651),x=A(x,p,y,_,u[b+0],6,-198630844),_=A(_,x,p,y,u[b+7],10,1126891415),y=A(y,_,x,p,u[b+14],15,-1416354905),p=A(p,y,_,x,u[b+5],21,-57434055),x=A(x,p,y,_,u[b+12],6,1700485571),_=A(_,x,p,y,u[b+3],10,-1894986606),y=A(y,_,x,p,u[b+10],15,-1051523),p=A(p,y,_,x,u[b+1],21,-2054922799),x=A(x,p,y,_,u[b+8],6,1873313359),_=A(_,x,p,y,u[b+15],10,-30611744),y=A(y,_,x,p,u[b+6],15,-1560198380),p=A(p,y,_,x,u[b+13],21,1309151649),x=A(x,p,y,_,u[b+4],6,-145523070),_=A(_,x,p,y,u[b+11],10,-1120210379),y=A(y,_,x,p,u[b+2],15,718787259),p=A(p,y,_,x,u[b+9],21,-343485551),x=x+D>>>0,p=p+M>>>0,y=y+B>>>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=v;function v(e,r){if(!e)throw new Error(r||"Assertion failed")}v.equal=function(r,i,l){if(r!=i)throw new Error(l||"Assertion failed: "+r+" != "+i)}},75918:function(d,v,e){"use strict";e.d(v,{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(S){return S instanceof y?S:new y(function(k){k(S)})}return new(y||(y=Promise))(function(S,k){function R(M){try{D(_.next(M))}catch(B){k(B)}}function A(M){try{D(_.throw(M))}catch(B){k(B)}}function D(M){M.done?S(M.value):b(M.value).then(R,A)}D((_=_.apply(x,p||[])).next())})};class f extends i.JT{constructor(p,y="",_="",b=!0,S){super(),this._onDidChange=this._register(new r.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=p,this._label=y,this._cssClass=_,this._enabled=b,this._actionCallback=S}get id(){return this._id}get label(){return this._label}set label(p){this._setLabel(p)}_setLabel(p){this._label!==p&&(this._label=p,this._onDidChange.fire({label:p}))}get tooltip(){return this._tooltip||""}set tooltip(p){this._setTooltip(p)}_setTooltip(p){this._tooltip!==p&&(this._tooltip=p,this._onDidChange.fire({tooltip:p}))}get class(){return this._cssClass}set class(p){this._setClass(p)}_setClass(p){this._cssClass!==p&&(this._cssClass=p,this._onDidChange.fire({class:p}))}get enabled(){return this._enabled}set enabled(p){this._setEnabled(p)}_setEnabled(p){this._enabled!==p&&(this._enabled=p,this._onDidChange.fire({enabled:p}))}get checked(){return this._checked}set checked(p){this._setChecked(p)}_setChecked(p){this._checked!==p&&(this._checked=p,this._onDidChange.fire({checked:p}))}run(p,y){return c(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(p))})}}class 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,v,e){"use strict";e.d(v,{ok:function(){return r}});function r(i,l){if(!i)throw new Error(l?`Assertion failed (${l})`:"Assertion Failed")}},52615:function(d,v,e){"use strict";e.d(v,{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 S=x.exec(b.id);if(!S)return p(h.error);let[,k,R]=S;const A=["codicon","codicon-"+k];return R&&A.push("codicon-modifier-"+R.substr(1)),A}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,v,e){"use strict";e.d(v,{B8:function(){return p},Cp:function(){return c},F0:function(){return u},L6:function(){return x},VV:function(){return h},b1:function(){return a},dL:function(){return l},ri:function(){return f}});class r{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(_){setTimeout(()=>{throw _.stack?new Error(_.message+`
|
|
|
|
|
|
`+_.stack):_},0)}}emit(_){this.listeners.forEach(b=>{b(_)})}onUnexpectedError(_){this.unexpectedErrorHandler(_),this.emit(_)}onUnexpectedExternalError(_){this.unexpectedErrorHandler(_)}}const i=new r;function l(y){h(y)||i.onUnexpectedError(y)}function c(y){h(y)||i.onUnexpectedExternalError(y)}function f(y){if(y instanceof Error){let{name:_,message:b}=y;const S=y.stacktrace||y.stack;return{$isError:!0,name:_,message:b,stack:S}}return y}const 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,v,e){"use strict";e.d(v,{D0:function(){return p},E7:function(){return y},K3:function(){return x},Q5:function(){return a},ZD:function(){return _},ju:function(){return f}});var r=e(79881),i=e(69323),l=e(34502),c=e(95830),f;(function(b){b.None=()=>i.JT.None;function S(oe){return(ee,Q=null,le)=>{let Z=!1,$;return $=oe(se=>{if(!Z)return $?$.dispose():Z=!0,ee.call(Q,se)},null,le),Z&&$.dispose(),$}}b.once=S;function k(oe,ee){return j((Q,le=null,Z)=>oe($=>Q.call(le,ee($)),null,Z))}b.map=k;function R(oe,ee){return j((Q,le=null,Z)=>oe($=>{ee($),Q.call(le,$)},null,Z))}b.forEach=R;function A(oe,ee){return j((Q,le=null,Z)=>oe($=>ee($)&&Q.call(le,$),null,Z))}b.filter=A;function D(oe){return oe}b.signal=D;function M(...oe){return(ee,Q=null,le)=>(0,i.F8)(...oe.map(Z=>Z($=>ee.call(Q,$),null,le)))}b.any=M;function B(oe,ee,Q){let le=Q;return k(oe,Z=>(le=ee(le,Z),le))}b.reduce=B;function j(oe){let ee;const Q=new a({onFirstListenerAdd(){ee=oe(Q.fire,Q)},onLastListenerRemove(){ee.dispose()}});return Q.event}function Y(oe,ee,Q=100,le=!1,Z){let $,se,_e,De=0;const ke=new a({leakWarningThreshold:Z,onFirstListenerAdd(){$=oe(Ze=>{De++,se=ee(se,Ze),le&&!_e&&(ke.fire(se),se=void 0),clearTimeout(_e),_e=setTimeout(()=>{const Ne=se;se=void 0,_e=void 0,(!le||De>1)&&ke.fire(Ne),De=0},Q)})},onLastListenerRemove(){$.dispose()}});return ke.event}b.debounce=Y;function V(oe,ee=(Q,le)=>Q===le){let Q=!0,le;return A(oe,Z=>{const $=Q||!ee(Z,le);return Q=!1,le=Z,$})}b.latch=V;function G(oe,ee){return[b.filter(oe,ee),b.filter(oe,Q=>!ee(Q))]}b.split=G;function ae(oe,ee=!1,Q=[]){let le=Q.slice(),Z=oe(_e=>{le?le.push(_e):se.fire(_e)});const $=()=>{le&&le.forEach(_e=>se.fire(_e)),le=null},se=new a({onFirstListenerAdd(){Z||(Z=oe(_e=>se.fire(_e)))},onFirstListenerDidAdd(){le&&(ee?setTimeout($):$())},onLastListenerRemove(){Z&&Z.dispose(),Z=null}});return se.event}b.buffer=ae;class ie{constructor(ee){this.event=ee}map(ee){return new ie(k(this.event,ee))}forEach(ee){return new ie(R(this.event,ee))}filter(ee){return new ie(A(this.event,ee))}reduce(ee,Q){return new ie(B(this.event,ee,Q))}latch(){return new ie(V(this.event))}debounce(ee,Q=100,le=!1,Z){return new ie(Y(this.event,ee,Q,le,Z))}on(ee,Q,le){return this.event(ee,Q,le)}once(ee,Q,le){return S(this.event)(ee,Q,le)}}function ue(oe){return new ie(oe)}b.chain=ue;function q(oe,ee,Q=le=>le){const le=(..._e)=>se.fire(Q(..._e)),Z=()=>oe.on(ee,le),$=()=>oe.removeListener(ee,le),se=new a({onFirstListenerAdd:Z,onLastListenerRemove:$});return se.event}b.fromNodeEventEmitter=q;function J(oe,ee,Q=le=>le){const le=(..._e)=>se.fire(Q(..._e)),Z=()=>oe.addEventListener(ee,le),$=()=>oe.removeEventListener(ee,le),se=new a({onFirstListenerAdd:Z,onLastListenerRemove:$});return se.event}b.fromDOMEventEmitter=J;function K(oe){return new Promise(ee=>S(oe)(ee))}b.toPromise=K})(f||(f={}));class o{constructor(S){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${S}_${o._idPool++}`}start(S){this._stopWatch=new c.G(!0),this._listenerCount=S}stop(){if(this._stopWatch){const S=this._stopWatch.elapsed();this._elapsedOverall+=S,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${S.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}o._idPool=0;let h=-1;class u{constructor(S,k=Math.random().toString(18).slice(2,5)){this.customThreshold=S,this.name=k,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(S){let k=h;if(typeof this.customThreshold=="number"&&(k=this.customThreshold),k<=0||S<k)return;this._stacks||(this._stacks=new Map);const R=new Error().stack.split(`
|
|
|
`).slice(3).join(`
|
|
|
`),A=this._stacks.get(R)||0;if(this._stacks.set(R,A+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=k*.5;let D,M=0;for(const[B,j]of this._stacks)(!D||M<j)&&(D=B,M=j);console.warn(`[${this.name}] potential listener LEAK detected, having ${S} listeners already. MOST frequent listener (${M}):`),console.warn(D)}return()=>{const D=this._stacks.get(R)||0;this._stacks.set(R,D-1)}}}class a{constructor(S){var k;this._disposed=!1,this._options=S,this._leakageMon=h>0?new u(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((k=this._options)===null||k===void 0)&&k._profName?new o(this._options._profName):void 0}get event(){return this._event||(this._event=(S,k,R)=>{var A;this._listeners||(this._listeners=new l.S);const D=this._listeners.isEmpty();D&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const M=this._listeners.push(k?[S,k]:S);D&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,S,k);const B=(A=this._leakageMon)===null||A===void 0?void 0:A.check(this._listeners.size),j=(0,i.OF)(()=>{B&&B(),this._disposed||(M(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return R instanceof i.SL?R.add(j):Array.isArray(R)&&R.push(j),j}),this._event}fire(S){var k,R;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new l.S);for(let A of this._listeners)this._deliveryQueue.push([A,S]);for((k=this._perfMon)===null||k===void 0||k.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[A,D]=this._deliveryQueue.shift();try{typeof A=="function"?A.call(void 0,D):A[0].call(A[1],D)}catch(M){(0,r.dL)(M)}}(R=this._perfMon)===null||R===void 0||R.stop()}}dispose(){var S,k,R,A,D;this._disposed||(this._disposed=!0,(S=this._listeners)===null||S===void 0||S.clear(),(k=this._deliveryQueue)===null||k===void 0||k.clear(),(A=(R=this._options)===null||R===void 0?void 0:R.onLastListenerRemove)===null||A===void 0||A.call(R),(D=this._leakageMon)===null||D===void 0||D.dispose())}}class x extends a{constructor(S){super(S),this._isPaused=0,this._eventQueue=new l.S,this._mergeFn=S==null?void 0:S.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const S=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(S))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(S){this._listeners&&(this._isPaused!==0?this._eventQueue.push(S):super.fire(S))}}class p extends x{constructor(S){var k;super(S),this._delay=(k=S.delay)!==null&&k!==void 0?k:100}fire(S){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(S)}}class y{constructor(){this.buffers=[]}wrapEvent(S){return(k,R,A)=>S(D=>{const M=this.buffers[this.buffers.length-1];M?M.push(()=>k.call(R,D)):k.call(R,D)},void 0,A)}bufferEvents(S){const k=[];this.buffers.push(k);const R=S();return this.buffers.pop(),k.forEach(A=>A()),R}}class _{constructor(){this.listening=!1,this.inputEvent=f.None,this.inputEventListener=i.JT.None,this.emitter=new a({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(S){this.inputEvent=S,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=S(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{$:function(){return r}});var r;(function(i){function l(M){return M&&typeof M=="object"&&typeof M[Symbol.iterator]=="function"}i.is=l;const c=Object.freeze([]);function f(){return c}i.empty=f;function*o(M){yield M}i.single=o;function h(M){return M||c}i.from=h;function u(M){return!M||M[Symbol.iterator]().next().done===!0}i.isEmpty=u;function a(M){return M[Symbol.iterator]().next().value}i.first=a;function x(M,B){for(const j of M)if(B(j))return!0;return!1}i.some=x;function p(M,B){for(const j of M)if(B(j))return j}i.find=p;function*y(M,B){for(const j of M)B(j)&&(yield j)}i.filter=y;function*_(M,B){let j=0;for(const Y of M)yield B(Y,j++)}i.map=_;function*b(...M){for(const B of M)for(const j of B)yield j}i.concat=b;function*S(M){for(const B of M)for(const j of B)yield j}i.concatNested=S;function k(M,B,j){let Y=j;for(const V of M)Y=B(Y,V);return Y}i.reduce=k;function*R(M,B,j=M.length){for(B<0&&(B+=M.length),j<0?j+=M.length:j>M.length&&(j=M.length);B<j;B++)yield M[B]}i.slice=R;function A(M,B=Number.POSITIVE_INFINITY){const j=[];if(B===0)return[j,M];const Y=M[Symbol.iterator]();for(let V=0;V<B;V++){const G=Y.next();if(G.done)return[j,i.empty()];j.push(G.value)}return[j,{[Symbol.iterator](){return Y}}]}i.consume=A;function D(M,B,j=(Y,V)=>Y===V){const Y=M[Symbol.iterator](),V=B[Symbol.iterator]();for(;;){const G=Y.next(),ae=V.next();if(G.done!==ae.done)return!1;if(G.done)return!0;if(!j(G.value,ae.value))return!1}}i.equals=D})(r||(r={}))},69323:function(d,v,e){"use strict";e.d(v,{B9:function(){return _},F8:function(){return b},JT:function(){return R},Jz:function(){return D},OF:function(){return S},SL:function(){return k},Wf:function(){return y},XK:function(){return A},dk:function(){return x}});var r=e(17845),i=e(88226);const l=!1;let c=null;function f(M){c=M}if(l){const M="__is_disposable_tracked__";f(new class{trackDisposable(B){const j=new Error("Potentially leaked disposable").stack;setTimeout(()=>{B[M]||console.log(j)},3e3)}setParent(B,j){if(B&&B!==R.None)try{B[M]=!0}catch(Y){}}markAsDisposed(B){if(B&&B!==R.None)try{B[M]=!0}catch(j){}}markAsSingleton(B){}})}function o(M){return c==null||c.trackDisposable(M),M}function h(M){c==null||c.markAsDisposed(M)}function u(M,B){c==null||c.setParent(M,B)}function a(M,B){if(c)for(const j of M)c.setParent(j,B)}function x(M){return c==null||c.markAsSingleton(M),M}class p extends Error{constructor(B){super(`Encountered errors while disposing of store. Errors: [${B.join(", ")}]`),this.errors=B}}function y(M){return typeof M.dispose=="function"&&M.dispose.length===0}function _(M){if(i.$.is(M)){let B=[];for(const j of M)if(j)try{j.dispose()}catch(Y){B.push(Y)}if(B.length===1)throw B[0];if(B.length>1)throw new p(B);return Array.isArray(M)?[]:M}else if(M)return M.dispose(),M}function b(...M){const B=S(()=>_(M));return a(M,B),B}function S(M){const B=o({dispose:(0,r.I)(()=>{h(B),M()})});return B}class k{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(B){if(!B)return B;if(B===this)throw new Error("Cannot register a disposable on itself!");return u(B,this),this._isDisposed?k.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(B),B}}k.DISABLE_DISPOSED_WARNING=!1;class R{constructor(){this._store=new k,o(this),u(this._store,this)}dispose(){h(this),this._store.dispose()}_register(B){if(B===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(B)}}R.None=Object.freeze({dispose(){}});class A{constructor(){this._isDisposed=!1,o(this)}get value(){return this._isDisposed?void 0:this._value}set value(B){var j;this._isDisposed||B===this._value||((j=this._value)===null||j===void 0||j.dispose(),B&&u(B,this),this._value=B)}clear(){this.value=void 0}dispose(){var B;this._isDisposed=!0,h(this),(B=this._value)===null||B===void 0||B.dispose(),this._value=void 0}clearAndLeak(){const B=this._value;return this._value=void 0,B&&u(B,null),B}}class D{constructor(B){this.object=B}dispose(){}}},34502:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{$L:function(){return Y},ED:function(){return D},IJ:function(){return B},OS:function(){return ie},WE:function(){return G},dz:function(){return M},gn:function(){return V},li:function(){return S},r:function(){return J},tY:function(){return j},xS:function(){return ae}});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 S=typeof self=="object"?self:typeof e.g=="object"?e.g:{};let k;typeof S.vscode!="undefined"&&typeof S.vscode.process!="undefined"?k=S.vscode.process:typeof r!="undefined"&&(k=r);const R=typeof((i=k==null?void 0:k.versions)===null||i===void 0?void 0:i.electron)=="string"&&k.type==="renderer";if(typeof navigator=="object"&&!R)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 k=="object"){c=k.platform==="win32",f=k.platform==="darwin",o=k.platform==="linux",h=o&&!!k.env.SNAP&&!!k.env.SNAP_REVISION,p=l,y=l;const K=k.env.VSCODE_NLS_CONFIG;if(K)try{const oe=JSON.parse(K),ee=oe.availableLanguages["*"];p=oe.locale,y=ee||l,_=oe._translationsConfigFile}catch(oe){}u=!0}else console.error("Unable to resolve platform.");let A=0;f?A=1:c?A=3:o&&(A=2);const D=c,M=f,B=o,j=u,Y=a,V=x,G=b,ae=function(){if(S.setImmediate)return S.setImmediate.bind(S);if(typeof S.postMessage=="function"&&!S.importScripts){let ee=[];S.addEventListener("message",le=>{if(le.data&&le.data.vscodeSetImmediateId)for(let Z=0,$=ee.length;Z<$;Z++){const se=ee[Z];if(se.id===le.data.vscodeSetImmediateId){ee.splice(Z,1),se.callback();return}}});let Q=0;return le=>{const Z=++Q;ee.push({id:Z,callback:le}),S.postMessage({vscodeSetImmediateId:Z},"*")}}if(typeof(k==null?void 0:k.nextTick)=="function")return k.nextTick.bind(k);const oe=Promise.resolve();return ee=>oe.then(ee)}(),ie=f||x?2:c?1:3;let ue=!0,q=!1;function J(){if(!q){q=!0;const K=new Uint8Array(2);K[0]=1,K[1]=2,ue=new Uint16Array(K.buffer)[0]===513}return ue}},95830:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{$i:function(){return De},C8:function(){return yt},GF:function(){return p},HO:function(){return Q},IO:function(){return y},K7:function(){return Bt},Kw:function(){return er},LC:function(){return S},Mh:function(){return ae},P1:function(){return ie},PJ:function(){return tr},Qe:function(){return ke},R1:function(){return x},RP:function(){return se},S6:function(){return Xe},TT:function(){return D},Ut:function(){return Z},V8:function(){return k},WU:function(){return l},YK:function(){return q},YU:function(){return c},ZG:function(){return ue},ZH:function(){return K},ab:function(){return Ze},c1:function(){return Dt},df:function(){return Y},ec:function(){return f},fi:function(){return Pt},fy:function(){return o},j3:function(){return h},j_:function(){return B},m5:function(){return r},mK:function(){return j},mr:function(){return _},oH:function(){return xt},oL:function(){return u},ok:function(){return G},ow:function(){return R},qq:function(){return V},qu:function(){return A},rL:function(){return J},uS:function(){return Jt},un:function(){return a},uq:function(){return b},vH:function(){return ee},xe:function(){return Ne},zY:function(){return M}});function r(ge){return!ge||typeof ge!="string"?!0:ge.trim().length===0}const i=/{(\d+)}/g;function l(ge,...Se){return Se.length===0?ge:ge.replace(i,function(Me,$e){const He=parseInt($e,10);return isNaN(He)||He<0||He>=Se.length?Me:Se[He]})}function c(ge){return ge.replace(/[<>&]/g,function(Se){switch(Se){case"<":return"<";case">":return">";case"&":return"&";default:return Se}})}function f(ge){return ge.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function o(ge,Se=" "){const Me=h(ge,Se);return u(Me,Se)}function h(ge,Se){if(!ge||!Se)return ge;const Me=Se.length;if(Me===0||ge.length===0)return ge;let $e=0;for(;ge.indexOf(Se,$e)===$e;)$e=$e+Me;return ge.substring($e)}function u(ge,Se){if(!ge||!Se)return ge;const Me=Se.length,$e=ge.length;if(Me===0||$e===0)return ge;let He=$e,nt=-1;for(;nt=ge.lastIndexOf(Se,He-1),!(nt===-1||nt+Me!==He);){if(nt===0)return"";He=nt}return ge.substring(0,He)}function a(ge){return ge.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function x(ge){return ge.replace(/\*/g,"")}function p(ge,Se,Me={}){if(!ge)throw new Error("Cannot create regex from empty string");Se||(ge=f(ge)),Me.wholeWord&&(/\B/.test(ge.charAt(0))||(ge="\\b"+ge),/\B/.test(ge.charAt(ge.length-1))||(ge=ge+"\\b"));let $e="";return Me.global&&($e+="g"),Me.matchCase||($e+="i"),Me.multiline&&($e+="m"),Me.unicode&&($e+="u"),new RegExp(ge,$e)}function y(ge){return ge.source==="^"||ge.source==="^$"||ge.source==="$"||ge.source==="^\\s*$"?!1:!!(ge.exec("")&&ge.lastIndex===0)}function _(ge){return(ge.global?"g":"")+(ge.ignoreCase?"i":"")+(ge.multiline?"m":"")+(ge.unicode?"u":"")}function b(ge){return ge.split(/\r\n|\r|\n/)}function S(ge){for(let Se=0,Me=ge.length;Se<Me;Se++){const $e=ge.charCodeAt(Se);if($e!==32&&$e!==9)return Se}return-1}function k(ge,Se=0,Me=ge.length){for(let $e=Se;$e<Me;$e++){const He=ge.charCodeAt($e);if(He!==32&&He!==9)return ge.substring(Se,$e)}return ge.substring(Se,Me)}function R(ge,Se=ge.length-1){for(let Me=Se;Me>=0;Me--){const $e=ge.charCodeAt(Me);if($e!==32&&$e!==9)return Me}return-1}function A(ge,Se){return ge<Se?-1:ge>Se?1:0}function D(ge,Se,Me=0,$e=ge.length,He=0,nt=Se.length){for(;Me<$e&&He<nt;Me++,He++){let Ht=ge.charCodeAt(Me),Pe=Se.charCodeAt(He);if(Ht<Pe)return-1;if(Ht>Pe)return 1}const ct=$e-Me,Vt=nt-He;return ct<Vt?-1:ct>Vt?1:0}function M(ge,Se){return B(ge,Se,0,ge.length,0,Se.length)}function B(ge,Se,Me=0,$e=ge.length,He=0,nt=Se.length){for(;Me<$e&&He<nt;Me++,He++){let Ht=ge.charCodeAt(Me),Pe=Se.charCodeAt(He);if(Ht===Pe)continue;if(Ht>=128||Pe>=128)return D(ge.toLowerCase(),Se.toLowerCase(),Me,$e,He,nt);j(Ht)&&(Ht-=32),j(Pe)&&(Pe-=32);const qe=Ht-Pe;if(qe!==0)return qe}const ct=$e-Me,Vt=nt-He;return ct<Vt?-1:ct>Vt?1:0}function j(ge){return ge>=97&&ge<=122}function Y(ge){return ge>=65&&ge<=90}function V(ge,Se){return ge.length===Se.length&&B(ge,Se)===0}function G(ge,Se){const Me=Se.length;return Se.length>ge.length?!1:B(ge,Se,0,Me)===0}function ae(ge,Se){let Me,$e=Math.min(ge.length,Se.length);for(Me=0;Me<$e;Me++)if(ge.charCodeAt(Me)!==Se.charCodeAt(Me))return Me;return $e}function ie(ge,Se){let Me,$e=Math.min(ge.length,Se.length);const He=ge.length-1,nt=Se.length-1;for(Me=0;Me<$e;Me++)if(ge.charCodeAt(He-Me)!==Se.charCodeAt(nt-Me))return Me;return $e}function ue(ge){return 55296<=ge&&ge<=56319}function q(ge){return 56320<=ge&&ge<=57343}function J(ge,Se){return(ge-55296<<10)+(Se-56320)+65536}function K(ge,Se,Me){const $e=ge.charCodeAt(Me);if(ue($e)&&Me+1<Se){const He=ge.charCodeAt(Me+1);if(q(He))return J($e,He)}return $e}function oe(ge,Se){const Me=ge.charCodeAt(Se-1);if(q(Me)&&Se>1){const $e=ge.charCodeAt(Se-2);if(ue($e))return J($e,Me)}return Me}function ee(ge,Se){const Me=Zt.getInstance(),$e=Se,He=ge.length,nt=K(ge,He,Se);Se+=nt>=65536?2:1;let ct=Me.getGraphemeBreakType(nt);for(;Se<He;){const Vt=K(ge,He,Se),Ht=Me.getGraphemeBreakType(Vt);if(Pt(ct,Ht))break;Se+=Vt>=65536?2:1,ct=Ht}return Se-$e}function Q(ge,Se){const Me=Zt.getInstance(),$e=Se,He=oe(ge,Se);Se-=He>=65536?2:1;let nt=Me.getGraphemeBreakType(He);for(;Se>0;){const ct=oe(ge,Se),Vt=Me.getGraphemeBreakType(ct);if(Pt(Vt,nt))break;Se-=ct>=65536?2:1,nt=Vt}return $e-Se}const le=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function Z(ge){return le.test(ge)}const $=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function se(ge){return $.test(ge)}const _e=/^[\t\n\r\x20-\x7E]*$/;function De(ge){return _e.test(ge)}const ke=/[\u2028\u2029]/;function Ze(ge){return ke.test(ge)}function Ne(ge){for(let Se=0,Me=ge.length;Se<Me;Se++)if(Bt(ge.charCodeAt(Se)))return!0;return!1}function Bt(ge){return ge=+ge,ge>=11904&&ge<=55215||ge>=63744&&ge<=64255||ge>=65281&&ge<=65374}function yt(ge){return ge>=127462&&ge<=127487||ge===8986||ge===8987||ge===9200||ge===9203||ge>=9728&&ge<=10175||ge===11088||ge===11093||ge>=127744&&ge<=128591||ge>=128640&&ge<=128764||ge>=128992&&ge<=129003||ge>=129280&&ge<=129535||ge>=129648&&ge<=129750}const Dt="\uFEFF";function Jt(ge){return!!(ge&&ge.length>0&&ge.charCodeAt(0)===65279)}function er(ge,Se=!1){return ge?(Se&&(ge=ge.replace(/\\./g,"")),ge.toLowerCase()!==ge):!1}function tr(ge){return ge=ge%52,ge<26?String.fromCharCode(97+ge):String.fromCharCode(65+ge-26)}function Xe(ge){return Zt.getInstance().getGraphemeBreakType(ge)}function Pt(ge,Se){return ge===0?Se!==5&&Se!==7:ge===2&&Se===3?!1:ge===4||ge===2||ge===3||Se===4||Se===2||Se===3?!0:!(ge===8&&(Se===8||Se===9||Se===11||Se===12)||(ge===11||ge===9)&&(Se===9||Se===10)||(ge===12||ge===10)&&Se===10||Se===5||Se===13||Se===7||ge===1||ge===13&&Se===14||ge===6&&Se===6)}class Zt{constructor(){this._data=ot()}static getInstance(){return Zt._INSTANCE||(Zt._INSTANCE=new Zt),Zt._INSTANCE}getGraphemeBreakType(Se){if(Se<32)return Se===10?3:Se===13?2:4;if(Se<127)return 0;const Me=this._data,$e=Me.length/3;let He=1;for(;He<=$e;)if(Se<Me[3*He])He=2*He;else if(Se>Me[3*He+1])He=2*He+1;else return Me[3*He+2];return 0}}Zt._INSTANCE=null;function ot(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function xt(ge,Se){if(ge===0)return 0;const Me=ht(ge,Se);if(Me!==void 0)return Me;const $e=oe(Se,ge);return ge-=et($e),ge}function ht(ge,Se){let Me=oe(Se,ge);for(ge-=et(Me);je(Me)||Me===65039||Me===8419;){if(ge===0)return;Me=oe(Se,ge),ge-=et(Me)}if(yt(Me)){if(ge>=0){const $e=oe(Se,ge);$e===8205&&(ge-=et($e))}return ge}}function et(ge){return ge>=65536?2:1}function je(ge){return 127995<=ge&&ge<=127999}},72999:function(d,v,e){"use strict";e.d(v,{$E:function(){return S},$K:function(){return h},D8:function(){return y},HD:function(){return i},IU:function(){return k},Jp:function(){return u},Kn:function(){return l},cW:function(){return x},f6:function(){return R},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 A}});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,M){if(!D)throw new Error(M?`Unexpected type, expected '${M}'`:"Unexpected type")}function x(D){if(u(D))throw new Error("Assertion Failed: argument is undefined or null");return D}function p(D){return typeof D=="function"}function y(D,M){const B=Math.min(D.length,M.length);for(let j=0;j<B;j++)_(D[j],M[j])}function _(D,M){if(i(M)){if(typeof D!==M)throw new Error(`argument does not match constraint: typeof ${M}`)}else if(p(M)){try{if(D instanceof M)return}catch(B){}if(!u(D)&&D.constructor===M||M.length===1&&M.call(void 0,D)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function b(D){let M=[],B=Object.getPrototypeOf(D);for(;Object.prototype!==B;)M=M.concat(Object.getOwnPropertyNames(B)),B=Object.getPrototypeOf(B);return M}function S(D){const M=[];for(const B of b(D))typeof D[B]=="function"&&M.push(B);return M}function k(D,M){const B=Y=>function(){const V=Array.prototype.slice.call(arguments,0);return M(Y,V)};let j={};for(const Y of D)j[Y]=B(Y);return j}function R(D){return D===null?void 0:D}function A(D,M="Unreachable"){throw new Error(M)}},13268:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{BH:function(){return k},NZ:function(){return R},U8:function(){return A},co:function(){return S},eH:function(){return b},vr:function(){return _}});var r=e(75918),i=e(52615),l=e(4348),c=e(88226),f=e(69323),o=e(34502),h=e(35884),u=e(90689),a=e(16925),x=e(49055),p=function(D,M,B,j){var Y=arguments.length,V=Y<3?M:j===null?j=Object.getOwnPropertyDescriptor(M,B):j,G;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")V=Reflect.decorate(D,M,B,j);else for(var ae=D.length-1;ae>=0;ae--)(G=D[ae])&&(V=(Y<3?G(V):Y>3?G(M,B,V):G(M,B))||V);return Y>3&&V&&Object.defineProperty(M,B,V),V},y=function(D,M){return function(B,j){M(B,j,D)}};function _(D){return D.command!==void 0}class b{constructor(M){this.id=b._idPool++,this._debugName=M}}b._idPool=0,b.CommandPalette=new b("CommandPalette"),b.EditorContext=new b("EditorContext"),b.SimpleEditorContext=new b("SimpleEditorContext"),b.EditorContextCopy=new b("EditorContextCopy"),b.EditorContextPeek=new b("EditorContextPeek"),b.MenubarEditMenu=new b("MenubarEditMenu"),b.MenubarCopy=new b("MenubarCopy"),b.MenubarGoMenu=new b("MenubarGoMenu"),b.MenubarSelectionMenu=new b("MenubarSelectionMenu"),b.InlineCompletionsActions=new b("InlineCompletionsActions");const S=(0,a.yh)("menuService"),k=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new l.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:D=>D===b.CommandPalette}}addCommand(D){return this.addCommands(c.$.single(D))}addCommands(D){for(const M of D)this._commands.set(M.id,M);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,f.OF)(()=>{let M=!1;for(const B of D)M=this._commands.delete(B.id)||M;M&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(D){return this._commands.get(D)}getCommands(){const D=new Map;return this._commands.forEach((M,B)=>D.set(B,M)),D}appendMenuItem(D,M){return this.appendMenuItems(c.$.single({id:D,item:M}))}appendMenuItems(D){const M=new Set,B=new o.S;for(const{id:j,item:Y}of D){let V=this._menuItems.get(j);V||(V=new o.S,this._menuItems.set(j,V)),B.push(V.push(Y)),M.add(j)}return this._onDidChangeMenu.fire(M),(0,f.OF)(()=>{if(B.size>0){for(let j of B)j();this._onDidChangeMenu.fire(M),B.clear()}})}getMenuItems(D){let M;return this._menuItems.has(D)?M=[...this._menuItems.get(D)]:M=[],D===b.CommandPalette&&this._appendImplicitItems(M),M}_appendImplicitItems(D){const M=new Set;for(const B of D)_(B)&&(M.add(B.command.id),B.alt&&M.add(B.alt.id));this._commands.forEach((B,j)=>{M.has(j)||D.push({command:B})})}};class R extends r.wY{constructor(M,B,j,Y){super(`submenuitem.${M.submenu.id}`,typeof M.title=="string"?M.title:M.title.value,[],"submenu"),this.item=M,this._menuService=B,this._contextKeyService=j,this._options=Y}get actions(){const M=[],B=this._menuService.createMenu(this.item.submenu,this._contextKeyService),j=B.getActions(this._options);B.dispose();for(const[,Y]of j)Y.length>0&&(M.push(...Y),M.push(new r.Z0));return M.length&&M.pop(),M}}let A=class Ld{constructor(M,B,j,Y,V){var G,ae;if(this._commandService=V,this.id=M.id,this.label=j!=null&&j.renderShortTitle&&M.shortTitle?typeof M.shortTitle=="string"?M.shortTitle:M.shortTitle.value:typeof M.title=="string"?M.title:M.title.value,this.tooltip=(ae=typeof M.tooltip=="string"?M.tooltip:(G=M.tooltip)===null||G===void 0?void 0:G.value)!==null&&ae!==void 0?ae:"",this.enabled=!M.precondition||Y.contextMatchesRules(M.precondition),this.checked=void 0,M.toggled){const ie=M.toggled.condition?M.toggled:{condition:M.toggled};this.checked=Y.contextMatchesRules(ie.condition),this.checked&&ie.tooltip&&(this.tooltip=typeof ie.tooltip=="string"?ie.tooltip:ie.tooltip.value),ie.title&&(this.label=typeof ie.title=="string"?ie.title:ie.title.value)}this.item=M,this.alt=B?new Ld(B,void 0,j,Y,V):void 0,this._options=j,x.kS.isThemeIcon(M.icon)&&(this.class=i.dT.asClassName(M.icon))}dispose(){}run(...M){var B,j;let Y=[];return!((B=this._options)===null||B===void 0)&&B.arg&&(Y=[...Y,this._options.arg]),!((j=this._options)===null||j===void 0)&&j.shouldForwardArgs&&(Y=[...Y,...M]),this._commandService.executeCommand(this.id,...Y)}};A=p([y(3,u.i6),y(4,h.H)],A)},35884:function(d,v,e){"use strict";e.d(v,{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 S=[];for(let R of a.description.args)S.push(R.constraint);const k=a.handler;a.handler=function(R,...A){return(0,f.D8)(A,S),k(R,...A)}}const{id:p}=a;let y=this._commands.get(p);y||(y=new c.S,this._commands.set(p,y));let _=y.unshift(a),b=(0,l.OF)(()=>{_();const S=this._commands.get(p);S!=null&&S.isEmpty()&&this._commands.delete(p)});return this._onDidRegisterCommand.fire(p),b}registerCommandAlias(a,x){return u.registerCommand(a,(p,...y)=>p.get(h).executeCommand(x,...y))}getCommand(a){const x=this._commands.get(a);if(!(!x||x.isEmpty()))return i.$.first(x)}getCommands(){const a=new Map;for(const x of this._commands.keys()){const p=this.getCommand(x);p&&a.set(x,p)}return a}};u.registerCommand("noop",()=>{})},90689:function(d,v,e){"use strict";e.d(v,{Ao:function(){return h},Eq:function(){return J},Fb:function(){return u},K8:function(){return ee},i6:function(){return q},uy:function(){return ue}});var r=e(23345),i=e(82983),l=e(16925);let c=r.WE||"";const f=new Map;f.set("false",!1),f.set("true",!0),f.set("isMac",r.dz),f.set("isLinux",r.IJ),f.set("isWindows",r.ED),f.set("isWeb",r.$L),f.set("isMacNative",r.dz&&!r.$L),f.set("isEdge",c.indexOf("Edg/")>=0),f.set("isFirefox",c.indexOf("Firefox")>=0),f.set("isChrome",c.indexOf("Chrome")>=0),f.set("isSafari",c.indexOf("Safari")>=0);const o=Object.prototype.hasOwnProperty;class h{static has(Z){return y.create(Z)}static equals(Z,$){return _.create(Z,$)}static regex(Z,$){return Y.create(Z,$)}static not(Z){return R.create(Z)}static and(...Z){return ae.create(Z,null)}static or(...Z){return ie.create(Z,null,!0)}static deserialize(Z,$=!1){if(Z)return this._deserializeOrExpression(Z,$)}static _deserializeOrExpression(Z,$){let se=Z.split("||");return ie.create(se.map(_e=>this._deserializeAndExpression(_e,$)),null,!0)}static _deserializeAndExpression(Z,$){let se=Z.split("&&");return ae.create(se.map(_e=>this._deserializeOne(_e,$)),null)}static _deserializeOne(Z,$){if(Z=Z.trim(),Z.indexOf("!=")>=0){let se=Z.split("!=");return k.create(se[0].trim(),this._deserializeValue(se[1],$))}if(Z.indexOf("==")>=0){let se=Z.split("==");return _.create(se[0].trim(),this._deserializeValue(se[1],$))}if(Z.indexOf("=~")>=0){let se=Z.split("=~");return Y.create(se[0].trim(),this._deserializeRegexValue(se[1],$))}if(Z.indexOf(" in ")>=0){let se=Z.split(" in ");return b.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(Z)){const se=Z.split(">=");return M.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(Z)){const se=Z.split(">");return D.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(Z)){const se=Z.split("<=");return j.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(Z)){const se=Z.split("<");return B.create(se[0].trim(),se[1].trim())}return/^\!\s*/.test(Z)?R.create(Z.substr(1).trim()):y.create(Z)}static _deserializeValue(Z,$){if(Z=Z.trim(),Z==="true")return!0;if(Z==="false")return!1;let se=/^'([^']*)'$/.exec(Z);return se?se[1].trim():Z}static _deserializeRegexValue(Z,$){if((0,i.m5)(Z)){if($)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let se=Z.indexOf("/"),_e=Z.lastIndexOf("/");if(se===_e||se<0){if($)throw new Error(`bad regexp-value '${Z}', missing /-enclosure`);return console.warn(`bad regexp-value '${Z}', missing /-enclosure`),null}let De=Z.slice(se+1,_e),ke=Z[_e+1]==="i"?"i":"";try{return new RegExp(De,ke)}catch(Ze){if($)throw new Error(`bad regexp-value '${Z}', parse error: ${Ze}`);return console.warn(`bad regexp-value '${Z}', parse error: ${Ze}`),null}}}function u(le,Z){const $=le?le.substituteConstants():void 0,se=Z?Z.substituteConstants():void 0;return!$&&!se?!0:!$||!se?!1:$.equals(se)}function a(le,Z){return le.cmp(Z)}class x{constructor(){this.type=0}cmp(Z){return this.type-Z.type}equals(Z){return Z.type===this.type}substituteConstants(){return this}evaluate(Z){return!1}serialize(){return"false"}keys(){return[]}negate(){return p.INSTANCE}}x.INSTANCE=new x;class p{constructor(){this.type=1}cmp(Z){return this.type-Z.type}equals(Z){return Z.type===this.type}substituteConstants(){return this}evaluate(Z){return!0}serialize(){return"true"}keys(){return[]}negate(){return x.INSTANCE}}p.INSTANCE=new p;class y{constructor(Z,$){this.key=Z,this.negated=$,this.type=2}static create(Z,$=null){const se=f.get(Z);return typeof se=="boolean"?se?p.INSTANCE:x.INSTANCE:new y(Z,$)}cmp(Z){return Z.type!==this.type?this.type-Z.type:K(this.key,Z.key)}equals(Z){return Z.type===this.type?this.key===Z.key:!1}substituteConstants(){const Z=f.get(this.key);return typeof Z=="boolean"?Z?p.INSTANCE:x.INSTANCE:this}evaluate(Z){return!!Z.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=R.create(this.key,this)),this.negated}}class _{constructor(Z,$,se){this.key=Z,this.value=$,this.negated=se,this.type=4}static create(Z,$,se=null){if(typeof $=="boolean")return $?y.create(Z,se):R.create(Z,se);const _e=f.get(Z);return typeof _e=="boolean"?$===(_e?"true":"false")?p.INSTANCE:x.INSTANCE:new _(Z,$,se)}cmp(Z){return Z.type!==this.type?this.type-Z.type:oe(this.key,this.value,Z.key,Z.value)}equals(Z){return Z.type===this.type?this.key===Z.key&&this.value===Z.value:!1}substituteConstants(){const Z=f.get(this.key);if(typeof Z=="boolean"){const $=Z?"true":"false";return this.value===$?p.INSTANCE:x.INSTANCE}return this}evaluate(Z){return Z.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=k.create(this.key,this.value,this)),this.negated}}class b{constructor(Z,$){this.key=Z,this.valueKey=$,this.type=10,this.negated=null}static create(Z,$){return new b(Z,$)}cmp(Z){return Z.type!==this.type?this.type-Z.type:oe(this.key,this.valueKey,Z.key,Z.valueKey)}equals(Z){return Z.type===this.type?this.key===Z.key&&this.valueKey===Z.valueKey:!1}substituteConstants(){return this}evaluate(Z){const $=Z.getValue(this.valueKey),se=Z.getValue(this.key);return Array.isArray($)?$.indexOf(se)>=0:typeof se=="string"&&typeof $=="object"&&$!==null?o.call($,se):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=S.create(this)),this.negated}}class S{constructor(Z){this._actual=Z,this.type=11}static create(Z){return new S(Z)}cmp(Z){return Z.type!==this.type?this.type-Z.type:this._actual.cmp(Z._actual)}equals(Z){return Z.type===this.type?this._actual.equals(Z._actual):!1}substituteConstants(){return this}evaluate(Z){return!this._actual.evaluate(Z)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class k{constructor(Z,$,se){this.key=Z,this.value=$,this.negated=se,this.type=5}static create(Z,$,se=null){if(typeof $=="boolean")return $?R.create(Z,se):y.create(Z,se);const _e=f.get(Z);return typeof _e=="boolean"?$===(_e?"true":"false")?x.INSTANCE:p.INSTANCE:new k(Z,$,se)}cmp(Z){return Z.type!==this.type?this.type-Z.type:oe(this.key,this.value,Z.key,Z.value)}equals(Z){return Z.type===this.type?this.key===Z.key&&this.value===Z.value:!1}substituteConstants(){const Z=f.get(this.key);if(typeof Z=="boolean"){const $=Z?"true":"false";return this.value===$?x.INSTANCE:p.INSTANCE}return this}evaluate(Z){return Z.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=_.create(this.key,this.value,this)),this.negated}}class R{constructor(Z,$){this.key=Z,this.negated=$,this.type=3}static create(Z,$=null){const se=f.get(Z);return typeof se=="boolean"?se?x.INSTANCE:p.INSTANCE:new R(Z,$)}cmp(Z){return Z.type!==this.type?this.type-Z.type:K(this.key,Z.key)}equals(Z){return Z.type===this.type?this.key===Z.key:!1}substituteConstants(){const Z=f.get(this.key);return typeof Z=="boolean"?Z?x.INSTANCE:p.INSTANCE:this}evaluate(Z){return!Z.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=y.create(this.key,this)),this.negated}}function A(le,Z){if(typeof le=="string"){const $=parseFloat(le);isNaN($)||(le=$)}return typeof le=="string"||typeof le=="number"?Z(le):x.INSTANCE}class D{constructor(Z,$,se){this.key=Z,this.value=$,this.negated=se,this.type=12}static create(Z,$,se=null){return A($,_e=>new D(Z,_e,se))}cmp(Z){return Z.type!==this.type?this.type-Z.type:oe(this.key,this.value,Z.key,Z.value)}equals(Z){return Z.type===this.type?this.key===Z.key&&this.value===Z.value:!1}substituteConstants(){return this}evaluate(Z){return typeof this.value=="string"?!1:parseFloat(Z.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=j.create(this.key,this.value,this)),this.negated}}class M{constructor(Z,$,se){this.key=Z,this.value=$,this.negated=se,this.type=13}static create(Z,$,se=null){return A($,_e=>new M(Z,_e,se))}cmp(Z){return Z.type!==this.type?this.type-Z.type:oe(this.key,this.value,Z.key,Z.value)}equals(Z){return Z.type===this.type?this.key===Z.key&&this.value===Z.value:!1}substituteConstants(){return this}evaluate(Z){return typeof this.value=="string"?!1:parseFloat(Z.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=B.create(this.key,this.value,this)),this.negated}}class B{constructor(Z,$,se){this.key=Z,this.value=$,this.negated=se,this.type=14}static create(Z,$,se=null){return A($,_e=>new B(Z,_e,se))}cmp(Z){return Z.type!==this.type?this.type-Z.type:oe(this.key,this.value,Z.key,Z.value)}equals(Z){return Z.type===this.type?this.key===Z.key&&this.value===Z.value:!1}substituteConstants(){return this}evaluate(Z){return typeof this.value=="string"?!1:parseFloat(Z.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=M.create(this.key,this.value,this)),this.negated}}class j{constructor(Z,$,se){this.key=Z,this.value=$,this.negated=se,this.type=15}static create(Z,$,se=null){return A($,_e=>new j(Z,_e,se))}cmp(Z){return Z.type!==this.type?this.type-Z.type:oe(this.key,this.value,Z.key,Z.value)}equals(Z){return Z.type===this.type?this.key===Z.key&&this.value===Z.value:!1}substituteConstants(){return this}evaluate(Z){return typeof this.value=="string"?!1:parseFloat(Z.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=D.create(this.key,this.value,this)),this.negated}}class Y{constructor(Z,$){this.key=Z,this.regexp=$,this.type=7,this.negated=null}static create(Z,$){return new Y(Z,$)}cmp(Z){if(Z.type!==this.type)return this.type-Z.type;if(this.key<Z.key)return-1;if(this.key>Z.key)return 1;const $=this.regexp?this.regexp.source:"",se=Z.regexp?Z.regexp.source:"";return $<se?-1:$>se?1:0}equals(Z){if(Z.type===this.type){const $=this.regexp?this.regexp.source:"",se=Z.regexp?Z.regexp.source:"";return this.key===Z.key&&$===se}return!1}substituteConstants(){return this}evaluate(Z){let $=Z.getValue(this.key);return this.regexp?this.regexp.test($):!1}serialize(){const Z=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${Z}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=V.create(this)),this.negated}}class V{constructor(Z){this._actual=Z,this.type=8}static create(Z){return new V(Z)}cmp(Z){return Z.type!==this.type?this.type-Z.type:this._actual.cmp(Z._actual)}equals(Z){return Z.type===this.type?this._actual.equals(Z._actual):!1}substituteConstants(){return this}evaluate(Z){return!this._actual.evaluate(Z)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function G(le){let Z=null;for(let $=0,se=le.length;$<se;$++){const _e=le[$].substituteConstants();if(le[$]!==_e&&Z===null){Z=[];for(let De=0;De<$;De++)Z[De]=le[De]}Z!==null&&(Z[$]=_e)}return Z===null?le:Z}class ae{constructor(Z,$){this.expr=Z,this.negated=$,this.type=6}static create(Z,$){return ae._normalizeArr(Z,$)}cmp(Z){if(Z.type!==this.type)return this.type-Z.type;if(this.expr.length<Z.expr.length)return-1;if(this.expr.length>Z.expr.length)return 1;for(let $=0,se=this.expr.length;$<se;$++){const _e=a(this.expr[$],Z.expr[$]);if(_e!==0)return _e}return 0}equals(Z){if(Z.type===this.type){if(this.expr.length!==Z.expr.length)return!1;for(let $=0,se=this.expr.length;$<se;$++)if(!this.expr[$].equals(Z.expr[$]))return!1;return!0}return!1}substituteConstants(){const Z=G(this.expr);return Z===this.expr?this:ae.create(Z,this.negated)}evaluate(Z){for(let $=0,se=this.expr.length;$<se;$++)if(!this.expr[$].evaluate(Z))return!1;return!0}static _normalizeArr(Z,$){const se=[];let _e=!1;for(const De of Z)if(De){if(De.type===1){_e=!0;continue}if(De.type===0)return x.INSTANCE;if(De.type===6){se.push(...De.expr);continue}se.push(De)}if(se.length===0&&_e)return p.INSTANCE;if(se.length!==0){if(se.length===1)return se[0];se.sort(a);for(let De=1;De<se.length;De++)se[De-1].equals(se[De])&&(se.splice(De,1),De--);if(se.length===1)return se[0];for(;se.length>1;){const De=se[se.length-1];if(De.type!==9)break;se.pop();const ke=se.pop(),Ze=se.length===0,Ne=ie.create(De.expr.map(Bt=>ae.create([Bt,ke],null)),null,Ze);Ne&&(se.push(Ne),se.sort(a))}return se.length===1?se[0]:new ae(se,$)}}serialize(){return this.expr.map(Z=>Z.serialize()).join(" && ")}keys(){const Z=[];for(let $ of this.expr)Z.push(...$.keys());return Z}negate(){if(!this.negated){const Z=[];for(let $ of this.expr)Z.push($.negate());this.negated=ie.create(Z,this,!0)}return this.negated}}class ie{constructor(Z,$){this.expr=Z,this.negated=$,this.type=9}static create(Z,$,se){return ie._normalizeArr(Z,$,se)}cmp(Z){if(Z.type!==this.type)return this.type-Z.type;if(this.expr.length<Z.expr.length)return-1;if(this.expr.length>Z.expr.length)return 1;for(let $=0,se=this.expr.length;$<se;$++){const _e=a(this.expr[$],Z.expr[$]);if(_e!==0)return _e}return 0}equals(Z){if(Z.type===this.type){if(this.expr.length!==Z.expr.length)return!1;for(let $=0,se=this.expr.length;$<se;$++)if(!this.expr[$].equals(Z.expr[$]))return!1;return!0}return!1}substituteConstants(){const Z=G(this.expr);return Z===this.expr?this:ie.create(Z,this.negated,!1)}evaluate(Z){for(let $=0,se=this.expr.length;$<se;$++)if(this.expr[$].evaluate(Z))return!0;return!1}static _normalizeArr(Z,$,se){let _e=[],De=!1;if(Z){for(let ke=0,Ze=Z.length;ke<Ze;ke++){const Ne=Z[ke];if(Ne){if(Ne.type===0){De=!0;continue}if(Ne.type===1)return p.INSTANCE;if(Ne.type===9){_e=_e.concat(Ne.expr);continue}_e.push(Ne)}}if(_e.length===0&&De)return x.INSTANCE;_e.sort(a)}if(_e.length!==0){if(_e.length===1)return _e[0];for(let ke=1;ke<_e.length;ke++)_e[ke-1].equals(_e[ke])&&(_e.splice(ke,1),ke--);if(_e.length===1)return _e[0];if(se){for(let ke=0;ke<_e.length;ke++)for(let Ze=ke+1;Ze<_e.length;Ze++)ee(_e[ke],_e[Ze])&&(_e.splice(Ze,1),Ze--);if(_e.length===1)return _e[0]}return new ie(_e,$)}}serialize(){return this.expr.map(Z=>Z.serialize()).join(" || ")}keys(){const Z=[];for(let $ of this.expr)Z.push(...$.keys());return Z}negate(){if(!this.negated){let Z=[];for(let $ of this.expr)Z.push($.negate());for(;Z.length>1;){const $=Z.shift(),se=Z.shift(),_e=[];for(const ke of Q($))for(const Ze of Q(se))_e.push(ae.create([ke,Ze],null));const De=Z.length===0;Z.unshift(ie.create(_e,null,De))}this.negated=Z[0]}return this.negated}}class ue extends y{constructor(Z,$,se){super(Z,null),this._defaultValue=$,typeof se=="object"?ue._info.push(Object.assign(Object.assign({},se),{key:Z})):se!==!0&&ue._info.push({key:Z,description:se,type:$!=null?typeof $:void 0})}static all(){return ue._info.values()}bindTo(Z){return Z.createKey(this.key,this._defaultValue)}getValue(Z){return Z.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(Z){return _.create(this.key,Z)}}ue._info=[];const q=(0,l.yh)("contextKeyService"),J="setContext";function K(le,Z){return le<Z?-1:le>Z?1:0}function oe(le,Z,$,se){return le<$?-1:le>$?1:Z<se?-1:Z>se?1:0}function ee(le,Z){if(Z.type===6&&le.type!==9&&le.type!==6){for(const _e of Z.expr)if(le.equals(_e))return!0}const $=le.negate(),se=Q($).concat(Q(Z));se.sort(a);for(let _e=0;_e<se.length;_e++){const ke=se[_e].negate();for(let Ze=_e+1;Ze<se.length;Ze++){const Ne=se[Ze];if(ke.equals(Ne))return!0}}return!1}function Q(le){return le.type===9?le.expr:[le]}},16925:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{e:function(){return r}});var r;(function(i){i.DARK="dark",i.LIGHT="light",i.HIGH_CONTRAST="hc"})(r||(r={}))},49055:function(d,v,e){"use strict";e.d(v,{EN:function(){return a},IP:function(){return y},Ic:function(){return S},XE:function(){return h},bB:function(){return k},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(R){function A(D){return D&&typeof D=="object"&&typeof D.id=="string"}R.isThemeColor=A})(u||(u={}));function a(R){return{id:R}}var x;(function(R){function A(V){return V&&typeof V=="object"&&typeof V.id=="string"&&(typeof V.color=="undefined"||u.isThemeColor(V.color))}R.isThemeIcon=A;const D=new RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);function M(V){const G=D.exec(V);if(!G)return;let[,ae]=G;return{id:ae}}R.fromString=M;function B(V,G){let ae=V.id;const ie=ae.lastIndexOf("~");return ie!==-1&&(ae=ae.substring(0,ie)),G&&(ae=`${ae}~${G}`),{id:ae}}R.modify=B;function j(V,G){var ae,ie;return V.id===G.id&&((ae=V.color)===null||ae===void 0?void 0:ae.id)===((ie=G.color)===null||ie===void 0?void 0:ie.id)}R.isEqual=j;function Y(V,G){return{id:V.id,color:G?a(G):void 0}}R.asThemeIcon=Y,R.asClassNameArray=r.dT.asClassNameArray,R.asClassName=r.dT.asClassName,R.asCSSSelector=r.dT.asCSSSelector})(x||(x={}));function p(R){switch(R){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(A){return this.themingParticipants.push(A),this.onThemingParticipantAddedEmitter.fire(A),(0,l.OF)(()=>{const D=this.themingParticipants.indexOf(A);this.themingParticipants.splice(D,1)})}getThemingParticipants(){return this.themingParticipants}}let b=new _;f.B.add(y.ThemingContribution,b);function S(R){return b.onColorThemeChange(R)}class k extends l.JT{constructor(A){super(),this.themeService=A,this.theme=A.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(D=>this.onThemeChange(D)))}onThemeChange(A){this.theme=A,this.updateStyles()}updateStyles(){}}},84126:function(d){"use strict";var v=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(v){u=v(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 v=d.exports={},e,r;function i(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=i}catch(b){e=i}try{typeof clearTimeout=="function"?r=clearTimeout:r=l}catch(b){r=l}})();function c(b){if(e===setTimeout)return setTimeout(b,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(b,0);try{return e(b,0)}catch(S){try{return e.call(null,b,0)}catch(k){return e.call(this,b,0)}}}function f(b){if(r===clearTimeout)return clearTimeout(b);if((r===l||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(b);try{return r(b)}catch(S){try{return r.call(null,b)}catch(k){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 S=o.length;S;){for(u=o,o=[];++a<S;)u&&u[a].run();a=-1,S=o.length}u=null,h=!1,f(b)}}v.nextTick=function(b){var S=new Array(arguments.length-1);if(arguments.length>1)for(var k=1;k<arguments.length;k++)S[k-1]=arguments[k];o.push(new y(b,S)),o.length===1&&!h&&c(p)};function y(b,S){this.fun=b,this.array=S}y.prototype.run=function(){this.fun.apply(null,this.array)},v.title="browser",v.browser=!0,v.env={},v.argv=[],v.version="",v.versions={};function _(){}v.on=_,v.addListener=_,v.once=_,v.off=_,v.removeListener=_,v.removeAllListeners=_,v.emit=_,v.prependListener=_,v.prependOnceListener=_,v.listeners=function(b){return[]},v.binding=function(b){throw new Error("process.binding is not supported")},v.cwd=function(){return"/"},v.chdir=function(b){throw new Error("process.chdir is not supported")},v.umask=function(){return 0}},79442:function(d,v,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,v,e){if(0)var r,i;else d.exports=e(79442)()},97825:function(d){"use strict";var v="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";d.exports=v},86923:function(d,v,e){"use strict";e.d(v,{s:function(){return B},Z:function(){return ue}});var r=e(14809),i=e(50298),l=e(43403),c=e(59301),f=c.createContext({}),o=e(20439),h=e(92310),u=e.n(h),a=e(48519),x=e(80402),p=e(10228),y=e(26112);function _(q,J,K){var oe=J;return!oe&&K&&(oe="".concat(q,"-").concat(K)),oe}function b(q,J){var K=q["page".concat(J?"Y":"X","Offset")],oe="scroll".concat(J?"Top":"Left");if(typeof K!="number"){var ee=q.document;K=ee.documentElement[oe],typeof K!="number"&&(K=ee.body[oe])}return K}function S(q){var J=q.getBoundingClientRect(),K={left:J.left,top:J.top},oe=q.ownerDocument,ee=oe.defaultView||oe.parentWindow;return K.left+=b(ee),K.top+=b(ee,!0),K}var k=e(77900),R=e(8654),A=c.memo(function(q){var J=q.children;return J},function(q,J){var K=J.shouldUpdate;return!K}),D={width:0,height:0,overflow:"hidden",outline:"none"},M=c.forwardRef(function(q,J){var K=q.prefixCls,oe=q.className,ee=q.style,Q=q.title,le=q.ariaId,Z=q.footer,$=q.closable,se=q.closeIcon,_e=q.onClose,De=q.children,ke=q.bodyStyle,Ze=q.bodyProps,Ne=q.modalRender,Bt=q.onMouseDown,yt=q.onMouseUp,Dt=q.holderRef,Jt=q.visible,er=q.forceRender,tr=q.width,Xe=q.height,Pt=c.useContext(f),Zt=Pt.panel,ot=(0,R.x1)(Dt,Zt),xt=(0,c.useRef)(),ht=(0,c.useRef)();c.useImperativeHandle(J,function(){return{focus:function(){var He;(He=xt.current)===null||He===void 0||He.focus()},changeActive:function(He){var nt=document,ct=nt.activeElement;He&&ct===ht.current?xt.current.focus():!He&&ct===xt.current&&ht.current.focus()}}});var et={};tr!==void 0&&(et.width=tr),Xe!==void 0&&(et.height=Xe);var je;Z&&(je=c.createElement("div",{className:"".concat(K,"-footer")},Z));var ge;Q&&(ge=c.createElement("div",{className:"".concat(K,"-header")},c.createElement("div",{className:"".concat(K,"-title"),id:le},Q)));var Se;$&&(Se=c.createElement("button",{type:"button",onClick:_e,"aria-label":"Close",className:"".concat(K,"-close")},se||c.createElement("span",{className:"".concat(K,"-close-x")})));var Me=c.createElement("div",{className:"".concat(K,"-content")},Se,ge,c.createElement("div",(0,r.Z)({className:"".concat(K,"-body"),style:ke},Ze),De),je);return c.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":Q?le:null,"aria-modal":"true",ref:ot,style:(0,o.Z)((0,o.Z)({},ee),et),className:u()(K,oe),onMouseDown:Bt,onMouseUp:yt},c.createElement("div",{tabIndex:0,ref:xt,style:D,"aria-hidden":"true"}),c.createElement(A,{shouldUpdate:Jt||er},Ne?Ne(Me):Me),c.createElement("div",{tabIndex:0,ref:ht,style:D,"aria-hidden":"true"}))}),B=M,j=c.forwardRef(function(q,J){var K=q.prefixCls,oe=q.title,ee=q.style,Q=q.className,le=q.visible,Z=q.forceRender,$=q.destroyOnClose,se=q.motionName,_e=q.ariaId,De=q.onVisibleChanged,ke=q.mousePosition,Ze=(0,c.useRef)(),Ne=c.useState(),Bt=(0,i.Z)(Ne,2),yt=Bt[0],Dt=Bt[1],Jt={};yt&&(Jt.transformOrigin=yt);function er(){var tr=S(Ze.current);Dt(ke?"".concat(ke.x-tr.left,"px ").concat(ke.y-tr.top,"px"):"")}return c.createElement(k.default,{visible:le,onVisibleChanged:De,onAppearPrepare:er,onEnterPrepare:er,forceRender:Z,motionName:se,removeOnLeave:$,ref:Ze},function(tr,Xe){var Pt=tr.className,Zt=tr.style;return c.createElement(B,(0,r.Z)({},q,{ref:J,title:oe,ariaId:_e,prefixCls:K,holderRef:Xe,style:(0,o.Z)((0,o.Z)((0,o.Z)({},Zt),ee),Jt),className:u()(Q,Pt)}))})});j.displayName="Content";var Y=j;function V(q){var J=q.prefixCls,K=q.style,oe=q.visible,ee=q.maskProps,Q=q.motionName;return c.createElement(k.default,{key:"mask",visible:oe,motionName:Q,leavedClassName:"".concat(J,"-mask-hidden")},function(le,Z){var $=le.className,se=le.style;return c.createElement("div",(0,r.Z)({ref:Z,style:(0,o.Z)((0,o.Z)({},se),K),className:u()("".concat(J,"-mask"),$)},ee))})}function G(q){var J=q.prefixCls,K=J===void 0?"rc-dialog":J,oe=q.zIndex,ee=q.visible,Q=ee===void 0?!1:ee,le=q.keyboard,Z=le===void 0?!0:le,$=q.focusTriggerAfterClose,se=$===void 0?!0:$,_e=q.wrapStyle,De=q.wrapClassName,ke=q.wrapProps,Ze=q.onClose,Ne=q.afterOpenChange,Bt=q.afterClose,yt=q.transitionName,Dt=q.animation,Jt=q.closable,er=Jt===void 0?!0:Jt,tr=q.mask,Xe=tr===void 0?!0:tr,Pt=q.maskTransitionName,Zt=q.maskAnimation,ot=q.maskClosable,xt=ot===void 0?!0:ot,ht=q.maskStyle,et=q.maskProps,je=q.rootClassName,ge=(0,c.useRef)(),Se=(0,c.useRef)(),Me=(0,c.useRef)(),$e=c.useState(Q),He=(0,i.Z)($e,2),nt=He[0],ct=He[1],Vt=(0,x.Z)();function Ht(){(0,a.Z)(Se.current,document.activeElement)||(ge.current=document.activeElement)}function Pe(){if(!(0,a.Z)(Se.current,document.activeElement)){var fe;(fe=Me.current)===null||fe===void 0||fe.focus()}}function qe(fe){if(fe)Pe();else{if(ct(!1),Xe&&ge.current&&se){try{ge.current.focus({preventScroll:!0})}catch(pe){}ge.current=null}nt&&(Bt==null||Bt())}Ne==null||Ne(fe)}function Yt(fe){Ze==null||Ze(fe)}var Rt=(0,c.useRef)(!1),Wt=(0,c.useRef)(),$t=function(){clearTimeout(Wt.current),Rt.current=!0},At=function(){Wt.current=setTimeout(function(){Rt.current=!1})},Xt=null;xt&&(Xt=function(pe){Rt.current?Rt.current=!1:Se.current===pe.target&&Yt(pe)});function We(fe){if(Z&&fe.keyCode===p.Z.ESC){fe.stopPropagation(),Yt(fe);return}Q&&fe.keyCode===p.Z.TAB&&Me.current.changeActive(!fe.shiftKey)}return(0,c.useEffect)(function(){Q&&(ct(!0),Ht())},[Q]),(0,c.useEffect)(function(){return function(){clearTimeout(Wt.current)}},[]),c.createElement("div",(0,r.Z)({className:u()("".concat(K,"-root"),je)},(0,y.Z)(q,{data:!0})),c.createElement(V,{prefixCls:K,visible:Xe&&Q,motionName:_(K,Pt,Zt),style:(0,o.Z)({zIndex:oe},ht),maskProps:et}),c.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:We,className:u()("".concat(K,"-wrap"),De),ref:Se,onClick:Xt,style:(0,o.Z)((0,o.Z)({zIndex:oe},_e),{},{display:nt?null:"none"})},ke),c.createElement(Y,(0,r.Z)({},q,{onMouseDown:$t,onMouseUp:At,ref:Me,closable:er,ariaId:Vt,prefixCls:K,visible:Q&&nt,onClose:Yt,onVisibleChanged:qe,motionName:_(K,yt,Dt)}))))}var ae=function(J){var K=J.visible,oe=J.getContainer,ee=J.forceRender,Q=J.destroyOnClose,le=Q===void 0?!1:Q,Z=J.afterClose,$=J.panelRef,se=c.useState(K),_e=(0,i.Z)(se,2),De=_e[0],ke=_e[1],Ze=c.useMemo(function(){return{panel:$}},[$]);return c.useEffect(function(){K&&ke(!0)},[K]),!ee&&le&&!De?null:c.createElement(f.Provider,{value:Ze},c.createElement(l.Z,{open:K||ee||De,autoDestroy:!1,getContainer:oe,autoLock:K||De},c.createElement(G,(0,r.Z)({},J,{destroyOnClose:le,afterClose:function(){Z==null||Z(),ke(!1)}}))))};ae.displayName="Dialog";var ie=ae,ue=ie},95013:function(d,v,e){"use strict";e.r(v),e.d(v,{Field:function(){return Br},FieldContext:function(){return M},FormProvider:function(){return na},List:function(){return zn},ListContext:function(){return j},default:function(){return An},useForm:function(){return gi},useWatch:function(){return Ki}});var r=e(59301),i=e(14809),l=e(62646),c=e(70539),f=e(95764),o=e(20439),h=e(95190),u=e(99153),a=e(84851),x=e(13028),p=e(19257),y=e(93046),_=e(4635),b=e(11592),S=e(13697),k=e(48736),R="RC_FORM_INTERNAL_HOOKS",A=function(){(0,k.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},D=r.createContext({getFieldValue:A,getFieldsValue:A,getFieldError:A,getFieldWarning:A,getFieldsError:A,isFieldsTouched:A,isFieldTouched:A,isFieldValidating:A,isFieldsValidating:A,resetFields:A,setFields:A,setFieldValue:A,setFieldsValue:A,validateFields:A,submit:A,getInternalHooks:function(){return A(),{dispatch:A,initEntityValue:A,registerField:A,useSubscribe:A,setInitialValues:A,destroyForm:A,setCallbacks:A,registerWatch:A,getFields:A,setValidateMessages:A,setPreserve:A,getInitialValue:A}}}),M=D,B=r.createContext(null),j=B;function Y(rr){return rr==null?[]:Array.isArray(rr)?rr:[rr]}function V(rr){return rr&&!!rr._init}var G=e(97671);function ae(){return ae=Object.assign?Object.assign.bind():function(rr){for(var _t=1;_t<arguments.length;_t++){var rt=arguments[_t];for(var It in rt)Object.prototype.hasOwnProperty.call(rt,It)&&(rr[It]=rt[It])}return rr},ae.apply(this,arguments)}function ie(rr,_t){rr.prototype=Object.create(_t.prototype),rr.prototype.constructor=rr,q(rr,_t)}function ue(rr){return ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(rt){return rt.__proto__||Object.getPrototypeOf(rt)},ue(rr)}function q(rr,_t){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(It,pt){return It.__proto__=pt,It},q(rr,_t)}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(rr){return!1}}function K(rr,_t,rt){return J()?K=Reflect.construct.bind():K=function(pt,cr,dr){var Tr=[null];Tr.push.apply(Tr,cr);var Hr=Function.bind.apply(pt,Tr),Ue=new Hr;return dr&&q(Ue,dr.prototype),Ue},K.apply(null,arguments)}function oe(rr){return Function.toString.call(rr).indexOf("[native code]")!==-1}function ee(rr){var _t=typeof Map=="function"?new Map:void 0;return ee=function(It){if(It===null||!oe(It))return It;if(typeof It!="function")throw new TypeError("Super expression must either be null or a function");if(typeof _t!="undefined"){if(_t.has(It))return _t.get(It);_t.set(It,pt)}function pt(){return K(It,arguments,ue(this).constructor)}return pt.prototype=Object.create(It.prototype,{constructor:{value:pt,enumerable:!1,writable:!0,configurable:!0}}),q(pt,It)},ee(rr)}var Q=/%[sdj%]/g,le=function(){};function Z(rr){if(!rr||!rr.length)return null;var _t={};return rr.forEach(function(rt){var It=rt.field;_t[It]=_t[It]||[],_t[It].push(rt)}),_t}function $(rr){for(var _t=arguments.length,rt=new Array(_t>1?_t-1:0),It=1;It<_t;It++)rt[It-1]=arguments[It];var pt=0,cr=rt.length;if(typeof rr=="function")return rr.apply(null,rt);if(typeof rr=="string"){var dr=rr.replace(Q,function(Tr){if(Tr==="%%")return"%";if(pt>=cr)return Tr;switch(Tr){case"%s":return String(rt[pt++]);case"%d":return Number(rt[pt++]);case"%j":try{return JSON.stringify(rt[pt++])}catch(Hr){return"[Circular]"}break;default:return Tr}});return dr}return rr}function se(rr){return rr==="string"||rr==="url"||rr==="hex"||rr==="email"||rr==="date"||rr==="pattern"}function _e(rr,_t){return!!(rr==null||_t==="array"&&Array.isArray(rr)&&!rr.length||se(_t)&&typeof rr=="string"&&!rr)}function De(rr,_t,rt){var It=[],pt=0,cr=rr.length;function dr(Tr){It.push.apply(It,Tr||[]),pt++,pt===cr&&rt(It)}rr.forEach(function(Tr){_t(Tr,dr)})}function ke(rr,_t,rt){var It=0,pt=rr.length;function cr(dr){if(dr&&dr.length){rt(dr);return}var Tr=It;It=It+1,Tr<pt?_t(rr[Tr],cr):rt([])}cr([])}function Ze(rr){var _t=[];return Object.keys(rr).forEach(function(rt){_t.push.apply(_t,rr[rt]||[])}),_t}var Ne=function(rr){ie(_t,rr);function _t(rt,It){var pt;return pt=rr.call(this,"Async Validation Error")||this,pt.errors=rt,pt.fields=It,pt}return _t}(ee(Error));function Bt(rr,_t,rt,It,pt){if(_t.first){var cr=new Promise(function(st,nr){var Lr=function(Ur){return It(Ur),Ur.length?nr(new Ne(Ur,Z(Ur))):st(pt)},Or=Ze(rr);ke(Or,rt,Lr)});return cr.catch(function(st){return st}),cr}var dr=_t.firstFields===!0?Object.keys(rr):_t.firstFields||[],Tr=Object.keys(rr),Hr=Tr.length,Ue=0,Je=[],Ee=new Promise(function(st,nr){var Lr=function(Ir){if(Je.push.apply(Je,Ir),Ue++,Ue===Hr)return It(Je),Je.length?nr(new Ne(Je,Z(Je))):st(pt)};Tr.length||(It(Je),st(pt)),Tr.forEach(function(Or){var Ir=rr[Or];dr.indexOf(Or)!==-1?ke(Ir,rt,Lr):De(Ir,rt,Lr)})});return Ee.catch(function(st){return st}),Ee}function yt(rr){return!!(rr&&rr.message!==void 0)}function Dt(rr,_t){for(var rt=rr,It=0;It<_t.length;It++){if(rt==null)return rt;rt=rt[_t[It]]}return rt}function Jt(rr,_t){return function(rt){var It;return rr.fullFields?It=Dt(_t,rr.fullFields):It=_t[rt.field||rr.fullField],yt(rt)?(rt.field=rt.field||rr.fullField,rt.fieldValue=It,rt):{message:typeof rt=="function"?rt():rt,fieldValue:It,field:rt.field||rr.fullField}}}function er(rr,_t){if(_t){for(var rt in _t)if(_t.hasOwnProperty(rt)){var It=_t[rt];typeof It=="object"&&typeof rr[rt]=="object"?rr[rt]=ae({},rr[rt],It):rr[rt]=It}}return rr}var tr=function(_t,rt,It,pt,cr,dr){_t.required&&(!It.hasOwnProperty(_t.field)||_e(rt,dr||_t.type))&&pt.push($(cr.messages.required,_t.fullField))},Xe=function(_t,rt,It,pt,cr){(/^\s+$/.test(rt)||rt==="")&&pt.push($(cr.messages.whitespace,_t.fullField))},Pt,Zt=function(){if(Pt)return Pt;var rr="[a-fA-F\\d:]",_t=function(fn){return fn&&fn.includeBoundaries?"(?:(?<=\\s|^)(?="+rr+")|(?<="+rr+")(?=\\s|$))":""},rt="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",It="[a-fA-F\\d]{1,4}",pt=(`
|
|
|
(?:
|
|
|
(?:`+It+":){7}(?:"+It+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
|
(?:`+It+":){6}(?:"+rt+"|:"+It+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
|
|
(?:`+It+":){5}(?::"+rt+"|(?::"+It+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
|
|
(?:`+It+":){4}(?:(?::"+It+"){0,1}:"+rt+"|(?::"+It+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
|
|
(?:`+It+":){3}(?:(?::"+It+"){0,2}:"+rt+"|(?::"+It+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
|
|
(?:`+It+":){2}(?:(?::"+It+"){0,3}:"+rt+"|(?::"+It+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
|
(?:`+It+":){1}(?:(?::"+It+"){0,4}:"+rt+"|(?::"+It+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
|
(?::(?:(?::`+It+"){0,5}:"+rt+"|(?::"+It+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
|
|
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
|
|
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),cr=new RegExp("(?:^"+rt+"$)|(?:^"+pt+"$)"),dr=new RegExp("^"+rt+"$"),Tr=new RegExp("^"+pt+"$"),Hr=function(fn){return fn&&fn.exact?cr:new RegExp("(?:"+_t(fn)+rt+_t(fn)+")|(?:"+_t(fn)+pt+_t(fn)+")","g")};Hr.v4=function(Pr){return Pr&&Pr.exact?dr:new RegExp(""+_t(Pr)+rt+_t(Pr),"g")},Hr.v6=function(Pr){return Pr&&Pr.exact?Tr:new RegExp(""+_t(Pr)+pt+_t(Pr),"g")};var Ue="(?:(?:[a-z]+:)?//)",Je="(?:\\S+(?::\\S*)?@)?",Ee=Hr.v4().source,st=Hr.v6().source,nr="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",Lr="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Or="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Ir="(?::\\d{2,5})?",Ur='(?:[/?#][^\\s"]*)?',_n="(?:"+Ue+"|www\\.)"+Je+"(?:localhost|"+Ee+"|"+st+"|"+nr+Lr+Or+")"+Ir+Ur;return Pt=new RegExp("(?:^"+_n+"$)","i"),Pt},ot={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},xt={integer:function(_t){return xt.number(_t)&&parseInt(_t,10)===_t},float:function(_t){return xt.number(_t)&&!xt.integer(_t)},array:function(_t){return Array.isArray(_t)},regexp:function(_t){if(_t instanceof RegExp)return!0;try{return!!new RegExp(_t)}catch(rt){return!1}},date:function(_t){return typeof _t.getTime=="function"&&typeof _t.getMonth=="function"&&typeof _t.getYear=="function"&&!isNaN(_t.getTime())},number:function(_t){return isNaN(_t)?!1:typeof _t=="number"},object:function(_t){return typeof _t=="object"&&!xt.array(_t)},method:function(_t){return typeof _t=="function"},email:function(_t){return typeof _t=="string"&&_t.length<=320&&!!_t.match(ot.email)},url:function(_t){return typeof _t=="string"&&_t.length<=2048&&!!_t.match(Zt())},hex:function(_t){return typeof _t=="string"&&!!_t.match(ot.hex)}},ht=function(_t,rt,It,pt,cr){if(_t.required&&rt===void 0){tr(_t,rt,It,pt,cr);return}var dr=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Tr=_t.type;dr.indexOf(Tr)>-1?xt[Tr](rt)||pt.push($(cr.messages.types[Tr],_t.fullField,_t.type)):Tr&&typeof rt!==_t.type&&pt.push($(cr.messages.types[Tr],_t.fullField,_t.type))},et=function(_t,rt,It,pt,cr){var dr=typeof _t.len=="number",Tr=typeof _t.min=="number",Hr=typeof _t.max=="number",Ue=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Je=rt,Ee=null,st=typeof rt=="number",nr=typeof rt=="string",Lr=Array.isArray(rt);if(st?Ee="number":nr?Ee="string":Lr&&(Ee="array"),!Ee)return!1;Lr&&(Je=rt.length),nr&&(Je=rt.replace(Ue,"_").length),dr?Je!==_t.len&&pt.push($(cr.messages[Ee].len,_t.fullField,_t.len)):Tr&&!Hr&&Je<_t.min?pt.push($(cr.messages[Ee].min,_t.fullField,_t.min)):Hr&&!Tr&&Je>_t.max?pt.push($(cr.messages[Ee].max,_t.fullField,_t.max)):Tr&&Hr&&(Je<_t.min||Je>_t.max)&&pt.push($(cr.messages[Ee].range,_t.fullField,_t.min,_t.max))},je="enum",ge=function(_t,rt,It,pt,cr){_t[je]=Array.isArray(_t[je])?_t[je]:[],_t[je].indexOf(rt)===-1&&pt.push($(cr.messages[je],_t.fullField,_t[je].join(", ")))},Se=function(_t,rt,It,pt,cr){if(_t.pattern){if(_t.pattern instanceof RegExp)_t.pattern.lastIndex=0,_t.pattern.test(rt)||pt.push($(cr.messages.pattern.mismatch,_t.fullField,rt,_t.pattern));else if(typeof _t.pattern=="string"){var dr=new RegExp(_t.pattern);dr.test(rt)||pt.push($(cr.messages.pattern.mismatch,_t.fullField,rt,_t.pattern))}}},Me={required:tr,whitespace:Xe,type:ht,range:et,enum:ge,pattern:Se},$e=function(_t,rt,It,pt,cr){var dr=[],Tr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Tr){if(_e(rt,"string")&&!_t.required)return It();Me.required(_t,rt,pt,dr,cr,"string"),_e(rt,"string")||(Me.type(_t,rt,pt,dr,cr),Me.range(_t,rt,pt,dr,cr),Me.pattern(_t,rt,pt,dr,cr),_t.whitespace===!0&&Me.whitespace(_t,rt,pt,dr,cr))}It(dr)},He=function(_t,rt,It,pt,cr){var dr=[],Tr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Tr){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,dr,cr),rt!==void 0&&Me.type(_t,rt,pt,dr,cr)}It(dr)},nt=function(_t,rt,It,pt,cr){var dr=[],Tr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Tr){if(rt===""&&(rt=void 0),_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,dr,cr),rt!==void 0&&(Me.type(_t,rt,pt,dr,cr),Me.range(_t,rt,pt,dr,cr))}It(dr)},ct=function(_t,rt,It,pt,cr){var dr=[],Tr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Tr){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,dr,cr),rt!==void 0&&Me.type(_t,rt,pt,dr,cr)}It(dr)},Vt=function(_t,rt,It,pt,cr){var dr=[],Tr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Tr){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,dr,cr),_e(rt)||Me.type(_t,rt,pt,dr,cr)}It(dr)},Ht=function(_t,rt,It,pt,cr){var dr=[],Tr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Tr){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,dr,cr),rt!==void 0&&(Me.type(_t,rt,pt,dr,cr),Me.range(_t,rt,pt,dr,cr))}It(dr)},Pe=function(_t,rt,It,pt,cr){var dr=[],Tr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Tr){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,dr,cr),rt!==void 0&&(Me.type(_t,rt,pt,dr,cr),Me.range(_t,rt,pt,dr,cr))}It(dr)},qe=function(_t,rt,It,pt,cr){var dr=[],Tr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Tr){if(rt==null&&!_t.required)return It();Me.required(_t,rt,pt,dr,cr,"array"),rt!=null&&(Me.type(_t,rt,pt,dr,cr),Me.range(_t,rt,pt,dr,cr))}It(dr)},Yt=function(_t,rt,It,pt,cr){var dr=[],Tr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Tr){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,dr,cr),rt!==void 0&&Me.type(_t,rt,pt,dr,cr)}It(dr)},Rt="enum",Wt=function(_t,rt,It,pt,cr){var dr=[],Tr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Tr){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,dr,cr),rt!==void 0&&Me[Rt](_t,rt,pt,dr,cr)}It(dr)},$t=function(_t,rt,It,pt,cr){var dr=[],Tr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Tr){if(_e(rt,"string")&&!_t.required)return It();Me.required(_t,rt,pt,dr,cr),_e(rt,"string")||Me.pattern(_t,rt,pt,dr,cr)}It(dr)},At=function(_t,rt,It,pt,cr){var dr=[],Tr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Tr){if(_e(rt,"date")&&!_t.required)return It();if(Me.required(_t,rt,pt,dr,cr),!_e(rt,"date")){var Hr;rt instanceof Date?Hr=rt:Hr=new Date(rt),Me.type(_t,Hr,pt,dr,cr),Hr&&Me.range(_t,Hr.getTime(),pt,dr,cr)}}It(dr)},Xt=function(_t,rt,It,pt,cr){var dr=[],Tr=Array.isArray(rt)?"array":typeof rt;Me.required(_t,rt,pt,dr,cr,Tr),It(dr)},We=function(_t,rt,It,pt,cr){var dr=_t.type,Tr=[],Hr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Hr){if(_e(rt,dr)&&!_t.required)return It();Me.required(_t,rt,pt,Tr,cr,dr),_e(rt,dr)||Me.type(_t,rt,pt,Tr,cr)}It(Tr)},fe=function(_t,rt,It,pt,cr){var dr=[],Tr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Tr){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,dr,cr)}It(dr)},pe={string:$e,method:He,number:nt,boolean:ct,regexp:Vt,integer:Ht,float:Pe,array:qe,object:Yt,enum:Wt,pattern:$t,date:At,url:We,hex:We,email:We,required:Xt,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 _t=JSON.parse(JSON.stringify(this));return _t.clone=this.clone,_t}}}var Te=Ot(),dt=function(){function rr(rt){this.rules=null,this._messages=Te,this.define(rt)}var _t=rr.prototype;return _t.define=function(It){var pt=this;if(!It)throw new Error("Cannot configure a schema with no rules");if(typeof It!="object"||Array.isArray(It))throw new Error("Rules must be an object");this.rules={},Object.keys(It).forEach(function(cr){var dr=It[cr];pt.rules[cr]=Array.isArray(dr)?dr:[dr]})},_t.messages=function(It){return It&&(this._messages=er(Ot(),It)),this._messages},_t.validate=function(It,pt,cr){var dr=this;pt===void 0&&(pt={}),cr===void 0&&(cr=function(){});var Tr=It,Hr=pt,Ue=cr;if(typeof Hr=="function"&&(Ue=Hr,Hr={}),!this.rules||Object.keys(this.rules).length===0)return Ue&&Ue(null,Tr),Promise.resolve(Tr);function Je(Or){var Ir=[],Ur={};function _n(fn){if(Array.isArray(fn)){var nn;Ir=(nn=Ir).concat.apply(nn,fn)}else Ir.push(fn)}for(var Pr=0;Pr<Or.length;Pr++)_n(Or[Pr]);Ir.length?(Ur=Z(Ir),Ue(Ir,Ur)):Ue(null,Tr)}if(Hr.messages){var Ee=this.messages();Ee===Te&&(Ee=Ot()),er(Ee,Hr.messages),Hr.messages=Ee}else Hr.messages=this.messages();var st={},nr=Hr.keys||Object.keys(this.rules);nr.forEach(function(Or){var Ir=dr.rules[Or],Ur=Tr[Or];Ir.forEach(function(_n){var Pr=_n;typeof Pr.transform=="function"&&(Tr===It&&(Tr=ae({},Tr)),Ur=Tr[Or]=Pr.transform(Ur)),typeof Pr=="function"?Pr={validator:Pr}:Pr=ae({},Pr),Pr.validator=dr.getValidationMethod(Pr),Pr.validator&&(Pr.field=Or,Pr.fullField=Pr.fullField||Or,Pr.type=dr.getType(Pr),st[Or]=st[Or]||[],st[Or].push({rule:Pr,value:Ur,source:Tr,field:Or}))})});var Lr={};return Bt(st,Hr,function(Or,Ir){var Ur=Or.rule,_n=(Ur.type==="object"||Ur.type==="array")&&(typeof Ur.fields=="object"||typeof Ur.defaultField=="object");_n=_n&&(Ur.required||!Ur.required&&Or.value),Ur.field=Or.field;function Pr(on,Sn){return ae({},Sn,{fullField:Ur.fullField+"."+on,fullFields:Ur.fullFields?[].concat(Ur.fullFields,[on]):[on]})}function fn(on){on===void 0&&(on=[]);var Sn=Array.isArray(on)?on:[on];!Hr.suppressWarning&&Sn.length&&rr.warning("async-validator:",Sn),Sn.length&&Ur.message!==void 0&&(Sn=[].concat(Ur.message));var va=Sn.map(Jt(Ur,Tr));if(Hr.first&&va.length)return Lr[Ur.field]=1,Ir(va);if(!_n)Ir(va);else{if(Ur.required&&!Or.value)return Ur.message!==void 0?va=[].concat(Ur.message).map(Jt(Ur,Tr)):Hr.error&&(va=[Hr.error(Ur,$(Hr.messages.required,Ur.field))]),Ir(va);var wi={};Ur.defaultField&&Object.keys(Or.value).map(function(si){wi[si]=Ur.defaultField}),wi=ae({},wi,Or.rule.fields);var _i={};Object.keys(wi).forEach(function(si){var Bi=wi[si],da=Array.isArray(Bi)?Bi:[Bi];_i[si]=da.map(Pr.bind(null,si))});var vn=new rr(_i);vn.messages(Hr.messages),Or.rule.options&&(Or.rule.options.messages=Hr.messages,Or.rule.options.error=Hr.error),vn.validate(Or.value,Or.rule.options||Hr,function(si){var Bi=[];va&&va.length&&Bi.push.apply(Bi,va),si&&si.length&&Bi.push.apply(Bi,si),Ir(Bi.length?Bi:null)})}}var nn;if(Ur.asyncValidator)nn=Ur.asyncValidator(Ur,Or.value,fn,Or.source,Hr);else if(Ur.validator){try{nn=Ur.validator(Ur,Or.value,fn,Or.source,Hr)}catch(on){console.error==null||console.error(on),Hr.suppressValidatorError||setTimeout(function(){throw on},0),fn(on.message)}nn===!0?fn():nn===!1?fn(typeof Ur.message=="function"?Ur.message(Ur.fullField||Ur.field):Ur.message||(Ur.fullField||Ur.field)+" fails"):nn instanceof Array?fn(nn):nn instanceof Error&&fn(nn.message)}nn&&nn.then&&nn.then(function(){return fn()},function(on){return fn(on)})},function(Or){Je(Or)},Tr)},_t.getType=function(It){if(It.type===void 0&&It.pattern instanceof RegExp&&(It.type="pattern"),typeof It.validator!="function"&&It.type&&!pe.hasOwnProperty(It.type))throw new Error($("Unknown rule type %s",It.type));return It.type||"string"},_t.getValidationMethod=function(It){if(typeof It.validator=="function")return It.validator;var pt=Object.keys(It),cr=pt.indexOf("message");return cr!==-1&&pt.splice(cr,1),pt.length===1&&pt[0]==="required"?pe.required:pe[this.getType(It)]||void 0},rr}();dt.register=function(_t,rt){if(typeof rt!="function")throw new Error("Cannot register a validator by type, validator is not a function");pe[_t]=rt},dt.warning=le,dt.messages=Te,dt.validators=pe;var Gt="'${name}' is not a valid ${type}",St={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:Gt,method:Gt,array:Gt,object:Gt,number:Gt,date:Gt,boolean:Gt,integer:Gt,float:Gt,regexp:Gt,email:Gt,url:Gt,hex:Gt},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Oe=e(24434),wt=dt;function be(rr,_t){return rr.replace(/\$\{\w+\}/g,function(rt){var It=rt.slice(2,-1);return _t[It]})}var Ke="CODE_LOGIC_ERROR";function gt(rr,_t,rt,It,pt){return Ft.apply(this,arguments)}function Ft(){return Ft=(0,f.Z)((0,c.Z)().mark(function rr(_t,rt,It,pt,cr){var dr,Tr,Hr,Ue,Je,Ee,st,nr,Lr;return(0,c.Z)().wrap(function(Ir){for(;;)switch(Ir.prev=Ir.next){case 0:return dr=(0,o.Z)({},It),delete dr.ruleIndex,wt.warning=function(){},dr.validator&&(Tr=dr.validator,dr.validator=function(){try{return Tr.apply(void 0,arguments)}catch(Ur){return console.error(Ur),Promise.reject(Ke)}}),Hr=null,dr&&dr.type==="array"&&dr.defaultField&&(Hr=dr.defaultField,delete dr.defaultField),Ue=new wt((0,_.Z)({},_t,[dr])),Je=(0,Oe.T)(St,pt.validateMessages),Ue.messages(Je),Ee=[],Ir.prev=10,Ir.next=13,Promise.resolve(Ue.validate((0,_.Z)({},_t,rt),(0,o.Z)({},pt)));case 13:Ir.next=18;break;case 15:Ir.prev=15,Ir.t0=Ir.catch(10),Ir.t0.errors&&(Ee=Ir.t0.errors.map(function(Ur,_n){var Pr=Ur.message,fn=Pr===Ke?Je.default:Pr;return r.isValidElement(fn)?r.cloneElement(fn,{key:"error_".concat(_n)}):fn}));case 18:if(!(!Ee.length&&Hr)){Ir.next=23;break}return Ir.next=21,Promise.all(rt.map(function(Ur,_n){return gt("".concat(_t,".").concat(_n),Ur,Hr,pt,cr)}));case 21:return st=Ir.sent,Ir.abrupt("return",st.reduce(function(Ur,_n){return[].concat((0,h.Z)(Ur),(0,h.Z)(_n))},[]));case 23:return nr=(0,o.Z)((0,o.Z)({},It),{},{name:_t,enum:(It.enum||[]).join(", ")},cr),Lr=Ee.map(function(Ur){return typeof Ur=="string"?be(Ur,nr):Ur}),Ir.abrupt("return",Lr);case 26:case"end":return Ir.stop()}},rr,null,[[10,15]])})),Ft.apply(this,arguments)}function Fe(rr,_t,rt,It,pt,cr){var dr=rr.join("."),Tr=rt.map(function(Je,Ee){var st=Je.validator,nr=(0,o.Z)((0,o.Z)({},Je),{},{ruleIndex:Ee});return st&&(nr.validator=function(Lr,Or,Ir){var Ur=!1,_n=function(){for(var nn=arguments.length,on=new Array(nn),Sn=0;Sn<nn;Sn++)on[Sn]=arguments[Sn];Promise.resolve().then(function(){(0,k.ZP)(!Ur,"Your validator function has already return a promise. `callback` will be ignored."),Ur||Ir.apply(void 0,on)})},Pr=st(Lr,Or,_n);Ur=Pr&&typeof Pr.then=="function"&&typeof Pr.catch=="function",(0,k.ZP)(Ur,"`callback` is deprecated. Please return a promise instead."),Ur&&Pr.then(function(){Ir()}).catch(function(fn){Ir(fn||" ")})}),nr}).sort(function(Je,Ee){var st=Je.warningOnly,nr=Je.ruleIndex,Lr=Ee.warningOnly,Or=Ee.ruleIndex;return!!st==!!Lr?nr-Or:st?1:-1}),Hr;if(pt===!0)Hr=new Promise(function(){var Je=(0,f.Z)((0,c.Z)().mark(function Ee(st,nr){var Lr,Or,Ir;return(0,c.Z)().wrap(function(_n){for(;;)switch(_n.prev=_n.next){case 0:Lr=0;case 1:if(!(Lr<Tr.length)){_n.next=12;break}return Or=Tr[Lr],_n.next=5,gt(dr,_t,Or,It,cr);case 5:if(Ir=_n.sent,!Ir.length){_n.next=9;break}return nr([{errors:Ir,rule:Or}]),_n.abrupt("return");case 9:Lr+=1,_n.next=1;break;case 12:st([]);case 13:case"end":return _n.stop()}},Ee)}));return function(Ee,st){return Je.apply(this,arguments)}}());else{var Ue=Tr.map(function(Je){return gt(dr,_t,Je,It,cr).then(function(Ee){return{errors:Ee,rule:Je}})});Hr=(pt?Gr(Ue):Dr(Ue)).then(function(Je){return Promise.reject(Je)})}return Hr.catch(function(Je){return Je}),Hr}function Dr(rr){return Ct.apply(this,arguments)}function Ct(){return Ct=(0,f.Z)((0,c.Z)().mark(function rr(_t){return(0,c.Z)().wrap(function(It){for(;;)switch(It.prev=It.next){case 0:return It.abrupt("return",Promise.all(_t).then(function(pt){var cr,dr=(cr=[]).concat.apply(cr,(0,h.Z)(pt));return dr}));case 1:case"end":return It.stop()}},rr)})),Ct.apply(this,arguments)}function Gr(rr){return Qr.apply(this,arguments)}function Qr(){return Qr=(0,f.Z)((0,c.Z)().mark(function rr(_t){var rt;return(0,c.Z)().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:return rt=0,pt.abrupt("return",new Promise(function(cr){_t.forEach(function(dr){dr.then(function(Tr){Tr.errors.length&&cr([Tr]),rt+=1,rt===_t.length&&cr([])})})}));case 2:case"end":return pt.stop()}},rr)})),Qr.apply(this,arguments)}var Cr=e(93664),Fr=e(97938);function mr(rr){return Y(rr)}function jr(rr,_t){var rt={};return _t.forEach(function(It){var pt=(0,Fr.Z)(rr,It);rt=(0,Oe.Z)(rt,It,pt)}),rt}function sn(rr,_t){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return rr&&rr.some(function(It){return cn(_t,It,rt)})}function cn(rr,_t){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!rr||!_t||!rt&&rr.length!==_t.length?!1:_t.every(function(It,pt){return rr[pt]===It})}function lr(rr,_t){if(rr===_t)return!0;if(!rr&&_t||rr&&!_t||!rr||!_t||(0,Cr.Z)(rr)!=="object"||(0,Cr.Z)(_t)!=="object")return!1;var rt=Object.keys(rr),It=Object.keys(_t),pt=new Set([].concat(rt,It));return(0,h.Z)(pt).every(function(cr){var dr=rr[cr],Tr=_t[cr];return typeof dr=="function"&&typeof Tr=="function"?!0:dr===Tr})}function Lt(rr){var _t=arguments.length<=1?void 0:arguments[1];return _t&&_t.target&&(0,Cr.Z)(_t.target)==="object"&&rr in _t.target?_t.target[rr]:_t}function mt(rr,_t,rt){var It=rr.length;if(_t<0||_t>=It||rt<0||rt>=It)return rr;var pt=rr[_t],cr=_t-rt;return cr>0?[].concat((0,h.Z)(rr.slice(0,rt)),[pt],(0,h.Z)(rr.slice(rt,_t)),(0,h.Z)(rr.slice(_t+1,It))):cr<0?[].concat((0,h.Z)(rr.slice(0,_t)),(0,h.Z)(rr.slice(_t+1,rt+1)),[pt],(0,h.Z)(rr.slice(rt+1,It))):rr}var vt=["name"],Ut=[];function Sr(rr,_t,rt,It,pt,cr){return typeof rr=="function"?rr(_t,rt,"source"in cr?{source:cr.source}:{}):It!==pt}var yr=function(rr){(0,p.Z)(rt,rr);var _t=(0,y.Z)(rt);function rt(It){var pt;if((0,u.Z)(this,rt),pt=_t.call(this,It),(0,_.Z)((0,x.Z)(pt),"state",{resetCount:0}),(0,_.Z)((0,x.Z)(pt),"cancelRegisterFunc",null),(0,_.Z)((0,x.Z)(pt),"mounted",!1),(0,_.Z)((0,x.Z)(pt),"touched",!1),(0,_.Z)((0,x.Z)(pt),"dirty",!1),(0,_.Z)((0,x.Z)(pt),"validatePromise",void 0),(0,_.Z)((0,x.Z)(pt),"prevValidating",void 0),(0,_.Z)((0,x.Z)(pt),"errors",Ut),(0,_.Z)((0,x.Z)(pt),"warnings",Ut),(0,_.Z)((0,x.Z)(pt),"cancelRegister",function(){var Hr=pt.props,Ue=Hr.preserve,Je=Hr.isListField,Ee=Hr.name;pt.cancelRegisterFunc&&pt.cancelRegisterFunc(Je,Ue,mr(Ee)),pt.cancelRegisterFunc=null}),(0,_.Z)((0,x.Z)(pt),"getNamePath",function(){var Hr=pt.props,Ue=Hr.name,Je=Hr.fieldContext,Ee=Je.prefixName,st=Ee===void 0?[]:Ee;return Ue!==void 0?[].concat((0,h.Z)(st),(0,h.Z)(Ue)):[]}),(0,_.Z)((0,x.Z)(pt),"getRules",function(){var Hr=pt.props,Ue=Hr.rules,Je=Ue===void 0?[]:Ue,Ee=Hr.fieldContext;return Je.map(function(st){return typeof st=="function"?st(Ee):st})}),(0,_.Z)((0,x.Z)(pt),"refresh",function(){pt.mounted&&pt.setState(function(Hr){var Ue=Hr.resetCount;return{resetCount:Ue+1}})}),(0,_.Z)((0,x.Z)(pt),"metaCache",null),(0,_.Z)((0,x.Z)(pt),"triggerMetaEvent",function(Hr){var Ue=pt.props.onMetaChange;if(Ue){var Je=(0,o.Z)((0,o.Z)({},pt.getMeta()),{},{destroy:Hr});(0,S.Z)(pt.metaCache,Je)||Ue(Je),pt.metaCache=Je}else pt.metaCache=null}),(0,_.Z)((0,x.Z)(pt),"onStoreChange",function(Hr,Ue,Je){var Ee=pt.props,st=Ee.shouldUpdate,nr=Ee.dependencies,Lr=nr===void 0?[]:nr,Or=Ee.onReset,Ir=Je.store,Ur=pt.getNamePath(),_n=pt.getValue(Hr),Pr=pt.getValue(Ir),fn=Ue&&sn(Ue,Ur);switch(Je.type==="valueUpdate"&&Je.source==="external"&&_n!==Pr&&(pt.touched=!0,pt.dirty=!0,pt.validatePromise=null,pt.errors=Ut,pt.warnings=Ut,pt.triggerMetaEvent()),Je.type){case"reset":if(!Ue||fn){pt.touched=!1,pt.dirty=!1,pt.validatePromise=void 0,pt.errors=Ut,pt.warnings=Ut,pt.triggerMetaEvent(),Or==null||Or(),pt.refresh();return}break;case"remove":{if(st){pt.reRender();return}break}case"setField":{var nn=Je.data;if(fn){"touched"in nn&&(pt.touched=nn.touched),"validating"in nn&&!("originRCField"in nn)&&(pt.validatePromise=nn.validating?Promise.resolve([]):null),"errors"in nn&&(pt.errors=nn.errors||Ut),"warnings"in nn&&(pt.warnings=nn.warnings||Ut),pt.dirty=!0,pt.triggerMetaEvent(),pt.reRender();return}else if("value"in nn&&sn(Ue,Ur,!0)){pt.reRender();return}if(st&&!Ur.length&&Sr(st,Hr,Ir,_n,Pr,Je)){pt.reRender();return}break}case"dependenciesUpdate":{var on=Lr.map(mr);if(on.some(function(Sn){return sn(Je.relatedFields,Sn)})){pt.reRender();return}break}default:if(fn||(!Lr.length||Ur.length||st)&&Sr(st,Hr,Ir,_n,Pr,Je)){pt.reRender();return}break}st===!0&&pt.reRender()}),(0,_.Z)((0,x.Z)(pt),"validateRules",function(Hr){var Ue=pt.getNamePath(),Je=pt.getValue(),Ee=Hr||{},st=Ee.triggerName,nr=Ee.validateOnly,Lr=nr===void 0?!1:nr,Or=Promise.resolve().then((0,f.Z)((0,c.Z)().mark(function Ir(){var Ur,_n,Pr,fn,nn,on,Sn;return(0,c.Z)().wrap(function(wi){for(;;)switch(wi.prev=wi.next){case 0:if(pt.mounted){wi.next=2;break}return wi.abrupt("return",[]);case 2:if(Ur=pt.props,_n=Ur.validateFirst,Pr=_n===void 0?!1:_n,fn=Ur.messageVariables,nn=Ur.validateDebounce,on=pt.getRules(),st&&(on=on.filter(function(_i){return _i}).filter(function(_i){var vn=_i.validateTrigger;if(!vn)return!0;var si=Y(vn);return si.includes(st)})),!(nn&&st)){wi.next=10;break}return wi.next=8,new Promise(function(_i){setTimeout(_i,nn)});case 8:if(pt.validatePromise===Or){wi.next=10;break}return wi.abrupt("return",[]);case 10:return Sn=Fe(Ue,Je,on,Hr,Pr,fn),Sn.catch(function(_i){return _i}).then(function(){var _i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ut;if(pt.validatePromise===Or){var vn;pt.validatePromise=null;var si=[],Bi=[];(vn=_i.forEach)===null||vn===void 0||vn.call(_i,function(da){var Ha=da.rule.warningOnly,Ta=da.errors,fs=Ta===void 0?Ut:Ta;Ha?Bi.push.apply(Bi,(0,h.Z)(fs)):si.push.apply(si,(0,h.Z)(fs))}),pt.errors=si,pt.warnings=Bi,pt.triggerMetaEvent(),pt.reRender()}}),wi.abrupt("return",Sn);case 13:case"end":return wi.stop()}},Ir)})));return Lr||(pt.validatePromise=Or,pt.dirty=!0,pt.errors=Ut,pt.warnings=Ut,pt.triggerMetaEvent(),pt.reRender()),Or}),(0,_.Z)((0,x.Z)(pt),"isFieldValidating",function(){return!!pt.validatePromise}),(0,_.Z)((0,x.Z)(pt),"isFieldTouched",function(){return pt.touched}),(0,_.Z)((0,x.Z)(pt),"isFieldDirty",function(){if(pt.dirty||pt.props.initialValue!==void 0)return!0;var Hr=pt.props.fieldContext,Ue=Hr.getInternalHooks(R),Je=Ue.getInitialValue;return Je(pt.getNamePath())!==void 0}),(0,_.Z)((0,x.Z)(pt),"getErrors",function(){return pt.errors}),(0,_.Z)((0,x.Z)(pt),"getWarnings",function(){return pt.warnings}),(0,_.Z)((0,x.Z)(pt),"isListField",function(){return pt.props.isListField}),(0,_.Z)((0,x.Z)(pt),"isList",function(){return pt.props.isList}),(0,_.Z)((0,x.Z)(pt),"isPreserve",function(){return pt.props.preserve}),(0,_.Z)((0,x.Z)(pt),"getMeta",function(){pt.prevValidating=pt.isFieldValidating();var Hr={touched:pt.isFieldTouched(),validating:pt.prevValidating,errors:pt.errors,warnings:pt.warnings,name:pt.getNamePath(),validated:pt.validatePromise===null};return Hr}),(0,_.Z)((0,x.Z)(pt),"getOnlyChild",function(Hr){if(typeof Hr=="function"){var Ue=pt.getMeta();return(0,o.Z)((0,o.Z)({},pt.getOnlyChild(Hr(pt.getControlled(),Ue,pt.props.fieldContext))),{},{isFunction:!0})}var Je=(0,b.Z)(Hr);return Je.length!==1||!r.isValidElement(Je[0])?{child:Je,isFunction:!1}:{child:Je[0],isFunction:!1}}),(0,_.Z)((0,x.Z)(pt),"getValue",function(Hr){var Ue=pt.props.fieldContext.getFieldsValue,Je=pt.getNamePath();return(0,Fr.Z)(Hr||Ue(!0),Je)}),(0,_.Z)((0,x.Z)(pt),"getControlled",function(){var Hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ue=pt.props,Je=Ue.trigger,Ee=Ue.validateTrigger,st=Ue.getValueFromEvent,nr=Ue.normalize,Lr=Ue.valuePropName,Or=Ue.getValueProps,Ir=Ue.fieldContext,Ur=Ee!==void 0?Ee:Ir.validateTrigger,_n=pt.getNamePath(),Pr=Ir.getInternalHooks,fn=Ir.getFieldsValue,nn=Pr(R),on=nn.dispatch,Sn=pt.getValue(),va=Or||function(si){return(0,_.Z)({},Lr,si)},wi=Hr[Je],_i=(0,o.Z)((0,o.Z)({},Hr),va(Sn));_i[Je]=function(){pt.touched=!0,pt.dirty=!0,pt.triggerMetaEvent();for(var si,Bi=arguments.length,da=new Array(Bi),Ha=0;Ha<Bi;Ha++)da[Ha]=arguments[Ha];st?si=st.apply(void 0,da):si=Lt.apply(void 0,[Lr].concat(da)),nr&&(si=nr(si,Sn,fn(!0))),on({type:"updateValue",namePath:_n,value:si}),wi&&wi.apply(void 0,da)};var vn=Y(Ur||[]);return vn.forEach(function(si){var Bi=_i[si];_i[si]=function(){Bi&&Bi.apply(void 0,arguments);var da=pt.props.rules;da&&da.length&&on({type:"validateField",namePath:_n,triggerName:si})}}),_i}),It.fieldContext){var cr=It.fieldContext.getInternalHooks,dr=cr(R),Tr=dr.initEntityValue;Tr((0,x.Z)(pt))}return pt}return(0,a.Z)(rt,[{key:"componentDidMount",value:function(){var pt=this.props,cr=pt.shouldUpdate,dr=pt.fieldContext;if(this.mounted=!0,dr){var Tr=dr.getInternalHooks,Hr=Tr(R),Ue=Hr.registerField;this.cancelRegisterFunc=Ue(this)}cr===!0&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var pt=this.state.resetCount,cr=this.props.children,dr=this.getOnlyChild(cr),Tr=dr.child,Hr=dr.isFunction,Ue;return Hr?Ue=Tr:r.isValidElement(Tr)?Ue=r.cloneElement(Tr,this.getControlled(Tr.props)):((0,k.ZP)(!Tr,"`children` of Field is not validate ReactElement."),Ue=Tr),r.createElement(r.Fragment,{key:pt},Ue)}}]),rt}(r.Component);(0,_.Z)(yr,"contextType",M),(0,_.Z)(yr,"defaultProps",{trigger:"onChange",valuePropName:"value"});function it(rr){var _t=rr.name,rt=(0,l.Z)(rr,vt),It=r.useContext(M),pt=r.useContext(j),cr=_t!==void 0?mr(_t):void 0,dr="keep";return rt.isListField||(dr="_".concat((cr||[]).join("_"))),r.createElement(yr,(0,i.Z)({key:dr,name:cr,isListField:!!pt},rt,{fieldContext:It}))}var Br=it;function gn(rr){var _t=rr.name,rt=rr.initialValue,It=rr.children,pt=rr.rules,cr=rr.validateTrigger,dr=rr.isListField,Tr=r.useContext(M),Hr=r.useContext(j),Ue=r.useRef({keys:[],id:0}),Je=Ue.current,Ee=r.useMemo(function(){var Or=mr(Tr.prefixName)||[];return[].concat((0,h.Z)(Or),(0,h.Z)(mr(_t)))},[Tr.prefixName,_t]),st=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},Tr),{},{prefixName:Ee})},[Tr,Ee]),nr=r.useMemo(function(){return{getKey:function(Ir){var Ur=Ee.length,_n=Ir[Ur];return[Je.keys[_n],Ir.slice(Ur+1)]}}},[Ee]);if(typeof It!="function")return(0,k.ZP)(!1,"Form.List only accepts function as children."),null;var Lr=function(Ir,Ur,_n){var Pr=_n.source;return Pr==="internal"?!1:Ir!==Ur};return r.createElement(j.Provider,{value:nr},r.createElement(M.Provider,{value:st},r.createElement(Br,{name:[],shouldUpdate:Lr,rules:pt,validateTrigger:cr,initialValue:rt,isList:!0,isListField:dr!=null?dr:!!Hr},function(Or,Ir){var Ur=Or.value,_n=Ur===void 0?[]:Ur,Pr=Or.onChange,fn=Tr.getFieldValue,nn=function(){var wi=fn(Ee||[]);return wi||[]},on={add:function(wi,_i){var vn=nn();_i>=0&&_i<=vn.length?(Je.keys=[].concat((0,h.Z)(Je.keys.slice(0,_i)),[Je.id],(0,h.Z)(Je.keys.slice(_i))),Pr([].concat((0,h.Z)(vn.slice(0,_i)),[wi],(0,h.Z)(vn.slice(_i))))):(Je.keys=[].concat((0,h.Z)(Je.keys),[Je.id]),Pr([].concat((0,h.Z)(vn),[wi]))),Je.id+=1},remove:function(wi){var _i=nn(),vn=new Set(Array.isArray(wi)?wi:[wi]);vn.size<=0||(Je.keys=Je.keys.filter(function(si,Bi){return!vn.has(Bi)}),Pr(_i.filter(function(si,Bi){return!vn.has(Bi)})))},move:function(wi,_i){if(wi!==_i){var vn=nn();wi<0||wi>=vn.length||_i<0||_i>=vn.length||(Je.keys=mt(Je.keys,wi,_i),Pr(mt(vn,wi,_i)))}}},Sn=_n||[];return Array.isArray(Sn)||(Sn=[]),It(Sn.map(function(va,wi){var _i=Je.keys[wi];return _i===void 0&&(Je.keys[wi]=Je.id,_i=Je.keys[wi],Je.id+=1),{name:wi,key:_i,isListField:!0}}),on,Ir)})))}var zn=gn,gr=e(50298);function tn(rr){var _t=!1,rt=rr.length,It=[];return rr.length?new Promise(function(pt,cr){rr.forEach(function(dr,Tr){dr.catch(function(Hr){return _t=!0,Hr}).then(function(Hr){rt-=1,It[Tr]=Hr,!(rt>0)&&(_t&&cr(It),pt(It))})})}):Promise.resolve([])}var pn="__@field_split__";function Fn(rr){return rr.map(function(_t){return"".concat((0,Cr.Z)(_t),":").concat(_t)}).join(pn)}var Tn=function(){function rr(){(0,u.Z)(this,rr),(0,_.Z)(this,"kvs",new Map)}return(0,a.Z)(rr,[{key:"set",value:function(rt,It){this.kvs.set(Fn(rt),It)}},{key:"get",value:function(rt){return this.kvs.get(Fn(rt))}},{key:"update",value:function(rt,It){var pt=this.get(rt),cr=It(pt);cr?this.set(rt,cr):this.delete(rt)}},{key:"delete",value:function(rt){this.kvs.delete(Fn(rt))}},{key:"map",value:function(rt){return(0,h.Z)(this.kvs.entries()).map(function(It){var pt=(0,gr.Z)(It,2),cr=pt[0],dr=pt[1],Tr=cr.split(pn);return rt({key:Tr.map(function(Hr){var Ue=Hr.match(/^([^:]*):(.*)$/),Je=(0,gr.Z)(Ue,3),Ee=Je[1],st=Je[2];return Ee==="number"?Number(st):st}),value:dr})})}},{key:"toJSON",value:function(){var rt={};return this.map(function(It){var pt=It.key,cr=It.value;return rt[pt.join(".")]=cr,null}),rt}}]),rr}(),oi=Tn,Pi=["name"],Li=(0,a.Z)(function rr(_t){var rt=this;(0,u.Z)(this,rr),(0,_.Z)(this,"formHooked",!1),(0,_.Z)(this,"forceRootUpdate",void 0),(0,_.Z)(this,"subscribable",!0),(0,_.Z)(this,"store",{}),(0,_.Z)(this,"fieldEntities",[]),(0,_.Z)(this,"initialValues",{}),(0,_.Z)(this,"callbacks",{}),(0,_.Z)(this,"validateMessages",null),(0,_.Z)(this,"preserve",null),(0,_.Z)(this,"lastValidatePromise",null),(0,_.Z)(this,"getForm",function(){return{getFieldValue:rt.getFieldValue,getFieldsValue:rt.getFieldsValue,getFieldError:rt.getFieldError,getFieldWarning:rt.getFieldWarning,getFieldsError:rt.getFieldsError,isFieldsTouched:rt.isFieldsTouched,isFieldTouched:rt.isFieldTouched,isFieldValidating:rt.isFieldValidating,isFieldsValidating:rt.isFieldsValidating,resetFields:rt.resetFields,setFields:rt.setFields,setFieldValue:rt.setFieldValue,setFieldsValue:rt.setFieldsValue,validateFields:rt.validateFields,submit:rt.submit,_init:!0,getInternalHooks:rt.getInternalHooks}}),(0,_.Z)(this,"getInternalHooks",function(It){return It===R?(rt.formHooked=!0,{dispatch:rt.dispatch,initEntityValue:rt.initEntityValue,registerField:rt.registerField,useSubscribe:rt.useSubscribe,setInitialValues:rt.setInitialValues,destroyForm:rt.destroyForm,setCallbacks:rt.setCallbacks,setValidateMessages:rt.setValidateMessages,getFields:rt.getFields,setPreserve:rt.setPreserve,getInitialValue:rt.getInitialValue,registerWatch:rt.registerWatch}):((0,k.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,_.Z)(this,"useSubscribe",function(It){rt.subscribable=It}),(0,_.Z)(this,"prevWithoutPreserves",null),(0,_.Z)(this,"setInitialValues",function(It,pt){if(rt.initialValues=It||{},pt){var cr,dr=(0,Oe.T)(It,rt.store);(cr=rt.prevWithoutPreserves)===null||cr===void 0||cr.map(function(Tr){var Hr=Tr.key;dr=(0,Oe.Z)(dr,Hr,(0,Fr.Z)(It,Hr))}),rt.prevWithoutPreserves=null,rt.updateStore(dr)}}),(0,_.Z)(this,"destroyForm",function(){var It=new oi;rt.getFieldEntities(!0).forEach(function(pt){rt.isMergedPreserve(pt.isPreserve())||It.set(pt.getNamePath(),!0)}),rt.prevWithoutPreserves=It}),(0,_.Z)(this,"getInitialValue",function(It){var pt=(0,Fr.Z)(rt.initialValues,It);return It.length?(0,Oe.T)(pt):pt}),(0,_.Z)(this,"setCallbacks",function(It){rt.callbacks=It}),(0,_.Z)(this,"setValidateMessages",function(It){rt.validateMessages=It}),(0,_.Z)(this,"setPreserve",function(It){rt.preserve=It}),(0,_.Z)(this,"watchList",[]),(0,_.Z)(this,"registerWatch",function(It){return rt.watchList.push(It),function(){rt.watchList=rt.watchList.filter(function(pt){return pt!==It})}}),(0,_.Z)(this,"notifyWatch",function(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(rt.watchList.length){var pt=rt.getFieldsValue(),cr=rt.getFieldsValue(!0);rt.watchList.forEach(function(dr){dr(pt,cr,It)})}}),(0,_.Z)(this,"timeoutId",null),(0,_.Z)(this,"warningUnhooked",function(){}),(0,_.Z)(this,"updateStore",function(It){rt.store=It}),(0,_.Z)(this,"getFieldEntities",function(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return It?rt.fieldEntities.filter(function(pt){return pt.getNamePath().length}):rt.fieldEntities}),(0,_.Z)(this,"getFieldsMap",function(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,pt=new oi;return rt.getFieldEntities(It).forEach(function(cr){var dr=cr.getNamePath();pt.set(dr,cr)}),pt}),(0,_.Z)(this,"getFieldEntitiesForNamePathList",function(It){if(!It)return rt.getFieldEntities(!0);var pt=rt.getFieldsMap(!0);return It.map(function(cr){var dr=mr(cr);return pt.get(dr)||{INVALIDATE_NAME_PATH:mr(cr)}})}),(0,_.Z)(this,"getFieldsValue",function(It,pt){rt.warningUnhooked();var cr,dr,Tr;if(It===!0||Array.isArray(It)?(cr=It,dr=pt):It&&(0,Cr.Z)(It)==="object"&&(Tr=It.strict,dr=It.filter),cr===!0&&!dr)return rt.store;var Hr=rt.getFieldEntitiesForNamePathList(Array.isArray(cr)?cr:null),Ue=[];return Hr.forEach(function(Je){var Ee,st,nr="INVALIDATE_NAME_PATH"in Je?Je.INVALIDATE_NAME_PATH:Je.getNamePath();if(Tr){var Lr,Or;if((Lr=(Or=Je).isList)!==null&&Lr!==void 0&&Lr.call(Or))return}else if(!cr&&(Ee=(st=Je).isListField)!==null&&Ee!==void 0&&Ee.call(st))return;if(!dr)Ue.push(nr);else{var Ir="getMeta"in Je?Je.getMeta():null;dr(Ir)&&Ue.push(nr)}}),jr(rt.store,Ue.map(mr))}),(0,_.Z)(this,"getFieldValue",function(It){rt.warningUnhooked();var pt=mr(It);return(0,Fr.Z)(rt.store,pt)}),(0,_.Z)(this,"getFieldsError",function(It){rt.warningUnhooked();var pt=rt.getFieldEntitiesForNamePathList(It);return pt.map(function(cr,dr){return cr&&!("INVALIDATE_NAME_PATH"in cr)?{name:cr.getNamePath(),errors:cr.getErrors(),warnings:cr.getWarnings()}:{name:mr(It[dr]),errors:[],warnings:[]}})}),(0,_.Z)(this,"getFieldError",function(It){rt.warningUnhooked();var pt=mr(It),cr=rt.getFieldsError([pt])[0];return cr.errors}),(0,_.Z)(this,"getFieldWarning",function(It){rt.warningUnhooked();var pt=mr(It),cr=rt.getFieldsError([pt])[0];return cr.warnings}),(0,_.Z)(this,"isFieldsTouched",function(){rt.warningUnhooked();for(var It=arguments.length,pt=new Array(It),cr=0;cr<It;cr++)pt[cr]=arguments[cr];var dr=pt[0],Tr=pt[1],Hr,Ue=!1;pt.length===0?Hr=null:pt.length===1?Array.isArray(dr)?(Hr=dr.map(mr),Ue=!1):(Hr=null,Ue=dr):(Hr=dr.map(mr),Ue=Tr);var Je=rt.getFieldEntities(!0),Ee=function(Ir){return Ir.isFieldTouched()};if(!Hr)return Ue?Je.every(Ee):Je.some(Ee);var st=new oi;Hr.forEach(function(Or){st.set(Or,[])}),Je.forEach(function(Or){var Ir=Or.getNamePath();Hr.forEach(function(Ur){Ur.every(function(_n,Pr){return Ir[Pr]===_n})&&st.update(Ur,function(_n){return[].concat((0,h.Z)(_n),[Or])})})});var nr=function(Ir){return Ir.some(Ee)},Lr=st.map(function(Or){var Ir=Or.value;return Ir});return Ue?Lr.every(nr):Lr.some(nr)}),(0,_.Z)(this,"isFieldTouched",function(It){return rt.warningUnhooked(),rt.isFieldsTouched([It])}),(0,_.Z)(this,"isFieldsValidating",function(It){rt.warningUnhooked();var pt=rt.getFieldEntities();if(!It)return pt.some(function(dr){return dr.isFieldValidating()});var cr=It.map(mr);return pt.some(function(dr){var Tr=dr.getNamePath();return sn(cr,Tr)&&dr.isFieldValidating()})}),(0,_.Z)(this,"isFieldValidating",function(It){return rt.warningUnhooked(),rt.isFieldsValidating([It])}),(0,_.Z)(this,"resetWithFieldInitialValue",function(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pt=new oi,cr=rt.getFieldEntities(!0);cr.forEach(function(Hr){var Ue=Hr.props.initialValue,Je=Hr.getNamePath();if(Ue!==void 0){var Ee=pt.get(Je)||new Set;Ee.add({entity:Hr,value:Ue}),pt.set(Je,Ee)}});var dr=function(Ue){Ue.forEach(function(Je){var Ee=Je.props.initialValue;if(Ee!==void 0){var st=Je.getNamePath(),nr=rt.getInitialValue(st);if(nr!==void 0)(0,k.ZP)(!1,"Form already set 'initialValues' with path '".concat(st.join("."),"'. Field can not overwrite it."));else{var Lr=pt.get(st);if(Lr&&Lr.size>1)(0,k.ZP)(!1,"Multiple Field with path '".concat(st.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(Lr){var Or=rt.getFieldValue(st);(!It.skipExist||Or===void 0)&&rt.updateStore((0,Oe.Z)(rt.store,st,(0,h.Z)(Lr)[0].value))}}}})},Tr;It.entities?Tr=It.entities:It.namePathList?(Tr=[],It.namePathList.forEach(function(Hr){var Ue=pt.get(Hr);if(Ue){var Je;(Je=Tr).push.apply(Je,(0,h.Z)((0,h.Z)(Ue).map(function(Ee){return Ee.entity})))}})):Tr=cr,dr(Tr)}),(0,_.Z)(this,"resetFields",function(It){rt.warningUnhooked();var pt=rt.store;if(!It){rt.updateStore((0,Oe.T)(rt.initialValues)),rt.resetWithFieldInitialValue(),rt.notifyObservers(pt,null,{type:"reset"}),rt.notifyWatch();return}var cr=It.map(mr);cr.forEach(function(dr){var Tr=rt.getInitialValue(dr);rt.updateStore((0,Oe.Z)(rt.store,dr,Tr))}),rt.resetWithFieldInitialValue({namePathList:cr}),rt.notifyObservers(pt,cr,{type:"reset"}),rt.notifyWatch(cr)}),(0,_.Z)(this,"setFields",function(It){rt.warningUnhooked();var pt=rt.store,cr=[];It.forEach(function(dr){var Tr=dr.name,Hr=(0,l.Z)(dr,Pi),Ue=mr(Tr);cr.push(Ue),"value"in Hr&&rt.updateStore((0,Oe.Z)(rt.store,Ue,Hr.value)),rt.notifyObservers(pt,[Ue],{type:"setField",data:dr})}),rt.notifyWatch(cr)}),(0,_.Z)(this,"getFields",function(){var It=rt.getFieldEntities(!0),pt=It.map(function(cr){var dr=cr.getNamePath(),Tr=cr.getMeta(),Hr=(0,o.Z)((0,o.Z)({},Tr),{},{name:dr,value:rt.getFieldValue(dr)});return Object.defineProperty(Hr,"originRCField",{value:!0}),Hr});return pt}),(0,_.Z)(this,"initEntityValue",function(It){var pt=It.props.initialValue;if(pt!==void 0){var cr=It.getNamePath(),dr=(0,Fr.Z)(rt.store,cr);dr===void 0&&rt.updateStore((0,Oe.Z)(rt.store,cr,pt))}}),(0,_.Z)(this,"isMergedPreserve",function(It){var pt=It!==void 0?It:rt.preserve;return pt!=null?pt:!0}),(0,_.Z)(this,"registerField",function(It){rt.fieldEntities.push(It);var pt=It.getNamePath();if(rt.notifyWatch([pt]),It.props.initialValue!==void 0){var cr=rt.store;rt.resetWithFieldInitialValue({entities:[It],skipExist:!0}),rt.notifyObservers(cr,[It.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(dr,Tr){var Hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(rt.fieldEntities=rt.fieldEntities.filter(function(Ee){return Ee!==It}),!rt.isMergedPreserve(Tr)&&(!dr||Hr.length>1)){var Ue=dr?void 0:rt.getInitialValue(pt);if(pt.length&&rt.getFieldValue(pt)!==Ue&&rt.fieldEntities.every(function(Ee){return!cn(Ee.getNamePath(),pt)})){var Je=rt.store;rt.updateStore((0,Oe.Z)(Je,pt,Ue,!0)),rt.notifyObservers(Je,[pt],{type:"remove"}),rt.triggerDependenciesUpdate(Je,pt)}}rt.notifyWatch([pt])}}),(0,_.Z)(this,"dispatch",function(It){switch(It.type){case"updateValue":{var pt=It.namePath,cr=It.value;rt.updateValue(pt,cr);break}case"validateField":{var dr=It.namePath,Tr=It.triggerName;rt.validateFields([dr],{triggerName:Tr});break}default:}}),(0,_.Z)(this,"notifyObservers",function(It,pt,cr){if(rt.subscribable){var dr=(0,o.Z)((0,o.Z)({},cr),{},{store:rt.getFieldsValue(!0)});rt.getFieldEntities().forEach(function(Tr){var Hr=Tr.onStoreChange;Hr(It,pt,dr)})}else rt.forceRootUpdate()}),(0,_.Z)(this,"triggerDependenciesUpdate",function(It,pt){var cr=rt.getDependencyChildrenFields(pt);return cr.length&&rt.validateFields(cr),rt.notifyObservers(It,cr,{type:"dependenciesUpdate",relatedFields:[pt].concat((0,h.Z)(cr))}),cr}),(0,_.Z)(this,"updateValue",function(It,pt){var cr=mr(It),dr=rt.store;rt.updateStore((0,Oe.Z)(rt.store,cr,pt)),rt.notifyObservers(dr,[cr],{type:"valueUpdate",source:"internal"}),rt.notifyWatch([cr]);var Tr=rt.triggerDependenciesUpdate(dr,cr),Hr=rt.callbacks.onValuesChange;if(Hr){var Ue=jr(rt.store,[cr]);Hr(Ue,rt.getFieldsValue())}rt.triggerOnFieldsChange([cr].concat((0,h.Z)(Tr)))}),(0,_.Z)(this,"setFieldsValue",function(It){rt.warningUnhooked();var pt=rt.store;if(It){var cr=(0,Oe.T)(rt.store,It);rt.updateStore(cr)}rt.notifyObservers(pt,null,{type:"valueUpdate",source:"external"}),rt.notifyWatch()}),(0,_.Z)(this,"setFieldValue",function(It,pt){rt.setFields([{name:It,value:pt}])}),(0,_.Z)(this,"getDependencyChildrenFields",function(It){var pt=new Set,cr=[],dr=new oi;rt.getFieldEntities().forEach(function(Hr){var Ue=Hr.props.dependencies;(Ue||[]).forEach(function(Je){var Ee=mr(Je);dr.update(Ee,function(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return st.add(Hr),st})})});var Tr=function Hr(Ue){var Je=dr.get(Ue)||new Set;Je.forEach(function(Ee){if(!pt.has(Ee)){pt.add(Ee);var st=Ee.getNamePath();Ee.isFieldDirty()&&st.length&&(cr.push(st),Hr(st))}})};return Tr(It),cr}),(0,_.Z)(this,"triggerOnFieldsChange",function(It,pt){var cr=rt.callbacks.onFieldsChange;if(cr){var dr=rt.getFields();if(pt){var Tr=new oi;pt.forEach(function(Ue){var Je=Ue.name,Ee=Ue.errors;Tr.set(Je,Ee)}),dr.forEach(function(Ue){Ue.errors=Tr.get(Ue.name)||Ue.errors})}var Hr=dr.filter(function(Ue){var Je=Ue.name;return sn(It,Je)});Hr.length&&cr(Hr,dr)}}),(0,_.Z)(this,"validateFields",function(It,pt){var cr;rt.warningUnhooked();var dr,Tr;Array.isArray(It)||typeof It=="string"||typeof pt=="string"?(dr=It,Tr=pt):Tr=It;var Hr=!!dr,Ue=Hr?dr.map(mr):[],Je=[],Ee=String(Date.now()),st=new Set,nr=(cr=Tr)===null||cr===void 0?void 0:cr.recursive;rt.getFieldEntities(!0).forEach(function(Ur){if(Hr||Ue.push(Ur.getNamePath()),!(!Ur.props.rules||!Ur.props.rules.length)){var _n=Ur.getNamePath();if(st.add(_n.join(Ee)),!Hr||sn(Ue,_n,nr)){var Pr=Ur.validateRules((0,o.Z)({validateMessages:(0,o.Z)((0,o.Z)({},St),rt.validateMessages)},Tr));Je.push(Pr.then(function(){return{name:_n,errors:[],warnings:[]}}).catch(function(fn){var nn,on=[],Sn=[];return(nn=fn.forEach)===null||nn===void 0||nn.call(fn,function(va){var wi=va.rule.warningOnly,_i=va.errors;wi?Sn.push.apply(Sn,(0,h.Z)(_i)):on.push.apply(on,(0,h.Z)(_i))}),on.length?Promise.reject({name:_n,errors:on,warnings:Sn}):{name:_n,errors:on,warnings:Sn}}))}}});var Lr=tn(Je);rt.lastValidatePromise=Lr,Lr.catch(function(Ur){return Ur}).then(function(Ur){var _n=Ur.map(function(Pr){var fn=Pr.name;return fn});rt.notifyObservers(rt.store,_n,{type:"validateFinish"}),rt.triggerOnFieldsChange(_n,Ur)});var Or=Lr.then(function(){return rt.lastValidatePromise===Lr?Promise.resolve(rt.getFieldsValue(Ue)):Promise.reject([])}).catch(function(Ur){var _n=Ur.filter(function(Pr){return Pr&&Pr.errors.length});return Promise.reject({values:rt.getFieldsValue(Ue),errorFields:_n,outOfDate:rt.lastValidatePromise!==Lr})});Or.catch(function(Ur){return Ur});var Ir=Ue.filter(function(Ur){return st.has(Ur.join(Ee))});return rt.triggerOnFieldsChange(Ir),Or}),(0,_.Z)(this,"submit",function(){rt.warningUnhooked(),rt.validateFields().then(function(It){var pt=rt.callbacks.onFinish;if(pt)try{pt(It)}catch(cr){console.error(cr)}}).catch(function(It){var pt=rt.callbacks.onFinishFailed;pt&&pt(It)})}),this.forceRootUpdate=_t});function Si(rr){var _t=r.useRef(),rt=r.useState({}),It=(0,gr.Z)(rt,2),pt=It[1];if(!_t.current)if(rr)_t.current=rr;else{var cr=function(){pt({})},dr=new Li(cr);_t.current=dr.getForm()}return[_t.current]}var gi=Si,ii=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),na=function(_t){var rt=_t.validateMessages,It=_t.onFormChange,pt=_t.onFormFinish,cr=_t.children,dr=r.useContext(ii),Tr=r.useRef({});return r.createElement(ii.Provider,{value:(0,o.Z)((0,o.Z)({},dr),{},{validateMessages:(0,o.Z)((0,o.Z)({},dr.validateMessages),rt),triggerFormChange:function(Ue,Je){It&&It(Ue,{changedFields:Je,forms:Tr.current}),dr.triggerFormChange(Ue,Je)},triggerFormFinish:function(Ue,Je){pt&&pt(Ue,{values:Je,forms:Tr.current}),dr.triggerFormFinish(Ue,Je)},registerForm:function(Ue,Je){Ue&&(Tr.current=(0,o.Z)((0,o.Z)({},Tr.current),{},(0,_.Z)({},Ue,Je))),dr.registerForm(Ue,Je)},unregisterForm:function(Ue){var Je=(0,o.Z)({},Tr.current);delete Je[Ue],Tr.current=Je,dr.unregisterForm(Ue)}})},cr)},ni=ii,Ji=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],bt=function(_t,rt){var It=_t.name,pt=_t.initialValues,cr=_t.fields,dr=_t.form,Tr=_t.preserve,Hr=_t.children,Ue=_t.component,Je=Ue===void 0?"form":Ue,Ee=_t.validateMessages,st=_t.validateTrigger,nr=st===void 0?"onChange":st,Lr=_t.onValuesChange,Or=_t.onFieldsChange,Ir=_t.onFinish,Ur=_t.onFinishFailed,_n=(0,l.Z)(_t,Ji),Pr=r.useContext(ni),fn=gi(dr),nn=(0,gr.Z)(fn,1),on=nn[0],Sn=on.getInternalHooks(R),va=Sn.useSubscribe,wi=Sn.setInitialValues,_i=Sn.setCallbacks,vn=Sn.setValidateMessages,si=Sn.setPreserve,Bi=Sn.destroyForm;r.useImperativeHandle(rt,function(){return on}),r.useEffect(function(){return Pr.registerForm(It,on),function(){Pr.unregisterForm(It)}},[Pr,on,It]),vn((0,o.Z)((0,o.Z)({},Pr.validateMessages),Ee)),_i({onValuesChange:Lr,onFieldsChange:function(os){if(Pr.triggerFormChange(It,os),Or){for(var Ga=arguments.length,Is=new Array(Ga>1?Ga-1:0),Yi=1;Yi<Ga;Yi++)Is[Yi-1]=arguments[Yi];Or.apply(void 0,[os].concat(Is))}},onFinish:function(os){Pr.triggerFormFinish(It,os),Ir&&Ir(os)},onFinishFailed:Ur}),si(Tr);var da=r.useRef(null);wi(pt,!da.current),da.current||(da.current=!0),r.useEffect(function(){return Bi},[]);var Ha,Ta=typeof Hr=="function";if(Ta){var fs=on.getFieldsValue(!0);Ha=Hr(fs,on)}else Ha=Hr;va(!Ta);var Es=r.useRef();r.useEffect(function(){lr(Es.current||[],cr||[])||on.setFields(cr||[]),Es.current=cr},[cr,on]);var Wa=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},on),{},{validateTrigger:nr})},[on,nr]),mi=r.createElement(j.Provider,{value:null},r.createElement(M.Provider,{value:Wa},Ha));return Je===!1?mi:r.createElement(Je,(0,i.Z)({},_n,{onSubmit:function(os){os.preventDefault(),os.stopPropagation(),on.submit()},onReset:function(os){var Ga;os.preventDefault(),on.resetFields(),(Ga=_n.onReset)===null||Ga===void 0||Ga.call(_n,os)}}),mi)},lt=bt;function Qn(rr){try{return JSON.stringify(rr)}catch(_t){return Math.random()}}var yi=function(){};function ei(){for(var rr=arguments.length,_t=new Array(rr),rt=0;rt<rr;rt++)_t[rt]=arguments[rt];var It=_t[0],pt=It===void 0?[]:It,cr=_t[1],dr=cr===void 0?{}:cr,Tr=V(dr)?{form:dr}:dr,Hr=Tr.form,Ue=(0,r.useState)(),Je=(0,gr.Z)(Ue,2),Ee=Je[0],st=Je[1],nr=(0,r.useMemo)(function(){return Qn(Ee)},[Ee]),Lr=(0,r.useRef)(nr);Lr.current=nr;var Or=(0,r.useContext)(M),Ir=Hr||Or,Ur=Ir&&Ir._init,_n=mr(pt),Pr=(0,r.useRef)(_n);return Pr.current=_n,yi(_n),(0,r.useEffect)(function(){if(Ur){var fn=Ir.getFieldsValue,nn=Ir.getInternalHooks,on=nn(R),Sn=on.registerWatch,va=Sn(function(_i,vn){var si=(0,Fr.Z)(Tr.preserve?vn:_i,Pr.current),Bi=Qn(si);Lr.current!==Bi&&(Lr.current=Bi,st(si))}),wi=(0,Fr.Z)(Tr.preserve?fn(!0):fn(),Pr.current);return Ee!==wi&&st(wi),va}},[Ur]),Ee}var Ki=ei,bi=r.forwardRef(lt),qn=bi;qn.FormProvider=na,qn.Field=Br,qn.List=zn,qn.useForm=gi,qn.useWatch=Ki;var An=qn},77900:function(d,v,e){"use strict";e.r(v),e.d(v,{CSSMotionList:function(){return We},Provider:function(){return _},default:function(){return fe}});var r=e(4635),i=e(20439),l=e(50298),c=e(93664),f=e(92310),o=e.n(f),h=e(76846),u=e(8654),a=e(59301),x=e(62646),p=["children"],y=a.createContext({});function _(pe){var Ot=pe.children,Te=(0,x.Z)(pe,p);return a.createElement(y.Provider,{value:Te},Ot)}var b=e(99153),S=e(84851),k=e(19257),R=e(93046),A=function(pe){(0,k.Z)(Te,pe);var Ot=(0,R.Z)(Te);function Te(){return(0,b.Z)(this,Te),Ot.apply(this,arguments)}return(0,S.Z)(Te,[{key:"render",value:function(){return this.props.children}}]),Te}(a.Component),D=A,M=e(70425),B=e(41799),j=e(6089);function Y(pe){var Ot=a.useReducer(function(wt){return wt+1},0),Te=(0,l.Z)(Ot,2),dt=Te[1],Gt=a.useRef(pe),St=(0,j.Z)(function(){return Gt.current}),Oe=(0,j.Z)(function(wt){Gt.current=typeof wt=="function"?wt(Gt.current):wt,dt()});return[St,Oe]}var V="none",G="appear",ae="enter",ie="leave",ue="none",q="prepare",J="start",K="active",oe="end",ee="prepared",Q=e(47273);function le(pe,Ot){var Te={};return Te[pe.toLowerCase()]=Ot.toLowerCase(),Te["Webkit".concat(pe)]="webkit".concat(Ot),Te["Moz".concat(pe)]="moz".concat(Ot),Te["ms".concat(pe)]="MS".concat(Ot),Te["O".concat(pe)]="o".concat(Ot.toLowerCase()),Te}function Z(pe,Ot){var Te={animationend:le("Animation","AnimationEnd"),transitionend:le("Transition","TransitionEnd")};return pe&&("AnimationEvent"in Ot||delete Te.animationend.animation,"TransitionEvent"in Ot||delete Te.transitionend.transition),Te}var $=Z((0,Q.Z)(),typeof window!="undefined"?window:{}),se={};if((0,Q.Z)()){var _e=document.createElement("div");se=_e.style}var De={};function ke(pe){if(De[pe])return De[pe];var Ot=$[pe];if(Ot)for(var Te=Object.keys(Ot),dt=Te.length,Gt=0;Gt<dt;Gt+=1){var St=Te[Gt];if(Object.prototype.hasOwnProperty.call(Ot,St)&&St in se)return De[pe]=Ot[St],De[pe]}return""}var Ze=ke("animationend"),Ne=ke("transitionend"),Bt=!!(Ze&&Ne),yt=Ze||"animationend",Dt=Ne||"transitionend";function Jt(pe,Ot){if(!pe)return null;if((0,c.Z)(pe)==="object"){var Te=Ot.replace(/-\w/g,function(dt){return dt[1].toUpperCase()});return pe[Te]}return"".concat(pe,"-").concat(Ot)}var er=function(pe){var Ot=(0,a.useRef)();function Te(Gt){Gt&&(Gt.removeEventListener(Dt,pe),Gt.removeEventListener(yt,pe))}function dt(Gt){Ot.current&&Ot.current!==Gt&&Te(Ot.current),Gt&&Gt!==Ot.current&&(Gt.addEventListener(Dt,pe),Gt.addEventListener(yt,pe),Ot.current=Gt)}return a.useEffect(function(){return function(){Te(Ot.current)}},[]),[dt,Te]},tr=(0,Q.Z)()?a.useLayoutEffect:a.useEffect,Xe=tr,Pt=e(16089),Zt=function(){var pe=a.useRef(null);function Ot(){Pt.Z.cancel(pe.current)}function Te(dt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Ot();var St=(0,Pt.Z)(function(){Gt<=1?dt({isCanceled:function(){return St!==pe.current}}):Te(dt,Gt-1)});pe.current=St}return a.useEffect(function(){return function(){Ot()}},[]),[Te,Ot]},ot=[q,J,K,oe],xt=[q,ee],ht=!1,et=!0;function je(pe){return pe===K||pe===oe}var ge=function(pe,Ot,Te){var dt=(0,B.Z)(ue),Gt=(0,l.Z)(dt,2),St=Gt[0],Oe=Gt[1],wt=Zt(),be=(0,l.Z)(wt,2),Ke=be[0],gt=be[1];function Ft(){Oe(q,!0)}var Fe=Ot?xt:ot;return Xe(function(){if(St!==ue&&St!==oe){var Dr=Fe.indexOf(St),Ct=Fe[Dr+1],Gr=Te(St);Gr===ht?Oe(Ct,!0):Ct&&Ke(function(Qr){function Cr(){Qr.isCanceled()||Oe(Ct,!0)}Gr===!0?Cr():Promise.resolve(Gr).then(Cr)})}},[pe,St]),a.useEffect(function(){return function(){gt()}},[]),[Ft,St]};function Se(pe,Ot,Te,dt){var Gt=dt.motionEnter,St=Gt===void 0?!0:Gt,Oe=dt.motionAppear,wt=Oe===void 0?!0:Oe,be=dt.motionLeave,Ke=be===void 0?!0:be,gt=dt.motionDeadline,Ft=dt.motionLeaveImmediately,Fe=dt.onAppearPrepare,Dr=dt.onEnterPrepare,Ct=dt.onLeavePrepare,Gr=dt.onAppearStart,Qr=dt.onEnterStart,Cr=dt.onLeaveStart,Fr=dt.onAppearActive,mr=dt.onEnterActive,jr=dt.onLeaveActive,sn=dt.onAppearEnd,cn=dt.onEnterEnd,lr=dt.onLeaveEnd,Lt=dt.onVisibleChanged,mt=(0,B.Z)(),vt=(0,l.Z)(mt,2),Ut=vt[0],Sr=vt[1],yr=Y(V),it=(0,l.Z)(yr,2),Br=it[0],gn=it[1],zn=(0,B.Z)(null),gr=(0,l.Z)(zn,2),tn=gr[0],pn=gr[1],Fn=Br(),Tn=(0,a.useRef)(!1),oi=(0,a.useRef)(null);function Pi(){return Te()}var Li=(0,a.useRef)(!1);function Si(){gn(V),pn(null,!0)}var gi=(0,M.useEvent)(function(rr){var _t=Br();if(_t!==V){var rt=Pi();if(!(rr&&!rr.deadline&&rr.target!==rt)){var It=Li.current,pt;_t===G&&It?pt=sn==null?void 0:sn(rt,rr):_t===ae&&It?pt=cn==null?void 0:cn(rt,rr):_t===ie&&It&&(pt=lr==null?void 0:lr(rt,rr)),It&&pt!==!1&&Si()}}}),ii=er(gi),na=(0,l.Z)(ii,1),ni=na[0],Ji=function(_t){switch(_t){case G:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Fe),J,Gr),K,Fr);case ae:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Dr),J,Qr),K,mr);case ie:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Ct),J,Cr),K,jr);default:return{}}},bt=a.useMemo(function(){return Ji(Fn)},[Fn]),lt=ge(Fn,!pe,function(rr){if(rr===q){var _t=bt[q];return _t?_t(Pi()):ht}if(ei in bt){var rt;pn(((rt=bt[ei])===null||rt===void 0?void 0:rt.call(bt,Pi(),null))||null)}return ei===K&&Fn!==V&&(ni(Pi()),gt>0&&(clearTimeout(oi.current),oi.current=setTimeout(function(){gi({deadline:!0})},gt))),ei===ee&&Si(),et}),Qn=(0,l.Z)(lt,2),yi=Qn[0],ei=Qn[1],Ki=je(ei);Li.current=Ki;var bi=(0,a.useRef)(null);Xe(function(){if(!(Tn.current&&bi.current===Ot)){Sr(Ot);var rr=Tn.current;Tn.current=!0;var _t;!rr&&Ot&&wt&&(_t=G),rr&&Ot&&St&&(_t=ae),(rr&&!Ot&&Ke||!rr&&Ft&&!Ot&&Ke)&&(_t=ie);var rt=Ji(_t);_t&&(pe||rt[q])?(gn(_t),yi()):gn(V),bi.current=Ot}},[Ot]),(0,a.useEffect)(function(){(Fn===G&&!wt||Fn===ae&&!St||Fn===ie&&!Ke)&&gn(V)},[wt,St,Ke]),(0,a.useEffect)(function(){return function(){Tn.current=!1,clearTimeout(oi.current)}},[]);var qn=a.useRef(!1);(0,a.useEffect)(function(){Ut&&(qn.current=!0),Ut!==void 0&&Fn===V&&((qn.current||Ut)&&(Lt==null||Lt(Ut)),qn.current=!0)},[Ut,Fn]);var An=tn;return bt[q]&&ei===J&&(An=(0,i.Z)({transition:"none"},An)),[Fn,ei,An,Ut!=null?Ut:Ot]}function Me(pe){var Ot=pe;(0,c.Z)(pe)==="object"&&(Ot=pe.transitionSupport);function Te(Gt,St){return!!(Gt.motionName&&Ot&&St!==!1)}var dt=a.forwardRef(function(Gt,St){var Oe=Gt.visible,wt=Oe===void 0?!0:Oe,be=Gt.removeOnLeave,Ke=be===void 0?!0:be,gt=Gt.forceRender,Ft=Gt.children,Fe=Gt.motionName,Dr=Gt.leavedClassName,Ct=Gt.eventProps,Gr=a.useContext(y),Qr=Gr.motion,Cr=Te(Gt,Qr),Fr=(0,a.useRef)(),mr=(0,a.useRef)();function jr(){try{return Fr.current instanceof HTMLElement?Fr.current:(0,h.ZP)(mr.current)}catch(gr){return null}}var sn=Se(Cr,wt,jr,Gt),cn=(0,l.Z)(sn,4),lr=cn[0],Lt=cn[1],mt=cn[2],vt=cn[3],Ut=a.useRef(vt);vt&&(Ut.current=!0);var Sr=a.useCallback(function(gr){Fr.current=gr,(0,u.mH)(St,gr)},[St]),yr,it=(0,i.Z)((0,i.Z)({},Ct),{},{visible:wt});if(!Ft)yr=null;else if(lr===V)vt?yr=Ft((0,i.Z)({},it),Sr):!Ke&&Ut.current&&Dr?yr=Ft((0,i.Z)((0,i.Z)({},it),{},{className:Dr}),Sr):gt||!Ke&&!Dr?yr=Ft((0,i.Z)((0,i.Z)({},it),{},{style:{display:"none"}}),Sr):yr=null;else{var Br;Lt===q?Br="prepare":je(Lt)?Br="active":Lt===J&&(Br="start");var gn=Jt(Fe,"".concat(lr,"-").concat(Br));yr=Ft((0,i.Z)((0,i.Z)({},it),{},{className:o()(Jt(Fe,lr),(0,r.Z)((0,r.Z)({},gn,gn&&Br),Fe,typeof Fe=="string")),style:mt}),Sr)}if(a.isValidElement(yr)&&(0,u.Yr)(yr)){var zn=(0,u.C4)(yr);zn||(yr=a.cloneElement(yr,{ref:Sr}))}return a.createElement(D,{ref:mr},yr)});return dt.displayName="CSSMotion",dt}var $e=Me(Bt),He=e(14809),nt=e(13028),ct="add",Vt="keep",Ht="remove",Pe="removed";function qe(pe){var Ot;return pe&&(0,c.Z)(pe)==="object"&&"key"in pe?Ot=pe:Ot={key:pe},(0,i.Z)((0,i.Z)({},Ot),{},{key:String(Ot.key)})}function Yt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return pe.map(qe)}function Rt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Te=[],dt=0,Gt=Ot.length,St=Yt(pe),Oe=Yt(Ot);St.forEach(function(Ke){for(var gt=!1,Ft=dt;Ft<Gt;Ft+=1){var Fe=Oe[Ft];if(Fe.key===Ke.key){dt<Ft&&(Te=Te.concat(Oe.slice(dt,Ft).map(function(Dr){return(0,i.Z)((0,i.Z)({},Dr),{},{status:ct})})),dt=Ft),Te.push((0,i.Z)((0,i.Z)({},Fe),{},{status:Vt})),dt+=1,gt=!0;break}}gt||Te.push((0,i.Z)((0,i.Z)({},Ke),{},{status:Ht}))}),dt<Gt&&(Te=Te.concat(Oe.slice(dt).map(function(Ke){return(0,i.Z)((0,i.Z)({},Ke),{},{status:ct})})));var wt={};Te.forEach(function(Ke){var gt=Ke.key;wt[gt]=(wt[gt]||0)+1});var be=Object.keys(wt).filter(function(Ke){return wt[Ke]>1});return be.forEach(function(Ke){Te=Te.filter(function(gt){var Ft=gt.key,Fe=gt.status;return Ft!==Ke||Fe!==Ht}),Te.forEach(function(gt){gt.key===Ke&&(gt.status=Vt)})}),Te}var Wt=["component","children","onVisibleChanged","onAllRemoved"],$t=["status"],At=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Xt(pe){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e,Te=function(dt){(0,k.Z)(St,dt);var Gt=(0,R.Z)(St);function St(){var Oe;(0,b.Z)(this,St);for(var wt=arguments.length,be=new Array(wt),Ke=0;Ke<wt;Ke++)be[Ke]=arguments[Ke];return Oe=Gt.call.apply(Gt,[this].concat(be)),(0,r.Z)((0,nt.Z)(Oe),"state",{keyEntities:[]}),(0,r.Z)((0,nt.Z)(Oe),"removeKey",function(gt){Oe.setState(function(Ft){var Fe=Ft.keyEntities.map(function(Dr){return Dr.key!==gt?Dr:(0,i.Z)((0,i.Z)({},Dr),{},{status:Pe})});return{keyEntities:Fe}},function(){var Ft=Oe.state.keyEntities,Fe=Ft.filter(function(Dr){var Ct=Dr.status;return Ct!==Pe}).length;Fe===0&&Oe.props.onAllRemoved&&Oe.props.onAllRemoved()})}),Oe}return(0,S.Z)(St,[{key:"render",value:function(){var wt=this,be=this.state.keyEntities,Ke=this.props,gt=Ke.component,Ft=Ke.children,Fe=Ke.onVisibleChanged,Dr=Ke.onAllRemoved,Ct=(0,x.Z)(Ke,Wt),Gr=gt||a.Fragment,Qr={};return At.forEach(function(Cr){Qr[Cr]=Ct[Cr],delete Ct[Cr]}),delete Ct.keys,a.createElement(Gr,Ct,be.map(function(Cr,Fr){var mr=Cr.status,jr=(0,x.Z)(Cr,$t),sn=mr===ct||mr===Vt;return a.createElement(Ot,(0,He.Z)({},Qr,{key:jr.key,visible:sn,eventProps:jr,onVisibleChanged:function(lr){Fe==null||Fe(lr,{key:jr.key}),lr||wt.removeKey(jr.key)}}),function(cn,lr){return Ft((0,i.Z)((0,i.Z)({},cn),{},{index:Fr}),lr)})}))}}],[{key:"getDerivedStateFromProps",value:function(wt,be){var Ke=wt.keys,gt=be.keyEntities,Ft=Yt(Ke),Fe=Rt(gt,Ft);return{keyEntities:Fe.filter(function(Dr){var Ct=gt.find(function(Gr){var Qr=Gr.key;return Dr.key===Qr});return!(Ct&&Ct.status===Pe&&Dr.status===Ht)})}}}]),St}(a.Component);return(0,r.Z)(Te,"defaultProps",{component:"div"}),Te}var We=Xt(Bt),fe=$e},581:function(d,v,e){"use strict";e.d(v,{qX:function(){return b},JB:function(){return R},lm:function(){return ae}});var r=e(95190),i=e(50298),l=e(62646),c=e(59301),f=e(20439),o=e(4676),h=e(14809),u=e(92310),a=e.n(u),x=e(77900),p=e(4635),y=e(10228),_=c.forwardRef(function(ie,ue){var q=ie.prefixCls,J=ie.style,K=ie.className,oe=ie.duration,ee=oe===void 0?4.5:oe,Q=ie.eventKey,le=ie.content,Z=ie.closable,$=ie.closeIcon,se=$===void 0?"x":$,_e=ie.props,De=ie.onClick,ke=ie.onNoticeClose,Ze=ie.times,Ne=c.useState(!1),Bt=(0,i.Z)(Ne,2),yt=Bt[0],Dt=Bt[1],Jt=function(){ke(Q)},er=function(Pt){(Pt.key==="Enter"||Pt.code==="Enter"||Pt.keyCode===y.Z.ENTER)&&Jt()};c.useEffect(function(){if(!yt&&ee>0){var Xe=setTimeout(function(){Jt()},ee*1e3);return function(){clearTimeout(Xe)}}},[ee,yt,Ze]);var tr="".concat(q,"-notice");return c.createElement("div",(0,h.Z)({},_e,{ref:ue,className:a()(tr,K,(0,p.Z)({},"".concat(tr,"-closable"),Z)),style:J,onMouseEnter:function(){Dt(!0)},onMouseLeave:function(){Dt(!1)},onClick:De}),c.createElement("div",{className:"".concat(tr,"-content")},le),Z&&c.createElement("a",{tabIndex:0,className:"".concat(tr,"-close"),onKeyDown:er,onClick:function(Pt){Pt.preventDefault(),Pt.stopPropagation(),Jt()}},se))}),b=_,S=c.createContext({}),k=function(ue){var q=ue.children,J=ue.classNames;return c.createElement(S.Provider,{value:{classNames:J}},q)},R=k,A=function(ue){var q=ue.configList,J=ue.placement,K=ue.prefixCls,oe=ue.className,ee=ue.style,Q=ue.motion,le=ue.onAllNoticeRemoved,Z=ue.onNoticeClose,$=(0,c.useContext)(S),se=$.classNames,_e=q.map(function(ke){return{config:ke,key:ke.key}}),De=typeof Q=="function"?Q(J):Q;return c.createElement(x.CSSMotionList,(0,h.Z)({key:J,className:a()(K,"".concat(K,"-").concat(J),se==null?void 0:se.list,oe),style:ee,keys:_e,motionAppear:!0},De,{onAllRemoved:function(){le(J)}}),function(ke,Ze){var Ne=ke.config,Bt=ke.className,yt=ke.style,Dt=Ne,Jt=Dt.key,er=Dt.times,tr=Ne,Xe=tr.className,Pt=tr.style;return c.createElement(b,(0,h.Z)({},Ne,{ref:Ze,prefixCls:K,className:a()(Bt,Xe,se==null?void 0:se.notice),style:(0,f.Z)((0,f.Z)({},yt),Pt),times:er,key:Jt,eventKey:Jt,onNoticeClose:Z}))})},D=A,M=c.forwardRef(function(ie,ue){var q=ie.prefixCls,J=q===void 0?"rc-notification":q,K=ie.container,oe=ie.motion,ee=ie.maxCount,Q=ie.className,le=ie.style,Z=ie.onAllRemoved,$=ie.renderNotifications,se=c.useState([]),_e=(0,i.Z)(se,2),De=_e[0],ke=_e[1],Ze=function(Pt){var Zt,ot=De.find(function(xt){return xt.key===Pt});ot==null||(Zt=ot.onClose)===null||Zt===void 0||Zt.call(ot),ke(function(xt){return xt.filter(function(ht){return ht.key!==Pt})})};c.useImperativeHandle(ue,function(){return{open:function(Pt){ke(function(Zt){var ot=(0,r.Z)(Zt),xt=ot.findIndex(function(je){return je.key===Pt.key}),ht=(0,f.Z)({},Pt);if(xt>=0){var et;ht.times=(((et=Zt[xt])===null||et===void 0?void 0:et.times)||0)+1,ot[xt]=ht}else ht.times=0,ot.push(ht);return ee>0&&ot.length>ee&&(ot=ot.slice(-ee)),ot})},close:function(Pt){Ze(Pt)},destroy:function(){ke([])}}});var Ne=c.useState({}),Bt=(0,i.Z)(Ne,2),yt=Bt[0],Dt=Bt[1];c.useEffect(function(){var Xe={};De.forEach(function(Pt){var Zt=Pt.placement,ot=Zt===void 0?"topRight":Zt;ot&&(Xe[ot]=Xe[ot]||[],Xe[ot].push(Pt))}),Object.keys(yt).forEach(function(Pt){Xe[Pt]=Xe[Pt]||[]}),Dt(Xe)},[De]);var Jt=function(Pt){Dt(function(Zt){var ot=(0,f.Z)({},Zt),xt=ot[Pt]||[];return xt.length||delete ot[Pt],ot})},er=c.useRef(!1);if(c.useEffect(function(){Object.keys(yt).length>0?er.current=!0:er.current&&(Z==null||Z(),er.current=!1)},[yt]),!K)return null;var tr=Object.keys(yt);return(0,o.createPortal)(c.createElement(c.Fragment,null,tr.map(function(Xe){var Pt=yt[Xe],Zt=c.createElement(D,{key:Xe,configList:Pt,placement:Xe,prefixCls:J,className:Q==null?void 0:Q(Xe),style:le==null?void 0:le(Xe),motion:oe,onNoticeClose:Ze,onAllNoticeRemoved:Jt});return $?$(Zt,{prefixCls:J,key:Xe}):Zt})),K)}),B=M,j=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],Y=function(){return document.body},V=0;function G(){for(var ie={},ue=arguments.length,q=new Array(ue),J=0;J<ue;J++)q[J]=arguments[J];return q.forEach(function(K){K&&Object.keys(K).forEach(function(oe){var ee=K[oe];ee!==void 0&&(ie[oe]=ee)})}),ie}function ae(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ue=ie.getContainer,q=ue===void 0?Y:ue,J=ie.motion,K=ie.prefixCls,oe=ie.maxCount,ee=ie.className,Q=ie.style,le=ie.onAllRemoved,Z=ie.renderNotifications,$=(0,l.Z)(ie,j),se=c.useState(),_e=(0,i.Z)(se,2),De=_e[0],ke=_e[1],Ze=c.useRef(),Ne=c.createElement(B,{container:De,ref:Ze,prefixCls:K,motion:J,maxCount:oe,className:ee,style:Q,onAllRemoved:le,renderNotifications:Z}),Bt=c.useState([]),yt=(0,i.Z)(Bt,2),Dt=yt[0],Jt=yt[1],er=c.useMemo(function(){return{open:function(Xe){var Pt=G($,Xe);(Pt.key===null||Pt.key===void 0)&&(Pt.key="rc-notification-".concat(V),V+=1),Jt(function(Zt){return[].concat((0,r.Z)(Zt),[{type:"open",config:Pt}])})},close:function(Xe){Jt(function(Pt){return[].concat((0,r.Z)(Pt),[{type:"close",key:Xe}])})},destroy:function(){Jt(function(Xe){return[].concat((0,r.Z)(Xe),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){ke(q())}),c.useEffect(function(){Ze.current&&Dt.length&&(Dt.forEach(function(tr){switch(tr.type){case"open":Ze.current.open(tr.config);break;case"close":Ze.current.close(tr.key);break;case"destroy":Ze.current.destroy();break}}),Jt(function(tr){return tr.filter(function(Xe){return!Dt.includes(Xe)})}))},[Dt]),[er,Ne]}},22075:function(d,v){"use strict";v.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,v){"use strict";v.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,v,e){"use strict";e.d(v,{Z:function(){return J}});var r=e(14809),i=e(59301),l=e(11592),c=e(48736),f=e(20439),o=e(93664),h=e(76846),u=e(8654),a=i.createContext(null);function x(K){var oe=K.children,ee=K.onBatchResize,Q=i.useRef(0),le=i.useRef([]),Z=i.useContext(a),$=i.useCallback(function(se,_e,De){Q.current+=1;var ke=Q.current;le.current.push({size:se,element:_e,data:De}),Promise.resolve().then(function(){ke===Q.current&&(ee==null||ee(le.current),le.current=[])}),Z==null||Z(se,_e,De)},[ee,Z]);return i.createElement(a.Provider,{value:$},oe)}var p=e(76374),y=new Map;function _(K){K.forEach(function(oe){var ee,Q=oe.target;(ee=y.get(Q))===null||ee===void 0||ee.forEach(function(le){return le(Q)})})}var b=new p.Z(_),S=null,k=null;function R(K,oe){y.has(K)||(y.set(K,new Set),b.observe(K)),y.get(K).add(oe)}function A(K,oe){y.has(K)&&(y.get(K).delete(oe),y.get(K).size||(b.unobserve(K),y.delete(K)))}var D=e(99153),M=e(84851),B=e(19257),j=e(93046),Y=function(K){(0,B.Z)(ee,K);var oe=(0,j.Z)(ee);function ee(){return(0,D.Z)(this,ee),oe.apply(this,arguments)}return(0,M.Z)(ee,[{key:"render",value:function(){return this.props.children}}]),ee}(i.Component);function V(K,oe){var ee=K.children,Q=K.disabled,le=i.useRef(null),Z=i.useRef(null),$=i.useContext(a),se=typeof ee=="function",_e=se?ee(le):ee,De=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ke=!se&&i.isValidElement(_e)&&(0,u.Yr)(_e),Ze=ke?(0,u.C4)(_e):null,Ne=(0,u.x1)(Ze,le),Bt=function(){var er;return(0,h.ZP)(le.current)||(le.current&&(0,o.Z)(le.current)==="object"?(0,h.ZP)((er=le.current)===null||er===void 0?void 0:er.nativeElement):null)||(0,h.ZP)(Z.current)};i.useImperativeHandle(oe,function(){return Bt()});var yt=i.useRef(K);yt.current=K;var Dt=i.useCallback(function(Jt){var er=yt.current,tr=er.onResize,Xe=er.data,Pt=Jt.getBoundingClientRect(),Zt=Pt.width,ot=Pt.height,xt=Jt.offsetWidth,ht=Jt.offsetHeight,et=Math.floor(Zt),je=Math.floor(ot);if(De.current.width!==et||De.current.height!==je||De.current.offsetWidth!==xt||De.current.offsetHeight!==ht){var ge={width:et,height:je,offsetWidth:xt,offsetHeight:ht};De.current=ge;var Se=xt===Math.round(Zt)?Zt:xt,Me=ht===Math.round(ot)?ot:ht,$e=(0,f.Z)((0,f.Z)({},ge),{},{offsetWidth:Se,offsetHeight:Me});$==null||$($e,Jt,Xe),tr&&Promise.resolve().then(function(){tr($e,Jt)})}},[]);return i.useEffect(function(){var Jt=Bt();return Jt&&!Q&&R(Jt,Dt),function(){return A(Jt,Dt)}},[le.current,Q]),i.createElement(Y,{ref:Z},ke?i.cloneElement(_e,{ref:Ne}):_e)}var G=i.forwardRef(V),ae=G,ie="rc-observer-key";function ue(K,oe){var ee=K.children,Q=typeof ee=="function"?[ee]:(0,l.Z)(ee);return Q.map(function(le,Z){var $=(le==null?void 0:le.key)||"".concat(ie,"-").concat(Z);return i.createElement(ae,(0,r.Z)({},K,{key:$,ref:Z===0?oe:void 0}),le)})}var q=i.forwardRef(ue);q.Collection=x;var J=q},55477:function(d,v,e){"use strict";e.d(v,{G:function(){return _},Z:function(){return R}});var r=e(14809),i=e(20439),l=e(62646),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 _(A){var D=A.children,M=A.prefixCls,B=A.id,j=A.overlayInnerStyle,Y=A.className,V=A.style;return f.createElement("div",{className:y()("".concat(M,"-content"),Y),style:V},f.createElement("div",{className:"".concat(M,"-inner"),id:B,role:"tooltip",style:j},typeof D=="function"?D():D))}var b=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],S=function(D,M){var B=D.overlayClassName,j=D.trigger,Y=j===void 0?["hover"]:j,V=D.mouseEnterDelay,G=V===void 0?0:V,ae=D.mouseLeaveDelay,ie=ae===void 0?.1:ae,ue=D.overlayStyle,q=D.prefixCls,J=q===void 0?"rc-tooltip":q,K=D.children,oe=D.onVisibleChange,ee=D.afterVisibleChange,Q=D.transitionName,le=D.animation,Z=D.motion,$=D.placement,se=$===void 0?"right":$,_e=D.align,De=_e===void 0?{}:_e,ke=D.destroyTooltipOnHide,Ze=ke===void 0?!1:ke,Ne=D.defaultVisible,Bt=D.getTooltipContainer,yt=D.overlayInnerStyle,Dt=D.arrowContent,Jt=D.overlay,er=D.id,tr=D.showArrow,Xe=tr===void 0?!0:tr,Pt=(0,l.Z)(D,b),Zt=(0,f.useRef)(null);(0,f.useImperativeHandle)(M,function(){return Zt.current});var ot=(0,i.Z)({},Pt);"visible"in D&&(ot.popupVisible=D.visible);var xt=function(){return f.createElement(_,{key:"content",prefixCls:J,id:er,overlayInnerStyle:yt},Jt)};return f.createElement(c.Z,(0,r.Z)({popupClassName:B,prefixCls:J,popup:xt,action:Y,builtinPlacements:a,popupPlacement:se,ref:Zt,popupAlign:De,getPopupContainer:Bt,onPopupVisibleChange:oe,afterPopupVisibleChange:ee,popupTransitionName:Q,popupAnimation:le,popupMotion:Z,defaultPopupVisible:Ne,autoDestroy:Ze,mouseLeaveDelay:ie,popupStyle:ue,mouseEnterDelay:G,arrow:Xe},ot),K)},k=(0,f.forwardRef)(S),R=k},11592:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},48519:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{hq:function(){return R},jL:function(){return b}});var r=e(20439),i=e(47273),l=e(48519),c="data-rc-order",f="data-rc-priority",o="rc-util-key",h=new Map;function u(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=A.mark;return D?D.startsWith("data-")?D:"data-".concat(D):o}function a(A){if(A.attachTo)return A.attachTo;var D=document.querySelector("head");return D||document.body}function x(A){return A==="queue"?"prependQueue":A?"prepend":"append"}function p(A){return Array.from((h.get(A)||A).children).filter(function(D){return D.tagName==="STYLE"})}function y(A){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.Z)())return null;var M=D.csp,B=D.prepend,j=D.priority,Y=j===void 0?0:j,V=x(B),G=V==="prependQueue",ae=document.createElement("style");ae.setAttribute(c,V),G&&Y&&ae.setAttribute(f,"".concat(Y)),M!=null&&M.nonce&&(ae.nonce=M==null?void 0:M.nonce),ae.innerHTML=A;var ie=a(D),ue=ie.firstChild;if(B){if(G){var q=(D.styles||p(ie)).filter(function(J){if(!["prepend","prependQueue"].includes(J.getAttribute(c)))return!1;var K=Number(J.getAttribute(f)||0);return Y>=K});if(q.length)return ie.insertBefore(ae,q[q.length-1].nextSibling),ae}ie.insertBefore(ae,ue)}else ie.appendChild(ae);return ae}function _(A){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=a(D);return(D.styles||p(M)).find(function(B){return B.getAttribute(u(D))===A})}function b(A){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=_(A,D);if(M){var B=a(D);B.removeChild(M)}}function S(A,D){var M=h.get(A);if(!M||!(0,l.Z)(document,M)){var B=y("",D),j=B.parentNode;h.set(A,j),A.removeChild(B)}}function k(){h.clear()}function R(A,D){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},B=a(M),j=p(B),Y=(0,r.Z)((0,r.Z)({},M),{},{styles:j});S(B,Y);var V=_(D,Y);if(V){var G,ae;if((G=Y.csp)!==null&&G!==void 0&&G.nonce&&V.nonce!==((ae=Y.csp)===null||ae===void 0?void 0:ae.nonce)){var ie;V.nonce=(ie=Y.csp)===null||ie===void 0?void 0:ie.nonce}return V.innerHTML!==A&&(V.innerHTML=A),V}var ue=y(A,Y);return ue.setAttribute(u(Y),D),ue}},76846:function(d,v,e){"use strict";e.d(v,{Sh:function(){return c},ZP:function(){return o}});var r=e(93664),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,v){"use strict";v.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,v,e){"use strict";e.d(v,{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,v){"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}}};v.Z=e},34678:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(93664),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,v,e){"use strict";var r;e.d(v,{s:function(){return A},v:function(){return Y}});var i=e(70539),l=e(95764),c=e(93664),f=e(20439),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(G){}function _(G){var ae=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ae&&(0,c.Z)(ae)==="object"&&(ae.usingClientEntryPoint=G)}var b="__rc_react_root__";function S(G,ae){_(!0);var ie=ae[b]||p(ae);_(!1),ie.render(G),ae[b]=ie}function k(G,ae){a==null||a(G,ae)}function R(G,ae){}function A(G,ae){if(p){S(G,ae);return}k(G,ae)}function D(G){return M.apply(this,arguments)}function M(){return M=(0,l.Z)((0,i.Z)().mark(function G(ae){return(0,i.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.abrupt("return",Promise.resolve().then(function(){var q;(q=ae[b])===null||q===void 0||q.unmount(),delete ae[b]}));case 1:case"end":return ue.stop()}},G)})),M.apply(this,arguments)}function B(G){x(G)}function j(G){}function Y(G){return V.apply(this,arguments)}function V(){return V=(0,l.Z)((0,i.Z)().mark(function G(ae){return(0,i.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:if(p===void 0){ue.next=2;break}return ue.abrupt("return",D(ae));case 2:B(ae);case 3:case"end":return ue.stop()}},G)})),V.apply(this,arguments)}},75152:function(d,v,e){"use strict";e.d(v,{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),S=parseInt(_.height,10);try{var k=b?"width: ".concat(_.width,";"):"",R=S?"height: ".concat(_.height,";"):"";(0,r.hq)(`
|
|
|
#`.concat(h,`::-webkit-scrollbar {
|
|
|
`).concat(k,`
|
|
|
`).concat(R,`
|
|
|
}`),h)}catch(M){console.error(M),x=b,p=S}}document.body.appendChild(u);var A=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:A,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,v,e){"use strict";e.d(v,{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,v,e){"use strict";var r,i=e(50298),l=e(20439),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();v.Z=u?function(x){var p=u();return x||p}:function(x){var p=c.useState("ssr-id"),y=(0,i.Z)(p,2),_=y[0],b=y[1];return c.useEffect(function(){var S=o;o+=1,b("rc_unique_".concat(S))},[]),x||_}},34280:function(d,v,e){"use strict";e.d(v,{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)};v.Z=c},80547:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(50298),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}),S=(0,r.Z)(b,2),k=S[0],R=S[1],A=p!==void 0?p:k,D=_?_(A):A,M=(0,i.Z)(y),B=(0,c.Z)([A]),j=(0,r.Z)(B,2),Y=j[0],V=j[1];(0,l.o)(function(){var ae=Y[0];k!==ae&&M(k,ae)},[Y]),(0,l.o)(function(){f(p)||R(p)},[p]);var G=(0,i.Z)(function(ae,ie){R(ae,ie),V([A],ie)});return[D,G]}},41799:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(50298),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,v,e){"use strict";e.r(v),e.d(v,{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,v,e){"use strict";var r=e(93664),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 S=Object.keys(a);return S.length!==Object.keys(x).length?!1:S.every(function(k){return u(a[k],x[k],_)})}return!1}return u(c,f)}v.Z=l},49658:function(d,v){"use strict";v.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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(20439),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,v){"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)},v.Z=f},8654:function(d,v,e){"use strict";e.d(v,{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(93664),i=e(59301),l=e(23265),c=e(80547),f=e(34678),o=Number(i.version.split(".")[0]),h=function(S,k){typeof S=="function"?S(k):(0,r.Z)(S)==="object"&&S&&"current"in S&&(S.current=k)},u=function(){for(var S=arguments.length,k=new Array(S),R=0;R<S;R++)k[R]=arguments[R];var A=k.filter(Boolean);return A.length<=1?A[0]:function(D){k.forEach(function(M){h(M,D)})}},a=function(){for(var S=arguments.length,k=new Array(S),R=0;R<S;R++)k[R]=arguments[R];return(0,c.Z)(function(){return u.apply(void 0,k)},k,function(A,D){return A.length!==D.length||A.every(function(M,B){return M!==D[B]})})},x=function(S){var k,R;if(!S)return!1;if(p(S)&&o>=19)return!0;var A=(0,l.isMemo)(S)?S.type.type:S.type;return!(typeof A=="function"&&!((k=A.prototype)!==null&&k!==void 0&&k.render)&&A.$$typeof!==l.ForwardRef||typeof S=="function"&&!((R=S.prototype)!==null&&R!==void 0&&R.render)&&S.$$typeof!==l.ForwardRef)};function p(b){return(0,i.isValidElement)(b)&&!(0,f.Z)(b)}var y=function(S){return p(S)&&x(S)},_=function(S){if(S&&p(S)){var k=S;return k.props.propertyIsEnumerable("ref")?k.props.ref:k.ref}return null}},97938:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{T:function(){return p},Z:function(){return h}});var r=e(93664),i=e(20439),l=e(95190),c=e(21696),f=e(97938);function o(y,_,b,S){if(!_.length)return b;var k=(0,c.Z)(_),R=k[0],A=k.slice(1),D;return!y&&typeof R=="number"?D=[]:Array.isArray(y)?D=(0,l.Z)(y):D=(0,i.Z)({},y),S&&b===void 0&&A.length===1?delete D[R][A[0]]:D[R]=o(D[R],A,b,S),D}function h(y,_,b){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return _.length&&S&&b===void 0&&!(0,f.Z)(y,_.slice(0,-1))?y:o(y,_,b,S)}function u(y){return(0,r.Z)(y)==="object"&&y!==null&&Object.getPrototypeOf(y)===Object.prototype}function a(y){return Array.isArray(y)?[]:{}}var x=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function p(){for(var y=arguments.length,_=new Array(y),b=0;b<y;b++)_[b]=arguments[b];var S=a(_[0]);return _.forEach(function(k){function R(A,D){var M=new Set(D),B=(0,f.Z)(k,A),j=Array.isArray(B);if(j||u(B)){if(!M.has(B)){M.add(B);var Y=(0,f.Z)(S,A);j?S=h(S,A,[]):(!Y||(0,r.Z)(Y)!=="object")&&(S=h(S,A,a(B))),x(B).forEach(function(V){R([].concat((0,l.Z)(A),[V]),M)})}}else S=h(S,A,B)}R([])}),S}},48736:function(d,v,e){"use strict";e.d(v,{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,v.ZP=u},83145:function(d,v,e){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.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(B){return typeof B}:c=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},c(D)}function f(D,M){var B=Object.keys(D);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(D);M&&(j=j.filter(function(Y){return Object.getOwnPropertyDescriptor(D,Y).enumerable})),B.push.apply(B,j)}return B}function o(D){for(var M=1;M<arguments.length;M++){var B=arguments[M]!=null?arguments[M]:{};M%2?f(B,!0).forEach(function(j){R(D,j,B[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(B)):f(B).forEach(function(j){Object.defineProperty(D,j,Object.getOwnPropertyDescriptor(B,j))})}return D}function h(D,M){if(D==null)return{};var B=u(D,M),j,Y;if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(D);for(Y=0;Y<V.length;Y++)j=V[Y],!(M.indexOf(j)>=0)&&Object.prototype.propertyIsEnumerable.call(D,j)&&(B[j]=D[j])}return B}function u(D,M){if(D==null)return{};var B={},j=Object.keys(D),Y,V;for(V=0;V<j.length;V++)Y=j[V],!(M.indexOf(Y)>=0)&&(B[Y]=D[Y]);return B}function a(D,M){if(!(D instanceof M))throw new TypeError("Cannot call a class as a function")}function x(D,M){for(var B=0;B<M.length;B++){var j=M[B];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(D,j.key,j)}}function p(D,M,B){return M&&x(D.prototype,M),B&&x(D,B),D}function y(D,M){return M&&(c(M)==="object"||typeof M=="function")?M:b(D)}function _(D){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},_(D)}function b(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function S(D,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(M&&M.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),M&&k(D,M)}function k(D,M){return k=Object.setPrototypeOf||function(j,Y){return j.__proto__=Y,j},k(D,M)}function R(D,M,B){return M in D?Object.defineProperty(D,M,{value:B,enumerable:!0,configurable:!0,writable:!0}):D[M]=B,D}var A=function(D){S(M,D);function M(){var B,j;a(this,M);for(var Y=arguments.length,V=new Array(Y),G=0;G<Y;G++)V[G]=arguments[G];return j=y(this,(B=_(M)).call.apply(B,[this].concat(V))),R(b(j),"onClick",function(ae){var ie=j.props,ue=ie.text,q=ie.onCopy,J=ie.children,K=ie.options,oe=r.default.Children.only(J),ee=(0,i.default)(ue,K);q&&q(ue,ee),oe&&oe.props&&typeof oe.props.onClick=="function"&&oe.props.onClick(ae)}),j}return p(M,[{key:"render",value:function(){var j=this.props,Y=j.text,V=j.onCopy,G=j.options,ae=j.children,ie=h(j,["text","onCopy","options","children"]),ue=r.default.Children.only(ae);return r.default.cloneElement(ue,o({},ie,{onClick:this.onClick}))}}]),M}(r.default.PureComponent);v.CopyToClipboard=A,R(A,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(d,v,e){"use strict";var r=e(83145),i=r.CopyToClipboard;i.CopyToClipboard=i,d.exports=i},23675:function(d,v,e){"use strict";var r=e(59301),i=e(84126),l=e(43014);function c(g){for(var C="https://reactjs.org/docs/error-decoder.html?invariant="+g,z=1;z<arguments.length;z++)C+="&args[]="+encodeURIComponent(arguments[z]);return"Minified React error #"+g+"; visit "+C+" 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(g,C){u(g,C),u(g+"Capture",C)}function u(g,C){for(o[g]=C,g=0;g<C.length;g++)f.add(C[g])}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(g){return p.call(_,g)?!0:p.call(y,g)?!1:x.test(g)?_[g]=!0:(y[g]=!0,!1)}function S(g,C,z,ve){if(z!==null&&z.type===0)return!1;switch(typeof C){case"function":case"symbol":return!0;case"boolean":return ve?!1:z!==null?!z.acceptsBooleans:(g=g.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-");default:return!1}}function k(g,C,z,ve){if(C===null||typeof C=="undefined"||S(g,C,z,ve))return!0;if(ve)return!1;if(z!==null)switch(z.type){case 3:return!C;case 4:return C===!1;case 5:return isNaN(C);case 6:return isNaN(C)||1>C}return!1}function R(g,C,z,ve,Le,ut,jt){this.acceptsBooleans=C===2||C===3||C===4,this.attributeName=ve,this.attributeNamespace=Le,this.mustUseProperty=z,this.propertyName=g,this.type=C,this.sanitizeURL=ut,this.removeEmptyString=jt}var A={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(g){A[g]=new R(g,0,!1,g,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(g){var C=g[0];A[C]=new R(C,1,!1,g[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(g){A[g]=new R(g,2,!1,g.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(g){A[g]=new R(g,2,!1,g,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(g){A[g]=new R(g,3,!1,g.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(g){A[g]=new R(g,3,!0,g,null,!1,!1)}),["capture","download"].forEach(function(g){A[g]=new R(g,4,!1,g,null,!1,!1)}),["cols","rows","size","span"].forEach(function(g){A[g]=new R(g,6,!1,g,null,!1,!1)}),["rowSpan","start"].forEach(function(g){A[g]=new R(g,5,!1,g.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function M(g){return g[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(g){var C=g.replace(D,M);A[C]=new R(C,1,!1,g,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(g){var C=g.replace(D,M);A[C]=new R(C,1,!1,g,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(g){var C=g.replace(D,M);A[C]=new R(C,1,!1,g,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(g){A[g]=new R(g,1,!1,g.toLowerCase(),null,!1,!1)}),A.xlinkHref=new R("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(g){A[g]=new R(g,1,!1,g.toLowerCase(),null,!0,!0)});function B(g,C,z,ve){var Le=A.hasOwnProperty(C)?A[C]:null,ut=Le!==null?Le.type===0:ve?!1:!(!(2<C.length)||C[0]!=="o"&&C[0]!=="O"||C[1]!=="n"&&C[1]!=="N");ut||(k(C,z,Le,ve)&&(z=null),ve||Le===null?b(C)&&(z===null?g.removeAttribute(C):g.setAttribute(C,""+z)):Le.mustUseProperty?g[Le.propertyName]=z===null?Le.type===3?!1:"":z:(C=Le.attributeName,ve=Le.attributeNamespace,z===null?g.removeAttribute(C):(Le=Le.type,z=Le===3||Le===4&&z===!0?"":""+z,ve?g.setAttributeNS(ve,C,z):g.setAttribute(C,z))))}var j=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Y=60103,V=60106,G=60107,ae=60108,ie=60114,ue=60109,q=60110,J=60112,K=60113,oe=60120,ee=60115,Q=60116,le=60121,Z=60128,$=60129,se=60130,_e=60131;if(typeof Symbol=="function"&&Symbol.for){var De=Symbol.for;Y=De("react.element"),V=De("react.portal"),G=De("react.fragment"),ae=De("react.strict_mode"),ie=De("react.profiler"),ue=De("react.provider"),q=De("react.context"),J=De("react.forward_ref"),K=De("react.suspense"),oe=De("react.suspense_list"),ee=De("react.memo"),Q=De("react.lazy"),le=De("react.block"),De("react.scope"),Z=De("react.opaque.id"),$=De("react.debug_trace_mode"),se=De("react.offscreen"),_e=De("react.legacy_hidden")}var ke=typeof Symbol=="function"&&Symbol.iterator;function Ze(g){return g===null||typeof g!="object"?null:(g=ke&&g[ke]||g["@@iterator"],typeof g=="function"?g:null)}var Ne;function Bt(g){if(Ne===void 0)try{throw Error()}catch(z){var C=z.stack.trim().match(/\n( *(at )?)/);Ne=C&&C[1]||""}return`
|
|
|
`+Ne+g}var yt=!1;function Dt(g,C){if(!g||yt)return"";yt=!0;var z=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(C)if(C=function(){throw Error()},Object.defineProperty(C.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(C,[])}catch(P){var ve=P}Reflect.construct(g,[],C)}else{try{C.call()}catch(P){ve=P}g.call(C.prototype)}else{try{throw Error()}catch(P){ve=P}g()}}catch(P){if(P&&ve&&typeof P.stack=="string"){for(var Le=P.stack.split(`
|
|
|
`),ut=ve.stack.split(`
|
|
|
`),jt=Le.length-1,ir=ut.length-1;1<=jt&&0<=ir&&Le[jt]!==ut[ir];)ir--;for(;1<=jt&&0<=ir;jt--,ir--)if(Le[jt]!==ut[ir]){if(jt!==1||ir!==1)do if(jt--,ir--,0>ir||Le[jt]!==ut[ir])return`
|
|
|
`+Le[jt].replace(" at new "," at ");while(1<=jt&&0<=ir);break}}}finally{yt=!1,Error.prepareStackTrace=z}return(g=g?g.displayName||g.name:"")?Bt(g):""}function Jt(g){switch(g.tag){case 5:return Bt(g.type);case 16:return Bt("Lazy");case 13:return Bt("Suspense");case 19:return Bt("SuspenseList");case 0:case 2:case 15:return g=Dt(g.type,!1),g;case 11:return g=Dt(g.type.render,!1),g;case 22:return g=Dt(g.type._render,!1),g;case 1:return g=Dt(g.type,!0),g;default:return""}}function er(g){if(g==null)return null;if(typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case G:return"Fragment";case V:return"Portal";case ie:return"Profiler";case ae:return"StrictMode";case K:return"Suspense";case oe:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case q:return(g.displayName||"Context")+".Consumer";case ue:return(g._context.displayName||"Context")+".Provider";case J:var C=g.render;return C=C.displayName||C.name||"",g.displayName||(C!==""?"ForwardRef("+C+")":"ForwardRef");case ee:return er(g.type);case le:return er(g._render);case Q:C=g._payload,g=g._init;try{return er(g(C))}catch(z){}}return null}function tr(g){switch(typeof g){case"boolean":case"number":case"object":case"string":case"undefined":return g;default:return""}}function Xe(g){var C=g.type;return(g=g.nodeName)&&g.toLowerCase()==="input"&&(C==="checkbox"||C==="radio")}function Pt(g){var C=Xe(g)?"checked":"value",z=Object.getOwnPropertyDescriptor(g.constructor.prototype,C),ve=""+g[C];if(!g.hasOwnProperty(C)&&typeof z!="undefined"&&typeof z.get=="function"&&typeof z.set=="function"){var Le=z.get,ut=z.set;return Object.defineProperty(g,C,{configurable:!0,get:function(){return Le.call(this)},set:function(jt){ve=""+jt,ut.call(this,jt)}}),Object.defineProperty(g,C,{enumerable:z.enumerable}),{getValue:function(){return ve},setValue:function(jt){ve=""+jt},stopTracking:function(){g._valueTracker=null,delete g[C]}}}}function Zt(g){g._valueTracker||(g._valueTracker=Pt(g))}function ot(g){if(!g)return!1;var C=g._valueTracker;if(!C)return!0;var z=C.getValue(),ve="";return g&&(ve=Xe(g)?g.checked?"true":"false":g.value),g=ve,g!==z?(C.setValue(g),!0):!1}function xt(g){if(g=g||(typeof document!="undefined"?document:void 0),typeof g=="undefined")return null;try{return g.activeElement||g.body}catch(C){return g.body}}function ht(g,C){var z=C.checked;return i({},C,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:z!=null?z:g._wrapperState.initialChecked})}function et(g,C){var z=C.defaultValue==null?"":C.defaultValue,ve=C.checked!=null?C.checked:C.defaultChecked;z=tr(C.value!=null?C.value:z),g._wrapperState={initialChecked:ve,initialValue:z,controlled:C.type==="checkbox"||C.type==="radio"?C.checked!=null:C.value!=null}}function je(g,C){C=C.checked,C!=null&&B(g,"checked",C,!1)}function ge(g,C){je(g,C);var z=tr(C.value),ve=C.type;if(z!=null)ve==="number"?(z===0&&g.value===""||g.value!=z)&&(g.value=""+z):g.value!==""+z&&(g.value=""+z);else if(ve==="submit"||ve==="reset"){g.removeAttribute("value");return}C.hasOwnProperty("value")?Me(g,C.type,z):C.hasOwnProperty("defaultValue")&&Me(g,C.type,tr(C.defaultValue)),C.checked==null&&C.defaultChecked!=null&&(g.defaultChecked=!!C.defaultChecked)}function Se(g,C,z){if(C.hasOwnProperty("value")||C.hasOwnProperty("defaultValue")){var ve=C.type;if(!(ve!=="submit"&&ve!=="reset"||C.value!==void 0&&C.value!==null))return;C=""+g._wrapperState.initialValue,z||C===g.value||(g.value=C),g.defaultValue=C}z=g.name,z!==""&&(g.name=""),g.defaultChecked=!!g._wrapperState.initialChecked,z!==""&&(g.name=z)}function Me(g,C,z){(C!=="number"||xt(g.ownerDocument)!==g)&&(z==null?g.defaultValue=""+g._wrapperState.initialValue:g.defaultValue!==""+z&&(g.defaultValue=""+z))}function $e(g){var C="";return r.Children.forEach(g,function(z){z!=null&&(C+=z)}),C}function He(g,C){return g=i({children:void 0},C),(C=$e(C.children))&&(g.children=C),g}function nt(g,C,z,ve){if(g=g.options,C){C={};for(var Le=0;Le<z.length;Le++)C["$"+z[Le]]=!0;for(z=0;z<g.length;z++)Le=C.hasOwnProperty("$"+g[z].value),g[z].selected!==Le&&(g[z].selected=Le),Le&&ve&&(g[z].defaultSelected=!0)}else{for(z=""+tr(z),C=null,Le=0;Le<g.length;Le++){if(g[Le].value===z){g[Le].selected=!0,ve&&(g[Le].defaultSelected=!0);return}C!==null||g[Le].disabled||(C=g[Le])}C!==null&&(C.selected=!0)}}function ct(g,C){if(C.dangerouslySetInnerHTML!=null)throw Error(c(91));return i({},C,{value:void 0,defaultValue:void 0,children:""+g._wrapperState.initialValue})}function Vt(g,C){var z=C.value;if(z==null){if(z=C.children,C=C.defaultValue,z!=null){if(C!=null)throw Error(c(92));if(Array.isArray(z)){if(!(1>=z.length))throw Error(c(93));z=z[0]}C=z}C==null&&(C=""),z=C}g._wrapperState={initialValue:tr(z)}}function Ht(g,C){var z=tr(C.value),ve=tr(C.defaultValue);z!=null&&(z=""+z,z!==g.value&&(g.value=z),C.defaultValue==null&&g.defaultValue!==z&&(g.defaultValue=z)),ve!=null&&(g.defaultValue=""+ve)}function Pe(g){var C=g.textContent;C===g._wrapperState.initialValue&&C!==""&&C!==null&&(g.value=C)}var qe={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Yt(g){switch(g){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(g,C){return g==null||g==="http://www.w3.org/1999/xhtml"?Yt(C):g==="http://www.w3.org/2000/svg"&&C==="foreignObject"?"http://www.w3.org/1999/xhtml":g}var Wt,$t=function(g){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(C,z,ve,Le){MSApp.execUnsafeLocalFunction(function(){return g(C,z,ve,Le)})}:g}(function(g,C){if(g.namespaceURI!==qe.svg||"innerHTML"in g)g.innerHTML=C;else{for(Wt=Wt||document.createElement("div"),Wt.innerHTML="<svg>"+C.valueOf().toString()+"</svg>",C=Wt.firstChild;g.firstChild;)g.removeChild(g.firstChild);for(;C.firstChild;)g.appendChild(C.firstChild)}});function At(g,C){if(C){var z=g.firstChild;if(z&&z===g.lastChild&&z.nodeType===3){z.nodeValue=C;return}}g.textContent=C}var Xt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},We=["Webkit","ms","Moz","O"];Object.keys(Xt).forEach(function(g){We.forEach(function(C){C=C+g.charAt(0).toUpperCase()+g.substring(1),Xt[C]=Xt[g]})});function fe(g,C,z){return C==null||typeof C=="boolean"||C===""?"":z||typeof C!="number"||C===0||Xt.hasOwnProperty(g)&&Xt[g]?(""+C).trim():C+"px"}function pe(g,C){g=g.style;for(var z in C)if(C.hasOwnProperty(z)){var ve=z.indexOf("--")===0,Le=fe(z,C[z],ve);z==="float"&&(z="cssFloat"),ve?g.setProperty(z,Le):g[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 Te(g,C){if(C){if(Ot[g]&&(C.children!=null||C.dangerouslySetInnerHTML!=null))throw Error(c(137,g));if(C.dangerouslySetInnerHTML!=null){if(C.children!=null)throw Error(c(60));if(!(typeof C.dangerouslySetInnerHTML=="object"&&"__html"in C.dangerouslySetInnerHTML))throw Error(c(61))}if(C.style!=null&&typeof C.style!="object")throw Error(c(62))}}function dt(g,C){if(g.indexOf("-")===-1)return typeof C.is=="string";switch(g){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 Gt(g){return g=g.target||g.srcElement||window,g.correspondingUseElement&&(g=g.correspondingUseElement),g.nodeType===3?g.parentNode:g}var St=null,Oe=null,wt=null;function be(g){if(g=Fa(g)){if(typeof St!="function")throw Error(c(280));var C=g.stateNode;C&&(C=Ja(C),St(g.stateNode,g.type,C))}}function Ke(g){Oe?wt?wt.push(g):wt=[g]:Oe=g}function gt(){if(Oe){var g=Oe,C=wt;if(wt=Oe=null,be(g),C)for(g=0;g<C.length;g++)be(C[g])}}function Ft(g,C){return g(C)}function Fe(g,C,z,ve,Le){return g(C,z,ve,Le)}function Dr(){}var Ct=Ft,Gr=!1,Qr=!1;function Cr(){(Oe!==null||wt!==null)&&(Dr(),gt())}function Fr(g,C,z){if(Qr)return g(C,z);Qr=!0;try{return Ct(g,C,z)}finally{Qr=!1,Cr()}}function mr(g,C){var z=g.stateNode;if(z===null)return null;var ve=Ja(z);if(ve===null)return null;z=ve[C];e:switch(C){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(ve=!ve.disabled)||(g=g.type,ve=!(g==="button"||g==="input"||g==="select"||g==="textarea")),g=!ve;break e;default:g=!1}if(g)return null;if(z&&typeof z!="function")throw Error(c(231,C,typeof z));return z}var jr=!1;if(a)try{var sn={};Object.defineProperty(sn,"passive",{get:function(){jr=!0}}),window.addEventListener("test",sn,sn),window.removeEventListener("test",sn,sn)}catch(g){jr=!1}function cn(g,C,z,ve,Le,ut,jt,ir,P){var t=Array.prototype.slice.call(arguments,3);try{C.apply(z,t)}catch(n){this.onError(n)}}var lr=!1,Lt=null,mt=!1,vt=null,Ut={onError:function(g){lr=!0,Lt=g}};function Sr(g,C,z,ve,Le,ut,jt,ir,P){lr=!1,Lt=null,cn.apply(Ut,arguments)}function yr(g,C,z,ve,Le,ut,jt,ir,P){if(Sr.apply(this,arguments),lr){if(lr){var t=Lt;lr=!1,Lt=null}else throw Error(c(198));mt||(mt=!0,vt=t)}}function it(g){var C=g,z=g;if(g.alternate)for(;C.return;)C=C.return;else{g=C;do C=g,C.flags&1026&&(z=C.return),g=C.return;while(g)}return C.tag===3?z:null}function Br(g){if(g.tag===13){var C=g.memoizedState;if(C===null&&(g=g.alternate,g!==null&&(C=g.memoizedState)),C!==null)return C.dehydrated}return null}function gn(g){if(it(g)!==g)throw Error(c(188))}function zn(g){var C=g.alternate;if(!C){if(C=it(g),C===null)throw Error(c(188));return C!==g?null:g}for(var z=g,ve=C;;){var Le=z.return;if(Le===null)break;var ut=Le.alternate;if(ut===null){if(ve=Le.return,ve!==null){z=ve;continue}break}if(Le.child===ut.child){for(ut=Le.child;ut;){if(ut===z)return gn(Le),g;if(ut===ve)return gn(Le),C;ut=ut.sibling}throw Error(c(188))}if(z.return!==ve.return)z=Le,ve=ut;else{for(var jt=!1,ir=Le.child;ir;){if(ir===z){jt=!0,z=Le,ve=ut;break}if(ir===ve){jt=!0,ve=Le,z=ut;break}ir=ir.sibling}if(!jt){for(ir=ut.child;ir;){if(ir===z){jt=!0,z=ut,ve=Le;break}if(ir===ve){jt=!0,ve=ut,z=Le;break}ir=ir.sibling}if(!jt)throw Error(c(189))}}if(z.alternate!==ve)throw Error(c(190))}if(z.tag!==3)throw Error(c(188));return z.stateNode.current===z?g:C}function gr(g){if(g=zn(g),!g)return null;for(var C=g;;){if(C.tag===5||C.tag===6)return C;if(C.child)C.child.return=C,C=C.child;else{if(C===g)break;for(;!C.sibling;){if(!C.return||C.return===g)return null;C=C.return}C.sibling.return=C.return,C=C.sibling}}return null}function tn(g,C){for(var z=g.alternate;C!==null;){if(C===g||C===z)return!0;C=C.return}return!1}var pn,Fn,Tn,oi,Pi=!1,Li=[],Si=null,gi=null,ii=null,na=new Map,ni=new Map,Ji=[],bt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function lt(g,C,z,ve,Le){return{blockedOn:g,domEventName:C,eventSystemFlags:z|16,nativeEvent:Le,targetContainers:[ve]}}function Qn(g,C){switch(g){case"focusin":case"focusout":Si=null;break;case"dragenter":case"dragleave":gi=null;break;case"mouseover":case"mouseout":ii=null;break;case"pointerover":case"pointerout":na.delete(C.pointerId);break;case"gotpointercapture":case"lostpointercapture":ni.delete(C.pointerId)}}function yi(g,C,z,ve,Le,ut){return g===null||g.nativeEvent!==ut?(g=lt(C,z,ve,Le,ut),C!==null&&(C=Fa(C),C!==null&&Fn(C)),g):(g.eventSystemFlags|=ve,C=g.targetContainers,Le!==null&&C.indexOf(Le)===-1&&C.push(Le),g)}function ei(g,C,z,ve,Le){switch(C){case"focusin":return Si=yi(Si,g,C,z,ve,Le),!0;case"dragenter":return gi=yi(gi,g,C,z,ve,Le),!0;case"mouseover":return ii=yi(ii,g,C,z,ve,Le),!0;case"pointerover":var ut=Le.pointerId;return na.set(ut,yi(na.get(ut)||null,g,C,z,ve,Le)),!0;case"gotpointercapture":return ut=Le.pointerId,ni.set(ut,yi(ni.get(ut)||null,g,C,z,ve,Le)),!0}return!1}function Ki(g){var C=Ka(g.target);if(C!==null){var z=it(C);if(z!==null){if(C=z.tag,C===13){if(C=Br(z),C!==null){g.blockedOn=C,oi(g.lanePriority,function(){l.unstable_runWithPriority(g.priority,function(){Tn(z)})});return}}else if(C===3&&z.stateNode.hydrate){g.blockedOn=z.tag===3?z.stateNode.containerInfo:null;return}}}g.blockedOn=null}function bi(g){if(g.blockedOn!==null)return!1;for(var C=g.targetContainers;0<C.length;){var z=mi(g.domEventName,g.eventSystemFlags,C[0],g.nativeEvent);if(z!==null)return C=Fa(z),C!==null&&Fn(C),g.blockedOn=z,!1;C.shift()}return!0}function qn(g,C,z){bi(g)&&z.delete(C)}function An(){for(Pi=!1;0<Li.length;){var g=Li[0];if(g.blockedOn!==null){g=Fa(g.blockedOn),g!==null&&pn(g);break}for(var C=g.targetContainers;0<C.length;){var z=mi(g.domEventName,g.eventSystemFlags,C[0],g.nativeEvent);if(z!==null){g.blockedOn=z;break}C.shift()}g.blockedOn===null&&Li.shift()}Si!==null&&bi(Si)&&(Si=null),gi!==null&&bi(gi)&&(gi=null),ii!==null&&bi(ii)&&(ii=null),na.forEach(qn),ni.forEach(qn)}function rr(g,C){g.blockedOn===C&&(g.blockedOn=null,Pi||(Pi=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,An)))}function _t(g){function C(Le){return rr(Le,g)}if(0<Li.length){rr(Li[0],g);for(var z=1;z<Li.length;z++){var ve=Li[z];ve.blockedOn===g&&(ve.blockedOn=null)}}for(Si!==null&&rr(Si,g),gi!==null&&rr(gi,g),ii!==null&&rr(ii,g),na.forEach(C),ni.forEach(C),z=0;z<Ji.length;z++)ve=Ji[z],ve.blockedOn===g&&(ve.blockedOn=null);for(;0<Ji.length&&(z=Ji[0],z.blockedOn===null);)Ki(z),z.blockedOn===null&&Ji.shift()}function rt(g,C){var z={};return z[g.toLowerCase()]=C.toLowerCase(),z["Webkit"+g]="webkit"+C,z["Moz"+g]="moz"+C,z}var It={animationend:rt("Animation","AnimationEnd"),animationiteration:rt("Animation","AnimationIteration"),animationstart:rt("Animation","AnimationStart"),transitionend:rt("Transition","TransitionEnd")},pt={},cr={};a&&(cr=document.createElement("div").style,"AnimationEvent"in window||(delete It.animationend.animation,delete It.animationiteration.animation,delete It.animationstart.animation),"TransitionEvent"in window||delete It.transitionend.transition);function dr(g){if(pt[g])return pt[g];if(!It[g])return g;var C=It[g],z;for(z in C)if(C.hasOwnProperty(z)&&z in cr)return pt[g]=C[z];return g}var Tr=dr("animationend"),Hr=dr("animationiteration"),Ue=dr("animationstart"),Je=dr("transitionend"),Ee=new Map,st=new Map,nr=["abort","abort",Tr,"animationEnd",Hr,"animationIteration",Ue,"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",Je,"transitionEnd","waiting","waiting"];function Lr(g,C){for(var z=0;z<g.length;z+=2){var ve=g[z],Le=g[z+1];Le="on"+(Le[0].toUpperCase()+Le.slice(1)),st.set(ve,C),Ee.set(ve,Le),h(Le,[ve])}}var Or=l.unstable_now;Or();var Ir=8;function Ur(g){if(1&g)return Ir=15,1;if(2&g)return Ir=14,2;if(4&g)return Ir=13,4;var C=24&g;return C!==0?(Ir=12,C):g&32?(Ir=11,32):(C=192&g,C!==0?(Ir=10,C):g&256?(Ir=9,256):(C=3584&g,C!==0?(Ir=8,C):g&4096?(Ir=7,4096):(C=4186112&g,C!==0?(Ir=6,C):(C=62914560&g,C!==0?(Ir=5,C):g&67108864?(Ir=4,67108864):g&134217728?(Ir=3,134217728):(C=805306368&g,C!==0?(Ir=2,C):1073741824&g?(Ir=1,1073741824):(Ir=8,g))))))}function _n(g){switch(g){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Pr(g){switch(g){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,g))}}function fn(g,C){var z=g.pendingLanes;if(z===0)return Ir=0;var ve=0,Le=0,ut=g.expiredLanes,jt=g.suspendedLanes,ir=g.pingedLanes;if(ut!==0)ve=ut,Le=Ir=15;else if(ut=z&134217727,ut!==0){var P=ut&~jt;P!==0?(ve=Ur(P),Le=Ir):(ir&=ut,ir!==0&&(ve=Ur(ir),Le=Ir))}else ut=z&~jt,ut!==0?(ve=Ur(ut),Le=Ir):ir!==0&&(ve=Ur(ir),Le=Ir);if(ve===0)return 0;if(ve=31-_i(ve),ve=z&((0>ve?0:1<<ve)<<1)-1,C!==0&&C!==ve&&!(C&jt)){if(Ur(C),Le<=Ir)return C;Ir=Le}if(C=g.entangledLanes,C!==0)for(g=g.entanglements,C&=ve;0<C;)z=31-_i(C),Le=1<<z,ve|=g[z],C&=~Le;return ve}function nn(g){return g=g.pendingLanes&-1073741825,g!==0?g:g&1073741824?1073741824:0}function on(g,C){switch(g){case 15:return 1;case 14:return 2;case 12:return g=Sn(24&~C),g===0?on(10,C):g;case 10:return g=Sn(192&~C),g===0?on(8,C):g;case 8:return g=Sn(3584&~C),g===0&&(g=Sn(4186112&~C),g===0&&(g=512)),g;case 2:return C=Sn(805306368&~C),C===0&&(C=268435456),C}throw Error(c(358,g))}function Sn(g){return g&-g}function va(g){for(var C=[],z=0;31>z;z++)C.push(g);return C}function wi(g,C,z){g.pendingLanes|=C;var ve=C-1;g.suspendedLanes&=ve,g.pingedLanes&=ve,g=g.eventTimes,C=31-_i(C),g[C]=z}var _i=Math.clz32?Math.clz32:Bi,vn=Math.log,si=Math.LN2;function Bi(g){return g===0?32:31-(vn(g)/si|0)|0}var da=l.unstable_UserBlockingPriority,Ha=l.unstable_runWithPriority,Ta=!0;function fs(g,C,z,ve){Gr||Dr();var Le=Wa,ut=Gr;Gr=!0;try{Fe(Le,g,C,z,ve)}finally{(Gr=ut)||Cr()}}function Es(g,C,z,ve){Ha(da,Wa.bind(null,g,C,z,ve))}function Wa(g,C,z,ve){if(Ta){var Le;if((Le=(C&4)===0)&&0<Li.length&&-1<bt.indexOf(g))g=lt(null,g,C,z,ve),Li.push(g);else{var ut=mi(g,C,z,ve);if(ut===null)Le&&Qn(g,ve);else{if(Le){if(-1<bt.indexOf(g)){g=lt(ut,g,C,z,ve),Li.push(g);return}if(ei(ut,g,C,z,ve))return;Qn(g,ve)}Zr(g,C,ve,null,z)}}}}function mi(g,C,z,ve){var Le=Gt(ve);if(Le=Ka(Le),Le!==null){var ut=it(Le);if(ut===null)Le=null;else{var jt=ut.tag;if(jt===13){if(Le=Br(ut),Le!==null)return Le;Le=null}else if(jt===3){if(ut.stateNode.hydrate)return ut.tag===3?ut.stateNode.containerInfo:null;Le=null}else ut!==Le&&(Le=null)}}return Zr(g,C,ve,Le,z),null}var ia=null,os=null,Ga=null;function Is(){if(Ga)return Ga;var g,C=os,z=C.length,ve,Le="value"in ia?ia.value:ia.textContent,ut=Le.length;for(g=0;g<z&&C[g]===Le[g];g++);var jt=z-g;for(ve=1;ve<=jt&&C[z-ve]===Le[ut-ve];ve++);return Ga=Le.slice(g,1<ve?1-ve:void 0)}function Yi(g){var C=g.keyCode;return"charCode"in g?(g=g.charCode,g===0&&C===13&&(g=13)):g=C,g===10&&(g=13),32<=g||g===13?g:0}function ms(){return!0}function bo(){return!1}function Ni(g){function C(z,ve,Le,ut,jt){this._reactName=z,this._targetInst=Le,this.type=ve,this.nativeEvent=ut,this.target=jt,this.currentTarget=null;for(var ir in g)g.hasOwnProperty(ir)&&(z=g[ir],this[ir]=z?z(ut):ut[ir]);return this.isDefaultPrevented=(ut.defaultPrevented!=null?ut.defaultPrevented:ut.returnValue===!1)?ms:bo,this.isPropagationStopped=bo,this}return i(C.prototype,{preventDefault:function(){this.defaultPrevented=!0;var z=this.nativeEvent;z&&(z.preventDefault?z.preventDefault():typeof z.returnValue!="unknown"&&(z.returnValue=!1),this.isDefaultPrevented=ms)},stopPropagation:function(){var z=this.nativeEvent;z&&(z.stopPropagation?z.stopPropagation():typeof z.cancelBubble!="unknown"&&(z.cancelBubble=!0),this.isPropagationStopped=ms)},persist:function(){},isPersistent:ms}),C}var vs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(g){return g.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Na=Ni(vs),Ys=i({},vs,{view:0,detail:0}),Dn=Ni(Ys),$a,cs,ja,zi=i({},Ys,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ua,button:0,buttons:0,relatedTarget:function(g){return g.relatedTarget===void 0?g.fromElement===g.srcElement?g.toElement:g.fromElement:g.relatedTarget},movementX:function(g){return"movementX"in g?g.movementX:(g!==ja&&(ja&&g.type==="mousemove"?($a=g.screenX-ja.screenX,cs=g.screenY-ja.screenY):cs=$a=0,ja=g),$a)},movementY:function(g){return"movementY"in g?g.movementY:cs}}),Ra=Ni(zi),Da=i({},zi,{dataTransfer:0}),ws=Ni(Da),Xs=i({},Ys,{relatedTarget:0}),xo=Ni(Xs),ho=i({},vs,{animationName:0,elapsedTime:0,pseudoElement:0}),wa=Ni(ho),gs=i({},vs,{clipboardData:function(g){return"clipboardData"in g?g.clipboardData:window.clipboardData}}),Zs=Ni(gs),no=i({},vs,{data:0}),Eo=Ni(no),wo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},po={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"},di={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ci(g){var C=this.nativeEvent;return C.getModifierState?C.getModifierState(g):(g=di[g])?!!C[g]:!1}function Ua(){return ci}var Qa=i({},Ys,{key:function(g){if(g.key){var C=wo[g.key]||g.key;if(C!=="Unidentified")return C}return g.type==="keypress"?(g=Yi(g),g===13?"Enter":String.fromCharCode(g)):g.type==="keydown"||g.type==="keyup"?po[g.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ua,charCode:function(g){return g.type==="keypress"?Yi(g):0},keyCode:function(g){return g.type==="keydown"||g.type==="keyup"?g.keyCode:0},which:function(g){return g.type==="keypress"?Yi(g):g.type==="keydown"||g.type==="keyup"?g.keyCode:0}}),qa=Ni(Qa),Qs=i({},zi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qs=Ni(Qs),Qo=i({},Ys,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ua}),ds=Ni(Qo),Oo=i({},vs,{propertyName:0,elapsedTime:0,pseudoElement:0}),ko=Ni(Oo),Ho=i({},zi,{deltaX:function(g){return"deltaX"in g?g.deltaX:"wheelDeltaX"in g?-g.wheelDeltaX:0},deltaY:function(g){return"deltaY"in g?g.deltaY:"wheelDeltaY"in g?-g.wheelDeltaY:"wheelDelta"in g?-g.wheelDelta:0},deltaZ:0,deltaMode:0}),Su=Ni(Ho),So=[9,13,27,32],_o=a&&"CompositionEvent"in window,Js=null;a&&"documentMode"in document&&(Js=document.documentMode);var $u=a&&"TextEvent"in window&&!Js,Ro=a&&(!_o||Js&&8<Js&&11>=Js),Lo=" ",Hs=!1;function du(g,C){switch(g){case"keyup":return So.indexOf(C.keyCode)!==-1;case"keydown":return C.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jo(g){return g=g.detail,typeof g=="object"&&"data"in g?g.data:null}var Ao=!1;function Bs(g,C){switch(g){case"compositionend":return jo(C);case"keypress":return C.which!==32?null:(Hs=!0,Lo);case"textInput":return g=C.data,g===Lo&&Hs?null:g;default:return null}}function Rs(g,C){if(Ao)return g==="compositionend"||!_o&&du(g,C)?(g=Is(),Ga=os=ia=null,Ao=!1,g):null;switch(g){case"paste":return null;case"keypress":if(!(C.ctrlKey||C.altKey||C.metaKey)||C.ctrlKey&&C.altKey){if(C.char&&1<C.char.length)return C.char;if(C.which)return String.fromCharCode(C.which)}return null;case"compositionend":return Ro&&C.locale!=="ko"?null:C.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 Au(g){var C=g&&g.nodeName&&g.nodeName.toLowerCase();return C==="input"?!!hu[g.type]:C==="textarea"}function qt(g,C,z,ve){Ke(ve),C=rn(C,"onChange"),0<C.length&&(z=new Na("onChange","change",null,z,ve),g.push({event:z,listeners:C}))}var hr=null,or=null;function vr(g){Ye(g,0)}function wr(g){var C=io(g);if(ot(C))return g}function yn(g,C){if(g==="change")return C}var En=!1;if(a){var $n;if(a){var Ln="oninput"in document;if(!Ln){var Vn=document.createElement("div");Vn.setAttribute("oninput","return;"),Ln=typeof Vn.oninput=="function"}$n=Ln}else $n=!1;En=$n&&(!document.documentMode||9<document.documentMode)}function ur(){hr&&(hr.detachEvent("onpropertychange",Nr),or=hr=null)}function Nr(g){if(g.propertyName==="value"&&wr(or)){var C=[];if(qt(C,or,g,Gt(g)),g=vr,Gr)g(C);else{Gr=!0;try{Ft(g,C)}finally{Gr=!1,Cr()}}}}function xr(g,C,z){g==="focusin"?(ur(),hr=C,or=z,hr.attachEvent("onpropertychange",Nr)):g==="focusout"&&ur()}function hn(g){if(g==="selectionchange"||g==="keyup"||g==="keydown")return wr(or)}function Wn(g,C){if(g==="click")return wr(C)}function ft(g,C){if(g==="input"||g==="change")return wr(C)}function Pn(g,C){return g===C&&(g!==0||1/g===1/C)||g!==g&&C!==C}var Kn=typeof Object.is=="function"?Object.is:Pn,ui=Object.prototype.hasOwnProperty;function Xi(g,C){if(Kn(g,C))return!0;if(typeof g!="object"||g===null||typeof C!="object"||C===null)return!1;var z=Object.keys(g),ve=Object.keys(C);if(z.length!==ve.length)return!1;for(ve=0;ve<z.length;ve++)if(!ui.call(C,z[ve])||!Kn(g[z[ve]],C[z[ve]]))return!1;return!0}function $r(g){for(;g&&g.firstChild;)g=g.firstChild;return g}function Vr(g,C){var z=$r(g);g=0;for(var ve;z;){if(z.nodeType===3){if(ve=g+z.textContent.length,g<=C&&ve>=C)return{node:z,offset:C-g};g=ve}e:{for(;z;){if(z.nextSibling){z=z.nextSibling;break e}z=z.parentNode}z=void 0}z=$r(z)}}function ga(g,C){return g&&C?g===C?!0:g&&g.nodeType===3?!1:C&&C.nodeType===3?ga(g,C.parentNode):"contains"in g?g.contains(C):g.compareDocumentPosition?!!(g.compareDocumentPosition(C)&16):!1:!1}function Ii(){for(var g=window,C=xt();C instanceof g.HTMLIFrameElement;){try{var z=typeof C.contentWindow.location.href=="string"}catch(ve){z=!1}if(z)g=C.contentWindow;else break;C=xt(g.document)}return C}function aa(g){var C=g&&g.nodeName&&g.nodeName.toLowerCase();return C&&(C==="input"&&(g.type==="text"||g.type==="search"||g.type==="tel"||g.type==="url"||g.type==="password")||C==="textarea"||g.contentEditable==="true")}var Ds=a&&"documentMode"in document&&11>=document.documentMode,li=null,Ws=null,Uo=null,Ls=!1;function ya(g,C,z){var ve=z.window===z?z.document:z.nodeType===9?z:z.ownerDocument;Ls||li==null||li!==xt(ve)||(ve=li,"selectionStart"in ve&&aa(ve)?ve={start:ve.selectionStart,end:ve.selectionEnd}:(ve=(ve.ownerDocument&&ve.ownerDocument.defaultView||window).getSelection(),ve={anchorNode:ve.anchorNode,anchorOffset:ve.anchorOffset,focusNode:ve.focusNode,focusOffset:ve.focusOffset}),Uo&&Xi(Uo,ve)||(Uo=ve,ve=rn(Ws,"onSelect"),0<ve.length&&(C=new Na("onSelect","select",null,C,z),g.push({event:C,listeners:ve}),C.target=li)))}Lr("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),Lr("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),Lr(nr,2);for(var Va="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),ys=0;ys<Va.length;ys++)st.set(Va[ys],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 Mn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ns=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mn));function $s(g,C,z){var ve=g.type||"unknown-event";g.currentTarget=z,yr(ve,C,void 0,g),g.currentTarget=null}function Ye(g,C){C=(C&4)!==0;for(var z=0;z<g.length;z++){var ve=g[z],Le=ve.event;ve=ve.listeners;e:{var ut=void 0;if(C)for(var jt=ve.length-1;0<=jt;jt--){var ir=ve[jt],P=ir.instance,t=ir.currentTarget;if(ir=ir.listener,P!==ut&&Le.isPropagationStopped())break e;$s(Le,ir,t),ut=P}else for(jt=0;jt<ve.length;jt++){if(ir=ve[jt],P=ir.instance,t=ir.currentTarget,ir=ir.listener,P!==ut&&Le.isPropagationStopped())break e;$s(Le,ir,t),ut=P}}}if(mt)throw g=vt,mt=!1,vt=null,g}function Qe(g,C){var z=ao(C),ve=g+"__bubble";z.has(ve)||(Mr(C,g,2,!1),z.add(ve))}var Mt="_reactListening"+Math.random().toString(36).slice(2);function Kt(g){g[Mt]||(g[Mt]=!0,f.forEach(function(C){Ns.has(C)||pr(C,!1,g,null),pr(C,!0,g,null)}))}function pr(g,C,z,ve){var Le=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,ut=z;if(g==="selectionchange"&&z.nodeType!==9&&(ut=z.ownerDocument),ve!==null&&!C&&Ns.has(g)){if(g!=="scroll")return;Le|=2,ut=ve}var jt=ao(ut),ir=g+"__"+(C?"capture":"bubble");jt.has(ir)||(C&&(Le|=4),Mr(ut,g,Le,C),jt.add(ir))}function Mr(g,C,z,ve){var Le=st.get(C);switch(Le===void 0?2:Le){case 0:Le=fs;break;case 1:Le=Es;break;default:Le=Wa}z=Le.bind(null,C,z,g),Le=void 0,!jr||C!=="touchstart"&&C!=="touchmove"&&C!=="wheel"||(Le=!0),ve?Le!==void 0?g.addEventListener(C,z,{capture:!0,passive:Le}):g.addEventListener(C,z,!0):Le!==void 0?g.addEventListener(C,z,{passive:Le}):g.addEventListener(C,z,!1)}function Zr(g,C,z,ve,Le){var ut=ve;if(!(C&1)&&!(C&2)&&ve!==null)e:for(;;){if(ve===null)return;var jt=ve.tag;if(jt===3||jt===4){var ir=ve.stateNode.containerInfo;if(ir===Le||ir.nodeType===8&&ir.parentNode===Le)break;if(jt===4)for(jt=ve.return;jt!==null;){var P=jt.tag;if((P===3||P===4)&&(P=jt.stateNode.containerInfo,P===Le||P.nodeType===8&&P.parentNode===Le))return;jt=jt.return}for(;ir!==null;){if(jt=Ka(ir),jt===null)return;if(P=jt.tag,P===5||P===6){ve=ut=jt;continue e}ir=ir.parentNode}}ve=ve.return}Fr(function(){var t=ut,n=Gt(z),s=[];e:{var m=Ee.get(g);if(m!==void 0){var E=Na,T=g;switch(g){case"keypress":if(Yi(z)===0)break e;case"keydown":case"keyup":E=qa;break;case"focusin":T="focus",E=xo;break;case"focusout":T="blur",E=xo;break;case"beforeblur":case"afterblur":E=xo;break;case"click":if(z.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":E=Ra;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":E=ws;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":E=ds;break;case Tr:case Hr:case Ue:E=wa;break;case Je:E=ko;break;case"scroll":E=Dn;break;case"wheel":E=Su;break;case"copy":case"cut":case"paste":E=Zs;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":E=qs}var U=(C&4)!==0,W=!U&&g==="scroll",N=U?m!==null?m+"Capture":null:m;U=[];for(var te=t,ce;te!==null;){ce=te;var xe=ce.stateNode;if(ce.tag===5&&xe!==null&&(ce=xe,N!==null&&(xe=mr(te,N),xe!=null&&U.push(mn(te,xe,ce)))),W)break;te=te.return}0<U.length&&(m=new E(m,T,null,z,n),s.push({event:m,listeners:U}))}}if(!(C&7)){e:{if(m=g==="mouseover"||g==="pointerover",E=g==="mouseout"||g==="pointerout",m&&!(C&16)&&(T=z.relatedTarget||z.fromElement)&&(Ka(T)||T[Ri]))break e;if((E||m)&&(m=n.window===n?n:(m=n.ownerDocument)?m.defaultView||m.parentWindow:window,E?(T=z.relatedTarget||z.toElement,E=t,T=T?Ka(T):null,T!==null&&(W=it(T),T!==W||T.tag!==5&&T.tag!==6)&&(T=null)):(E=null,T=t),E!==T)){if(U=Ra,xe="onMouseLeave",N="onMouseEnter",te="mouse",(g==="pointerout"||g==="pointerover")&&(U=qs,xe="onPointerLeave",N="onPointerEnter",te="pointer"),W=E==null?m:io(E),ce=T==null?m:io(T),m=new U(xe,te+"leave",E,z,n),m.target=W,m.relatedTarget=ce,xe=null,Ka(n)===t&&(U=new U(N,te+"enter",T,z,n),U.target=ce,U.relatedTarget=W,xe=U),W=xe,E&&T)t:{for(U=E,N=T,te=0,ce=U;ce;ce=bn(ce))te++;for(ce=0,xe=N;xe;xe=bn(xe))ce++;for(;0<te-ce;)U=bn(U),te--;for(;0<ce-te;)N=bn(N),ce--;for(;te--;){if(U===N||N!==null&&U===N.alternate)break t;U=bn(U),N=bn(N)}U=null}else U=null;E!==null&&Yn(s,m,E,U,!1),T!==null&&W!==null&&Yn(s,W,T,U,!0)}}e:{if(m=t?io(t):window,E=m.nodeName&&m.nodeName.toLowerCase(),E==="select"||E==="input"&&m.type==="file")var Ie=yn;else if(Au(m))if(En)Ie=ft;else{Ie=hn;var Ae=xr}else(E=m.nodeName)&&E.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(Ie=Wn);if(Ie&&(Ie=Ie(g,t))){qt(s,Ie,z,n);break e}Ae&&Ae(g,m,t),g==="focusout"&&(Ae=m._wrapperState)&&Ae.controlled&&m.type==="number"&&Me(m,"number",m.value)}switch(Ae=t?io(t):window,g){case"focusin":(Au(Ae)||Ae.contentEditable==="true")&&(li=Ae,Ws=t,Uo=null);break;case"focusout":Uo=Ws=li=null;break;case"mousedown":Ls=!0;break;case"contextmenu":case"mouseup":case"dragend":Ls=!1,ya(s,z,n);break;case"selectionchange":if(Ds)break;case"keydown":case"keyup":ya(s,z,n)}var at;if(_o)e:{switch(g){case"compositionstart":var tt="onCompositionStart";break e;case"compositionend":tt="onCompositionEnd";break e;case"compositionupdate":tt="onCompositionUpdate";break e}tt=void 0}else Ao?du(g,z)&&(tt="onCompositionEnd"):g==="keydown"&&z.keyCode===229&&(tt="onCompositionStart");tt&&(Ro&&z.locale!=="ko"&&(Ao||tt!=="onCompositionStart"?tt==="onCompositionEnd"&&Ao&&(at=Is()):(ia=n,os="value"in ia?ia.value:ia.textContent,Ao=!0)),Ae=rn(t,tt),0<Ae.length&&(tt=new Eo(tt,g,null,z,n),s.push({event:tt,listeners:Ae}),at?tt.data=at:(at=jo(z),at!==null&&(tt.data=at)))),(at=$u?Bs(g,z):Rs(g,z))&&(t=rn(t,"onBeforeInput"),0<t.length&&(n=new Eo("onBeforeInput","beforeinput",null,z,n),s.push({event:n,listeners:t}),n.data=at))}Ye(s,C)})}function mn(g,C,z){return{instance:g,listener:C,currentTarget:z}}function rn(g,C){for(var z=C+"Capture",ve=[];g!==null;){var Le=g,ut=Le.stateNode;Le.tag===5&&ut!==null&&(Le=ut,ut=mr(g,z),ut!=null&&ve.unshift(mn(g,ut,Le)),ut=mr(g,C),ut!=null&&ve.push(mn(g,ut,Le))),g=g.return}return ve}function bn(g){if(g===null)return null;do g=g.return;while(g&&g.tag!==5);return g||null}function Yn(g,C,z,ve,Le){for(var ut=C._reactName,jt=[];z!==null&&z!==ve;){var ir=z,P=ir.alternate,t=ir.stateNode;if(P!==null&&P===ve)break;ir.tag===5&&t!==null&&(ir=t,Le?(P=mr(z,ut),P!=null&&jt.unshift(mn(z,P,ir))):Le||(P=mr(z,ut),P!=null&&jt.push(mn(z,P,ir)))),z=z.return}jt.length!==0&&g.push({event:C,listeners:jt})}function ti(){}var xi=null,Ai=null;function Zi(g,C){switch(g){case"button":case"input":case"select":case"textarea":return!!C.autoFocus}return!1}function $i(g,C){return g==="textarea"||g==="option"||g==="noscript"||typeof C.children=="string"||typeof C.children=="number"||typeof C.dangerouslySetInnerHTML=="object"&&C.dangerouslySetInnerHTML!==null&&C.dangerouslySetInnerHTML.__html!=null}var Ei=typeof setTimeout=="function"?setTimeout:void 0,ba=typeof clearTimeout=="function"?clearTimeout:void 0;function Di(g){g.nodeType===1?g.textContent="":g.nodeType===9&&(g=g.body,g!=null&&(g.textContent=""))}function hi(g){for(;g!=null;g=g.nextSibling){var C=g.nodeType;if(C===1||C===3)break}return g}function la(g){g=g.previousSibling;for(var C=0;g;){if(g.nodeType===8){var z=g.data;if(z==="$"||z==="$!"||z==="$?"){if(C===0)return g;C--}else z==="/$"&&C++}g=g.previousSibling}return null}var eo=0;function Ss(g){return{$$typeof:Z,toString:g,valueOf:g}}var Qi=Math.random().toString(36).slice(2),La="__reactFiber$"+Qi,ta="__reactProps$"+Qi,Ri="__reactContainer$"+Qi,xa="__reactEvents$"+Qi;function Ka(g){var C=g[La];if(C)return C;for(var z=g.parentNode;z;){if(C=z[Ri]||z[La]){if(z=C.alternate,C.child!==null||z!==null&&z.child!==null)for(g=la(g);g!==null;){if(z=g[La])return z;g=la(g)}return C}g=z,z=g.parentNode}return null}function Fa(g){return g=g[La]||g[Ri],!g||g.tag!==5&&g.tag!==6&&g.tag!==13&&g.tag!==3?null:g}function io(g){if(g.tag===5||g.tag===6)return g.stateNode;throw Error(c(33))}function Ja(g){return g[ta]||null}function ao(g){var C=g[xa];return C===void 0&&(C=g[xa]=new Set),C}var es=[],js=-1;function ts(g){return{current:g}}function Hi(g){0>js||(g.current=es[js],es[js]=null,js--)}function Ba(g,C){js++,es[js]=g.current,g.current=C}var Os={},ha=ts(Os),ye=ts(!1),we=Os;function Ar(g,C){var z=g.type.contextTypes;if(!z)return Os;var ve=g.stateNode;if(ve&&ve.__reactInternalMemoizedUnmaskedChildContext===C)return ve.__reactInternalMemoizedMaskedChildContext;var Le={},ut;for(ut in z)Le[ut]=C[ut];return ve&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=C,g.__reactInternalMemoizedMaskedChildContext=Le),Le}function Jr(g){return g=g.childContextTypes,g!=null}function br(){Hi(ye),Hi(ha)}function Xr(g,C,z){if(ha.current!==Os)throw Error(c(168));Ba(ha,C),Ba(ye,z)}function wn(g,C,z){var ve=g.stateNode;if(g=C.childContextTypes,typeof ve.getChildContext!="function")return z;ve=ve.getChildContext();for(var Le in ve)if(!(Le in g))throw Error(c(108,er(C)||"Unknown",Le));return i({},z,ve)}function Jn(g){return g=(g=g.stateNode)&&g.__reactInternalMemoizedMergedChildContext||Os,we=ha.current,Ba(ha,g),Ba(ye,ye.current),!0}function Mi(g,C,z){var ve=g.stateNode;if(!ve)throw Error(c(169));z?(g=wn(g,C,we),ve.__reactInternalMemoizedMergedChildContext=g,Hi(ye),Hi(ha),Ba(ha,g)):Hi(ye),Ba(ye,z)}var On=null,kn=null,Bn=l.unstable_runWithPriority,ca=l.unstable_scheduleCallback,Wi=l.unstable_cancelCallback,vo=l.unstable_shouldYield,so=l.unstable_requestPaint,ru=l.unstable_now,hl=l.unstable_getCurrentPriorityLevel,Yu=l.unstable_ImmediatePriority,pu=l.unstable_UserBlockingPriority,Tl=l.unstable_NormalPriority,_u=l.unstable_LowPriority,Ve=l.unstable_IdlePriority,H={},X=so!==void 0?so:function(){},ne=null,he=null,Ce=!1,Ge=ru(),Tt=1e4>Ge?ru:function(){return ru()-Ge};function Nt(){switch(hl()){case Yu:return 99;case pu:return 98;case Tl:return 97;case _u:return 96;case Ve:return 95;default:throw Error(c(332))}}function ar(g){switch(g){case 99:return Yu;case 98:return pu;case 97:return Tl;case 96:return _u;case 95:return Ve;default:throw Error(c(332))}}function Er(g,C){return g=ar(g),Bn(g,C)}function zt(g,C,z){return g=ar(g),ca(g,C,z)}function an(){if(he!==null){var g=he;he=null,Wi(g)}xn()}function xn(){if(!Ce&&ne!==null){Ce=!0;var g=0;try{var C=ne;Er(99,function(){for(;g<C.length;g++){var z=C[g];do z=z(!0);while(z!==null)}}),ne=null}catch(z){throw ne!==null&&(ne=ne.slice(g+1)),ca(Yu,an),z}finally{Ce=!1}}}var jn=j.ReactCurrentBatchConfig;function Zn(g,C){if(g&&g.defaultProps){C=i({},C),g=g.defaultProps;for(var z in g)C[z]===void 0&&(C[z]=g[z]);return C}return C}var Ci=ts(null),pa=null,sa=null,fa=null;function us(){fa=sa=pa=null}function za(g){var C=Ci.current;Hi(Ci),g.type._context._currentValue=C}function hs(g,C){for(;g!==null;){var z=g.alternate;if((g.childLanes&C)===C){if(z===null||(z.childLanes&C)===C)break;z.childLanes|=C}else g.childLanes|=C,z!==null&&(z.childLanes|=C);g=g.return}}function rs(g,C){pa=g,fa=sa=null,g=g.dependencies,g!==null&&g.firstContext!==null&&(g.lanes&C&&(Ou=!0),g.firstContext=null)}function Ea(g,C){if(fa!==g&&C!==!1&&C!==0)if((typeof C!="number"||C===1073741823)&&(fa=g,C=1073741823),C={context:g,observedBits:C,next:null},sa===null){if(pa===null)throw Error(c(308));sa=C,pa.dependencies={lanes:0,firstContext:C,responders:null}}else sa=sa.next=C;return g._currentValue}var Za=!1;function ks(g){g.updateQueue={baseState:g.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function vi(g,C){g=g.updateQueue,C.updateQueue===g&&(C.updateQueue={baseState:g.baseState,firstBaseUpdate:g.firstBaseUpdate,lastBaseUpdate:g.lastBaseUpdate,shared:g.shared,effects:g.effects})}function oo(g,C){return{eventTime:g,lane:C,tag:0,payload:null,callback:null,next:null}}function Co(g,C){if(g=g.updateQueue,g!==null){g=g.shared;var z=g.pending;z===null?C.next=C:(C.next=z.next,z.next=C),g.pending=C}}function Mo(g,C){var z=g.updateQueue,ve=g.alternate;if(ve!==null&&(ve=ve.updateQueue,z===ve)){var Le=null,ut=null;if(z=z.firstBaseUpdate,z!==null){do{var jt={eventTime:z.eventTime,lane:z.lane,tag:z.tag,payload:z.payload,callback:z.callback,next:null};ut===null?Le=ut=jt:ut=ut.next=jt,z=z.next}while(z!==null);ut===null?Le=ut=C:ut=ut.next=C}else Le=ut=C;z={baseState:ve.baseState,firstBaseUpdate:Le,lastBaseUpdate:ut,shared:ve.shared,effects:ve.effects},g.updateQueue=z;return}g=z.lastBaseUpdate,g===null?z.firstBaseUpdate=C:g.next=C,z.lastBaseUpdate=C}function Ms(g,C,z,ve){var Le=g.updateQueue;Za=!1;var ut=Le.firstBaseUpdate,jt=Le.lastBaseUpdate,ir=Le.shared.pending;if(ir!==null){Le.shared.pending=null;var P=ir,t=P.next;P.next=null,jt===null?ut=t:jt.next=t,jt=P;var n=g.alternate;if(n!==null){n=n.updateQueue;var s=n.lastBaseUpdate;s!==jt&&(s===null?n.firstBaseUpdate=t:s.next=t,n.lastBaseUpdate=P)}}if(ut!==null){s=Le.baseState,jt=0,n=t=P=null;do{ir=ut.lane;var m=ut.eventTime;if((ve&ir)===ir){n!==null&&(n=n.next={eventTime:m,lane:0,tag:ut.tag,payload:ut.payload,callback:ut.callback,next:null});e:{var E=g,T=ut;switch(ir=C,m=z,T.tag){case 1:if(E=T.payload,typeof E=="function"){s=E.call(m,s,ir);break e}s=E;break e;case 3:E.flags=E.flags&-4097|64;case 0:if(E=T.payload,ir=typeof E=="function"?E.call(m,s,ir):E,ir==null)break e;s=i({},s,ir);break e;case 2:Za=!0}}ut.callback!==null&&(g.flags|=32,ir=Le.effects,ir===null?Le.effects=[ut]:ir.push(ut))}else m={eventTime:m,lane:ir,tag:ut.tag,payload:ut.payload,callback:ut.callback,next:null},n===null?(t=n=m,P=s):n=n.next=m,jt|=ir;if(ut=ut.next,ut===null){if(ir=Le.shared.pending,ir===null)break;ut=ir.next,ir.next=null,Le.lastBaseUpdate=ir,Le.shared.pending=null}}while(!0);n===null&&(P=s),Le.baseState=P,Le.firstBaseUpdate=t,Le.lastBaseUpdate=n,co|=jt,g.lanes=jt,g.memoizedState=s}}function go(g,C,z){if(g=C.effects,C.effects=null,g!==null)for(C=0;C<g.length;C++){var ve=g[C],Le=ve.callback;if(Le!==null){if(ve.callback=null,ve=z,typeof Le!="function")throw Error(c(191,Le));Le.call(ve)}}}var ps=new r.Component().refs;function Xu(g,C,z,ve){C=g.memoizedState,z=z(ve,C),z=z==null?C:i({},C,z),g.memoizedState=z,g.lanes===0&&(g.updateQueue.baseState=z)}var ju={isMounted:function(g){return(g=g._reactInternals)?it(g)===g:!1},enqueueSetState:function(g,C,z){g=g._reactInternals;var ve=cu(),Le=Fu(g),ut=oo(ve,Le);ut.payload=C,z!=null&&(ut.callback=z),Co(g,ut),Sl(g,Le,ve)},enqueueReplaceState:function(g,C,z){g=g._reactInternals;var ve=cu(),Le=Fu(g),ut=oo(ve,Le);ut.tag=1,ut.payload=C,z!=null&&(ut.callback=z),Co(g,ut),Sl(g,Le,ve)},enqueueForceUpdate:function(g,C){g=g._reactInternals;var z=cu(),ve=Fu(g),Le=oo(z,ve);Le.tag=2,C!=null&&(Le.callback=C),Co(g,Le),Sl(g,ve,z)}};function Qu(g,C,z,ve,Le,ut,jt){return g=g.stateNode,typeof g.shouldComponentUpdate=="function"?g.shouldComponentUpdate(ve,ut,jt):C.prototype&&C.prototype.isPureReactComponent?!Xi(z,ve)||!Xi(Le,ut):!0}function uu(g,C,z){var ve=!1,Le=Os,ut=C.contextType;return typeof ut=="object"&&ut!==null?ut=Ea(ut):(Le=Jr(C)?we:ha.current,ve=C.contextTypes,ut=(ve=ve!=null)?Ar(g,Le):Os),C=new C(z,ut),g.memoizedState=C.state!==null&&C.state!==void 0?C.state:null,C.updater=ju,g.stateNode=C,C._reactInternals=g,ve&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=Le,g.__reactInternalMemoizedMaskedChildContext=ut),C}function As(g,C,z,ve){g=C.state,typeof C.componentWillReceiveProps=="function"&&C.componentWillReceiveProps(z,ve),typeof C.UNSAFE_componentWillReceiveProps=="function"&&C.UNSAFE_componentWillReceiveProps(z,ve),C.state!==g&&ju.enqueueReplaceState(C,C.state,null)}function Uu(g,C,z,ve){var Le=g.stateNode;Le.props=z,Le.state=g.memoizedState,Le.refs=ps,ks(g);var ut=C.contextType;typeof ut=="object"&&ut!==null?Le.context=Ea(ut):(ut=Jr(C)?we:ha.current,Le.context=Ar(g,ut)),Ms(g,z,Le,ve),Le.state=g.memoizedState,ut=C.getDerivedStateFromProps,typeof ut=="function"&&(Xu(g,C,ut,z),Le.state=g.memoizedState),typeof C.getDerivedStateFromProps=="function"||typeof Le.getSnapshotBeforeUpdate=="function"||typeof Le.UNSAFE_componentWillMount!="function"&&typeof Le.componentWillMount!="function"||(C=Le.state,typeof Le.componentWillMount=="function"&&Le.componentWillMount(),typeof Le.UNSAFE_componentWillMount=="function"&&Le.UNSAFE_componentWillMount(),C!==Le.state&&ju.enqueueReplaceState(Le,Le.state,null),Ms(g,z,Le,ve),Le.state=g.memoizedState),typeof Le.componentDidMount=="function"&&(g.flags|=4)}var Cu=Array.isArray;function yo(g,C,z){if(g=z.ref,g!==null&&typeof g!="function"&&typeof g!="object"){if(z._owner){if(z=z._owner,z){if(z.tag!==1)throw Error(c(309));var ve=z.stateNode}if(!ve)throw Error(c(147,g));var Le=""+g;return C!==null&&C.ref!==null&&typeof C.ref=="function"&&C.ref._stringRef===Le?C.ref:(C=function(ut){var jt=ve.refs;jt===ps&&(jt=ve.refs={}),ut===null?delete jt[Le]:jt[Le]=ut},C._stringRef=Le,C)}if(typeof g!="string")throw Error(c(284));if(!z._owner)throw Error(c(290,g))}return g}function pl(g,C){if(g.type!=="textarea")throw Error(c(31,Object.prototype.toString.call(C)==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":C))}function _l(g){function C(W,N){if(g){var te=W.lastEffect;te!==null?(te.nextEffect=N,W.lastEffect=N):W.firstEffect=W.lastEffect=N,N.nextEffect=null,N.flags=8}}function z(W,N){if(!g)return null;for(;N!==null;)C(W,N),N=N.sibling;return null}function ve(W,N){for(W=new Map;N!==null;)N.key!==null?W.set(N.key,N):W.set(N.index,N),N=N.sibling;return W}function Le(W,N){return W=fl(W,N),W.index=0,W.sibling=null,W}function ut(W,N,te){return W.index=te,g?(te=W.alternate,te!==null?(te=te.index,te<N?(W.flags=2,N):te):(W.flags=2,N)):N}function jt(W){return g&&W.alternate===null&&(W.flags=2),W}function ir(W,N,te,ce){return N===null||N.tag!==6?(N=_f(te,W.mode,ce),N.return=W,N):(N=Le(N,te),N.return=W,N)}function P(W,N,te,ce){return N!==null&&N.elementType===te.type?(ce=Le(N,te.props),ce.ref=yo(W,N,te),ce.return=W,ce):(ce=jl(te.type,te.key,te.props,null,W.mode,ce),ce.ref=yo(W,N,te),ce.return=W,ce)}function t(W,N,te,ce){return N===null||N.tag!==4||N.stateNode.containerInfo!==te.containerInfo||N.stateNode.implementation!==te.implementation?(N=Lc(te,W.mode,ce),N.return=W,N):(N=Le(N,te.children||[]),N.return=W,N)}function n(W,N,te,ce,xe){return N===null||N.tag!==7?(N=Yo(te,W.mode,ce,xe),N.return=W,N):(N=Le(N,te),N.return=W,N)}function s(W,N,te){if(typeof N=="string"||typeof N=="number")return N=_f(""+N,W.mode,te),N.return=W,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case Y:return te=jl(N.type,N.key,N.props,null,W.mode,te),te.ref=yo(W,null,N),te.return=W,te;case V:return N=Lc(N,W.mode,te),N.return=W,N}if(Cu(N)||Ze(N))return N=Yo(N,W.mode,te,null),N.return=W,N;pl(W,N)}return null}function m(W,N,te,ce){var xe=N!==null?N.key:null;if(typeof te=="string"||typeof te=="number")return xe!==null?null:ir(W,N,""+te,ce);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case Y:return te.key===xe?te.type===G?n(W,N,te.props.children,ce,xe):P(W,N,te,ce):null;case V:return te.key===xe?t(W,N,te,ce):null}if(Cu(te)||Ze(te))return xe!==null?null:n(W,N,te,ce,null);pl(W,te)}return null}function E(W,N,te,ce,xe){if(typeof ce=="string"||typeof ce=="number")return W=W.get(te)||null,ir(N,W,""+ce,xe);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case Y:return W=W.get(ce.key===null?te:ce.key)||null,ce.type===G?n(N,W,ce.props.children,xe,ce.key):P(N,W,ce,xe);case V:return W=W.get(ce.key===null?te:ce.key)||null,t(N,W,ce,xe)}if(Cu(ce)||Ze(ce))return W=W.get(te)||null,n(N,W,ce,xe,null);pl(N,ce)}return null}function T(W,N,te,ce){for(var xe=null,Ie=null,Ae=N,at=N=0,tt=null;Ae!==null&&at<te.length;at++){Ae.index>at?(tt=Ae,Ae=null):tt=Ae.sibling;var kt=m(W,Ae,te[at],ce);if(kt===null){Ae===null&&(Ae=tt);break}g&&Ae&&kt.alternate===null&&C(W,Ae),N=ut(kt,N,at),Ie===null?xe=kt:Ie.sibling=kt,Ie=kt,Ae=tt}if(at===te.length)return z(W,Ae),xe;if(Ae===null){for(;at<te.length;at++)Ae=s(W,te[at],ce),Ae!==null&&(N=ut(Ae,N,at),Ie===null?xe=Ae:Ie.sibling=Ae,Ie=Ae);return xe}for(Ae=ve(W,Ae);at<te.length;at++)tt=E(Ae,W,at,te[at],ce),tt!==null&&(g&&tt.alternate!==null&&Ae.delete(tt.key===null?at:tt.key),N=ut(tt,N,at),Ie===null?xe=tt:Ie.sibling=tt,Ie=tt);return g&&Ae.forEach(function(fr){return C(W,fr)}),xe}function U(W,N,te,ce){var xe=Ze(te);if(typeof xe!="function")throw Error(c(150));if(te=xe.call(te),te==null)throw Error(c(151));for(var Ie=xe=null,Ae=N,at=N=0,tt=null,kt=te.next();Ae!==null&&!kt.done;at++,kt=te.next()){Ae.index>at?(tt=Ae,Ae=null):tt=Ae.sibling;var fr=m(W,Ae,kt.value,ce);if(fr===null){Ae===null&&(Ae=tt);break}g&&Ae&&fr.alternate===null&&C(W,Ae),N=ut(fr,N,at),Ie===null?xe=fr:Ie.sibling=fr,Ie=fr,Ae=tt}if(kt.done)return z(W,Ae),xe;if(Ae===null){for(;!kt.done;at++,kt=te.next())kt=s(W,kt.value,ce),kt!==null&&(N=ut(kt,N,at),Ie===null?xe=kt:Ie.sibling=kt,Ie=kt);return xe}for(Ae=ve(W,Ae);!kt.done;at++,kt=te.next())kt=E(Ae,W,at,kt.value,ce),kt!==null&&(g&&kt.alternate!==null&&Ae.delete(kt.key===null?at:kt.key),N=ut(kt,N,at),Ie===null?xe=kt:Ie.sibling=kt,Ie=kt);return g&&Ae.forEach(function(sr){return C(W,sr)}),xe}return function(W,N,te,ce){var xe=typeof te=="object"&&te!==null&&te.type===G&&te.key===null;xe&&(te=te.props.children);var Ie=typeof te=="object"&&te!==null;if(Ie)switch(te.$$typeof){case Y:e:{for(Ie=te.key,xe=N;xe!==null;){if(xe.key===Ie){switch(xe.tag){case 7:if(te.type===G){z(W,xe.sibling),N=Le(xe,te.props.children),N.return=W,W=N;break e}break;default:if(xe.elementType===te.type){z(W,xe.sibling),N=Le(xe,te.props),N.ref=yo(W,xe,te),N.return=W,W=N;break e}}z(W,xe);break}else C(W,xe);xe=xe.sibling}te.type===G?(N=Yo(te.props.children,W.mode,ce,te.key),N.return=W,W=N):(ce=jl(te.type,te.key,te.props,null,W.mode,ce),ce.ref=yo(W,N,te),ce.return=W,W=ce)}return jt(W);case V:e:{for(xe=te.key;N!==null;){if(N.key===xe)if(N.tag===4&&N.stateNode.containerInfo===te.containerInfo&&N.stateNode.implementation===te.implementation){z(W,N.sibling),N=Le(N,te.children||[]),N.return=W,W=N;break e}else{z(W,N);break}else C(W,N);N=N.sibling}N=Lc(te,W.mode,ce),N.return=W,W=N}return jt(W)}if(typeof te=="string"||typeof te=="number")return te=""+te,N!==null&&N.tag===6?(z(W,N.sibling),N=Le(N,te),N.return=W,W=N):(z(W,N),N=_f(te,W.mode,ce),N.return=W,W=N),jt(W);if(Cu(te))return T(W,N,te,ce);if(Ze(te))return U(W,N,te,ce);if(Ie&&pl(W,te),typeof te=="undefined"&&!xe)switch(W.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,er(W.type)||"Component"))}return z(W,N)}}var qo=_l(!0),ml=_l(!1),Gs={},To=ts(Gs),mu=ts(Gs),Wl=ts(Gs);function Tu(g){if(g===Gs)throw Error(c(174));return g}function lc(g,C){switch(Ba(Wl,C),Ba(mu,g),Ba(To,Gs),g=C.nodeType,g){case 9:case 11:C=(C=C.documentElement)?C.namespaceURI:Rt(null,"");break;default:g=g===8?C.parentNode:C,C=g.namespaceURI||null,g=g.tagName,C=Rt(C,g)}Hi(To),Ba(To,C)}function Pl(){Hi(To),Hi(mu),Hi(Wl)}function ai(g){Tu(Wl.current);var C=Tu(To.current),z=Rt(C,g.type);C!==z&&(Ba(mu,g),Ba(To,z))}function xc(g){mu.current===g&&(Hi(To),Hi(mu))}var to=ts(0);function Ec(g){for(var C=g;C!==null;){if(C.tag===13){var z=C.memoizedState;if(z!==null&&(z=z.dehydrated,z===null||z.data==="$?"||z.data==="$!"))return C}else if(C.tag===19&&C.memoizedProps.revealOrder!==void 0){if(C.flags&64)return C}else if(C.child!==null){C.child.return=C,C=C.child;continue}if(C===g)break;for(;C.sibling===null;){if(C.return===null||C.return===g)return null;C=C.return}C.sibling.return=C.return,C=C.sibling}return null}var Jo=null,Pu=null,qu=!1;function zo(g,C){var z=Ko(5,null,null,0);z.elementType="DELETED",z.type="DELETED",z.stateNode=C,z.return=g,z.flags=8,g.lastEffect!==null?(g.lastEffect.nextEffect=z,g.lastEffect=z):g.firstEffect=g.lastEffect=z}function jc(g,C){switch(g.tag){case 5:var z=g.type;return C=C.nodeType!==1||z.toLowerCase()!==C.nodeName.toLowerCase()?null:C,C!==null?(g.stateNode=C,!0):!1;case 6:return C=g.pendingProps===""||C.nodeType!==3?null:C,C!==null?(g.stateNode=C,!0):!1;case 13:return!1;default:return!1}}function mo(g){if(qu){var C=Pu;if(C){var z=C;if(!jc(g,C)){if(C=hi(z.nextSibling),!C||!jc(g,C)){g.flags=g.flags&-1025|2,qu=!1,Jo=g;return}zo(Jo,z)}Jo=g,Pu=hi(C.firstChild)}else g.flags=g.flags&-1025|2,qu=!1,Jo=g}}function lf(g){for(g=g.return;g!==null&&g.tag!==5&&g.tag!==3&&g.tag!==13;)g=g.return;Jo=g}function cf(g){if(g!==Jo)return!1;if(!qu)return lf(g),qu=!0,!1;var C=g.type;if(g.tag!==5||C!=="head"&&C!=="body"&&!$i(C,g.memoizedProps))for(C=Pu;C;)zo(g,C),C=hi(C.nextSibling);if(lf(g),g.tag===13){if(g=g.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(c(317));e:{for(g=g.nextSibling,C=0;g;){if(g.nodeType===8){var z=g.data;if(z==="/$"){if(C===0){Pu=hi(g.nextSibling);break e}C--}else z!=="$"&&z!=="$!"&&z!=="$?"||C++}g=g.nextSibling}Pu=null}}else Pu=Jo?hi(g.stateNode.nextSibling):null;return!0}function Uc(){Pu=Jo=null,qu=!1}var Il=[];function vl(){for(var g=0;g<Il.length;g++)Il[g]._workInProgressVersionPrimary=null;Il.length=0}var Dl=j.ReactCurrentDispatcher,Fo=j.ReactCurrentBatchConfig,Ol=0,Us=null,Bo=null,Fs=null,Gl=!1,gl=!1;function nu(){throw Error(c(321))}function wc(g,C){if(C===null)return!1;for(var z=0;z<C.length&&z<g.length;z++)if(!Kn(g[z],C[z]))return!1;return!0}function Sc(g,C,z,ve,Le,ut){if(Ol=ut,Us=C,C.memoizedState=null,C.updateQueue=null,C.lanes=0,Dl.current=g===null||g.memoizedState===null?uo:Xl,g=z(ve,Le),gl){ut=0;do{if(gl=!1,!(25>ut))throw Error(c(301));ut+=1,Fs=Bo=null,C.updateQueue=null,Dl.current=Tc,g=z(ve,Le)}while(gl)}if(Dl.current=Yl,C=Bo!==null&&Bo.next!==null,Ol=0,Fs=Bo=Us=null,Gl=!1,C)throw Error(c(300));return g}function iu(){var g={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fs===null?Us.memoizedState=Fs=g:Fs=Fs.next=g,Fs}function kl(){if(Bo===null){var g=Us.alternate;g=g!==null?g.memoizedState:null}else g=Bo.next;var C=Fs===null?Us.memoizedState:Fs.next;if(C!==null)Fs=C,Bo=g;else{if(g===null)throw Error(c(310));Bo=g,g={memoizedState:Bo.memoizedState,baseState:Bo.baseState,baseQueue:Bo.baseQueue,queue:Bo.queue,next:null},Fs===null?Us.memoizedState=Fs=g:Fs=Fs.next=g}return Fs}function vu(g,C){return typeof C=="function"?C(g):C}function cc(g){var C=kl(),z=C.queue;if(z===null)throw Error(c(311));z.lastRenderedReducer=g;var ve=Bo,Le=ve.baseQueue,ut=z.pending;if(ut!==null){if(Le!==null){var jt=Le.next;Le.next=ut.next,ut.next=jt}ve.baseQueue=Le=ut,z.pending=null}if(Le!==null){Le=Le.next,ve=ve.baseState;var ir=jt=ut=null,P=Le;do{var t=P.lane;if((Ol&t)===t)ir!==null&&(ir=ir.next={lane:0,action:P.action,eagerReducer:P.eagerReducer,eagerState:P.eagerState,next:null}),ve=P.eagerReducer===g?P.eagerState:g(ve,P.action);else{var n={lane:t,action:P.action,eagerReducer:P.eagerReducer,eagerState:P.eagerState,next:null};ir===null?(jt=ir=n,ut=ve):ir=ir.next=n,Us.lanes|=t,co|=t}P=P.next}while(P!==null&&P!==Le);ir===null?ut=ve:ir.next=jt,Kn(ve,C.memoizedState)||(Ou=!0),C.memoizedState=ve,C.baseState=ut,C.baseQueue=ir,z.lastRenderedState=ve}return[C.memoizedState,z.dispatch]}function Ju(g){var C=kl(),z=C.queue;if(z===null)throw Error(c(311));z.lastRenderedReducer=g;var ve=z.dispatch,Le=z.pending,ut=C.memoizedState;if(Le!==null){z.pending=null;var jt=Le=Le.next;do ut=g(ut,jt.action),jt=jt.next;while(jt!==Le);Kn(ut,C.memoizedState)||(Ou=!0),C.memoizedState=ut,C.baseQueue===null&&(C.baseState=ut),z.lastRenderedState=ut}return[ut,ve]}function ka(g,C,z){var ve=C._getVersion;ve=ve(C._source);var Le=C._workInProgressVersionPrimary;if(Le!==null?g=Le===ve:(g=g.mutableReadLanes,(g=(Ol&g)===g)&&(C._workInProgressVersionPrimary=ve,Il.push(C))),g)return z(C._source);throw Il.push(C),Error(c(350))}function zc(g,C,z,ve){var Le=qr;if(Le===null)throw Error(c(349));var ut=C._getVersion,jt=ut(C._source),ir=Dl.current,P=ir.useState(function(){return ka(Le,C,z)}),t=P[1],n=P[0];P=Fs;var s=g.memoizedState,m=s.refs,E=m.getSnapshot,T=s.source;s=s.subscribe;var U=Us;return g.memoizedState={refs:m,source:C,subscribe:ve},ir.useEffect(function(){m.getSnapshot=z,m.setSnapshot=t;var W=ut(C._source);if(!Kn(jt,W)){W=z(C._source),Kn(n,W)||(t(W),W=Fu(U),Le.mutableReadLanes|=W&Le.pendingLanes),W=Le.mutableReadLanes,Le.entangledLanes|=W;for(var N=Le.entanglements,te=W;0<te;){var ce=31-_i(te),xe=1<<ce;N[ce]|=W,te&=~xe}}},[z,C,ve]),ir.useEffect(function(){return ve(C._source,function(){var W=m.getSnapshot,N=m.setSnapshot;try{N(W(C._source));var te=Fu(U);Le.mutableReadLanes|=te&Le.pendingLanes}catch(ce){N(function(){throw ce})}})},[C,ve]),Kn(E,z)&&Kn(T,C)&&Kn(s,ve)||(g={pending:null,dispatch:null,lastRenderedReducer:vu,lastRenderedState:n},g.dispatch=t=Gc.bind(null,Us,g),P.queue=g,P.baseQueue=null,n=ka(Le,C,z),P.memoizedState=P.baseState=n),n}function Zc(g,C,z){var ve=kl();return zc(ve,g,C,z)}function zu(g){var C=iu();return typeof g=="function"&&(g=g()),C.memoizedState=C.baseState=g,g=C.queue={pending:null,dispatch:null,lastRenderedReducer:vu,lastRenderedState:g},g=g.dispatch=Gc.bind(null,Us,g),[C.memoizedState,g]}function Ac(g,C,z,ve){return g={tag:g,create:C,destroy:z,deps:ve,next:null},C=Us.updateQueue,C===null?(C={lastEffect:null},Us.updateQueue=C,C.lastEffect=g.next=g):(z=C.lastEffect,z===null?C.lastEffect=g.next=g:(ve=z.next,z.next=g,g.next=ve,C.lastEffect=g)),g}function ff(g){var C=iu();return g={current:g},C.memoizedState=g}function fc(){return kl().memoizedState}function au(g,C,z,ve){var Le=iu();Us.flags|=g,Le.memoizedState=Ac(1|C,z,void 0,ve===void 0?null:ve)}function Hc(g,C,z,ve){var Le=kl();ve=ve===void 0?null:ve;var ut=void 0;if(Bo!==null){var jt=Bo.memoizedState;if(ut=jt.destroy,ve!==null&&wc(ve,jt.deps)){Ac(C,z,ut,ve);return}}Us.flags|=g,Le.memoizedState=Ac(1|C,z,ut,ve)}function Vl(g,C){return au(516,4,g,C)}function yl(g,C){return Hc(516,4,g,C)}function Wc(g,C){return Hc(4,2,g,C)}function Kl(g,C){if(typeof C=="function")return g=g(),C(g),function(){C(null)};if(C!=null)return g=g(),C.current=g,function(){C.current=null}}function Wo(g,C,z){return z=z!=null?z.concat([g]):null,Hc(4,2,Kl.bind(null,C,g),z)}function Iu(){}function dc(g,C){var z=kl();C=C===void 0?null:C;var ve=z.memoizedState;return ve!==null&&C!==null&&wc(C,ve[1])?ve[0]:(z.memoizedState=[g,C],g)}function Zu(g,C){var z=kl();C=C===void 0?null:C;var ve=z.memoizedState;return ve!==null&&C!==null&&wc(C,ve[1])?ve[0]:(g=g(),z.memoizedState=[g,C],g)}function Cc(g,C){var z=Nt();Er(98>z?98:z,function(){g(!0)}),Er(97<z?97:z,function(){var ve=Fo.transition;Fo.transition=1;try{g(!1),C()}finally{Fo.transition=ve}})}function Gc(g,C,z){var ve=cu(),Le=Fu(g),ut={lane:Le,action:z,eagerReducer:null,eagerState:null,next:null},jt=C.pending;if(jt===null?ut.next=ut:(ut.next=jt.next,jt.next=ut),C.pending=ut,jt=g.alternate,g===Us||jt!==null&&jt===Us)gl=Gl=!0;else{if(g.lanes===0&&(jt===null||jt.lanes===0)&&(jt=C.lastRenderedReducer,jt!==null))try{var ir=C.lastRenderedState,P=jt(ir,z);if(ut.eagerReducer=jt,ut.eagerState=P,Kn(P,ir))return}catch(t){}finally{}Sl(g,Le,ve)}}var Yl={readContext:Ea,useCallback:nu,useContext:nu,useEffect:nu,useImperativeHandle:nu,useLayoutEffect:nu,useMemo:nu,useReducer:nu,useRef:nu,useState:nu,useDebugValue:nu,useDeferredValue:nu,useTransition:nu,useMutableSource:nu,useOpaqueIdentifier:nu,unstable_isNewReconciler:!1},uo={readContext:Ea,useCallback:function(g,C){return iu().memoizedState=[g,C===void 0?null:C],g},useContext:Ea,useEffect:Vl,useImperativeHandle:function(g,C,z){return z=z!=null?z.concat([g]):null,au(4,2,Kl.bind(null,C,g),z)},useLayoutEffect:function(g,C){return au(4,2,g,C)},useMemo:function(g,C){var z=iu();return C=C===void 0?null:C,g=g(),z.memoizedState=[g,C],g},useReducer:function(g,C,z){var ve=iu();return C=z!==void 0?z(C):C,ve.memoizedState=ve.baseState=C,g=ve.queue={pending:null,dispatch:null,lastRenderedReducer:g,lastRenderedState:C},g=g.dispatch=Gc.bind(null,Us,g),[ve.memoizedState,g]},useRef:ff,useState:zu,useDebugValue:Iu,useDeferredValue:function(g){var C=zu(g),z=C[0],ve=C[1];return Vl(function(){var Le=Fo.transition;Fo.transition=1;try{ve(g)}finally{Fo.transition=Le}},[g]),z},useTransition:function(){var g=zu(!1),C=g[0];return g=Cc.bind(null,g[1]),ff(g),[g,C]},useMutableSource:function(g,C,z){var ve=iu();return ve.memoizedState={refs:{getSnapshot:C,setSnapshot:null},source:g,subscribe:z},zc(ve,g,C,z)},useOpaqueIdentifier:function(){if(qu){var g=!1,C=Ss(function(){throw g||(g=!0,z("r:"+(eo++).toString(36))),Error(c(355))}),z=zu(C)[1];return!(Us.mode&2)&&(Us.flags|=516,Ac(5,function(){z("r:"+(eo++).toString(36))},void 0,null)),C}return C="r:"+(eo++).toString(36),zu(C),C},unstable_isNewReconciler:!1},Xl={readContext:Ea,useCallback:dc,useContext:Ea,useEffect:yl,useImperativeHandle:Wo,useLayoutEffect:Wc,useMemo:Zu,useReducer:cc,useRef:fc,useState:function(){return cc(vu)},useDebugValue:Iu,useDeferredValue:function(g){var C=cc(vu),z=C[0],ve=C[1];return yl(function(){var Le=Fo.transition;Fo.transition=1;try{ve(g)}finally{Fo.transition=Le}},[g]),z},useTransition:function(){var g=cc(vu)[0];return[fc().current,g]},useMutableSource:Zc,useOpaqueIdentifier:function(){return cc(vu)[0]},unstable_isNewReconciler:!1},Tc={readContext:Ea,useCallback:dc,useContext:Ea,useEffect:yl,useImperativeHandle:Wo,useLayoutEffect:Wc,useMemo:Zu,useReducer:Ju,useRef:fc,useState:function(){return Ju(vu)},useDebugValue:Iu,useDeferredValue:function(g){var C=Ju(vu),z=C[0],ve=C[1];return yl(function(){var Le=Fo.transition;Fo.transition=1;try{ve(g)}finally{Fo.transition=Le}},[g]),z},useTransition:function(){var g=Ju(vu)[0];return[fc().current,g]},useMutableSource:Zc,useOpaqueIdentifier:function(){return Ju(vu)[0]},unstable_isNewReconciler:!1},Du=j.ReactCurrentOwner,Ou=!1;function lo(g,C,z,ve){C.child=g===null?ml(C,null,z,ve):qo(C,g.child,z,ve)}function el(g,C,z,ve,Le){z=z.render;var ut=C.ref;return rs(C,Le),ve=Sc(g,C,z,ve,ut,Le),g!==null&&!Ou?(C.updateQueue=g.updateQueue,C.flags&=-517,g.lanes&=~Le,yu(g,C,Le)):(C.flags|=1,lo(g,C,ve,Le),C.child)}function df(g,C,z,ve,Le,ut){if(g===null){var jt=z.type;return typeof jt=="function"&&!rf(jt)&&jt.defaultProps===void 0&&z.compare===null&&z.defaultProps===void 0?(C.tag=15,C.type=jt,Pc(g,C,jt,ve,Le,ut)):(g=jl(z.type,null,ve,C,C.mode,ut),g.ref=C.ref,g.return=C,C.child=g)}return jt=g.child,!(Le&ut)&&(Le=jt.memoizedProps,z=z.compare,z=z!==null?z:Xi,z(Le,ve)&&g.ref===C.ref)?yu(g,C,ut):(C.flags|=1,g=fl(jt,ve),g.ref=C.ref,g.return=C,C.child=g)}function Pc(g,C,z,ve,Le,ut){if(g!==null&&Xi(g.memoizedProps,ve)&&g.ref===C.ref)if(Ou=!1,(ut&Le)!==0)g.flags&16384&&(Ou=!0);else return C.lanes=g.lanes,yu(g,C,ut);return Po(g,C,z,ve,ut)}function Vc(g,C,z){var ve=C.pendingProps,Le=ve.children,ut=g!==null?g.memoizedState:null;if(ve.mode==="hidden"||ve.mode==="unstable-defer-without-hiding")if(!(C.mode&4))C.memoizedState={baseLanes:0},Gi(C,z);else if(z&1073741824)C.memoizedState={baseLanes:0},Gi(C,ut!==null?ut.baseLanes:z);else return g=ut!==null?ut.baseLanes|z:z,C.lanes=C.childLanes=1073741824,C.memoizedState={baseLanes:g},Gi(C,g),null;else ut!==null?(ve=ut.baseLanes|z,C.memoizedState=null):ve=z,Gi(C,ve);return lo(g,C,Le,z),C.child}function bl(g,C){var z=C.ref;(g===null&&z!==null||g!==null&&g.ref!==z)&&(C.flags|=128)}function Po(g,C,z,ve,Le){var ut=Jr(z)?we:ha.current;return ut=Ar(C,ut),rs(C,Le),z=Sc(g,C,z,ve,ut,Le),g!==null&&!Ou?(C.updateQueue=g.updateQueue,C.flags&=-517,g.lanes&=~Le,yu(g,C,Le)):(C.flags|=1,lo(g,C,z,Le),C.child)}function Rl(g,C,z,ve,Le){if(Jr(z)){var ut=!0;Jn(C)}else ut=!1;if(rs(C,Le),C.stateNode===null)g!==null&&(g.alternate=null,C.alternate=null,C.flags|=2),uu(C,z,ve),Uu(C,z,ve,Le),ve=!0;else if(g===null){var jt=C.stateNode,ir=C.memoizedProps;jt.props=ir;var P=jt.context,t=z.contextType;typeof t=="object"&&t!==null?t=Ea(t):(t=Jr(z)?we:ha.current,t=Ar(C,t));var n=z.getDerivedStateFromProps,s=typeof n=="function"||typeof jt.getSnapshotBeforeUpdate=="function";s||typeof jt.UNSAFE_componentWillReceiveProps!="function"&&typeof jt.componentWillReceiveProps!="function"||(ir!==ve||P!==t)&&As(C,jt,ve,t),Za=!1;var m=C.memoizedState;jt.state=m,Ms(C,ve,jt,Le),P=C.memoizedState,ir!==ve||m!==P||ye.current||Za?(typeof n=="function"&&(Xu(C,z,n,ve),P=C.memoizedState),(ir=Za||Qu(C,z,ir,ve,m,P,t))?(s||typeof jt.UNSAFE_componentWillMount!="function"&&typeof jt.componentWillMount!="function"||(typeof jt.componentWillMount=="function"&&jt.componentWillMount(),typeof jt.UNSAFE_componentWillMount=="function"&&jt.UNSAFE_componentWillMount()),typeof jt.componentDidMount=="function"&&(C.flags|=4)):(typeof jt.componentDidMount=="function"&&(C.flags|=4),C.memoizedProps=ve,C.memoizedState=P),jt.props=ve,jt.state=P,jt.context=t,ve=ir):(typeof jt.componentDidMount=="function"&&(C.flags|=4),ve=!1)}else{jt=C.stateNode,vi(g,C),ir=C.memoizedProps,t=C.type===C.elementType?ir:Zn(C.type,ir),jt.props=t,s=C.pendingProps,m=jt.context,P=z.contextType,typeof P=="object"&&P!==null?P=Ea(P):(P=Jr(z)?we:ha.current,P=Ar(C,P));var E=z.getDerivedStateFromProps;(n=typeof E=="function"||typeof jt.getSnapshotBeforeUpdate=="function")||typeof jt.UNSAFE_componentWillReceiveProps!="function"&&typeof jt.componentWillReceiveProps!="function"||(ir!==s||m!==P)&&As(C,jt,ve,P),Za=!1,m=C.memoizedState,jt.state=m,Ms(C,ve,jt,Le);var T=C.memoizedState;ir!==s||m!==T||ye.current||Za?(typeof E=="function"&&(Xu(C,z,E,ve),T=C.memoizedState),(t=Za||Qu(C,z,t,ve,m,T,P))?(n||typeof jt.UNSAFE_componentWillUpdate!="function"&&typeof jt.componentWillUpdate!="function"||(typeof jt.componentWillUpdate=="function"&&jt.componentWillUpdate(ve,T,P),typeof jt.UNSAFE_componentWillUpdate=="function"&&jt.UNSAFE_componentWillUpdate(ve,T,P)),typeof jt.componentDidUpdate=="function"&&(C.flags|=4),typeof jt.getSnapshotBeforeUpdate=="function"&&(C.flags|=256)):(typeof jt.componentDidUpdate!="function"||ir===g.memoizedProps&&m===g.memoizedState||(C.flags|=4),typeof jt.getSnapshotBeforeUpdate!="function"||ir===g.memoizedProps&&m===g.memoizedState||(C.flags|=256),C.memoizedProps=ve,C.memoizedState=T),jt.props=ve,jt.state=T,jt.context=P,ve=t):(typeof jt.componentDidUpdate!="function"||ir===g.memoizedProps&&m===g.memoizedState||(C.flags|=4),typeof jt.getSnapshotBeforeUpdate!="function"||ir===g.memoizedProps&&m===g.memoizedState||(C.flags|=256),ve=!1)}return ze(g,C,z,ve,ut,Le)}function ze(g,C,z,ve,Le,ut){bl(g,C);var jt=(C.flags&64)!==0;if(!ve&&!jt)return Le&&Mi(C,z,!1),yu(g,C,ut);ve=C.stateNode,Du.current=C;var ir=jt&&typeof z.getDerivedStateFromError!="function"?null:ve.render();return C.flags|=1,g!==null&&jt?(C.child=qo(C,g.child,null,ut),C.child=qo(C,null,ir,ut)):lo(g,C,ir,ut),C.memoizedState=ve.state,Le&&Mi(C,z,!0),C.child}function gu(g){var C=g.stateNode;C.pendingContext?Xr(g,C.pendingContext,C.pendingContext!==C.context):C.context&&Xr(g,C.context,!1),lc(g,C.containerInfo)}var eu={dehydrated:null,retryLane:0};function Ll(g,C,z){var ve=C.pendingProps,Le=to.current,ut=!1,jt;return(jt=(C.flags&64)!==0)||(jt=g!==null&&g.memoizedState===null?!1:(Le&2)!==0),jt?(ut=!0,C.flags&=-65):g!==null&&g.memoizedState===null||ve.fallback===void 0||ve.unstable_avoidThisFallback===!0||(Le|=1),Ba(to,Le&1),g===null?(ve.fallback!==void 0&&mo(C),g=ve.children,Le=ve.fallback,ut?(g=No(C,g,Le,z),C.child.memoizedState={baseLanes:z},C.memoizedState=eu,g):typeof ve.unstable_expectedLoadTime=="number"?(g=No(C,g,Le,z),C.child.memoizedState={baseLanes:z},C.memoizedState=eu,C.lanes=33554432,g):(z=yc({mode:"visible",children:g},C.mode,z,null),z.return=C,C.child=z)):g.memoizedState!==null?ut?(ve=Go(g,C,ve.children,ve.fallback,z),ut=C.child,Le=g.child.memoizedState,ut.memoizedState=Le===null?{baseLanes:z}:{baseLanes:Le.baseLanes|z},ut.childLanes=g.childLanes&~z,C.memoizedState=eu,ve):(z=Vs(g,C,ve.children,z),C.memoizedState=null,z):ut?(ve=Go(g,C,ve.children,ve.fallback,z),ut=C.child,Le=g.child.memoizedState,ut.memoizedState=Le===null?{baseLanes:z}:{baseLanes:Le.baseLanes|z},ut.childLanes=g.childLanes&~z,C.memoizedState=eu,ve):(z=Vs(g,C,ve.children,z),C.memoizedState=null,z)}function No(g,C,z,ve){var Le=g.mode,ut=g.child;return C={mode:"hidden",children:C},!(Le&2)&&ut!==null?(ut.childLanes=0,ut.pendingProps=C):ut=yc(C,Le,0,null),z=Yo(z,Le,ve,null),ut.return=g,z.return=g,ut.sibling=z,g.child=ut,z}function Vs(g,C,z,ve){var Le=g.child;return g=Le.sibling,z=fl(Le,{mode:"visible",children:z}),!(C.mode&2)&&(z.lanes=ve),z.return=C,z.sibling=null,g!==null&&(g.nextEffect=null,g.flags=8,C.firstEffect=C.lastEffect=g),C.child=z}function Go(g,C,z,ve,Le){var ut=C.mode,jt=g.child;g=jt.sibling;var ir={mode:"hidden",children:z};return!(ut&2)&&C.child!==jt?(z=C.child,z.childLanes=0,z.pendingProps=ir,jt=z.lastEffect,jt!==null?(C.firstEffect=z.firstEffect,C.lastEffect=jt,jt.nextEffect=null):C.firstEffect=C.lastEffect=null):z=fl(jt,ir),g!==null?ve=fl(g,ve):(ve=Yo(ve,ut,Le,null),ve.flags|=2),ve.return=C,z.return=C,z.sibling=ve,C.child=z,ve}function ku(g,C){g.lanes|=C;var z=g.alternate;z!==null&&(z.lanes|=C),hs(g.return,C)}function Io(g,C,z,ve,Le,ut){var jt=g.memoizedState;jt===null?g.memoizedState={isBackwards:C,rendering:null,renderingStartTime:0,last:ve,tail:z,tailMode:Le,lastEffect:ut}:(jt.isBackwards=C,jt.rendering=null,jt.renderingStartTime=0,jt.last=ve,jt.tail=z,jt.tailMode=Le,jt.lastEffect=ut)}function tl(g,C,z){var ve=C.pendingProps,Le=ve.revealOrder,ut=ve.tail;if(lo(g,C,ve.children,z),ve=to.current,ve&2)ve=ve&1|2,C.flags|=64;else{if(g!==null&&g.flags&64)e:for(g=C.child;g!==null;){if(g.tag===13)g.memoizedState!==null&&ku(g,z);else if(g.tag===19)ku(g,z);else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===C)break e;for(;g.sibling===null;){if(g.return===null||g.return===C)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}ve&=1}if(Ba(to,ve),!(C.mode&2))C.memoizedState=null;else switch(Le){case"forwards":for(z=C.child,Le=null;z!==null;)g=z.alternate,g!==null&&Ec(g)===null&&(Le=z),z=z.sibling;z=Le,z===null?(Le=C.child,C.child=null):(Le=z.sibling,z.sibling=null),Io(C,!1,Le,z,ut,C.lastEffect);break;case"backwards":for(z=null,Le=C.child,C.child=null;Le!==null;){if(g=Le.alternate,g!==null&&Ec(g)===null){C.child=Le;break}g=Le.sibling,Le.sibling=z,z=Le,Le=g}Io(C,!0,z,null,ut,C.lastEffect);break;case"together":Io(C,!1,null,null,void 0,C.lastEffect);break;default:C.memoizedState=null}return C.child}function yu(g,C,z){if(g!==null&&(C.dependencies=g.dependencies),co|=C.lanes,z&C.childLanes){if(g!==null&&C.child!==g.child)throw Error(c(153));if(C.child!==null){for(g=C.child,z=fl(g,g.pendingProps),C.child=z,z.return=C;g.sibling!==null;)g=g.sibling,z=z.sibling=fl(g,g.pendingProps),z.return=C;z.sibling=null}return C.child}return null}var hc,Ru,Vo,rl;hc=function(g,C){for(var z=C.child;z!==null;){if(z.tag===5||z.tag===6)g.appendChild(z.stateNode);else if(z.tag!==4&&z.child!==null){z.child.return=z,z=z.child;continue}if(z===C)break;for(;z.sibling===null;){if(z.return===null||z.return===C)return;z=z.return}z.sibling.return=z.return,z=z.sibling}},Ru=function(){},Vo=function(g,C,z,ve){var Le=g.memoizedProps;if(Le!==ve){g=C.stateNode,Tu(To.current);var ut=null;switch(z){case"input":Le=ht(g,Le),ve=ht(g,ve),ut=[];break;case"option":Le=He(g,Le),ve=He(g,ve),ut=[];break;case"select":Le=i({},Le,{value:void 0}),ve=i({},ve,{value:void 0}),ut=[];break;case"textarea":Le=ct(g,Le),ve=ct(g,ve),ut=[];break;default:typeof Le.onClick!="function"&&typeof ve.onClick=="function"&&(g.onclick=ti)}Te(z,ve);var jt;z=null;for(t in Le)if(!ve.hasOwnProperty(t)&&Le.hasOwnProperty(t)&&Le[t]!=null)if(t==="style"){var ir=Le[t];for(jt in ir)ir.hasOwnProperty(jt)&&(z||(z={}),z[jt]="")}else t!=="dangerouslySetInnerHTML"&&t!=="children"&&t!=="suppressContentEditableWarning"&&t!=="suppressHydrationWarning"&&t!=="autoFocus"&&(o.hasOwnProperty(t)?ut||(ut=[]):(ut=ut||[]).push(t,null));for(t in ve){var P=ve[t];if(ir=Le!=null?Le[t]:void 0,ve.hasOwnProperty(t)&&P!==ir&&(P!=null||ir!=null))if(t==="style")if(ir){for(jt in ir)!ir.hasOwnProperty(jt)||P&&P.hasOwnProperty(jt)||(z||(z={}),z[jt]="");for(jt in P)P.hasOwnProperty(jt)&&ir[jt]!==P[jt]&&(z||(z={}),z[jt]=P[jt])}else z||(ut||(ut=[]),ut.push(t,z)),z=P;else t==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,ir=ir?ir.__html:void 0,P!=null&&ir!==P&&(ut=ut||[]).push(t,P)):t==="children"?typeof P!="string"&&typeof P!="number"||(ut=ut||[]).push(t,""+P):t!=="suppressContentEditableWarning"&&t!=="suppressHydrationWarning"&&(o.hasOwnProperty(t)?(P!=null&&t==="onScroll"&&Qe("scroll",g),ut||ir===P||(ut=[])):typeof P=="object"&&P!==null&&P.$$typeof===Z?P.toString():(ut=ut||[]).push(t,P))}z&&(ut=ut||[]).push("style",z);var t=ut;(C.updateQueue=t)&&(C.flags|=4)}},rl=function(g,C,z,ve){z!==ve&&(C.flags|=4)};function bu(g,C){if(!qu)switch(g.tailMode){case"hidden":C=g.tail;for(var z=null;C!==null;)C.alternate!==null&&(z=C),C=C.sibling;z===null?g.tail=null:z.sibling=null;break;case"collapsed":z=g.tail;for(var ve=null;z!==null;)z.alternate!==null&&(ve=z),z=z.sibling;ve===null?C||g.tail===null?g.tail=null:g.tail.sibling=null:ve.sibling=null}}function Ic(g,C,z){var ve=C.pendingProps;switch(C.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Jr(C.type)&&br(),null;case 3:return Pl(),Hi(ye),Hi(ha),vl(),ve=C.stateNode,ve.pendingContext&&(ve.context=ve.pendingContext,ve.pendingContext=null),(g===null||g.child===null)&&(cf(C)?C.flags|=4:ve.hydrate||(C.flags|=256)),Ru(C),null;case 5:xc(C);var Le=Tu(Wl.current);if(z=C.type,g!==null&&C.stateNode!=null)Vo(g,C,z,ve,Le),g.ref!==C.ref&&(C.flags|=128);else{if(!ve){if(C.stateNode===null)throw Error(c(166));return null}if(g=Tu(To.current),cf(C)){ve=C.stateNode,z=C.type;var ut=C.memoizedProps;switch(ve[La]=C,ve[ta]=ut,z){case"dialog":Qe("cancel",ve),Qe("close",ve);break;case"iframe":case"object":case"embed":Qe("load",ve);break;case"video":case"audio":for(g=0;g<Mn.length;g++)Qe(Mn[g],ve);break;case"source":Qe("error",ve);break;case"img":case"image":case"link":Qe("error",ve),Qe("load",ve);break;case"details":Qe("toggle",ve);break;case"input":et(ve,ut),Qe("invalid",ve);break;case"select":ve._wrapperState={wasMultiple:!!ut.multiple},Qe("invalid",ve);break;case"textarea":Vt(ve,ut),Qe("invalid",ve)}Te(z,ut),g=null;for(var jt in ut)ut.hasOwnProperty(jt)&&(Le=ut[jt],jt==="children"?typeof Le=="string"?ve.textContent!==Le&&(g=["children",Le]):typeof Le=="number"&&ve.textContent!==""+Le&&(g=["children",""+Le]):o.hasOwnProperty(jt)&&Le!=null&&jt==="onScroll"&&Qe("scroll",ve));switch(z){case"input":Zt(ve),Se(ve,ut,!0);break;case"textarea":Zt(ve),Pe(ve);break;case"select":case"option":break;default:typeof ut.onClick=="function"&&(ve.onclick=ti)}ve=g,C.updateQueue=ve,ve!==null&&(C.flags|=4)}else{switch(jt=Le.nodeType===9?Le:Le.ownerDocument,g===qe.html&&(g=Yt(z)),g===qe.html?z==="script"?(g=jt.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild)):typeof ve.is=="string"?g=jt.createElement(z,{is:ve.is}):(g=jt.createElement(z),z==="select"&&(jt=g,ve.multiple?jt.multiple=!0:ve.size&&(jt.size=ve.size))):g=jt.createElementNS(g,z),g[La]=C,g[ta]=ve,hc(g,C,!1,!1),C.stateNode=g,jt=dt(z,ve),z){case"dialog":Qe("cancel",g),Qe("close",g),Le=ve;break;case"iframe":case"object":case"embed":Qe("load",g),Le=ve;break;case"video":case"audio":for(Le=0;Le<Mn.length;Le++)Qe(Mn[Le],g);Le=ve;break;case"source":Qe("error",g),Le=ve;break;case"img":case"image":case"link":Qe("error",g),Qe("load",g),Le=ve;break;case"details":Qe("toggle",g),Le=ve;break;case"input":et(g,ve),Le=ht(g,ve),Qe("invalid",g);break;case"option":Le=He(g,ve);break;case"select":g._wrapperState={wasMultiple:!!ve.multiple},Le=i({},ve,{value:void 0}),Qe("invalid",g);break;case"textarea":Vt(g,ve),Le=ct(g,ve),Qe("invalid",g);break;default:Le=ve}Te(z,Le);var ir=Le;for(ut in ir)if(ir.hasOwnProperty(ut)){var P=ir[ut];ut==="style"?pe(g,P):ut==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,P!=null&&$t(g,P)):ut==="children"?typeof P=="string"?(z!=="textarea"||P!=="")&&At(g,P):typeof P=="number"&&At(g,""+P):ut!=="suppressContentEditableWarning"&&ut!=="suppressHydrationWarning"&&ut!=="autoFocus"&&(o.hasOwnProperty(ut)?P!=null&&ut==="onScroll"&&Qe("scroll",g):P!=null&&B(g,ut,P,jt))}switch(z){case"input":Zt(g),Se(g,ve,!1);break;case"textarea":Zt(g),Pe(g);break;case"option":ve.value!=null&&g.setAttribute("value",""+tr(ve.value));break;case"select":g.multiple=!!ve.multiple,ut=ve.value,ut!=null?nt(g,!!ve.multiple,ut,!1):ve.defaultValue!=null&&nt(g,!!ve.multiple,ve.defaultValue,!0);break;default:typeof Le.onClick=="function"&&(g.onclick=ti)}Zi(z,ve)&&(C.flags|=4)}C.ref!==null&&(C.flags|=128)}return null;case 6:if(g&&C.stateNode!=null)rl(g,C,g.memoizedProps,ve);else{if(typeof ve!="string"&&C.stateNode===null)throw Error(c(166));z=Tu(Wl.current),Tu(To.current),cf(C)?(ve=C.stateNode,z=C.memoizedProps,ve[La]=C,ve.nodeValue!==z&&(C.flags|=4)):(ve=(z.nodeType===9?z:z.ownerDocument).createTextNode(ve),ve[La]=C,C.stateNode=ve)}return null;case 13:return Hi(to),ve=C.memoizedState,C.flags&64?(C.lanes=z,C):(ve=ve!==null,z=!1,g===null?C.memoizedProps.fallback!==void 0&&cf(C):z=g.memoizedState!==null,ve&&!z&&C.mode&2&&(g===null&&C.memoizedProps.unstable_avoidThisFallback!==!0||to.current&1?Oa===0&&(Oa=3):((Oa===0||Oa===3)&&(Oa=4),qr===null||!(co&134217727)&&!(bs&134217727)||Nl(qr,dn))),(ve||z)&&(C.flags|=4),null);case 4:return Pl(),Ru(C),g===null&&Kt(C.stateNode.containerInfo),null;case 10:return za(C),null;case 17:return Jr(C.type)&&br(),null;case 19:if(Hi(to),ve=C.memoizedState,ve===null)return null;if(ut=(C.flags&64)!==0,jt=ve.rendering,jt===null)if(ut)bu(ve,!1);else{if(Oa!==0||g!==null&&g.flags&64)for(g=C.child;g!==null;){if(jt=Ec(g),jt!==null){for(C.flags|=64,bu(ve,!1),ut=jt.updateQueue,ut!==null&&(C.updateQueue=ut,C.flags|=4),ve.lastEffect===null&&(C.firstEffect=null),C.lastEffect=ve.lastEffect,ve=z,z=C.child;z!==null;)ut=z,g=ve,ut.flags&=2,ut.nextEffect=null,ut.firstEffect=null,ut.lastEffect=null,jt=ut.alternate,jt===null?(ut.childLanes=0,ut.lanes=g,ut.child=null,ut.memoizedProps=null,ut.memoizedState=null,ut.updateQueue=null,ut.dependencies=null,ut.stateNode=null):(ut.childLanes=jt.childLanes,ut.lanes=jt.lanes,ut.child=jt.child,ut.memoizedProps=jt.memoizedProps,ut.memoizedState=jt.memoizedState,ut.updateQueue=jt.updateQueue,ut.type=jt.type,g=jt.dependencies,ut.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext}),z=z.sibling;return Ba(to,to.current&1|2),C.child}g=g.sibling}ve.tail!==null&&Tt()>vc&&(C.flags|=64,ut=!0,bu(ve,!1),C.lanes=33554432)}else{if(!ut)if(g=Ec(jt),g!==null){if(C.flags|=64,ut=!0,z=g.updateQueue,z!==null&&(C.updateQueue=z,C.flags|=4),bu(ve,!0),ve.tail===null&&ve.tailMode==="hidden"&&!jt.alternate&&!qu)return C=C.lastEffect=ve.lastEffect,C!==null&&(C.nextEffect=null),null}else 2*Tt()-ve.renderingStartTime>vc&&z!==1073741824&&(C.flags|=64,ut=!0,bu(ve,!1),C.lanes=33554432);ve.isBackwards?(jt.sibling=C.child,C.child=jt):(z=ve.last,z!==null?z.sibling=jt:C.child=jt,ve.last=jt)}return ve.tail!==null?(z=ve.tail,ve.rendering=z,ve.tail=z.sibling,ve.lastEffect=C.lastEffect,ve.renderingStartTime=Tt(),z.sibling=null,C=to.current,Ba(to,ut?C&1|2:C&1),z):null;case 23:case 24:return oa(),g!==null&&g.memoizedState!==null!=(C.memoizedState!==null)&&ve.mode!=="unstable-defer-without-hiding"&&(C.flags|=4),null}throw Error(c(156,C.tag))}function Kc(g){switch(g.tag){case 1:Jr(g.type)&&br();var C=g.flags;return C&4096?(g.flags=C&-4097|64,g):null;case 3:if(Pl(),Hi(ye),Hi(ha),vl(),C=g.flags,C&64)throw Error(c(285));return g.flags=C&-4097|64,g;case 5:return xc(g),null;case 13:return Hi(to),C=g.flags,C&4096?(g.flags=C&-4097|64,g):null;case 19:return Hi(to),null;case 4:return Pl(),null;case 10:return za(g),null;case 23:case 24:return oa(),null;default:return null}}function Zo(g,C){try{var z="",ve=C;do z+=Jt(ve),ve=ve.return;while(ve);var Le=z}catch(ut){Le=`
|
|
|
Error generating stack: `+ut.message+`
|
|
|
`+ut.stack}return{value:g,source:C,stack:Le}}function xu(g,C){try{console.error(C.value)}catch(z){setTimeout(function(){throw z})}}var nl=typeof WeakMap=="function"?WeakMap:Map;function il(g,C,z){z=oo(-1,z),z.tag=3,z.payload={element:null};var ve=C.value;return z.callback=function(){nc||(nc=!0,Fl=ve),xu(g,C)},z}function Ql(g,C,z){z=oo(-1,z),z.tag=3;var ve=g.type.getDerivedStateFromError;if(typeof ve=="function"){var Le=C.value;z.payload=function(){return xu(g,C),ve(Le)}}var ut=g.stateNode;return ut!==null&&typeof ut.componentDidCatch=="function"&&(z.callback=function(){typeof ve!="function"&&($o===null?$o=new Set([this]):$o.add(this),xu(g,C));var jt=C.stack;this.componentDidCatch(C.value,{componentStack:jt!==null?jt:""})}),z}var ql=typeof WeakSet=="function"?WeakSet:Set;function xl(g){var C=g.ref;if(C!==null)if(typeof C=="function")try{C(null)}catch(z){cl(g,z)}else C.current=null}function Yc(g,C){switch(C.tag){case 0:case 11:case 15:case 22:return;case 1:if(C.flags&256&&g!==null){var z=g.memoizedProps,ve=g.memoizedState;g=C.stateNode,C=g.getSnapshotBeforeUpdate(C.elementType===C.type?z:Zn(C.type,z),ve),g.__reactInternalSnapshotBeforeUpdate=C}return;case 3:C.flags&256&&Di(C.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(c(163))}function Ml(g,C,z){switch(z.tag){case 0:case 11:case 15:case 22:if(C=z.updateQueue,C=C!==null?C.lastEffect:null,C!==null){g=C=C.next;do{if((g.tag&3)===3){var ve=g.create;g.destroy=ve()}g=g.next}while(g!==C)}if(C=z.updateQueue,C=C!==null?C.lastEffect:null,C!==null){g=C=C.next;do{var Le=g;ve=Le.next,Le=Le.tag,Le&4&&Le&1&&(gc(z,g),Sf(z,g)),g=ve}while(g!==C)}return;case 1:g=z.stateNode,z.flags&4&&(C===null?g.componentDidMount():(ve=z.elementType===z.type?C.memoizedProps:Zn(z.type,C.memoizedProps),g.componentDidUpdate(ve,C.memoizedState,g.__reactInternalSnapshotBeforeUpdate))),C=z.updateQueue,C!==null&&go(z,C,g);return;case 3:if(C=z.updateQueue,C!==null){if(g=null,z.child!==null)switch(z.child.tag){case 5:g=z.child.stateNode;break;case 1:g=z.child.stateNode}go(z,C,g)}return;case 5:g=z.stateNode,C===null&&z.flags&4&&Zi(z.type,z.memoizedProps)&&g.focus();return;case 6:return;case 4:return;case 12:return;case 13:z.memoizedState===null&&(z=z.alternate,z!==null&&(z=z.memoizedState,z!==null&&(z=z.dehydrated,z!==null&&_t(z))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(c(163))}function Jl(g,C){for(var z=g;;){if(z.tag===5){var ve=z.stateNode;if(C)ve=ve.style,typeof ve.setProperty=="function"?ve.setProperty("display","none","important"):ve.display="none";else{ve=z.stateNode;var Le=z.memoizedProps.style;Le=Le!=null&&Le.hasOwnProperty("display")?Le.display:null,ve.style.display=fe("display",Le)}}else if(z.tag===6)z.stateNode.nodeValue=C?"":z.memoizedProps;else if((z.tag!==23&&z.tag!==24||z.memoizedState===null||z===g)&&z.child!==null){z.child.return=z,z=z.child;continue}if(z===g)break;for(;z.sibling===null;){if(z.return===null||z.return===g)return;z=z.return}z.sibling.return=z.return,z=z.sibling}}function Eu(g,C){if(kn&&typeof kn.onCommitFiberUnmount=="function")try{kn.onCommitFiberUnmount(On,C)}catch(ut){}switch(C.tag){case 0:case 11:case 14:case 15:case 22:if(g=C.updateQueue,g!==null&&(g=g.lastEffect,g!==null)){var z=g=g.next;do{var ve=z,Le=ve.destroy;if(ve=ve.tag,Le!==void 0)if(ve&4)gc(C,z);else{ve=C;try{Le()}catch(ut){cl(ve,ut)}}z=z.next}while(z!==g)}break;case 1:if(xl(C),g=C.stateNode,typeof g.componentWillUnmount=="function")try{g.props=C.memoizedProps,g.state=C.memoizedState,g.componentWillUnmount()}catch(ut){cl(C,ut)}break;case 5:xl(C);break;case 4:_c(g,C)}}function Xc(g){g.alternate=null,g.child=null,g.dependencies=null,g.firstEffect=null,g.lastEffect=null,g.memoizedProps=null,g.memoizedState=null,g.pendingProps=null,g.return=null,g.updateQueue=null}function pc(g){return g.tag===5||g.tag===3||g.tag===4}function Lu(g){e:{for(var C=g.return;C!==null;){if(pc(C))break e;C=C.return}throw Error(c(160))}var z=C;switch(C=z.stateNode,z.tag){case 5:var ve=!1;break;case 3:C=C.containerInfo,ve=!0;break;case 4:C=C.containerInfo,ve=!0;break;default:throw Error(c(161))}z.flags&16&&(At(C,""),z.flags&=-17);e:t:for(z=g;;){for(;z.sibling===null;){if(z.return===null||pc(z.return)){z=null;break e}z=z.return}for(z.sibling.return=z.return,z=z.sibling;z.tag!==5&&z.tag!==6&&z.tag!==18;){if(z.flags&2||z.child===null||z.tag===4)continue t;z.child.return=z,z=z.child}if(!(z.flags&2)){z=z.stateNode;break e}}ve?lu(g,z,C):ec(g,z,C)}function lu(g,C,z){var ve=g.tag,Le=ve===5||ve===6;if(Le)g=Le?g.stateNode:g.stateNode.instance,C?z.nodeType===8?z.parentNode.insertBefore(g,C):z.insertBefore(g,C):(z.nodeType===8?(C=z.parentNode,C.insertBefore(g,z)):(C=z,C.appendChild(g)),z=z._reactRootContainer,z!=null||C.onclick!==null||(C.onclick=ti));else if(ve!==4&&(g=g.child,g!==null))for(lu(g,C,z),g=g.sibling;g!==null;)lu(g,C,z),g=g.sibling}function ec(g,C,z){var ve=g.tag,Le=ve===5||ve===6;if(Le)g=Le?g.stateNode:g.stateNode.instance,C?z.insertBefore(g,C):z.appendChild(g);else if(ve!==4&&(g=g.child,g!==null))for(ec(g,C,z),g=g.sibling;g!==null;)ec(g,C,z),g=g.sibling}function _c(g,C){for(var z=C,ve=!1,Le,ut;;){if(!ve){ve=z.return;e:for(;;){if(ve===null)throw Error(c(160));switch(Le=ve.stateNode,ve.tag){case 5:ut=!1;break e;case 3:Le=Le.containerInfo,ut=!0;break e;case 4:Le=Le.containerInfo,ut=!0;break e}ve=ve.return}ve=!0}if(z.tag===5||z.tag===6){e:for(var jt=g,ir=z,P=ir;;)if(Eu(jt,P),P.child!==null&&P.tag!==4)P.child.return=P,P=P.child;else{if(P===ir)break e;for(;P.sibling===null;){if(P.return===null||P.return===ir)break e;P=P.return}P.sibling.return=P.return,P=P.sibling}ut?(jt=Le,ir=z.stateNode,jt.nodeType===8?jt.parentNode.removeChild(ir):jt.removeChild(ir)):Le.removeChild(z.stateNode)}else if(z.tag===4){if(z.child!==null){Le=z.stateNode.containerInfo,ut=!0,z.child.return=z,z=z.child;continue}}else if(Eu(g,z),z.child!==null){z.child.return=z,z=z.child;continue}if(z===C)break;for(;z.sibling===null;){if(z.return===null||z.return===C)return;z=z.return,z.tag===4&&(ve=!1)}z.sibling.return=z.return,z=z.sibling}}function mc(g,C){switch(C.tag){case 0:case 11:case 14:case 15:case 22:var z=C.updateQueue;if(z=z!==null?z.lastEffect:null,z!==null){var ve=z=z.next;do(ve.tag&3)===3&&(g=ve.destroy,ve.destroy=void 0,g!==void 0&&g()),ve=ve.next;while(ve!==z)}return;case 1:return;case 5:if(z=C.stateNode,z!=null){ve=C.memoizedProps;var Le=g!==null?g.memoizedProps:ve;g=C.type;var ut=C.updateQueue;if(C.updateQueue=null,ut!==null){for(z[ta]=ve,g==="input"&&ve.type==="radio"&&ve.name!=null&&je(z,ve),dt(g,Le),C=dt(g,ve),Le=0;Le<ut.length;Le+=2){var jt=ut[Le],ir=ut[Le+1];jt==="style"?pe(z,ir):jt==="dangerouslySetInnerHTML"?$t(z,ir):jt==="children"?At(z,ir):B(z,jt,ir,C)}switch(g){case"input":ge(z,ve);break;case"textarea":Ht(z,ve);break;case"select":g=z._wrapperState.wasMultiple,z._wrapperState.wasMultiple=!!ve.multiple,ut=ve.value,ut!=null?nt(z,!!ve.multiple,ut,!1):g!==!!ve.multiple&&(ve.defaultValue!=null?nt(z,!!ve.multiple,ve.defaultValue,!0):nt(z,!!ve.multiple,ve.multiple?[]:"",!1))}}}return;case 6:if(C.stateNode===null)throw Error(c(162));C.stateNode.nodeValue=C.memoizedProps;return;case 3:z=C.stateNode,z.hydrate&&(z.hydrate=!1,_t(z.containerInfo));return;case 12:return;case 13:C.memoizedState!==null&&(rc=Tt(),Jl(C.child,!0)),Dc(C);return;case 19:Dc(C);return;case 17:return;case 23:case 24:Jl(C,C.memoizedState!==null);return}throw Error(c(163))}function Dc(g){var C=g.updateQueue;if(C!==null){g.updateQueue=null;var z=g.stateNode;z===null&&(z=g.stateNode=new ql),C.forEach(function(ve){var Le=Vu.bind(null,g,ve);z.has(ve)||(z.add(ve),ve.then(Le,Le))})}}function I(g,C){return g!==null&&(g=g.memoizedState,g===null||g.dehydrated!==null)?(C=C.memoizedState,C!==null&&C.dehydrated===null):!1}var O=Math.ceil,L=j.ReactCurrentDispatcher,me=j.ReactCurrentOwner,Re=0,qr=null,Nn=null,dn=0,Oi=0,Ya=ts(0),Oa=0,Do=null,Ma=0,co=0,bs=0,Oc=0,tc=null,rc=0,vc=1/0;function Mu(){vc=Tt()+500}var ki=null,nc=!1,Fl=null,$o=null,Ks=!1,ns=null,al=90,sl=[],El=[],wl=null,ol=0,Qc=null,kc=-1,Hu=0,qc=0,Bl=null,Jc=!1;function cu(){return Re&48?Tt():kc!==-1?kc:kc=Tt()}function Fu(g){if(g=g.mode,!(g&2))return 1;if(!(g&4))return Nt()===99?1:2;if(Hu===0&&(Hu=Ma),jn.transition!==0){qc!==0&&(qc=tc!==null?tc.pendingLanes:0),g=Hu;var C=4186112&~qc;return C&=-C,C===0&&(g=4186112&~g,C=g&-g,C===0&&(C=8192)),C}return g=Nt(),Re&4&&g===98?g=on(12,Hu):(g=_n(g),g=on(g,Hu)),g}function Sl(g,C,z){if(50<ol)throw ol=0,Qc=null,Error(c(185));if(g=ic(g,C),g===null)return null;wi(g,C,z),g===qr&&(bs|=C,Oa===4&&Nl(g,dn));var ve=Nt();C===1?Re&8&&!(Re&48)?Cn(g):(wu(g,z),Re===0&&(Mu(),an())):(!(Re&4)||ve!==98&&ve!==99||(wl===null?wl=new Set([g]):wl.add(g)),wu(g,z)),tc=g}function ic(g,C){g.lanes|=C;var z=g.alternate;for(z!==null&&(z.lanes|=C),z=g,g=g.return;g!==null;)g.childLanes|=C,z=g.alternate,z!==null&&(z.childLanes|=C),z=g,g=g.return;return z.tag===3?z.stateNode:null}function wu(g,C){for(var z=g.callbackNode,ve=g.suspendedLanes,Le=g.pingedLanes,ut=g.expirationTimes,jt=g.pendingLanes;0<jt;){var ir=31-_i(jt),P=1<<ir,t=ut[ir];if(t===-1){if(!(P&ve)||P&Le){t=C,Ur(P);var n=Ir;ut[ir]=10<=n?t+250:6<=n?t+5e3:-1}}else t<=C&&(g.expiredLanes|=P);jt&=~P}if(ve=fn(g,g===qr?dn:0),C=Ir,ve===0)z!==null&&(z!==H&&Wi(z),g.callbackNode=null,g.callbackPriority=0);else{if(z!==null){if(g.callbackPriority===C)return;z!==H&&Wi(z)}C===15?(z=Cn.bind(null,g),ne===null?(ne=[z],he=ca(Yu,xn)):ne.push(z),z=H):C===14?z=zt(99,Cn.bind(null,g)):(z=Pr(C),z=zt(z,ac.bind(null,g))),g.callbackPriority=C,g.callbackNode=z}}function ac(g){if(kc=-1,qc=Hu=0,Re&48)throw Error(c(327));var C=g.callbackNode;if($l()&&g.callbackNode!==C)return null;var z=fn(g,g===qr?dn:0);if(z===0)return null;var ve=z,Le=Re;Re|=16;var ut=qi();(qr!==g||dn!==ve)&&(Mu(),ma(g,ve));do try{Bu();break}catch(ir){_s(g,ir)}while(!0);if(us(),L.current=ut,Re=Le,Nn!==null?ve=0:(qr=null,dn=0,ve=Oa),Ma&bs)ma(g,0);else if(ve!==0){if(ve===2&&(Re|=64,g.hydrate&&(g.hydrate=!1,Di(g.containerInfo)),z=nn(g),z!==0&&(ve=is(g,z))),ve===1)throw C=Do,ma(g,0),Nl(g,z),wu(g,Tt()),C;switch(g.finishedWork=g.current.alternate,g.finishedLanes=z,ve){case 0:case 1:throw Error(c(345));case 2:ll(g);break;case 3:if(Nl(g,z),(z&62914560)===z&&(ve=rc+500-Tt(),10<ve)){if(fn(g,0)!==0)break;if(Le=g.suspendedLanes,(Le&z)!==z){cu(),g.pingedLanes|=g.suspendedLanes&Le;break}g.timeoutHandle=Ei(ll.bind(null,g),ve);break}ll(g);break;case 4:if(Nl(g,z),(z&4186112)===z)break;for(ve=g.eventTimes,Le=-1;0<z;){var jt=31-_i(z);ut=1<<jt,jt=ve[jt],jt>Le&&(Le=jt),z&=~ut}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){g.timeoutHandle=Ei(ll.bind(null,g),z);break}ll(g);break;case 5:ll(g);break;default:throw Error(c(329))}}return wu(g,Tt()),g.callbackNode===C?ac.bind(null,g):null}function Nl(g,C){for(C&=~Oc,C&=~bs,g.suspendedLanes|=C,g.pingedLanes&=~C,g=g.expirationTimes;0<C;){var z=31-_i(C),ve=1<<z;g[z]=-1,C&=~ve}}function Cn(g){if(Re&48)throw Error(c(327));if($l(),g===qr&&g.expiredLanes&dn){var C=dn,z=is(g,C);Ma&bs&&(C=fn(g,C),z=is(g,C))}else C=fn(g,0),z=is(g,C);if(g.tag!==0&&z===2&&(Re|=64,g.hydrate&&(g.hydrate=!1,Di(g.containerInfo)),C=nn(g),C!==0&&(z=is(g,C))),z===1)throw z=Do,ma(g,0),Nl(g,C),wu(g,Tt()),z;return g.finishedWork=g.current.alternate,g.finishedLanes=C,ll(g),wu(g,Tt()),null}function Gn(){if(wl!==null){var g=wl;wl=null,g.forEach(function(C){C.expiredLanes|=24&C.pendingLanes,wu(C,Tt())})}an()}function Fi(g,C){var z=Re;Re|=1;try{return g(C)}finally{Re=z,Re===0&&(Mu(),an())}}function Sa(g,C){var z=Re;Re&=-2,Re|=8;try{return g(C)}finally{Re=z,Re===0&&(Mu(),an())}}function Gi(g,C){Ba(Ya,Oi),Oi|=C,Ma|=C}function oa(){Oi=Ya.current,Hi(Ya)}function ma(g,C){g.finishedWork=null,g.finishedLanes=0;var z=g.timeoutHandle;if(z!==-1&&(g.timeoutHandle=-1,ba(z)),Nn!==null)for(z=Nn.return;z!==null;){var ve=z;switch(ve.tag){case 1:ve=ve.type.childContextTypes,ve!=null&&br();break;case 3:Pl(),Hi(ye),Hi(ha),vl();break;case 5:xc(ve);break;case 4:Pl();break;case 13:Hi(to);break;case 19:Hi(to);break;case 10:za(ve);break;case 23:case 24:oa()}z=z.return}qr=g,Nn=fl(g.current,null),dn=Oi=Ma=C,Oa=0,Do=null,Oc=bs=co=0}function _s(g,C){do{var z=Nn;try{if(us(),Dl.current=Yl,Gl){for(var ve=Us.memoizedState;ve!==null;){var Le=ve.queue;Le!==null&&(Le.pending=null),ve=ve.next}Gl=!1}if(Ol=0,Fs=Bo=Us=null,gl=!1,me.current=null,z===null||z.return===null){Oa=1,Do=C,Nn=null;break}e:{var ut=g,jt=z.return,ir=z,P=C;if(C=dn,ir.flags|=2048,ir.firstEffect=ir.lastEffect=null,P!==null&&typeof P=="object"&&typeof P.then=="function"){var t=P;if(!(ir.mode&2)){var n=ir.alternate;n?(ir.updateQueue=n.updateQueue,ir.memoizedState=n.memoizedState,ir.lanes=n.lanes):(ir.updateQueue=null,ir.memoizedState=null)}var s=(to.current&1)!==0,m=jt;do{var E;if(E=m.tag===13){var T=m.memoizedState;if(T!==null)E=T.dehydrated!==null;else{var U=m.memoizedProps;E=U.fallback===void 0?!1:U.unstable_avoidThisFallback!==!0?!0:!s}}if(E){var W=m.updateQueue;if(W===null){var N=new Set;N.add(t),m.updateQueue=N}else W.add(t);if(!(m.mode&2)){if(m.flags|=64,ir.flags|=16384,ir.flags&=-2981,ir.tag===1)if(ir.alternate===null)ir.tag=17;else{var te=oo(-1,1);te.tag=2,Co(ir,te)}ir.lanes|=1;break e}P=void 0,ir=C;var ce=ut.pingCache;if(ce===null?(ce=ut.pingCache=new nl,P=new Set,ce.set(t,P)):(P=ce.get(t),P===void 0&&(P=new Set,ce.set(t,P))),!P.has(ir)){P.add(ir);var xe=Of.bind(null,ut,t,ir);t.then(xe,xe)}m.flags|=4096,m.lanes=C;break e}m=m.return}while(m!==null);P=Error((er(ir.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
|
|
|
|
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Oa!==5&&(Oa=2),P=Zo(P,ir),m=jt;do{switch(m.tag){case 3:ut=P,m.flags|=4096,C&=-C,m.lanes|=C;var Ie=il(m,ut,C);Mo(m,Ie);break e;case 1:ut=P;var Ae=m.type,at=m.stateNode;if(!(m.flags&64)&&(typeof Ae.getDerivedStateFromError=="function"||at!==null&&typeof at.componentDidCatch=="function"&&($o===null||!$o.has(at)))){m.flags|=4096,C&=-C,m.lanes|=C;var tt=Ql(m,ut,C);Mo(m,tt);break e}}m=m.return}while(m!==null)}ul(z)}catch(kt){C=kt,Nn===z&&z!==null&&(Nn=z=z.return);continue}break}while(!0)}function qi(){var g=L.current;return L.current=Yl,g===null?Yl:g}function is(g,C){var z=Re;Re|=16;var ve=qi();qr===g&&dn===C||ma(g,C);do try{Wu();break}catch(Le){_s(g,Le)}while(!0);if(us(),Re=z,L.current=ve,Nn!==null)throw Error(c(261));return qr=null,dn=0,Oa}function Wu(){for(;Nn!==null;)Gu(Nn)}function Bu(){for(;Nn!==null&&!vo();)Gu(Nn)}function Gu(g){var C=Rc(g.alternate,g,Oi);g.memoizedProps=g.pendingProps,C===null?ul(g):Nn=C,me.current=null}function ul(g){var C=g;do{var z=C.alternate;if(g=C.return,C.flags&2048){if(z=Kc(C),z!==null){z.flags&=2047,Nn=z;return}g!==null&&(g.firstEffect=g.lastEffect=null,g.flags|=2048)}else{if(z=Ic(z,C,Oi),z!==null){Nn=z;return}if(z=C,z.tag!==24&&z.tag!==23||z.memoizedState===null||Oi&1073741824||!(z.mode&4)){for(var ve=0,Le=z.child;Le!==null;)ve|=Le.lanes|Le.childLanes,Le=Le.sibling;z.childLanes=ve}g!==null&&!(g.flags&2048)&&(g.firstEffect===null&&(g.firstEffect=C.firstEffect),C.lastEffect!==null&&(g.lastEffect!==null&&(g.lastEffect.nextEffect=C.firstEffect),g.lastEffect=C.lastEffect),1<C.flags&&(g.lastEffect!==null?g.lastEffect.nextEffect=C:g.firstEffect=C,g.lastEffect=C))}if(C=C.sibling,C!==null){Nn=C;return}Nn=C=g}while(C!==null);Oa===0&&(Oa=5)}function ll(g){var C=Nt();return Er(99,Df.bind(null,g,C)),null}function Df(g,C){do $l();while(ns!==null);if(Re&48)throw Error(c(327));var z=g.finishedWork;if(z===null)return null;if(g.finishedWork=null,g.finishedLanes=0,z===g.current)throw Error(c(177));g.callbackNode=null;var ve=z.lanes|z.childLanes,Le=ve,ut=g.pendingLanes&~Le;g.pendingLanes=Le,g.suspendedLanes=0,g.pingedLanes=0,g.expiredLanes&=Le,g.mutableReadLanes&=Le,g.entangledLanes&=Le,Le=g.entanglements;for(var jt=g.eventTimes,ir=g.expirationTimes;0<ut;){var P=31-_i(ut),t=1<<P;Le[P]=0,jt[P]=-1,ir[P]=-1,ut&=~t}if(wl!==null&&!(ve&24)&&wl.has(g)&&wl.delete(g),g===qr&&(Nn=qr=null,dn=0),1<z.flags?z.lastEffect!==null?(z.lastEffect.nextEffect=z,ve=z.firstEffect):ve=z:ve=z.firstEffect,ve!==null){if(Le=Re,Re|=32,me.current=null,xi=Ta,jt=Ii(),aa(jt)){if("selectionStart"in jt)ir={start:jt.selectionStart,end:jt.selectionEnd};else e:if(ir=(ir=jt.ownerDocument)&&ir.defaultView||window,(t=ir.getSelection&&ir.getSelection())&&t.rangeCount!==0){ir=t.anchorNode,ut=t.anchorOffset,P=t.focusNode,t=t.focusOffset;try{ir.nodeType,P.nodeType}catch(kt){ir=null;break e}var n=0,s=-1,m=-1,E=0,T=0,U=jt,W=null;t:for(;;){for(var N;U!==ir||ut!==0&&U.nodeType!==3||(s=n+ut),U!==P||t!==0&&U.nodeType!==3||(m=n+t),U.nodeType===3&&(n+=U.nodeValue.length),(N=U.firstChild)!==null;)W=U,U=N;for(;;){if(U===jt)break t;if(W===ir&&++E===ut&&(s=n),W===P&&++T===t&&(m=n),(N=U.nextSibling)!==null)break;U=W,W=U.parentNode}U=N}ir=s===-1||m===-1?null:{start:s,end:m}}else ir=null;ir=ir||{start:0,end:0}}else ir=null;Ai={focusedElem:jt,selectionRange:ir},Ta=!1,Bl=null,Jc=!1,ki=ve;do try{wf()}catch(kt){if(ki===null)throw Error(c(330));cl(ki,kt),ki=ki.nextEffect}while(ki!==null);Bl=null,ki=ve;do try{for(jt=g;ki!==null;){var te=ki.flags;if(te&16&&At(ki.stateNode,""),te&128){var ce=ki.alternate;if(ce!==null){var xe=ce.ref;xe!==null&&(typeof xe=="function"?xe(null):xe.current=null)}}switch(te&1038){case 2:Lu(ki),ki.flags&=-3;break;case 6:Lu(ki),ki.flags&=-3,mc(ki.alternate,ki);break;case 1024:ki.flags&=-1025;break;case 1028:ki.flags&=-1025,mc(ki.alternate,ki);break;case 4:mc(ki.alternate,ki);break;case 8:ir=ki,_c(jt,ir);var Ie=ir.alternate;Xc(ir),Ie!==null&&Xc(Ie)}ki=ki.nextEffect}}catch(kt){if(ki===null)throw Error(c(330));cl(ki,kt),ki=ki.nextEffect}while(ki!==null);if(xe=Ai,ce=Ii(),te=xe.focusedElem,jt=xe.selectionRange,ce!==te&&te&&te.ownerDocument&&ga(te.ownerDocument.documentElement,te)){for(jt!==null&&aa(te)&&(ce=jt.start,xe=jt.end,xe===void 0&&(xe=ce),"selectionStart"in te?(te.selectionStart=ce,te.selectionEnd=Math.min(xe,te.value.length)):(xe=(ce=te.ownerDocument||document)&&ce.defaultView||window,xe.getSelection&&(xe=xe.getSelection(),ir=te.textContent.length,Ie=Math.min(jt.start,ir),jt=jt.end===void 0?Ie:Math.min(jt.end,ir),!xe.extend&&Ie>jt&&(ir=jt,jt=Ie,Ie=ir),ir=Vr(te,Ie),ut=Vr(te,jt),ir&&ut&&(xe.rangeCount!==1||xe.anchorNode!==ir.node||xe.anchorOffset!==ir.offset||xe.focusNode!==ut.node||xe.focusOffset!==ut.offset)&&(ce=ce.createRange(),ce.setStart(ir.node,ir.offset),xe.removeAllRanges(),Ie>jt?(xe.addRange(ce),xe.extend(ut.node,ut.offset)):(ce.setEnd(ut.node,ut.offset),xe.addRange(ce)))))),ce=[],xe=te;xe=xe.parentNode;)xe.nodeType===1&&ce.push({element:xe,left:xe.scrollLeft,top:xe.scrollTop});for(typeof te.focus=="function"&&te.focus(),te=0;te<ce.length;te++)xe=ce[te],xe.element.scrollLeft=xe.left,xe.element.scrollTop=xe.top}Ta=!!xi,Ai=xi=null,g.current=z,ki=ve;do try{for(te=g;ki!==null;){var Ae=ki.flags;if(Ae&36&&Ml(te,ki.alternate,ki),Ae&128){ce=void 0;var at=ki.ref;if(at!==null){var tt=ki.stateNode;switch(ki.tag){case 5:ce=tt;break;default:ce=tt}typeof at=="function"?at(ce):at.current=ce}}ki=ki.nextEffect}}catch(kt){if(ki===null)throw Error(c(330));cl(ki,kt),ki=ki.nextEffect}while(ki!==null);ki=null,X(),Re=Le}else g.current=z;if(Ks)Ks=!1,ns=g,al=C;else for(ki=ve;ki!==null;)C=ki.nextEffect,ki.nextEffect=null,ki.flags&8&&(Ae=ki,Ae.sibling=null,Ae.stateNode=null),ki=C;if(ve=g.pendingLanes,ve===0&&($o=null),ve===1?g===Qc?ol++:(ol=0,Qc=g):ol=0,z=z.stateNode,kn&&typeof kn.onCommitFiberRoot=="function")try{kn.onCommitFiberRoot(On,z,void 0,(z.current.flags&64)===64)}catch(kt){}if(wu(g,Tt()),nc)throw nc=!1,g=Fl,Fl=null,g;return Re&8||an(),null}function wf(){for(;ki!==null;){var g=ki.alternate;Jc||Bl===null||(ki.flags&8?tn(ki,Bl)&&(Jc=!0):ki.tag===13&&I(g,ki)&&tn(ki,Bl)&&(Jc=!0));var C=ki.flags;C&256&&Yc(g,ki),!(C&512)||Ks||(Ks=!0,zt(97,function(){return $l(),null})),ki=ki.nextEffect}}function $l(){if(al!==90){var g=97<al?97:al;return al=90,Er(g,ef)}return!1}function Sf(g,C){sl.push(C,g),Ks||(Ks=!0,zt(97,function(){return $l(),null}))}function gc(g,C){El.push(C,g),Ks||(Ks=!0,zt(97,function(){return $l(),null}))}function ef(){if(ns===null)return!1;var g=ns;if(ns=null,Re&48)throw Error(c(331));var C=Re;Re|=32;var z=El;El=[];for(var ve=0;ve<z.length;ve+=2){var Le=z[ve],ut=z[ve+1],jt=Le.destroy;if(Le.destroy=void 0,typeof jt=="function")try{jt()}catch(P){if(ut===null)throw Error(c(330));cl(ut,P)}}for(z=sl,sl=[],ve=0;ve<z.length;ve+=2){Le=z[ve],ut=z[ve+1];try{var ir=Le.create;Le.destroy=ir()}catch(P){if(ut===null)throw Error(c(330));cl(ut,P)}}for(ir=g.current.firstEffect;ir!==null;)g=ir.nextEffect,ir.nextEffect=null,ir.flags&8&&(ir.sibling=null,ir.stateNode=null),ir=g;return Re=C,an(),!0}function hf(g,C,z){C=Zo(z,C),C=il(g,C,1),Co(g,C),C=cu(),g=ic(g,1),g!==null&&(wi(g,1,C),wu(g,C))}function cl(g,C){if(g.tag===3)hf(g,g,C);else for(var z=g.return;z!==null;){if(z.tag===3){hf(z,g,C);break}else if(z.tag===1){var ve=z.stateNode;if(typeof z.type.getDerivedStateFromError=="function"||typeof ve.componentDidCatch=="function"&&($o===null||!$o.has(ve))){g=Zo(C,g);var Le=Ql(z,g,1);if(Co(z,Le),Le=cu(),z=ic(z,1),z!==null)wi(z,1,Le),wu(z,Le);else if(typeof ve.componentDidCatch=="function"&&($o===null||!$o.has(ve)))try{ve.componentDidCatch(C,g)}catch(ut){}break}}z=z.return}}function Of(g,C,z){var ve=g.pingCache;ve!==null&&ve.delete(C),C=cu(),g.pingedLanes|=g.suspendedLanes&z,qr===g&&(dn&z)===z&&(Oa===4||Oa===3&&(dn&62914560)===dn&&500>Tt()-rc?ma(g,0):Oc|=z),wu(g,C)}function Vu(g,C){var z=g.stateNode;z!==null&&z.delete(C),C=0,C===0&&(C=g.mode,C&2?C&4?(Hu===0&&(Hu=Ma),C=Sn(62914560&~Hu),C===0&&(C=4194304)):C=Nt()===99?1:2:C=1),z=cu(),g=ic(g,C),g!==null&&(wi(g,C,z),wu(g,z))}var Rc;Rc=function(g,C,z){var ve=C.lanes;if(g!==null)if(g.memoizedProps!==C.pendingProps||ye.current)Ou=!0;else if(z&ve)Ou=!!(g.flags&16384);else{switch(Ou=!1,C.tag){case 3:gu(C),Uc();break;case 5:ai(C);break;case 1:Jr(C.type)&&Jn(C);break;case 4:lc(C,C.stateNode.containerInfo);break;case 10:ve=C.memoizedProps.value;var Le=C.type._context;Ba(Ci,Le._currentValue),Le._currentValue=ve;break;case 13:if(C.memoizedState!==null)return z&C.child.childLanes?Ll(g,C,z):(Ba(to,to.current&1),C=yu(g,C,z),C!==null?C.sibling:null);Ba(to,to.current&1);break;case 19:if(ve=(z&C.childLanes)!==0,g.flags&64){if(ve)return tl(g,C,z);C.flags|=64}if(Le=C.memoizedState,Le!==null&&(Le.rendering=null,Le.tail=null,Le.lastEffect=null),Ba(to,to.current),ve)break;return null;case 23:case 24:return C.lanes=0,Vc(g,C,z)}return yu(g,C,z)}else Ou=!1;switch(C.lanes=0,C.tag){case 2:if(ve=C.type,g!==null&&(g.alternate=null,C.alternate=null,C.flags|=2),g=C.pendingProps,Le=Ar(C,ha.current),rs(C,z),Le=Sc(null,C,ve,g,Le,z),C.flags|=1,typeof Le=="object"&&Le!==null&&typeof Le.render=="function"&&Le.$$typeof===void 0){if(C.tag=1,C.memoizedState=null,C.updateQueue=null,Jr(ve)){var ut=!0;Jn(C)}else ut=!1;C.memoizedState=Le.state!==null&&Le.state!==void 0?Le.state:null,ks(C);var jt=ve.getDerivedStateFromProps;typeof jt=="function"&&Xu(C,ve,jt,g),Le.updater=ju,C.stateNode=Le,Le._reactInternals=C,Uu(C,ve,g,z),C=ze(null,C,ve,!0,ut,z)}else C.tag=0,lo(null,C,Le,z),C=C.child;return C;case 16:Le=C.elementType;e:{switch(g!==null&&(g.alternate=null,C.alternate=null,C.flags|=2),g=C.pendingProps,ut=Le._init,Le=ut(Le._payload),C.type=Le,ut=C.tag=pf(Le),g=Zn(Le,g),ut){case 0:C=Po(null,C,Le,g,z);break e;case 1:C=Rl(null,C,Le,g,z);break e;case 11:C=el(null,C,Le,g,z);break e;case 14:C=df(null,C,Le,Zn(Le.type,g),ve,z);break e}throw Error(c(306,Le,""))}return C;case 0:return ve=C.type,Le=C.pendingProps,Le=C.elementType===ve?Le:Zn(ve,Le),Po(g,C,ve,Le,z);case 1:return ve=C.type,Le=C.pendingProps,Le=C.elementType===ve?Le:Zn(ve,Le),Rl(g,C,ve,Le,z);case 3:if(gu(C),ve=C.updateQueue,g===null||ve===null)throw Error(c(282));if(ve=C.pendingProps,Le=C.memoizedState,Le=Le!==null?Le.element:null,vi(g,C),Ms(C,ve,null,z),ve=C.memoizedState.element,ve===Le)Uc(),C=yu(g,C,z);else{if(Le=C.stateNode,(ut=Le.hydrate)&&(Pu=hi(C.stateNode.containerInfo.firstChild),Jo=C,ut=qu=!0),ut){if(g=Le.mutableSourceEagerHydrationData,g!=null)for(Le=0;Le<g.length;Le+=2)ut=g[Le],ut._workInProgressVersionPrimary=g[Le+1],Il.push(ut);for(z=ml(C,null,ve,z),C.child=z;z;)z.flags=z.flags&-3|1024,z=z.sibling}else lo(g,C,ve,z),Uc();C=C.child}return C;case 5:return ai(C),g===null&&mo(C),ve=C.type,Le=C.pendingProps,ut=g!==null?g.memoizedProps:null,jt=Le.children,$i(ve,Le)?jt=null:ut!==null&&$i(ve,ut)&&(C.flags|=16),bl(g,C),lo(g,C,jt,z),C.child;case 6:return g===null&&mo(C),null;case 13:return Ll(g,C,z);case 4:return lc(C,C.stateNode.containerInfo),ve=C.pendingProps,g===null?C.child=qo(C,null,ve,z):lo(g,C,ve,z),C.child;case 11:return ve=C.type,Le=C.pendingProps,Le=C.elementType===ve?Le:Zn(ve,Le),el(g,C,ve,Le,z);case 7:return lo(g,C,C.pendingProps,z),C.child;case 8:return lo(g,C,C.pendingProps.children,z),C.child;case 12:return lo(g,C,C.pendingProps.children,z),C.child;case 10:e:{ve=C.type._context,Le=C.pendingProps,jt=C.memoizedProps,ut=Le.value;var ir=C.type._context;if(Ba(Ci,ir._currentValue),ir._currentValue=ut,jt!==null)if(ir=jt.value,ut=Kn(ir,ut)?0:(typeof ve._calculateChangedBits=="function"?ve._calculateChangedBits(ir,ut):1073741823)|0,ut===0){if(jt.children===Le.children&&!ye.current){C=yu(g,C,z);break e}}else for(ir=C.child,ir!==null&&(ir.return=C);ir!==null;){var P=ir.dependencies;if(P!==null){jt=ir.child;for(var t=P.firstContext;t!==null;){if(t.context===ve&&t.observedBits&ut){ir.tag===1&&(t=oo(-1,z&-z),t.tag=2,Co(ir,t)),ir.lanes|=z,t=ir.alternate,t!==null&&(t.lanes|=z),hs(ir.return,z),P.lanes|=z;break}t=t.next}}else jt=ir.tag===10&&ir.type===C.type?null:ir.child;if(jt!==null)jt.return=ir;else for(jt=ir;jt!==null;){if(jt===C){jt=null;break}if(ir=jt.sibling,ir!==null){ir.return=jt.return,jt=ir;break}jt=jt.return}ir=jt}lo(g,C,Le.children,z),C=C.child}return C;case 9:return Le=C.type,ut=C.pendingProps,ve=ut.children,rs(C,z),Le=Ea(Le,ut.unstable_observedBits),ve=ve(Le),C.flags|=1,lo(g,C,ve,z),C.child;case 14:return Le=C.type,ut=Zn(Le,C.pendingProps),ut=Zn(Le.type,ut),df(g,C,Le,ut,ve,z);case 15:return Pc(g,C,C.type,C.pendingProps,ve,z);case 17:return ve=C.type,Le=C.pendingProps,Le=C.elementType===ve?Le:Zn(ve,Le),g!==null&&(g.alternate=null,C.alternate=null,C.flags|=2),C.tag=1,Jr(ve)?(g=!0,Jn(C)):g=!1,rs(C,z),uu(C,ve,Le),Uu(C,ve,Le,z),ze(null,C,ve,!0,g,z);case 19:return tl(g,C,z);case 23:return Vc(g,C,z);case 24:return Vc(g,C,z)}throw Error(c(156,C.tag))};function tf(g,C,z,ve){this.tag=g,this.key=z,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=C,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=ve,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Ko(g,C,z,ve){return new tf(g,C,z,ve)}function rf(g){return g=g.prototype,!(!g||!g.isReactComponent)}function pf(g){if(typeof g=="function")return rf(g)?1:0;if(g!=null){if(g=g.$$typeof,g===J)return 11;if(g===ee)return 14}return 2}function fl(g,C){var z=g.alternate;return z===null?(z=Ko(g.tag,C,g.key,g.mode),z.elementType=g.elementType,z.type=g.type,z.stateNode=g.stateNode,z.alternate=g,g.alternate=z):(z.pendingProps=C,z.type=g.type,z.flags=0,z.nextEffect=null,z.firstEffect=null,z.lastEffect=null),z.childLanes=g.childLanes,z.lanes=g.lanes,z.child=g.child,z.memoizedProps=g.memoizedProps,z.memoizedState=g.memoizedState,z.updateQueue=g.updateQueue,C=g.dependencies,z.dependencies=C===null?null:{lanes:C.lanes,firstContext:C.firstContext},z.sibling=g.sibling,z.index=g.index,z.ref=g.ref,z}function jl(g,C,z,ve,Le,ut){var jt=2;if(ve=g,typeof g=="function")rf(g)&&(jt=1);else if(typeof g=="string")jt=5;else e:switch(g){case G:return Yo(z.children,Le,ut,C);case $:jt=8,Le|=16;break;case ae:jt=8,Le|=1;break;case ie:return g=Ko(12,z,C,Le|8),g.elementType=ie,g.type=ie,g.lanes=ut,g;case K:return g=Ko(13,z,C,Le),g.type=K,g.elementType=K,g.lanes=ut,g;case oe:return g=Ko(19,z,C,Le),g.elementType=oe,g.lanes=ut,g;case se:return yc(z,Le,ut,C);case _e:return g=Ko(24,z,C,Le),g.elementType=_e,g.lanes=ut,g;default:if(typeof g=="object"&&g!==null)switch(g.$$typeof){case ue:jt=10;break e;case q:jt=9;break e;case J:jt=11;break e;case ee:jt=14;break e;case Q:jt=16,ve=null;break e;case le:jt=22;break e}throw Error(c(130,g==null?g:typeof g,""))}return C=Ko(jt,z,C,Le),C.elementType=g,C.type=ve,C.lanes=ut,C}function Yo(g,C,z,ve){return g=Ko(7,g,ve,C),g.lanes=z,g}function yc(g,C,z,ve){return g=Ko(23,g,ve,C),g.elementType=se,g.lanes=z,g}function _f(g,C,z){return g=Ko(6,g,null,C),g.lanes=z,g}function Lc(g,C,z){return C=Ko(4,g.children!==null?g.children:[],g.key,C),C.lanes=z,C.stateNode={containerInfo:g.containerInfo,pendingChildren:null,implementation:g.implementation},C}function Mc(g,C,z){this.tag=C,this.containerInfo=g,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=va(0),this.expirationTimes=va(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=va(0),this.mutableSourceEagerHydrationData=null}function mf(g,C,z){var ve=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:V,key:ve==null?null:""+ve,children:g,containerInfo:C,implementation:z}}function Fc(g,C,z,ve){var Le=C.current,ut=cu(),jt=Fu(Le);e:if(z){z=z._reactInternals;t:{if(it(z)!==z||z.tag!==1)throw Error(c(170));var ir=z;do{switch(ir.tag){case 3:ir=ir.stateNode.context;break t;case 1:if(Jr(ir.type)){ir=ir.stateNode.__reactInternalMemoizedMergedChildContext;break t}}ir=ir.return}while(ir!==null);throw Error(c(171))}if(z.tag===1){var P=z.type;if(Jr(P)){z=wn(z,P,ir);break e}}z=ir}else z=Os;return C.context===null?C.context=z:C.pendingContext=z,C=oo(ut,jt),C.payload={element:g},ve=ve===void 0?null:ve,ve!==null&&(C.callback=ve),Co(Le,C),Sl(Le,jt,ut),jt}function Af(g){if(g=g.current,!g.child)return null;switch(g.child.tag){case 5:return g.child.stateNode;default:return g.child.stateNode}}function Mf(g,C){if(g=g.memoizedState,g!==null&&g.dehydrated!==null){var z=g.retryLane;g.retryLane=z!==0&&z<C?z:C}}function Bc(g,C){Mf(g,C),(g=g.alternate)&&Mf(g,C)}function Ff(){return null}function nf(g,C,z){var ve=z!=null&&z.hydrationOptions!=null&&z.hydrationOptions.mutableSources||null;if(z=new Mc(g,C,z!=null&&z.hydrate===!0),C=Ko(3,null,null,C===2?7:C===1?3:0),z.current=C,C.stateNode=z,ks(C),g[Ri]=z.current,Kt(g.nodeType===8?g.parentNode:g),ve)for(g=0;g<ve.length;g++){C=ve[g];var Le=C._getVersion;Le=Le(C._source),z.mutableSourceEagerHydrationData==null?z.mutableSourceEagerHydrationData=[C,Le]:z.mutableSourceEagerHydrationData.push(C,Le)}this._internalRoot=z}nf.prototype.render=function(g){Fc(g,this._internalRoot,null,null)},nf.prototype.unmount=function(){var g=this._internalRoot,C=g.containerInfo;Fc(null,g,null,function(){C[Ri]=null})};function vf(g){return!(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11&&(g.nodeType!==8||g.nodeValue!==" react-mount-point-unstable "))}function Hf(g,C){if(C||(C=g?g.nodeType===9?g.documentElement:g.firstChild:null,C=!(!C||C.nodeType!==1||!C.hasAttribute("data-reactroot"))),!C)for(var z;z=g.lastChild;)g.removeChild(z);return new nf(g,0,C?{hydrate:!0}:void 0)}function Cf(g,C,z,ve,Le){var ut=z._reactRootContainer;if(ut){var jt=ut._internalRoot;if(typeof Le=="function"){var ir=Le;Le=function(){var t=Af(jt);ir.call(t)}}Fc(C,jt,g,Le)}else{if(ut=z._reactRootContainer=Hf(z,ve),jt=ut._internalRoot,typeof Le=="function"){var P=Le;Le=function(){var t=Af(jt);P.call(t)}}Sa(function(){Fc(C,jt,g,Le)})}return Af(jt)}pn=function(g){if(g.tag===13){var C=cu();Sl(g,4,C),Bc(g,4)}},Fn=function(g){if(g.tag===13){var C=cu();Sl(g,67108864,C),Bc(g,67108864)}},Tn=function(g){if(g.tag===13){var C=cu(),z=Fu(g);Sl(g,z,C),Bc(g,z)}},oi=function(g,C){return C()},St=function(g,C,z){switch(C){case"input":if(ge(g,z),C=z.name,z.type==="radio"&&C!=null){for(z=g;z.parentNode;)z=z.parentNode;for(z=z.querySelectorAll("input[name="+JSON.stringify(""+C)+'][type="radio"]'),C=0;C<z.length;C++){var ve=z[C];if(ve!==g&&ve.form===g.form){var Le=Ja(ve);if(!Le)throw Error(c(90));ot(ve),ge(ve,Le)}}}break;case"textarea":Ht(g,z);break;case"select":C=z.value,C!=null&&nt(g,!!z.multiple,C,!1)}},Ft=Fi,Fe=function(g,C,z,ve,Le){var ut=Re;Re|=4;try{return Er(98,g.bind(null,C,z,ve,Le))}finally{Re=ut,Re===0&&(Mu(),an())}},Dr=function(){!(Re&49)&&(Gn(),$l())},Ct=function(g,C){var z=Re;Re|=2;try{return g(C)}finally{Re=z,Re===0&&(Mu(),an())}};function Bf(g,C){var z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!vf(C))throw Error(c(200));return mf(g,C,null,z)}var Nf={Events:[Fa,io,Ja,Ke,gt,$l,{current:!1}]},af={findFiberByHostInstance:Ka,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},$f={bundleType:af.bundleType,version:af.version,rendererPackageName:af.rendererPackageName,rendererConfig:af.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:j.ReactCurrentDispatcher,findHostInstanceByFiber:function(g){return g=gr(g),g===null?null:g.stateNode},findFiberByHostInstance:af.findFiberByHostInstance||Ff,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Tf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tf.isDisabled&&Tf.supportsFiber)try{On=Tf.inject($f),kn=Tf}catch(g){}}v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Nf,v.createPortal=Bf,v.findDOMNode=function(g){if(g==null)return null;if(g.nodeType===1)return g;var C=g._reactInternals;if(C===void 0)throw typeof g.render=="function"?Error(c(188)):Error(c(268,Object.keys(g)));return g=gr(C),g=g===null?null:g.stateNode,g},v.flushSync=function(g,C){var z=Re;if(z&48)return g(C);Re|=1;try{if(g)return Er(99,g.bind(null,C))}finally{Re=z,an()}},v.hydrate=function(g,C,z){if(!vf(C))throw Error(c(200));return Cf(null,g,C,!0,z)},v.render=function(g,C,z){if(!vf(C))throw Error(c(200));return Cf(null,g,C,!1,z)},v.unmountComponentAtNode=function(g){if(!vf(g))throw Error(c(40));return g._reactRootContainer?(Sa(function(){Cf(null,null,g,!1,function(){g._reactRootContainer=null,g[Ri]=null})}),!0):!1},v.unstable_batchedUpdates=Fi,v.unstable_createPortal=function(g,C){return Bf(g,C,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},v.unstable_renderSubtreeIntoContainer=function(g,C,z,ve){if(!vf(z))throw Error(c(200));if(g==null||g._reactInternals===void 0)throw Error(c(38));return Cf(g,C,z,!1,ve)},v.version="17.0.2"},4676:function(d,v,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 v=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(v&&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,v){"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,S=e?Symbol.for("react.block"):60121,k=e?Symbol.for("react.fundamental"):60117,R=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function D(B){if(typeof B=="object"&&B!==null){var j=B.$$typeof;switch(j){case r:switch(B=B.type,B){case u:case a:case l:case f:case c:case p:return B;default:switch(B=B&&B.$$typeof,B){case h:case x:case b:case _:case o:return B;default:return j}}case i:return j}}}function M(B){return D(B)===a}v.AsyncMode=u,v.ConcurrentMode=a,v.ContextConsumer=h,v.ContextProvider=o,v.Element=r,v.ForwardRef=x,v.Fragment=l,v.Lazy=b,v.Memo=_,v.Portal=i,v.Profiler=f,v.StrictMode=c,v.Suspense=p,v.isAsyncMode=function(B){return M(B)||D(B)===u},v.isConcurrentMode=M,v.isContextConsumer=function(B){return D(B)===h},v.isContextProvider=function(B){return D(B)===o},v.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===r},v.isForwardRef=function(B){return D(B)===x},v.isFragment=function(B){return D(B)===l},v.isLazy=function(B){return D(B)===b},v.isMemo=function(B){return D(B)===_},v.isPortal=function(B){return D(B)===i},v.isProfiler=function(B){return D(B)===f},v.isStrictMode=function(B){return D(B)===c},v.isSuspense=function(B){return D(B)===p},v.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===l||B===a||B===f||B===c||B===p||B===y||typeof B=="object"&&B!==null&&(B.$$typeof===b||B.$$typeof===_||B.$$typeof===o||B.$$typeof===h||B.$$typeof===x||B.$$typeof===k||B.$$typeof===R||B.$$typeof===A||B.$$typeof===S)},v.typeOf=D},99234:function(d,v,e){"use strict";d.exports=e(30508)},88172:function(d,v){"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 S(k){if(typeof k=="object"&&k!==null){var R=k.$$typeof;switch(R){case e:switch(k=k.type,k){case i:case c:case l:case a:case x:return k;default:switch(k=k&&k.$$typeof,k){case h:case o:case u:case y:case p:case f:return k;default:return R}}case r:return R}}}v.ContextConsumer=o,v.ContextProvider=f,v.Element=e,v.ForwardRef=u,v.Fragment=i,v.Lazy=y,v.Memo=p,v.Portal=r,v.Profiler=c,v.StrictMode=l,v.Suspense=a,v.SuspenseList=x,v.isAsyncMode=function(){return!1},v.isConcurrentMode=function(){return!1},v.isContextConsumer=function(k){return S(k)===o},v.isContextProvider=function(k){return S(k)===f},v.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===e},v.isForwardRef=function(k){return S(k)===u},v.isFragment=function(k){return S(k)===i},v.isLazy=function(k){return S(k)===y},v.isMemo=function(k){return S(k)===p},v.isPortal=function(k){return S(k)===r},v.isProfiler=function(k){return S(k)===c},v.isStrictMode=function(k){return S(k)===l},v.isSuspense=function(k){return S(k)===a},v.isSuspenseList=function(k){return S(k)===x},v.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===i||k===c||k===l||k===a||k===x||k===_||typeof k=="object"&&k!==null&&(k.$$typeof===y||k.$$typeof===p||k.$$typeof===f||k.$$typeof===o||k.$$typeof===u||k.$$typeof===b||k.getModuleId!==void 0)},v.typeOf=S},23265:function(d,v,e){"use strict";d.exports=e(88172)},32451:function(d,v,e){"use strict";e.d(v,{lr:function(){return k},rU:function(){return _}});var r=e(59301),i=e(35338),l=e(19340);function c(){return c=Object.assign||function(A){for(var D=1;D<arguments.length;D++){var M=arguments[D];for(var B in M)Object.prototype.hasOwnProperty.call(M,B)&&(A[B]=M[B])}return A},c.apply(this,arguments)}function f(A,D){if(A==null)return{};var M={},B=Object.keys(A),j,Y;for(Y=0;Y<B.length;Y++)j=B[Y],!(D.indexOf(j)>=0)&&(M[j]=A[j]);return M}const o=["onClick","reloadDocument","replace","state","target","to"],h=null;function u(A,D){if(!A){typeof console!="undefined"&&console.warn(D);try{throw new Error(D)}catch(M){}}}function a(A){let{basename:D,children:M,window:B}=A,j=useRef();j.current==null&&(j.current=createBrowserHistory({window:B}));let Y=j.current,[V,G]=useState({action:Y.action,location:Y.location});return useLayoutEffect(()=>Y.listen(G),[Y]),createElement(Router,{basename:D,children:M,location:V.location,navigationType:V.action,navigator:Y})}function x(A){let{basename:D,children:M,window:B}=A,j=useRef();j.current==null&&(j.current=createHashHistory({window:B}));let Y=j.current,[V,G]=useState({action:Y.action,location:Y.location});return useLayoutEffect(()=>Y.listen(G),[Y]),createElement(Router,{basename:D,children:M,location:V.location,navigationType:V.action,navigator:Y})}function p(A){let{basename:D,children:M,history:B}=A;const[j,Y]=useState({action:B.action,location:B.location});return useLayoutEffect(()=>B.listen(Y),[B]),createElement(Router,{basename:D,children:M,location:j.location,navigationType:j.action,navigator:B})}function y(A){return!!(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey)}const _=(0,r.forwardRef)(function(D,M){let{onClick:B,reloadDocument:j,replace:Y=!1,state:V,target:G,to:ae}=D,ie=f(D,o),ue=(0,i.oQ)(ae),q=S(ae,{replace:Y,state:V,target:G});function J(K){B&&B(K),!K.defaultPrevented&&!j&&q(K)}return(0,r.createElement)("a",c({},ie,{href:ue,onClick:J,ref:M,target:G}))}),b=null;function S(A,D){let{target:M,replace:B,state:j}=D===void 0?{}:D,Y=(0,i.s0)(),V=(0,i.TH)(),G=(0,i.WU)(A);return(0,r.useCallback)(ae=>{if(ae.button===0&&(!M||M==="_self")&&!y(ae)){ae.preventDefault();let ie=!!B||(0,l.Ep)(V)===(0,l.Ep)(G);Y(A,{replace:ie,state:j})}},[V,Y,G,B,j,M,A])}function k(A){let D=(0,r.useRef)(R(A)),M=(0,i.TH)(),B=(0,r.useMemo)(()=>{let V=R(M.search);for(let G of D.current.keys())V.has(G)||D.current.getAll(G).forEach(ae=>{V.append(G,ae)});return V},[M.search]),j=(0,i.s0)(),Y=(0,r.useCallback)((V,G)=>{j("?"+R(V),G)},[j]);return[B,Y]}function R(A){return A===void 0&&(A=""),new URLSearchParams(typeof A=="string"||Array.isArray(A)||A instanceof URLSearchParams?A:Object.keys(A).reduce((D,M)=>{let B=A[M];return D.concat(Array.isArray(B)?B.map(j=>[M,j]):[[M,B]])},[]))}},35338:function(d,v,e){"use strict";e.d(v,{F0:function(){return ot},Fg:function(){return Xe},Gn:function(){return x},TH:function(){return se},UO:function(){return yt},V$:function(){return Jt},WU:function(){return Dt},bx:function(){return Ne},fp:function(){return p},j3:function(){return Pt},oQ:function(){return Z},s0:function(){return ke}});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(je,ge){if(!je)throw new Error(ge)}function h(je,ge){if(!je){typeof console!="undefined"&&console.warn(ge);try{throw new Error(ge)}catch(Se){}}}const u={};function a(je,ge,Se){!ge&&!u[je]&&(u[je]=!0)}function x(je,ge){return ge===void 0&&(ge={}),je.replace(/:(\w+)/g,(Se,Me)=>(ge[Me]==null&&o(!1),ge[Me])).replace(/\/*\*$/,Se=>ge["*"]==null?"":ge["*"].replace(/^\/*/,"/"))}function p(je,ge,Se){Se===void 0&&(Se="/");let Me=typeof ge=="string"?(0,r.cP)(ge):ge,$e=K(Me.pathname||"/",Se);if($e==null)return null;let He=y(je);_(He);let nt=null;for(let ct=0;nt==null&&ct<He.length;++ct)nt=Y(He[ct],$e);return nt}function y(je,ge,Se,Me){return ge===void 0&&(ge=[]),Se===void 0&&(Se=[]),Me===void 0&&(Me=""),je.forEach(($e,He)=>{let nt={relativePath:$e.path||"",caseSensitive:$e.caseSensitive===!0,childrenIndex:He,route:$e};nt.relativePath.startsWith("/")&&(nt.relativePath.startsWith(Me)||o(!1),nt.relativePath=nt.relativePath.slice(Me.length));let ct=oe([Me,nt.relativePath]),Vt=Se.concat(nt);$e.children&&$e.children.length>0&&($e.index===!0&&o(!1),y($e.children,ge,Vt,ct)),!($e.path==null&&!$e.index)&&ge.push({path:ct,score:B(ct,$e.index),routesMeta:Vt})}),ge}function _(je){je.sort((ge,Se)=>ge.score!==Se.score?Se.score-ge.score:j(ge.routesMeta.map(Me=>Me.childrenIndex),Se.routesMeta.map(Me=>Me.childrenIndex)))}const b=/^:\w+$/,S=3,k=2,R=1,A=10,D=-2,M=je=>je==="*";function B(je,ge){let Se=je.split("/"),Me=Se.length;return Se.some(M)&&(Me+=D),ge&&(Me+=k),Se.filter($e=>!M($e)).reduce(($e,He)=>$e+(b.test(He)?S:He===""?R:A),Me)}function j(je,ge){return je.length===ge.length&&je.slice(0,-1).every((Me,$e)=>Me===ge[$e])?je[je.length-1]-ge[ge.length-1]:0}function Y(je,ge){let{routesMeta:Se}=je,Me={},$e="/",He=[];for(let nt=0;nt<Se.length;++nt){let ct=Se[nt],Vt=nt===Se.length-1,Ht=$e==="/"?ge:ge.slice($e.length)||"/",Pe=V({path:ct.relativePath,caseSensitive:ct.caseSensitive,end:Vt},Ht);if(!Pe)return null;Object.assign(Me,Pe.params);let qe=ct.route;He.push({params:Me,pathname:oe([$e,Pe.pathname]),pathnameBase:ee(oe([$e,Pe.pathnameBase])),route:qe}),Pe.pathnameBase!=="/"&&($e=oe([$e,Pe.pathnameBase]))}return He}function V(je,ge){typeof je=="string"&&(je={path:je,caseSensitive:!1,end:!0});let[Se,Me]=G(je.path,je.caseSensitive,je.end),$e=ge.match(Se);if(!$e)return null;let He=$e[0],nt=He.replace(/(.)\/+$/,"$1"),ct=$e.slice(1);return{params:Me.reduce((Ht,Pe,qe)=>{if(Pe==="*"){let Yt=ct[qe]||"";nt=He.slice(0,He.length-Yt.length).replace(/(.)\/+$/,"$1")}return Ht[Pe]=ae(ct[qe]||"",Pe),Ht},{}),pathname:He,pathnameBase:nt,pattern:je}}function G(je,ge,Se){ge===void 0&&(ge=!1),Se===void 0&&(Se=!0);let Me=[],$e="^"+je.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(nt,ct)=>(Me.push(ct),"([^\\/]+)"));return je.endsWith("*")?(Me.push("*"),$e+=je==="*"||je==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):$e+=Se?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp($e,ge?void 0:"i"),Me]}function ae(je,ge){try{return decodeURIComponent(je)}catch(Se){return je}}function ie(je,ge){ge===void 0&&(ge="/");let{pathname:Se,search:Me="",hash:$e=""}=typeof je=="string"?(0,r.cP)(je):je;return{pathname:Se?Se.startsWith("/")?Se:ue(Se,ge):ge,search:Q(Me),hash:le($e)}}function ue(je,ge){let Se=ge.replace(/\/+$/,"").split("/");return je.split("/").forEach($e=>{$e===".."?Se.length>1&&Se.pop():$e!=="."&&Se.push($e)}),Se.length>1?Se.join("/"):"/"}function q(je,ge,Se){let Me=typeof je=="string"?(0,r.cP)(je):je,$e=je===""||Me.pathname===""?"/":Me.pathname,He;if($e==null)He=Se;else{let ct=ge.length-1;if($e.startsWith("..")){let Vt=$e.split("/");for(;Vt[0]==="..";)Vt.shift(),ct-=1;Me.pathname=Vt.join("/")}He=ct>=0?ge[ct]:"/"}let nt=ie(Me,He);return $e&&$e!=="/"&&$e.endsWith("/")&&!nt.pathname.endsWith("/")&&(nt.pathname+="/"),nt}function J(je){return je===""||je.pathname===""?"/":typeof je=="string"?(0,r.cP)(je).pathname:je.pathname}function K(je,ge){if(ge==="/")return je;if(!je.toLowerCase().startsWith(ge.toLowerCase()))return null;let Se=je.charAt(ge.length);return Se&&Se!=="/"?null:je.slice(ge.length)||"/"}const oe=je=>je.join("/").replace(/\/\/+/g,"/"),ee=je=>je.replace(/\/+$/,"").replace(/^\/*/,"/"),Q=je=>!je||je==="?"?"":je.startsWith("?")?je:"?"+je,le=je=>!je||je==="#"?"":je.startsWith("#")?je:"#"+je;function Z(je){$()||o(!1);let{basename:ge,navigator:Se}=(0,i.useContext)(l),{hash:Me,pathname:$e,search:He}=Dt(je),nt=$e;if(ge!=="/"){let ct=J(je),Vt=ct!=null&&ct.endsWith("/");nt=$e==="/"?ge+(Vt?"/":""):oe([ge,$e])}return Se.createHref({pathname:nt,search:He,hash:Me})}function $(){return(0,i.useContext)(c)!=null}function se(){return $()||o(!1),(0,i.useContext)(c).location}function _e(){return useContext(c).navigationType}function De(je){$()||o(!1);let{pathname:ge}=se();return useMemo(()=>V(je,ge),[ge,je])}function ke(){$()||o(!1);let{basename:je,navigator:ge}=(0,i.useContext)(l),{matches:Se}=(0,i.useContext)(f),{pathname:Me}=se(),$e=JSON.stringify(Se.map(ct=>ct.pathnameBase)),He=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{He.current=!0}),(0,i.useCallback)(function(ct,Vt){if(Vt===void 0&&(Vt={}),!He.current)return;if(typeof ct=="number"){ge.go(ct);return}let Ht=q(ct,JSON.parse($e),Me);je!=="/"&&(Ht.pathname=oe([je,Ht.pathname])),(Vt.replace?ge.replace:ge.push)(Ht,Vt.state)},[je,ge,$e,Me])}const Ze=(0,i.createContext)(null);function Ne(){return(0,i.useContext)(Ze)}function Bt(je){let ge=(0,i.useContext)(f).outlet;return ge&&(0,i.createElement)(Ze.Provider,{value:je},ge)}function yt(){let{matches:je}=(0,i.useContext)(f),ge=je[je.length-1];return ge?ge.params:{}}function Dt(je){let{matches:ge}=(0,i.useContext)(f),{pathname:Se}=se(),Me=JSON.stringify(ge.map($e=>$e.pathnameBase));return(0,i.useMemo)(()=>q(je,JSON.parse(Me),Se),[je,Me,Se])}function Jt(je,ge){$()||o(!1);let{matches:Se}=(0,i.useContext)(f),Me=Se[Se.length-1],$e=Me?Me.params:{},He=Me?Me.pathname:"/",nt=Me?Me.pathnameBase:"/",ct=Me&&Me.route,Vt=se(),Ht;if(ge){var Pe;let Wt=typeof ge=="string"?(0,r.cP)(ge):ge;nt==="/"||(Pe=Wt.pathname)!=null&&Pe.startsWith(nt)||o(!1),Ht=Wt}else Ht=Vt;let qe=Ht.pathname||"/",Yt=nt==="/"?qe:qe.slice(nt.length)||"/",Rt=p(je,{pathname:Yt});return er(Rt&&Rt.map(Wt=>Object.assign({},Wt,{params:Object.assign({},$e,Wt.params),pathname:oe([nt,Wt.pathname]),pathnameBase:Wt.pathnameBase==="/"?nt:oe([nt,Wt.pathnameBase])})),Se)}function er(je,ge){return ge===void 0&&(ge=[]),je==null?null:je.reduceRight((Se,Me,$e)=>(0,i.createElement)(f.Provider,{children:Me.route.element!==void 0?Me.route.element:Se,value:{outlet:Se,matches:ge.concat(je.slice(0,$e+1))}}),null)}function tr(je){let{basename:ge,children:Se,initialEntries:Me,initialIndex:$e}=je,He=useRef();He.current==null&&(He.current=createMemoryHistory({initialEntries:Me,initialIndex:$e}));let nt=He.current,[ct,Vt]=useState({action:nt.action,location:nt.location});return useLayoutEffect(()=>nt.listen(Vt),[nt]),createElement(ot,{basename:ge,children:Se,location:ct.location,navigationType:ct.action,navigator:nt})}function Xe(je){let{to:ge,replace:Se,state:Me}=je;$()||o(!1);let $e=ke();return(0,i.useEffect)(()=>{$e(ge,{replace:Se,state:Me})}),null}function Pt(je){return Bt(je.context)}function Zt(je){o(!1)}function ot(je){let{basename:ge="/",children:Se=null,location:Me,navigationType:$e=r.aU.Pop,navigator:He,static:nt=!1}=je;$()&&o(!1);let ct=ee(ge),Vt=(0,i.useMemo)(()=>({basename:ct,navigator:He,static:nt}),[ct,He,nt]);typeof Me=="string"&&(Me=(0,r.cP)(Me));let{pathname:Ht="/",search:Pe="",hash:qe="",state:Yt=null,key:Rt="default"}=Me,Wt=(0,i.useMemo)(()=>{let $t=K(Ht,ct);return $t==null?null:{pathname:$t,search:Pe,hash:qe,state:Yt,key:Rt}},[ct,Ht,Pe,qe,Yt,Rt]);return Wt==null?null:(0,i.createElement)(l.Provider,{value:Vt},(0,i.createElement)(c.Provider,{children:Se,value:{location:Wt,navigationType:$e}}))}function xt(je){let{children:ge,location:Se}=je;return Jt(ht(ge),Se)}function ht(je){let ge=[];return Children.forEach(je,Se=>{if(!isValidElement(Se))return;if(Se.type===Fragment){ge.push.apply(ge,ht(Se.props.children));return}Se.type!==Zt&&o(!1);let Me={caseSensitive:Se.props.caseSensitive,element:Se.props.element,index:Se.props.index,path:Se.props.path};Se.props.children&&(Me.children=ht(Se.props.children)),ge.push(Me)}),ge}function et(je){return er(je)}},76100:function(d,v,e){"use strict";var r=e(84126),i=60103,l=60106;v.Fragment=60107,v.StrictMode=60108,v.Profiler=60114;var c=60109,f=60110,o=60112;v.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"),v.Fragment=a("react.fragment"),v.StrictMode=a("react.strict_mode"),v.Profiler=a("react.profiler"),c=a("react.provider"),f=a("react.context"),o=a("react.forward_ref"),v.Suspense=a("react.suspense"),h=a("react.memo"),u=a("react.lazy")}var x=typeof Symbol=="function"&&Symbol.iterator;function p(Q){return Q===null||typeof Q!="object"?null:(Q=x&&Q[x]||Q["@@iterator"],typeof Q=="function"?Q:null)}function y(Q){for(var le="https://reactjs.org/docs/error-decoder.html?invariant="+Q,Z=1;Z<arguments.length;Z++)le+="&args[]="+encodeURIComponent(arguments[Z]);return"Minified React error #"+Q+"; visit "+le+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function S(Q,le,Z){this.props=Q,this.context=le,this.refs=b,this.updater=Z||_}S.prototype.isReactComponent={},S.prototype.setState=function(Q,le){if(typeof Q!="object"&&typeof Q!="function"&&Q!=null)throw Error(y(85));this.updater.enqueueSetState(this,Q,le,"setState")},S.prototype.forceUpdate=function(Q){this.updater.enqueueForceUpdate(this,Q,"forceUpdate")};function k(){}k.prototype=S.prototype;function R(Q,le,Z){this.props=Q,this.context=le,this.refs=b,this.updater=Z||_}var A=R.prototype=new k;A.constructor=R,r(A,S.prototype),A.isPureReactComponent=!0;var D={current:null},M=Object.prototype.hasOwnProperty,B={key:!0,ref:!0,__self:!0,__source:!0};function j(Q,le,Z){var $,se={},_e=null,De=null;if(le!=null)for($ in le.ref!==void 0&&(De=le.ref),le.key!==void 0&&(_e=""+le.key),le)M.call(le,$)&&!B.hasOwnProperty($)&&(se[$]=le[$]);var ke=arguments.length-2;if(ke===1)se.children=Z;else if(1<ke){for(var Ze=Array(ke),Ne=0;Ne<ke;Ne++)Ze[Ne]=arguments[Ne+2];se.children=Ze}if(Q&&Q.defaultProps)for($ in ke=Q.defaultProps,ke)se[$]===void 0&&(se[$]=ke[$]);return{$$typeof:i,type:Q,key:_e,ref:De,props:se,_owner:D.current}}function Y(Q,le){return{$$typeof:i,type:Q.type,key:le,ref:Q.ref,props:Q.props,_owner:Q._owner}}function V(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===i}function G(Q){var le={"=":"=0",":":"=2"};return"$"+Q.replace(/[=:]/g,function(Z){return le[Z]})}var ae=/\/+/g;function ie(Q,le){return typeof Q=="object"&&Q!==null&&Q.key!=null?G(""+Q.key):le.toString(36)}function ue(Q,le,Z,$,se){var _e=typeof Q;(_e==="undefined"||_e==="boolean")&&(Q=null);var De=!1;if(Q===null)De=!0;else switch(_e){case"string":case"number":De=!0;break;case"object":switch(Q.$$typeof){case i:case l:De=!0}}if(De)return De=Q,se=se(De),Q=$===""?"."+ie(De,0):$,Array.isArray(se)?(Z="",Q!=null&&(Z=Q.replace(ae,"$&/")+"/"),ue(se,le,Z,"",function(Ne){return Ne})):se!=null&&(V(se)&&(se=Y(se,Z+(!se.key||De&&De.key===se.key?"":(""+se.key).replace(ae,"$&/")+"/")+Q)),le.push(se)),1;if(De=0,$=$===""?".":$+":",Array.isArray(Q))for(var ke=0;ke<Q.length;ke++){_e=Q[ke];var Ze=$+ie(_e,ke);De+=ue(_e,le,Z,Ze,se)}else if(Ze=p(Q),typeof Ze=="function")for(Q=Ze.call(Q),ke=0;!(_e=Q.next()).done;)_e=_e.value,Ze=$+ie(_e,ke++),De+=ue(_e,le,Z,Ze,se);else if(_e==="object")throw le=""+Q,Error(y(31,le==="[object Object]"?"object with keys {"+Object.keys(Q).join(", ")+"}":le));return De}function q(Q,le,Z){if(Q==null)return Q;var $=[],se=0;return ue(Q,$,"","",function(_e){return le.call(Z,_e,se++)}),$}function J(Q){if(Q._status===-1){var le=Q._result;le=le(),Q._status=0,Q._result=le,le.then(function(Z){Q._status===0&&(Z=Z.default,Q._status=1,Q._result=Z)},function(Z){Q._status===0&&(Q._status=2,Q._result=Z)})}if(Q._status===1)return Q._result;throw Q._result}var K={current:null};function oe(){var Q=K.current;if(Q===null)throw Error(y(321));return Q}var ee={ReactCurrentDispatcher:K,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:D,IsSomeRendererActing:{current:!1},assign:r};v.Children={map:q,forEach:function(Q,le,Z){q(Q,function(){le.apply(this,arguments)},Z)},count:function(Q){var le=0;return q(Q,function(){le++}),le},toArray:function(Q){return q(Q,function(le){return le})||[]},only:function(Q){if(!V(Q))throw Error(y(143));return Q}},v.Component=S,v.PureComponent=R,v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ee,v.cloneElement=function(Q,le,Z){if(Q==null)throw Error(y(267,Q));var $=r({},Q.props),se=Q.key,_e=Q.ref,De=Q._owner;if(le!=null){if(le.ref!==void 0&&(_e=le.ref,De=D.current),le.key!==void 0&&(se=""+le.key),Q.type&&Q.type.defaultProps)var ke=Q.type.defaultProps;for(Ze in le)M.call(le,Ze)&&!B.hasOwnProperty(Ze)&&($[Ze]=le[Ze]===void 0&&ke!==void 0?ke[Ze]:le[Ze])}var Ze=arguments.length-2;if(Ze===1)$.children=Z;else if(1<Ze){ke=Array(Ze);for(var Ne=0;Ne<Ze;Ne++)ke[Ne]=arguments[Ne+2];$.children=ke}return{$$typeof:i,type:Q.type,key:se,ref:_e,props:$,_owner:De}},v.createContext=function(Q,le){return le===void 0&&(le=null),Q={$$typeof:f,_calculateChangedBits:le,_currentValue:Q,_currentValue2:Q,_threadCount:0,Provider:null,Consumer:null},Q.Provider={$$typeof:c,_context:Q},Q.Consumer=Q},v.createElement=j,v.createFactory=function(Q){var le=j.bind(null,Q);return le.type=Q,le},v.createRef=function(){return{current:null}},v.forwardRef=function(Q){return{$$typeof:o,render:Q}},v.isValidElement=V,v.lazy=function(Q){return{$$typeof:u,_payload:{_status:-1,_result:Q},_init:J}},v.memo=function(Q,le){return{$$typeof:h,type:Q,compare:le===void 0?null:le}},v.useCallback=function(Q,le){return oe().useCallback(Q,le)},v.useContext=function(Q,le){return oe().useContext(Q,le)},v.useDebugValue=function(){},v.useEffect=function(Q,le){return oe().useEffect(Q,le)},v.useImperativeHandle=function(Q,le,Z){return oe().useImperativeHandle(Q,le,Z)},v.useLayoutEffect=function(Q,le){return oe().useLayoutEffect(Q,le)},v.useMemo=function(Q,le){return oe().useMemo(Q,le)},v.useReducer=function(Q,le,Z){return oe().useReducer(Q,le,Z)},v.useRef=function(Q){return oe().useRef(Q)},v.useState=function(Q){return oe().useState(Q)},v.version="17.0.2"},59301:function(d,v,e){"use strict";d.exports=e(76100)},59781:function(d,v,e){"use strict";e.d(v,{DE:function(){return D},MT:function(){return y},UY:function(){return R},md:function(){return B},qC:function(){return M}});var r=e(20439);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 Y=j;Object.getPrototypeOf(Y)!==null;)Y=Object.getPrototypeOf(Y);return Object.getPrototypeOf(j)===Y}function h(j){if(j===void 0)return"undefined";if(j===null)return"null";var Y=typeof j;switch(Y){case"boolean":case"string":case"number":case"symbol":case"function":return Y}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 Y.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 Y=typeof j;return Y}function y(j,Y,V){var G;if(typeof Y=="function"&&typeof V=="function"||typeof V=="function"&&typeof arguments[3]=="function")throw new Error(i(0));if(typeof Y=="function"&&typeof V=="undefined"&&(V=Y,Y=void 0),typeof V!="undefined"){if(typeof V!="function")throw new Error(i(1));return V(y)(j,Y)}if(typeof j!="function")throw new Error(i(2));var ae=j,ie=Y,ue=[],q=ue,J=!1;function K(){q===ue&&(q=ue.slice())}function oe(){if(J)throw new Error(i(3));return ie}function ee($){if(typeof $!="function")throw new Error(i(4));if(J)throw new Error(i(5));var se=!0;return K(),q.push($),function(){if(se){if(J)throw new Error(i(6));se=!1,K();var De=q.indexOf($);q.splice(De,1),ue=null}}}function Q($){if(!o($))throw new Error(i(7));if(typeof $.type=="undefined")throw new Error(i(8));if(J)throw new Error(i(9));try{J=!0,ie=ae(ie,$)}finally{J=!1}for(var se=ue=q,_e=0;_e<se.length;_e++){var De=se[_e];De()}return $}function le($){if(typeof $!="function")throw new Error(i(10));ae=$,Q({type:f.REPLACE})}function Z(){var $,se=ee;return $={subscribe:function(De){if(typeof De!="object"||De===null)throw new Error(i(11));function ke(){De.next&&De.next(oe())}ke();var Ze=se(ke);return{unsubscribe:Ze}}},$[l]=function(){return this},$}return Q({type:f.INIT}),G={dispatch:Q,subscribe:ee,getState:oe,replaceReducer:le},G[l]=Z,G}var _=null;function b(j){typeof console!="undefined"&&typeof console.error=="function"&&console.error(j);try{throw new Error(j)}catch(Y){}}function S(j,Y,V,G){var ae=Object.keys(Y),ie=V&&V.type===f.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(ae.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 "+ie+' has unexpected type of "'+p(j)+'". Expected argument to be an object with the following '+('keys: "'+ae.join('", "')+'"');var ue=Object.keys(j).filter(function(q){return!Y.hasOwnProperty(q)&&!G[q]});if(ue.forEach(function(q){G[q]=!0}),!(V&&V.type===f.REPLACE)&&ue.length>0)return"Unexpected "+(ue.length>1?"keys":"key")+" "+('"'+ue.join('", "')+'" found in '+ie+". ")+"Expected to find one of the known reducer keys instead: "+('"'+ae.join('", "')+'". Unexpected keys will be ignored.')}function k(j){Object.keys(j).forEach(function(Y){var V=j[Y],G=V(void 0,{type:f.INIT});if(typeof G=="undefined")throw new Error(i(12));if(typeof V(void 0,{type:f.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(i(13))})}function R(j){for(var Y=Object.keys(j),V={},G=0;G<Y.length;G++){var ae=Y[G];typeof j[ae]=="function"&&(V[ae]=j[ae])}var ie=Object.keys(V),ue,q;try{k(V)}catch(J){q=J}return function(K,oe){if(K===void 0&&(K={}),q)throw q;if(0)var ee;for(var Q=!1,le={},Z=0;Z<ie.length;Z++){var $=ie[Z],se=V[$],_e=K[$],De=se(_e,oe);if(typeof De=="undefined"){var ke=oe&&oe.type;throw new Error(i(14))}le[$]=De,Q=Q||De!==_e}return Q=Q||ie.length!==Object.keys(K).length,Q?le:K}}function A(j,Y){return function(){return Y(j.apply(this,arguments))}}function D(j,Y){if(typeof j=="function")return A(j,Y);if(typeof j!="object"||j===null)throw new Error(i(16));var V={};for(var G in j){var ae=j[G];typeof ae=="function"&&(V[G]=A(ae,Y))}return V}function M(){for(var j=arguments.length,Y=new Array(j),V=0;V<j;V++)Y[V]=arguments[V];return Y.length===0?function(G){return G}:Y.length===1?Y[0]:Y.reduce(function(G,ae){return function(){return G(ae.apply(void 0,arguments))}})}function B(){for(var j=arguments.length,Y=new Array(j),V=0;V<j;V++)Y[V]=arguments[V];return function(G){return function(){var ae=G.apply(void 0,arguments),ie=function(){throw new Error(i(15))},ue={getState:ae.getState,dispatch:function(){return ie.apply(void 0,arguments)}},q=Y.map(function(J){return J(ue)});return ie=M.apply(void 0,q)(ae.dispatch),(0,r.Z)((0,r.Z)({},ae),{},{dispatch:ie})}}}},58246:function(d){var v=function(e){"use strict";var r=Object.prototype,i=r.hasOwnProperty,l=Object.defineProperty||function(ee,Q,le){ee[Q]=le.value},c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.asyncIterator||"@@asyncIterator",u=f.toStringTag||"@@toStringTag";function a(ee,Q,le){return Object.defineProperty(ee,Q,{value:le,enumerable:!0,configurable:!0,writable:!0}),ee[Q]}try{a({},"")}catch(ee){a=function(Q,le,Z){return Q[le]=Z}}function x(ee,Q,le,Z){var $=Q&&Q.prototype instanceof R?Q:R,se=Object.create($.prototype),_e=new J(Z||[]);return l(se,"_invoke",{value:ae(ee,le,_e)}),se}e.wrap=x;function p(ee,Q,le){try{return{type:"normal",arg:ee.call(Q,le)}}catch(Z){return{type:"throw",arg:Z}}}var y="suspendedStart",_="suspendedYield",b="executing",S="completed",k={};function R(){}function A(){}function D(){}var M={};a(M,o,function(){return this});var B=Object.getPrototypeOf,j=B&&B(B(K([])));j&&j!==r&&i.call(j,o)&&(M=j);var Y=D.prototype=R.prototype=Object.create(M);A.prototype=D,l(Y,"constructor",{value:D,configurable:!0}),l(D,"constructor",{value:A,configurable:!0}),A.displayName=a(D,u,"GeneratorFunction");function V(ee){["next","throw","return"].forEach(function(Q){a(ee,Q,function(le){return this._invoke(Q,le)})})}e.isGeneratorFunction=function(ee){var Q=typeof ee=="function"&&ee.constructor;return Q?Q===A||(Q.displayName||Q.name)==="GeneratorFunction":!1},e.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,D):(ee.__proto__=D,a(ee,u,"GeneratorFunction")),ee.prototype=Object.create(Y),ee},e.awrap=function(ee){return{__await:ee}};function G(ee,Q){function le(se,_e,De,ke){var Ze=p(ee[se],ee,_e);if(Ze.type==="throw")ke(Ze.arg);else{var Ne=Ze.arg,Bt=Ne.value;return Bt&&typeof Bt=="object"&&i.call(Bt,"__await")?Q.resolve(Bt.__await).then(function(yt){le("next",yt,De,ke)},function(yt){le("throw",yt,De,ke)}):Q.resolve(Bt).then(function(yt){Ne.value=yt,De(Ne)},function(yt){return le("throw",yt,De,ke)})}}var Z;function $(se,_e){function De(){return new Q(function(ke,Ze){le(se,_e,ke,Ze)})}return Z=Z?Z.then(De,De):De()}l(this,"_invoke",{value:$})}V(G.prototype),a(G.prototype,h,function(){return this}),e.AsyncIterator=G,e.async=function(ee,Q,le,Z,$){$===void 0&&($=Promise);var se=new G(x(ee,Q,le,Z),$);return e.isGeneratorFunction(Q)?se:se.next().then(function(_e){return _e.done?_e.value:se.next()})};function ae(ee,Q,le){var Z=y;return function(se,_e){if(Z===b)throw new Error("Generator is already running");if(Z===S){if(se==="throw")throw _e;return oe()}for(le.method=se,le.arg=_e;;){var De=le.delegate;if(De){var ke=ie(De,le);if(ke){if(ke===k)continue;return ke}}if(le.method==="next")le.sent=le._sent=le.arg;else if(le.method==="throw"){if(Z===y)throw Z=S,le.arg;le.dispatchException(le.arg)}else le.method==="return"&&le.abrupt("return",le.arg);Z=b;var Ze=p(ee,Q,le);if(Ze.type==="normal"){if(Z=le.done?S:_,Ze.arg===k)continue;return{value:Ze.arg,done:le.done}}else Ze.type==="throw"&&(Z=S,le.method="throw",le.arg=Ze.arg)}}}function ie(ee,Q){var le=Q.method,Z=ee.iterator[le];if(Z===c)return Q.delegate=null,le==="throw"&&ee.iterator.return&&(Q.method="return",Q.arg=c,ie(ee,Q),Q.method==="throw")||le!=="return"&&(Q.method="throw",Q.arg=new TypeError("The iterator does not provide a '"+le+"' method")),k;var $=p(Z,ee.iterator,Q.arg);if($.type==="throw")return Q.method="throw",Q.arg=$.arg,Q.delegate=null,k;var se=$.arg;if(!se)return Q.method="throw",Q.arg=new TypeError("iterator result is not an object"),Q.delegate=null,k;if(se.done)Q[ee.resultName]=se.value,Q.next=ee.nextLoc,Q.method!=="return"&&(Q.method="next",Q.arg=c);else return se;return Q.delegate=null,k}V(Y),a(Y,u,"Generator"),a(Y,o,function(){return this}),a(Y,"toString",function(){return"[object Generator]"});function ue(ee){var Q={tryLoc:ee[0]};1 in ee&&(Q.catchLoc=ee[1]),2 in ee&&(Q.finallyLoc=ee[2],Q.afterLoc=ee[3]),this.tryEntries.push(Q)}function q(ee){var Q=ee.completion||{};Q.type="normal",delete Q.arg,ee.completion=Q}function J(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach(ue,this),this.reset(!0)}e.keys=function(ee){var Q=Object(ee),le=[];for(var Z in Q)le.push(Z);return le.reverse(),function $(){for(;le.length;){var se=le.pop();if(se in Q)return $.value=se,$.done=!1,$}return $.done=!0,$}};function K(ee){if(ee){var Q=ee[o];if(Q)return Q.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var le=-1,Z=function $(){for(;++le<ee.length;)if(i.call(ee,le))return $.value=ee[le],$.done=!1,$;return $.value=c,$.done=!0,$};return Z.next=Z}}return{next:oe}}e.values=K;function oe(){return{value:c,done:!0}}return J.prototype={constructor:J,reset:function(ee){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),!ee)for(var Q in this)Q.charAt(0)==="t"&&i.call(this,Q)&&!isNaN(+Q.slice(1))&&(this[Q]=c)},stop:function(){this.done=!0;var ee=this.tryEntries[0],Q=ee.completion;if(Q.type==="throw")throw Q.arg;return this.rval},dispatchException:function(ee){if(this.done)throw ee;var Q=this;function le(ke,Ze){return se.type="throw",se.arg=ee,Q.next=ke,Ze&&(Q.method="next",Q.arg=c),!!Ze}for(var Z=this.tryEntries.length-1;Z>=0;--Z){var $=this.tryEntries[Z],se=$.completion;if($.tryLoc==="root")return le("end");if($.tryLoc<=this.prev){var _e=i.call($,"catchLoc"),De=i.call($,"finallyLoc");if(_e&&De){if(this.prev<$.catchLoc)return le($.catchLoc,!0);if(this.prev<$.finallyLoc)return le($.finallyLoc)}else if(_e){if(this.prev<$.catchLoc)return le($.catchLoc,!0)}else if(De){if(this.prev<$.finallyLoc)return le($.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(ee,Q){for(var le=this.tryEntries.length-1;le>=0;--le){var Z=this.tryEntries[le];if(Z.tryLoc<=this.prev&&i.call(Z,"finallyLoc")&&this.prev<Z.finallyLoc){var $=Z;break}}$&&(ee==="break"||ee==="continue")&&$.tryLoc<=Q&&Q<=$.finallyLoc&&($=null);var se=$?$.completion:{};return se.type=ee,se.arg=Q,$?(this.method="next",this.next=$.finallyLoc,k):this.complete(se)},complete:function(ee,Q){if(ee.type==="throw")throw ee.arg;return ee.type==="break"||ee.type==="continue"?this.next=ee.arg:ee.type==="return"?(this.rval=this.arg=ee.arg,this.method="return",this.next="end"):ee.type==="normal"&&Q&&(this.next=Q),k},finish:function(ee){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var le=this.tryEntries[Q];if(le.finallyLoc===ee)return this.complete(le.completion,le.afterLoc),q(le),k}},catch:function(ee){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var le=this.tryEntries[Q];if(le.tryLoc===ee){var Z=le.completion;if(Z.type==="throw"){var $=Z.arg;q(le)}return $}}throw new Error("illegal catch attempt")},delegateYield:function(ee,Q,le){return this.delegate={iterator:K(ee),resultName:Q,nextLoc:le},this.method==="next"&&(this.arg=c),k}},e}(d.exports);try{regeneratorRuntime=v}catch(e){typeof globalThis=="object"?globalThis.regeneratorRuntime=v:Function("r","regeneratorRuntime = r")(v)}},76374:function(d,v,e){"use strict";var r=function(){if(typeof Map!="undefined")return Map;function J(K,oe){var ee=-1;return K.some(function(Q,le){return Q[0]===oe?(ee=le,!0):!1}),ee}return function(){function K(){this.__entries__=[]}return Object.defineProperty(K.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),K.prototype.get=function(oe){var ee=J(this.__entries__,oe),Q=this.__entries__[ee];return Q&&Q[1]},K.prototype.set=function(oe,ee){var Q=J(this.__entries__,oe);~Q?this.__entries__[Q][1]=ee:this.__entries__.push([oe,ee])},K.prototype.delete=function(oe){var ee=this.__entries__,Q=J(ee,oe);~Q&&ee.splice(Q,1)},K.prototype.has=function(oe){return!!~J(this.__entries__,oe)},K.prototype.clear=function(){this.__entries__.splice(0)},K.prototype.forEach=function(oe,ee){ee===void 0&&(ee=null);for(var Q=0,le=this.__entries__;Q<le.length;Q++){var Z=le[Q];oe.call(ee,Z[1],Z[0])}},K}()}(),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,K){var oe=!1,ee=!1,Q=0;function le(){oe&&(oe=!1,J()),ee&&$()}function Z(){c(le)}function $(){var se=Date.now();if(oe){if(se-Q<f)return;ee=!0}else oe=!0,ee=!1,setTimeout(Z,K);Q=se}return $}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(K){~this.observers_.indexOf(K)||this.observers_.push(K),this.connected_||this.connect_()},J.prototype.removeObserver=function(K){var oe=this.observers_,ee=oe.indexOf(K);~ee&&oe.splice(ee,1),!oe.length&&this.connected_&&this.disconnect_()},J.prototype.refresh=function(){var K=this.updateObservers_();K&&this.refresh()},J.prototype.updateObservers_=function(){var K=this.observers_.filter(function(oe){return oe.gatherActive(),oe.hasActive()});return K.forEach(function(oe){return oe.broadcastActive()}),K.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(K){var oe=K.propertyName,ee=oe===void 0?"":oe,Q=u.some(function(le){return!!~ee.indexOf(le)});Q&&this.refresh()},J.getInstance=function(){return this.instance_||(this.instance_=new J),this.instance_},J.instance_=null,J}(),p=function(J,K){for(var oe=0,ee=Object.keys(K);oe<ee.length;oe++){var Q=ee[oe];Object.defineProperty(J,Q,{value:K[Q],enumerable:!1,writable:!1,configurable:!0})}return J},y=function(J){var K=J&&J.ownerDocument&&J.ownerDocument.defaultView;return K||l},_=Y(0,0,0,0);function b(J){return parseFloat(J)||0}function S(J){for(var K=[],oe=1;oe<arguments.length;oe++)K[oe-1]=arguments[oe];return K.reduce(function(ee,Q){var le=J["border-"+Q+"-width"];return ee+b(le)},0)}function k(J){for(var K=["top","right","bottom","left"],oe={},ee=0,Q=K;ee<Q.length;ee++){var le=Q[ee],Z=J["padding-"+le];oe[le]=b(Z)}return oe}function R(J){var K=J.getBBox();return Y(0,0,K.width,K.height)}function A(J){var K=J.clientWidth,oe=J.clientHeight;if(!K&&!oe)return _;var ee=y(J).getComputedStyle(J),Q=k(ee),le=Q.left+Q.right,Z=Q.top+Q.bottom,$=b(ee.width),se=b(ee.height);if(ee.boxSizing==="border-box"&&(Math.round($+le)!==K&&($-=S(ee,"left","right")+le),Math.round(se+Z)!==oe&&(se-=S(ee,"top","bottom")+Z)),!M(J)){var _e=Math.round($+le)-K,De=Math.round(se+Z)-oe;Math.abs(_e)!==1&&($-=_e),Math.abs(De)!==1&&(se-=De)}return Y(Q.left,Q.top,$,se)}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 M(J){return J===y(J).document.documentElement}function B(J){return i?D(J)?R(J):A(J):_}function j(J){var K=J.x,oe=J.y,ee=J.width,Q=J.height,le=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,Z=Object.create(le.prototype);return p(Z,{x:K,y:oe,width:ee,height:Q,top:oe,right:K+ee,bottom:Q+oe,left:K}),Z}function Y(J,K,oe,ee){return{x:J,y:K,width:oe,height:ee}}var V=function(){function J(K){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Y(0,0,0,0),this.target=K}return J.prototype.isActive=function(){var K=B(this.target);return this.contentRect_=K,K.width!==this.broadcastWidth||K.height!==this.broadcastHeight},J.prototype.broadcastRect=function(){var K=this.contentRect_;return this.broadcastWidth=K.width,this.broadcastHeight=K.height,K},J}(),G=function(){function J(K,oe){var ee=j(oe);p(this,{target:K,contentRect:ee})}return J}(),ae=function(){function J(K,oe,ee){if(this.activeObservations_=[],this.observations_=new r,typeof K!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=K,this.controller_=oe,this.callbackCtx_=ee}return J.prototype.observe=function(K){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(K instanceof y(K).Element))throw new TypeError('parameter 1 is not of type "Element".');var oe=this.observations_;oe.has(K)||(oe.set(K,new V(K)),this.controller_.addObserver(this),this.controller_.refresh())}},J.prototype.unobserve=function(K){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(K instanceof y(K).Element))throw new TypeError('parameter 1 is not of type "Element".');var oe=this.observations_;oe.has(K)&&(oe.delete(K),oe.size||this.controller_.removeObserver(this))}},J.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},J.prototype.gatherActive=function(){var K=this;this.clearActive(),this.observations_.forEach(function(oe){oe.isActive()&&K.activeObservations_.push(oe)})},J.prototype.broadcastActive=function(){if(this.hasActive()){var K=this.callbackCtx_,oe=this.activeObservations_.map(function(ee){return new G(ee.target,ee.broadcastRect())});this.callback_.call(K,oe,K),this.clearActive()}},J.prototype.clearActive=function(){this.activeObservations_.splice(0)},J.prototype.hasActive=function(){return this.activeObservations_.length>0},J}(),ie=typeof WeakMap!="undefined"?new WeakMap:new r,ue=function(){function J(K){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 oe=x.getInstance(),ee=new ae(K,oe,this);ie.set(this,ee)}return J}();["observe","unobserve","disconnect"].forEach(function(J){ue.prototype[J]=function(){var K;return(K=ie.get(this))[J].apply(K,arguments)}});var q=function(){return typeof l.ResizeObserver!="undefined"?l.ResizeObserver:ue}();v.Z=q},74284:function(d,v){"use strict";var e,r,i,l;if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;v.unstable_now=function(){return c.now()}}else{var f=Date,o=f.now();v.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 Z=v.unstable_now();h(!0,Z),h=null}catch($){throw setTimeout(a,0),$}};e=function(Z){h!==null?setTimeout(e,0,Z):(h=Z,setTimeout(a,0))},r=function(Z,$){u=setTimeout(Z,$)},i=function(){clearTimeout(u)},v.unstable_shouldYield=function(){return!1},l=v.unstable_forceFrameRate=function(){}}else{var x=window.setTimeout,p=window.clearTimeout;if(typeof console!="undefined"){var y=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof y!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var _=!1,b=null,S=-1,k=5,R=0;v.unstable_shouldYield=function(){return v.unstable_now()>=R},l=function(){},v.unstable_forceFrameRate=function(Z){0>Z||125<Z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<Z?Math.floor(1e3/Z):5};var A=new MessageChannel,D=A.port2;A.port1.onmessage=function(){if(b!==null){var Z=v.unstable_now();R=Z+k;try{b(!0,Z)?D.postMessage(null):(_=!1,b=null)}catch($){throw D.postMessage(null),$}}else _=!1},e=function(Z){b=Z,_||(_=!0,D.postMessage(null))},r=function(Z,$){S=x(function(){Z(v.unstable_now())},$)},i=function(){p(S),S=-1}}function M(Z,$){var se=Z.length;Z.push($);e:for(;;){var _e=se-1>>>1,De=Z[_e];if(De!==void 0&&0<Y(De,$))Z[_e]=$,Z[se]=De,se=_e;else break e}}function B(Z){return Z=Z[0],Z===void 0?null:Z}function j(Z){var $=Z[0];if($!==void 0){var se=Z.pop();if(se!==$){Z[0]=se;e:for(var _e=0,De=Z.length;_e<De;){var ke=2*(_e+1)-1,Ze=Z[ke],Ne=ke+1,Bt=Z[Ne];if(Ze!==void 0&&0>Y(Ze,se))Bt!==void 0&&0>Y(Bt,Ze)?(Z[_e]=Bt,Z[Ne]=se,_e=Ne):(Z[_e]=Ze,Z[ke]=se,_e=ke);else if(Bt!==void 0&&0>Y(Bt,se))Z[_e]=Bt,Z[Ne]=se,_e=Ne;else break e}}return $}return null}function Y(Z,$){var se=Z.sortIndex-$.sortIndex;return se!==0?se:Z.id-$.id}var V=[],G=[],ae=1,ie=null,ue=3,q=!1,J=!1,K=!1;function oe(Z){for(var $=B(G);$!==null;){if($.callback===null)j(G);else if($.startTime<=Z)j(G),$.sortIndex=$.expirationTime,M(V,$);else break;$=B(G)}}function ee(Z){if(K=!1,oe(Z),!J)if(B(V)!==null)J=!0,e(Q);else{var $=B(G);$!==null&&r(ee,$.startTime-Z)}}function Q(Z,$){J=!1,K&&(K=!1,i()),q=!0;var se=ue;try{for(oe($),ie=B(V);ie!==null&&(!(ie.expirationTime>$)||Z&&!v.unstable_shouldYield());){var _e=ie.callback;if(typeof _e=="function"){ie.callback=null,ue=ie.priorityLevel;var De=_e(ie.expirationTime<=$);$=v.unstable_now(),typeof De=="function"?ie.callback=De:ie===B(V)&&j(V),oe($)}else j(V);ie=B(V)}if(ie!==null)var ke=!0;else{var Ze=B(G);Ze!==null&&r(ee,Ze.startTime-$),ke=!1}return ke}finally{ie=null,ue=se,q=!1}}var le=l;v.unstable_IdlePriority=5,v.unstable_ImmediatePriority=1,v.unstable_LowPriority=4,v.unstable_NormalPriority=3,v.unstable_Profiling=null,v.unstable_UserBlockingPriority=2,v.unstable_cancelCallback=function(Z){Z.callback=null},v.unstable_continueExecution=function(){J||q||(J=!0,e(Q))},v.unstable_getCurrentPriorityLevel=function(){return ue},v.unstable_getFirstCallbackNode=function(){return B(V)},v.unstable_next=function(Z){switch(ue){case 1:case 2:case 3:var $=3;break;default:$=ue}var se=ue;ue=$;try{return Z()}finally{ue=se}},v.unstable_pauseExecution=function(){},v.unstable_requestPaint=le,v.unstable_runWithPriority=function(Z,$){switch(Z){case 1:case 2:case 3:case 4:case 5:break;default:Z=3}var se=ue;ue=Z;try{return $()}finally{ue=se}},v.unstable_scheduleCallback=function(Z,$,se){var _e=v.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?_e+se:_e):se=_e,Z){case 1:var De=-1;break;case 2:De=250;break;case 5:De=1073741823;break;case 4:De=1e4;break;default:De=5e3}return De=se+De,Z={id:ae++,callback:$,priorityLevel:Z,startTime:se,expirationTime:De,sortIndex:-1},se>_e?(Z.sortIndex=se,M(G,Z),B(V)===null&&Z===B(G)&&(K?i():K=!0,r(ee,se-_e))):(Z.sortIndex=De,M(V,Z),J||q||(J=!0,e(Q))),Z},v.unstable_wrapCallback=function(Z){var $=ue;return function(){var se=ue;ue=$;try{return Z.apply(this,arguments)}finally{ue=se}}}},43014:function(d,v,e){"use strict";d.exports=e(74284)},18947:function(d){"use strict";function v(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=v},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 v=document.getSelection();if(!v.rangeCount)return function(){};for(var e=document.activeElement,r=[],i=0;i<v.rangeCount;i++)r.push(v.getRangeAt(i));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return v.removeAllRanges(),function(){v.type==="Caret"&&v.removeAllRanges(),v.rangeCount||r.forEach(function(l){v.addRange(l)}),e&&e.focus()}}},797:function(d,v,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,v,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,v,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,v,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 v=void 0;d.exports=function(e){return e!==v&&e!==null}},36736:function(d,v,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=_(),S=c({inst:{value:b,getSnapshot:_}}),k=S[0].inst,R=S[1];return o(function(){k.value=b,k.getSnapshot=_,a(k)&&R({inst:k})},[y,b,_]),f(function(){return a(k)&&R({inst:k}),y(function(){a(k)&&R({inst:k})})},[y]),h(b),b}function a(y){var _=y.getSnapshot;y=y.value;try{var b=_();return!l(y,b)}catch(S){return!0}}function x(y,_){return _()}var p=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?x:u;v.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:p},1719:function(d,v,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;v.useSyncExternalStoreWithSelector=function(x,p,y,_,b){var S=o(null);if(S.current===null){var k={hasValue:!1,value:null};S.current=k}else k=S.current;S=u(function(){function A(Y){if(!D){if(D=!0,M=Y,Y=_(Y),b!==void 0&&k.hasValue){var V=k.value;if(b(V,Y))return B=V}return B=Y}if(V=B,c(M,Y))return V;var G=_(Y);return b!==void 0&&b(V,G)?(M=Y,V):(M=Y,B=G)}var D=!1,M,B,j=y===void 0?null:y;return[function(){return A(p())},j===null?void 0:function(){return A(j())}]},[p,y,_,b]);var R=f(x,S[0],S[1]);return h(function(){k.hasValue=!0,k.value=R},[R]),a(R),R}},37573:function(d,v,e){"use strict";d.exports=e(36736)},45097:function(d,v,e){"use strict";d.exports=e(1719)},1012:function(d,v,e){"use strict";e.d(v,{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,S=(h[_[b+0]]+h[_[b+1]]+h[_[b+2]]+h[_[b+3]]+"-"+h[_[b+4]]+h[_[b+5]]+"-"+h[_[b+6]]+h[_[b+7]]+"-"+h[_[b+8]]+h[_[b+9]]+"-"+h[_[b+10]]+h[_[b+11]]+h[_[b+12]]+h[_[b+13]]+h[_[b+14]]+h[_[b+15]]).toLowerCase();if(!o(S))throw TypeError("Stringified UUID is invalid");return S}var x=a;function p(_,b,S){_=_||{};var k=_.random||(_.rng||l)();if(k[6]=k[6]&15|64,k[8]=k[8]&63|128,b){S=S||0;for(var R=0;R<16;++R)b[S+R]=k[R];return b}return x(k)}var y=p},56754:function(d){"use strict";var v=function(){};d.exports=v},85239:function(d){"use strict";var v=!1,e=function(){};if(v){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(){},31669:function(d){function v(e,r){this.v=e,this.k=r}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},57523:function(d,v,e){var r=e(99824);function i(){var l,c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.toStringTag||"@@toStringTag";function u(k,R,A,D){var M=R&&R.prototype instanceof x?R:x,B=Object.create(M.prototype);return r(B,"_invoke",function(j,Y,V){var G,ae,ie,ue=0,q=V||[],J=!1,K={p:0,n:0,v:l,a:oe,f:oe.bind(l,4),d:function(Q,le){return G=Q,ae=0,ie=l,K.n=le,a}};function oe(ee,Q){for(ae=ee,ie=Q,c=0;!J&&ue&&!le&&c<q.length;c++){var le,Z=q[c],$=K.p,se=Z[2];ee>3?(le=se===Q)&&(ie=Z[(ae=Z[4])?5:(ae=3,3)],Z[4]=Z[5]=l):Z[0]<=$&&((le=ee<2&&$<Z[1])?(ae=0,K.v=Q,K.n=Z[1]):$<se&&(le=ee<3||Z[0]>Q||Q>se)&&(Z[4]=ee,Z[5]=Q,K.n=se,ae=0))}if(le||ee>1)return a;throw J=!0,Q}return function(ee,Q,le){if(ue>1)throw TypeError("Generator is already running");for(J&&Q===1&&oe(Q,le),ae=Q,ie=le;(c=ae<2?l:ie)||!J;){G||(ae?ae<3?(ae>1&&(K.n=-1),oe(ae,ie)):K.n=ie:K.v=ie);try{if(ue=2,G){if(ae||(ee="next"),c=G[ee]){if(!(c=c.call(G,ie)))throw TypeError("iterator result is not an object");if(!c.done)return c;ie=c.value,ae<2&&(ae=0)}else ae===1&&(c=G.return)&&c.call(G),ae<2&&(ie=TypeError("The iterator does not provide a '"+ee+"' method"),ae=1);G=l}else if((c=(J=K.n<0)?ie:j.call(Y,K))!==a)break}catch(Z){G=l,ae=1,ie=Z}finally{ue=1}}return{value:c,done:J}}}(k,A,D),!0),B}var a={};function x(){}function p(){}function y(){}c=Object.getPrototypeOf;var _=[][o]?c(c([][o]())):(r(c={},o,function(){return this}),c),b=y.prototype=x.prototype=Object.create(_);function S(k){return Object.setPrototypeOf?Object.setPrototypeOf(k,y):(k.__proto__=y,r(k,h,"GeneratorFunction")),k.prototype=Object.create(b),k}return p.prototype=y,r(b,"constructor",y),r(y,"constructor",p),p.displayName="GeneratorFunction",r(y,h,"GeneratorFunction"),r(b),r(b,h,"Generator"),r(b,o,function(){return this}),r(b,"toString",function(){return"[object Generator]"}),(d.exports=i=function(){return{w:u,m:S}},d.exports.__esModule=!0,d.exports.default=d.exports)()}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},57811:function(d,v,e){var r=e(33466);function i(l,c,f,o,h){var u=r(l,c,f,o,h);return u.next().then(function(a){return a.done?a.value:u.next()})}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},33466:function(d,v,e){var r=e(57523),i=e(50559);function l(c,f,o,h,u){return new i(r().w(c,f,o,h),u||Promise)}d.exports=l,d.exports.__esModule=!0,d.exports.default=d.exports},50559:function(d,v,e){var r=e(31669),i=e(99824);function l(c,f){function o(u,a,x,p){try{var y=c[u](a),_=y.value;return _ instanceof r?f.resolve(_.v).then(function(b){o("next",b,x,p)},function(b){o("throw",b,x,p)}):f.resolve(_).then(function(b){y.value=b,x(y)},function(b){return o("throw",b,x,p)})}catch(b){p(b)}}var h;this.next||(i(l.prototype),i(l.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(u,a,x){function p(){return new f(function(y,_){o(u,x,y,_)})}return h=h?h.then(p,p):p()},!0)}d.exports=l,d.exports.__esModule=!0,d.exports.default=d.exports},99824:function(d){function v(e,r,i,l){var c=Object.defineProperty;try{c({},"",{})}catch(f){c=0}d.exports=v=function(o,h,u,a){if(h)c?c(o,h,{value:u,enumerable:!a,configurable:!a,writable:!a}):o[h]=u;else{var x=function(y,_){v(o,y,function(b){return this._invoke(y,_,b)})};x("next",0),x("throw",1),x("return",2)}},d.exports.__esModule=!0,d.exports.default=d.exports,v(e,r,i,l)}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},25545:function(d){function v(e){var r=Object(e),i=[];for(var l in r)i.unshift(l);return function c(){for(;i.length;)if((l=i.pop())in r)return c.value=l,c.done=!1,c;return c.done=!0,c}}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},43013:function(d,v,e){var r=e(31669),i=e(57523),l=e(57811),c=e(33466),f=e(50559),o=e(25545),h=e(23287);function u(){"use strict";var a=i(),x=a.m(u),p=(Object.getPrototypeOf?Object.getPrototypeOf(x):x.__proto__).constructor;function y(S){var k=typeof S=="function"&&S.constructor;return!!k&&(k===p||(k.displayName||k.name)==="GeneratorFunction")}var _={throw:1,return:2,break:3,continue:3};function b(S){var k,R;return function(A){k||(k={stop:function(){return R(A.a,2)},catch:function(){return A.v},abrupt:function(M,B){return R(A.a,_[M],B)},delegateYield:function(M,B,j){return k.resultName=B,R(A.d,h(M),j)},finish:function(M){return R(A.f,M)}},R=function(M,B,j){A.p=k.prev,A.n=k.next;try{return M(B,j)}finally{k.next=A.n}}),k.resultName&&(k[k.resultName]=A.v,k.resultName=void 0),k.sent=A.v,k.next=A.n;try{return S.call(this,k)}finally{A.p=k.prev,A.n=k.next}}}return(d.exports=u=function(){return{wrap:function(R,A,D,M){return a.w(b(R),A,D,M&&M.reverse())},isGeneratorFunction:y,mark:a.m,awrap:function(R,A){return new r(R,A)},AsyncIterator:f,async:function(R,A,D,M,B){return(y(A)?c:l)(b(R),A,D,M,B)},keys:o,values:h}},d.exports.__esModule=!0,d.exports.default=d.exports)()}d.exports=u,d.exports.__esModule=!0,d.exports.default=d.exports},23287:function(d,v,e){var r=e(12594).default;function i(l){if(l!=null){var c=l[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],f=0;if(c)return c.call(l);if(typeof l.next=="function")return l;if(!isNaN(l.length))return{next:function(){return l&&f>=l.length&&(l=void 0),{value:l&&l[f++],done:!l}}}}throw new TypeError(r(l)+" is not iterable")}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},12594:function(d){function v(e){"@babel/helpers - typeof";return d.exports=v=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,v(e)}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},55267:function(d,v,e){var r=e(43013)();d.exports=r;try{regeneratorRuntime=r}catch(i){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},92310:function(d,v){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(v,e),r!==void 0&&(d.exports=r))})()},63335:function(d,v,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,v,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,v,e){"use strict";var r=e(2786).has;d.exports=function(i){return r(i),i}},557:function(d,v,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,v,e){"use strict";var r=e(19691).has;d.exports=function(i){return r(i),i}},79606:function(d){"use strict";var v=TypeError;d.exports=function(e){if(typeof e=="string")return e;throw new v("Argument is not a string")}},63619:function(d,v,e){"use strict";var r=e(42530).has;d.exports=function(i){return r(i),i}},18888:function(d,v,e){"use strict";var r=e(91385).has;d.exports=function(i){return r(i),i}},5978:function(d,v,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,S){if(S==="async-dispose"){var k=h(b,a);return k!==void 0?k:(k=h(b,x),function(){r(k,this)})}return h(b,x)},_=function(b,S,k){return arguments.length<3&&!o(b)&&(k=f(y(c(b),S))),k===void 0?function(){}:l(k,b)};d.exports=function(b,S,k,R){var A;if(arguments.length<4){if(o(S)&&k==="sync-dispose")return;A=_(S,k)}else A=_(void 0,k,R);p(b.stack,A)}},81181:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,S=p.prototype,k=i(b.slice),R=l(b,"resizable","get"),A=l(b,"maxByteLength","get"),D=i(S.getInt8),M=i(S.setInt8);d.exports=(u||h)&&function(B,j,Y){var V=o(B),G=j===void 0?V:c(j),ae=!R||!R(B),ie;if(f(B))throw new y("ArrayBuffer is detached");if(u&&(B=a(B,{transfer:[B]}),V===G&&(Y||ae)))return B;if(V>=G&&(!Y||ae))ie=k(B,0,G);else{var ue=Y&&!ae&&A?{maxByteLength:A(B)}:void 0;ie=new x(G,ue);for(var q=new p(B),J=new p(ie),K=_(G,V),oe=0;oe<K;oe++)M(J,oe,D(q,oe))}return u||h(B),ie}},58261:function(d,v,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),S=e(59893),k=e(6145),R=e(94844),A=R.enforce,D=R.get,M=l.Int8Array,B=M&&M.prototype,j=l.Uint8ClampedArray,Y=j&&j.prototype,V=M&&_(M),G=B&&_(B),ae=Object.prototype,ie=l.TypeError,ue=S("toStringTag"),q=k("TYPED_ARRAY_TAG"),J="TypedArrayConstructor",K=r&&!!b&&h(l.opera)!=="Opera",oe=!1,ee,Q,le,Z={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$={BigInt64Array:8,BigUint64Array:8},se=function(Dt){if(!f(Dt))return!1;var Jt=h(Dt);return Jt==="DataView"||o(Z,Jt)||o($,Jt)},_e=function(yt){var Dt=_(yt);if(f(Dt)){var Jt=D(Dt);return Jt&&o(Jt,J)?Jt[J]:_e(Dt)}},De=function(yt){if(!f(yt))return!1;var Dt=h(yt);return o(Z,Dt)||o($,Dt)},ke=function(yt){if(De(yt))return yt;throw new ie("Target is not a typed array")},Ze=function(yt){if(c(yt)&&(!b||y(V,yt)))return yt;throw new ie(u(yt)+" is not a typed array constructor")},Ne=function(yt,Dt,Jt,er){if(i){if(Jt)for(var tr in Z){var Xe=l[tr];if(Xe&&o(Xe.prototype,yt))try{delete Xe.prototype[yt]}catch(Pt){try{Xe.prototype[yt]=Dt}catch(Zt){}}}(!G[yt]||Jt)&&x(G,yt,Jt?Dt:K&&B[yt]||Dt,er)}},Bt=function(yt,Dt,Jt){var er,tr;if(i){if(b){if(Jt){for(er in Z)if(tr=l[er],tr&&o(tr,yt))try{delete tr[yt]}catch(Xe){}}if(!V[yt]||Jt)try{return x(V,yt,Jt?Dt:K&&V[yt]||Dt)}catch(Xe){}else return}for(er in Z)tr=l[er],tr&&(!tr[yt]||Jt)&&x(tr,yt,Dt)}};for(ee in Z)Q=l[ee],le=Q&&Q.prototype,le?A(le)[J]=Q:K=!1;for(ee in $)Q=l[ee],le=Q&&Q.prototype,le&&(A(le)[J]=Q);if((!K||!c(V)||V===Function.prototype)&&(V=function(){throw new ie("Incorrect invocation")},K))for(ee in Z)l[ee]&&b(l[ee],V);if((!K||!G||G===ae)&&(G=V.prototype,K))for(ee in Z)l[ee]&&b(l[ee].prototype,G);if(K&&_(Y)!==G&&b(Y,G),i&&!o(G,ue)){oe=!0,p(G,ue,{configurable:!0,get:function(){return f(this)?this[q]:void 0}});for(ee in Z)l[ee]&&a(l[ee],q,ee)}d.exports={NATIVE_ARRAY_BUFFER_VIEWS:K,TYPED_ARRAY_TAG:oe&&q,aTypedArray:ke,aTypedArrayConstructor:Ze,exportTypedArrayMethod:Ne,exportTypedArrayStaticMethod:Bt,getTypedArrayConstructor:_e,isView:se,isTypedArray:De,TypedArray:V,TypedArrayPrototype:G}},91669:function(d,v,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),S=e(61618),k=e(53456),R=e(58218),A=e(80689).f,D=e(75202),M=e(71698),B=e(94573),j=e(94844),Y=f.PROPER,V=f.CONFIGURABLE,G="ArrayBuffer",ae="DataView",ie="prototype",ue="Wrong length",q="Wrong index",J=j.getterFor(G),K=j.getterFor(ae),oe=j.set,ee=r[G],Q=ee,le=Q&&Q[ie],Z=r[ae],$=Z&&Z[ie],se=Object.prototype,_e=r.Array,De=r.RangeError,ke=i(D),Ze=i([].reverse),Ne=S.pack,Bt=S.unpack,yt=function(Me){return[Me&255]},Dt=function(Me){return[Me&255,Me>>8&255]},Jt=function(Me){return[Me&255,Me>>8&255,Me>>16&255,Me>>24&255]},er=function(Me){return Me[3]<<24|Me[2]<<16|Me[1]<<8|Me[0]},tr=function(Me){return Ne(b(Me),23,4)},Xe=function(Me){return Ne(Me,52,8)},Pt=function(Me,$e,He){h(Me[ie],$e,{configurable:!0,get:function(){return He(this)[$e]}})},Zt=function(Me,$e,He,nt){var ct=K(Me),Vt=_(He),Ht=!!nt;if(Vt+$e>ct.byteLength)throw new De(q);var Pe=ct.bytes,qe=Vt+ct.byteOffset,Yt=M(Pe,qe,qe+$e);return Ht?Yt:Ze(Yt)},ot=function(Me,$e,He,nt,ct,Vt){var Ht=K(Me),Pe=_(He),qe=nt(+ct),Yt=!!Vt;if(Pe+$e>Ht.byteLength)throw new De(q);for(var Rt=Ht.bytes,Wt=Pe+Ht.byteOffset,$t=0;$t<$e;$t++)Rt[Wt+$t]=qe[Yt?$t:$e-$t-1]};if(!c)Q=function($e){x(this,le);var He=_($e);oe(this,{type:G,bytes:ke(_e(He),0),byteLength:He}),l||(this.byteLength=He,this.detached=!1)},le=Q[ie],Z=function($e,He,nt){x(this,$),x($e,le);var ct=J($e),Vt=ct.byteLength,Ht=p(He);if(Ht<0||Ht>Vt)throw new De("Wrong offset");if(nt=nt===void 0?Vt-Ht:y(nt),Ht+nt>Vt)throw new De(ue);oe(this,{type:ae,buffer:$e,byteLength:nt,byteOffset:Ht,bytes:ct.bytes}),l||(this.buffer=$e,this.byteLength=nt,this.byteOffset=Ht)},$=Z[ie],l&&(Pt(Q,"byteLength",J),Pt(Z,"buffer",K),Pt(Z,"byteLength",K),Pt(Z,"byteOffset",K)),u($,{getInt8:function($e){return Zt(this,1,$e)[0]<<24>>24},getUint8:function($e){return Zt(this,1,$e)[0]},getInt16:function($e){var He=Zt(this,2,$e,arguments.length>1?arguments[1]:!1);return(He[1]<<8|He[0])<<16>>16},getUint16:function($e){var He=Zt(this,2,$e,arguments.length>1?arguments[1]:!1);return He[1]<<8|He[0]},getInt32:function($e){return er(Zt(this,4,$e,arguments.length>1?arguments[1]:!1))},getUint32:function($e){return er(Zt(this,4,$e,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function($e){return Bt(Zt(this,4,$e,arguments.length>1?arguments[1]:!1),23)},getFloat64:function($e){return Bt(Zt(this,8,$e,arguments.length>1?arguments[1]:!1),52)},setInt8:function($e,He){ot(this,1,$e,yt,He)},setUint8:function($e,He){ot(this,1,$e,yt,He)},setInt16:function($e,He){ot(this,2,$e,Dt,He,arguments.length>2?arguments[2]:!1)},setUint16:function($e,He){ot(this,2,$e,Dt,He,arguments.length>2?arguments[2]:!1)},setInt32:function($e,He){ot(this,4,$e,Jt,He,arguments.length>2?arguments[2]:!1)},setUint32:function($e,He){ot(this,4,$e,Jt,He,arguments.length>2?arguments[2]:!1)},setFloat32:function($e,He){ot(this,4,$e,tr,He,arguments.length>2?arguments[2]:!1)},setFloat64:function($e,He){ot(this,8,$e,Xe,He,arguments.length>2?arguments[2]:!1)}});else{var xt=Y&&ee.name!==G;if(!a(function(){ee(1)})||!a(function(){new ee(-1)})||a(function(){return new ee,new ee(1.5),new ee(NaN),ee.length!==1||xt&&!V})){Q=function($e){return x(this,le),new ee(_($e))},Q[ie]=le;for(var ht=A(ee),et=0,je;ht.length>et;)(je=ht[et++])in Q||o(Q,je,ee[je]);le.constructor=Q}else xt&&V&&o(ee,"name",G);R&&k($)!==se&&R($,se);var ge=new Z(new Q(2)),Se=i($.setInt8);ge.setInt8(0,2147483648),ge.setInt8(1,2147483649),(ge.getInt8(0)||!ge.getInt8(1))&&u($,{setInt8:function($e,He){Se(this,$e,He<<24>>24)},setUint8:function($e,He){Se(this,$e,He<<24>>24)}},{unsafe:!0})}B(Q,G),B(Z,ae),d.exports={ArrayBuffer:Q,DataView:Z}},92670:function(d,v,e){"use strict";var r=e(94029),i=e(51981),l=e(82762),c=e(84233),f=Math.min;d.exports=[].copyWithin||function(h,u){var a=r(this),x=l(a),p=i(h,x),y=i(u,x),_=arguments.length>2?arguments[2]:void 0,b=f((_===void 0?x:i(_,x))-y,x-p),S=1;for(y<p&&p<y+b&&(S=-1,y+=b-1,p+=b-1);b-- >0;)y in a?a[p]=a[y]:c(a,p),p+=S,y+=S;return a}},75202:function(d,v,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,v,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,v,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,S=y("asyncIterator"),k=i(p("Array","values")),R=i(k([]).next),A=function(){return new D(this)},D=function(M){this.iterator=k(M)};D.prototype.next=function(){return R(this.iterator)},d.exports=function(B){var j=this,Y=arguments.length,V=Y>1?arguments[1]:void 0,G=Y>2?arguments[2]:void 0;return new(x("Promise"))(function(ae){var ie=l(B);V!==void 0&&(V=r(V,G));var ue=a(ie,S),q=ue?void 0:u(ie)||A,J=c(j)?new j:[],K=ue?f(ie,ue):new _(h(o(ie,q)));ae(b(K,V,J))})}},69478:function(d,v,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,v,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(_),S=o(this),k=arguments.length,R=k>1?arguments[1]:void 0,A=R!==void 0;A&&(R=r(R,k>2?arguments[2]:void 0));var D=x(b),M=0,B,j,Y,V,G,ae;if(D&&!(this===p&&f(D)))for(V=a(b,D),G=V.next,j=S?new this:[];!(Y=i(G,V)).done;M++)ae=A?c(V,R,[Y.value,M],!0):Y.value,u(j,M,ae);else for(B=h(b),j=S?new this(B):p(B);B>M;M++)ae=A?R(b[M],M):b[M],u(j,M,ae);return j.length=M,j}},33940:function(d,v,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),S=l(b),k=r(_,arguments.length>1?arguments[1]:void 0),R=new h,A=f(S),D=0,M,B;A>D;D++)B=S[D],M=k(B,D,b),a(R,M)?p(u(R,M),B):x(R,M,[B]);return R}},36444:function(d,v,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 S=c(p),k=l(S),R=r(y,_),A=h(null),D=o(k),M=0,B,j,Y;D>M;M++)Y=k[M],j=f(R(Y,M,S)),j in A?x(A[j],Y):A[j]=[Y];if(b&&(B=b(S),B!==a))for(j in A)A[j]=u(B,A[j]);return A}},22999:function(d,v,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,v,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),S,k;_-- >0;)if(S=y[_],k=b(S,_,p),k)switch(o){case 0:return S;case 1:return _}return h?-1:void 0}};d.exports={findLast:f(0),findLastIndex:f(1)}},90560:function(d,v,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,S=a===7,k=a===5||b;return function(R,A,D,M){for(var B=c(R),j=l(B),Y=f(j),V=r(A,D),G=0,ae=M||o,ie=x?ae(R,Y):p||S?ae(R,0):void 0,ue,q;Y>G;G++)if((k||G in j)&&(ue=j[G],q=V(ue,G,B),a))if(x)ie[G]=q;else if(q)switch(a){case 3:return!0;case 5:return ue;case 6:return G;case 2:h(ie,ue)}else switch(a){case 4:return!1;case 7:h(ie,ue)}return b?-1:y||_?_:ie}};d.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},55009:function(d,v,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(_),S=b-1;for(arguments.length>1&&(S=o(S,l(arguments[1]))),S<0&&(S=b+S);S>=0;S--)if(S in _&&_[S]===y)return S||0;return-1}:h},17480:function(d,v,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,v,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,v,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 S=h?b-1:0,k=h?-1:1;if(x<2)for(;;){if(S in _){p=_[S],S+=k;break}if(S+=k,h?S<0:b<=S)throw new f("Reduce of empty array with no initial value")}for(;h?S>=0:b>S;S+=k)S in _&&(p=a(p,_[S],S,y));return p}};d.exports={left:o(!1),right:o(!0)}},39428:function(d,v,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,v,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,v,e){"use strict";var r=e(94237);d.exports=r([].slice)},63668:function(d,v,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,v,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,v,e){"use strict";var r=e(34487);d.exports=function(i,l){return new(r(i))(l===0?0:l)}},85903:function(d,v,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,v,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),S=c(b),k=[],R=new u,A=l(_)?function(j){return j}:i(_),D,M,B;for(D=0;D<S;D++)M=b[D],B=A(M),a(R,B)||x(R,B,M);return h(R,function(j){p(k,j)}),k}},82041:function(d,v,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,v,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(k,R,A){var D=k.done;x.resolve(k.value).then(function(M){R(a(M,D))},A)},S=function(R){R.type=p,y(this,R)};S.prototype=f(l(u),{next:function(){var R=_(this);return new x(function(A,D){var M=i(r(R.next,R.iterator));b(M,A,D)})},return:function(){var k=_(this).iterator;return new x(function(R,A){var D=c(k,"return");if(D===void 0)return R(a(void 0,!0));var M=i(r(D,k));b(M,R,A)})}}),d.exports=S},28255:function(d,v,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,v,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"),S=h("toStringTag"),k="AsyncIteratorHelper",R="WrapForValidAsyncIterator",A=u.set,D=function(j){var Y=!j,V=u.getterFor(j?R:k),G=function(ae){var ie=i(function(){return V(ae)}),ue=ie.error,q=ie.value;return ue||Y&&q.done?{exit:!0,value:ue?b.reject(q):b.resolve(y(void 0,!0))}:{exit:!1,value:q}};return o(c(p),{next:function(){var ie=G(this),ue=ie.value;if(ie.exit)return ue;var q=i(function(){return l(ue.nextHandler(b))}),J=q.error,K=q.value;return J&&(ue.done=!0),J?b.reject(K):b.resolve(K)},return:function(){var ae=G(this),ie=ae.value;if(ae.exit)return ie;ie.done=!0;var ue=ie.iterator,q,J,K=i(function(){if(ie.inner)try{_(ie.inner.iterator,"normal")}catch(oe){return _(ue,"throw",oe)}return x(ue,"return")});return q=J=K.value,K.error?b.reject(J):q===void 0?b.resolve(y(void 0,!0)):(K=i(function(){return r(q,ue)}),J=K.value,K.error?b.reject(J):j?b.resolve(J):b.resolve(J).then(function(oe){return l(oe),y(void 0,!0)}))}})},M=D(!0),B=D(!1);f(B,S,"Async Iterator Helper"),d.exports=function(j,Y){var V=function(ae,ie){ie?(ie.iterator=ae.iterator,ie.next=ae.next):ie=ae,ie.type=Y?R:k,ie.nextHandler=j,ie.counter=0,ie.done=!1,A(this,ie)};return V.prototype=Y?M:B,V}},34535:function(d,v,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,v,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(S,k,R){l(S);var A=k!==void 0;(A||!p)&&i(k);var D=h(S),M=o("Promise"),B=D.iterator,j=D.next,Y=0;return new M(function(V,G){var ae=function(ue){u(B,G,ue,G)},ie=function(){try{if(A)try{f(Y)}catch(ue){ae(ue)}M.resolve(l(r(j,B))).then(function(ue){try{if(l(ue).done)p?(R.length=Y,V(R)):V(b?!1:_||void 0);else{var q=ue.value;try{if(A){var J=k(q,Y),K=function(oe){if(y)ie();else if(_)oe?ie():u(B,V,!1,G);else if(p)try{R[Y++]=oe,ie()}catch(ee){ae(ee)}else oe?u(B,V,b||q,G):ie()};c(J)?M.resolve(J).then(K,ae):K(J)}else R[Y++]=q,ie()}catch(oe){ae(oe)}}}catch(oe){G(oe)}},G)}catch(ue){G(ue)}};ie()})}};d.exports={toArray:a(0),forEach:a(1),every:a(2),some:a(3),find:a(4)}},41586:function(d,v,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,S){var k=function(A){p.done=!0,S(A)},R=function(A){u(y,k,A,k)};x.resolve(l(r(p.next,y))).then(function(A){try{if(l(A).done)p.done=!0,b(h(void 0,!0));else{var D=A.value;try{var M=_(D,p.counter++),B=function(j){b(h(j,!1))};c(M)?x.resolve(M).then(B,R):B(M)}catch(j){R(j)}}}catch(j){k(j)}},k)})});d.exports=function(p){return l(this),i(p),new a(f(this),{mapper:p})}},14052:function(d,v,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(S){}_?u&&(_=c(_)):_={},l(_[x])||o(_,x,function(){return this}),d.exports=_},80025:function(d,v,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 v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",e=v+"+/",r=v+"-_",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,v,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,v,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,v,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,v,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,v,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,S;return c(this),y=p!==void 0,y&&l(p),f(a)?new this:(_=[],y?(b=0,S=r(p,x>2?arguments[2]:void 0),o(a,function(k){i(h,_,S(k,b++))})):o(a,h,{that:_}),new this(_))}},48800:function(d,v,e){"use strict";var r=e(30867);d.exports=function(){return new this(r(arguments))}},40942:function(d,v,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,S=_.getterFor;d.exports={getConstructor:function(k,R,A,D){var M=k(function(G,ae){f(G,B),b(G,{type:R,index:r(null),first:void 0,last:void 0,size:0}),p||(G.size=0),o(ae)||h(ae,G[D],{that:G,AS_ENTRIES:A})}),B=M.prototype,j=S(R),Y=function(G,ae,ie){var ue=j(G),q=V(G,ae),J,K;return q?q.value=ie:(ue.last=q={index:K=y(ae,!0),key:ae,value:ie,previous:J=ue.last,next:void 0,removed:!1},ue.first||(ue.first=q),J&&(J.next=q),p?ue.size++:G.size++,K!=="F"&&(ue.index[K]=q)),G},V=function(G,ae){var ie=j(G),ue=y(ae),q;if(ue!=="F")return ie.index[ue];for(q=ie.first;q;q=q.next)if(q.key===ae)return q};return l(B,{clear:function(){for(var ae=this,ie=j(ae),ue=ie.index,q=ie.first;q;)q.removed=!0,q.previous&&(q.previous=q.previous.next=void 0),delete ue[q.index],q=q.next;ie.first=ie.last=void 0,p?ie.size=0:ae.size=0},delete:function(G){var ae=this,ie=j(ae),ue=V(ae,G);if(ue){var q=ue.next,J=ue.previous;delete ie.index[ue.index],ue.removed=!0,J&&(J.next=q),q&&(q.previous=J),ie.first===ue&&(ie.first=q),ie.last===ue&&(ie.last=J),p?ie.size--:ae.size--}return!!ue},forEach:function(ae){for(var ie=j(this),ue=c(ae,arguments.length>1?arguments[1]:void 0),q;q=q?q.next:ie.first;)for(ue(q.value,q.key,this);q&&q.removed;)q=q.previous},has:function(ae){return!!V(this,ae)}}),l(B,A?{get:function(ae){var ie=V(this,ae);return ie&&ie.value},set:function(ae,ie){return Y(this,ae===0?0:ae,ie)}}:{add:function(ae){return Y(this,ae=ae===0?0:ae,ae)}}),p&&i(B,"size",{configurable:!0,get:function(){return j(this).size}}),M},setStrong:function(k,R,A){var D=R+" Iterator",M=S(R),B=S(D);u(k,R,function(j,Y){b(this,{type:D,target:j,state:M(j),kind:Y,last:void 0})},function(){for(var j=B(this),Y=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(Y==="keys"?V.key:Y==="values"?V.value:[V.key,V.value],!1)},A?"entries":"values",!A,!0),x(R)}}},39656:function(d,v,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,S=a.findIndex,k=r([].splice),R=0,A=function(B){return B.frozen||(B.frozen=new D)},D=function(){this.entries=[]},M=function(B,j){return b(B.entries,function(Y){return Y[0]===j})};D.prototype={get:function(B){var j=M(this,B);if(j)return j[1]},has:function(B){return!!M(this,B)},set:function(B,j){var Y=M(this,B);Y?Y[1]=j:this.entries.push([B,j])},delete:function(B){var j=S(this.entries,function(Y){return Y[0]===B});return~j&&k(this.entries,j,1),!!~j}},d.exports={getConstructor:function(B,j,Y,V){var G=B(function(q,J){c(q,ae),y(q,{type:j,id:R++,frozen:void 0}),o(J)||u(J,q[V],{that:q,AS_ENTRIES:Y})}),ae=G.prototype,ie=_(j),ue=function(q,J,K){var oe=ie(q),ee=l(f(J),!0);return ee===!0?A(oe).set(J,K):ee[oe.id]=K,q};return i(ae,{delete:function(q){var J=ie(this);if(!h(q))return!1;var K=l(q);return K===!0?A(J).delete(q):K&&x(K,J.id)&&delete K[J.id]},has:function(J){var K=ie(this);if(!h(J))return!1;var oe=l(J);return oe===!0?A(K).has(J):oe&&x(oe,K.id)}}),i(ae,Y?{get:function(J){var K=ie(this);if(h(J)){var oe=l(J);return oe===!0?A(K).get(J):oe?oe[K.id]:void 0}},set:function(J,K){return ue(this,J,K)}}:{add:function(J){return ue(this,J,!0)}}),G}}},48059:function(d,v,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),S=e(25576);d.exports=function(k,R,A){var D=k.indexOf("Map")!==-1,M=k.indexOf("Weak")!==-1,B=D?"set":"add",j=i[k],Y=j&&j.prototype,V=j,G={},ae=function(ee){var Q=l(Y[ee]);f(Y,ee,ee==="add"?function(Z){return Q(this,Z===0?0:Z),this}:ee==="delete"?function(le){return M&&!p(le)?!1:Q(this,le===0?0:le)}:ee==="get"?function(Z){return M&&!p(Z)?void 0:Q(this,Z===0?0:Z)}:ee==="has"?function(Z){return M&&!p(Z)?!1:Q(this,Z===0?0:Z)}:function(Z,$){return Q(this,Z===0?0:Z,$),this})},ie=c(k,!a(j)||!(M||Y.forEach&&!y(function(){new j().entries().next()})));if(ie)V=A.getConstructor(R,k,D,B),o.enable();else if(c(k,!0)){var ue=new V,q=ue[B](M?{}:-0,1)!==ue,J=y(function(){ue.has(1)}),K=_(function(ee){new j(ee)}),oe=!M&&y(function(){for(var ee=new j,Q=5;Q--;)ee[B](Q,Q);return!ee.has(-0)});K||(V=R(function(ee,Q){u(ee,Y);var le=S(new j,ee,V);return x(Q)||h(Q,le[B],{that:le,AS_ENTRIES:D}),le}),V.prototype=Y,Y.constructor=V),(J||oe)&&(ae("delete"),ae("has"),D&&ae("get")),(oe||q)&&ae(B),M&&Y.clear&&delete Y.clear}return G[k]=V,r({global:!0,constructor:!0,forced:V!==j},G),b(V,k),M||A.setStrong(V,k,D),V}},32754:function(d,v,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,v,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,v,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,v,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,v,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(v,e){return{value:v,done:e}}},68151:function(d,v,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(v,e){return{enumerable:!(v&1),configurable:!(v&2),writable:!(v&4),value:e}}},69392:function(d,v,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,v,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),S=r(h.getUTCMonth),k=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 A=this,D=p(A),M=_(A),B=D<0?"-":D>9999?"+":"";return B+l(o(D),B?6:4,0)+"-"+l(S(A)+1,2,0)+"-"+l(x(A),2,0)+"T"+l(y(A),2,0)+":"+l(b(A),2,0)+":"+l(k(A),2,0)+"."+l(M,3,0)+"Z"}:u},77119:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(3338);d.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},39311:function(d,v,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 v=typeof document=="object"&&document.all,e=typeof v=="undefined"&&v!==void 0;d.exports={all:v,IS_HTMLDDA:e}},86060:function(d,v,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 v=TypeError,e=9007199254740991;d.exports=function(r){if(r>e)throw v("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,v,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,v,e){"use strict";var r=e(66011),i=r.match(/firefox\/(\d+)/i);d.exports=!!i&&+i[1]},66994:function(d,v,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,v,e){"use strict";var r=e(66011);d.exports=/MSIE|Trident/.test(r)},1908:function(d,v,e){"use strict";var r=e(66011);d.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},70695:function(d,v,e){"use strict";var r=e(66011);d.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},90946:function(d,v,e){"use strict";var r=e(92916),i=e(29076);d.exports=i(r.process)==="process"},44914:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,S,k,R,A;if(p?b=r:y?b=r[x]||f(x,{}):b=(r[x]||{}).prototype,b)for(S in a){if(R=a[S],u.dontCallGetSet?(A=i(b,S),k=A&&A.value):k=b[S],_=h(p?S:x+(y?".":"#")+S,u.forced),!_&&k!==void 0){if(typeof R==typeof k)continue;o(R,k)}(u.sham||k&&k.sham)&&l(R,"sham",!0),c(b,S,R,u)}}},3338:function(d){"use strict";d.exports=function(v){try{return!!v()}catch(e){return!0}}},8662:function(d,v,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 A={};return A[_]=function(){return 7},""[a](A)!==7}),S=b&&!c(function(){var A=!1,D=/a/;return a==="split"&&(D={},D.constructor={},D.constructor[h]=function(){return D},D.flags="",D[_]=/./[_]),D.exec=function(){return A=!0,null},D[_](""),!A});if(!b||!S||p){var k=r(/./[_]),R=x(_,""[a],function(A,D,M,B,j){var Y=r(A),V=D.exec;return V===l||V===u.exec?b&&!j?{done:!0,value:k(D,M,B)}:{done:!0,value:Y(M,D,B)}:{done:!1}});i(String.prototype,a,R[0]),i(u,_,R[1])}y&&o(u[_],"sham",!0)}},3372:function(d,v,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,S=0,k=y?c(y,_):!1,R,A;S<a;)S in u&&(R=k?k(u[S],S,h):u[S],p>0&&r(R)?(A=i(R),b=f(o,h,R,A,b,p-1)-1):(l(b+1),o[b]=R),b++),S++;return b};d.exports=f},13247:function(d,v,e){"use strict";var r=e(3338);d.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},13743:function(d,v,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,v,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,v,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,v,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 S=[],k=0;k<_;k++)S[k]="a["+k+"]";x[_]=h("C,a","return new C("+a(S,",")+")")}return x[_](y,b)};d.exports=o?h.bind:function(_){var b=i(this),S=b.prototype,k=f(arguments,1),R=function(){var D=u(k,f(arguments));return this instanceof R?p(b,D.length,D):b.apply(_,D)};return l(S)&&(R.prototype=S),R}},89945:function(d,v,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,v,e){"use strict";var r=e(94237),i=e(63335);d.exports=function(){return r(i(this))}},8090:function(d,v,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,v,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,v,e){"use strict";var r=e(29076),i=e(94237);d.exports=function(l){if(r(l)==="Function")return i(l)}},94237:function(d,v,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 v=TypeError;d.exports=function(e){var r=e&&e.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new v("Incorrect `alphabet` option")}},38116:function(d,v,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,v,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,v,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,v,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(v){return{iterator:v,next:v.next,done:!1}}},7157:function(d,v,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,v,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,v,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,v,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,S){if(_)return _=!1,S;if(i(this))return S;for(var k=0;k<y;k++)if(a[k]===b)return S}}}},53776:function(d,v,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,v,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,v,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 S=p+a.length,k=y.length,R=u;return _!==void 0&&(_=i(_),R=h),f(b,R,function(A,D){var M;switch(c(D,0)){case"$":return"$";case"&":return a;case"`":return o(x,0,p);case"'":return o(x,S);case"<":M=_[o(D,1,-1)];break;default:var B=+D;if(B===0)return A;if(B>k){var j=l(B/10);return j===0?A:j<=k?y[j-1]===void 0?c(D,1):y[j-1]+c(D,1):A}M=y[B-1]}return M===void 0?"":M})}},92916:function(d,v,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,v,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(v,e){try{arguments.length===1?console.error(v):console.error(v,e)}catch(r){}}},75171:function(d,v,e){"use strict";var r=e(65911);d.exports=r("document","documentElement")},46796:function(d,v,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 v=Array,e=Math.abs,r=Math.pow,i=Math.floor,l=Math.log,c=Math.LN2,f=function(h,u,a){var x=v(a),p=a*8-u-1,y=(1<<p)-1,_=y>>1,b=u===23?r(2,-24)-r(2,-77):0,S=h<0||h===0&&1/h<0?1:0,k=0,R,A,D;for(h=e(h),h!==h||h===1/0?(A=h!==h?1:0,R=y):(R=i(l(h)/c),D=r(2,-R),h*D<1&&(R--,D*=2),R+_>=1?h+=b/D:h+=b*r(2,1-_),h*D>=2&&(R++,D/=2),R+_>=y?(A=0,R=y):R+_>=1?(A=(h*D-1)*r(2,u),R+=_):(A=h*r(2,_-1)*r(2,u),R=0));u>=8;)x[k++]=A&255,A/=256,u-=8;for(R=R<<u|A,p+=u;p>0;)x[k++]=R&255,R/=256,p-=8;return x[--k]|=S*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,S=h[b--],k=S&127,R;for(S>>=7;_>0;)k=k*256+h[b--],_-=8;for(R=k&(1<<-_)-1,k>>=-_,_+=u;_>0;)R=R*256+h[b--],_-=8;if(k===0)k=1-y;else{if(k===p)return R?NaN:S?-1/0:1/0;R+=r(2,u),k-=y}return(S?-1:1)*R*r(2,k-u)};d.exports={pack:f,unpack:o}},1835:function(d,v,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,v,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,v,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,v,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,v,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,S=function(B){o(B,_,{value:{objectID:"O"+b++,weakData:{}}})},k=function(B,j){if(!c(B))return typeof B=="symbol"?B:(typeof B=="string"?"S":"P")+B;if(!f(B,_)){if(!a(B))return"F";if(!j)return"E";S(B)}return B[_].objectID},R=function(B,j){if(!f(B,_)){if(!a(B))return!0;if(!j)return!1;S(B)}return B[_].weakData},A=function(B){return p&&y&&a(B)&&!f(B,_)&&S(B),B},D=function(){M.enable=function(){},y=!0;var B=h.f,j=i([].splice),Y={};Y[_]=1,B(Y).length&&(h.f=function(V){for(var G=B(V),ae=0,ie=G.length;ae<ie;ae++)if(G[ae]===_){j(G,ae,1);break}return G},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},M=d.exports={enable:D,fastKey:k,getWeakData:R,onFreeze:A};l[_]=!0},94844:function(d,v,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,S=function(D){return b(D)?_(D):y(D,{})},k=function(D){return function(M){var B;if(!l(M)||(B=_(M)).type!==D)throw new x("Incompatible receiver, "+D+" required");return B}};if(r||o.state){var R=o.state||(o.state=new p);R.get=R.get,R.has=R.has,R.set=R.set,y=function(D,M){if(R.has(D))throw new x(a);return M.facade=D,R.set(D,M),M},_=function(D){return R.get(D)||{}},b=function(D){return R.has(D)}}else{var A=h("state");u[A]=!0,y=function(D,M){if(f(D,A))throw new x(a);return M.facade=D,c(D,A,M),M},_=function(D){return f(D,A)?D[A]:{}},b=function(D){return f(D,A)}}d.exports={set:y,get:_,has:b,enforce:S,getterFor:k}},345:function(d,v,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,v,e){"use strict";var r=e(29076);d.exports=Array.isArray||function(l){return r(l)==="Array"}},75406:function(d,v,e){"use strict";var r=e(97607);d.exports=function(i){var l=r(i);return l==="BigInt64Array"||l==="BigUint64Array"}},55327:function(d,v,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,v,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(k){if(!l(k))return!1;try{return a(h,u,k),!0}catch(R){return!1}},b=function(k){if(!l(k))return!1;switch(c(k)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!p(x,o(k))}catch(R){return!0}};b.sham=!0,d.exports=!a||i(function(){var S;return _(_.call)||!_(Object)||!_(function(){S=!0})||S})?b:_},60516:function(d,v,e){"use strict";var r=e(32621);d.exports=function(i){return i!==void 0&&(r(i,"value")||r(i,"writable"))}},20865:function(d,v,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,v,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,v,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(v){return v==null}},31946:function(d,v,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,v,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,v,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,v,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,v,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,v,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,S){this.stopped=b,this.result=S},_=y.prototype;d.exports=function(b,S,k){var R=k&&k.that,A=!!(k&&k.AS_ENTRIES),D=!!(k&&k.IS_RECORD),M=!!(k&&k.IS_ITERATOR),B=!!(k&&k.INTERRUPTED),j=r(S,R),Y,V,G,ae,ie,ue,q,J=function(oe){return Y&&x(Y,"normal",oe),new y(!0,oe)},K=function(oe){return A?(l(oe),B?j(oe[0],oe[1],J):j(oe[0],oe[1])):B?j(oe,J):j(oe)};if(D)Y=b.iterator;else if(M)Y=b;else{if(V=a(b),!V)throw new p(c(b)+" is not iterable");if(f(V)){for(G=0,ae=o(b);ae>G;G++)if(ie=K(b[G]),ie&&h(_,ie))return ie;return new y(!1)}Y=u(b,V)}for(ue=D?b.next:Y.next;!(q=i(ue,Y)).done;){try{ie=K(q.value)}catch(oe){x(Y,"throw",oe)}if(typeof ie=="object"&&ie&&h(_,ie))return ie}return new y(!1)}},67996:function(d,v,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,v,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,v,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,S=function(A){var D=o.getterFor(A?_:y);return c(i(u),{next:function(){var B=D(this);if(A)return B.nextHandler();try{var j=B.done?void 0:B.nextHandler();return a(j,B.done)}catch(Y){throw B.done=!0,Y}},return:function(){var M=D(this),B=M.iterator;if(M.done=!0,A){var j=h(B,"return");return j?r(j,B):a(void 0,!0)}if(M.inner)try{x(M.inner.iterator,"normal")}catch(Y){return x(B,"throw",Y)}return x(B,"normal"),a(void 0,!0)}})},k=S(!0),R=S(!1);l(R,p,"Iterator Helper"),d.exports=function(A,D){var M=function(j,Y){Y?(Y.iterator=j.iterator,Y.next=j.next):Y=j,Y.type=D?_:y,Y.nextHandler=A,Y.counter=0,Y.done=!1,b(this,Y)};return M.prototype=D?k:R,M}},24019:function(d,v,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),S=c.PROPER,k=c.CONFIGURABLE,R=b.IteratorPrototype,A=b.BUGGY_SAFARI_ITERATORS,D=y("iterator"),M="keys",B="values",j="entries",Y=function(){return this};d.exports=function(V,G,ae,ie,ue,q,J){o(ae,G,ie);var K=function(ke){if(ke===ue&&Z)return Z;if(!A&&ke&&ke in Q)return Q[ke];switch(ke){case M:return function(){return new ae(this,ke)};case B:return function(){return new ae(this,ke)};case j:return function(){return new ae(this,ke)}}return function(){return new ae(this)}},oe=G+" Iterator",ee=!1,Q=V.prototype,le=Q[D]||Q["@@iterator"]||ue&&Q[ue],Z=!A&&le||K(ue),$=G==="Array"&&Q.entries||le,se,_e,De;if($&&(se=h($.call(new V)),se!==Object.prototype&&se.next&&(!l&&h(se)!==R&&(u?u(se,R):f(se[D])||p(se,D,Y)),a(se,oe,!0,!0),l&&(_[oe]=Y))),S&&ue===B&&le&&le.name!==B&&(!l&&k?x(Q,"name",B):(ee=!0,Z=function(){return i(le,this)})),ue)if(_e={values:K(B),keys:q?Z:K(M),entries:K(j)},J)for(De in _e)(A||ee||!(De in Q))&&p(Q,De,_e[De]);else r({target:G,proto:!0,forced:A||ee},_e);return(!l||J)&&Q[D]!==Z&&p(Q,D,Z,{name:ue}),_[G]=Z,_e}},24771:function(d,v,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,v,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,v,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 S={};return p[a].call(S)!==S});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,v,e){"use strict";var r=e(61578);d.exports=function(i){return r(i.length)}},86528:function(d,v,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),S=r([].join),k=f&&!i(function(){return y(function(){},"length",{value:8}).length!==8}),R=String(String).split("String"),A=d.exports=function(D,M,B){_(p(M),0,7)==="Symbol("&&(M="["+b(p(M),/^Symbol\(([^)]*)\)/,"$1")+"]"),B&&B.getter&&(M="get "+M),B&&B.setter&&(M="set "+M),(!c(D,"name")||o&&D.name!==M)&&(f?y(D,"name",{value:M,configurable:!0}):D.name=M),k&&B&&c(B,"arity")&&D.length!==B.arity&&y(D,"length",{value:B.arity});try{B&&c(B,"constructor")&&B.constructor?f&&y(D,"prototype",{writable:!1}):D.prototype&&(D.prototype=void 0)}catch(Y){}var j=a(D);return c(j,"source")||(j.source=S(R,typeof M=="string"?M:"")),D};Function.prototype.toString=A(function(){return l(this)&&x(this).source||h(this)},"toString")},2786:function(d,v,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,v,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,v,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 v=Math.expm1,e=Math.exp;d.exports=!v||v(10)>22025.465794806718||v(10)<22025.465794806718||v(-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}:v},35175:function(d,v,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,v,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,v,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 v=Math.log,e=Math.LOG10E;d.exports=Math.log10||function(i){return v(i)*e}},25726:function(d){"use strict";var v=Math.log;d.exports=Math.log1p||function(r){var i=+r;return i>-1e-8&&i<1e-8?i-i*i/2:v(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 v=Math.ceil,e=Math.floor;d.exports=Math.trunc||function(i){var l=+i;return(l>0?e:v)(l)}},72933:function(d,v,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"),S=b&&b.value,k,R,A,D,M;if(!S){var B=new f,j=function(){var Y,V;for(a&&(Y=y.domain)&&Y.exit();V=B.get();)try{V()}catch(G){throw B.head&&k(),G}Y&&Y.enter()};!o&&!a&&!u&&x&&p?(R=!0,A=p.createTextNode(""),new x(j).observe(A,{characterData:!0}),k=function(){A.data=R=!R}):!h&&_&&_.resolve?(D=_.resolve(void 0),D.constructor=_,M=i(D.then,D),k=function(){M(j)}):a?k=function(){y.nextTick(j)}:(c=i(c,r),k=function(){c(j)}),S=function(Y){B.head||k(),B.add(Y)}}d.exports=S},82778:function(d,v,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,v,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,v,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 v=RangeError;d.exports=function(e){if(e===e)return e;throw new v("NaN is not allowed")}},41696:function(d,v,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,v,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,v,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(_)),S=u(b);return S===0&&h(b,0)==="-"?-0:S}:u},52446:function(d,v,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,S){var k=f(c(b));return h(k,S>>>0||(p(x,k)?16:10))}:h},17243:function(d,v,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(R,A,D,M,B,j){if(typeof R!=M||A!==1/0&&A!==-1/0&&typeof A!=M)throw new _(u);if(R===1/0||R===-1/0)throw new y(u);var Y=A>R,V=!1,G;if(D===void 0)G=void 0;else if(f(D))G=D.step,V=!!D.inclusive;else if(typeof D==M)G=D;else throw new _(u);if(c(G)&&(G=Y?j:-j),typeof G!=M)throw new _(u);if(G===1/0||G===-1/0||G===B&&R!==A)throw new y(u);var ae=R!==R||A!==A||G!==G||A>R!=G>B;x(this,{type:a,start:R,end:A,step:G,inclusive:V,hitsEnd:ae,currentCount:B,zero:B}),h||(this.start=R,this.end=A,this.step=G,this.inclusive=V)},a,function(){var R=p(this);if(R.hitsEnd)return l(void 0,!0);var A=R.start,D=R.end,M=R.step,B=A+M*R.currentCount++;B===D&&(R.hitsEnd=!0);var j=R.inclusive,Y;return D>A?Y=j?B>D:B>=D:Y=j?D>B:D>=B,Y?(R.hitsEnd=!0,l(void 0,!0)):l(B,!1)}),S=function(k){o(b.prototype,k,{get:function(){return p(this)[k]},set:function(){},configurable:!0,enumerable:!1})};h&&(S("start"),S("end"),S("inclusive"),S("step")),d.exports=b},80530:function(d,v,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={},S=Symbol("assign detection"),k="abcdefghijklmnopqrst";return _[S]=7,k.split("").forEach(function(R){b[R]=R}),x({},_)[S]!==7||f(x({},b)).join("")!==k})?function(b,S){for(var k=u(b),R=arguments.length,A=1,D=o.f,M=h.f;R>A;)for(var B=a(arguments[A++]),j=D?y(f(B),D(B)):f(B),Y=j.length,V=0,G;Y>V;)G=j[V++],(!r||l(M,B,G))&&(k[G]=B[G]);return k}:x},20132:function(d,v,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},S=function(D){D.write(b("")),D.close();var M=D.parentWindow.Object;return D=null,M},k=function(){var D=o("iframe"),M="java"+p+":",B;return D.style.display="none",f.appendChild(D),D.src=String(M),B=D.contentWindow.document,B.open(),B.write(b("document.F=Object")),B.close(),B.F},R,A=function(){try{R=new ActiveXObject("htmlfile")}catch(M){}A=typeof document!="undefined"?document.domain&&R?S(R):k():S(R);for(var D=l.length;D--;)delete A[x][l[D]];return A()};c[y]=!0,d.exports=Object.create||function(M,B){var j;return M!==null?(_[x]=r(M),j=new _,_[x]=null,j[y]=M):j=A(),B===void 0?j:i.f(j,B)}},55666:function(d,v,e){"use strict";var r=e(35454),i=e(93199),l=e(37691),c=e(80449),f=e(80524),o=e(7733);v.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,v,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";v.f=r?l?function(_,b,S){if(c(_),b=f(b),c(S),typeof _=="function"&&b==="prototype"&&"value"in S&&p in S&&!S[p]){var k=u(_,b);k&&k[p]&&(_[b]=S.value,S={configurable:x in S?S[x]:k[x],enumerable:a in S?S[a]:k[a],writable:!1})}return h(_,b,S)}:h:function(_,b,S){if(c(_),b=f(b),c(S),i)try{return h(_,b,S)}catch(k){}if("get"in S||"set"in S)throw new o("Accessors not supported");return"value"in S&&(_[b]=S.value),_}},71256:function(d,v,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;v.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,v,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,v,e){"use strict";var r=e(97486),i=e(46678),l=i.concat("length","prototype");v.f=Object.getOwnPropertyNames||function(f){return r(f,l)}},92635:function(d,v){"use strict";v.f=Object.getOwnPropertySymbols},53456:function(d,v,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,v,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,v,e){"use strict";var r=e(94237);d.exports=r({}.isPrototypeOf)},20574:function(d,v,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,v,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,v,e){"use strict";var r=e(97486),i=e(46678);d.exports=Object.keys||function(c){return r(c,i)}},27597:function(d,v){"use strict";var e={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!e.call({1:2},1);v.f=i?function(c){var f=r(this,c);return!!f&&f.enumerable}:e},25837:function(d,v,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,v,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,v,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(_),S=f(b),k=x&&c(b)===null,R=S.length,A=0,D=[],M;R>A;)M=S[A++],(!r||(k?M in b:u(b,M)))&&a(D,y?[M,b[M]]:b[M]);return D}};d.exports={entries:p(!0),values:p(!1)}},28488:function(d,v,e){"use strict";var r=e(68527),i=e(97607);d.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},44759:function(d,v,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,v,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,v,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,S="";_<y.length;){var k=o(y,_);if(k==="\\"){var R=h(y,_,_+2);if(i(a,R))S+=a[R],_+=2;else if(R==="\\u"){_+=2;var A=h(y,_,_+4);if(!u(x,A))throw new l("Bad Unicode escape at: "+_);S+=f(c(A,16)),_+=4}else throw new l('Unknown escape sequence: "'+R+'"')}else if(k==='"'){b=!1,_++;break}else{if(u(p,k))throw new l("Bad control character in string literal at: "+_);S+=k,_++}}if(b)throw new l("Unterminated string at: "+_);return{value:S,end:_}}},9699:function(d,v,e){"use strict";var r=e(92916);d.exports=r},80734:function(d){"use strict";d.exports=function(v){try{return{error:!1,value:v()}}catch(e){return{error:!0,value:e}}}},82830:function(d,v,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),S=c("Promise",function(){var k=f(i),R=k!==String(i);if(!R&&x===66||a&&!(p.catch&&p.finally))return!0;if(!x||x<51||!/native code/.test(k)){var A=new i(function(B){B(1)}),D=function(B){B(function(){},function(){})},M=A.constructor={};if(M[y]=D,_=A.then(function(){})instanceof D,!_)return!0}return!R&&(h||u)&&!b});d.exports={CONSTRUCTOR:S,REJECTION_EVENT:b,SUBCLASSING:_}},2451:function(d,v,e){"use strict";var r=e(92916);d.exports=r.Promise},15597:function(d,v,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,v,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,v,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 v=function(){this.head=null,this.tail=null};v.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=v},82584:function(d,v,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(S,k,R){var A=u.get(S);if(!A){if(!R)return;u.set(S,A=new c)}var D=A.get(k);if(!D){if(!R)return;A.set(k,D=new c)}return D},x=function(S,k,R){var A=a(k,R,!1);return A===void 0?!1:A.has(S)},p=function(S,k,R){var A=a(k,R,!1);return A===void 0?void 0:A.get(S)},y=function(S,k,R,A){a(R,A,!0).set(S,k)},_=function(S,k){var R=a(S,k,!1),A=[];return R&&R.forEach(function(D,M){o(A,M)}),A},b=function(S){return S===void 0||typeof S=="symbol"?S:String(S)};d.exports={store:u,getMap:a,has:x,get:p,set:y,keys:_,toKey:b}},94338:function(d,v,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,v,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),S=i("".indexOf),k=i("".replace),R=i("".slice),A=function(){var j=/a/,Y=/b*/g;return r(y,j,"a"),r(y,Y,"a"),j.lastIndex!==0||Y.lastIndex!==0}(),D=f.BROKEN_CARET,M=/()??/.exec("")[1]!==void 0,B=A||M||D||a||x;B&&(_=function(Y){var V=this,G=u(V),ae=l(Y),ie=G.raw,ue,q,J,K,oe,ee,Q;if(ie)return ie.lastIndex=V.lastIndex,ue=r(_,ie,ae),V.lastIndex=ie.lastIndex,ue;var le=G.groups,Z=D&&V.sticky,$=r(c,V),se=V.source,_e=0,De=ae;if(Z&&($=k($,"y",""),S($,"g")===-1&&($+="g"),De=R(ae,V.lastIndex),V.lastIndex>0&&(!V.multiline||V.multiline&&b(ae,V.lastIndex-1)!==`
|
|
|
`)&&(se="(?: "+se+")",De=" "+De,_e++),q=new RegExp("^(?:"+se+")",$)),M&&(q=new RegExp("^"+se+"$(?!\\s)",$)),A&&(J=V.lastIndex),K=r(y,Z?q:V,De),Z?K?(K.input=R(K.input,_e),K[0]=R(K[0],_e),K.index=V.lastIndex,V.lastIndex+=K[0].length):V.lastIndex=0:A&&K&&(V.lastIndex=V.global?K.index+K[0].length:J),M&&K&&K.length>1&&r(p,K[0],q,function(){for(oe=1;oe<arguments.length-2;oe++)arguments[oe]===void 0&&(K[oe]=void 0)}),K&&le)for(K.groups=ee=h(null),oe=0;oe<le.length;oe++)Q=le[oe],ee[Q[0]]=K[Q[1]];return K}),d.exports=_},82163:function(d,v,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,v,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,v,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,v,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,v,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,v,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(v,e){return v===e||v!==v&&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,v,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 S=h(arguments.length,1)>y,k=l(_)?_:u(_),R=S?o(arguments,y):[],A=S?function(){i(k,this,R)}:k;return p?x(A,b):x(A)}:x}},61838:function(d,v,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,v,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(S){_.includes(S)&&a(b,S)}):h(_.getIterator(),function(S){u(y,S)&&a(b,S)}),b}},19691:function(d,v,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,v,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(S){a(y,S)&&u(b,S)}):f(y,function(S){_.includes(S)&&u(b,S)}),b}},17616:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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 S=x[b++];if(S===void 0)throw new f("Incorrect template");if(o(_,l(S)),b===p)return h(_,"");b<y&&o(_,l(arguments[b]))}}},17691:function(d,v,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,v,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,S,k;return _<0||_>=b?a?"":void 0:(S=o(y,_),S<55296||S>56319||_+1===b||(k=o(y,_+1))<56320||k>57343?a?f(y,_):S:a?h(y,_,_+2):(S-55296<<10)+(k-56320)+65536)}};d.exports={codeAt:u(!1),charAt:u(!0)}},98352:function(d,v,e){"use strict";var r=e(66011);d.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},85571:function(d,v,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)),S=i(y),k=b.length,R=_===void 0?" ":l(_),A,D;return S<=k||R===""?b:(A=S-k,D=o(R,u(A/R.length)),D.length>A&&(D=h(D,0,A)),x?b+D:D+b)}};d.exports={start:a(!1),end:a(!0)}},79204:function(d,v,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,S=function(A,D){var M=o(A,D);return M>=a&&M<=x},k=function(A,D,M){if(M>=A.length)return-1;for(var B=0;D<M;D++){var j=R(o(A,D));if(j===-1)return-1;B=B*16+j}return B},R=function(A){return A>=a&&A<=x?A-a:A>=p&&A<=y?A-p+10:A>=_&&A<=b?A-_+10:-1};d.exports=function(A){for(var D="",M=0,B=0,j;(B=h(A,"\\",B))>-1;){if(D+=u(A,M,B),++B===A.length)return;var Y=f(A,B++);switch(Y){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":B<A.length&&f(A,B)===`
|
|
|
`&&++B;case`
|
|
|
`:case"\u2028":case"\u2029":break;case"0":if(S(A,B))return;D+="\0";break;case"x":if(j=k(A,B,B+2),j===-1)return;B+=2,D+=l(j);break;case"u":if(B<A.length&&f(A,B)==="{"){var V=h(A,"}",++B);if(V===-1)return;j=k(A,B,V),B=V+1}else j=k(A,B,B+4),B+=4;if(j===-1||j>1114111)return;D+=c(j);break;default:if(S(Y,0))return;D+=Y}M=B}return D+u(A,M)}},93245:function(d,v,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,S=RangeError,k=r(y.exec),R=Math.floor,A=String.fromCharCode,D=r("".charCodeAt),M=r([].join),B=r([].push),j=r("".replace),Y=r("".split),V=r("".toLowerCase),G=function(q){for(var J=[],K=0,oe=q.length;K<oe;){var ee=D(q,K++);if(ee>=55296&&ee<=56319&&K<oe){var Q=D(q,K++);(Q&64512)===56320?B(J,((ee&1023)<<10)+(Q&1023)+65536):(B(J,ee),K--)}else B(J,ee)}return J},ae=function(q){return q+22+75*(q<26)},ie=function(q,J,K){var oe=0;for(q=K?R(q/h):q>>1,q+=R(q/J);q>b*f>>1;)q=R(q/b),oe+=l;return R(oe+(b+1)*q/(q+o))},ue=function(q){var J=[];q=G(q);var K=q.length,oe=a,ee=0,Q=u,le,Z;for(le=0;le<q.length;le++)Z=q[le],Z<128&&B(J,A(Z));var $=J.length,se=$;for($&&B(J,x);se<K;){var _e=i;for(le=0;le<q.length;le++)Z=q[le],Z>=oe&&Z<_e&&(_e=Z);var De=se+1;if(_e-oe>R((i-ee)/De))throw new S(_);for(ee+=(_e-oe)*De,oe=_e,le=0;le<q.length;le++){if(Z=q[le],Z<oe&&++ee>i)throw new S(_);if(Z===oe){for(var ke=ee,Ze=l;;){var Ne=Ze<=Q?c:Ze>=Q+f?f:Ze-Q;if(ke<Ne)break;var Bt=ke-Ne,yt=l-Ne;B(J,A(ae(Ne+Bt%yt))),ke=R(Bt/yt),Ze+=l}B(J,A(ae(ke))),Q=ie(ee,De,se===$),ee=0,se++}}ee++,oe++}return M(J,"")};d.exports=function(q){var J=[],K=Y(j(V(q),y,"."),"."),oe,ee;for(oe=0;oe<K.length;oe++)ee=K[oe],B(J,k(p,ee)?"xn--"+ue(ee):ee);return M(J,".")}},71049:function(d,v,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,v,e){"use strict";var r=e(52971).end,i=e(18105);d.exports=i("trimEnd")?function(){return r(this)}:"".trimEnd},18105:function(d,v,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,v,e){"use strict";var r=e(52971).start,i=e(18105);d.exports=i("trimStart")?function(){return r(this)}:"".trimStart},52971:function(d,v,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,v,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,v,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,v,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,v,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,v,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(S){}d.exports=function(k){if(h&&h(k))return!0;try{for(var R=a(k),A=0,D=u(x),M=D.length;A<M;A++)if(x[D[A]]==R)return!0}catch(B){}return!1}},60798:function(d,v,e){"use strict";var r=e(42820);d.exports=r&&!!Symbol.for&&!!Symbol.keyFor},28887:function(d,v,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,S=r.process,k=r.Dispatch,R=r.Function,A=r.MessageChannel,D=r.String,M=0,B={},j="onreadystatechange",Y,V,G,ae;o(function(){Y=r.location});var ie=function(K){if(f(B,K)){var oe=B[K];delete B[K],oe()}},ue=function(K){return function(){ie(K)}},q=function(K){ie(K.data)},J=function(K){r.postMessage(D(K),Y.protocol+"//"+Y.host)};(!_||!b)&&(_=function(oe){x(arguments.length,1);var ee=c(oe)?oe:R(oe),Q=u(arguments,1);return B[++M]=function(){i(ee,void 0,Q)},V(M),M},b=function(oe){delete B[oe]},y?V=function(K){S.nextTick(ue(K))}:k&&k.now?V=function(K){k.now(ue(K))}:A&&!p?(G=new A,ae=G.port2,G.port1.onmessage=q,V=l(ae.postMessage,ae)):r.addEventListener&&c(r.postMessage)&&!r.importScripts&&Y&&Y.protocol!=="file:"&&!o(J)?(V=J,r.addEventListener("message",q,!1)):j in a("script")?V=function(K){h.appendChild(a("script"))[j]=function(){h.removeChild(this),ie(K)}}:V=function(K){setTimeout(ue(K),0)}),d.exports={set:_,clear:b}},49228:function(d,v,e){"use strict";var r=e(94237);d.exports=r(1 .valueOf)},51981:function(d,v,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,v,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,v,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,v,e){"use strict";var r=e(1835),i=e(95955);d.exports=function(l){return r(i(l))}},56902:function(d,v,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,v,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,v,e){"use strict";var r=e(95955),i=Object;d.exports=function(l){return i(r(l))}},64135:function(d,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(59893),i=r("toStringTag"),l={};l[i]="z",d.exports=String(l)==="[object z]"},69905:function(d,v,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 v=Math.round;d.exports=function(e){var r=v(e);return r<0?0:r>255?255:r&255}},11270:function(d,v,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 v=String;d.exports=function(e){try{return v(e)}catch(r){return"Object"}}},69733:function(d,v,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),S=e(86350),k=e(17818),R=e(32621),A=e(97607),D=e(31946),M=e(18446),B=e(20132),j=e(16332),Y=e(58218),V=e(80689).f,G=e(50706),ae=e(90560).forEach,ie=e(51996),ue=e(64110),q=e(37691),J=e(71256),K=e(94844),oe=e(25576),ee=K.get,Q=K.set,le=K.enforce,Z=q.f,$=J.f,se=i.RangeError,_e=h.ArrayBuffer,De=_e.prototype,ke=h.DataView,Ze=o.NATIVE_ARRAY_BUFFER_VIEWS,Ne=o.TYPED_ARRAY_TAG,Bt=o.TypedArray,yt=o.TypedArrayPrototype,Dt=o.aTypedArrayConstructor,Jt=o.isTypedArray,er="BYTES_PER_ELEMENT",tr="Wrong length",Xe=function(et,je){Dt(et);for(var ge=0,Se=je.length,Me=new et(Se);Se>ge;)Me[ge]=je[ge++];return Me},Pt=function(et,je){ue(et,je,{configurable:!0,get:function(){return ee(this)[je]}})},Zt=function(et){var je;return j(De,et)||(je=A(et))==="ArrayBuffer"||je==="SharedArrayBuffer"},ot=function(et,je){return Jt(et)&&!M(je)&&je in et&&p(+je)&&je>=0},xt=function(je,ge){return ge=k(ge),ot(je,ge)?a(2,je[ge]):$(je,ge)},ht=function(je,ge,Se){return ge=k(ge),ot(je,ge)&&D(Se)&&R(Se,"value")&&!R(Se,"get")&&!R(Se,"set")&&!Se.configurable&&(!R(Se,"writable")||Se.writable)&&(!R(Se,"enumerable")||Se.enumerable)?(je[ge]=Se.value,je):Z(je,ge,Se)};c?(Ze||(J.f=xt,q.f=ht,Pt(yt,"buffer"),Pt(yt,"byteOffset"),Pt(yt,"byteLength"),Pt(yt,"length")),r({target:"Object",stat:!0,forced:!Ze},{getOwnPropertyDescriptor:xt,defineProperty:ht}),d.exports=function(et,je,ge){var Se=et.match(/\d+/)[0]/8,Me=et+(ge?"Clamped":"")+"Array",$e="get"+et,He="set"+et,nt=i[Me],ct=nt,Vt=ct&&ct.prototype,Ht={},Pe=function(Wt,$t){var At=ee(Wt);return At.view[$e]($t*Se+At.byteOffset,!0)},qe=function(Wt,$t,At){var Xt=ee(Wt);Xt.view[He]($t*Se+Xt.byteOffset,ge?S(At):At,!0)},Yt=function(Wt,$t){Z(Wt,$t,{get:function(){return Pe(this,$t)},set:function(At){return qe(this,$t,At)},enumerable:!0})};Ze?f&&(ct=je(function(Wt,$t,At,Xt){return u(Wt,Vt),oe(function(){return D($t)?Zt($t)?Xt!==void 0?new nt($t,b(At,Se),Xt):At!==void 0?new nt($t,b(At,Se)):new nt($t):Jt($t)?Xe(ct,$t):l(G,ct,$t):new nt(_($t))}(),Wt,ct)}),Y&&Y(ct,Bt),ae(V(nt),function(Wt){Wt in ct||x(ct,Wt,nt[Wt])}),ct.prototype=Vt):(ct=je(function(Wt,$t,At,Xt){u(Wt,Vt);var We=0,fe=0,pe,Ot,Te;if(!D($t))Te=_($t),Ot=Te*Se,pe=new _e(Ot);else if(Zt($t)){pe=$t,fe=b(At,Se);var dt=$t.byteLength;if(Xt===void 0){if(dt%Se)throw new se(tr);if(Ot=dt-fe,Ot<0)throw new se(tr)}else if(Ot=y(Xt)*Se,Ot+fe>dt)throw new se(tr);Te=Ot/Se}else return Jt($t)?Xe(ct,$t):l(G,ct,$t);for(Q(Wt,{buffer:pe,byteOffset:fe,byteLength:Ot,length:Te,view:new ke(pe)});We<Te;)Yt(Wt,We++)}),Y&&Y(ct,Bt),Vt=ct.prototype=B(yt)),Vt.constructor!==ct&&x(Vt,"constructor",ct),le(Vt).TypedArrayConstructor=ct,Ne&&x(Vt,Ne,Me);var Rt=ct!==nt;Ht[Me]=ct,r({global:!0,constructor:!0,forced:Rt,sham:!Ze},Ht),er in ct||x(ct,er,Se),er in Vt||x(Vt,er,Se),ie(Me)}):d.exports=function(){}},59627:function(d,v,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,v,e){"use strict";var r=e(69478),i=e(31384);d.exports=function(l,c){return r(i(l),c)}},50706:function(d,v,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),S=c(_),k=arguments.length,R=k>1?arguments[1]:void 0,A=R!==void 0,D=h(S),M,B,j,Y,V,G,ae,ie;if(D&&!u(D))for(ae=o(S,D),ie=ae.next,S=[];!(G=i(ie,ae)).done;)S.push(G.value);for(A&&k>2&&(R=r(R,arguments[2])),B=f(S),j=new(x(b))(B),Y=a(j),M=0;B>M;M++)V=A?R(S[M],M):S[M],j[M]=Y?p(V):+V;return j}},31384:function(d,v,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,v,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,v,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,v,e){"use strict";var r=e(42820);d.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},93199:function(d,v,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 v=TypeError;d.exports=function(e,r){if(e<r)throw new v("Not enough arguments");return e}},40115:function(d,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(59893);v.f=r},59893:function(d,v,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,v,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,S,k,R){var A="stackTraceLimit",D=R?2:1,M=b.split("."),B=M[M.length-1],j=r.apply(null,M);if(j){var Y=j.prototype;if(!_&&i(Y,"cause")&&delete Y.cause,!k)return j;var V=r("Error"),G=S(function(ae,ie){var ue=a(R?ie:ae,void 0),q=R?new j(ae):new j;return ue!==void 0&&l(q,"message",ue),p(q,G,q.stack,2),this&&c(Y,this)&&u(q,this,G),arguments.length>D&&x(q,arguments[D]),q});if(G.prototype=Y,B!=="Error"?f?f(G,V):o(G,V,{name:!0}):y&&A in j&&(h(G,j,A),h(G,j,"prepareStackTrace")),o(G,j),!_)try{Y.name!==B&&l(Y,"name",B),Y.constructor=G}catch(ae){}return G}}},93074:function(d,v,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,v,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"),S=Error,k=[].push,R=function(M,B){var j=i(A,this),Y;c?Y=c(new S,j?l(this):A):(Y=j?this:o(A),h(Y,b,"Error")),B!==void 0&&h(Y,"message",y(B)),x(Y,R,Y.stack,1),arguments.length>2&&a(Y,arguments[2]);var V=[];return p(M,k,{that:V}),h(Y,"errors",V),Y};c?c(R,S):f(R,S,{name:!0});var A=R.prototype=o(S.prototype,{constructor:u(1,R),message:u(1,""),name:u(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:R})},86357:function(d,v,e){"use strict";e(6555)},89170:function(d,v,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,v,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,v,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),S=l(function(){return!new a(2).slice(1,void 0).byteLength});r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:S},{slice:function(R,A){if(y&&A===void 0)return y(f(this),R);for(var D=f(this).byteLength,M=o(R,D),B=o(A===void 0?D:A,D),j=new(u(this,a))(h(B-M)),Y=new x(this),V=new x(j),G=0;M<B;)b(V,G++,_(Y,M++));return j}})},96331:function(d,v,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,v,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 R=[];return R[_]=!1,R.concat()[0]!==R}),S=function(R){if(!c(R))return!1;var A=R[_];return A!==void 0?!!A:l(R)},k=!b||!x("concat");r({target:"Array",proto:!0,arity:1,forced:k},{concat:function(A){var D=f(this),M=a(D,0),B=0,j,Y,V,G,ae;for(j=-1,V=arguments.length;j<V;j++)if(ae=j===-1?D:arguments[j],S(ae))for(G=o(ae),h(B+G),Y=0;Y<G;Y++,B++)Y in ae&&u(M,B,ae[Y]);else h(B+1),u(M,B++,ae);return M.length=B,M}})},26425:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(59594);r({target:"Array",proto:!0,forced:[].forEach!==i},{forEach:i})},99382:function(d,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(18589);r({target:"Array",stat:!0},{isArray:i})},11005:function(d,v,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,S){p(this,{type:x,target:r(b),index:0,kind:S})},function(){var b=y(this),S=b.target,k=b.index++;if(!S||k>=S.length)return b.target=void 0,h(void 0,!0);switch(b.kind){case"keys":return h(k,!1);case"values":return h(S[k],!1)}return h([k,S[k]],!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,v,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,v,e){"use strict";var r=e(94488),i=e(55009);r({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},91550:function(d,v,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,v,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,v,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 S=0;S<b;S++)y[_]=arguments[S],_++;return c(y,_),_}})},96009:function(d,v,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,v,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,v,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,v,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,S=Math.max;r({target:"Array",proto:!0,forced:!y},{slice:function(R,A){var D=h(this),M=o(D),B=f(R,M),j=f(A===void 0?M:A,M),Y,V,G;if(i(D)&&(Y=D.constructor,l(Y)&&(Y===b||i(Y.prototype))?Y=void 0:c(Y)&&(Y=Y[_],Y===null&&(Y=void 0)),Y===b||Y===void 0))return p(D,B,j);for(V=new(Y===void 0?b:Y)(S(j-B,0)),G=0;B<j;B++,G++)B in D&&u(V,G,D[B]);return V.length=G,V}})},80881:function(d,v,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,v,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),S=[],k=i(S.sort),R=i(S.push),A=u(function(){S.sort(void 0)}),D=u(function(){S.sort(null)}),M=x("sort"),B=!u(function(){if(_)return _<70;if(!(p&&p>3)){if(y)return!0;if(b)return b<603;var V="",G,ae,ie,ue;for(G=65;G<76;G++){switch(ae=String.fromCharCode(G),G){case 66:case 69:case 70:case 72:ie=3;break;case 68:case 71:ie=4;break;default:ie=2}for(ue=0;ue<47;ue++)S.push({k:ae+ue,v:ie})}for(S.sort(function(q,J){return J.v-q.v}),ue=0;ue<S.length;ue++)ae=S[ue].k.charAt(0),V.charAt(V.length-1)!==ae&&(V+=ae);return V!=="DGBEFHACIJK"}}),j=A||!D||!M||!B,Y=function(V){return function(G,ae){return ae===void 0?-1:G===void 0?1:V!==void 0?+V(G,ae)||0:h(G)>h(ae)?1:-1}};r({target:"Array",proto:!0,forced:j},{sort:function(G){G!==void 0&&l(G);var ae=c(this);if(B)return G===void 0?k(ae):k(ae,G);var ie=[],ue=f(ae),q,J;for(J=0;J<ue;J++)J in ae&&R(ie,ae[J]);for(a(ie,Y(G)),q=f(ie),J=0;J<q;)ae[J]=ie[J++];for(;J<ue;)o(ae,J++);return ae}})},4705:function(d,v,e){"use strict";var r=e(51996);r("Array")},13941:function(d,v,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(k,R){var A=i(this),D=f(A),M=l(k,D),B=arguments.length,j,Y,V,G,ae,ie;for(B===0?j=Y=0:B===1?(j=0,Y=D-M):(j=B-2,Y=b(_(c(R),0),D-M)),h(D+j-Y),V=u(A,Y),G=0;G<Y;G++)ae=M+G,ae in A&&a(V,G,A[ae]);if(V.length=Y,j<Y){for(G=M;G<D-Y;G++)ae=G+Y,ie=G+j,ae in A?A[ie]=A[ae]:x(A,ie);for(G=D;G>D-Y+j;G--)x(A,G-1)}else if(j>Y)for(G=D-Y;G>M;G--)ae=G+Y-1,ie=G+j-1,ae in A?A[ie]=A[ae]:x(A,ie);for(G=0;G<j;G++)A[G+M]=arguments[G+2];return o(A,D-Y+j),V}})},1148:function(d,v,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,v,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,v,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),S=c(b),k=f(y,S),R=arguments.length,A=0,D,M,B,j;for(R===0?D=M=0:R===1?(D=0,M=S-k):(D=R-2,M=x(a(h(_),0),S-k)),B=l(S+D-M),j=u(B);A<k;A++)j[A]=b[A];for(;A<k+D;A++)j[A]=arguments[A-k+2];for(;A<B;A++)j[A]=b[A+M-D];return j}}),i("toSpliced")},90308:function(d,v,e){"use strict";var r=e(81181);r("flatMap")},96353:function(d,v,e){"use strict";var r=e(81181);r("flat")},84818:function(d,v,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 S=_;S--;){var k=S+b;S in y?y[k]=y[S]:f(y,k)}for(var R=0;R<b;R++)y[R]=arguments[R]}return c(y,_+b)}})},80585:function(d,v,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,v,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,v,e){"use strict";e(40194)},81440:function(d,v,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,v,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,v,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,v,e){"use strict";var r=e(94488);r({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},96844:function(d,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(2291),i=e(13367),l=Error.prototype;l.toString!==i&&r(l,"toString",i)},65009:function(d,v,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="",S=_.length,k=0,R,A;k<S;)R=c(_,k++),o(a,R)?b+=R:(A=f(R,0),A<256?b+="%"+x(A,2):b+="%u"+u(x(A,4)));return b}})},28796:function(d,v,e){"use strict";var r=e(94488),i=e(4645);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},56450:function(d,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(92916);r({global:!0,forced:i.globalThis!==i},{globalThis:i})},54226:function(d,v,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),S=f("".charAt),k=f("".charCodeAt),R=f("".replace),A=f(1 .toString),D=/[\uD800-\uDFFF]/g,M=/^[\uD800-\uDBFF]$/,B=/^[\uDC00-\uDFFF]$/,j=!p||o(function(){var ae=i("Symbol")("stringify detection");return _([ae])!=="[null]"||_({a:ae})!=="{}"||_(Object(ae))!=="{}"}),Y=o(function(){return _("\uDF06\uD834")!=='"\\udf06\\ud834"'||_("\uDEAD")!=='"\\udead"'}),V=function(ae,ie){var ue=a(arguments),q=x(ie);if(!(!h(q)&&(ae===void 0||u(ae))))return ue[1]=function(J,K){if(h(q)&&(K=c(q,this,y(J),K)),!u(K))return K},l(_,null,ue)},G=function(ae,ie,ue){var q=S(ue,ie-1),J=S(ue,ie+1);return b(M,ae)&&!b(B,J)||b(B,ae)&&!b(M,q)?"\\u"+A(k(ae,0),16):ae};_&&r({target:"JSON",stat:!0,arity:3,forced:j||Y},{stringify:function(ie,ue,q){var J=a(arguments),K=l(j?V:_,null,J);return Y&&typeof K=="string"?R(K,D,G):K}})},70201:function(d,v,e){"use strict";var r=e(92916),i=e(94573);i(r.JSON,"JSON",!0)},44781:function(d,v,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,v,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,S){c(b),l(S);var k=new u,R=0;return f(b,function(A){var D=S(A,R++);a(k,D)?y(x(k,D),A):p(k,D,[A])}),k}})},34941:function(d,v,e){"use strict";e(44781)},35152:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(10014);r({target:"Math",stat:!0,forced:i!==Math.expm1},{expm1:i})},93321:function(d,v,e){"use strict";var r=e(94488),i=e(14894);r({target:"Math",stat:!0},{fround:i})},82277:function(d,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(53309);r({target:"Math",stat:!0},{log10:i})},9307:function(d,v,e){"use strict";var r=e(94488),i=e(25726);r({target:"Math",stat:!0},{log1p:i})},8821:function(d,v,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,v,e){"use strict";var r=e(94488),i=e(37666);r({target:"Math",stat:!0},{sign:i})},64099:function(d,v,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,v,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,v,e){"use strict";var r=e(94573);r(Math,"Math",!0)},59118:function(d,v,e){"use strict";var r=e(94488),i=e(3312);r({target:"Math",stat:!0},{trunc:i})},275:function(d,v,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,S=e(71256).f,k=e(37691).f,R=e(49228),A=e(52971).trim,D="Number",M=c[D],B=f[D],j=M.prototype,Y=c.TypeError,V=o("".slice),G=o("".charCodeAt),ae=function(oe){var ee=y(oe,"number");return typeof ee=="bigint"?ee:ie(ee)},ie=function(oe){var ee=y(oe,"number"),Q,le,Z,$,se,_e,De,ke;if(p(ee))throw new Y("Cannot convert a Symbol value to a number");if(typeof ee=="string"&&ee.length>2){if(ee=A(ee),Q=G(ee,0),Q===43||Q===45){if(le=G(ee,2),le===88||le===120)return NaN}else if(Q===48){switch(G(ee,1)){case 66:case 98:Z=2,$=49;break;case 79:case 111:Z=8,$=55;break;default:return+ee}for(se=V(ee,2),_e=se.length,De=0;De<_e;De++)if(ke=G(se,De),ke<48||ke>$)return NaN;return parseInt(se,Z)}}return+ee},ue=h(D,!M(" 0o1")||!M("0b1")||M("+0x1")),q=function(oe){return x(j,oe)&&_(function(){R(oe)})},J=function(ee){var Q=arguments.length<1?0:M(ae(ee));return q(this)?a(Object(Q),this,J):Q};J.prototype=j,ue&&!i&&(j.constructor=J),r({global:!0,constructor:!0,wrap:!0,forced:ue},{Number:J});var K=function(oe,ee){for(var Q=l?b(ee):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),le=0,Z;Q.length>le;le++)u(ee,Z=Q[le])&&!u(oe,Z)&&k(oe,Z,S(ee,Z))};i&&B&&K(f[D],B),(ue||i)&&K(f[D],M)},31919:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(d,v,e){"use strict";var r=e(94488),i=e(1222);r({target:"Number",stat:!0},{isFinite:i})},10177:function(d,v,e){"use strict";var r=e(94488),i=e(62896);r({target:"Number",stat:!0},{isInteger:i})},85690:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0},{isNaN:function(l){return l!==l}})},92114:function(d,v,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,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(d,v,e){"use strict";var r=e(94488),i=e(31280);r({target:"Number",stat:!0,forced:Number.parseFloat!==i},{parseFloat:i})},76345:function(d,v,e){"use strict";var r=e(94488),i=e(52446);r({target:"Number",stat:!0,forced:Number.parseInt!==i},{parseInt:i})},7282:function(d,v,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,S=i(1 .toExponential),k=i(f),R=i("".slice),A=S(-69e-12,4)==="-6.9000e-11"&&S(1.255,2)==="1.25e+0"&&S(12345,3)==="1.235e+4"&&S(25,0)==="3e+1",D=function(){return h(function(){S(1,1/0)})&&h(function(){S(1,-1/0)})},M=function(){return!h(function(){S(1/0,1/0),S(NaN,1/0)})},B=!A||!D()||!M();r({target:"Number",proto:!0,forced:B},{toExponential:function(Y){var V=c(this);if(Y===void 0)return S(V);var G=l(Y);if(!x(V))return String(V);if(G<0||G>20)throw new u("Incorrect fraction digits");if(A)return S(V,G);var ae="",ie="",ue=0,q="",J="";if(V<0&&(ae="-",V=-V),V===0)ue=0,ie=k("0",G+1);else{var K=o(V);ue=y(K);var oe=0,ee=_(10,ue-G);oe=b(V/ee),2*V>=(2*oe+1)*ee&&(oe+=1),oe>=_(10,G+1)&&(oe/=10,ue+=1),ie=a(oe)}return G!==0&&(ie=R(ie,0,1)+"."+R(ie,1)),ue===0?(q="+",J="0"):(q=ue>0?"+":"-",J=a(p(ue))),ie+="e"+q+J,ae+ie}})},58055:function(d,v,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,M,B){return M===0?B:M%2===1?_(D,M-1,B*D):_(D*D,M/2,B)},b=function(D){for(var M=0,B=D;B>=4096;)M+=12,B/=4096;for(;B>=2;)M+=1,B/=2;return M},S=function(D,M,B){for(var j=-1,Y=B;++j<6;)Y+=M*D[j],D[j]=Y%1e7,Y=a(Y/1e7)},k=function(D,M){for(var B=6,j=0;--B>=0;)j+=D[B],D[B]=a(j/M),j=j%M*1e7},R=function(D){for(var M=6,B="";--M>=0;)if(B!==""||M===0||D[M]!==0){var j=u(D[M]);B=B===""?j:B+x("0",7-j.length)+j}return B},A=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:A},{toFixed:function(M){var B=c(this),j=l(M),Y=[0,0,0,0,0,0],V="",G="0",ae,ie,ue,q;if(j<0||j>20)throw new h("Incorrect fraction digits");if(B!==B)return"NaN";if(B<=-1e21||B>=1e21)return u(B);if(B<0&&(V="-",B=-B),B>1e-21)if(ae=b(B*_(2,69,1))-69,ie=ae<0?B*_(2,-ae,1):B/_(2,ae,1),ie*=4503599627370496,ae=52-ae,ae>0){for(S(Y,0,ie),ue=j;ue>=7;)S(Y,1e7,0),ue-=7;for(S(Y,_(10,ue,1),0),ue=ae-1;ue>=23;)k(Y,8388608),ue-=23;k(Y,1<<ue),S(Y,1,1),k(Y,2),G=R(Y)}else S(Y,0,ie),S(Y,1<<-ae,0),G=R(Y)+x("0",j);return j>0?(q=G.length,G=V+(q<=j?"0."+x("0",j-q)+G:p(G,0,q-j)+"."+p(G,q-j))):G=V+G,G}})},93547:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,S;p.length>_;)S=x(a,b=p[_++]),S!==void 0&&o(y,b,S);return y}})},464:function(d,v,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,v,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,v,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,v,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(S){var k=o(y(S,b++));k in _?a(_[k],S):_[k]=[S]}),_}})},41990:function(d,v,e){"use strict";var r=e(94488),i=e(32621);r({target:"Object",stat:!0},{hasOwn:i})},55888:function(d,v,e){"use strict";var r=e(94488),i=e(12477);r({target:"Object",stat:!0,forced:Object.isExtensible!==i},{isExtensible:i})},53827:function(d,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(5370);r({target:"Object",stat:!0},{is:i})},66419:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(58218);r({target:"Object",stat:!0},{setPrototypeOf:i})},15954:function(d,v,e){"use strict";var r=e(68527),i=e(2291),l=e(28488);r||i(Object.prototype,"toString",l,{unsafe:!0})},4266:function(d,v,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,v,e){"use strict";var r=e(94488),i=e(31280);r({global:!0,forced:parseFloat!==i},{parseFloat:i})},38823:function(d,v,e){"use strict";var r=e(94488),i=e(52446);r({global:!0,forced:parseInt!==i},{parseInt:i})},4045:function(d,v,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 S=l(x.resolve),k=[],R=0,A=1;o(a,function(D){var M=R++,B=!1;A++,i(S,x,D).then(function(j){B||(B=!0,k[M]={status:"fulfilled",value:j},--A||y(k))},function(j){B||(B=!0,k[M]={status:"rejected",reason:j},--A||y(k))})}),--A||y(k)});return b.error&&_(b.value),p.promise}})},12785:function(d,v,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 S=l(x.resolve),k=[],R=0,A=1;o(a,function(D){var M=R++,B=!1;A++,i(S,x,D).then(function(j){B||(B=!0,k[M]=j,--A||y(k))},_)}),--A||y(k)});return b.error&&_(b.value),p.promise}})},50747:function(d,v,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),S=b.resolve,k=b.reject,R=o(function(){var A=l(y.resolve),D=[],M=0,B=1,j=!1;h(p,function(Y){var V=M++,G=!1;B++,i(A,y,Y).then(function(ae){G||j||(j=!0,S(ae))},function(ae){G||j||(G=!0,D[V]=ae,--B||k(new _(D,a)))})}),--B||k(new _(D,a))});return R.error&&k(R.value),b.promise}})},41902:function(d,v,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,v,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),S=e(28887).set,k=e(72933),R=e(61810),A=e(80734),D=e(66790),M=e(94844),B=e(2451),j=e(82830),Y=e(73446),V="Promise",G=j.CONSTRUCTOR,ae=j.REJECTION_EVENT,ie=j.SUBCLASSING,ue=M.getterFor(V),q=M.set,J=B&&B.prototype,K=B,oe=J,ee=c.TypeError,Q=c.document,le=c.process,Z=Y.f,$=Z,se=!!(Q&&Q.createEvent&&c.dispatchEvent),_e="unhandledrejection",De="rejectionhandled",ke=0,Ze=1,Ne=2,Bt=1,yt=2,Dt,Jt,er,tr,Xe=function(Me){var $e;return y(Me)&&p($e=Me.then)?$e:!1},Pt=function(Me,$e){var He=$e.value,nt=$e.state===Ze,ct=nt?Me.ok:Me.fail,Vt=Me.resolve,Ht=Me.reject,Pe=Me.domain,qe,Yt,Rt;try{ct?(nt||($e.rejection===yt&&et($e),$e.rejection=Bt),ct===!0?qe=He:(Pe&&Pe.enter(),qe=ct(He),Pe&&(Pe.exit(),Rt=!0)),qe===Me.promise?Ht(new ee("Promise-chain cycle")):(Yt=Xe(qe))?f(Yt,qe,Vt,Ht):Vt(qe)):Ht(He)}catch(Wt){Pe&&!Rt&&Pe.exit(),Ht(Wt)}},Zt=function(Me,$e){Me.notified||(Me.notified=!0,k(function(){for(var He=Me.reactions,nt;nt=He.get();)Pt(nt,Me);Me.notified=!1,$e&&!Me.rejection&&xt(Me)}))},ot=function(Me,$e,He){var nt,ct;se?(nt=Q.createEvent("Event"),nt.promise=$e,nt.reason=He,nt.initEvent(Me,!1,!0),c.dispatchEvent(nt)):nt={promise:$e,reason:He},!ae&&(ct=c["on"+Me])?ct(nt):Me===_e&&R("Unhandled promise rejection",He)},xt=function(Me){f(S,c,function(){var $e=Me.facade,He=Me.value,nt=ht(Me),ct;if(nt&&(ct=A(function(){l?le.emit("unhandledRejection",He,$e):ot(_e,$e,He)}),Me.rejection=l||ht(Me)?yt:Bt,ct.error))throw ct.value})},ht=function(Me){return Me.rejection!==Bt&&!Me.parent},et=function(Me){f(S,c,function(){var $e=Me.facade;l?le.emit("rejectionHandled",$e):ot(De,$e,Me.value)})},je=function(Me,$e,He){return function(nt){Me($e,nt,He)}},ge=function(Me,$e,He){Me.done||(Me.done=!0,He&&(Me=He),Me.value=$e,Me.state=Ne,Zt(Me,!0))},Se=function(Me,$e,He){if(!Me.done){Me.done=!0,He&&(Me=He);try{if(Me.facade===$e)throw new ee("Promise can't be resolved itself");var nt=Xe($e);nt?k(function(){var ct={done:!1};try{f(nt,$e,je(Se,ct,Me),je(ge,ct,Me))}catch(Vt){ge(ct,Vt,Me)}}):(Me.value=$e,Me.state=Ze,Zt(Me,!1))}catch(ct){ge({done:!1},ct,Me)}}};if(G&&(K=function($e){_(this,oe),x($e),f(Dt,this);var He=ue(this);try{$e(je(Se,He),je(ge,He))}catch(nt){ge(He,nt)}},oe=K.prototype,Dt=function($e){q(this,{type:V,done:!1,notified:!1,parent:!1,reactions:new D,rejection:!1,state:ke,value:void 0})},Dt.prototype=o(oe,"then",function($e,He){var nt=ue(this),ct=Z(b(this,K));return nt.parent=!0,ct.ok=p($e)?$e:!0,ct.fail=p(He)&&He,ct.domain=l?le.domain:void 0,nt.state===ke?nt.reactions.add(ct):k(function(){Pt(ct,nt)}),ct.promise}),Jt=function(){var Me=new Dt,$e=ue(Me);this.promise=Me,this.resolve=je(Se,$e),this.reject=je(ge,$e)},Y.f=Z=function(Me){return Me===K||Me===er?new Jt(Me):$(Me)},!i&&p(B)&&J!==Object.prototype)){tr=J.then,ie||o(J,"then",function($e,He){var nt=this;return new K(function(ct,Vt){f(tr,nt,ct,Vt)}).then($e,He)},{unsafe:!0});try{delete J.constructor}catch(Me){}h&&h(J,oe)}r({global:!0,constructor:!0,wrap:!0,forced:G},{Promise:K}),u(K,V,!1,!0),a(V)},43595:function(d,v,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")),S=o(_);return this.then(S?function(k){return u(b,_()).then(function(){return k})}:_,S?function(k){return u(b,_()).then(function(){throw k})}:_)}}),!i&&o(l)){var y=f("Promise").prototype.finally;x.finally!==y&&a(x,"finally",y,{unsafe:!0})}},24627:function(d,v,e){"use strict";e(90366),e(12785),e(41902),e(20733),e(95693),e(81930)},20733:function(d,v,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(S){i(b,x,S).then(p.resolve,y)})});return _.error&&y(_.value),p.promise}})},95693:function(d,v,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,v,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,v,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,v,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,v,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 k(){}return!(x(function(){},[],k)instanceof k)}),b=!a(function(){x(function(){})}),S=_||b;r({target:"Reflect",stat:!0,forced:S,sham:S},{construct:function(R,A){f(R),o(A);var D=arguments.length<3?R:f(arguments[2]);if(b&&!_)return x(R,A,D);if(R===D){switch(A.length){case 0:return new R;case 1:return new R(A[0]);case 2:return new R(A[0],A[1]);case 3:return new R(A[0],A[1],A[2]);case 4:return new R(A[0],A[1],A[2],A[3])}var M=[null];return l(y,M,A),new(l(c,R,M))}var B=D.prototype,j=u(h(B)?B:p),Y=l(R,j,A);return h(Y)?Y:j}})},57891:function(d,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488);r({target:"Reflect",stat:!0},{has:function(l,c){return c in l}})},7982:function(d,v,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,v,e){"use strict";var r=e(94488),i=e(48662);r({target:"Reflect",stat:!0},{ownKeys:i})},49233:function(d,v,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,v,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,v,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,S){var k=arguments.length<4?_:arguments[3],R=u.f(l(_),b),A,D,M;if(!R){if(c(D=a(_)))return p(D,b,S,k);R=x(0)}if(f(R)){if(R.writable===!1||!c(k))return!1;if(A=u.f(k,b)){if(A.get||A.set||A.writable===!1)return!1;A.value=S,h.f(k,b,A)}else h.f(k,b,x(0,S))}else{if(M=R.set,M===void 0)return!1;i(M,k,S)}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,v,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,v,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),S=e(2291),k=e(3338),R=e(32621),A=e(94844).enforce,D=e(51996),M=e(59893),B=e(6041),j=e(51224),Y=M("match"),V=i.RegExp,G=V.prototype,ae=i.SyntaxError,ie=l(G.exec),ue=l("".charAt),q=l("".replace),J=l("".indexOf),K=l("".slice),oe=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ee=/a/g,Q=/a/g,le=new V(ee)!==ee,Z=_.MISSED_STICKY,$=_.UNSUPPORTED_Y,se=r&&(!le||Z||B||j||k(function(){return Q[Y]=!1,V(ee)!==ee||V(Q)===Q||String(V(ee,"i"))!=="/a/i"})),_e=function(Bt){for(var yt=Bt.length,Dt=0,Jt="",er=!1,tr;Dt<=yt;Dt++){if(tr=ue(Bt,Dt),tr==="\\"){Jt+=tr+ue(Bt,++Dt);continue}!er&&tr==="."?Jt+="[\\s\\S]":(tr==="["?er=!0:tr==="]"&&(er=!1),Jt+=tr)}return Jt},De=function(Bt){for(var yt=Bt.length,Dt=0,Jt="",er=[],tr=h(null),Xe=!1,Pt=!1,Zt=0,ot="",xt;Dt<=yt;Dt++){if(xt=ue(Bt,Dt),xt==="\\")xt+=ue(Bt,++Dt);else if(xt==="]")Xe=!1;else if(!Xe)switch(!0){case xt==="[":Xe=!0;break;case xt==="(":ie(oe,K(Bt,Dt+1))&&(Dt+=2,Pt=!0),Jt+=xt,Zt++;continue;case(xt===">"&&Pt):if(ot===""||R(tr,ot))throw new ae("Invalid capture group name");tr[ot]=!0,er[er.length]=[ot,Zt],Pt=!1,ot="";continue}Pt?ot+=xt:Jt+=xt}return[Jt,er]};if(c("RegExp",se)){for(var ke=function(yt,Dt){var Jt=a(G,this),er=x(yt),tr=Dt===void 0,Xe=[],Pt=yt,Zt,ot,xt,ht,et,je;if(!Jt&&er&&tr&&yt.constructor===ke)return yt;if((er||a(G,yt))&&(yt=yt.source,tr&&(Dt=y(Pt))),yt=yt===void 0?"":p(yt),Dt=Dt===void 0?"":p(Dt),Pt=yt,B&&"dotAll"in ee&&(ot=!!Dt&&J(Dt,"s")>-1,ot&&(Dt=q(Dt,/s/g,""))),Zt=Dt,Z&&"sticky"in ee&&(xt=!!Dt&&J(Dt,"y")>-1,xt&&$&&(Dt=q(Dt,/y/g,""))),j&&(ht=De(yt),yt=ht[0],Xe=ht[1]),et=f(V(yt,Dt),Jt?this:G,ke),(ot||xt||Xe.length)&&(je=A(et),ot&&(je.dotAll=!0,je.raw=ke(_e(yt),Zt)),xt&&(je.sticky=!0),Xe.length&&(je.groups=Xe)),yt!==Pt)try{o(et,"source",Pt===""?"(?:)":Pt)}catch(ge){}return et},Ze=u(V),Ne=0;Ze.length>Ne;)b(ke,V,Ze[Ne++]);G.constructor=ke,ke.prototype=G,S(i,"RegExp",ke,{constructor:!0})}D("RegExp")},62921:function(d,v,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,v,e){"use strict";var r=e(94488),i=e(88736);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},92262:function(d,v,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(R){a=!1}var x={},p="",y=a?"dgimsy":"gimsy",_=function(R,A){Object.defineProperty(x,R,{get:function(){return p+=A,!0}})},b={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};a&&(b.hasIndices="d");for(var S in b)_(S,b[S]);var k=Object.getOwnPropertyDescriptor(h,"flags").get.call(x);return k!==y||p!==y});u&&l(h,"flags",{configurable:!0,get:c})},54744:function(d,v,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,v,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,v,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),S=c(o(_));return"/"+b+"/"+S},{unsafe:!0})},69772:function(d,v,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,v,e){"use strict";e(69772)},34932:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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 S=l(String.prototype,"endsWith");return S&&!S.writable}();r({target:"String",proto:!0,forced:!b&&!_},{endsWith:function(k){var R=f(h(this));o(k);var A=arguments.length>1?arguments[1]:void 0,D=R.length,M=A===void 0?D:y(c(A),D),B=f(k);return x?x(R,B,M):p(R,M-B.length,M)===B}})},56338:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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),S=e(2291),k=e(3338),R=e(59893),A=e(60473),D=e(52216),M=e(94338),B=e(94844),j=e(16697),Y=R("matchAll"),V="RegExp String",G=V+" Iterator",ae=B.set,ie=B.getterFor(G),ue=RegExp.prototype,q=TypeError,J=l("".indexOf),K=l("".matchAll),oe=!!K&&!k(function(){K("a",/./)}),ee=c(function(Z,$,se,_e){ae(this,{type:G,regexp:Z,string:$,global:se,unicode:_e,done:!1})},V,function(){var Z=ie(this);if(Z.done)return f(void 0,!0);var $=Z.regexp,se=Z.string,_e=M($,se);return _e===null?(Z.done=!0,f(void 0,!0)):Z.global?(u(_e[0])===""&&($.lastIndex=D(se,h($.lastIndex),Z.unicode)),f(_e,!1)):(Z.done=!0,f(_e,!1))}),Q=function(le){var Z=a(this),$=u(le),se=A(Z,RegExp),_e=u(_(Z)),De,ke,Ze;return De=new se(se===RegExp?Z.source:Z,_e),ke=!!~J(_e,"g"),Ze=!!~J(_e,"u"),De.lastIndex=h(Z.lastIndex),new ee(De,$,ke,Ze)};r({target:"String",proto:!0,forced:oe},{matchAll:function(Z){var $=o(this),se,_e,De,ke;if(x(Z)){if(oe)return K($,Z)}else{if(y(Z)&&(se=u(o(_(Z))),!~J(se,"g")))throw new q("`.matchAll` does not allow non-global regexes");if(oe)return K($,Z);if(De=b(Z,Y),De===void 0&&j&&p(Z)==="RegExp"&&(De=Q),De)return i(De,Z,$)}return _e=u($),ke=new RegExp(Z,"g"),j?i(Q,ke,_e):ke[Y](_e)}}),j||Y in ue||S(ue,Y,Q)},46302:function(d,v,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(S){var k=h(this),R=c(S)?void 0:u(S,p);return R?r(R,S,k):new RegExp(S)[p](o(k))},function(b){var S=l(this),k=o(b),R=_(y,S,k);if(R.done)return R.value;if(!S.global)return x(S,k);var A=S.unicode;S.lastIndex=0;for(var D=[],M=0,B;(B=x(S,k))!==null;){var j=o(B[0]);D[M]=j,j===""&&(S.lastIndex=a(k,f(S.lastIndex),A)),M++}return M===0?null:D}]})},76718:function(d,v,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,v,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,v,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=[],S=0;;){if(h(b,f(p[S++])),S===y)return u(b,"");S<_&&h(b,f(arguments[S]))}}})},42828:function(d,v,e){"use strict";var r=e(94488),i=e(71049);r({target:"String",proto:!0},{repeat:i})},55629:function(d,v,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"),S=TypeError,k=l("".indexOf),R=l("".replace),A=l("".slice),D=Math.max,M=function(B,j,Y){return Y>B.length?-1:j===""?Y:k(B,j,Y)};r({target:"String",proto:!0},{replaceAll:function(j,Y){var V=c(this),G,ae,ie,ue,q,J,K,oe,ee,Q=0,le=0,Z="";if(!o(j)){if(G=h(j),G&&(ae=u(c(x(j))),!~k(ae,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(ie=a(j,b),ie)return i(ie,j,V,Y);if(_&&G)return R(u(V),j,Y)}for(ue=u(V),q=u(j),J=f(Y),J||(Y=u(Y)),K=q.length,oe=D(1,K),Q=M(ue,q,0);Q!==-1;)ee=J?u(Y(q,Q,ue)):p(q,ue,Q,[],void 0,Y),Z+=A(ue,le,Q)+ee,le=Q+K,Q=M(ue,q,Q+oe);return le<ue.length&&(Z+=A(ue,le)),Z}})},5658:function(d,v,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),S=e(23011),k=e(94338),R=e(59893),A=R("replace"),D=Math.max,M=Math.min,B=l([].concat),j=l([].push),Y=l("".indexOf),V=l("".slice),G=function(q){return q===void 0?q:String(q)},ae=function(){return"a".replace(/./,"$0")==="$0"}(),ie=function(){return/./[A]?/./[A]("a","$0")==="":!1}(),ue=!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,K){var oe=ie?"$":"$0";return[function(Q,le){var Z=y(this),$=u(Q)?void 0:b(Q,A);return $?i($,Q,Z,le):i(J,p(Z),Q,le)},function(ee,Q){var le=o(this),Z=p(ee);if(typeof Q=="string"&&Y(Q,oe)===-1&&Y(Q,"$<")===-1){var $=K(J,le,Z,Q);if($.done)return $.value}var se=h(Q);se||(Q=p(Q));var _e=le.global,De;_e&&(De=le.unicode,le.lastIndex=0);for(var ke=[],Ze;Ze=k(le,Z),!(Ze===null||(j(ke,Ze),!_e));){var Ne=p(Ze[0]);Ne===""&&(le.lastIndex=_(Z,x(le.lastIndex),De))}for(var Bt="",yt=0,Dt=0;Dt<ke.length;Dt++){Ze=ke[Dt];for(var Jt=p(Ze[0]),er=D(M(a(Ze.index),Z.length),0),tr=[],Xe,Pt=1;Pt<Ze.length;Pt++)j(tr,G(Ze[Pt]));var Zt=Ze.groups;if(se){var ot=B([Jt],tr,er,Z);Zt!==void 0&&j(ot,Zt),Xe=p(r(Q,void 0,ot))}else Xe=S(Jt,Z,er,tr,Zt,Q);er>=yt&&(Bt+=V(Z,yt,er)+Xe,yt=er+Jt.length)}return Bt+V(Z,yt)}]},!ue||!ae||ie)},62925:function(d,v,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 S=f(this),k=c(b)?void 0:u(b,x);return k?r(k,b,S):new RegExp(b)[x](h(S))},function(_){var b=l(this),S=h(_),k=y(p,b,S);if(k.done)return k.value;var R=b.lastIndex;o(R,0)||(b.lastIndex=0);var A=a(b,S);return o(b.lastIndex,R)||(b.lastIndex=R),A===null?-1:A.index}]})},60462:function(d,v,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,v,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),S=e(94338),k=e(88736),R=e(19286),A=e(3338),D=R.UNSUPPORTED_Y,M=4294967295,B=Math.min,j=[].push,Y=l(/./.exec),V=l(j),G=l("".slice),ae=!A(function(){var ie=/(?:)/,ue=ie.exec;ie.exec=function(){return ue.apply(this,arguments)};var q="ab".split(ie);return q.length!==2||q[0]!=="a"||q[1]!=="b"});c("split",function(ie,ue,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(K,oe){var ee=y(u(this)),Q=oe===void 0?M:oe>>>0;if(Q===0)return[];if(K===void 0)return[ee];if(!h(K))return i(ue,ee,K,Q);for(var le=[],Z=(K.ignoreCase?"i":"")+(K.multiline?"m":"")+(K.unicode?"u":"")+(K.sticky?"y":""),$=0,se=new RegExp(K.source,Z+"g"),_e,De,ke;(_e=i(k,se,ee))&&(De=se.lastIndex,!(De>$&&(V(le,G(ee,$,_e.index)),_e.length>1&&_e.index<ee.length&&r(j,le,b(_e,1)),ke=_e[0].length,$=De,le.length>=Q)));)se.lastIndex===_e.index&&se.lastIndex++;return $===ee.length?(ke||!Y(se,""))&&V(le,""):V(le,G(ee,$)),le.length>Q?b(le,0,Q):le}:"0".split(void 0,0).length?J=function(K,oe){return K===void 0&&oe===0?[]:i(ue,this,K,oe)}:J=ue,[function(oe,ee){var Q=u(this),le=o(oe)?void 0:_(oe,ie);return le?i(le,oe,Q,ee):i(J,y(Q),oe,ee)},function(K,oe){var ee=f(this),Q=y(K),le=q(J,ee,Q,oe,J!==ue);if(le.done)return le.value;var Z=a(ee,RegExp),$=ee.unicode,se=(ee.ignoreCase?"i":"")+(ee.multiline?"m":"")+(ee.unicode?"u":"")+(D?"g":"y"),_e=new Z(D?"^(?:"+ee.source+")":ee,se),De=oe===void 0?M:oe>>>0;if(De===0)return[];if(Q.length===0)return S(_e,Q)===null?[Q]:[];for(var ke=0,Ze=0,Ne=[];Ze<Q.length;){_e.lastIndex=D?0:Ze;var Bt=S(_e,D?G(Q,Ze):Q),yt;if(Bt===null||(yt=B(p(_e.lastIndex+(D?Ze:0)),Q.length))===ke)Ze=x(Q,Ze,$);else{if(V(Ne,G(Q,ke,Ze)),Ne.length===De)return Ne;for(var Dt=1;Dt<=Bt.length-1;Dt++)if(V(Ne,Bt[Dt]),Ne.length===De)return Ne;Ze=ke=yt}}return V(Ne,G(Q,ke)),Ne}]},!ae,D)},58127:function(d,v,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 S=l(String.prototype,"startsWith");return S&&!S.writable}();r({target:"String",proto:!0,forced:!b&&!_},{startsWith:function(k){var R=f(h(this));o(k);var A=c(y(arguments.length>1?arguments[1]:void 0,R.length)),D=f(k);return x?x(R,D,A):p(R,A,A+D.length)===D}})},72571:function(d,v,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,v,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,v,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,S=c(p),k,R;return S===1/0&&(S=0),S<0&&(S=h(b+S,0)),k=y===void 0?b:c(y),k<=0||k===1/0?"":(R=u(S+k,b),S>=R?"":o(_,S,R))}})},85767:function(d,v,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,v,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 S=f(c(this));if(_)return i(p,S);for(var k=S.length,R=h(k),A=0;A<k;A++){var D=a(S,A);(D&63488)!==55296?R[A]=u(S,A):D>=56320||A+1>=k||(a(S,A+1)&64512)!==56320?R[A]=y:(R[A]=u(S,A),R[++A]=u(S,A))}return x(R,"")}})},49257:function(d,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94674);r("asyncIterator")},39161:function(d,v,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),S=e(35012),k=e(20132),R=e(7733),A=e(80689),D=e(53393),M=e(92635),B=e(71256),j=e(37691),Y=e(55666),V=e(27597),G=e(2291),ae=e(64110),ie=e(77898),ue=e(11898),q=e(54406),J=e(6145),K=e(59893),oe=e(38282),ee=e(94674),Q=e(14311),le=e(94573),Z=e(94844),$=e(90560).forEach,se=ue("hidden"),_e="Symbol",De="prototype",ke=Z.set,Ze=Z.getterFor(_e),Ne=Object[De],Bt=i.Symbol,yt=Bt&&Bt[De],Dt=i.RangeError,Jt=i.TypeError,er=i.QObject,tr=B.f,Xe=j.f,Pt=D.f,Zt=V.f,ot=c([].push),xt=ie("symbols"),ht=ie("op-symbols"),et=ie("wks"),je=!er||!er[De]||!er[De].findChild,ge=function(qe,Yt,Rt){var Wt=tr(Ne,Yt);Wt&&delete Ne[Yt],Xe(qe,Yt,Rt),Wt&&qe!==Ne&&Xe(Ne,Yt,Wt)},Se=o&&u(function(){return k(Xe({},"a",{get:function(){return Xe(this,"a",{value:7}).a}})).a!==7})?ge:Xe,Me=function(qe,Yt){var Rt=xt[qe]=k(yt);return ke(Rt,{type:_e,tag:qe,description:Yt}),o||(Rt.description=Yt),Rt},$e=function(Yt,Rt,Wt){Yt===Ne&&$e(ht,Rt,Wt),p(Yt);var $t=_(Rt);return p(Wt),a(xt,$t)?(Wt.enumerable?(a(Yt,se)&&Yt[se][$t]&&(Yt[se][$t]=!1),Wt=k(Wt,{enumerable:S(0,!1)})):(a(Yt,se)||Xe(Yt,se,S(1,{})),Yt[se][$t]=!0),Se(Yt,$t,Wt)):Xe(Yt,$t,Wt)},He=function(Yt,Rt){p(Yt);var Wt=y(Rt),$t=R(Wt).concat(Pe(Wt));return $($t,function(At){(!o||l(ct,Wt,At))&&$e(Yt,At,Wt[At])}),Yt},nt=function(Yt,Rt){return Rt===void 0?k(Yt):He(k(Yt),Rt)},ct=function(Yt){var Rt=_(Yt),Wt=l(Zt,this,Rt);return this===Ne&&a(xt,Rt)&&!a(ht,Rt)?!1:Wt||!a(this,Rt)||!a(xt,Rt)||a(this,se)&&this[se][Rt]?Wt:!0},Vt=function(Yt,Rt){var Wt=y(Yt),$t=_(Rt);if(!(Wt===Ne&&a(xt,$t)&&!a(ht,$t))){var At=tr(Wt,$t);return At&&a(xt,$t)&&!(a(Wt,se)&&Wt[se][$t])&&(At.enumerable=!0),At}},Ht=function(Yt){var Rt=Pt(y(Yt)),Wt=[];return $(Rt,function($t){!a(xt,$t)&&!a(q,$t)&&ot(Wt,$t)}),Wt},Pe=function(qe){var Yt=qe===Ne,Rt=Pt(Yt?ht:y(qe)),Wt=[];return $(Rt,function($t){a(xt,$t)&&(!Yt||a(Ne,$t))&&ot(Wt,xt[$t])}),Wt};h||(Bt=function(){if(x(yt,this))throw new Jt("Symbol is not a constructor");var Yt=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),Rt=J(Yt),Wt=function($t){var At=this===void 0?i:this;At===Ne&&l(Wt,ht,$t),a(At,se)&&a(At[se],Rt)&&(At[se][Rt]=!1);var Xt=S(1,$t);try{Se(At,Rt,Xt)}catch(We){if(!(We instanceof Dt))throw We;ge(At,Rt,Xt)}};return o&&je&&Se(Ne,Rt,{configurable:!0,set:Wt}),Me(Rt,Yt)},yt=Bt[De],G(yt,"toString",function(){return Ze(this).tag}),G(Bt,"withoutSetter",function(qe){return Me(J(qe),qe)}),V.f=ct,j.f=$e,Y.f=He,B.f=Vt,A.f=D.f=Ht,M.f=Pe,oe.f=function(qe){return Me(K(qe),qe)},o&&(ae(yt,"description",{configurable:!0,get:function(){return Ze(this).description}}),f||G(Ne,"propertyIsEnumerable",ct,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Bt}),$(R(et),function(qe){ee(qe)}),r({target:_e,stat:!0,forced:!h},{useSetter:function(){je=!0},useSimple:function(){je=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!o},{create:nt,defineProperty:$e,defineProperties:He,getOwnPropertyDescriptor:Vt}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Ht}),Q(),le(Bt,_e),q[se]=!0},44852:function(d,v,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]),Y=h(y,this)?new p(j):j===void 0?p():p(j);return j===""&&(_[Y]=!0),Y};x(b,p),b.prototype=y,y.constructor=b;var S=String(p("description detection"))==="Symbol(description detection)",k=c(y.valueOf),R=c(y.toString),A=/^Symbol\((.*)\)[^)]+$/,D=c("".replace),M=c("".slice);a(y,"description",{configurable:!0,get:function(){var j=k(this);if(f(_,j))return"";var Y=R(j),V=S?M(Y,7,-1):D(Y,A,"$1");return V===""?void 0:V}}),r({global:!0,constructor:!0,forced:!0},{Symbol:b})}},54524:function(d,v,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,v,e){"use strict";var r=e(94674);r("hasInstance")},40902:function(d,v,e){"use strict";var r=e(94674);r("isConcatSpreadable")},2259:function(d,v,e){"use strict";var r=e(94674);r("iterator")},68557:function(d,v,e){"use strict";e(39161),e(54524),e(32340),e(54226),e(67936)},32340:function(d,v,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,v,e){"use strict";var r=e(94674);r("matchAll")},14589:function(d,v,e){"use strict";var r=e(94674);r("match")},18114:function(d,v,e){"use strict";var r=e(94674);r("replace")},23844:function(d,v,e){"use strict";var r=e(94674);r("search")},39581:function(d,v,e){"use strict";var r=e(94674);r("species")},40632:function(d,v,e){"use strict";var r=e(94674);r("split")},22690:function(d,v,e){"use strict";var r=e(94674),i=e(14311);r("toPrimitive"),i()},7786:function(d,v,e){"use strict";var r=e(65911),i=e(94674),l=e(94573);i("toStringTag"),l(r("Symbol"),"Symbol")},99062:function(d,v,e){"use strict";var r=e(94674);r("unscopables")},35246:function(d,v,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,v,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,v,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,v,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 S=x(c(this),0,3)==="Big"?l(_):+_;return f(i,this,S,b>1?arguments[1]:void 0,b>2?arguments[2]:void 0)},p)},24860:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(59627),i=e(58261).exportTypedArrayStaticMethod,l=e(50706);i("from",l,r)},19299:function(d,v,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,v,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,v,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,v,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,v,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,v,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,S=!i(function(){b[h].call([1])}),k=!!b&&b.values&&b[h]===b.values&&b.values.name==="values",R=function(){return a(y(this))};_("entries",function(){return p(y(this))},S),_("keys",function(){return x(y(this))},S),_("values",R,S||!k,{name:"values"}),_(h,R,S||!k,{name:"values"})},27730:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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 k=new Uint8ClampedArray(2);return i(p,k,{length:1,0:3},1),k[1]!==3}),S=b&&l.NATIVE_ARRAY_BUFFER_VIEWS&&h(function(){var k=new a(2);return k.set(1),k.set("2",1),k[0]!==0||k[1]!==2});_("set",function(R){y(this);var A=f(arguments.length>1?arguments[1]:void 0,1),D=o(R);if(b)return i(p,this,D,A);var M=this.length,B=c(D),j=0;if(B+A>M)throw new u("Wrong length");for(;j<B;)this[A+j]=D[j++]},!b||S)},69653:function(d,v,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,S=new y(b);b>_;)S[_]=p[_++];return S},h)},96519:function(d,v,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,v,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),S=!!b&&!(l(function(){b(new _(2),null)})&&l(function(){b(new _(2),{})})),k=!!b&&!l(function(){if(a)return a<74;if(h)return h<67;if(u)return!0;if(x)return x<602;var A=new _(516),D=Array(516),M,B;for(M=0;M<516;M++)B=M%4,A[M]=515-M,D[M]=M-2*B+3;for(b(A,function(j,Y){return(j/4|0)-(Y/4|0)}),M=0;M<516;M++)if(A[M]!==D[M])return!0}),R=function(A){return function(D,M){return A!==void 0?+A(D,M)||0:M!==M?-1:D!==D?1:D===0&&M===0?1/D>0&&1/M<0?1:-1:D>M}};y("sort",function(D){return D!==void 0&&c(D),k?b(this,D):f(p(this),R(D))},!k||S)},63079:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,S=0,k,R;S<b;){if(k=f(y,S++),k==="%"){if(f(y,S)==="u"){if(R=h(y,S+1,S+5),o(a,R)){_+=c(parseInt(R,16)),S+=5;continue}}else if(R=h(y,S,S+2),o(u,R)){_+=c(parseInt(R,16)),S+=2;continue}}_+=k}return _}})},58453:function(d,v,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,S=y.isFrozen,k=y.isSealed,R=y.freeze,A=y.seal,D={},M={},B=!i.ActiveXObject&&"ActiveXObject"in i,j,Y=function(K){return function(){return K(this,arguments.length?arguments[0]:void 0)}},V=o("WeakMap",Y,h),G=V.prototype,ae=l(G.set),ie=function(){return r&&x(function(){var K=R([]);return ae(new V,K,1),!S(K)})};if(p)if(B){j=h.getConstructor(Y,"WeakMap",!0),f.enable();var ue=l(G.delete),q=l(G.has),J=l(G.get);c(G,{delete:function(K){if(u(K)&&!b(K)){var oe=a(this);return oe.frozen||(oe.frozen=new j),ue(this,K)||oe.frozen.delete(K)}return ue(this,K)},has:function(oe){if(u(oe)&&!b(oe)){var ee=a(this);return ee.frozen||(ee.frozen=new j),q(this,oe)||ee.frozen.has(oe)}return q(this,oe)},get:function(oe){if(u(oe)&&!b(oe)){var ee=a(this);return ee.frozen||(ee.frozen=new j),q(this,oe)?J(this,oe):ee.frozen.get(oe)}return J(this,oe)},set:function(oe,ee){if(u(oe)&&!b(oe)){var Q=a(this);Q.frozen||(Q.frozen=new j),q(this,oe)?ae(this,oe,ee):Q.frozen.set(oe,ee)}else ae(this,oe,ee);return this}})}else ie()&&c(G,{set:function(oe,ee){var Q;return _(oe)&&(S(oe)?Q=D:k(oe)&&(Q=M)),ae(this,oe,ee),Q===D&&R(oe),Q===M&&A(oe),this}})},55410:function(d,v,e){"use strict";e(58453)},65092:function(d,v,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,v,e){"use strict";e(65092)},88900:function(d,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(32278);r({target:"Array",stat:!0},{fromAsync:i})},64963:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,S=a("asyncDispose"),k=a("toStringTag"),R="AsyncDisposableStack",A=x.set,D=x.getterFor(R),M="async-dispose",B="disposed",j="pending",Y=function(ae){var ie=D(ae);if(ie.state===B)throw new b(R+" already disposed");return ie},V=function(){A(f(this,G),{type:R,state:j,stack:[]}),i||(this.disposed=!1)},G=V.prototype;h(G,{disposeAsync:function(){var ie=this;return new y(function(ue,q){var J=D(ie);if(J.state===B)return ue(void 0);J.state=B,i||(ie.disposed=!0);var K=J.stack,oe=K.length,ee=!1,Q,le=function($){ee?Q=new _($,Q):(ee=!0,Q=$),Z()},Z=function(){if(oe){var $=K[--oe];K[oe]=null;try{y.resolve($()).then(Z,le)}catch(se){le(se)}}else J.stack=null,ee?q(Q):ue(void 0)};Z()})},use:function(ie){return p(Y(this),ie,M),ie},adopt:function(ie,ue){var q=Y(this);return c(ue),p(q,void 0,M,function(){return ue(ie)}),ie},defer:function(ie){var ue=Y(this);c(ie),p(ue,void 0,M,ie)},move:function(){var ie=Y(this),ue=new V;return D(ue).stack=ie.stack,ie.stack=[],ie.state=B,i||(this.disposed=!0),ue}}),i&&u(G,"disposed",{configurable:!0,get:function(){return D(this).state===B}}),o(G,S,G.disposeAsync,{name:"disposeAsync"}),o(G,k,R,{nonWritable:!0}),r({global:!0,constructor:!0},{AsyncDisposableStack:V})},48966:function(d,v,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,v,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,v,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,v,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 S=function(R){y.done=!0,b(R)},k=function(){try{p.resolve(l(i(y.next,y.iterator))).then(function(R){try{l(R).done?(y.done=!0,_(u(void 0,!0))):y.remaining?(y.remaining--,k()):_(u(R.value,!1))}catch(A){S(A)}},S)}catch(R){S(R)}};k()})});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,v,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,v,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,S=_.predicate;return new y(function(k,R){var A=function(B){_.done=!0,R(B)},D=function(B){a(b,A,B,A)},M=function(){try{y.resolve(c(i(_.next,b))).then(function(B){try{if(c(B).done)_.done=!0,k(u(void 0,!0));else{var j=B.value;try{var Y=S(j,_.counter++),V=function(G){G?k(u(j,!1)):M()};f(Y)?y.resolve(Y).then(V,D):V(Y)}catch(G){D(G)}}}catch(G){A(G)}},A)}catch(B){A(B)}};M()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:x},{filter:function(_){return c(this),l(_),new p(o(this),{predicate:_})}})},27427:function(d,v,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,v,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,S=b.iterator,k=b.mapper;return new _(function(R,A){var D=function(Y){b.done=!0,A(Y)},M=function(Y){x(S,D,Y,D)},B=function(){try{_.resolve(c(i(b.next,S))).then(function(Y){try{if(c(Y).done)b.done=!0,R(u(void 0,!0));else{var V=Y.value;try{var G=k(V,b.counter++),ae=function(ie){try{b.inner=a(ie),j()}catch(ue){M(ue)}};f(G)?_.resolve(G).then(ae,M):ae(G)}catch(ie){M(ie)}}}catch(ie){D(ie)}},D)}catch(Y){D(Y)}},j=function(){var Y=b.inner;if(Y)try{_.resolve(c(i(Y.next,Y.iterator))).then(function(V){try{c(V).done?(b.inner=null,B()):R(u(V.value,!1))}catch(G){M(G)}},M)}catch(V){M(V)}else B()};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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(34535);r({target:"AsyncIterator",proto:!0,real:!0,forced:!0},{indexed:i})},413:function(d,v,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,v,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,S=_.next,k=arguments.length<2,R=k?void 0:arguments[1],A=0;return new a(function(D,M){var B=function(Y){u(b,M,Y,M)},j=function(){try{a.resolve(c(i(S,b))).then(function(Y){try{if(c(Y).done)k?M(new x("Reduce of empty iterator with no initial value")):D(R);else{var V=Y.value;if(k)k=!1,R=V,j();else try{var G=y(R,V,A),ae=function(ie){R=ie,j()};f(G)?a.resolve(G).then(ae,B):ae(G)}catch(ie){B(ie)}}A++}catch(ie){M(ie)}},M)}catch(Y){M(Y)}};j()})}})},77703:function(d,v,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,v,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 S=u(void 0,!0);return y.done=!0,b=_.return,b!==void 0?p.resolve(i(b,_,void 0)).then(function(){return S}):S}return p.resolve(i(y.next,_)).then(function(k){return l(k).done?(y.done=!0,u(void 0,!0)):u(k.value,!1)}).then(null,function(k){throw y.done=!0,k})});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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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"),S=a("toStringTag"),k="DisposableStack",R=x.set,A=x.getterFor(k),D="sync-dispose",M="disposed",B="pending",j=function(G){var ae=A(G);if(ae.state===M)throw new _(k+" already disposed");return ae},Y=function(){R(f(this,V),{type:k,state:B,stack:[]}),i||(this.disposed=!1)},V=Y.prototype;h(V,{dispose:function(){var ae=A(this);if(ae.state!==M){ae.state=M,i||(this.disposed=!0);for(var ie=ae.stack,ue=ie.length,q=!1,J;ue;){var K=ie[--ue];ie[ue]=null;try{K()}catch(oe){q?J=new y(oe,J):(q=!0,J=oe)}}if(ae.stack=null,q)throw J}},use:function(ae){return p(j(this),ae,D),ae},adopt:function(ae,ie){var ue=j(this);return c(ie),p(ue,void 0,D,function(){ie(ae)}),ae},defer:function(ae){var ie=j(this);c(ae),p(ie,void 0,D,ae)},move:function(){var ae=j(this),ie=new Y;return A(ie).stack=ae.stack,ae.stack=[],ae.state=M,i||(this.disposed=!0),ie}}),i&&u(V,"disposed",{configurable:!0,get:function(){return A(this).state===M}}),o(V,b,V.dispose,{name:"dispose"}),o(V,S,k,{nonWritable:!0}),r({global:!0,constructor:!0},{DisposableStack:Y})},36955:function(d,v,e){"use strict";var r=e(94488),i=e(47739);r({target:"Function",proto:!0,forced:!0},{demethodize:i})},77326:function(d,v,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,v,e){"use strict";var r=e(94488),i=e(39812);r({target:"Function",stat:!0,forced:!0},{isConstructor:i})},28670:function(d,v,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,v,e){"use strict";var r=e(94488),i=e(47739);r({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:i})},96364:function(d,v,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,v,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),S="constructor",k="Iterator",R=p("toStringTag"),A=TypeError,D=i[k],M=b||!f(D)||D.prototype!==y||!a(function(){D({})}),B=function(){if(l(this,y),o(this)===y)throw new A("Abstract class Iterator not directly constructable")},j=function(Y,V){_?h(y,Y,{configurable:!0,get:function(){return V},set:function(G){if(c(this),this===y)throw new A("You can't redefine this property");x(this,Y)?this[Y]=G:u(this,Y,G)}}):y[Y]=V};x(y,R)||j(R,k),(M||!x(y,S)||y[S]===Object)&&j(S,B),B.prototype=y,r({global:!0,constructor:!0,forced:M},{Iterator:B})},46304:function(d,v,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,v,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,v,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,v,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,S;;){if(_=c(i(y,x)),b=this.done=!!_.done,b)return;if(S=_.value,h(x,p,[S,this.counter++],!0))return S}});r({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function(p){return c(this),l(p),new a(f(this),{predicate:p})}})},81848:function(d,v,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,v,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(S){u(p,"throw",S)}if(_=c(i(this.next,p)),this.done=!!_.done)return;try{this.inner=o(y(_.value,this.counter++),!1)}catch(S){u(p,"throw",S)}}});r({target:"Iterator",proto:!0,real:!0,forced:a},{flatMap:function(y){return c(this),l(y),new x(f(this),{mapper:y,inner:null})}})},72211:function(d,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(24771);r({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:i})},19517:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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),S=e(70913),k=e(42820),R=l.JSON,A=l.Number,D=l.SyntaxError,M=R&&R.parse,B=c("Object","keys"),j=Object.getOwnPropertyDescriptor,Y=f("".charAt),V=f("".slice),G=f(/./.exec),ae=f([].push),ie=/^\d$/,ue=/^[1-9]$/,q=/^(?:-|\d)$/,J=/^[\t\n\r ]$/,K=0,oe=1,ee=function(De,ke){De=p(De);var Ze=new $(De,0,""),Ne=Ze.parse(),Bt=Ne.value,yt=Ze.skip(J,Ne.end);if(yt<De.length)throw new D('Unexpected extra character: "'+Y(De,yt)+'" after the parsed data at: '+yt);return h(ke)?Q({"":Bt},"",ke,Ne):Bt},Q=function(De,ke,Ze,Ne){var Bt=De[ke],yt=Ne&&Bt===Ne.value,Dt=yt&&typeof Ne.source=="string"?{source:Ne.source}:{},Jt,er,tr,Xe,Pt;if(u(Bt)){var Zt=a(Bt),ot=yt?Ne.nodes:Zt?[]:{};if(Zt)for(Jt=ot.length,tr=y(Bt),Xe=0;Xe<tr;Xe++)le(Bt,Xe,Q(Bt,""+Xe,Ze,Xe<Jt?ot[Xe]:void 0));else for(er=B(Bt),tr=y(er),Xe=0;Xe<tr;Xe++)Pt=er[Xe],le(Bt,Pt,Q(Bt,Pt,Ze,x(ot,Pt)?ot[Pt]:void 0))}return o(Ze,De,ke,Bt,Dt)},le=function(De,ke,Ze){if(i){var Ne=j(De,ke);if(Ne&&!Ne.configurable)return}Ze===void 0?delete De[ke]:_(De,ke,Ze)},Z=function(De,ke,Ze,Ne){this.value=De,this.end=ke,this.source=Ze,this.nodes=Ne},$=function(De,ke){this.source=De,this.index=ke};$.prototype={fork:function(De){return new $(this.source,De)},parse:function(){var De=this.source,ke=this.skip(J,this.index),Ze=this.fork(ke),Ne=Y(De,ke);if(G(q,Ne))return Ze.number();switch(Ne){case"{":return Ze.object();case"[":return Ze.array();case'"':return Ze.string();case"t":return Ze.keyword(!0);case"f":return Ze.keyword(!1);case"n":return Ze.keyword(null)}throw new D('Unexpected character: "'+Ne+'" at: '+ke)},node:function(De,ke,Ze,Ne,Bt){return new Z(ke,Ne,De?null:V(this.source,Ze,Ne),Bt)},object:function(){for(var De=this.source,ke=this.index+1,Ze=!1,Ne={},Bt={};ke<De.length;){if(ke=this.until(['"',"}"],ke),Y(De,ke)==="}"&&!Ze){ke++;break}var yt=this.fork(ke).string(),Dt=yt.value;ke=yt.end,ke=this.until([":"],ke)+1,ke=this.skip(J,ke),yt=this.fork(ke).parse(),_(Bt,Dt,yt),_(Ne,Dt,yt.value),ke=this.until([",","}"],yt.end);var Jt=Y(De,ke);if(Jt===",")Ze=!0,ke++;else if(Jt==="}"){ke++;break}}return this.node(oe,Ne,this.index,ke,Bt)},array:function(){for(var De=this.source,ke=this.index+1,Ze=!1,Ne=[],Bt=[];ke<De.length;){if(ke=this.skip(J,ke),Y(De,ke)==="]"&&!Ze){ke++;break}var yt=this.fork(ke).parse();if(ae(Bt,yt),ae(Ne,yt.value),ke=this.until([",","]"],yt.end),Y(De,ke)===",")Ze=!0,ke++;else if(Y(De,ke)==="]"){ke++;break}}return this.node(oe,Ne,this.index,ke,Bt)},string:function(){var De=this.index,ke=S(this.source,this.index+1);return this.node(K,ke.value,De,ke.end)},number:function(){var De=this.source,ke=this.index,Ze=ke;if(Y(De,Ze)==="-"&&Ze++,Y(De,Ze)==="0")Ze++;else if(G(ue,Y(De,Ze)))Ze=this.skip(ie,++Ze);else throw new D("Failed to parse number at: "+Ze);if(Y(De,Ze)==="."&&(Ze=this.skip(ie,++Ze)),Y(De,Ze)==="e"||Y(De,Ze)==="E"){Ze++,(Y(De,Ze)==="+"||Y(De,Ze)==="-")&&Ze++;var Ne=Ze;if(Ze=this.skip(ie,Ze),Ne===Ze)throw new D("Failed to parse number's exponent value at: "+Ze)}return this.node(K,A(V(De,ke,Ze)),ke,Ze)},keyword:function(De){var ke=""+De,Ze=this.index,Ne=Ze+ke.length;if(V(this.source,Ze,Ne)!==ke)throw new D("Failed to parse value at: "+Ze);return this.node(K,De,Ze,Ne)},skip:function(De,ke){for(var Ze=this.source;ke<Ze.length&&G(De,Y(Ze,ke));ke++);return ke},until:function(De,ke){ke=this.skip(J,ke);for(var Ze=Y(this.source,ke),Ne=0;Ne<De.length;Ne++)if(De[Ne]===Ze)return ke;throw new D('Unexpected character: "'+Ze+'" at: '+ke)}};var se=b(function(){var De="9007199254740993",ke;return M(De,function(Ze,Ne,Bt){ke=Bt.source}),ke!==De}),_e=k&&!b(function(){return 1/M("-0 ")!==-1/0});r({target:"JSON",stat:!0,forced:se},{parse:function(ke,Ze){return _e&&!h(Ze)?M(ke):ee(ke,Ze)}})},9196:function(d,v,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,S=String,k=SyntaxError,R=c("JSON","parse"),A=c("JSON","stringify"),D=c("Object","create"),M=c("Object","freeze"),B=o("".charAt),j=o("".slice),Y=o(/./.exec),V=o([].push),G=_(),ae=G.length,ie="Unacceptable as raw JSON",ue=/^[\t\n\r ]$/;r({target:"JSON",stat:!0,forced:!l},{rawJSON:function(J){var K=a(J);if(K===""||Y(ue,B(K,0))||Y(ue,B(K,K.length-1)))throw new k(ie);var oe=R(K);if(typeof oe=="object"&&oe!==null)throw new k(ie);var ee=D(null);return b(ee,{type:"RawJSON"}),x(ee,"rawJSON",K),i?M(ee):ee}}),A&&r({target:"JSON",stat:!0,arity:3,forced:!l},{stringify:function(J,K,oe){var ee=y(K),Q=[],le=A(J,function(Ze,Ne){var Bt=h(ee)?f(ee,this,S(Ze),Ne):Ne;return u(Bt)?G+(V(Q,Bt.rawJSON)-1):Bt},oe);if(typeof le!="string")return le;for(var Z="",$=le.length,se=0;se<$;se++){var _e=B(le,se);if(_e==='"'){var De=p(le,++se).end-1,ke=j(le,se,De);Z+=j(ke,0,ae)===G?Q[j(ke,ae)]:'"'+ke+'"',se=De}else Z+=_e}return Z}})},5369:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"Map",stat:!0,forced:!0},{from:i})},18090:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"Map",stat:!0,forced:!0},{of:i})},3432:function(d,v,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,v,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,v,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,v,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 S=b?o(y,x):i(_>2?arguments[2]:void 0)(x,y);return u(y,x,p(S,x,y)),y}})},94065:function(d,v,e){"use strict";var r=e(94488),i=e(14615);r({target:"Map",proto:!0,real:!0,forced:!0},{upsert:i})},93036:function(d,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(35175);r({target:"Math",stat:!0},{f16round:i})},66233:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(24619);r({target:"Math",stat:!0,forced:!0},{scale:i})},87236:function(d,v,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(S){x(this,{type:u,seed:S%2147483647})},h,function(){var S=p(this),k=S.seed=(S.seed*1103515245+12345)%2147483647;return f((k&1073741823)/1073741823,!1)});r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(S){var k=i(S).seed;if(!l(k))throw new y(a);return new _(k)}})},83733:function(d,v,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,v,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,v,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),S=i("".slice),k=i("".split);r({target:"Number",stat:!0,forced:!0},{fromString:function(A,D){var M=1;if(typeof A!="string")throw new u(c);if(!A.length)throw new h(c);if(y(A,0)==="-"&&(M=-1,A=S(A,1),!A.length))throw new h(c);var B=D===void 0?10:l(D);if(B<2||B>36)throw new o(f);if(!_(p,A))throw new h(c);var j=k(A,"."),Y=a(j[0],B);if(j.length>1&&(Y+=a(j[1],B)/x(B,j[1].length)),B===10&&b(Y,B)!==A)throw new h(c);return M*Y}})},10775:function(d,v,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,v,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,v,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,v,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,v,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),S=e(61810),k=e(59893),R=e(94844),A=k("observable"),D="Observable",M="Subscription",B="SubscriptionObserver",j=R.getterFor,Y=R.set,V=j(D),G=j(M),ae=j(B),ie=function(oe){this.observer=o(oe),this.cleanup=void 0,this.subscriptionObserver=void 0};ie.prototype={type:M,clean:function(){var oe=this.cleanup;if(oe){this.cleanup=void 0;try{oe()}catch(ee){S(ee)}}},close:function(){if(!l){var oe=this.facade,ee=this.subscriptionObserver;oe.closed=!0,ee&&(ee.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var ue=function(oe,ee){var Q=Y(this,new ie(oe)),le;l||(this.closed=!1);try{(le=p(oe,"start"))&&i(le,oe,this)}catch(_e){S(_e)}if(!Q.isClosed()){var Z=Q.subscriptionObserver=new q(Q);try{var $=ee(Z),se=$;a($)||(Q.cleanup=u($.unsubscribe)?function(){se.unsubscribe()}:f($))}catch(_e){Z.error(_e);return}Q.isClosed()&&Q.clean()}};ue.prototype=_({},{unsubscribe:function(){var ee=G(this);ee.isClosed()||(ee.close(),ee.clean())}}),l&&b(ue.prototype,"closed",{configurable:!0,get:function(){return G(this).isClosed()}});var q=function(oe){Y(this,{type:B,subscriptionState:oe}),l||(this.closed=!1)};q.prototype=_({},{next:function(ee){var Q=ae(this).subscriptionState;if(!Q.isClosed()){var le=Q.observer;try{var Z=p(le,"next");Z&&i(Z,le,ee)}catch($){S($)}}},error:function(ee){var Q=ae(this).subscriptionState;if(!Q.isClosed()){var le=Q.observer;Q.close();try{var Z=p(le,"error");Z?i(Z,le,ee):S(ee)}catch($){S($)}Q.clean()}},complete:function(){var ee=ae(this).subscriptionState;if(!ee.isClosed()){var Q=ee.observer;ee.close();try{var le=p(Q,"complete");le&&i(le,Q)}catch(Z){S(Z)}ee.clean()}}}),l&&b(q.prototype,"closed",{configurable:!0,get:function(){return ae(this).subscriptionState.isClosed()}});var J=function(ee){h(this,K),Y(this,{type:D,subscriber:f(ee)})},K=J.prototype;_(K,{subscribe:function(ee){var Q=arguments.length;return new ue(u(ee)?{next:ee,error:Q>1?arguments[1]:void 0,complete:Q>2?arguments[2]:void 0}:x(ee)?ee:{},V(this).subscriber)}}),y(K,A,function(){return this}),r({global:!0,constructor:!0,forced:!0},{Observable:J}),c(D)},14548:function(d,v,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 S=c(l(b,y));return S.constructor===_?S:new _(function(R){return S.subscribe(R)})}var k=o(y);return new _(function(R){u(k,function(A,D){if(R.next(A),R.closed)return D()},{IS_ITERATOR:!0,INTERRUPTED:!0}),R.complete()})}})},96378:function(d,v,e){"use strict";e(76867),e(14548),e(6053)},6053:function(d,v,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,v,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,v,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,v,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,v,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,_),S=f(y);if(S===null)return b;var k=p(S,_);return k.length?b.length?h(u(b,k)):k: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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"Set",stat:!0,forced:!0},{from:i})},34926:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"Set",stat:!0,forced:!0},{of:i})},94194:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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(S){p(this,{type:x,string:S,index:0})},"String",function(){var S=y(this),k=S.string,R=S.index,A;return R>=k.length?l(void 0,!0):(A=a(k,R),S.index+=A.length,l({codePoint:u(A,0),position:R},!1))});r({target:"String",proto:!0,forced:!0},{codePoints:function(){return new _(f(c(this)))}})},59348:function(d,v,e){"use strict";var r=e(94488),i=e(67410);r({target:"String",stat:!0,forced:!0},{cooked:i})},37457:function(d,v,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),S=e(19268),k=new y.WeakMap,R=y.get,A=y.has,D=y.set,M=Array,B=TypeError,j=Object.freeze||Object,Y=Object.isFrozen,V=Math.min,G=c("".charAt),ae=c("".slice),ie=c("".split),ue=c(/./.exec),q=/([\n\u2028\u2029]|\r\n?)/g,J=RegExp("^["+S+"]*"),K=RegExp("[^"+S+"]"),oe="Invalid tag",ee="Invalid opening line",Q="Invalid closing line",le=function(ke){var Ze=ke.raw;if(r&&!Y(Ze))throw new B("Raw template should be frozen");if(A(k,Ze))return R(k,Ze);var Ne=Z(Ze),Bt=se(Ne);return x(Bt,"raw",{value:j(Ne)}),j(Bt),D(k,Ze,Bt),Bt},Z=function(ke){var Ze=h(ke),Ne=a(Ze),Bt=M(Ne),yt=M(Ne),Dt=0,Jt,er,tr,Xe;if(!Ne)throw new B(oe);for(;Dt<Ne;Dt++){var Pt=Ze[Dt];if(typeof Pt=="string")Bt[Dt]=ie(Pt,q);else throw new B(oe)}for(Dt=0;Dt<Ne;Dt++){var Zt=Dt+1===Ne;if(Jt=Bt[Dt],Dt===0){if(Jt.length===1||Jt[0].length>0)throw new B(ee);Jt[1]=""}if(Zt){if(Jt.length===1||ue(K,Jt[Jt.length-1]))throw new B(Q);Jt[Jt.length-2]="",Jt[Jt.length-1]=""}for(var ot=2;ot<Jt.length;ot+=2){var xt=Jt[ot],ht=ot+1===Jt.length&&!Zt,et=ue(J,xt)[0];if(!ht&&et.length===xt.length){Jt[ot]="";continue}er=$(et,er)}}var je=er?er.length:0;for(Dt=0;Dt<Ne;Dt++){for(Jt=Bt[Dt],tr=Jt[0],Xe=1;Xe<Jt.length;Xe+=2)tr+=Jt[Xe]+ae(Jt[Xe+1],je);yt[Dt]=tr}return yt},$=function(ke,Ze){if(Ze===void 0||ke===Ze)return ke;for(var Ne=0,Bt=V(ke.length,Ze.length);Ne<Bt&&G(ke,Ne)===G(Ze,Ne);Ne++);return ae(ke,0,Ne)},se=function(ke){for(var Ze=0,Ne=ke.length,Bt=M(Ne);Ze<Ne;Ze++)Bt[Ze]=b(ke[Ze]);return Bt},_e=function(ke){return l(function(Ze){var Ne=p(arguments);return Ne[0]=le(o(Ze)),f(ke,this,Ne)},"")},De=_e(_);i({target:"String",stat:!0,forced:!0},{dedent:function(Ze){return o(Ze),u(Ze)?_e(Ze):f(De,this,arguments)}})},14800:function(d,v,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(R,A,D){var M=i(S,this),B;return c?B=c(new _,M?l(this):S):(B=M?this:o(S),h(B,y,"Error")),D!==void 0&&h(B,"message",x(D)),a(B,b,B.stack,1),h(B,"error",R),h(B,"suppressed",A),B};c?c(b,_):f(b,_,{name:!0});var S=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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(69077);r({target:"Symbol",stat:!0},{isRegisteredSymbol:i})},51630:function(d,v,e){"use strict";var r=e(94488),i=e(69077);r({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:i})},61933:function(d,v,e){"use strict";var r=e(94488),i=e(40443);r({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:i})},619:function(d,v,e){"use strict";var r=e(94488),i=e(40443);r({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:i})},99675:function(d,v,e){"use strict";var r=e(94674);r("matcher")},53637:function(d,v,e){"use strict";var r=e(94674);r("metadataKey")},52548:function(d,v,e){"use strict";var r=e(94674);r("metadata")},57482:function(d,v,e){"use strict";var r=e(94674);r("observable")},59725:function(d,v,e){"use strict";var r=e(94674);r("patternMatch")},17610:function(d,v,e){"use strict";var r=e(94674);r("replaceAll")},11507:function(d,v,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,v,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,v,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,v,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,v,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]),S=b.toSpliced(1,0,{valueOf:function(){return b[0]=2,3}});return S[0]!==2||S[1]!==3});x("toSpliced",function(S,k){var R=u(this),A=a(R),D=i(R),M=c(S,D),B=arguments.length,j=0,Y,V,G,ae,ie,ue,q;if(B===0)Y=V=0;else if(B===1)Y=0,V=D-M;else if(V=y(p(o(k),0),D-M),Y=B-2,Y){ae=new A(Y),G=l(ae);for(var J=2;J<B;J++)ie=arguments[J],ae[J-2]=G?f(ie):+ie}for(ue=D+Y-V,q=new A(ue);j<M;j++)q[j]=R[j];for(;j<M+Y;j++)q[j]=ae[j-M];for(;j<ue;j++)q[j]=R[j+V-Y];return q},!_)},17230:function(d,v,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,v,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),S=l("".replace),k=l("".slice),R=l([].push),A=/[\t\n\f\r ]/g,D="Extra bits";y&&r({target:"Uint8Array",stat:!0,forced:!0},{fromBase64:function(B){f(B);var j=arguments.length>1?c(arguments[1]):void 0,Y=a(j)==="base64"?x:p,V=j?!!j.strict:!1,G=V?B:S(B,A,"");if(G.length%4===0)k(G,-2)==="=="?G=k(G,0,-2):k(G,-1)==="="&&(G=k(G,0,-1));else if(V)throw new _("Input is not correctly padded");var ae=G.length%4;switch(ae){case 1:throw new _("Bad input length");case 2:G+="AA";break;case 3:G+="A"}for(var ie=[],ue=0,q=G.length,J=function(ee){var Q=b(G,ue+ee);if(!o(Y,Q))throw new _('Bad char in input: "'+Q+'"');return Y[Q]<<18-6*ee};ue<q;ue+=4){var K=J(0)+J(1)+J(2)+J(3);R(ie,K>>16&255,K>>8&255,K&255)}var oe=ie.length;if(ae===2){if(V&&ie[oe-2]!==0)throw new _(D);oe-=2}else if(ae===3){if(V&&ie[oe-1]!==0)throw new _(D);oe--}return h(y,ie,oe)}})},57151:function(d,v,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),S=0;S<_;S+=2)b[S/2]=h(x(y,S,S+2),16);return b}})},48732:function(d,v,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,S=h(b)==="base64"?u:a,k="",R=0,A=_.length,D,M=function(B){return p(S,D>>6*B&63)};R+2<A;R+=3)D=(_[R]<<16)+(_[R+1]<<8)+_[R+2],k+=M(3)+M(2)+M(1)+M(0);return R+2===A?(D=(_[R]<<16)+(_[R+1]<<8),k+=M(3)+M(2)+M(1)+"="):R+1===A&&(D=_[R]<<16,k+=M(3)+M(2)+"=="),k}})},18481:function(d,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakMap",stat:!0,forced:!0},{from:i})},89179:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakMap",stat:!0,forced:!0},{of:i})},67725:function(d,v,e){"use strict";var r=e(94488),i=e(14615);r({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:i})},59884:function(d,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakSet",stat:!0,forced:!0},{from:i})},11593:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakSet",stat:!0,forced:!0},{of:i})},7597:function(d,v,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,S=c("".charAt),k=c("".replace),R=c(x.exec),A=!!_&&!o(function(){return _("aGk=")!=="hi"}),D=A&&o(function(){return _(" ")!==""}),M=A&&!o(function(){_("a")}),B=A&&!o(function(){_()}),j=A&&_.length!==1,Y=!A||D||M||B||j;r({global:!0,bind:!0,enumerable:!0,forced:Y},{atob:function(G){if(u(arguments.length,1),A&&!D&&!M)return f(_,i,G);var ae=k(h(G),p,""),ie="",ue=0,q=0,J,K,oe;if(ae.length%4===0&&(ae=k(ae,y,"")),J=ae.length,J%4===1||R(x,ae))throw new(l("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;ue<J;)K=S(ae,ue++),oe=q%4?oe*64+a[K]:a[K],q++%4&&(ie+=b(255&oe>>(-2*q&6)));return ie}})},55182:function(d,v,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()}),S=_&&o(function(){return x(null)!=="bnVsbA=="}),k=_&&x.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!_||b||S||k},{btoa:function(A){if(u(arguments.length,1),_)return f(x,i,h(A));for(var D=h(A),M="",B=0,j=a,Y,V;p(D,B)||(j="=",B%1);){if(V=y(D,B+=.75),V>255)throw new(l("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");Y=Y<<8|V,M+=p(j,63&Y>>8-B%1*8)}return M}})},91472:function(d,v,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,v,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,v,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(S){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(S){y[b]=c[b]}}}};for(var p in i)x(r[p]&&r[p].prototype,p);x(l,"DOMTokenList")},64522:function(d,v,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),S=e(52109),k=e(80739),R=e(94844),A=e(35454),D=e(16697),M="DOMException",B="DATA_CLONE_ERR",j=l("Error"),Y=l(M)||function(){try{var yt=l("MessageChannel")||i("worker_threads").MessageChannel;new yt().port1.postMessage(new WeakMap)}catch(Dt){if(Dt.name===B&&Dt.code===25)return Dt.constructor}}(),V=Y&&Y.prototype,G=j.prototype,ae=R.set,ie=R.getterFor(M),ue="stack"in new j(M),q=function(yt){return x(S,yt)&&S[yt].m?S[yt].c:0},J=function(){p(this,K);var Dt=arguments.length,Jt=b(Dt<1?void 0:arguments[0]),er=b(Dt<2?void 0:arguments[1],"Error"),tr=q(er);if(ae(this,{type:M,name:er,message:Jt,code:tr}),A||(this.name=er,this.message=Jt,this.code=tr),ue){var Xe=new j(Jt);Xe.name=M,h(this,"stack",o(1,k(Xe.stack,1)))}},K=J.prototype=f(G),oe=function(yt){return{enumerable:!0,configurable:!0,get:yt}},ee=function(yt){return oe(function(){return ie(this)[yt]})};A&&(a(K,"code",ee("code")),a(K,"message",ee("message")),a(K,"name",ee("name"))),h(K,"constructor",o(1,J));var Q=c(function(){return!(new Y instanceof j)}),le=Q||c(function(){return G.toString!==_||String(new Y(1,2))!=="2: 1"}),Z=Q||c(function(){return new Y(1,"DataCloneError").code!==25}),$=Q||Y[B]!==25||V[B]!==25,se=D?le||Z||$:Q;r({global:!0,constructor:!0,forced:se},{DOMException:se?J:Y});var _e=l(M),De=_e.prototype;le&&(D||Y===_e)&&u(De,"toString",_),Z&&A&&Y===_e&&a(De,"code",oe(function(){return q(y(this).name)}));for(var ke in S)if(x(S,ke)){var Ze=S[ke],Ne=Ze.s,Bt=o(6,Ze.c);x(_e,Ne)||h(_e,Ne,Bt),x(De,Ne)||h(De,Ne,Bt)}},41599:function(d,v,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",S=l("Error"),k=l(b),R=function(){h(this,A);var J=arguments.length,K=a(J<1?void 0:arguments[0]),oe=a(J<2?void 0:arguments[1],"Error"),ee=new k(K,oe),Q=new S(K);return Q.name=b,f(ee,"stack",c(1,p(Q.stack,1))),u(ee,this,R),ee},A=R.prototype=k.prototype,D="stack"in new S(b),M="stack"in new k(1,2),B=k&&y&&Object.getOwnPropertyDescriptor(i,b),j=!!B&&!(B.writable&&B.configurable),Y=D&&!j&&!M;r({global:!0,constructor:!0,forced:_||Y},{DOMException:Y?R:k});var V=l(b),G=V.prototype;if(G.constructor!==V){_||f(G,"constructor",c(1,V));for(var ae in x)if(o(x,ae)){var ie=x[ae],ue=ie.s;o(V,ue)||f(V,ue,c(6,ie.c))}}},86465:function(d,v,e){"use strict";var r=e(65911),i=e(94573),l="DOMException";i(r(l),l)},78437:function(d,v,e){"use strict";e(91472),e(91700)},73624:function(d,v,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,v,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,v,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,v,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,v,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,v,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),S=e(97607),k=e(32621),R=e(69392),A=e(68151),D=e(82762),M=e(57106),B=e(81644),j=e(2786),Y=e(19691),V=e(57002),G=e(39311),ae=e(25406),ie=e(80426),ue=l.Object,q=l.Array,J=l.Date,K=l.Error,oe=l.TypeError,ee=l.PerformanceMark,Q=c("DOMException"),le=j.Map,Z=j.has,$=j.get,se=j.set,_e=Y.Set,De=Y.add,ke=Y.has,Ze=c("Object","keys"),Ne=f([].push),Bt=f((!0).valueOf),yt=f(1 .valueOf),Dt=f("".valueOf),Jt=f(J.prototype.getTime),er=h("structuredClone"),tr="DataCloneError",Xe="Transferring",Pt=function(Pe){return!o(function(){var qe=new l.Set([7]),Yt=Pe(qe),Rt=Pe(ue(7));return Yt===qe||!Yt.has(7)||!p(Rt)||+Rt!=7})&&Pe},Zt=function(Pe,qe){return!o(function(){var Yt=new qe,Rt=Pe({a:Yt,b:Yt});return!(Rt&&Rt.a===Rt.b&&Rt.a instanceof qe&&Rt.a.stack===Yt.stack)})},ot=function(Pe){return!o(function(){var qe=Pe(new l.AggregateError([1],er,{cause:3}));return qe.name!=="AggregateError"||qe.errors[0]!==1||qe.message!==er||qe.cause!==3})},xt=l.structuredClone,ht=r||!Zt(xt,K)||!Zt(xt,Q)||!ot(xt),et=!xt&&Pt(function(Pe){return new ee(er,{detail:Pe}).detail}),je=Pt(xt)||et,ge=function(Pe){throw new Q("Uncloneable type: "+Pe,tr)},Se=function(Pe,qe){throw new Q((qe||"Cloning")+" of "+Pe+" cannot be properly polyfilled in this engine",tr)},Me=function(Pe,qe){return je||Se(qe),je(Pe)},$e=function(){var Pe;try{Pe=new l.DataTransfer}catch(qe){try{Pe=new l.ClipboardEvent("").clipboardData}catch(Yt){}}return Pe&&Pe.items&&Pe.files?Pe:null},He=function(Pe,qe,Yt){if(Z(qe,Pe))return $(qe,Pe);var Rt=Yt||S(Pe),Wt,$t,At,Xt,We,fe;if(Rt==="SharedArrayBuffer")je?Wt=je(Pe):Wt=Pe;else{var pe=l.DataView;!pe&&!u(Pe.slice)&&Se("ArrayBuffer");try{if(u(Pe.slice)&&!Pe.resizable)Wt=Pe.slice(0);else for($t=Pe.byteLength,At=("maxByteLength"in Pe)?{maxByteLength:Pe.maxByteLength}:void 0,Wt=new ArrayBuffer($t,At),Xt=new pe(Pe),We=new pe(Wt),fe=0;fe<$t;fe++)We.setUint8(fe,Xt.getUint8(fe))}catch(Ot){throw new Q("ArrayBuffer is detached",tr)}}return se(qe,Pe,Wt),Wt},nt=function(Pe,qe,Yt,Rt,Wt){var $t=l[qe];return p($t)||Se(qe),new $t(He(Pe.buffer,Wt),Yt,Rt)},ct=function(Pe,qe){if(y(Pe)&&ge("Symbol"),!p(Pe))return Pe;if(qe){if(Z(qe,Pe))return $(qe,Pe)}else qe=new le;var Yt=S(Pe),Rt,Wt,$t,At,Xt,We,fe,pe;switch(Yt){case"Array":$t=q(D(Pe));break;case"Object":$t={};break;case"Map":$t=new le;break;case"Set":$t=new _e;break;case"RegExp":$t=new RegExp(Pe.source,B(Pe));break;case"Error":switch(Wt=Pe.name,Wt){case"AggregateError":$t=new(c(Wt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":$t=new(c(Wt));break;case"CompileError":case"LinkError":case"RuntimeError":$t=new(c("WebAssembly",Wt));break;default:$t=new K}break;case"DOMException":$t=new Q(Pe.message,Pe.name);break;case"ArrayBuffer":case"SharedArrayBuffer":$t=He(Pe,qe,Yt);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":We=Yt==="DataView"?Pe.byteLength:Pe.length,$t=nt(Pe,Yt,Pe.byteOffset,We,qe);break;case"DOMQuad":try{$t=new DOMQuad(ct(Pe.p1,qe),ct(Pe.p2,qe),ct(Pe.p3,qe),ct(Pe.p4,qe))}catch(Ot){$t=Me(Pe,Yt)}break;case"File":if(je)try{$t=je(Pe),S($t)!==Yt&&($t=void 0)}catch(Ot){}if(!$t)try{$t=new File([Pe],Pe.name,Pe)}catch(Ot){}$t||Se(Yt);break;case"FileList":if(At=$e(),At){for(Xt=0,We=D(Pe);Xt<We;Xt++)At.items.add(ct(Pe[Xt],qe));$t=At.files}else $t=Me(Pe,Yt);break;case"ImageData":try{$t=new ImageData(ct(Pe.data,qe),Pe.width,Pe.height,{colorSpace:Pe.colorSpace})}catch(Ot){$t=Me(Pe,Yt)}break;default:if(je)$t=je(Pe);else switch(Yt){case"BigInt":$t=ue(Pe.valueOf());break;case"Boolean":$t=ue(Bt(Pe));break;case"Number":$t=ue(yt(Pe));break;case"String":$t=ue(Dt(Pe));break;case"Date":$t=new J(Jt(Pe));break;case"Blob":try{$t=Pe.slice(0,Pe.size,Pe.type)}catch(Ot){Se(Yt)}break;case"DOMPoint":case"DOMPointReadOnly":Rt=l[Yt];try{$t=Rt.fromPoint?Rt.fromPoint(Pe):new Rt(Pe.x,Pe.y,Pe.z,Pe.w)}catch(Ot){Se(Yt)}break;case"DOMRect":case"DOMRectReadOnly":Rt=l[Yt];try{$t=Rt.fromRect?Rt.fromRect(Pe):new Rt(Pe.x,Pe.y,Pe.width,Pe.height)}catch(Ot){Se(Yt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":Rt=l[Yt];try{$t=Rt.fromMatrix?Rt.fromMatrix(Pe):new Rt(Pe)}catch(Ot){Se(Yt)}break;case"AudioData":case"VideoFrame":u(Pe.clone)||Se(Yt);try{$t=Pe.clone()}catch(Ot){ge(Yt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":Se(Yt);default:ge(Yt)}}switch(se(qe,Pe,$t),Yt){case"Array":case"Object":for(fe=Ze(Pe),Xt=0,We=D(fe);Xt<We;Xt++)pe=fe[Xt],R($t,pe,ct(Pe[pe],qe));break;case"Map":Pe.forEach(function(Ot,Te){se($t,ct(Te,qe),ct(Ot,qe))});break;case"Set":Pe.forEach(function(Ot){De($t,ct(Ot,qe))});break;case"Error":A($t,"message",ct(Pe.message,qe)),k(Pe,"cause")&&A($t,"cause",ct(Pe.cause,qe)),Wt==="AggregateError"?$t.errors=ct(Pe.errors,qe):Wt==="SuppressedError"&&($t.error=ct(Pe.error,qe),$t.suppressed=ct(Pe.suppressed,qe));case"DOMException":ae&&A($t,"stack",ct(Pe.stack,qe))}return $t},Vt=function(Pe,qe){if(!p(Pe))throw new oe("Transfer option cannot be converted to a sequence");var Yt=[];_(Pe,function(Te){Ne(Yt,b(Te))});for(var Rt=0,Wt=D(Yt),$t=new _e,At,Xt,We,fe,pe,Ot;Rt<Wt;){if(At=Yt[Rt++],Xt=S(At),Xt==="ArrayBuffer"?ke($t,At):Z(qe,At))throw new Q("Duplicate transferable",tr);if(Xt==="ArrayBuffer"){De($t,At);continue}if(ie)fe=xt(At,{transfer:[At]});else switch(Xt){case"ImageBitmap":We=l.OffscreenCanvas,a(We)||Se(Xt,Xe);try{pe=new We(At.width,At.height),Ot=pe.getContext("bitmaprenderer"),Ot.transferFromImageBitmap(At),fe=pe.transferToImageBitmap()}catch(Te){}break;case"AudioData":case"VideoFrame":(!u(At.clone)||!u(At.close))&&Se(Xt,Xe);try{fe=At.clone(),At.close()}catch(Te){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":Se(Xt,Xe)}if(fe===void 0)throw new Q("This object cannot be transferred: "+Xt,tr);se(qe,At,fe)}return $t},Ht=function(Pe){V(Pe,function(qe){ie?je(qe,{transfer:[qe]}):u(qe.transfer)?qe.transfer():G?G(qe):Se("ArrayBuffer",Xe)})};i({global:!0,enumerable:!0,sham:!ie,forced:ht},{structuredClone:function(qe){var Yt=M(arguments.length,1)>1&&!x(arguments[1])?b(arguments[1]):void 0,Rt=Yt?Yt.transfer:void 0,Wt,$t;Rt!==void 0&&(Wt=new le,$t=Vt(Rt,Wt));var At=ct(qe,Wt);return $t&&Ht($t),At}})},41208:function(d,v,e){"use strict";e(88469),e(91572)},91340:function(d,v,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),S=e(32621),k=e(80666),R=e(97607),A=e(80449),D=e(31946),M=e(69905),B=e(20132),j=e(35012),Y=e(85428),V=e(26006),G=e(25587),ae=e(57106),ie=e(59893),ue=e(63668),q=ie("iterator"),J="URLSearchParams",K=J+"Iterator",oe=y.set,ee=y.getterFor(J),Q=y.getterFor(K),le=Object.getOwnPropertyDescriptor,Z=function(Wt){if(!f)return i[Wt];var $t=le(i,Wt);return $t&&$t.value},$=Z("fetch"),se=Z("Request"),_e=Z("Headers"),De=se&&se.prototype,ke=_e&&_e.prototype,Ze=i.RegExp,Ne=i.TypeError,Bt=i.decodeURIComponent,yt=i.encodeURIComponent,Dt=c("".charAt),Jt=c([].join),er=c([].push),tr=c("".replace),Xe=c([].shift),Pt=c([].splice),Zt=c("".split),ot=c("".slice),xt=/\+/g,ht=Array(4),et=function(Wt){return ht[Wt-1]||(ht[Wt-1]=Ze("((?:%[\\da-f]{2}){"+Wt+"})","gi"))},je=function(Wt){try{return Bt(Wt)}catch($t){return Wt}},ge=function(Wt){var $t=tr(Wt,xt," "),At=4;try{return Bt($t)}catch(Xt){for(;At;)$t=tr($t,et(At--),je);return $t}},Se=/[!'()~]|%20/g,Me={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},$e=function(Wt){return Me[Wt]},He=function(Wt){return tr(yt(Wt),Se,$e)},nt=p(function($t,At){oe(this,{type:K,target:ee($t).entries,index:0,kind:At})},J,function(){var $t=Q(this),At=$t.target,Xt=$t.index++;if(!At||Xt>=At.length)return $t.target=void 0,G(void 0,!0);var We=At[Xt];switch($t.kind){case"keys":return G(We.key,!1);case"values":return G(We.value,!1)}return G([We.key,We.value],!1)},!0),ct=function(Wt){this.entries=[],this.url=null,Wt!==void 0&&(D(Wt)?this.parseObject(Wt):this.parseQuery(typeof Wt=="string"?Dt(Wt,0)==="?"?ot(Wt,1):Wt:M(Wt)))};ct.prototype={type:J,bindURL:function(Wt){this.url=Wt,this.update()},parseObject:function(Wt){var $t=this.entries,At=V(Wt),Xt,We,fe,pe,Ot,Te,dt;if(At)for(Xt=Y(Wt,At),We=Xt.next;!(fe=l(We,Xt)).done;){if(pe=Y(A(fe.value)),Ot=pe.next,(Te=l(Ot,pe)).done||(dt=l(Ot,pe)).done||!l(Ot,pe).done)throw new Ne("Expected sequence with length 2");er($t,{key:M(Te.value),value:M(dt.value)})}else for(var Gt in Wt)S(Wt,Gt)&&er($t,{key:Gt,value:M(Wt[Gt])})},parseQuery:function(Wt){if(Wt)for(var $t=this.entries,At=Zt(Wt,"&"),Xt=0,We,fe;Xt<At.length;)We=At[Xt++],We.length&&(fe=Zt(We,"="),er($t,{key:ge(Xe(fe)),value:ge(Jt(fe,"="))}))},serialize:function(){for(var Wt=this.entries,$t=[],At=0,Xt;At<Wt.length;)Xt=Wt[At++],er($t,He(Xt.key)+"="+He(Xt.value));return Jt($t,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Vt=function(){_(this,Ht);var $t=arguments.length>0?arguments[0]:void 0,At=oe(this,new ct($t));f||(this.size=At.entries.length)},Ht=Vt.prototype;if(a(Ht,{append:function($t,At){var Xt=ee(this);ae(arguments.length,2),er(Xt.entries,{key:M($t),value:M(At)}),f||this.length++,Xt.updateURL()},delete:function(Wt){for(var $t=ee(this),At=ae(arguments.length,1),Xt=$t.entries,We=M(Wt),fe=At<2?void 0:arguments[1],pe=fe===void 0?fe:M(fe),Ot=0;Ot<Xt.length;){var Te=Xt[Ot];if(Te.key===We&&(pe===void 0||Te.value===pe)){if(Pt(Xt,Ot,1),pe!==void 0)break}else Ot++}f||(this.size=Xt.length),$t.updateURL()},get:function($t){var At=ee(this).entries;ae(arguments.length,1);for(var Xt=M($t),We=0;We<At.length;We++)if(At[We].key===Xt)return At[We].value;return null},getAll:function($t){var At=ee(this).entries;ae(arguments.length,1);for(var Xt=M($t),We=[],fe=0;fe<At.length;fe++)At[fe].key===Xt&&er(We,At[fe].value);return We},has:function($t){for(var At=ee(this).entries,Xt=ae(arguments.length,1),We=M($t),fe=Xt<2?void 0:arguments[1],pe=fe===void 0?fe:M(fe),Ot=0;Ot<At.length;){var Te=At[Ot++];if(Te.key===We&&(pe===void 0||Te.value===pe))return!0}return!1},set:function($t,At){var Xt=ee(this);ae(arguments.length,1);for(var We=Xt.entries,fe=!1,pe=M($t),Ot=M(At),Te=0,dt;Te<We.length;Te++)dt=We[Te],dt.key===pe&&(fe?Pt(We,Te--,1):(fe=!0,dt.value=Ot));fe||er(We,{key:pe,value:Ot}),f||(this.size=We.length),Xt.updateURL()},sort:function(){var $t=ee(this);ue($t.entries,function(At,Xt){return At.key>Xt.key?1:-1}),$t.updateURL()},forEach:function($t){for(var At=ee(this).entries,Xt=k($t,arguments.length>1?arguments[1]:void 0),We=0,fe;We<At.length;)fe=At[We++],Xt(fe.value,fe.key,this)},keys:function(){return new nt(this,"keys")},values:function(){return new nt(this,"values")},entries:function(){return new nt(this,"entries")}},{enumerable:!0}),h(Ht,q,Ht.entries,{name:"entries"}),h(Ht,"toString",function(){return ee(this).serialize()},{enumerable:!0}),f&&u(Ht,"size",{get:function(){return ee(this).entries.length},configurable:!0,enumerable:!0}),x(Vt,J),r({global:!0,constructor:!0,forced:!o},{URLSearchParams:Vt}),!o&&b(_e)){var Pe=c(ke.has),qe=c(ke.set),Yt=function(Wt){if(D(Wt)){var $t=Wt.body,At;if(R($t)===J)return At=Wt.headers?new _e(Wt.headers):new _e,Pe(At,"content-type")||qe(At,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),B(Wt,{body:j(0,M($t)),headers:j(0,At)})}return Wt};if(b($)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function($t){return $($t,arguments.length>1?Yt(arguments[1]):{})}}),b(se)){var Rt=function($t){return _(this,De),new se($t,arguments.length>1?Yt(arguments[1]):{})};De.constructor=Rt,Rt.prototype=De,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Rt})}}d.exports={URLSearchParams:Vt,getState:ee}},4890:function(d,v,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 S=[];a(this,function(Y,V){x(S,{key:V,value:Y})}),c(_,1);for(var k=l(y),R=l(b),A=0,D=0,M=!1,B=S.length,j;A<B;)j=S[A++],M||j.key===k?(M=!0,u(this,j.key)):D++;for(;D<B;)j=S[D++],j.key===k&&j.value===R||h(this,j.key,j.value)},{enumerable:!0,unsafe:!0})},5340:function(d,v,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 S=l(_),k=0;k<b.length;)if(b[k++]===S)return!0;return!1},{enumerable:!0,unsafe:!0})},7893:function(d,v,e){"use strict";e(91340)},61650:function(d,v,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,v,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,v,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,S=e(93245),k=e(69905),R=e(94573),A=e(57106),D=e(91340),M=e(94844),B=M.set,j=M.getterFor("URL"),Y=D.URLSearchParams,V=D.getState,G=c.URL,ae=c.TypeError,ie=c.parseInt,ue=Math.floor,q=Math.pow,J=o("".charAt),K=o(/./.exec),oe=o([].join),ee=o(1 .toString),Q=o([].pop),le=o([].push),Z=o("".replace),$=o([].shift),se=o("".split),_e=o("".slice),De=o("".toLowerCase),ke=o([].unshift),Ze="Invalid authority",Ne="Invalid scheme",Bt="Invalid host",yt="Invalid port",Dt=/[a-z]/i,Jt=/[\d+-.a-z]/i,er=/\d/,tr=/^0x/i,Xe=/^[0-7]+$/,Pt=/^\d+$/,Zt=/^[\da-f]+$/i,ot=/[\0\t\n\r #%/:<>?@[\\\]^|]/,xt=/[\0\t\n\r #/:<>?@[\\\]^|]/,ht=/^[\u0000-\u0020]+/,et=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,je=/[\t\n\r]/g,ge,Se=function(lr){var Lt=se(lr,"."),mt,vt,Ut,Sr,yr,it,Br;if(Lt.length&&Lt[Lt.length-1]===""&&Lt.length--,mt=Lt.length,mt>4)return lr;for(vt=[],Ut=0;Ut<mt;Ut++){if(Sr=Lt[Ut],Sr==="")return lr;if(yr=10,Sr.length>1&&J(Sr,0)==="0"&&(yr=K(tr,Sr)?16:8,Sr=_e(Sr,yr===8?1:2)),Sr==="")it=0;else{if(!K(yr===10?Pt:yr===8?Xe:Zt,Sr))return lr;it=ie(Sr,yr)}le(vt,it)}for(Ut=0;Ut<mt;Ut++)if(it=vt[Ut],Ut===mt-1){if(it>=q(256,5-mt))return null}else if(it>255)return null;for(Br=Q(vt),Ut=0;Ut<vt.length;Ut++)Br+=vt[Ut]*q(256,3-Ut);return Br},Me=function(lr){var Lt=[0,0,0,0,0,0,0,0],mt=0,vt=null,Ut=0,Sr,yr,it,Br,gn,zn,gr,tn=function(){return J(lr,Ut)};if(tn()===":"){if(J(lr,1)!==":")return;Ut+=2,mt++,vt=mt}for(;tn();){if(mt===8)return;if(tn()===":"){if(vt!==null)return;Ut++,mt++,vt=mt;continue}for(Sr=yr=0;yr<4&&K(Zt,tn());)Sr=Sr*16+ie(tn(),16),Ut++,yr++;if(tn()==="."){if(yr===0||(Ut-=yr,mt>6))return;for(it=0;tn();){if(Br=null,it>0)if(tn()==="."&&it<4)Ut++;else return;if(!K(er,tn()))return;for(;K(er,tn());){if(gn=ie(tn(),10),Br===null)Br=gn;else{if(Br===0)return;Br=Br*10+gn}if(Br>255)return;Ut++}Lt[mt]=Lt[mt]*256+Br,it++,(it===2||it===4)&&mt++}if(it!==4)return;break}else if(tn()===":"){if(Ut++,!tn())return}else if(tn())return;Lt[mt++]=Sr}if(vt!==null)for(zn=mt-vt,mt=7;mt!==0&&zn>0;)gr=Lt[mt],Lt[mt--]=Lt[vt+zn-1],Lt[vt+--zn]=gr;else if(mt!==8)return;return Lt},$e=function(lr){for(var Lt=null,mt=1,vt=null,Ut=0,Sr=0;Sr<8;Sr++)lr[Sr]!==0?(Ut>mt&&(Lt=vt,mt=Ut),vt=null,Ut=0):(vt===null&&(vt=Sr),++Ut);return Ut>mt&&(Lt=vt,mt=Ut),Lt},He=function(lr){var Lt,mt,vt,Ut;if(typeof lr=="number"){for(Lt=[],mt=0;mt<4;mt++)ke(Lt,lr%256),lr=ue(lr/256);return oe(Lt,".")}else if(typeof lr=="object"){for(Lt="",vt=$e(lr),mt=0;mt<8;mt++)Ut&&lr[mt]===0||(Ut&&(Ut=!1),vt===mt?(Lt+=mt?":":"::",Ut=!0):(Lt+=ee(lr[mt],16),mt<7&&(Lt+=":")));return"["+Lt+"]"}return lr},nt={},ct=p({},nt,{" ":1,'"':1,"<":1,">":1,"`":1}),Vt=p({},ct,{"#":1,"?":1,"{":1,"}":1}),Ht=p({},Vt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Pe=function(lr,Lt){var mt=b(lr,0);return mt>32&&mt<127&&!x(Lt,lr)?lr:encodeURIComponent(lr)},qe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Yt=function(lr,Lt){var mt;return lr.length===2&&K(Dt,J(lr,0))&&((mt=J(lr,1))===":"||!Lt&&mt==="|")},Rt=function(lr){var Lt;return lr.length>1&&Yt(_e(lr,0,2))&&(lr.length===2||(Lt=J(lr,2))==="/"||Lt==="\\"||Lt==="?"||Lt==="#")},Wt=function(lr){return lr==="."||De(lr)==="%2e"},$t=function(lr){return lr=De(lr),lr===".."||lr==="%2e."||lr===".%2e"||lr==="%2e%2e"},At={},Xt={},We={},fe={},pe={},Ot={},Te={},dt={},Gt={},St={},Oe={},wt={},be={},Ke={},gt={},Ft={},Fe={},Dr={},Ct={},Gr={},Qr={},Cr=function(lr,Lt,mt){var vt=k(lr),Ut,Sr,yr;if(Lt){if(Sr=this.parse(vt),Sr)throw new ae(Sr);this.searchParams=null}else{if(mt!==void 0&&(Ut=new Cr(mt,!0)),Sr=this.parse(vt,null,Ut),Sr)throw new ae(Sr);yr=V(new Y),yr.bindURL(this),this.searchParams=yr}};Cr.prototype={type:"URL",parse:function(lr,Lt,mt){var vt=this,Ut=Lt||At,Sr=0,yr="",it=!1,Br=!1,gn=!1,zn,gr,tn,pn;for(lr=k(lr),Lt||(vt.scheme="",vt.username="",vt.password="",vt.host=null,vt.port=null,vt.path=[],vt.query=null,vt.fragment=null,vt.cannotBeABaseURL=!1,lr=Z(lr,ht,""),lr=Z(lr,et,"$1")),lr=Z(lr,je,""),zn=y(lr);Sr<=zn.length;){switch(gr=zn[Sr],Ut){case At:if(gr&&K(Dt,gr))yr+=De(gr),Ut=Xt;else{if(Lt)return Ne;Ut=We;continue}break;case Xt:if(gr&&(K(Jt,gr)||gr==="+"||gr==="-"||gr==="."))yr+=De(gr);else if(gr===":"){if(Lt&&(vt.isSpecial()!==x(qe,yr)||yr==="file"&&(vt.includesCredentials()||vt.port!==null)||vt.scheme==="file"&&!vt.host))return;if(vt.scheme=yr,Lt){vt.isSpecial()&&qe[vt.scheme]===vt.port&&(vt.port=null);return}yr="",vt.scheme==="file"?Ut=Ke:vt.isSpecial()&&mt&&mt.scheme===vt.scheme?Ut=fe:vt.isSpecial()?Ut=dt:zn[Sr+1]==="/"?(Ut=pe,Sr++):(vt.cannotBeABaseURL=!0,le(vt.path,""),Ut=Ct)}else{if(Lt)return Ne;yr="",Ut=We,Sr=0;continue}break;case We:if(!mt||mt.cannotBeABaseURL&&gr!=="#")return Ne;if(mt.cannotBeABaseURL&&gr==="#"){vt.scheme=mt.scheme,vt.path=_(mt.path),vt.query=mt.query,vt.fragment="",vt.cannotBeABaseURL=!0,Ut=Qr;break}Ut=mt.scheme==="file"?Ke:Ot;continue;case fe:if(gr==="/"&&zn[Sr+1]==="/")Ut=Gt,Sr++;else{Ut=Ot;continue}break;case pe:if(gr==="/"){Ut=St;break}else{Ut=Dr;continue}case Ot:if(vt.scheme=mt.scheme,gr===ge)vt.username=mt.username,vt.password=mt.password,vt.host=mt.host,vt.port=mt.port,vt.path=_(mt.path),vt.query=mt.query;else if(gr==="/"||gr==="\\"&&vt.isSpecial())Ut=Te;else if(gr==="?")vt.username=mt.username,vt.password=mt.password,vt.host=mt.host,vt.port=mt.port,vt.path=_(mt.path),vt.query="",Ut=Gr;else if(gr==="#")vt.username=mt.username,vt.password=mt.password,vt.host=mt.host,vt.port=mt.port,vt.path=_(mt.path),vt.query=mt.query,vt.fragment="",Ut=Qr;else{vt.username=mt.username,vt.password=mt.password,vt.host=mt.host,vt.port=mt.port,vt.path=_(mt.path),vt.path.length--,Ut=Dr;continue}break;case Te:if(vt.isSpecial()&&(gr==="/"||gr==="\\"))Ut=Gt;else if(gr==="/")Ut=St;else{vt.username=mt.username,vt.password=mt.password,vt.host=mt.host,vt.port=mt.port,Ut=Dr;continue}break;case dt:if(Ut=Gt,gr!=="/"||J(yr,Sr+1)!=="/")continue;Sr++;break;case Gt:if(gr!=="/"&&gr!=="\\"){Ut=St;continue}break;case St:if(gr==="@"){it&&(yr="%40"+yr),it=!0,tn=y(yr);for(var Fn=0;Fn<tn.length;Fn++){var Tn=tn[Fn];if(Tn===":"&&!gn){gn=!0;continue}var oi=Pe(Tn,Ht);gn?vt.password+=oi:vt.username+=oi}yr=""}else if(gr===ge||gr==="/"||gr==="?"||gr==="#"||gr==="\\"&&vt.isSpecial()){if(it&&yr==="")return Ze;Sr-=y(yr).length+1,yr="",Ut=Oe}else yr+=gr;break;case Oe:case wt:if(Lt&&vt.scheme==="file"){Ut=Ft;continue}else if(gr===":"&&!Br){if(yr==="")return Bt;if(pn=vt.parseHost(yr),pn)return pn;if(yr="",Ut=be,Lt===wt)return}else if(gr===ge||gr==="/"||gr==="?"||gr==="#"||gr==="\\"&&vt.isSpecial()){if(vt.isSpecial()&&yr==="")return Bt;if(Lt&&yr===""&&(vt.includesCredentials()||vt.port!==null))return;if(pn=vt.parseHost(yr),pn)return pn;if(yr="",Ut=Fe,Lt)return;continue}else gr==="["?Br=!0:gr==="]"&&(Br=!1),yr+=gr;break;case be:if(K(er,gr))yr+=gr;else if(gr===ge||gr==="/"||gr==="?"||gr==="#"||gr==="\\"&&vt.isSpecial()||Lt){if(yr!==""){var Pi=ie(yr,10);if(Pi>65535)return yt;vt.port=vt.isSpecial()&&Pi===qe[vt.scheme]?null:Pi,yr=""}if(Lt)return;Ut=Fe;continue}else return yt;break;case Ke:if(vt.scheme="file",gr==="/"||gr==="\\")Ut=gt;else if(mt&&mt.scheme==="file")switch(gr){case ge:vt.host=mt.host,vt.path=_(mt.path),vt.query=mt.query;break;case"?":vt.host=mt.host,vt.path=_(mt.path),vt.query="",Ut=Gr;break;case"#":vt.host=mt.host,vt.path=_(mt.path),vt.query=mt.query,vt.fragment="",Ut=Qr;break;default:Rt(oe(_(zn,Sr),""))||(vt.host=mt.host,vt.path=_(mt.path),vt.shortenPath()),Ut=Dr;continue}else{Ut=Dr;continue}break;case gt:if(gr==="/"||gr==="\\"){Ut=Ft;break}mt&&mt.scheme==="file"&&!Rt(oe(_(zn,Sr),""))&&(Yt(mt.path[0],!0)?le(vt.path,mt.path[0]):vt.host=mt.host),Ut=Dr;continue;case Ft:if(gr===ge||gr==="/"||gr==="\\"||gr==="?"||gr==="#"){if(!Lt&&Yt(yr))Ut=Dr;else if(yr===""){if(vt.host="",Lt)return;Ut=Fe}else{if(pn=vt.parseHost(yr),pn)return pn;if(vt.host==="localhost"&&(vt.host=""),Lt)return;yr="",Ut=Fe}continue}else yr+=gr;break;case Fe:if(vt.isSpecial()){if(Ut=Dr,gr!=="/"&&gr!=="\\")continue}else if(!Lt&&gr==="?")vt.query="",Ut=Gr;else if(!Lt&&gr==="#")vt.fragment="",Ut=Qr;else if(gr!==ge&&(Ut=Dr,gr!=="/"))continue;break;case Dr:if(gr===ge||gr==="/"||gr==="\\"&&vt.isSpecial()||!Lt&&(gr==="?"||gr==="#")){if($t(yr)?(vt.shortenPath(),gr!=="/"&&!(gr==="\\"&&vt.isSpecial())&&le(vt.path,"")):Wt(yr)?gr!=="/"&&!(gr==="\\"&&vt.isSpecial())&&le(vt.path,""):(vt.scheme==="file"&&!vt.path.length&&Yt(yr)&&(vt.host&&(vt.host=""),yr=J(yr,0)+":"),le(vt.path,yr)),yr="",vt.scheme==="file"&&(gr===ge||gr==="?"||gr==="#"))for(;vt.path.length>1&&vt.path[0]==="";)$(vt.path);gr==="?"?(vt.query="",Ut=Gr):gr==="#"&&(vt.fragment="",Ut=Qr)}else yr+=Pe(gr,Vt);break;case Ct:gr==="?"?(vt.query="",Ut=Gr):gr==="#"?(vt.fragment="",Ut=Qr):gr!==ge&&(vt.path[0]+=Pe(gr,nt));break;case Gr:!Lt&&gr==="#"?(vt.fragment="",Ut=Qr):gr!==ge&&(gr==="'"&&vt.isSpecial()?vt.query+="%27":gr==="#"?vt.query+="%23":vt.query+=Pe(gr,nt));break;case Qr:gr!==ge&&(vt.fragment+=Pe(gr,ct));break}Sr++}},parseHost:function(lr){var Lt,mt,vt;if(J(lr,0)==="["){if(J(lr,lr.length-1)!=="]"||(Lt=Me(_e(lr,1,-1)),!Lt))return Bt;this.host=Lt}else if(this.isSpecial()){if(lr=S(lr),K(ot,lr)||(Lt=Se(lr),Lt===null))return Bt;this.host=Lt}else{if(K(xt,lr))return Bt;for(Lt="",mt=y(lr),vt=0;vt<mt.length;vt++)Lt+=Pe(mt[vt],nt);this.host=Lt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return x(qe,this.scheme)},shortenPath:function(){var lr=this.path,Lt=lr.length;Lt&&(this.scheme!=="file"||Lt!==1||!Yt(lr[0],!0))&&lr.length--},serialize:function(){var lr=this,Lt=lr.scheme,mt=lr.username,vt=lr.password,Ut=lr.host,Sr=lr.port,yr=lr.path,it=lr.query,Br=lr.fragment,gn=Lt+":";return Ut!==null?(gn+="//",lr.includesCredentials()&&(gn+=mt+(vt?":"+vt:"")+"@"),gn+=He(Ut),Sr!==null&&(gn+=":"+Sr)):Lt==="file"&&(gn+="//"),gn+=lr.cannotBeABaseURL?yr[0]:yr.length?"/"+oe(yr,"/"):"",it!==null&&(gn+="?"+it),Br!==null&&(gn+="#"+Br),gn},setHref:function(lr){var Lt=this.parse(lr);if(Lt)throw new ae(Lt);this.searchParams.update()},getOrigin:function(){var lr=this.scheme,Lt=this.port;if(lr==="blob")try{return new Fr(lr.path[0]).origin}catch(mt){return"null"}return lr==="file"||!this.isSpecial()?"null":lr+"://"+He(this.host)+(Lt!==null?":"+Lt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(lr){this.parse(k(lr)+":",At)},getUsername:function(){return this.username},setUsername:function(lr){var Lt=y(k(lr));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var mt=0;mt<Lt.length;mt++)this.username+=Pe(Lt[mt],Ht)}},getPassword:function(){return this.password},setPassword:function(lr){var Lt=y(k(lr));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var mt=0;mt<Lt.length;mt++)this.password+=Pe(Lt[mt],Ht)}},getHost:function(){var lr=this.host,Lt=this.port;return lr===null?"":Lt===null?He(lr):He(lr)+":"+Lt},setHost:function(lr){this.cannotBeABaseURL||this.parse(lr,Oe)},getHostname:function(){var lr=this.host;return lr===null?"":He(lr)},setHostname:function(lr){this.cannotBeABaseURL||this.parse(lr,wt)},getPort:function(){var lr=this.port;return lr===null?"":k(lr)},setPort:function(lr){this.cannotHaveUsernamePasswordPort()||(lr=k(lr),lr===""?this.port=null:this.parse(lr,be))},getPathname:function(){var lr=this.path;return this.cannotBeABaseURL?lr[0]:lr.length?"/"+oe(lr,"/"):""},setPathname:function(lr){this.cannotBeABaseURL||(this.path=[],this.parse(lr,Fe))},getSearch:function(){var lr=this.query;return lr?"?"+lr:""},setSearch:function(lr){lr=k(lr),lr===""?this.query=null:(J(lr,0)==="?"&&(lr=_e(lr,1)),this.query="",this.parse(lr,Gr)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var lr=this.fragment;return lr?"#"+lr:""},setHash:function(lr){if(lr=k(lr),lr===""){this.fragment=null;return}J(lr,0)==="#"&&(lr=_e(lr,1)),this.fragment="",this.parse(lr,Qr)},update:function(){this.query=this.searchParams.serialize()||null}};var Fr=function(Lt){var mt=a(this,mr),vt=A(arguments.length,1)>1?arguments[1]:void 0,Ut=B(mt,new Cr(Lt,!1,vt));i||(mt.href=Ut.serialize(),mt.origin=Ut.getOrigin(),mt.protocol=Ut.getProtocol(),mt.username=Ut.getUsername(),mt.password=Ut.getPassword(),mt.host=Ut.getHost(),mt.hostname=Ut.getHostname(),mt.port=Ut.getPort(),mt.pathname=Ut.getPathname(),mt.search=Ut.getSearch(),mt.searchParams=Ut.getSearchParams(),mt.hash=Ut.getHash())},mr=Fr.prototype,jr=function(lr,Lt){return{get:function(){return j(this)[lr]()},set:Lt&&function(mt){return j(this)[Lt](mt)},configurable:!0,enumerable:!0}};if(i&&(u(mr,"href",jr("serialize","setHref")),u(mr,"origin",jr("getOrigin")),u(mr,"protocol",jr("getProtocol","setProtocol")),u(mr,"username",jr("getUsername","setUsername")),u(mr,"password",jr("getPassword","setPassword")),u(mr,"host",jr("getHost","setHost")),u(mr,"hostname",jr("getHostname","setHostname")),u(mr,"port",jr("getPort","setPort")),u(mr,"pathname",jr("getPathname","setPathname")),u(mr,"search",jr("getSearch","setSearch")),u(mr,"searchParams",jr("getSearchParams")),u(mr,"hash",jr("getHash","setHash"))),h(mr,"toJSON",function(){return j(this).serialize()},{enumerable:!0}),h(mr,"toString",function(){return j(this).serialize()},{enumerable:!0}),G){var sn=G.createObjectURL,cn=G.revokeObjectURL;sn&&h(Fr,"createObjectURL",f(sn,G)),cn&&h(Fr,"revokeObjectURL",f(cn,G))}R(Fr,"URL"),r({global:!0,constructor:!0,forced:!l,sham:!i},{URL:Fr})},25204:function(d,v,e){"use strict";e(13588)},47803:function(d,v,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,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},65873:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,S=!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(k){S=!0,x=k}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(S)throw x}}return _}}var l=e(99227),c=e(66160);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,h)||(0,c.Z)()}},89878:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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)}}},87268:function(d,v,e){"use strict";e.d(v,{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}},43577:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},13028:function(d,v,e){"use strict";e.d(v,{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}},95764:function(d,v,e){"use strict";e.d(v,{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)})}}},99153:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){if(!(i instanceof l))throw new TypeError("Cannot call a class as a function")}},84851:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(95172);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}},93046:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});var r=e(92359),i=e(61230),l=e(88243);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)}}},4635:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(95172);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}},14809:function(d,v,e){"use strict";e.d(v,{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)}},92359:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},r(i)}},19257:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(2386);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)}},61230:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(l){}return(r=function(){return!!i})()}},90017:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(typeof Symbol!="undefined"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}},22740:function(d,v,e){"use strict";e.d(v,{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.`)}},88590:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(4635);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}},20439:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(4635);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}},62646:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(74126);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}},74126:function(d,v,e){"use strict";e.d(v,{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}},88243:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(93664),i=e(13028);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)}},70539:function(d,v,e){"use strict";e.d(v,{Z:function(){return x}});function r(p,y){this.v=p,this.k=y}function i(p,y,_,b){var S=Object.defineProperty;try{S({},"",{})}catch(k){S=0}i=function(R,A,D,M){if(A)S?S(R,A,{value:D,enumerable:!M,configurable:!M,writable:!M}):R[A]=D;else{var B=function(Y,V){i(R,Y,function(G){return this._invoke(Y,V,G)})};B("next",0),B("throw",1),B("return",2)}},i(p,y,_,b)}function l(){var p,y,_=typeof Symbol=="function"?Symbol:{},b=_.iterator||"@@iterator",S=_.toStringTag||"@@toStringTag";function k(V,G,ae,ie){var ue=G&&G.prototype instanceof A?G:A,q=Object.create(ue.prototype);return i(q,"_invoke",function(J,K,oe){var ee,Q,le,Z=0,$=oe||[],se=!1,_e={p:0,n:0,v:p,a:De,f:De.bind(p,4),d:function(Ze,Ne){return ee=Ze,Q=0,le=p,_e.n=Ne,R}};function De(ke,Ze){for(Q=ke,le=Ze,y=0;!se&&Z&&!Ne&&y<$.length;y++){var Ne,Bt=$[y],yt=_e.p,Dt=Bt[2];ke>3?(Ne=Dt===Ze)&&(le=Bt[(Q=Bt[4])?5:(Q=3,3)],Bt[4]=Bt[5]=p):Bt[0]<=yt&&((Ne=ke<2&&yt<Bt[1])?(Q=0,_e.v=Ze,_e.n=Bt[1]):yt<Dt&&(Ne=ke<3||Bt[0]>Ze||Ze>Dt)&&(Bt[4]=ke,Bt[5]=Ze,_e.n=Dt,Q=0))}if(Ne||ke>1)return R;throw se=!0,Ze}return function(ke,Ze,Ne){if(Z>1)throw TypeError("Generator is already running");for(se&&Ze===1&&De(Ze,Ne),Q=Ze,le=Ne;(y=Q<2?p:le)||!se;){ee||(Q?Q<3?(Q>1&&(_e.n=-1),De(Q,le)):_e.n=le:_e.v=le);try{if(Z=2,ee){if(Q||(ke="next"),y=ee[ke]){if(!(y=y.call(ee,le)))throw TypeError("iterator result is not an object");if(!y.done)return y;le=y.value,Q<2&&(Q=0)}else Q===1&&(y=ee.return)&&y.call(ee),Q<2&&(le=TypeError("The iterator does not provide a '"+ke+"' method"),Q=1);ee=p}else if((y=(se=_e.n<0)?le:J.call(K,_e))!==R)break}catch(Bt){ee=p,Q=1,le=Bt}finally{Z=1}}return{value:y,done:se}}}(V,ae,ie),!0),q}var R={};function A(){}function D(){}function M(){}y=Object.getPrototypeOf;var B=[][b]?y(y([][b]())):(i(y={},b,function(){return this}),y),j=M.prototype=A.prototype=Object.create(B);function Y(V){return Object.setPrototypeOf?Object.setPrototypeOf(V,M):(V.__proto__=M,i(V,S,"GeneratorFunction")),V.prototype=Object.create(j),V}return D.prototype=M,i(j,"constructor",M),i(M,"constructor",D),D.displayName="GeneratorFunction",i(M,S,"GeneratorFunction"),i(j),i(j,S,"Generator"),i(j,b,function(){return this}),i(j,"toString",function(){return"[object Generator]"}),(l=function(){return{w:k,m:Y}})()}function c(p,y){function _(S,k,R,A){try{var D=p[S](k),M=D.value;return M instanceof r?y.resolve(M.v).then(function(B){_("next",B,R,A)},function(B){_("throw",B,R,A)}):y.resolve(M).then(function(B){D.value=B,R(D)},function(B){return _("throw",B,R,A)})}catch(B){A(B)}}var b;this.next||(i(c.prototype),i(c.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(S,k,R){function A(){return new y(function(D,M){_(S,R,D,M)})}return b=b?b.then(A,A):A()},!0)}function f(p,y,_,b,S){return new c(l().w(p,y,_,b),S||Promise)}function o(p,y,_,b,S){var k=f(p,y,_,b,S);return k.next().then(function(R){return R.done?R.value:k.next()})}function h(p){var y=Object(p),_=[];for(var b in y)_.unshift(b);return function S(){for(;_.length;)if((b=_.pop())in y)return S.value=b,S.done=!1,S;return S.done=!0,S}}var u=e(93664);function a(p){if(p!=null){var y=p[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],_=0;if(y)return y.call(p);if(typeof p.next=="function")return p;if(!isNaN(p.length))return{next:function(){return p&&_>=p.length&&(p=void 0),{value:p&&p[_++],done:!p}}}}throw new TypeError((0,u.Z)(p)+" is not iterable")}function x(){"use strict";var p=l(),y=p.m(x),_=(Object.getPrototypeOf?Object.getPrototypeOf(y):y.__proto__).constructor;function b(R){var A=typeof R=="function"&&R.constructor;return!!A&&(A===_||(A.displayName||A.name)==="GeneratorFunction")}var S={throw:1,return:2,break:3,continue:3};function k(R){var A,D;return function(M){A||(A={stop:function(){return D(M.a,2)},catch:function(){return M.v},abrupt:function(j,Y){return D(M.a,S[j],Y)},delegateYield:function(j,Y,V){return A.resultName=Y,D(M.d,a(j),V)},finish:function(j){return D(M.f,j)}},D=function(j,Y,V){M.p=A.prev,M.n=A.next;try{return j(Y,V)}finally{A.next=M.n}}),A.resultName&&(A[A.resultName]=M.v,A.resultName=void 0),A.sent=M.v,A.next=M.n;try{return R.call(this,A)}finally{M.p=A.prev,M.n=A.next}}}return(x=function(){return{wrap:function(D,M,B,j){return p.w(k(D),M,B,j&&j.reverse())},isGeneratorFunction:b,mark:p.m,awrap:function(D,M){return new r(D,M)},AsyncIterator:c,async:function(D,M,B,j,Y){return(b(M)?f:o)(k(D),M,B,j,Y)},keys:h,values:a}})()}},2386:function(d,v,e){"use strict";e.d(v,{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)}},50298:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(43577);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,S=!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(k){S=!0,x=k}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(S)throw x}}return _}}var l=e(58750),c=e(22740);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,h)||(0,c.Z)()}},21696:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(43577),i=e(90017),l=e(58750),c=e(22740);function f(o){return(0,r.Z)(o)||(0,i.Z)(o)||(0,l.Z)(o)||(0,c.Z)()}},95190:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(87268);function i(h){if(Array.isArray(h))return(0,r.Z)(h)}var l=e(90017),c=e(58750);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()}},95172:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(93664);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+""}},93664:function(d,v,e){"use strict";e.d(v,{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)}},58750:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(87268);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}}},15360:function(d,v,e){"use strict";e.d(v,{ZP:function(){return ir}});const r=Number.isFinite||function(P){return typeof P=="number"&&isFinite(P)},i=Number.isSafeInteger||function(P){return typeof P=="number"&&Math.abs(P)<=l},l=Number.MAX_SAFE_INTEGER||9007199254740991;let c=function(P){return P.NETWORK_ERROR="networkError",P.MEDIA_ERROR="mediaError",P.KEY_SYSTEM_ERROR="keySystemError",P.MUX_ERROR="muxError",P.OTHER_ERROR="otherError",P}({}),f=function(P){return P.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",P.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",P.KEY_SYSTEM_NO_SESSION="keySystemNoSession",P.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",P.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",P.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",P.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",P.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",P.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",P.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",P.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",P.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",P.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",P.MANIFEST_LOAD_ERROR="manifestLoadError",P.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",P.MANIFEST_PARSING_ERROR="manifestParsingError",P.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",P.LEVEL_EMPTY_ERROR="levelEmptyError",P.LEVEL_LOAD_ERROR="levelLoadError",P.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",P.LEVEL_PARSING_ERROR="levelParsingError",P.LEVEL_SWITCH_ERROR="levelSwitchError",P.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",P.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",P.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",P.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",P.FRAG_LOAD_ERROR="fragLoadError",P.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",P.FRAG_DECRYPT_ERROR="fragDecryptError",P.FRAG_PARSING_ERROR="fragParsingError",P.FRAG_GAP="fragGap",P.REMUX_ALLOC_ERROR="remuxAllocError",P.KEY_LOAD_ERROR="keyLoadError",P.KEY_LOAD_TIMEOUT="keyLoadTimeOut",P.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",P.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",P.BUFFER_APPEND_ERROR="bufferAppendError",P.BUFFER_APPENDING_ERROR="bufferAppendingError",P.BUFFER_STALLED_ERROR="bufferStalledError",P.BUFFER_FULL_ERROR="bufferFullError",P.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",P.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",P.ASSET_LIST_LOAD_ERROR="assetListLoadError",P.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",P.ASSET_LIST_PARSING_ERROR="assetListParsingError",P.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",P.INTERNAL_EXCEPTION="internalException",P.INTERNAL_ABORTED="aborted",P.ATTACH_MEDIA_ERROR="attachMediaError",P.UNKNOWN="unknown",P}({}),o=function(P){return P.MEDIA_ATTACHING="hlsMediaAttaching",P.MEDIA_ATTACHED="hlsMediaAttached",P.MEDIA_DETACHING="hlsMediaDetaching",P.MEDIA_DETACHED="hlsMediaDetached",P.MEDIA_ENDED="hlsMediaEnded",P.STALL_RESOLVED="hlsStallResolved",P.BUFFER_RESET="hlsBufferReset",P.BUFFER_CODECS="hlsBufferCodecs",P.BUFFER_CREATED="hlsBufferCreated",P.BUFFER_APPENDING="hlsBufferAppending",P.BUFFER_APPENDED="hlsBufferAppended",P.BUFFER_EOS="hlsBufferEos",P.BUFFERED_TO_END="hlsBufferedToEnd",P.BUFFER_FLUSHING="hlsBufferFlushing",P.BUFFER_FLUSHED="hlsBufferFlushed",P.MANIFEST_LOADING="hlsManifestLoading",P.MANIFEST_LOADED="hlsManifestLoaded",P.MANIFEST_PARSED="hlsManifestParsed",P.LEVEL_SWITCHING="hlsLevelSwitching",P.LEVEL_SWITCHED="hlsLevelSwitched",P.LEVEL_LOADING="hlsLevelLoading",P.LEVEL_LOADED="hlsLevelLoaded",P.LEVEL_UPDATED="hlsLevelUpdated",P.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",P.LEVELS_UPDATED="hlsLevelsUpdated",P.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",P.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",P.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",P.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",P.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",P.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",P.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",P.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",P.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",P.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",P.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",P.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",P.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",P.CUES_PARSED="hlsCuesParsed",P.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",P.INIT_PTS_FOUND="hlsInitPtsFound",P.FRAG_LOADING="hlsFragLoading",P.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",P.FRAG_LOADED="hlsFragLoaded",P.FRAG_DECRYPTED="hlsFragDecrypted",P.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",P.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",P.FRAG_PARSING_METADATA="hlsFragParsingMetadata",P.FRAG_PARSED="hlsFragParsed",P.FRAG_BUFFERED="hlsFragBuffered",P.FRAG_CHANGED="hlsFragChanged",P.FPS_DROP="hlsFpsDrop",P.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",P.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",P.ERROR="hlsError",P.DESTROYING="hlsDestroying",P.KEY_LOADING="hlsKeyLoading",P.KEY_LOADED="hlsKeyLoaded",P.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",P.BACK_BUFFER_REACHED="hlsBackBufferReached",P.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",P.ASSET_LIST_LOADING="hlsAssetListLoading",P.ASSET_LIST_LOADED="hlsAssetListLoaded",P.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",P.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",P.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",P.INTERSTITIAL_STARTED="hlsInterstitialStarted",P.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",P.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",P.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",P.INTERSTITIAL_ENDED="hlsInterstitialEnded",P.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",P.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",P.EVENT_CUE_ENTER="hlsEventCueEnter",P}({});var h={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},u={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};class a{constructor(t,n=0,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(P,t,n){return(t=k(t))in P?Object.defineProperty(P,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):P[t]=n,P}function y(){return y=Object.assign?Object.assign.bind():function(P){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(P[s]=n[s])}return P},y.apply(null,arguments)}function _(P,t){var n=Object.keys(P);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(P);t&&(s=s.filter(function(m){return Object.getOwnPropertyDescriptor(P,m).enumerable})),n.push.apply(n,s)}return n}function b(P){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(s){p(P,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(s){Object.defineProperty(P,s,Object.getOwnPropertyDescriptor(n,s))})}return P}function S(P,t){if(typeof P!="object"||!P)return P;var n=P[Symbol.toPrimitive];if(n!==void 0){var s=n.call(P,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(P)}function k(P){var t=S(P,"string");return typeof t=="symbol"?t:t+""}class R{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=A,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 A=function(){},D={trace:A,debug:A,log:A,warn:A,info:A,error:A};function M(){return y({},D)}function B(P,t){const n=self.console[P];return n?n.bind(self.console,`${t?"["+t+"] ":""}[${P}] >`):A}function j(P,t,n){return t[P]?t[P].bind(t):B(P,n)}const Y=M();function V(P,t,n){const s=M();if(typeof console=="object"&&P===!0||typeof P=="object"){const m=["debug","log","info","warn","error"];m.forEach(E=>{s[E]=j(E,P,n)});try{s.log(`Debug logs enabled for "${t}" in hls.js version 1.6.5`)}catch(E){return M()}m.forEach(E=>{Y[E]=j(E,P)})}else y(Y,s);return s}const G=Y;function ae(P=!0){return typeof self=="undefined"?void 0:(P||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ie(P){return typeof self!="undefined"&&P===self.ManagedMediaSource}function ue(P,t){const n=Object.keys(P),s=Object.keys(t),m=n.length,E=s.length;return!m||!E||m===E&&!n.some(T=>s.indexOf(T)===-1)}function q(P,t=!1){if(typeof TextDecoder!="undefined"){const N=new TextDecoder("utf-8").decode(P);if(t){const te=N.indexOf("\0");return te!==-1?N.substring(0,te):N}return N.replace(/\0/g,"")}const n=P.length;let s,m,E,T="",U=0;for(;U<n;){if(s=P[U++],s===0&&t)return T;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:T+=String.fromCharCode(s);break;case 12:case 13:m=P[U++],T+=String.fromCharCode((s&31)<<6|m&63);break;case 14:m=P[U++],E=P[U++],T+=String.fromCharCode((s&15)<<12|(m&63)<<6|(E&63)<<0);break}}return T}const J={hexDump:function(P){let t="";for(let n=0;n<P.length;n++){let s=P[n].toString(16);s.length<2&&(s="0"+s),t+=s}return t}};function K(P){return P&&P.__esModule&&Object.prototype.hasOwnProperty.call(P,"default")?P.default:P}var oe={exports:{}},ee;function Q(){return ee||(ee=1,function(P,t){(function(n){var s=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,m=/^(?=([^\/?#]*))\1([^]*)$/,E=/(?:\/|^)\.(?=\/)/g,T=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,U={buildAbsoluteURL:function(W,N,te){if(te=te||{},W=W.trim(),N=N.trim(),!N){if(!te.alwaysNormalize)return W;var ce=U.parseURL(W);if(!ce)throw new Error("Error trying to parse base URL.");return ce.path=U.normalizePath(ce.path),U.buildURLFromParts(ce)}var xe=U.parseURL(N);if(!xe)throw new Error("Error trying to parse relative URL.");if(xe.scheme)return te.alwaysNormalize?(xe.path=U.normalizePath(xe.path),U.buildURLFromParts(xe)):N;var Ie=U.parseURL(W);if(!Ie)throw new Error("Error trying to parse base URL.");if(!Ie.netLoc&&Ie.path&&Ie.path[0]!=="/"){var Ae=m.exec(Ie.path);Ie.netLoc=Ae[1],Ie.path=Ae[2]}Ie.netLoc&&!Ie.path&&(Ie.path="/");var at={scheme:Ie.scheme,netLoc:xe.netLoc,path:null,params:xe.params,query:xe.query,fragment:xe.fragment};if(!xe.netLoc&&(at.netLoc=Ie.netLoc,xe.path[0]!=="/"))if(!xe.path)at.path=Ie.path,xe.params||(at.params=Ie.params,xe.query||(at.query=Ie.query));else{var tt=Ie.path,kt=tt.substring(0,tt.lastIndexOf("/")+1)+xe.path;at.path=U.normalizePath(kt)}return at.path===null&&(at.path=te.alwaysNormalize?U.normalizePath(xe.path):xe.path),U.buildURLFromParts(at)},parseURL:function(W){var N=s.exec(W);return N?{scheme:N[1]||"",netLoc:N[2]||"",path:N[3]||"",params:N[4]||"",query:N[5]||"",fragment:N[6]||""}:null},normalizePath:function(W){for(W=W.split("").reverse().join("").replace(E,"");W.length!==(W=W.replace(T,"")).length;);return W.split("").reverse().join("")},buildURLFromParts:function(W){return W.scheme+W.netLoc+W.path+W.params+W.query+W.fragment}};P.exports=U})()}(oe)),oe.exports}var le=Q();class Z{constructor(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}}var $={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class se{constructor(t){this._byteRange=null,this._url=null,this._stats=null,this._streams=null,this.base=void 0,this.relurl=void 0,typeof t=="string"&&(t={url:t}),this.base=t,Ne(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={[$.AUDIO]:null,[$.VIDEO]:null,[$.AUDIOVIDEO]:null}),this._streams}set elementaryStreams(t){this._streams=t}get hasStats(){return this._stats!==null}get hasStreams(){return this._streams!==null}get stats(){return this._stats===null&&(this._stats=new Z),this._stats}set stats(t){this._stats=t}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=le.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(t){this._url=t}clearElementaryStreamInfo(){const{elementaryStreams:t}=this;t[$.AUDIO]=null,t[$.VIDEO]=null,t[$.AUDIOVIDEO]=null}}function _e(P){return P.sn!=="initSegment"}class De extends se{constructor(t,n){super(n),this._decryptdata=null,this._programDateTime=null,this._ref=null,this._bitrate=void 0,this.rawProgramDateTime=null,this.tagList=[],this.duration=0,this.sn=0,this.levelkeys=void 0,this.type=void 0,this.loader=null,this.keyLoader=null,this.level=-1,this.cc=0,this.startPTS=void 0,this.endPTS=void 0,this.startDTS=void 0,this.endDTS=void 0,this.start=0,this.playlistOffset=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.data=void 0,this.bitrateTest=!1,this.title=null,this.initSegment=null,this.endList=void 0,this.gap=void 0,this.urlId=0,this.type=t}get byteLength(){if(this.hasStats){const t=this.stats.total;if(t)return t}if(this.byteRange){const t=this.byteRange[0],n=this.byteRange[1];if(r(t)&&r(n))return n-t}return null}get bitrate(){return this.byteLength?this.byteLength*8/this.duration:this._bitrate?this._bitrate:null}set bitrate(t){this._bitrate=t}get decryptdata(){const{levelkeys:t}=this;if(!t&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){const n=this.levelkeys.identity;if(n)this._decryptdata=n.getDecryptData(this.sn);else{const 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 _e(this)?(this._ref||(this._ref={base:this.base,start:this.start,duration:this.duration,sn:this.sn,programDateTime:this.programDateTime}),this._ref):null}addStart(t){this.setStart(this.start+t)}setStart(t){this.start=t,this._ref&&(this._ref.start=t)}setDuration(t){this.duration=t,this._ref&&(this._ref.duration=t)}setKeyFormat(t){if(this.levelkeys){const n=this.levelkeys[t];n&&!this._decryptdata&&(this._decryptdata=n.getDecryptData(this.sn))}}abortRequests(){var t,n;(t=this.loader)==null||t.abort(),(n=this.keyLoader)==null||n.abort()}setElementaryStreamInfo(t,n,s,m,E,T=!1){const{elementaryStreams:U}=this,W=U[t];if(!W){U[t]={startPTS:n,endPTS:s,startDTS:m,endDTS:E,partial:T};return}W.startPTS=Math.min(W.startPTS,n),W.endPTS=Math.max(W.endPTS,s),W.startDTS=Math.min(W.startDTS,m),W.endDTS=Math.max(W.endDTS,E)}}class ke extends se{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 T=t.enumeratedString("BYTERANGE");T&&this.setByteRange(T,E),E&&(this.fragOffset=E.fragOffset+E.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:t}=this;return!!(t.audio||t.video||t.audiovideo)}}function Ze(P,t){const n=Object.getPrototypeOf(P);if(n){const s=Object.getOwnPropertyDescriptor(n,t);return s||Ze(n,t)}}function Ne(P,t){const n=Ze(P,t);n&&(n.enumerable=!0,Object.defineProperty(P,t,n))}const Bt=Math.pow(2,32)-1,yt=[].push,Dt={video:1,audio:2,id3:3,text:4};function Jt(P){return String.fromCharCode.apply(null,P)}function er(P,t){const n=P[t]<<8|P[t+1];return n<0?65536+n:n}function tr(P,t){const n=Pt(P,t);return n<0?4294967296+n:n}function Xe(P,t){let n=tr(P,t);return n*=Math.pow(2,32),n+=tr(P,t+4),n}function Pt(P,t){return P[t]<<24|P[t+1]<<16|P[t+2]<<8|P[t+3]}function Zt(P,t,n){P[t]=n>>24,P[t+1]=n>>16&255,P[t+2]=n>>8&255,P[t+3]=n&255}function ot(P){const t=P.byteLength;for(let n=0;n<t;){const s=tr(P,n);if(s>8&&P[n+4]===109&&P[n+5]===111&&P[n+6]===111&&P[n+7]===102)return!0;n=s>1?n+s:t}return!1}function xt(P,t){const n=[];if(!t.length)return n;const s=P.byteLength;for(let m=0;m<s;){const E=tr(P,m),T=Jt(P.subarray(m+4,m+8)),U=E>1?m+E:s;if(T===t[0])if(t.length===1)n.push(P.subarray(m+8,U));else{const W=xt(P.subarray(m+8,U),t.slice(1));W.length&&yt.apply(n,W)}m=U}return n}function ht(P){const t=[],n=P[0];let s=8;const m=tr(P,s);s+=4;let E=0,T=0;n===0?(E=tr(P,s),T=tr(P,s+4),s+=8):(E=Xe(P,s),T=Xe(P,s+8),s+=16),s+=2;let U=P.length+T;const W=er(P,s);s+=2;for(let N=0;N<W;N++){let te=s;const ce=tr(P,te);te+=4;const xe=ce&2147483647;if((ce&2147483648)>>>31===1)return G.warn("SIDX has hierarchical references (not supported)"),null;const Ae=tr(P,te);te+=4,t.push({referenceSize:xe,subsegmentDuration:Ae,info:{duration:Ae/m,start:U,end:U+xe-1}}),U+=xe,te+=4,s=te}return{earliestPresentationTime:E,timescale:m,version:n,referencesCount:W,references:t}}function et(P){const t=[],n=xt(P,["moov","trak"]);for(let m=0;m<n.length;m++){const E=n[m],T=xt(E,["tkhd"])[0];if(T){let U=T[0];const W=tr(T,U===0?12:20),N=xt(E,["mdia","mdhd"])[0];if(N){U=N[0];const te=tr(N,U===0?12:20),ce=xt(E,["mdia","hdlr"])[0];if(ce){const xe=Jt(ce.subarray(8,12)),Ie={soun:$.AUDIO,vide:$.VIDEO}[xe],Ae=xt(E,["mdia","minf","stbl","stsd"])[0],at=je(Ae);Ie?(t[W]={timescale:te,type:Ie,stsd:at},t[Ie]=b({timescale:te,id:W},at)):t[W]={timescale:te,type:xe,stsd:at}}}}}return xt(P,["moov","mvex","trex"]).forEach(m=>{const E=tr(m,4),T=t[E];T&&(T.default={duration:tr(m,12),flags:tr(m,20)})}),t}function je(P){const t=P.subarray(8),n=t.subarray(86),s=Jt(t.subarray(4,8));let m=s,E;const T=s==="enca"||s==="encv";if(T){const N=xt(t,[s])[0].subarray(s==="enca"?28:78);xt(N,["sinf"]).forEach(ce=>{const xe=xt(ce,["schm"])[0];if(xe){const Ie=Jt(xe.subarray(4,8));if(Ie==="cbcs"||Ie==="cenc"){const Ae=xt(ce,["frma"])[0];Ae&&(m=Jt(Ae))}}})}const U=m;switch(m){case"avc1":case"avc2":case"avc3":case"avc4":{const W=xt(n,["avcC"])[0];W&&W.length>3&&(m+="."+$e(W[1])+$e(W[2])+$e(W[3]),E=ge(U==="avc1"?"dva1":"dvav",n));break}case"mp4a":{const W=xt(t,[s])[0],N=xt(W.subarray(28),["esds"])[0];if(N&&N.length>7){let te=4;if(N[te++]!==3)break;te=Me(N,te),te+=2;const ce=N[te++];if(ce&128&&(te+=2),ce&64&&(te+=N[te++]),N[te++]!==4)break;te=Me(N,te);const xe=N[te++];if(xe===64)m+="."+$e(xe);else break;if(te+=12,N[te++]!==5)break;te=Me(N,te);const Ie=N[te++];let Ae=(Ie&248)>>3;Ae===31&&(Ae+=1+((Ie&7)<<3)+((N[te]&224)>>5)),m+="."+Ae}break}case"hvc1":case"hev1":{const W=xt(n,["hvcC"])[0];if(W&&W.length>12){const N=W[1],te=["","A","B","C"][N>>6],ce=N&31,xe=tr(W,2),Ie=(N&32)>>5?"H":"L",Ae=W[12],at=W.subarray(6,12);m+="."+te+ce,m+="."+Se(xe).toString(16).toUpperCase(),m+="."+Ie+Ae;let tt="";for(let kt=at.length;kt--;){const fr=at[kt];(fr||tt)&&(tt="."+fr.toString(16).toUpperCase()+tt)}m+=tt}E=ge(U=="hev1"?"dvhe":"dvh1",n);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{m=ge(m,n)||m;break}case"vp09":{const W=xt(n,["vpcC"])[0];if(W&&W.length>6){const N=W[4],te=W[5],ce=W[6]>>4&15;m+="."+He(N)+"."+He(te)+"."+He(ce)}break}case"av01":{const W=xt(n,["av1C"])[0];if(W&&W.length>2){const N=W[1]>>>5,te=W[1]&31,ce=W[2]>>>7?"H":"M",xe=(W[2]&64)>>6,Ie=(W[2]&32)>>5,Ae=N===2&&xe?Ie?12:10:xe?10:8,at=(W[2]&16)>>4,tt=(W[2]&8)>>3,kt=(W[2]&4)>>2,fr=W[2]&3;m+="."+N+"."+He(te)+ce+"."+He(Ae)+"."+at+"."+tt+kt+fr+"."+He(1)+"."+He(1)+"."+He(1)+"."+0,E=ge("dav1",n)}break}}return{codec:m,encrypted:T,supplemental:E}}function ge(P,t){const n=xt(t,["dvvC"]),s=n.length?n[0]:xt(t,["dvcC"])[0];if(s){const m=s[2]>>1&127,E=s[2]<<5&32|s[3]>>3&31;return P+"."+He(m)+"."+He(E)}}function Se(P){let t=0;for(let n=0;n<32;n++)t|=(P>>n&1)<<31-n;return t>>>0}function Me(P,t){const n=t+5;for(;P[t++]&128&&t<n;);return t}function $e(P){return("0"+P.toString(16).toUpperCase()).slice(-2)}function He(P){return(P<10?"0":"")+P}function nt(P,t){if(!P||!t)return P;const n=t.keyId;return n&&t.isCommonEncryption&&xt(P,["moov","trak"]).forEach(m=>{const T=xt(m,["mdia","minf","stbl","stsd"])[0].subarray(8);let U=xt(T,["enca"]);const W=U.length>0;W||(U=xt(T,["encv"])),U.forEach(N=>{const te=W?N.subarray(28):N.subarray(78);xt(te,["sinf"]).forEach(xe=>{const Ie=ct(xe);if(Ie){const Ae=Ie.subarray(8,24);Ae.some(at=>at!==0)||(G.log(`[eme] Patching keyId in 'enc${W?"a":"v"}>sinf>>tenc' box: ${J.hexDump(Ae)} -> ${J.hexDump(n)}`),Ie.set(n,8))}})})}),P}function ct(P){const t=xt(P,["schm"])[0];if(t){const n=Jt(t.subarray(4,8));if(n==="cbcs"||n==="cenc")return xt(P,["schi","tenc"])[0]}return null}function Vt(P,t,n){const s={},m=xt(P,["moof","traf"]);for(let E=0;E<m.length;E++){const T=m[E],U=xt(T,["tfhd"])[0],W=tr(U,4),N=t[W];if(!N)continue;const te=s[W]||(s[W]={start:NaN,duration:0,sampleCount:0,timescale:N.timescale,type:N.type}),ce=xt(T,["tfdt"])[0];if(ce){const sr=ce[0];let kr=tr(ce,4);sr===1&&(kr===Bt?n.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"):(kr*=Bt+1,kr+=tr(ce,8))),r(kr)&&(!r(te.start)||kr<te.start)&&(te.start=kr)}const xe=N.default,Ie=tr(U,0)|(xe==null?void 0:xe.flags);let Ae=(xe==null?void 0:xe.duration)||0;Ie&8&&(Ie&2?Ae=tr(U,12):Ae=tr(U,8));const at=xt(T,["trun"]);let tt=te.start||0,kt=0,fr=Ae;for(let sr=0;sr<at.length;sr++){const kr=at[sr],zr=tr(kr,4),ln=te.sampleCount;te.sampleCount+=zr;const Wr=kr[3]&1,en=kr[3]&4,un=kr[2]&1,Kr=kr[2]&2,Un=kr[2]&4,pi=kr[2]&8;let ua=8,ji=zr;for(Wr&&(ua+=4),en&&zr&&(!(kr[ua+1]&1)&&te.keyFrameIndex===void 0&&(te.keyFrameIndex=ln),ua+=4,un?(fr=tr(kr,ua),ua+=4):fr=Ae,Kr&&(ua+=4),pi&&(ua+=4),tt+=fr,kt+=fr,ji--);ji--;)un?(fr=tr(kr,ua),ua+=4):fr=Ae,Kr&&(ua+=4),Un&&(kr[ua+1]&1||te.keyFrameIndex===void 0&&(te.keyFrameIndex=te.sampleCount-(ji+1),te.keyFrameStart=tt),ua+=4),pi&&(ua+=4),tt+=fr,kt+=fr;!kt&&Ae&&(kt+=Ae*zr)}te.duration+=kt}if(!Object.keys(s).some(E=>s[E].duration)){let E=1/0,T=0;const U=xt(P,["sidx"]);for(let W=0;W<U.length;W++){const N=ht(U[W]);if(N!=null&&N.references){E=Math.min(E,N.earliestPresentationTime/N.timescale);const te=N.references.reduce((ce,xe)=>ce+xe.info.duration||0,0);T=Math.max(T,te+N.earliestPresentationTime/N.timescale)}}T&&r(T)&&Object.keys(s).forEach(W=>{s[W].duration||(s[W].duration=T*s[W].timescale-s[W].start)})}return s}function Ht(P,t,n){xt(t,["moof","traf"]).forEach(s=>{xt(s,["tfhd"]).forEach(m=>{const E=tr(m,4),T=P[E];if(!T)return;const U=T.timescale||9e4;xt(s,["tfdt"]).forEach(W=>{const N=W[0],te=n*U;if(te){let ce=tr(W,4);if(N===0)ce-=te,ce=Math.max(ce,0),Zt(W,4,ce);else{ce*=Math.pow(2,32),ce+=tr(W,8),ce-=te,ce=Math.max(ce,0);const xe=Math.floor(ce/(Bt+1)),Ie=Math.floor(ce%(Bt+1));Zt(W,4,xe),Zt(W,8,Ie)}}})})})}function Pe(P){const t={valid:null,remainder:null},n=xt(P,["moof"]);if(n.length<2)return t.remainder=P,t;const s=n[n.length-1];return t.valid=P.slice(0,s.byteOffset-8),t.remainder=P.slice(s.byteOffset-8),t}function qe(P,t){const n=new Uint8Array(P.length+t.length);return n.set(P),n.set(t,P.length),n}function Yt(P,t){const n=[],s=t.samples,m=t.timescale,E=t.id;let T=!1;return xt(s,["moof"]).map(W=>{const N=W.byteOffset-8;xt(W,["traf"]).map(ce=>{const xe=xt(ce,["tfdt"]).map(Ie=>{const Ae=Ie[0];let at=tr(Ie,4);return Ae===1&&(at*=Math.pow(2,32),at+=tr(Ie,8)),at/m})[0];return xe!==void 0&&(P=xe),xt(ce,["tfhd"]).map(Ie=>{const Ae=tr(Ie,4),at=tr(Ie,0)&16777215,tt=(at&1)!==0,kt=(at&2)!==0,fr=(at&8)!==0;let sr=0;const kr=(at&16)!==0;let zr=0;const ln=(at&32)!==0;let Wr=8;Ae===E&&(tt&&(Wr+=8),kt&&(Wr+=4),fr&&(sr=tr(Ie,Wr),Wr+=4),kr&&(zr=tr(Ie,Wr),Wr+=4),ln&&(Wr+=4),t.type==="video"&&(T=Rt(t.codec)),xt(ce,["trun"]).map(en=>{const un=en[0],Kr=tr(en,0)&16777215,Un=(Kr&1)!==0;let pi=0;const ua=(Kr&4)!==0,ji=(Kr&256)!==0;let Ui=0;const fi=(Kr&512)!==0;let Vi=0;const ea=(Kr&1024)!==0,Xn=(Kr&2048)!==0;let ri=0;const Aa=tr(en,4);let Ca=8;Un&&(pi=tr(en,Ca),Ca+=4),ua&&(Ca+=4);let as=pi+N;for(let Cs=0;Cs<Aa;Cs++){if(ji?(Ui=tr(en,Ca),Ca+=4):Ui=sr,fi?(Vi=tr(en,Ca),Ca+=4):Vi=zr,ea&&(Ca+=4),Xn&&(un===0?ri=tr(en,Ca):ri=Pt(en,Ca),Ca+=4),t.type===$.VIDEO){let zs=0;for(;zs<Vi;){const fo=tr(s,as);if(as+=4,Wt(T,s[as])){const Ku=s.subarray(as,as+fo);$t(Ku,T?2:1,P+ri/m,n)}as+=fo,zs+=fo+4}}P+=Ui/m}}))})})}),n}function Rt(P){if(!P)return!1;const t=P.substring(0,4);return t==="hvc1"||t==="hev1"||t==="dvh1"||t==="dvhe"}function Wt(P,t){if(P){const n=t>>1&63;return n===39||n===40}else return(t&31)===6}function $t(P,t,n,s){const m=At(P);let E=0;E+=t;let T=0,U=0,W=0;for(;E<m.length;){T=0;do{if(E>=m.length)break;W=m[E++],T+=W}while(W===255);U=0;do{if(E>=m.length)break;W=m[E++],U+=W}while(W===255);const N=m.length-E;let te=E;if(U<N)E+=U;else if(U>N){G.error(`Malformed SEI payload. ${U} is too small, only ${N} bytes left to parse.`);break}if(T===4){if(m[te++]===181){const xe=er(m,te);if(te+=2,xe===49){const Ie=tr(m,te);if(te+=4,Ie===1195456820){const Ae=m[te++];if(Ae===3){const at=m[te++],tt=31&at,kt=64&at,fr=kt?2+tt*3:0,sr=new Uint8Array(fr);if(kt){sr[0]=at;for(let kr=1;kr<fr;kr++)sr[kr]=m[te++]}s.push({type:Ae,payloadType:T,pts:n,bytes:sr})}}}}}else if(T===5&&U>16){const ce=[];for(let Ae=0;Ae<16;Ae++){const at=m[te++].toString(16);ce.push(at.length==1?"0"+at:at),(Ae===3||Ae===5||Ae===7||Ae===9)&&ce.push("-")}const xe=U-16,Ie=new Uint8Array(xe);for(let Ae=0;Ae<xe;Ae++)Ie[Ae]=m[te++];s.push({payloadType:T,pts:n,uuid:ce.join(""),userData:q(Ie),userDataBytes:Ie})}}}function At(P){const t=P.byteLength,n=[];let s=1;for(;s<t-2;)P[s]===0&&P[s+1]===0&&P[s+2]===3?(n.push(s+2),s+=2):s++;if(n.length===0)return P;const m=t-n.length,E=new Uint8Array(m);let T=0;for(s=0;s<m;T++,s++)T===n[0]&&(T++,n.shift()),E[s]=P[T];return E}function Xt(P){const t=P[0];let n="",s="",m=0,E=0,T=0,U=0,W=0,N=0;if(t===0){for(;Jt(P.subarray(N,N+1))!=="\0";)n+=Jt(P.subarray(N,N+1)),N+=1;for(n+=Jt(P.subarray(N,N+1)),N+=1;Jt(P.subarray(N,N+1))!=="\0";)s+=Jt(P.subarray(N,N+1)),N+=1;s+=Jt(P.subarray(N,N+1)),N+=1,m=tr(P,12),E=tr(P,16),U=tr(P,20),W=tr(P,24),N=28}else if(t===1){N+=4,m=tr(P,N),N+=4;const ce=tr(P,N);N+=4;const xe=tr(P,N);for(N+=4,T=4294967296*ce+xe,i(T)||(T=Number.MAX_SAFE_INTEGER,G.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),U=tr(P,N),N+=4,W=tr(P,N),N+=4;Jt(P.subarray(N,N+1))!=="\0";)n+=Jt(P.subarray(N,N+1)),N+=1;for(n+=Jt(P.subarray(N,N+1)),N+=1;Jt(P.subarray(N,N+1))!=="\0";)s+=Jt(P.subarray(N,N+1)),N+=1;s+=Jt(P.subarray(N,N+1)),N+=1}const te=P.subarray(N,P.byteLength);return{schemeIdUri:n,value:s,timeScale:m,presentationTime:T,presentationTimeDelta:E,eventDuration:U,id:W,payload:te}}function We(P,...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(P,4),m=0,s=8;m<n;m++)E.set(t[m],s),s+=t[m].byteLength;return E}function fe(P,t,n){if(P.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 T=new Uint8Array(4);return n&&n.byteLength>0&&new DataView(T.buffer).setUint32(0,n.byteLength,!1),We([112,115,115,104],new Uint8Array([s,0,0,0]),P,E,m,T,n||new Uint8Array)}function pe(P){const t=[];if(P instanceof ArrayBuffer){const n=P.byteLength;let s=0;for(;s+32<n;){const m=new DataView(P,s),E=Ot(m);t.push(E),s+=E.size}}return t}function Ot(P){const t=P.getUint32(0),n=P.byteOffset,s=P.byteLength;if(s<t)return{offset:n,size:s};if(P.getUint32(4)!==1886614376)return{offset:n,size:t};const E=P.getUint32(8)>>>24;if(E!==0&&E!==1)return{offset:n,size:t};const T=P.buffer,U=J.hexDump(new Uint8Array(T,n+12,16)),W=P.getUint32(28);let N=null,te=null;if(E===0){if(t-32<W||W<22)return{offset:n,size:t};te=new Uint8Array(T,n+32,W)}else if(E===1){if(!W||s<n+32+W*16+16)return{offset:n,size:t};N=[];for(let ce=0;ce<W;ce++)N.push(new Uint8Array(T,n+32+ce*16,16))}return{version:E,systemId:U,kids:N,data:te,offset:n,size:t}}const Te=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),dt={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 Gt(P,t){const n=dt[t];return!!n&&!!n[P.slice(0,4)]}function St(P,t,n=!0){return!P.split(",").some(s=>!Oe(s,t,n))}function Oe(P,t,n=!0){var s;const m=ae(n);return(s=m==null?void 0:m.isTypeSupported(wt(P,t)))!=null?s:!1}function wt(P,t){return`${t}/mp4;codecs=${P}`}function be(P){if(P){const t=P.substring(0,4);return dt.video[t]}return 2}function Ke(P){const t=Te();return P.split(",").reduce((n,s)=>{const E=t&&Rt(s)?9:dt.video[s];return E?(E*2+n)/(n?3:2):(dt.audio[s]+n)/(n?2:1)},0)}const gt={};function Ft(P,t=!0){if(gt[P])return gt[P];const n={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[P];for(let m=0;m<n.length;m++){var s;if(Oe(n[m],"audio",t))return gt[P]=n[m],n[m];if(n[m]==="mp3"&&(s=ae(t))!=null&&s.isTypeSupported("audio/mpeg"))return""}return P}const Fe=/flac|opus|mp4a\.40\.34/i;function Dr(P,t=!0){return P.replace(Fe,n=>Ft(n.toLowerCase(),t))}function Ct(P,t){const n=[];if(P){const s=P.split(",");for(let m=0;m<s.length;m++)Gt(s[m],"video")||n.push(s[m])}return t&&n.push(t),n.join(",")}function Gr(P,t){if(P&&(P.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(P)!==-1))return P;if(t){const n=t.split(",");if(n.length>1){if(P){for(let s=n.length;s--;)if(n[s].substring(0,4)===P.substring(0,4))return n[s]}return n[0]}}return t||P}function Qr(P){const t=P.split(",");for(let n=0;n<t.length;n++){const s=t[n].split(".");s.length>2&&s[0]==="avc1"&&(t[n]=`avc1.${parseInt(s[1]).toString(16)}${("000"+parseInt(s[2]).toString(16)).slice(-4)}`)}return t.join(",")}function Cr(P){if(P.startsWith("av01.")){const t=P.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 P}function Fr(P){const t=ae(P)||{isTypeSupported:()=>!1};return{mpeg:t.isTypeSupported("audio/mpeg"),mp3:t.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:t.isTypeSupported('audio/mp4; codecs="ac-3"')}}function mr(P){return P.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const jr={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function sn(P,t){return{supported:!1,configurations:t,decodingInfoResults:[{supported:!1,smooth:!1,powerEfficient:!1}],error:P}}const cn={};function lr(P,t,n,s,m,E){const T=P.audioCodec?P.audioGroups:null,U=E==null?void 0:E.audioCodec,W=E==null?void 0:E.channels,N=W?parseInt(W):U?1/0:2;let te=null;if(T!=null&&T.length)try{T.length===1&&T[0]?te=t.groups[T[0]].channels:te=T.reduce((ce,xe)=>{if(xe){const Ie=t.groups[xe];if(!Ie)throw new Error(`Audio track group ${xe} not found`);Object.keys(Ie.channels).forEach(Ae=>{ce[Ae]=(ce[Ae]||0)+Ie.channels[Ae]})}return ce},{2:0})}catch(ce){return!0}return P.videoCodec!==void 0&&(P.width>1920&&P.height>1088||P.height>1920&&P.width>1088||P.frameRate>Math.max(s,30)||P.videoRange!=="SDR"&&P.videoRange!==n||P.bitrate>Math.max(m,8e6))||!!te&&r(N)&&Object.keys(te).some(ce=>parseInt(ce)>N)}function Lt(P,t,n){const s=P.videoCodec,m=P.audioCodec;if(!s&&!m||!n)return Promise.resolve(jr);const E=[];if(s){const T={width:P.width,height:P.height,bitrate:Math.ceil(Math.max(P.bitrate*.9,P.averageBitrate)),framerate:P.frameRate||30},U=P.videoRange;U!=="SDR"&&(T.transferFunction=U.toLowerCase());const W=s.split(","),N=navigator.userAgent;if(W.some(te=>Rt(te))&&Te())return Promise.resolve(sn(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent sting: (${N})`),E));E.push.apply(E,W.map(te=>({type:"media-source",video:b(b({},T),{},{contentType:wt(Cr(te),"video")})})))}return m&&P.audioGroups&&P.audioGroups.forEach(T=>{var U;T&&((U=t.groups[T])==null||U.tracks.forEach(W=>{if(W.groupId===T){const N=W.channels||"",te=parseFloat(N);r(te)&&te>2&&E.push.apply(E,m.split(",").map(ce=>({type:"media-source",audio:{contentType:wt(ce,"audio"),channels:""+te}})))}}))}),Promise.all(E.map(T=>{const U=mt(T);return cn[U]||(cn[U]=n.decodingInfo(T))})).then(T=>({supported:!T.some(U=>!U.supported),configurations:E,decodingInfoResults:T})).catch(T=>({supported:!1,configurations:E,decodingInfoResults:[],error:T}))}function mt(P){const{audio:t,video:n}=P,s=n||t;if(s){const m=mr(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 vt=["NONE","TYPE-0","TYPE-1",null];function Ut(P){return vt.indexOf(P)>-1}const Sr=["SDR","PQ","HLG"];function yr(P){return!!P&&Sr.indexOf(P)>-1}var it={No:"",Yes:"YES",v2:"v2"};function Br(P){const{canSkipUntil:t,canSkipDateRanges:n,age:s}=P,m=s<t/2;return t&&m?n?it.v2:it.Yes:it.No}class gn{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 zn{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 gr(this._audioGroups,t)}hasSubtitleGroup(t){return gr(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 gr(P,t){return!t||!P?!1:P.indexOf(t)!==-1}function tn(){if(typeof matchMedia=="function"){const P=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(P.media!==t.media)return P.matches===!0}return!1}function pn(P,t){let n=!1,s=[];if(P&&(n=P!=="SDR",s=[P]),t){s=t.allowedVideoRanges||Sr.slice(0);const m=s.join("")!=="SDR"&&!t.videoCodec;n=t.preferHDR!==void 0?t.preferHDR:m&&tn(),n||(s=["SDR"])}return{preferHDR:n,allowedVideoRanges:s}}const Fn=P=>{const t=new WeakSet;return(n,s)=>{if(P&&(s=P(n,s)),typeof s=="object"&&s!==null){if(t.has(s))return;t.add(s)}return s}},Tn=(P,t)=>JSON.stringify(P,Fn(t));function oi(P,t,n,s,m){const E=Object.keys(P),T=s==null?void 0:s.channels,U=s==null?void 0:s.audioCodec,W=m==null?void 0:m.videoCodec,N=T&&parseInt(T)===2;let te=!1,ce=!1,xe=1/0,Ie=1/0,Ae=1/0,at=1/0,tt=0,kt=[];const{preferHDR:fr,allowedVideoRanges:sr}=pn(t,m);for(let en=E.length;en--;){const un=P[E[en]];te||(te=un.channels[2]>0),xe=Math.min(xe,un.minHeight),Ie=Math.min(Ie,un.minFramerate),Ae=Math.min(Ae,un.minBitrate),sr.filter(Un=>un.videoRanges[Un]>0).length>0&&(ce=!0)}xe=r(xe)?xe:0,Ie=r(Ie)?Ie:0;const kr=Math.max(1080,xe),zr=Math.max(30,Ie);Ae=r(Ae)?Ae:n,n=Math.max(Ae,n),ce||(t=void 0);const ln=E.length>1;return{codecSet:E.reduce((en,un)=>{const Kr=P[un];if(un===en)return en;if(kt=ce?sr.filter(Un=>Kr.videoRanges[Un]>0):[],ln){if(Kr.minBitrate>n)return Pi(un,`min bitrate of ${Kr.minBitrate} > current estimate of ${n}`),en;if(!Kr.hasDefaultAudio)return Pi(un,"no renditions with default or auto-select sound found"),en;if(U&&un.indexOf(U.substring(0,4))%5!==0)return Pi(un,`audio codec preference "${U}" not found`),en;if(T&&!N){if(!Kr.channels[T])return Pi(un,`no renditions with ${T} channel sound found (channels options: ${Object.keys(Kr.channels)})`),en}else if((!U||N)&&te&&Kr.channels[2]===0)return Pi(un,"no renditions with stereo sound found"),en;if(Kr.minHeight>kr)return Pi(un,`min resolution of ${Kr.minHeight} > maximum of ${kr}`),en;if(Kr.minFramerate>zr)return Pi(un,`min framerate of ${Kr.minFramerate} > maximum of ${zr}`),en;if(!kt.some(Un=>Kr.videoRanges[Un]>0))return Pi(un,`no variants with VIDEO-RANGE of ${Tn(kt)} found`),en;if(W&&un.indexOf(W.substring(0,4))%5!==0)return Pi(un,`video codec preference "${W}" not found`),en;if(Kr.maxScore<tt)return Pi(un,`max score of ${Kr.maxScore} < selected max of ${tt}`),en}return en&&(Ke(un)>=Ke(en)||Kr.fragmentError>P[en].fragmentError)?en:(at=Kr.minIndex,tt=Kr.maxScore,un)},void 0),videoRanges:kt,preferHDR:fr,minFramerate:Ie,minBitrate:Ae,minIndex:at}}function Pi(P,t){G.log(`[abr] start candidates with "${P}" ignored because ${t}`)}function Li(P){return P.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 Si(P,t,n,s){return P.slice(n,s+1).reduce((m,E,T)=>{if(!E.codecSet)return m;const U=E.audioGroups;let W=m[E.codecSet];W||(m[E.codecSet]=W={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:T,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!U,fragmentError:0}),W.minBitrate=Math.min(W.minBitrate,E.bitrate);const N=Math.min(E.height,E.width);return W.minHeight=Math.min(W.minHeight,N),W.minFramerate=Math.min(W.minFramerate,E.frameRate),W.minIndex=Math.min(W.minIndex,T),W.maxScore=Math.max(W.maxScore,E.score),W.fragmentError+=E.fragmentError,W.videoRanges[E.videoRange]=(W.videoRanges[E.videoRange]||0)+1,U&&U.forEach(te=>{if(!te)return;const ce=t.groups[te];ce&&(W.hasDefaultAudio=W.hasDefaultAudio||t.hasDefaultAudio?ce.hasDefault:ce.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(ce.channels).forEach(xe=>{W.channels[xe]=(W.channels[xe]||0)+ce.channels[xe]}))}),m},{})}function gi(P){if(!P)return P;const{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:E}=P;return{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:E}}function ii(P,t,n){if("attrs"in P){const s=t.indexOf(P);if(s!==-1)return s}for(let s=0;s<t.length;s++){const m=t[s];if(na(P,m,n))return s}return-1}function na(P,t,n){const{groupId:s,name:m,lang:E,assocLang:T,default:U}=P,W=P.forced;return(s===void 0||t.groupId===s)&&(m===void 0||t.name===m)&&(E===void 0||ni(E,t.lang))&&(E===void 0||t.assocLang===T)&&(U===void 0||t.default===U)&&(W===void 0||t.forced===W)&&(!("characteristics"in P)||Ji(P.characteristics||"",t.characteristics))&&(n===void 0||n(P,t))}function ni(P,t="--"){return P.length===t.length?P===t:P.startsWith(t)||t.startsWith(P)}function Ji(P,t=""){const n=P.split(","),s=t.split(",");return n.length===s.length&&!n.some(m=>s.indexOf(m)===-1)}function bt(P,t){const{audioCodec:n,channels:s}=P;return(n===void 0||(t.audioCodec||"").substring(0,4)===n.substring(0,4))&&(s===void 0||s===(t.channels||"2"))}function lt(P,t,n,s,m){const E=t[s],U=t.reduce((xe,Ie,Ae)=>{const at=Ie.uri;return(xe[at]||(xe[at]=[])).push(Ae),xe},{})[E.uri];U.length>1&&(s=Math.max.apply(Math,U));const W=E.videoRange,N=E.frameRate,te=E.codecSet.substring(0,4),ce=Qn(t,s,xe=>{if(xe.videoRange!==W||xe.frameRate!==N||xe.codecSet.substring(0,4)!==te)return!1;const Ie=xe.audioGroups,Ae=n.filter(at=>!Ie||Ie.indexOf(at.groupId)!==-1);return ii(P,Ae,m)>-1});return ce>-1?ce:Qn(t,s,xe=>{const Ie=xe.audioGroups,Ae=n.filter(at=>!Ie||Ie.indexOf(at.groupId)!==-1);return ii(P,Ae,m)>-1})}function Qn(P,t,n){for(let s=t;s>-1;s--)if(n(P[s]))return s;for(let s=t+1;s<P.length;s++)if(n(P[s]))return s;return-1}function yi(P,t){var n;return!!P&&P!==((n=t.loadLevelObj)==null?void 0:n.uri)}class ei extends R{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:T}=this,{autoLevelEnabled:U,media:W}=T;if(!m||!W)return;const N=performance.now(),te=E?E.stats:m.stats,ce=E?E.duration:m.duration,xe=N-te.loading.start,Ie=T.minAutoLevel,Ae=m.level,at=this._nextAutoLevel;if(te.aborted||te.loaded&&te.loaded===te.total||Ae<=Ie){this.clearTimer(),this._nextAutoLevel=-1;return}if(!U)return;const tt=at>-1&&at!==Ae,kt=!!n||tt;if(!kt&&(W.paused||!W.playbackRate||!W.readyState))return;const fr=T.mainForwardBufferInfo;if(!kt&&fr===null)return;const sr=this.bwEstimator.getEstimateTTFB(),kr=Math.abs(W.playbackRate);if(xe<=Math.max(sr,1e3*(ce/(kr*2))))return;const zr=fr?fr.len/kr:0,ln=te.loading.first?te.loading.first-te.loading.start:-1,Wr=te.loaded&&ln>-1,en=this.getBwEstimate(),un=T.levels,Kr=un[Ae],Un=Math.max(te.loaded,Math.round(ce*(m.bitrate||Kr.averageBitrate)/8));let pi=Wr?xe-ln:xe;pi<1&&Wr&&(pi=Math.min(xe,te.loaded*8/en));const ua=Wr?te.loaded*1e3/pi:0,ji=sr/1e3,Ui=ua?(Un-te.loaded)/ua:Un*8/en+ji;if(Ui<=zr)return;const fi=ua?ua*8:en,Vi=((s=(n==null?void 0:n.details)||this.hls.latestLevelDetails)==null?void 0:s.live)===!0,ea=this.hls.config.abrBandWidthUpFactor;let Xn=Number.POSITIVE_INFINITY,ri;for(ri=Ae-1;ri>Ie;ri--){const Cs=un[ri].maxBitrate,zs=!un[ri].details||Vi;if(Xn=this.getTimeToLoadFrag(ji,fi,ce*Cs,zs),Xn<Math.min(zr,ce+ji))break}if(Xn>=Ui||Xn>ce*10)return;Wr?this.bwEstimator.sample(xe-Math.min(sr,ln),te.loaded):this.bwEstimator.sampleTTFB(xe);const Aa=un[ri].maxBitrate;this.getBwEstimate()*ea>Aa&&this.resetEstimator(Aa);const Ca=this.findBestLevel(Aa,Ie,ri,0,zr,1,1);Ca>-1&&(ri=Ca),this.warn(`Fragment ${m.sn}${E?" part "+E.index:""} of level ${Ae} is loading too slowly;
|
|
|
Fragment duration: ${m.duration.toFixed(3)}
|
|
|
Time to underbuffer: ${zr.toFixed(3)} s
|
|
|
Estimated load time for current fragment: ${Ui.toFixed(3)} s
|
|
|
Estimated load time for down switch fragment: ${Xn.toFixed(3)} s
|
|
|
TTFB estimate: ${ln|0} ms
|
|
|
Current BW estimate: ${r(en)?en|0:"Unknown"} bps
|
|
|
New BW estimate: ${this.getBwEstimate()|0} bps
|
|
|
Switching to level ${ri} @ ${Aa|0} bps`),T.nextLoadLevel=T.nextAutoLevel=ri,this.clearTimer();const as=()=>{if(this.clearTimer(),this.fragCurrent===m&&this.hls.loadLevel===ri&&ri>0){const Cs=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${ri>0?"and switching down":""}
|
|
|
Fragment duration: ${m.duration.toFixed(3)} s
|
|
|
Time to underbuffer: ${Cs.toFixed(3)} s`),m.abortRequests(),this.fragCurrent=this.partCurrent=null,ri>Ie){let zs=this.findBestLevel(this.hls.levels[Ie].bitrate,Ie,ri,0,Cs,1,1);zs===-1&&(zs=Ie),this.hls.nextLoadLevel=this.hls.nextAutoLevel=zs,this.resetEstimator(this.hls.levels[zs].bitrate)}}};tt||Ui>Xn*2?as():this.timer=self.setInterval(as,Xn*1e3),T.trigger(o.FRAG_LOAD_EMERGENCY_ABORTED,{frag:m,part:E,stats:te})},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 T=performance.now(),U=E?E.stats:s.stats,W=T-U.loading.start,N=U.loading.first?U.loading.first-U.loading.start:-1;if(U.loaded&&N>-1){const ce=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(W-Math.min(ce,N),U.loaded)}else this.bwEstimator.sampleTTFB(W)}break}}}getTimeToLoadFrag(t,n,s,m){const E=t+s/n,T=m?t+this.lastLevelLoadSec:0;return E+T}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,T=this.hls.levels[n.level],U=(T.loaded?T.loaded.bytes:0)+m.loaded,W=(T.loaded?T.loaded.duration:0)+E;T.loaded={bytes:U,duration:W},T.realBitrate=Math.round(8*U/W)}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 T=E.parsing.end-E.loading.start-Math.min(E.loading.first-E.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(T,E.loaded),E.bwEstimate=this.getBwEstimate(),s.bitrateTest?this.bitrateTestDelay=T/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 T=this.hls.firstLevel,U=Math.min(Math.max(T,n),t);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${T} 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 T=this.hls.levels;if(T.length>Math.max(t,E)&&T[t].loadError<=T[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:T}=s,U=n?n.duration:t?t.duration:0,W=this.getBwEstimate(),N=this.getStarvationDelay();let te=E.abrBandWidthFactor,ce=E.abrBandWidthUpFactor;if(N){const tt=this.findBestLevel(W,T,m,N,0,te,ce);if(tt>=0)return this.rebufferNotice=-1,tt}let xe=U?Math.min(U,E.maxStarvationDelay):E.maxStarvationDelay;if(!N){const tt=this.bitrateTestDelay;tt&&(xe=(U?Math.min(U,E.maxLoadingDelay):E.maxLoadingDelay)-tt,this.info(`bitrate test took ${Math.round(1e3*tt)}ms, set first fragment max fetchDuration to ${Math.round(1e3*xe)} ms`),te=ce=1)}const Ie=this.findBestLevel(W,T,m,N,xe,te,ce);if(this.rebufferNotice!==Ie&&(this.rebufferNotice=Ie,this.info(`${N?"rebuffering expected":"buffer is empty"}, optimal quality level ${Ie}`)),Ie>-1)return Ie;const Ae=s.levels[T],at=s.loadLevelObj;return at&&(Ae==null?void 0:Ae.bitrate)<at.bitrate?T: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,T,U){var W;const N=m+E,te=this.lastLoadedFragLevel,ce=te===-1?this.hls.firstLevel:te,{fragCurrent:xe,partCurrent:Ie}=this,{levels:Ae,allAudioTracks:at,loadLevel:tt,config:kt}=this.hls;if(Ae.length===1)return 0;const fr=Ae[ce],sr=!!((W=this.hls.latestLevelDetails)!=null&&W.live),kr=tt===-1||te===-1;let zr,ln="SDR",Wr=(fr==null?void 0:fr.frameRate)||0;const{audioPreference:en,videoPreference:un}=kt,Kr=this.audioTracksByGroup||(this.audioTracksByGroup=Li(at));let Un=-1;if(kr){if(this.firstSelection!==-1)return this.firstSelection;const fi=this.codecTiers||(this.codecTiers=Si(Ae,Kr,n,s)),Vi=oi(fi,ln,t,en,un),{codecSet:ea,videoRanges:Xn,minFramerate:ri,minBitrate:Aa,minIndex:Ca,preferHDR:as}=Vi;Un=Ca,zr=ea,ln=as?Xn[Xn.length-1]:Xn[0],Wr=ri,t=Math.max(t,Aa),this.log(`picked start tier ${Tn(Vi)}`)}else zr=fr==null?void 0:fr.codecSet,ln=fr==null?void 0:fr.videoRange;const pi=Ie?Ie.duration:xe?xe.duration:0,ua=this.bwEstimator.getEstimateTTFB()/1e3,ji=[];for(let fi=s;fi>=n;fi--){var Ui;const Vi=Ae[fi],ea=fi>ce;if(!Vi)continue;if(kt.useMediaCapabilities&&!Vi.supportedResult&&!Vi.supportedPromise){const zs=navigator.mediaCapabilities;typeof(zs==null?void 0:zs.decodingInfo)=="function"&&(lr(Vi,Kr,ln,Wr,t,en)||Rt(Vi.videoCodec))?(Vi.supportedPromise=Lt(Vi,Kr,zs),Vi.supportedPromise.then(fo=>{if(!this.hls)return;Vi.supportedResult=fo;const Ku=this.hls.levels,dl=Ku.indexOf(Vi);fo.error?this.warn(`MediaCapabilities decodingInfo error: "${fo.error}" for level ${dl} ${Tn(fo)}`):fo.supported||(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${dl} ${Tn(fo)}`),dl>-1&&Ku.length>1&&(this.log(`Removing unsupported level ${dl}`),this.hls.removeLevel(dl),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))})):Vi.supportedResult=jr}if((zr&&Vi.codecSet!==zr||ln&&Vi.videoRange!==ln||ea&&Wr>Vi.frameRate||!ea&&Wr>0&&Wr<Vi.frameRate||Vi.supportedResult&&!((Ui=Vi.supportedResult.decodingInfoResults)!=null&&Ui[0].smooth))&&(!kr||fi!==Un)){ji.push(fi);continue}const Xn=Vi.details,ri=(Ie?Xn==null?void 0:Xn.partTarget:Xn==null?void 0:Xn.averagetargetduration)||pi;let Aa;ea?Aa=U*t:Aa=T*t;const Ca=pi&&m>=pi*2&&E===0?Vi.averageBitrate:Vi.maxBitrate,as=this.getTimeToLoadFrag(ua,Aa,Ca*ri,Xn===void 0);if(Aa>=Ca&&(fi===te||Vi.loadError===0&&Vi.fragmentError===0)&&(as<=ua||!r(as)||sr&&!this.bitrateTestDelay||as<N)){const zs=this.forcedAutoLevel;return fi!==tt&&(zs===-1||zs!==tt)&&(ji.length&&this.trace(`Skipped level(s) ${ji.join(",")} of ${s} max with CODECS and VIDEO-RANGE:"${Ae[ji[0]].codecs}" ${Ae[ji[0]].videoRange}; not compatible with "${zr}" ${ln}`),this.info(`switch candidate:${ce}->${fi} adjustedbw(${Math.round(Aa)})-bitrate=${Math.round(Aa-Ca)} ttfb:${ua.toFixed(1)} avgDuration:${ri.toFixed(1)} maxFetchDuration:${N.toFixed(1)} fetchDuration:${as.toFixed(1)} firstSelection:${kr} codecSet:${Vi.codecSet} videoRange:${Vi.videoRange} hls.loadLevel:${tt}`)),kr&&(this.firstSelection=fi),fi}}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 Ki={search:function(P,t){let n=0,s=P.length-1,m=null,E=null;for(;n<=s;){m=(n+s)/2|0,E=P[m];const T=t(E);if(T>0)n=m+1;else if(T<0)s=m-1;else return E}return null}};function bi(P,t,n){if(t===null||!Array.isArray(P)||!P.length||!r(t))return null;const s=P[0].programDateTime;if(t<(s||0))return null;const m=P[P.length-1].endProgramDateTime;if(t>=(m||0))return null;for(let E=0;E<P.length;++E){const T=P[E];if(_t(t,n,T))return T}return null}function qn(P,t,n=0,s=0,m=.005){let E=null;if(P){E=t[1+P.sn-t[0].sn]||null;const U=P.endDTS-n;U>0&&U<15e-7&&(n+=15e-7),E&&P.level!==E.level&&E.end<=P.end&&(E=t[2+P.sn-t[0].sn]||null)}else n===0&&t[0].start===0&&(E=t[0]);if(E&&((!P||P.level===E.level)&&rr(n,s,E)===0||An(E,P,Math.min(m,s))))return E;const T=Ki.search(t,rr.bind(null,n,s));return T&&(T!==P||!E)?T:E}function An(P,t,n){if(t&&t.start===0&&t.level<P.level&&(t.endPTS||0)>0){const s=t.tagList.reduce((m,E)=>(E[0]==="INF"&&(m+=parseFloat(E[1])),m),n);return P.start<=s}return!1}function rr(P=0,t=0,n){if(n.start<=P&&n.start+n.duration>P)return 0;const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-s<=P?1:n.start-s>P&&n.start?-1:0}function _t(P,t,n){const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0))*1e3;return(n.endProgramDateTime||0)-s>P}function rt(P,t,n){if(P&&P.startCC<=t&&P.endCC>=t){let s=P.fragments;const{fragmentHint:m}=P;m&&(s=s.concat(m));let E;return Ki.search(s,T=>T.cc<t?1:T.cc>t?-1:(E=T,T.end<=n?1:T.start>n?-1:0)),E||null}return null}function It(P){switch(P.details){case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_TIMEOUT:case f.LEVEL_LOAD_TIMEOUT:case f.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function pt(P,t){const n=It(t);return P.default[`${n?"timeout":"error"}Retry`]}function cr(P,t){const n=P.backoff==="linear"?1:Math.pow(2,t);return Math.min(n*P.retryDelayMs,P.maxRetryDelayMs)}function dr(P){return b(b({},P),{errorRetry:null,timeoutRetry:null})}function Tr(P,t,n,s){if(!P)return!1;const m=s==null?void 0:s.code,E=t<P.maxNumRetry&&(Hr(m)||!!n);return P.shouldRetry?P.shouldRetry(P,t,n,s,E):E}function Hr(P){return P===0&&navigator.onLine===!1||!!P&&(P<400||P>499)}var Ue={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},Je={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class Ee extends R{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=st();return}case f.FRAG_GAP:case f.FRAG_DECRYPT_ERROR:{n.errorAction=this.getFragRetryOrSwitchAction(n),n.errorAction.action=Ue.SendAlternateToPenaltyBox;return}case f.LEVEL_EMPTY_ERROR:case f.LEVEL_PARSING_ERROR:{var T,U;const N=n.parent===u.MAIN?n.level:m.loadLevel;n.details===f.LEVEL_EMPTY_ERROR&&((T=n.context)!=null&&(U=T.levelDetails)!=null&&U.live)?n.errorAction=this.getPlaylistRetryOrSwitchAction(n,N):(n.levelRetry=!1,n.errorAction=this.getLevelSwitchAction(n,N))}return;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:typeof(E==null?void 0:E.level)=="number"&&(n.errorAction=this.getPlaylistRetryOrSwitchAction(n,E.level));return;case f.AUDIO_TRACK_LOAD_ERROR:case f.AUDIO_TRACK_LOAD_TIMEOUT:case f.SUBTITLE_LOAD_ERROR:case f.SUBTITLE_TRACK_LOAD_TIMEOUT:if(E){const N=m.loadLevelObj;if(N&&(E.type===h.AUDIO_TRACK&&N.hasAudioGroup(E.groupId)||E.type===h.SUBTITLE_TRACK&&N.hasSubtitleGroup(E.groupId))){n.errorAction=this.getPlaylistRetryOrSwitchAction(n,m.loadLevel),n.errorAction.action=Ue.SendAlternateToPenaltyBox,n.errorAction.flags=Je.MoveAllAlternatesMatchingHost;return}}return;case f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const N=m.loadLevelObj,te=N==null?void 0:N.attrs["HDCP-LEVEL"];te?n.errorAction={action:Ue.SendAlternateToPenaltyBox,flags:Je.MoveAllAlternatesMatchingHDCP,hdcpLevel:te}:this.keySystemError(n)}return;case f.BUFFER_ADD_CODEC_ERROR:case f.REMUX_ALLOC_ERROR:case f.BUFFER_APPEND_ERROR:if(!n.errorAction){var W;n.errorAction=this.getLevelSwitchAction(n,(W=n.level)!=null?W: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=st();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=pt(s.config.playlistLoadPolicy,t),E=this.playlistError++;if(Tr(m,E,It(t),t.response))return{action:Ue.RetryRequest,flags:Je.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:T}=n.config,U=pt(t.details.startsWith("key")?T:E,t),W=n.levels.reduce((te,ce)=>te+ce.fragmentError,0);if(m&&(t.details!==f.FRAG_GAP&&m.fragmentError++,Tr(U,W,It(t),t.response)))return{action:Ue.RetryRequest,flags:Je.None,retryConfig:U,retryCount:W};const N=this.getLevelSwitchAction(t,s);return U&&(N.retryConfig=U,N.retryCount=W),N}getLevelSwitchAction(t,n){const s=this.hls;n==null&&(n=s.loadLevel);const m=this.hls.levels[n];if(m){var E,T;const N=t.details;m.loadError++,N===f.BUFFER_APPEND_ERROR&&m.fragmentError++;let te=-1;const{levels:ce,loadLevel:xe,minAutoLevel:Ie,maxAutoLevel:Ae}=s;!s.autoLevelEnabled&&!s.config.preserveManualLevelOnError&&(s.loadLevel=-1);const at=(E=t.frag)==null?void 0:E.type,kt=(at===u.AUDIO&&N===f.FRAG_PARSING_ERROR||t.sourceBufferName==="audio"&&(N===f.BUFFER_ADD_CODEC_ERROR||N===f.BUFFER_APPEND_ERROR))&&ce.some(({audioCodec:ln})=>m.audioCodec!==ln),sr=t.sourceBufferName==="video"&&(N===f.BUFFER_ADD_CODEC_ERROR||N===f.BUFFER_APPEND_ERROR)&&ce.some(({codecSet:ln,audioCodec:Wr})=>m.codecSet!==ln&&m.audioCodec===Wr),{type:kr,groupId:zr}=(T=t.context)!=null?T:{};for(let ln=ce.length;ln--;){const Wr=(ln+xe)%ce.length;if(Wr!==xe&&Wr>=Ie&&Wr<=Ae&&ce[Wr].loadError===0){var U,W;const en=ce[Wr];if(N===f.FRAG_GAP&&at===u.MAIN&&t.frag){const un=ce[Wr].details;if(un){const Kr=qn(t.frag,un.fragments,t.frag.start);if(Kr!=null&&Kr.gap)continue}}else{if(kr===h.AUDIO_TRACK&&en.hasAudioGroup(zr)||kr===h.SUBTITLE_TRACK&&en.hasSubtitleGroup(zr))continue;if(at===u.AUDIO&&(U=m.audioGroups)!=null&&U.some(un=>en.hasAudioGroup(un))||at===u.SUBTITLE&&(W=m.subtitleGroups)!=null&&W.some(un=>en.hasSubtitleGroup(un))||kt&&m.audioCodec===en.audioCodec||!kt&&m.audioCodec!==en.audioCodec||sr&&m.codecSet===en.codecSet)continue}te=Wr;break}}if(te>-1&&s.loadLevel!==te)return t.levelRetry=!0,this.playlistError=0,{action:Ue.SendAlternateToPenaltyBox,flags:Je.None,nextAutoLevel:te}}return{action:Ue.SendAlternateToPenaltyBox,flags:Je.MoveAllAlternatesMatchingHost}}onErrorOut(t,n){var s;switch((s=n.errorAction)==null?void 0:s.action){case Ue.DoNothing:break;case Ue.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 Ue.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:T}=s;switch(m){case Je.None:this.switchLevel(t,T);break;case Je.MoveAllAlternatesMatchingHDCP:E&&(n.maxHdcpLevel=vt[vt.indexOf(E)-1],s.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${n.maxHdcpLevel}" or lower`);break}s.resolved||this.switchLevel(t,T)}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=mr(t.mimeType),m=this.hls.levels;for(let E=m.length;E--;)m[E][`${t.sourceBufferName}Codec`]===s&&this.hls.removeLevel(E)}}}function st(P){const t={action:Ue.DoNothing,flags:Je.None};return P&&(t.resolved=!0),t}var nr={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Lr{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 T=E.end;if(E.start<=t&&T!==null&&t<=T)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 T=E.length;T--;){const U=m[E[T]];if((U==null?void 0:U.body.type)===n&&(!s||U.buffered)){const W=U.body;if(W.start<=t&&t<=W.end)return W}}return null}detectEvictedFragments(t,n,s,m,E){this.timeRanges&&(this.timeRanges[t]=n);const T=(m==null?void 0:m.fragment.sn)||-1;Object.keys(this.fragments).forEach(U=>{const W=this.fragments[U];if(!W||T>=W.body.sn)return;if(!W.buffered&&(!W.loaded||E)){W.body.type===s&&this.removeFragment(W.body);return}const N=W.range[t];if(N){if(N.time.length===0){this.removeFragment(W.body);return}N.time.some(te=>{const ce=!this.isTimeBuffered(te.startPTS,te.endPTS,n);return ce&&this.removeFragment(W.body),ce})}})}detectPartialFragments(t){const n=this.timeRanges;if(!n||t.frag.sn==="initSegment")return;const s=t.frag,m=Ir(s),E=this.fragments[m];if(!E||E.buffered&&s.gap)return;const T=!s.relurl;Object.keys(n).forEach(U=>{const W=s.elementaryStreams[U];if(!W)return;const N=n[U],te=T||W.partial===!0;E.range[U]=this.getBufferedTimes(s,t.part,te,N)}),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),Or(E)||this.removeParts(s.sn-1,s.type)):this.removeFragment(E.body)}removeParts(t,n){const s=this.activePartLists[n];s&&(this.activePartLists[n]=Ur(s,m=>m.fragment.sn>=t))}fragBuffered(t,n){const s=Ir(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},T=t.start,U=t.end,W=t.minEndPTS||U,N=t.maxStartPTS||T;for(let te=0;te<m.length;te++){const ce=m.start(te)-this.bufferPadding,xe=m.end(te)+this.bufferPadding;if(N>=ce&&W<=xe){E.time.push({startPTS:Math.max(T,m.start(te)),endPTS:Math.min(U,m.end(te))});break}else if(T<xe&&U>ce){const Ie=Math.max(T,m.start(te)),Ae=Math.min(U,m.end(te));Ae>Ie&&(E.partial=!0,E.time.push({startPTS:Ie,endPTS:Ae}))}else if(U<=ce)break}return E}getPartialFragment(t){let n=null,s,m,E,T=0;const{bufferPadding:U,fragments:W}=this;return Object.keys(W).forEach(N=>{const te=W[N];te&&Or(te)&&(m=te.body.start-U,E=te.body.end+U,t>=m&&t<=E&&(s=Math.min(t-m,E-t),T<=s&&(n=te.body,T=s)))}),n}isEndListAppended(t){const n=this.endListFragments[t];return n!==void 0&&(n.buffered||Or(n))}getState(t){const n=Ir(t),s=this.fragments[n];return s?s.buffered?Or(s)?nr.PARTIAL:nr.OK:nr.APPENDING:nr.NOT_LOADED}isTimeBuffered(t,n,s){let m,E;for(let T=0;T<s.length;T++){if(m=s.start(T)-this.bufferPadding,E=s.end(T)+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=Ir(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:T}=n;if(s.sn==="initSegment")return;const U=s.type;if(m){let N=this.activePartLists[U];N||(this.activePartLists[U]=N=[]),N.push(m)}this.timeRanges=E;const W=E[T];this.detectEvictedFragments(T,W,U,m)}onFragBuffered(t,n){this.detectPartialFragments(n)}hasFragment(t){const n=Ir(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(T=>{const U=this.fragments[T];if(!U)return;const W=U.body;W.type!==s||m&&!W.gap||W.start<n&&W.end>t&&(U.buffered||E)&&this.removeFragment(W)})}removeFragment(t){const n=Ir(t);t.clearElementaryStreamInfo();const s=this.activePartLists[t.type];if(s){const m=t.sn;this.activePartLists[t.type]=Ur(s,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 Or(P){var t,n,s;return P.buffered&&(P.body.gap||((t=P.range.video)==null?void 0:t.partial)||((n=P.range.audio)==null?void 0:n.partial)||((s=P.range.audiovideo)==null?void 0:s.partial))}function Ir(P){return`${P.type}_${P.level}_${P.sn}`}function Ur(P,t){return P.filter(n=>{const s=t(n);return s||n.clearElementaryStreamInfo(),s})}var _n={cbc:0,ctr:1};class Pr{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 _n.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},n,t);case _n.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 fn(P){const t=P.byteLength,n=t&&new DataView(P.buffer).getUint8(t-1);return n?P.slice(0,t-n):P}class nn{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],T=s[2],U=s[3],W=this.invSubMix,N=W[0],te=W[1],ce=W[2],xe=W[3],Ie=new Uint32Array(256);let Ae=0,at=0,tt=0;for(tt=0;tt<256;tt++)tt<128?Ie[tt]=tt<<1:Ie[tt]=tt<<1^283;for(tt=0;tt<256;tt++){let kt=at^at<<1^at<<2^at<<3^at<<4;kt=kt>>>8^kt&255^99,t[Ae]=kt,n[kt]=Ae;const fr=Ie[Ae],sr=Ie[fr],kr=Ie[sr];let zr=Ie[kt]*257^kt*16843008;m[Ae]=zr<<24|zr>>>8,E[Ae]=zr<<16|zr>>>16,T[Ae]=zr<<8|zr>>>24,U[Ae]=zr,zr=kr*16843009^sr*65537^fr*257^Ae*16843008,N[kt]=zr<<24|zr>>>8,te[kt]=zr<<16|zr>>>16,ce[kt]=zr<<8|zr>>>24,xe[kt]=zr,Ae?(Ae=fr^Ie[Ie[Ie[kr^fr]]],at^=Ie[Ie[at]]):Ae=at=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 T=this.ksRows=(E+6+1)*4;let U,W;const N=this.keySchedule=new Uint32Array(T),te=this.invKeySchedule=new Uint32Array(T),ce=this.sBox,xe=this.rcon,Ie=this.invSubMix,Ae=Ie[0],at=Ie[1],tt=Ie[2],kt=Ie[3];let fr,sr;for(U=0;U<T;U++){if(U<E){fr=N[U]=n[U];continue}sr=fr,U%E===0?(sr=sr<<8|sr>>>24,sr=ce[sr>>>24]<<24|ce[sr>>>16&255]<<16|ce[sr>>>8&255]<<8|ce[sr&255],sr^=xe[U/E|0]<<24):E>6&&U%E===4&&(sr=ce[sr>>>24]<<24|ce[sr>>>16&255]<<16|ce[sr>>>8&255]<<8|ce[sr&255]),N[U]=fr=(N[U-E]^sr)>>>0}for(W=0;W<T;W++)U=T-W,W&3?sr=N[U]:sr=N[U-4],W<4||U<=4?te[W]=sr:te[W]=Ae[ce[sr>>>24]]^at[ce[sr>>>16&255]]^tt[ce[sr>>>8&255]]^kt[ce[sr&255]],te[W]=te[W]>>>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,T=this.invSBox,U=this.invSubMix,W=U[0],N=U[1],te=U[2],ce=U[3],xe=this.uint8ArrayToUint32Array_(s);let Ie=xe[0],Ae=xe[1],at=xe[2],tt=xe[3];const kt=new Int32Array(t),fr=new Int32Array(kt.length);let sr,kr,zr,ln,Wr,en,un,Kr,Un,pi,ua,ji,Ui,fi;const Vi=this.networkToHostOrderSwap;for(;n<kt.length;){for(Un=Vi(kt[n]),pi=Vi(kt[n+1]),ua=Vi(kt[n+2]),ji=Vi(kt[n+3]),Wr=Un^E[0],en=ji^E[1],un=ua^E[2],Kr=pi^E[3],Ui=4,fi=1;fi<m;fi++)sr=W[Wr>>>24]^N[en>>16&255]^te[un>>8&255]^ce[Kr&255]^E[Ui],kr=W[en>>>24]^N[un>>16&255]^te[Kr>>8&255]^ce[Wr&255]^E[Ui+1],zr=W[un>>>24]^N[Kr>>16&255]^te[Wr>>8&255]^ce[en&255]^E[Ui+2],ln=W[Kr>>>24]^N[Wr>>16&255]^te[en>>8&255]^ce[un&255]^E[Ui+3],Wr=sr,en=kr,un=zr,Kr=ln,Ui=Ui+4;sr=T[Wr>>>24]<<24^T[en>>16&255]<<16^T[un>>8&255]<<8^T[Kr&255]^E[Ui],kr=T[en>>>24]<<24^T[un>>16&255]<<16^T[Kr>>8&255]<<8^T[Wr&255]^E[Ui+1],zr=T[un>>>24]<<24^T[Kr>>16&255]<<16^T[Wr>>8&255]<<8^T[en&255]^E[Ui+2],ln=T[Kr>>>24]<<24^T[Wr>>16&255]<<16^T[en>>8&255]<<8^T[un&255]^E[Ui+3],fr[n]=Vi(sr^Ie),fr[n+1]=Vi(ln^Ae),fr[n+2]=Vi(zr^at),fr[n+3]=Vi(kr^tt),Ie=Un,Ae=pi,at=ua,tt=ji,n=n+4}return fr.buffer}}class on{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=Sn(this.aesMode);return this.subtle.importKey("raw",this.key,{name:t},!1,["encrypt","decrypt"])}}function Sn(P){switch(P){case _n.cbc:return"AES-CBC";case _n.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${P}`)}}const va=16;class wi{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?fn(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,T)=>{const U=ArrayBuffer.isView(t)?t:new Uint8Array(t);this.softwareDecrypt(U,n,s,m);const W=this.flush();W?E(W.buffer):T(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(t),n,s,m)}softwareDecrypt(t,n,s,m){const{currentIV:E,currentResult:T,remainderData:U}=this;if(m!==_n.cbc||n.byteLength!==16)return G.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),U&&(t=qe(U,t),this.remainderData=null);const W=this.getValidChunk(t);if(!W.length)return null;E&&(s=E);let N=this.softwareDecrypter;N||(N=this.softwareDecrypter=new nn),N.expandKey(n);const te=T;return this.currentResult=N.decrypt(W.buffer,0,s),this.currentIV=W.slice(-16).buffer,te||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 on(this.subtle,n,m)}return this.fastAesKey.expandKey().then(E=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new Pr(this.subtle,new Uint8Array(s),m).decrypt(t.buffer,E)):Promise.reject(new Error("web crypto not initialized"))).catch(E=>(G.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 T=this.flush();if(T)return T.buffer}throw new Error("WebCrypto"+(E?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(t){let n=t;const s=t.length-t.length%va;return s!==t.length&&(n=t.slice(0,s),this.remainderData=t.slice(s)),n}logOnce(t){this.logEnabled&&(G.log(`[decrypter]: ${t}`),this.logEnabled=!1)}}const _i=Math.pow(2,17);class vn{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 Ha({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,T=m.loader;return new Promise((U,W)=>{if(this.loader&&this.loader.destroy(),t.gap)if(t.tagList.some(Ae=>Ae[0]==="GAP")){W(Bi(t));return}else t.gap=!1;const N=this.loader=E?new E(m):new T(m),te=si(t);t.loader=N;const ce=dr(m.fragLoadPolicy.default),xe={loadPolicy:ce,timeout:ce.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:t.sn==="initSegment"?1/0:_i};t.stats=N.stats;const Ie={onSuccess:(Ae,at,tt,kt)=>{this.resetLoader(t,N);let fr=Ae.data;tt.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(fr.slice(0,16)),fr=fr.slice(16)),U({frag:t,part:null,payload:fr,networkDetails:kt})},onError:(Ae,at,tt,kt)=>{this.resetLoader(t,N),W(new Ha({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:b({url:s,data:void 0},Ae),error:new Error(`HTTP Error ${Ae.code} ${Ae.text}`),networkDetails:tt,stats:kt}))},onAbort:(Ae,at,tt)=>{this.resetLoader(t,N),W(new Ha({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:tt,stats:Ae}))},onTimeout:(Ae,at,tt)=>{this.resetLoader(t,N),W(new Ha({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,error:new Error(`Timeout after ${xe.timeout}ms`),networkDetails:tt,stats:Ae}))}};n&&(Ie.onProgress=(Ae,at,tt,kt)=>n({frag:t,part:null,payload:tt,networkDetails:kt})),N.load(te,xe,Ie)})}loadPart(t,n,s){this.abort();const m=this.config,E=m.fLoader,T=m.loader;return new Promise((U,W)=>{if(this.loader&&this.loader.destroy(),t.gap||n.gap){W(Bi(t,n));return}const N=this.loader=E?new E(m):new T(m),te=si(t,n);t.loader=N;const ce=dr(m.fragLoadPolicy.default),xe={loadPolicy:ce,timeout:ce.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:_i};n.stats=N.stats,N.load(te,xe,{onSuccess:(Ie,Ae,at,tt)=>{this.resetLoader(t,N),this.updateStatsFromPart(t,n);const kt={frag:t,part:n,payload:Ie.data,networkDetails:tt};s(kt),U(kt)},onError:(Ie,Ae,at,tt)=>{this.resetLoader(t,N),W(new Ha({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:n,response:b({url:te.url,data:void 0},Ie),error:new Error(`HTTP Error ${Ie.code} ${Ie.text}`),networkDetails:at,stats:tt}))},onAbort:(Ie,Ae,at)=>{t.stats.aborted=n.stats.aborted,this.resetLoader(t,N),W(new Ha({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,part:n,error:new Error("Aborted"),networkDetails:at,stats:Ie}))},onTimeout:(Ie,Ae,at)=>{this.resetLoader(t,N),W(new Ha({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:n,error:new Error(`Timeout after ${xe.timeout}ms`),networkDetails:at,stats:Ie}))}})})}updateStatsFromPart(t,n){const s=t.stats,m=n.stats,E=m.total;if(s.loaded+=m.loaded,E){const W=Math.round(t.duration/n.duration),N=Math.min(Math.round(s.loaded/E),W),ce=(W-N)*Math.round(s.loaded/N);s.total=s.loaded+ce}else s.total=Math.max(s.loaded,s.total);const T=s.loading,U=m.loading;T.start?T.first+=U.first-U.start:(T.start=U.start,T.first=U.first),T.end=U.end}resetLoader(t,n){t.loader=null,this.loader===n&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),n.destroy()}}function si(P,t=null){const n=t||P,s={frag:P,part:t,responseType:"arraybuffer",url:n.url,headers:{},rangeStart:0,rangeEnd:0},m=n.byteRangeStartOffset,E=n.byteRangeEndOffset;if(r(m)&&r(E)){var T;let U=m,W=E;if(P.sn==="initSegment"&&da((T=P.decryptdata)==null?void 0:T.method)){const N=E-m;N%16&&(W=E+(16-N%16)),m!==0&&(s.resetIV=!0,U=m-16)}s.rangeStart=U,s.rangeEnd=W}return s}function Bi(P,t){const n=new Error(`GAP ${P.gap?"tag":"attribute"} found`),s={type:c.MEDIA_ERROR,details:f.FRAG_GAP,fatal:!1,frag:P,error:n,networkDetails:null};return t&&(s.part=t),(t||P).stats.aborted=!0,new Ha(s)}function da(P){return P==="AES-128"||P==="AES-256"}class Ha extends Error{constructor(t){super(t.error.message),this.data=void 0,this.data=t}}class Ta extends R{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 fs{constructor(t,n,s,m=0,E=-1,T=!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=Es(),this.buffering={audio:Es(),video:Es(),audiovideo:Es()},this.level=t,this.sn=n,this.id=s,this.size=m,this.part=E,this.partial=T}}function Es(){return{start:0,executeStart:0,executeEnd:0,end:0}}const Wa={length:0,start:()=>0,end:()=>0};class mi{static isBuffered(t,n){if(t){const s=mi.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=mi.getBuffered(t);return mi.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=mi.bufferedRanges(t);if(m.length)return mi.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((te,ce)=>te.start-ce.start||ce.end-te.end);let m=-1,E=[];if(s)for(let te=0;te<t.length;te++){n>=t[te].start&&n<=t[te].end&&(m=te);const ce=E.length;if(ce){const xe=E[ce-1].end;t[te].start-xe<s?t[te].end>xe&&(E[ce-1].end=t[te].end):E.push(t[te])}else E.push(t[te])}else E=t;let T=0,U,W=n,N=n;for(let te=0;te<E.length;te++){const ce=E[te].start,xe=E[te].end;if(m===-1&&n>=ce&&n<=xe&&(m=te),n+s>=ce&&n<xe)W=ce,N=xe,T=N-n;else if(n+s<ce){U=ce;break}}return{len:T,start:W||0,end:N||0,nextStart:U,buffered:t,bufferedIndex:m}}static getBuffered(t){try{return t.buffered||Wa}catch(n){return G.log("failed to get media.buffered",n),Wa}}}const ia=/\{\$([a-zA-Z0-9-_]+)\}/g;function os(P){return ia.test(P)}function Ga(P,t){if(P.variableList!==null||P.hasVariableRefs){const n=P.variableList;return t.replace(ia,s=>{const m=s.substring(2,s.length-1),E=n==null?void 0:n[m];return E===void 0?(P.playlistParsingError||(P.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${m}"`)),s):E})}return t}function Is(P,t,n){let s=P.variableList;s||(P.variableList=s={});let m,E;if("QUERYPARAM"in t){m=t.QUERYPARAM;try{const T=new self.URL(n).searchParams;if(T.has(m))E=T.get(m);else throw new Error(`"${m}" does not match any query parameter in URI: "${n}"`)}catch(T){P.playlistParsingError||(P.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${T.message}`))}}else m=t.NAME,E=t.VALUE;m in s?P.playlistParsingError||(P.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${m}"`)):s[m]=E||""}function Yi(P,t,n){const s=t.IMPORT;if(n&&s in n){let m=P.variableList;m||(P.variableList=m={}),m[s]=n[s]}else P.playlistParsingError||(P.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${s}"`))}const ms=/^(\d+)x(\d+)$/,bo=/(.+?)=(".*?"|.*?)(?:,|$)/g;class Ni{constructor(t,n){typeof t=="string"&&(t=Ni.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=ms.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(bo.lastIndex=0;(s=bo.exec(t))!==null;){const T=s[1].trim();let U=s[2];const W=U.indexOf(E)===0&&U.lastIndexOf(E)===U.length-1;let N=!1;if(W)U=U.slice(1,-1);else switch(T){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":N=!0}if(n&&(W||N))U=Ga(n,U);else if(!N&&!W)switch(T){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":G.warn(`${t}: attribute ${T} is missing quotes`)}m[T]=U}return m}}const vs="com.apple.hls.interstitial";function Na(P){return P!=="ID"&&P!=="CLASS"&&P!=="CUE"&&P!=="START-DATE"&&P!=="DURATION"&&P!=="END-DATE"&&P!=="END-ON-NEXT"}function Ys(P){return P==="SCTE35-OUT"||P==="SCTE35-IN"||P==="SCTE35-CMD"}class Dn{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 T in E)if(Object.prototype.hasOwnProperty.call(t,T)&&t[T]!==E[T]){G.warn(`DATERANGE tag attribute: "${T}" does not match for tags with ID: "${t.ID}"`),this._badValueForSameId=T;break}t=y(new Ni({}),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?(G.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===vs}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 $a=10;class cs{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||$a}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 ja(P){return P==="AES-128"||P==="AES-256"||P==="AES-256-CTR"}function zi(P){switch(P){case"AES-128":case"AES-256":return _n.cbc;case"AES-256-CTR":return _n.ctr;default:throw new Error(`invalid full segment method ${P}`)}}function Ra(P){return Uint8Array.from(atob(P),t=>t.charCodeAt(0))}function Da(P){return Uint8Array.from(unescape(encodeURIComponent(P)),t=>t.charCodeAt(0))}function ws(P){const t=Da(P).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}function Xs(P){const t=function(s,m,E){const T=s[m];s[m]=s[E],s[E]=T};t(P,0,3),t(P,1,2),t(P,4,5),t(P,6,7)}function xo(P){const t=P.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",T=m[1];E?(s.splice(-1,1),n=Ra(T)):n=ws(T)}}return n}const ho=typeof self!="undefined"?self:void 0;var wa={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},gs={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function Zs(P){switch(P){case gs.FAIRPLAY:return wa.FAIRPLAY;case gs.PLAYREADY:return wa.PLAYREADY;case gs.WIDEVINE:return wa.WIDEVINE;case gs.CLEARKEY:return wa.CLEARKEY}}var no={CENC:"1077efecc0b24d02ace33c1e52e2fb4b",CLEARKEY:"e2719d58a985b3c9781ab030af78d30e",PLAYREADY:"9a04f07998404286ab92e65be0885f95",WIDEVINE:"edef8ba979d64acea3c827dcd51d21ed"};function Eo(P){if(P===no.WIDEVINE)return wa.WIDEVINE;if(P===no.PLAYREADY)return wa.PLAYREADY;if(P===no.CENC||P===no.CLEARKEY)return wa.CLEARKEY}function wo(P){switch(P){case wa.FAIRPLAY:return gs.FAIRPLAY;case wa.PLAYREADY:return gs.PLAYREADY;case wa.WIDEVINE:return gs.WIDEVINE;case wa.CLEARKEY:return gs.CLEARKEY}}function po(P){const{drmSystems:t,widevineLicenseUrl:n}=P,s=t?[wa.FAIRPLAY,wa.WIDEVINE,wa.PLAYREADY,wa.CLEARKEY].filter(m=>!!t[m]):[];return!s[wa.WIDEVINE]&&n&&s.push(wa.WIDEVINE),s}const di=function(P){return ho!=null&&(P=ho.navigator)!=null&&P.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function ci(P,t,n,s){let m;switch(P){case wa.FAIRPLAY:m=["cenc","sinf"];break;case wa.WIDEVINE:case wa.PLAYREADY:m=["cenc"];break;case wa.CLEARKEY:m=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${P}`)}return Ua(m,t,n,s)}function Ua(P,t,n,s){return[{initDataTypes:P,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 Qa(P){var t;return P.sessionType==="persistent-license"||!!((t=P.sessionTypes)!=null&&t.some(n=>n==="persistent-license"))}function qa(P){const t=new Uint16Array(P.buffer,P.byteOffset,P.byteLength/2),n=String.fromCharCode.apply(null,Array.from(t)),s=n.substring(n.indexOf("<"),n.length),T=new DOMParser().parseFromString(s,"text/xml").getElementsByTagName("KID")[0];if(T){const U=T.childNodes[0]?T.childNodes[0].nodeValue:T.getAttribute("VALUE");if(U){const W=Ra(U).subarray(0,16);return Xs(W),W}}return null}let Qs={};class qs{static clearKeyUriToKeyIdMap(){Qs={}}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&&!ja(t)}isSupported(){if(this.method){if(ja(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case gs.FAIRPLAY:case gs.WIDEVINE:case gs.PLAYREADY:case gs.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(ja(this.method)&&this.uri&&!this.iv){typeof t!="number"&&(G.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),t=0);const s=Qo(t);return new qs(this.method,this.uri,"identity",this.keyFormatVersions,s)}const n=xo(this.uri);if(n)switch(this.keyFormat){case gs.WIDEVINE:this.pssh=n,n.length>=22&&(this.keyId=n.subarray(n.length-22,n.length-6));break;case gs.PLAYREADY:{const s=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=fe(s,null,n),this.keyId=qa(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=Qs[this.uri];if(!s){const m=Object.keys(Qs).length%Number.MAX_SAFE_INTEGER;s=new Uint8Array(16),new DataView(s.buffer,12,4).setUint32(0,m),Qs[this.uri]=s}this.keyId=s}return this}}function Qo(P){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=P>>8*(15-n)&255;return t}const ds=/#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,Oo=/#EXT-X-MEDIA:(.*)/g,ko=/^#EXT(?:INF|-X-TARGETDURATION):/m,Ho=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),Su=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 So{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 le.buildAbsoluteURL(n,t,{alwaysNormalize:!0})}static isMediaPlaylist(t){return ko.test(t)}static parseMasterPlaylist(t,n){const s=os(t),m={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:s},E=[];ds.lastIndex=0;let T;for(;(T=ds.exec(t))!=null;)if(T[1]){var U;const N=new Ni(T[1],m),te=Ga(m,T[2]),ce={attrs:N,bitrate:N.decimalInteger("BANDWIDTH")||N.decimalInteger("AVERAGE-BANDWIDTH"),name:N.NAME,url:So.resolve(te,n)},xe=N.decimalResolution("RESOLUTION");xe&&(ce.width=xe.width,ce.height=xe.height),Lo(N.CODECS,ce);const Ie=N["SUPPLEMENTAL-CODECS"];Ie&&(ce.supplemental={},Lo(Ie,ce.supplemental)),(U=ce.unknownCodecs)!=null&&U.length||E.push(ce),m.levels.push(ce)}else if(T[3]){const N=T[3],te=T[4];switch(N){case"SESSION-DATA":{const ce=new Ni(te,m),xe=ce["DATA-ID"];xe&&(m.sessionData===null&&(m.sessionData={}),m.sessionData[xe]=ce);break}case"SESSION-KEY":{const ce=$u(te,n,m);ce.encrypted&&ce.isSupported()?(m.sessionKeys===null&&(m.sessionKeys=[]),m.sessionKeys.push(ce)):G.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${te}"`);break}case"DEFINE":{{const ce=new Ni(te,m);Is(m,ce,n)}break}case"CONTENT-STEERING":{const ce=new Ni(te,m);m.contentSteering={uri:So.resolve(ce["SERVER-URI"],n),pathwayId:ce["PATHWAY-ID"]||"."};break}case"START":{m.startTimeOffset=Ro(te);break}}}const W=E.length>0&&E.length<m.levels.length;return m.levels=W?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={},T=s.levels,U={AUDIO:T.map(N=>({id:N.attrs.AUDIO,audioCodec:N.audioCodec})),SUBTITLES:T.map(N=>({id:N.attrs.SUBTITLES,textCodec:N.textCodec})),"CLOSED-CAPTIONS":[]};let W=0;for(Oo.lastIndex=0;(m=Oo.exec(t))!==null;){const N=new Ni(m[1],s),te=N.TYPE;if(te){const ce=U[te],xe=E[te]||[];E[te]=xe;const Ie=N.LANGUAGE,Ae=N["ASSOC-LANGUAGE"],at=N.CHANNELS,tt=N.CHARACTERISTICS,kt=N["INSTREAM-ID"],fr={attrs:N,bitrate:0,id:W++,groupId:N["GROUP-ID"]||"",name:N.NAME||Ie||"",type:te,default:N.bool("DEFAULT"),autoselect:N.bool("AUTOSELECT"),forced:N.bool("FORCED"),lang:Ie,url:N.URI?So.resolve(N.URI,n):""};if(Ae&&(fr.assocLang=Ae),at&&(fr.channels=at),tt&&(fr.characteristics=tt),kt&&(fr.instreamId=kt),ce!=null&&ce.length){const sr=So.findGroup(ce,fr.groupId)||ce[0];Hs(fr,sr,"audioCodec"),Hs(fr,sr,"textCodec")}xe.push(fr)}}return E}static parseLevelPlaylist(t,n,s,m,E,T){var U;const W={url:n},N=new cs(n),te=N.fragments,ce=[];let xe=null,Ie=0,Ae=0,at=0,tt=0,kt=0,fr=null,sr=new De(m,W),kr,zr,ln,Wr=-1,en=!1,un=null,Kr;if(Ho.lastIndex=0,N.m3u8=t,N.hasVariableRefs=os(t),((U=Ho.exec(t))==null?void 0:U[0])!=="#EXTM3U")return N.playlistParsingError=new Error("Missing format identifier #EXTM3U"),N;for(;(kr=Ho.exec(t))!==null;){en&&(en=!1,sr=new De(m,W),sr.playlistOffset=at,sr.start=at,sr.sn=Ie,sr.cc=tt,kt&&(sr.bitrate=kt),sr.level=s,xe&&(sr.initSegment=xe,xe.rawProgramDateTime&&(sr.rawProgramDateTime=xe.rawProgramDateTime,xe.rawProgramDateTime=null),un&&(sr.setByteRange(un),un=null)));const ji=kr[1];if(ji){sr.duration=parseFloat(ji);const Ui=(" "+kr[2]).slice(1);sr.title=Ui||null,sr.tagList.push(Ui?["INF",ji,Ui]:["INF",ji])}else if(kr[3]){if(r(sr.duration)){sr.playlistOffset=at,sr.start=at,ln&&Bs(sr,ln,N),sr.sn=Ie,sr.level=s,sr.cc=tt,te.push(sr);const Ui=(" "+kr[3]).slice(1);sr.relurl=Ga(N,Ui),jo(sr,fr,ce),fr=sr,at+=sr.duration,Ie++,Ae=0,en=!0}}else{if(kr=kr[0].match(Su),!kr){G.warn("No matches on slow regex match for level playlist!");continue}for(zr=1;zr<kr.length&&kr[zr]===void 0;zr++);const Ui=(" "+kr[zr]).slice(1),fi=(" "+kr[zr+1]).slice(1),Vi=kr[zr+2]?(" "+kr[zr+2]).slice(1):null;switch(Ui){case"BYTERANGE":fr?sr.setByteRange(fi,fr):sr.setByteRange(fi);break;case"PROGRAM-DATE-TIME":sr.rawProgramDateTime=fi,sr.tagList.push(["PROGRAM-DATE-TIME",fi]),Wr===-1&&(Wr=te.length);break;case"PLAYLIST-TYPE":N.type&&Rs(N,Ui,kr),N.type=fi.toUpperCase();break;case"MEDIA-SEQUENCE":N.startSN!==0?Rs(N,Ui,kr):te.length>0&&hu(N,Ui,kr),Ie=N.startSN=parseInt(fi);break;case"SKIP":{N.skippedSegments&&Rs(N,Ui,kr);const ea=new Ni(fi,N),Xn=ea.decimalInteger("SKIPPED-SEGMENTS");if(r(Xn)){N.skippedSegments+=Xn;for(let Aa=Xn;Aa--;)te.push(null);Ie+=Xn}const ri=ea.enumeratedString("RECENTLY-REMOVED-DATERANGES");ri&&(N.recentlyRemovedDateranges=(N.recentlyRemovedDateranges||[]).concat(ri.split(" ")));break}case"TARGETDURATION":N.targetduration!==0&&Rs(N,Ui,kr),N.targetduration=Math.max(parseInt(fi),1);break;case"VERSION":N.version!==null&&Rs(N,Ui,kr),N.version=parseInt(fi);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":N.live||Rs(N,Ui,kr),N.live=!1;break;case"#":(fi||Vi)&&sr.tagList.push(Vi?[fi,Vi]:[fi]);break;case"DISCONTINUITY":tt++,sr.tagList.push(["DIS"]);break;case"GAP":sr.gap=!0,sr.tagList.push([Ui]);break;case"BITRATE":sr.tagList.push([Ui,fi]),kt=parseInt(fi)*1e3,r(kt)?sr.bitrate=kt:kt=0;break;case"DATERANGE":{const ea=new Ni(fi,N),Xn=new Dn(ea,N.dateRanges[ea.ID],N.dateRangeTagCount);N.dateRangeTagCount++,Xn.isValid||N.skippedSegments?N.dateRanges[Xn.id]=Xn:G.warn(`Ignoring invalid DATERANGE tag: "${fi}"`),sr.tagList.push(["EXT-X-DATERANGE",fi]);break}case"DEFINE":{{const ea=new Ni(fi,N);"IMPORT"in ea?Yi(N,ea,T):Is(N,ea,n)}break}case"DISCONTINUITY-SEQUENCE":N.startCC!==0?Rs(N,Ui,kr):te.length>0&&hu(N,Ui,kr),N.startCC=tt=parseInt(fi);break;case"KEY":{const ea=$u(fi,n,N);if(ea.isSupported()){if(ea.method==="NONE"){ln=void 0;break}ln||(ln={}),ln[ea.keyFormat]&&(ln=y({},ln)),ln[ea.keyFormat]=ea}else G.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${fi}"`);break}case"START":N.startTimeOffset=Ro(fi);break;case"MAP":{const ea=new Ni(fi,N);if(sr.duration){const Xn=new De(m,W);Ao(Xn,ea,s,ln),xe=Xn,sr.initSegment=xe,xe.rawProgramDateTime&&!sr.rawProgramDateTime&&(sr.rawProgramDateTime=xe.rawProgramDateTime)}else{const Xn=sr.byteRangeEndOffset;if(Xn){const ri=sr.byteRangeStartOffset;un=`${Xn-ri}@${ri}`}else un=null;Ao(sr,ea,s,ln),xe=sr,en=!0}xe.cc=tt;break}case"SERVER-CONTROL":{Kr&&Rs(N,Ui,kr),Kr=new Ni(fi),N.canBlockReload=Kr.bool("CAN-BLOCK-RELOAD"),N.canSkipUntil=Kr.optionalFloat("CAN-SKIP-UNTIL",0),N.canSkipDateRanges=N.canSkipUntil>0&&Kr.bool("CAN-SKIP-DATERANGES"),N.partHoldBack=Kr.optionalFloat("PART-HOLD-BACK",0),N.holdBack=Kr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{N.partTarget&&Rs(N,Ui,kr);const ea=new Ni(fi);N.partTarget=ea.decimalFloatingPoint("PART-TARGET");break}case"PART":{let ea=N.partList;ea||(ea=N.partList=[]);const Xn=Ae>0?ea[ea.length-1]:void 0,ri=Ae++,Aa=new Ni(fi,N),Ca=new ke(Aa,sr,W,ri,Xn);ea.push(Ca),sr.duration+=Ca.duration;break}case"PRELOAD-HINT":{const ea=new Ni(fi,N);N.preloadHint=ea;break}case"RENDITION-REPORT":{const ea=new Ni(fi,N);N.renditionReports=N.renditionReports||[],N.renditionReports.push(ea);break}default:G.warn(`line parsed but not handled: ${kr}`);break}}}fr&&!fr.relurl?(te.pop(),at-=fr.duration,N.partList&&(N.fragmentHint=fr)):N.partList&&(jo(sr,fr,ce),sr.cc=tt,N.fragmentHint=sr,ln&&Bs(sr,ln,N)),N.targetduration||(N.playlistParsingError=new Error("#EXT-X-TARGETDURATION is required"));const Un=te.length,pi=te[0],ua=te[Un-1];if(at+=N.skippedSegments*N.targetduration,at>0&&Un&&ua){N.averagetargetduration=at/Un;const ji=ua.sn;N.endSN=ji!=="initSegment"?ji:0,N.live||(ua.endList=!0),pi&&N.startCC===void 0&&(N.startCC=pi.cc),Wr>0&&(du(te,Wr),pi&&ce.unshift(pi))}else N.endSN=0,N.startCC=0;return N.fragmentHint&&(at+=N.fragmentHint.duration),N.totalduration=at,ce.length&&N.dateRangeTagCount&&pi&&_o(ce,N),N.endCC=tt,N}}function _o(P,t){const n=P.length;if(!n)return;const s=P[n-1],m=t.live?1/0:t.totalduration,E=Object.keys(t.dateRanges);for(let T=E.length;T--;){const U=t.dateRanges[E[T]],W=U.startDate.getTime();U.tagAnchor=s.ref;for(let N=n;N--;){const te=Js(t,W,P,N,m);if(te!==-1){U.tagAnchor=t.fragments[te].ref;break}}}}function Js(P,t,n,s,m){const E=n[s];if(E){const U=E.programDateTime;if(t>=U||s===0){var T;const W=(((T=n[s+1])==null?void 0:T.start)||m)-E.start;if(t<=U+W*1e3){const N=n[s].sn-P.startSN,te=P.fragments;if(te.length>n.length){const xe=(n[s+1]||te[te.length-1]).sn-P.startSN;for(let Ie=xe;Ie>N;Ie--){const Ae=te[Ie].programDateTime;if(t>=Ae&&t<Ae+te[Ie].duration*1e3)return Ie}}return N}}}return-1}function $u(P,t,n){var s,m;const E=new Ni(P,n),T=(s=E.METHOD)!=null?s:"",U=E.URI,W=E.hexadecimalInteger("IV"),N=E.KEYFORMATVERSIONS,te=(m=E.KEYFORMAT)!=null?m:"identity";U&&E.IV&&!W&&G.error(`Invalid IV: ${E.IV}`);const ce=U?So.resolve(U,t):"",xe=(N||"1").split("/").map(Number).filter(Number.isFinite);return new qs(T,ce,te,xe,W)}function Ro(P){const n=new Ni(P).decimalFloatingPoint("TIME-OFFSET");return r(n)?n:null}function Lo(P,t){let n=(P||"").split(/[ ,]+/).filter(s=>s);["video","audio","text"].forEach(s=>{const m=n.filter(E=>Gt(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 Hs(P,t,n){const s=t[n];s&&(P[n]=s)}function du(P,t){let n=P[t];for(let s=t;s--;){const m=P[s];if(!m)return;m.programDateTime=n.programDateTime-m.duration*1e3,n=m}}function jo(P,t,n){P.rawProgramDateTime?n.push(P):t!=null&&t.programDateTime&&(P.programDateTime=t.endProgramDateTime)}function Ao(P,t,n,s){P.relurl=t.URI,t.BYTERANGE&&P.setByteRange(t.BYTERANGE),P.level=n,P.sn="initSegment",s&&(P.levelkeys=s),P.initSegment=null}function Bs(P,t,n){P.levelkeys=t;const{encryptedFragments:s}=n;(!s.length||s[s.length-1].levelkeys!==t)&&Object.keys(t).some(m=>t[m].isCommonEncryption)&&s.push(P)}function Rs(P,t,n){P.playlistParsingError=new Error(`#EXT-X-${t} must not appear more than once (${n[0]})`)}function hu(P,t,n){P.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function Au(P,t){const n=t.startPTS;if(r(n)){let s=0,m;t.sn>P.sn?(s=n-P.start,m=P):(s=P.start-n,m=t),m.duration!==s&&m.setDuration(s)}else t.sn>P.sn?P.cc===t.cc&&P.minEndPTS?t.setStart(P.start+(P.minEndPTS-P.start)):t.setStart(P.start+P.duration):t.setStart(Math.max(P.start-t.duration,0))}function qt(P,t,n,s,m,E){s-n<=0&&(G.warn("Fragment should have a positive duration",t),s=n+t.duration,E=m+t.duration);let U=n,W=s;const N=t.startPTS,te=t.endPTS;if(r(N)){const tt=Math.abs(N-n);r(t.deltaPTS)?t.deltaPTS=Math.max(tt,t.deltaPTS):t.deltaPTS=tt,U=Math.max(n,N),n=Math.min(n,N),m=Math.min(m,t.startDTS),W=Math.min(s,te),s=Math.max(s,te),E=Math.max(E,t.endDTS)}const ce=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=W,t.endDTS=E;const xe=t.sn;if(!P||xe<P.startSN||xe>P.endSN)return 0;let Ie;const Ae=xe-P.startSN,at=P.fragments;for(at[Ae]=t,Ie=Ae;Ie>0;Ie--)Au(at[Ie],at[Ie-1]);for(Ie=Ae;Ie<at.length-1;Ie++)Au(at[Ie],at[Ie+1]);return P.fragmentHint&&Au(at[at.length-1],P.fragmentHint),P.PTSKnown=P.alignedSliding=!0,ce}function hr(P,t){if(P===t)return;let n=null;const s=P.fragments;for(let N=s.length-1;N>=0;N--){const te=s[N].initSegment;if(te){n=te;break}}P.fragmentHint&&delete P.fragmentHint.endPTS;let m;wr(P,t,(N,te,ce,xe)=>{if((!t.startCC||t.skippedSegments)&&te.cc!==N.cc){const Ie=N.cc-te.cc;for(let Ae=ce;Ae<xe.length;Ae++)xe[Ae].cc+=Ie;t.endCC=xe[xe.length-1].cc}r(N.startPTS)&&r(N.endPTS)&&(te.setStart(te.startPTS=N.startPTS),te.startDTS=N.startDTS,te.maxStartPTS=N.maxStartPTS,te.endPTS=N.endPTS,te.endDTS=N.endDTS,te.minEndPTS=N.minEndPTS,te.setDuration(N.endPTS-N.startPTS),te.duration&&(m=te),t.PTSKnown=t.alignedSliding=!0),N.hasStreams&&(te.elementaryStreams=N.elementaryStreams),te.loader=N.loader,N.hasStats&&(te.stats=N.stats),N.initSegment&&(te.initSegment=N.initSegment,n=N.initSegment)});const E=t.fragments,T=t.fragmentHint?E.concat(t.fragmentHint):E;if(n&&T.forEach(N=>{var te;N&&(!N.initSegment||N.initSegment.relurl===((te=n)==null?void 0:te.relurl))&&(N.initSegment=n)}),t.skippedSegments){if(t.deltaUpdateFailed=E.some(N=>!N),t.deltaUpdateFailed){G.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let N=t.skippedSegments;N--;)E.shift();t.startSN=E[0].sn}else{t.canSkipDateRanges&&(t.dateRanges=or(P.dateRanges,t));const N=P.fragments.filter(te=>te.rawProgramDateTime);if(P.hasProgramDateTime&&!t.hasProgramDateTime)for(let te=1;te<T.length;te++)T[te].programDateTime===null&&jo(T[te],T[te-1],N);_o(N,t)}t.endCC=E[E.length-1].cc}if(!t.startCC){var U;const N=Vn(P,t.startSN-1);t.startCC=(U=N==null?void 0:N.cc)!=null?U:E[0].cc}vr(P.partList,t.partList,(N,te)=>{te.elementaryStreams=N.elementaryStreams,te.stats=N.stats}),m?qt(t,m,m.startPTS,m.endPTS,m.startDTS,m.endDTS):En(P,t),E.length&&(t.totalduration=t.edge-E[0].start),t.driftStartTime=P.driftStartTime,t.driftStart=P.driftStart;const W=t.advancedDateTime;if(t.advanced&&W){const N=t.edge;t.driftStart||(t.driftStartTime=W,t.driftStart=N),t.driftEndTime=W,t.driftEnd=N}else t.driftEndTime=P.driftEndTime,t.driftEnd=P.driftEnd,t.advancedDateTime=P.advancedDateTime;t.requestScheduled===-1&&(t.requestScheduled=P.requestScheduled)}function or(P,t){const{dateRanges:n,recentlyRemovedDateranges:s}=t,m=y({},P);s&&s.forEach(U=>{delete m[U]});const T=Object.keys(m).length;return T&&Object.keys(n).forEach(U=>{const W=m[U],N=new Dn(n[U].attr,W);N.isValid?(m[U]=N,W||(N.tagOrder+=T)):G.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${Tn(n[U].attr)}"`)}),m}function vr(P,t,n){if(P&&t){let s=0;for(let m=0,E=P.length;m<=E;m++){const T=P[m],U=t[m+s];T&&U&&T.index===U.index&&T.fragment.sn===U.fragment.sn?n(T,U):s--}}}function wr(P,t,n){const s=t.skippedSegments,m=Math.max(P.startSN,t.startSN)-t.startSN,E=(P.fragmentHint?1:0)+(s?t.endSN:Math.min(P.endSN,t.endSN))-t.startSN,T=t.startSN-P.startSN,U=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,W=P.fragmentHint?P.fragments.concat(P.fragmentHint):P.fragments;for(let N=m;N<=E;N++){const te=W[T+N];let ce=U[N];if(s&&!ce&&te&&(ce=t.fragments[N]=te),te&&ce){if(n(te,ce,N,U),te.url&&te.url!==ce.url){t.playlistParsingError=yn(`media sequence mismatch ${ce.sn}:`,P,t,te,ce);return}else if(te.cc!==ce.cc){t.playlistParsingError=yn(`discontinuity sequence mismatch (${te.cc}!=${ce.cc})`,P,t,te,ce);return}}}}function yn(P,t,n,s,m){return new Error(`${P} ${m.url}
|
|
|
Playlist starting @${t.startSN}
|
|
|
${t.m3u8}
|
|
|
|
|
|
Playlist starting @${n.startSN}
|
|
|
${n.m3u8}`)}function En(P,t,n=!0){const s=t.startSN+t.skippedSegments-P.startSN,m=P.fragments,E=s>=0;let T=0;if(E&&s<m.length)T=m[s].start;else if(E&&t.startSN===P.endSN+1)T=P.fragmentEnd;else if(E&&n)T=P.fragmentStart+s*t.levelTargetDuration;else if(!t.skippedSegments&&t.fragmentStart===0)T=P.fragmentStart;else return;$n(t,T)}function $n(P,t){if(t){const n=P.fragments;for(let s=P.skippedSegments;s<n.length;s++)n[s].addStart(t);P.fragmentHint&&P.fragmentHint.addStart(t)}}function Ln(P,t=1/0){let n=1e3*P.targetduration;if(P.updated){const s=P.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 Vn(P,t,n){if(!P)return null;let s=P.fragments[t-P.startSN];return s||(s=P.fragmentHint,s&&s.sn===t)?s:t<P.startSN&&n&&n.sn===t?n:null}function ur(P,t,n){return P?Nr(P.partList,t,n):null}function Nr(P,t,n){if(P)for(let s=P.length;s--;){const m=P[s];if(m.index===n&&m.fragment.sn===t)return m}return null}function xr(P){P.forEach((t,n)=>{var s;(s=t.details)==null||s.fragments.forEach(m=>{m.level=n,m.initSegment&&(m.initSegment.level=n)})})}function hn(P,t){for(let s=0,m=P.length;s<m;s++){var n;if(((n=P[s])==null?void 0:n.cc)===t)return P[s]}return null}function Wn(P,t){return!!(P&&t.startCC<P.endCC&&t.endCC>P.startCC)}function ft(P,t){if(P){const n=P.start+t;P.start=P.startPTS=n,P.endPTS=n+P.duration}}function Pn(P,t){const n=t.fragments;for(let s=0,m=n.length;s<m;s++)ft(n[s],P);t.fragmentHint&&ft(t.fragmentHint,P),t.alignedSliding=!0}function Kn(P,t){P&&(ui(t,P),!t.alignedSliding&&P&&Xi(t,P),!t.alignedSliding&&P&&!t.skippedSegments&&En(P,t,!1))}function ui(P,t){if(!Wn(t,P))return;const n=Math.min(t.endCC,P.endCC),s=hn(t.fragments,n),m=hn(P.fragments,n);if(!s||!m)return;G.log(`Aligning playlist at start of dicontinuity sequence ${n}`);const E=s.start-m.start;Pn(E,P)}function Xi(P,t){if(!P.hasProgramDateTime||!t.hasProgramDateTime)return;const n=P.fragments,s=t.fragments;if(!n.length||!s.length)return;let m,E;const T=Math.min(t.endCC,P.endCC);t.startCC<T&&P.startCC<T&&(m=hn(s,T),E=hn(n,T)),(!m||!E)&&(m=s[Math.floor(s.length/2)],E=hn(n,m.cc)||n[Math.floor(n.length/2)]);const U=m.programDateTime,W=E.programDateTime;if(!U||!W)return;const N=(W-U)/1e3-(E.start-m.start);Pn(N,P)}const $r={toString:function(P){let t="";const n=P.length;for(let s=0;s<n;s++)t+=`[${P.start(s).toFixed(3)}-${P.end(s).toFixed(3)}]`;return t}},Vr={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 ga extends Ta{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=Vr.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:T,fragCurrent:U,media:W,mediaBuffer:N,state:te}=this,ce=W?W.currentTime:0,xe=mi.bufferInfo(N||W,ce,T.maxBufferHole);if(this.log(`media seeking to ${r(ce)?ce.toFixed(3):ce}, state: ${te}`),this.state===Vr.ENDED)this.resetLoadingState();else if(U){const Ie=T.maxFragLookUpTolerance,Ae=U.start-Ie,at=U.start+U.duration+Ie;if(!xe.len||at<xe.start||Ae>xe.end){const tt=ce>at;(ce<Ae||tt)&&(tt&&U.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),U.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(W){this.fragmentTracker.removeFragmentsInRange(ce,1/0,this.playlistType,!0);const Ie=this.lastCurrentTime;if(ce>Ie&&(this.lastCurrentTime=ce),!this.loadingParts){const Ae=Math.max(xe.end,ce),at=this.shouldLoadParts(this.getLevelDetails(),Ae);at&&(this.log(`LL-Part loading ON after seeking to ${ce.toFixed(2)} with buffer @${Ae.toFixed(2)}`),this.loadingParts=at)}}!this.hls.hasEnoughToStart&&!xe.len&&(this.log(`setting startPosition to ${ce} because of seek before start`),this.nextLoadPosition=this.startPosition=ce),this.tickImmediate()},this.onMediaEnded=()=>{this.log("setting startPosition to 0 because media ended"),this.startPosition=this.lastCurrentTime=0},this.playlistType=E,this.hls=t,this.fragmentLoader=new vn(t.config),this.keyLoader=s,this.fragmentTracker=n,this.config=t.config,this.decrypter=new wi(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===Vr.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=Vr.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.buffered;this.config.maxBufferHole&&E&&E.length>1&&(t=mi.bufferedInfo(E,t.start,0));const T=t.nextStart;if(T&&T>m&&T<n.edge||this.media.currentTime<t.start)return!1;const W=n.partList;if(W!=null&&W.length){const te=W[W.length-1];return mi.isBuffered(this.media,te.start+te.duration/2)}const N=n.fragments[n.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(N)}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===Vr.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=Vr.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 T=E.frag;if(this.fragContextChanged(T)){this.warn(`${T.type} sn: ${T.sn}${E.part?" part: "+E.part.index:""} of ${this.fragInfo(T,!1,E.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(T);return}T.stats.chunkCount++,this._handleFragmentLoadProgress(E)};this._doFragLoad(t,n,s,m).then(E=>{if(!E)return;const T=this.state,U=E.frag;if(this.fragContextChanged(U)){(T===Vr.FRAG_LOADING||!this.fragCurrent&&T===Vr.PARSING)&&(this.fragmentTracker.removeFragment(U),this.state=Vr.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===Vr.STOPPED||this.state===Vr.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)===nr.APPENDING){const E=t.type,T=this.getFwdBufferInfo(this.mediaBuffer,E),U=Math.max(t.duration,T?T.len:this.config.maxBufferLength),W=this.backtrackFragment;((W?t.sn-W.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)===nr.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:T}=s,U=E.decryptdata;if(T&&T.byteLength>0&&U!=null&&U.key&&U.iv&&ja(U.method)){const W=self.performance.now();return this.decrypter.decrypt(new Uint8Array(T),U.key.buffer,U.iv.buffer,zi(U.method)).catch(N=>{throw m.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:N,reason:N.message,frag:E}),N}).then(N=>{const te=self.performance.now();return m.trigger(o.FRAG_DECRYPTED,{frag:E,payload:N,stats:{tstart:W,tdecrypt:te}}),s.payload=N,this.completeInitSegmentLoad(s)})}return this.completeInitSegmentLoad(s)}).catch(s=>{this.state===Vr.STOPPED||this.state===Vr.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!==Vr.STOPPED&&(this.state=Vr.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?$r.toString(mi.getBuffered(s)):"(detached)"})`),_e(t)){var m;if(t.type!==u.SUBTITLE){const T=t.elementaryStreams;if(!Object.keys(T).some(U=>!!T[U])){this.state=Vr.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=Vr.IDLE}_handleFragmentLoadComplete(t){const{transmuxer:n}=this;if(!n)return;const{frag:s,part:m,partsLoaded:E}=t,T=!E||E.length===0||E.some(W=>!W),U=new fs(s.level,s.sn,s.stats.chunkCount+1,0,m?m.index:-1,!T);n.flush(U)}_handleFragmentLoadProgress(t){}_doFragLoad(t,n,s=null,m){var E;this.fragCurrent=t;const T=n==null?void 0:n.details;if(!this.levels||!T)throw new Error(`frag load aborted, missing level${T?"":" detail"}s`);let U=null;t.encrypted&&!((E=t.decryptdata)!=null&&E.key)?(this.log(`Loading key for ${t.sn} of [${T.startSN}-${T.endSN}], ${this.playlistLabel()} ${t.level}`),this.state=Vr.KEY_LOADING,this.fragCurrent=t,U=this.keyLoader.load(t).then(ce=>{if(!this.fragContextChanged(ce.frag))return this.hls.trigger(o.KEY_LOADED,ce),this.state===Vr.KEY_LOADING&&(this.state=Vr.IDLE),ce}),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||(U=this.keyLoader.loadClear(t,T.encryptedFragments),U&&this.log("[eme] blocking frag load until media-keys acquired"));const W=this.fragPrevious;if(_e(t)&&(!W||t.sn!==W.sn)){const ce=this.shouldLoadParts(n.details,t.end);ce!==this.loadingParts&&(this.log(`LL-Part loading ${ce?"ON":"OFF"} loading sn ${W==null?void 0:W.sn}->${t.sn}`),this.loadingParts=ce)}if(s=Math.max(t.start,s||0),this.loadingParts&&_e(t)){const ce=T.partList;if(ce&&m){s>t.end&&T.fragmentHint&&(t=T.fragmentHint);const xe=this.getNextPart(ce,t,s);if(xe>-1){const Ie=ce[xe];t=this.fragCurrent=Ie.fragment,this.log(`Loading ${t.type} sn: ${t.sn} part: ${Ie.index} (${xe}/${ce.length-1}) of ${this.fragInfo(t,!1,Ie)}) cc: ${t.cc} [${T.startSN}-${T.endSN}], target: ${parseFloat(s.toFixed(3))}`),this.nextLoadPosition=Ie.start+Ie.duration,this.state=Vr.FRAG_LOADING;let Ae;return U?Ae=U.then(at=>!at||this.fragContextChanged(at.frag)?null:this.doFragPartsLoad(t,Ie,n,m)).catch(at=>this.handleFragLoadError(at)):Ae=this.doFragPartsLoad(t,Ie,n,m).catch(at=>this.handleFragLoadError(at)),this.hls.trigger(o.FRAG_LOADING,{frag:t,part:Ie,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):Ae}else if(!t.url||this.loadedEndOfParts(ce,s))return Promise.resolve(null)}}if(_e(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} ${T?"["+T.startSN+"-"+T.endSN+"]":""}, target: ${parseFloat(s.toFixed(3))}`),r(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=Vr.FRAG_LOADING;const N=this.config.progressive;let te;return N&&U?te=U.then(ce=>!ce||this.fragContextChanged(ce==null?void 0:ce.frag)?null:this.fragmentLoader.load(t,m)).catch(ce=>this.handleFragLoadError(ce)):te=Promise.all([this.fragmentLoader.load(t,N?m:void 0),U]).then(([ce])=>(!N&&ce&&m&&m(ce),ce)).catch(ce=>this.handleFragLoadError(ce)),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")):te}doFragPartsLoad(t,n,s,m){return new Promise((E,T)=>{var U;const W=[],N=(U=s.details)==null?void 0:U.partList,te=ce=>{this.fragmentLoader.loadPart(t,ce,m).then(xe=>{W[ce.index]=xe;const Ie=xe.part;this.hls.trigger(o.FRAG_LOADED,xe);const Ae=ur(s.details,t.sn,ce.index+1)||Nr(N,t.sn,ce.index+1);if(Ae)te(Ae);else return E({frag:t,part:Ie,partsLoaded:W})}).catch(T)};te(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!==Vr.PARSING){!this.fragCurrent&&this.state!==Vr.STOPPED&&this.state!==Vr.ERROR&&(this.state=Vr.IDLE);return}const{frag:s,part:m,level:E}=n,T=self.performance.now();s.stats.parsing.end=T,m&&(m.stats.parsing.end=T);const U=this.getLevelDetails(),N=U&&s.sn>U.endSN||this.shouldLoadParts(U,s.end);N!==this.loadingParts&&(this.log(`LL-Part loading ${N?"ON":"OFF"} after parsing segment ending @${s.end.toFixed(2)}`),this.loadingParts=N),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],T=E.end+(((s=t.fragmentHint)==null?void 0:s.duration)||0);if(n>=T){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:T}=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],W=U.details,N=T>-1?ur(W,E,T):null,te=N?N.fragment:Vn(W,E,s);return te?(s&&s!==te&&(te.stats=s.stats),{frag:te,part:N,level:U}):null}bufferFragmentData(t,n,s,m,E){var T;if(!t||this.state!==Vr.PARSING)return;const{data1:U,data2:W}=t;let N=U;if(U&&W&&(N=qe(U,W)),!((T=N)!=null&&T.length))return;const te={type:t.type,frag:n,part:s,chunkMeta:m,parent:n.type,data:N};if(this.hls.trigger(o.BUFFER_APPENDING,te),t.dropped&&t.independent&&!s){if(E)return;this.flushBufferGap(n)}}flushBufferGap(t){const n=this.media;if(!n)return;if(!mi.isBuffered(n,n.currentTime)){this.flushMainBuffer(0,t.start);return}const s=n.currentTime,m=mi.bufferInfo(n,s,0),E=t.duration,T=Math.min(this.config.maxFragLookUpTolerance*2,E*.25),U=Math.max(Math.min(t.start-T,m.end-T),s+T);t.start-U>T&&this.flushMainBuffer(U,t.start)}getFwdBufferInfo(t,n){var s;const m=this.getLoadPosition();if(!r(m))return null;const T=this.lastCurrentTime>m||(s=this.media)!=null&&s.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(t,m,n,T)}getFwdBufferInfoAtPos(t,n,s,m){const E=mi.bufferInfo(t,n,m);if(E.len===0&&E.nextStart!==void 0){const T=this.fragmentTracker.getBufferedFrag(n,s);if(T&&(E.nextStart<=T.end||T.gap)){const U=Math.max(Math.min(E.nextStart,T.end)-n,m);return mi.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,T=s[0].start,U=E.lowLatencyMode&&!!n.partList;let W=null;if(n.live){const ce=E.initialLiveManifestSize;if(m<ce)return this.warn(`Not enough fragments to start playback (have: ${m}, need: ${ce})`),null;if(!n.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||t<T){var N;U&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),W=this.getInitialLiveFragment(n);const xe=this.hls.startPosition,Ie=this.hls.liveSyncPosition,Ae=W?(xe!==-1&&xe>=T?xe:Ie)||W.start:t;this.log(`Setting startPosition to ${Ae} to match start frag at live edge. mainStart: ${xe} liveSyncPosition: ${Ie} frag.start: ${(N=W)==null?void 0:N.start}`),this.startPosition=this.nextLoadPosition=Ae}}else t<=T&&(W=s[0]);if(!W){const ce=this.loadingParts?n.partEnd:n.fragmentEnd;W=this.getFragmentAtPosition(t,ce,n)}let te=this.filterReplacedPrimary(W,n);if(!te&&W){const ce=W.sn-n.startSN;te=this.filterReplacedPrimary(s[ce+1]||null,n)}return this.mapToInitFragWhenRequired(te)}isLoopLoading(t,n){const s=this.fragmentTracker.getState(t);return(s===nr.OK||s===nr.PARTIAL&&!!t.gap)&&this.nextLoadPosition>n}getNextFragmentLoopLoading(t,n,s,m,E){let T=null;if(t.gap&&(T=this.getNextFragment(this.nextLoadPosition,n),T&&!T.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 W=T.sn;return this.loopSn!==W&&(this.log(`buffer full after gaps in "${m}" playlist starting at sn: ${W}`),this.loopSn=W),null}}return this.loopSn=void 0,T}get primaryPrefetch(){if(Ii(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(Ii(this.hls.config)&&t.type!==u.SUBTITLE){const s=this.hls.interstitialsManager,m=s==null?void 0:s.bufferingItem;if(m){const T=m.event;if(T){if(T.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 T=E.length;T--;){const U=E[T].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,T=!0;for(let U=0,W=t.length;U<W;U++){const N=t[U];if(T=T&&!N.independent,m>-1&&s<N.start)break;const te=N.loaded;te?m=-1:(E||N.independent||T)&&N.fragment===n&&(m=U),E=te}return m}loadedEndOfParts(t,n){const s=t[t.length-1];return s&&n>s.start&&s.loaded}getInitialLiveFragment(t){const n=t.fragments,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=bi(n,s.endProgramDateTime,this.config.maxFragLookUpTolerance)),!m){const E=s.sn+1;if(E>=t.startSN&&E<=t.endSN){const T=n[E-t.startSN];s.cc===T.cc&&(m=T,this.log(`Live playlist, switching playlist, load frag with next SN: ${m.sn}`))}m||(m=rt(t,s.cc,s.end),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:T,endSN:U}=s;const{fragmentHint:W}=s,{maxFragLookUpTolerance:N}=m,te=s.partList,ce=!!(this.loadingParts&&te!=null&&te.length&&W);ce&&W&&!this.bitrateTest&&te[te.length-1].fragment.sn===W.sn&&(T=T.concat(W),U=W.sn);let xe;if(t<n){var Ie;const at=t<this.lastCurrentTime||t>n-N||(Ie=this.media)!=null&&Ie.paused||!this.startFragRequested?0:N;xe=qn(E,T,t,at)}else xe=T[T.length-1];if(xe){const Ae=xe.sn-s.startSN,at=this.fragmentTracker.getState(xe);if((at===nr.OK||at===nr.PARTIAL&&xe.gap)&&(E=xe),E&&xe.sn===E.sn&&(!ce||te[0].fragment.sn>xe.sn||!s.live&&!ce)&&E&&xe.level===E.level){const kt=T[Ae+1];xe.sn<U&&this.fragmentTracker.getState(kt)!==nr.OK?xe=kt:xe=null}}return xe}alignPlaylists(t,n,s){const m=t.fragments.length;if(!m)return this.warn("No fragments in live playlist"),0;const E=t.fragmentStart,T=!n,U=t.alignedSliding&&r(E);if(T||!U&&!E){Kn(s,t);const W=t.fragmentStart;return this.log(`Live playlist sliding: ${W.toFixed(2)} start-sn: ${n?n.startSN:"na"}->${t.startSN} fragments: ${m}`),W}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,T=E?this.startTimeOffset:t.startTimeOffset;T!==null&&r(T)?(s=n+T,T<0&&(s+=t.edge),s=Math.min(Math.max(n,s),n+t.totalduration),this.log(`Setting startPosition to ${s} for start time offset ${T} 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&&_e(t)&&t.stats.aborted&&(this.warn(`Fragment ${t.sn}${n?" part "+n.index:""} of ${this.playlistLabel()} ${t.level} was aborted`),this.resetFragmentLoading(t))}resetFragmentLoading(t){(!this.fragCurrent||!this.fragContextChanged(t)&&this.state!==Vr.FRAG_LOADING_WAITING_RETRY)&&(this.state=Vr.IDLE)}onFragmentOrKeyLoadError(t,n){if(n.chunkMeta&&!n.frag){const Ae=this.getCurrentContext(n.chunkMeta);Ae&&(n.frag=Ae.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 T=n.errorAction,{action:U,flags:W,retryCount:N=0,retryConfig:te}=T||{},ce=!!T&&!!te,xe=ce&&U===Ue.RetryRequest,Ie=ce&&!T.resolved&&W===Je.MoveAllAlternatesMatchingHost;if(!xe&&Ie&&_e(s)&&!s.endList)this.resetFragmentErrors(t),this.treatAsGap(s),T.resolved=!0;else if((xe||Ie)&&N<te.maxNumRetry){this.resetStartWhenNotLoaded(this.levelLastLoaded);const Ae=cr(te,N);this.warn(`Fragment ${s.sn} of ${t} ${s.level} errored with ${n.details}, retrying loading ${N+1}/${te.maxNumRetry} in ${Ae}ms`),T.resolved=!0,this.retryDate=self.performance.now()+Ae,this.state=Vr.FRAG_LOADING_WAITING_RETRY}else if(te&&T)if(this.resetFragmentErrors(t),N<te.maxNumRetry)!E&&U!==Ue.RemoveAlternatePermanently&&(T.resolved=!0);else{this.warn(`${n.details} reached or exceeded max retry (${N})`);return}else U===Ue.SendAlternateToPenaltyBox?this.state=Vr.WAITING_LEVEL:this.state=Vr.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(t){if(this.state===Vr.PARSING||this.state===Vr.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 T=!E;return T&&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(),T}return!1}resetFragmentErrors(t){t===u.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==Vr.STOPPED&&(this.state=Vr.IDLE)}afterBufferFlushed(t,n,s){if(!t)return;const m=mi.getBuffered(t);this.fragmentTracker.detectEvictedFragments(n,m,s),this.state===Vr.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==Vr.STOPPED&&(this.state=Vr.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((W,N)=>{const te=t.elementaryStreams[N];if(te){const ce=te.endPTS-te.startPTS;if(ce<=0)return this.warn(`Could not parse fragment ${t.sn} ${N} duration reliably (${ce})`),W||!1;const xe=m?0:qt(E,t,te.startPTS,te.endPTS,te.startDTS,te.endDTS);return this.hls.trigger(o.LEVEL_PTS_UPDATED,{details:E,level:s,drift:xe,type:N,frag:t,start:te.startPTS,end:te.endPTS}),!0}return W},!1)){var U;if(s.fragmentError===0&&this.treatAsGap(t,s),((U=this.transmuxer)==null?void 0:U.error)===null){const W=new Error(`Found no media in fragment ${t.sn} of ${this.playlistLabel()} ${t.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(W.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:W,frag:t,reason:`Found no media in msn ${t.sn} of ${this.playlistLabel()} "${s.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=Vr.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 Ii(P){return!!P.interstitialsController&&P.enableInterstitialPlayback!==!1}class aa{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=Ds(t,n);else return new Uint8Array(0);return this.reset(),s}reset(){this.chunks.length=0,this.dataLength=0}}function Ds(P,t){const n=new Uint8Array(t);let s=0;for(let m=0;m<P.length;m++){const E=P[m];n.set(E,s),s+=E.length}return n}var li={exports:{}},Ws;function Uo(){return Ws||(Ws=1,function(P){var t=Object.prototype.hasOwnProperty,n="~";function s(){}Object.create&&(s.prototype=Object.create(null),new s().__proto__||(n=!1));function m(W,N,te){this.fn=W,this.context=N,this.once=te||!1}function E(W,N,te,ce,xe){if(typeof te!="function")throw new TypeError("The listener must be a function");var Ie=new m(te,ce||W,xe),Ae=n?n+N:N;return W._events[Ae]?W._events[Ae].fn?W._events[Ae]=[W._events[Ae],Ie]:W._events[Ae].push(Ie):(W._events[Ae]=Ie,W._eventsCount++),W}function T(W,N){--W._eventsCount===0?W._events=new s:delete W._events[N]}function U(){this._events=new s,this._eventsCount=0}U.prototype.eventNames=function(){var N=[],te,ce;if(this._eventsCount===0)return N;for(ce in te=this._events)t.call(te,ce)&&N.push(n?ce.slice(1):ce);return Object.getOwnPropertySymbols?N.concat(Object.getOwnPropertySymbols(te)):N},U.prototype.listeners=function(N){var te=n?n+N:N,ce=this._events[te];if(!ce)return[];if(ce.fn)return[ce.fn];for(var xe=0,Ie=ce.length,Ae=new Array(Ie);xe<Ie;xe++)Ae[xe]=ce[xe].fn;return Ae},U.prototype.listenerCount=function(N){var te=n?n+N:N,ce=this._events[te];return ce?ce.fn?1:ce.length:0},U.prototype.emit=function(N,te,ce,xe,Ie,Ae){var at=n?n+N:N;if(!this._events[at])return!1;var tt=this._events[at],kt=arguments.length,fr,sr;if(tt.fn){switch(tt.once&&this.removeListener(N,tt.fn,void 0,!0),kt){case 1:return tt.fn.call(tt.context),!0;case 2:return tt.fn.call(tt.context,te),!0;case 3:return tt.fn.call(tt.context,te,ce),!0;case 4:return tt.fn.call(tt.context,te,ce,xe),!0;case 5:return tt.fn.call(tt.context,te,ce,xe,Ie),!0;case 6:return tt.fn.call(tt.context,te,ce,xe,Ie,Ae),!0}for(sr=1,fr=new Array(kt-1);sr<kt;sr++)fr[sr-1]=arguments[sr];tt.fn.apply(tt.context,fr)}else{var kr=tt.length,zr;for(sr=0;sr<kr;sr++)switch(tt[sr].once&&this.removeListener(N,tt[sr].fn,void 0,!0),kt){case 1:tt[sr].fn.call(tt[sr].context);break;case 2:tt[sr].fn.call(tt[sr].context,te);break;case 3:tt[sr].fn.call(tt[sr].context,te,ce);break;case 4:tt[sr].fn.call(tt[sr].context,te,ce,xe);break;default:if(!fr)for(zr=1,fr=new Array(kt-1);zr<kt;zr++)fr[zr-1]=arguments[zr];tt[sr].fn.apply(tt[sr].context,fr)}}return!0},U.prototype.on=function(N,te,ce){return E(this,N,te,ce,!1)},U.prototype.once=function(N,te,ce){return E(this,N,te,ce,!0)},U.prototype.removeListener=function(N,te,ce,xe){var Ie=n?n+N:N;if(!this._events[Ie])return this;if(!te)return T(this,Ie),this;var Ae=this._events[Ie];if(Ae.fn)Ae.fn===te&&(!xe||Ae.once)&&(!ce||Ae.context===ce)&&T(this,Ie);else{for(var at=0,tt=[],kt=Ae.length;at<kt;at++)(Ae[at].fn!==te||xe&&!Ae[at].once||ce&&Ae[at].context!==ce)&&tt.push(Ae[at]);tt.length?this._events[Ie]=tt.length===1?tt[0]:tt:T(this,Ie)}return this},U.prototype.removeAllListeners=function(N){var te;return N?(te=n?n+N:N,this._events[te]&&T(this,te)):(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,P.exports=U}(li)),li.exports}var Ls=Uo(),ya=K(Ls);const Va="1.6.5",ys={};function Mn(){return typeof __HLS_WORKER_BUNDLE__=="function"}function Ns(){const P=ys[Va];if(P)return P.clientCount++,P;const t=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),n=self.URL.createObjectURL(t),m={worker:new self.Worker(n),objectURL:n,clientCount:1};return ys[Va]=m,m}function $s(P){const t=ys[P];if(t)return t.clientCount++,t;const n=new self.URL(P,self.location.href).href,m={worker:new self.Worker(n),scriptURL:n,clientCount:1};return ys[P]=m,m}function Ye(P){const t=ys[P||Va];if(t&&t.clientCount--===1){const{worker:s,objectURL:m}=t;delete ys[P||Va],m&&self.URL.revokeObjectURL(m),s.terminate()}}function Qe(P,t){return t+10<=P.length&&P[t]===51&&P[t+1]===68&&P[t+2]===73&&P[t+3]<255&&P[t+4]<255&&P[t+6]<128&&P[t+7]<128&&P[t+8]<128&&P[t+9]<128}function Mt(P,t){return t+10<=P.length&&P[t]===73&&P[t+1]===68&&P[t+2]===51&&P[t+3]<255&&P[t+4]<255&&P[t+6]<128&&P[t+7]<128&&P[t+8]<128&&P[t+9]<128}function Kt(P,t){let n=0;return n=(P[t]&127)<<21,n|=(P[t+1]&127)<<14,n|=(P[t+2]&127)<<7,n|=P[t+3]&127,n}function pr(P,t){const n=t;let s=0;for(;Mt(P,t);){s+=10;const m=Kt(P,t+6);s+=m,Qe(P,t+10)&&(s+=10),t+=s}if(s>0)return P.subarray(n,n+s)}function Mr(P,t,n,s){const m=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],E=t[n+2],T=E>>2&15;if(T>12){const Ie=new Error(`invalid ADTS sampling index:${T}`);P.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!0,error:Ie,reason:Ie.message});return}const U=(E>>6&3)+1,W=t[n+3]>>6&3|(E&1)<<2,N="mp4a.40."+U,te=m[T];let ce=T;(U===5||U===29)&&(ce-=3);const xe=[U<<3|(ce&14)>>1,(ce&1)<<7|W<<3];return G.log(`manifest codec:${s}, parsed codec:${N}, channels:${W}, rate:${te} (ADTS object type:${U} sampling index:${T})`),{config:xe,samplerate:te,channelCount:W,codec:N,parsedCodec:N,manifestCodec:s}}function Zr(P,t){return P[t]===255&&(P[t+1]&246)===240}function mn(P,t){return P[t+1]&1?7:9}function rn(P,t){return(P[t+3]&3)<<11|P[t+4]<<3|(P[t+5]&224)>>>5}function bn(P,t){return t+5<P.length}function Yn(P,t){return t+1<P.length&&Zr(P,t)}function ti(P,t){return bn(P,t)&&Zr(P,t)&&rn(P,t)<=P.length-t}function xi(P,t){if(Yn(P,t)){const n=mn(P,t);if(t+n>=P.length)return!1;const s=rn(P,t);if(s<=n)return!1;const m=t+s;return m===P.length||Yn(P,m)}return!1}function Ai(P,t,n,s,m){if(!P.samplerate){const E=Mr(t,n,s,m);if(!E)return;y(P,E)}}function Zi(P){return 9216e4/P}function $i(P,t){const n=mn(P,t);if(t+n<=P.length){const s=rn(P,t)-n;if(s>0)return{headerLength:n,frameLength:s}}}function Ei(P,t,n,s,m){const E=Zi(P.samplerate),T=s+m*E,U=$i(t,n);let W;if(U){const{frameLength:ce,headerLength:xe}=U,Ie=xe+ce,Ae=Math.max(0,n+Ie-t.length);Ae?(W=new Uint8Array(Ie-xe),W.set(t.subarray(n+xe,t.length),0)):W=t.subarray(n+xe,n+Ie);const at={unit:W,pts:T};return Ae||P.samples.push(at),{sample:at,length:Ie,missing:Ae}}const N=t.length-n;return W=new Uint8Array(N),W.set(t.subarray(n,t.length),0),{sample:{unit:W,pts:T},length:N,missing:-1}}function ba(P,t){return Mt(P,t)&&Kt(P,t+6)+10<=P.length-t}function Di(P){return P instanceof ArrayBuffer?P:P.byteOffset==0&&P.byteLength==P.buffer.byteLength?P.buffer:new Uint8Array(P).buffer}function hi(P,t=0,n=1/0){return la(P,t,n,Uint8Array)}function la(P,t,n,s){const m=eo(P);let E=1;"BYTES_PER_ELEMENT"in s&&(E=s.BYTES_PER_ELEMENT);const T=Ss(P)?P.byteOffset:0,U=(T+P.byteLength)/E,W=(T+t)/E,N=Math.floor(Math.max(0,Math.min(W,U))),te=Math.floor(Math.min(N+Math.max(n,0),U));return new s(m,N,te-N)}function eo(P){return P instanceof ArrayBuffer?P:P.buffer}function Ss(P){return P&&P.buffer instanceof ArrayBuffer&&P.byteLength!==void 0&&P.byteOffset!==void 0}function Qi(P){const t={key:P.type,description:"",data:"",mimeType:null,pictureType:null},n=3;if(P.size<2)return;if(P.data[0]!==n){console.log("Ignore frame with unrecognized character encoding");return}const s=P.data.subarray(1).indexOf(0);if(s===-1)return;const m=q(hi(P.data,1,s)),E=P.data[2+s],T=P.data.subarray(3+s).indexOf(0);if(T===-1)return;const U=q(hi(P.data,3+s,T));let W;return m==="-->"?W=q(hi(P.data,4+s+T)):W=Di(P.data.subarray(4+s+T)),t.mimeType=m,t.pictureType=E,t.description=U,t.data=W,t}function La(P){if(P.size<2)return;const t=q(P.data,!0),n=new Uint8Array(P.data.subarray(t.length+1));return{key:P.type,info:t,data:n.buffer}}function ta(P){if(P.size<2)return;if(P.type==="TXXX"){let n=1;const s=q(P.data.subarray(n),!0);n+=s.length+1;const m=q(P.data.subarray(n));return{key:P.type,info:s,data:m}}const t=q(P.data.subarray(1));return{key:P.type,info:"",data:t}}function Ri(P){if(P.type==="WXXX"){if(P.size<2)return;let n=1;const s=q(P.data.subarray(n),!0);n+=s.length+1;const m=q(P.data.subarray(n));return{key:P.type,info:s,data:m}}const t=q(P.data);return{key:P.type,info:"",data:t}}function xa(P){return P.type==="PRIV"?La(P):P.type[0]==="W"?Ri(P):P.type==="APIC"?Qi(P):ta(P)}function Ka(P){const t=String.fromCharCode(P[0],P[1],P[2],P[3]),n=Kt(P,4),s=10;return{type:t,size:n,data:P.subarray(s,s+n)}}const Fa=10,io=10;function Ja(P){let t=0;const n=[];for(;Mt(P,t);){const s=Kt(P,t+6);P[t+5]>>6&1&&(t+=Fa),t+=Fa;const m=t+s;for(;t+io<m;){const E=Ka(P.subarray(t)),T=xa(E);T&&n.push(T),t+=E.size+Fa}Qe(P,t)&&(t+=Fa)}return n}function ao(P){return P&&P.key==="PRIV"&&P.info==="com.apple.streaming.transportStreamTimestamp"}function es(P){if(P.data.byteLength===8){const t=new Uint8Array(P.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 js(P){const t=Ja(P);for(let n=0;n<t.length;n++){const s=t[n];if(ao(s))return es(s)}}let ts=function(P){return P.audioId3="org.id3",P.dateRange="com.apple.quicktime.HLS",P.emsg="https://aomedia.org/emsg/ID3",P.misbklv="urn:misb:KLV:bin:1910.1",P}({});function Hi(P="",t=9e4){return{type:P,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class Ba{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=qe(this.cachedData,t),this.cachedData=null);let s=pr(t,0),m=s?s.length:0,E;const T=this._audioTrack,U=this._id3Track,W=s?js(s):void 0,N=t.length;for((this.basePTS===null||this.frameIndex===0&&r(W))&&(this.basePTS=Os(W,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:ts.audioId3,duration:Number.POSITIVE_INFINITY});m<N;){if(this.canParse(t,m)){const te=this.appendFrame(T,t,m);te?(this.frameIndex++,this.lastPTS=te.sample.pts,m+=te.length,E=m):m=N}else ba(t,m)?(s=pr(t,m),U.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:ts.audioId3,duration:Number.POSITIVE_INFINITY}),m+=s.length,E=m):m++;if(m===N&&E!==N){const te=t.slice(E);this.cachedData?this.cachedData=qe(this.cachedData,te):this.cachedData=te}}return{audioTrack:T,videoTrack:Hi(),id3Track:U,textTrack:Hi()}}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:Hi(),id3Track:this._id3Track,textTrack:Hi()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const Os=(P,t,n)=>{if(r(P))return P*90;const s=n?n.baseTime*9e4/n.timescale:0;return t*9e4+s};let ha=null;const ye=[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],we=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Ar=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Jr=[0,1,1,4];function br(P,t,n,s,m){if(n+24>t.length)return;const E=Xr(t,n);if(E&&n+E.frameLength<=t.length){const T=E.samplesPerFrame*9e4/E.sampleRate,U=s+m*T,W={unit:t.subarray(n,n+E.frameLength),pts:U,dts:U};return P.config=[],P.channelCount=E.channelCount,P.samplerate=E.sampleRate,P.samples.push(W),{sample:W,length:E.frameLength,missing:0}}}function Xr(P,t){const n=P[t+1]>>3&3,s=P[t+1]>>1&3,m=P[t+2]>>4&15,E=P[t+2]>>2&3;if(n!==1&&m!==0&&m!==15&&E!==3){const T=P[t+2]>>1&1,U=P[t+3]>>6,W=n===3?3-s:s===3?3:4,N=ye[W*14+m-1]*1e3,ce=we[(n===3?0:n===2?1:2)*3+E],xe=U===3?1:2,Ie=Ar[n][s],Ae=Jr[s],at=Ie*8*Ae,tt=Math.floor(Ie*N/ce+T)*Ae;if(ha===null){const sr=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);ha=sr?parseInt(sr[1]):0}return!!ha&&ha<=87&&s===2&&N>=224e3&&U===0&&(P[t+3]=P[t+3]|128),{sampleRate:ce,channelCount:xe,frameLength:tt,samplesPerFrame:at}}}function wn(P,t){return P[t]===255&&(P[t+1]&224)===224&&(P[t+1]&6)!==0}function Jn(P,t){return t+1<P.length&&wn(P,t)}function Mi(P,t){return wn(P,t)&&4<=P.length-t}function On(P,t){if(t+1<P.length&&wn(P,t)){const s=Xr(P,t);let m=4;s!=null&&s.frameLength&&(m=s.frameLength);const E=t+m;return E===P.length||Jn(P,E)}return!1}class kn extends Ba{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=pr(t,0);let m=(s==null?void 0:s.length)||0;if(On(t,m))return!1;for(let E=t.length;m<E;m++)if(xi(t,m))return n.log("ADTS sync word found !"),!0;return!1}canParse(t,n){return ti(t,n)}appendFrame(t,n,s){Ai(t,this.observer,n,s,t.manifestCodec);const m=Ei(t,n,s,this.basePTS,this.frameIndex);if(m&&m.missing===0)return m}}const Bn=(P,t)=>{let n=0,s=5;t+=s;const m=new Uint32Array(1),E=new Uint32Array(1),T=new Uint8Array(1);for(;s>0;){T[0]=P[t];const U=Math.min(s,8),W=8-U;E[0]=4278190080>>>24+W<<W,m[0]=(T[0]&E[0])>>W,n=n?n<<U|m[0]:m[0],t+=1,s-=U}return n};class ca extends Ba{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=Wi(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=pr(t,0);if(!n)return!1;const s=n.length;return t[s]===11&&t[s+1]===119&&js(n)!==void 0&&Bn(t,s)<16}}function Wi(P,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],W=t[n+4]&63,te=[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][W*3+E]*2;if(n+te>t.length)return-1;const ce=t[n+6]>>5;let xe=0;ce===2?xe+=2:(ce&1&&ce!==1&&(xe+=2),ce&4&&(xe+=2));const Ie=(t[n+6]<<8|t[n+7])>>12-xe&1,at=[2,1,2,3,3,4,4,5][ce]+Ie,tt=t[n+5]>>3,kt=t[n+5]&7,fr=new Uint8Array([E<<6|tt<<1|kt>>2,(kt&3)<<6|ce<<3|Ie<<2|W>>4,W<<4&224]),sr=1536/U*9e4,kr=s+m*sr,zr=t.subarray(n,n+te);return P.config=fr,P.channelCount=at,P.samplerate=U,P.samples.push({unit:zr,pts:kr}),te}class vo extends Ba{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=pr(t,0);let s=(n==null?void 0:n.length)||0;if(n&&t[s]===11&&t[s+1]===119&&js(n)!==void 0&&Bn(t,s)<=16)return!1;for(let m=t.length;s<m;s++)if(On(t,s))return G.log("MPEG Audio sync word found !"),!0;return!1}canParse(t,n){return Mi(t,n)}appendFrame(t,n,s){if(this.basePTS!==null)return br(t,n,s,this.basePTS,this.frameIndex)}}const so=/\/emsg[-/]ID3/i;class ru{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=Hi("video",1),T=this.audioTrack=Hi("audio",1),U=this.txtTrack=Hi("text",1);if(this.id3Track=Hi("id3",1),this.timeOffset=0,!(t!=null&&t.byteLength))return;const W=et(t);if(W.video){const{id:N,timescale:te,codec:ce,supplemental:xe}=W.video;E.id=N,E.timescale=U.timescale=te,E.codec=ce,E.supplemental=xe}if(W.audio){const{id:N,timescale:te,codec:ce}=W.audio;T.id=N,T.timescale=te,T.codec=ce}U.id=Dt.text,E.sampleDuration=0,E.duration=T.duration=m}resetContiguity(){this.remainderData=null}static probe(t){return ot(t)}demux(t,n){this.timeOffset=n;let s=t;const m=this.videoTrack,E=this.txtTrack;if(this.config.progressive){this.remainderData&&(s=qe(this.remainderData,t));const U=Pe(s);this.remainderData=U.remainder,m.samples=U.valid||new Uint8Array}else m.samples=s;const T=this.extractID3Track(m,n);return E.samples=Yt(n,m),{videoTrack:m,audioTrack:this.audioTrack,id3Track:T,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=Yt(t,n),{videoTrack:n,audioTrack:Hi(),id3Track:m,textTrack:Hi()}}extractID3Track(t,n){const s=this.id3Track;if(t.samples.length){const m=xt(t.samples,["emsg"]);m&&m.forEach(E=>{const T=Xt(E);if(so.test(T.schemeIdUri)){const U=hl(T,n);let W=T.eventDuration===4294967295?Number.POSITIVE_INFINITY:T.eventDuration/T.timeScale;W<=.001&&(W=Number.POSITIVE_INFINITY);const N=T.payload;s.samples.push({data:N,len:N.byteLength,dts:U,pts:U,type:ts.emsg,duration:W})}else if(this.config.enableEmsgKLVMetadata&&T.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const U=hl(T,n);s.samples.push({data:T.payload,len:T.payload.byteLength,dts:U,pts:U,type:ts.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 hl(P,t){return r(P.presentationTime)?P.presentationTime/P.timeScale:t+P.presentationTimeDelta/P.timeScale}class Yu{constructor(t,n,s){this.keyData=void 0,this.decrypter=void 0,this.keyData=s,this.decrypter=new wi(n,{removePKCS7Padding:!1})}decryptBuffer(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer,_n.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),T=E.buffer.slice(E.byteOffset,E.byteOffset+E.length);this.decryptBuffer(T).then(U=>{const W=new Uint8Array(U);m.set(W,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 T=At(E.data),U=this.getAvcEncryptedData(T);this.decryptBuffer(U.buffer).then(W=>{E.data=this.getAvcDecryptedUnit(T,W),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 T=E[s];if(!(T.data.length<=48||T.type!==1&&T.type!==5)&&(this.decryptAvcSample(t,n,s,m,T),!this.decrypter.isSync()))return}}}}class pu{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 T=E,U=[];let W=0,N,te,ce,xe=-1,Ie=0;for(E===-1&&(xe=0,Ie=this.getNALuType(n,0),E=0,W=1);W<m;){if(N=n[W++],!E){E=N?0:1;continue}if(E===1){E=N?0:2;continue}if(!N)E=3;else if(N===1){if(te=W-E-1,xe>=0){const Ae={data:n.subarray(xe,te),type:Ie};U.push(Ae)}else{const Ae=this.getLastNalUnit(t.samples);Ae&&(T&&W<=4-T&&Ae.state&&(Ae.data=Ae.data.subarray(0,Ae.data.byteLength-T)),te>0&&(Ae.data=qe(Ae.data,n.subarray(0,te)),Ae.state=0))}W<m?(ce=this.getNALuType(n,W),xe=W,Ie=ce,E=0):E=-1}else E=0}if(xe>=0&&E>=0){const Ae={data:n.subarray(xe,m),type:Ie,state:E};U.push(Ae)}if(U.length===0){const Ae=this.getLastNalUnit(t.samples);Ae&&(Ae.data=qe(Ae.data,n))}return t.naluState=E,U}}class Tl{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&&G.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 _u extends pu{parsePES(t,n,s,m){const E=this.parseNALu(t,s.data,m);let T=this.VideoSample,U,W=!1;s.data=null,T&&E.length&&!t.audFound&&(this.pushAccessUnit(T,t),T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),E.forEach(N=>{var te,ce;switch(N.type){case 1:{let at=!1;U=!0;const tt=N.data;if(W&&tt.length>4){const kt=this.readSliceType(tt);(kt===2||kt===4||kt===7||kt===9)&&(at=!0)}if(at){var xe;(xe=T)!=null&&xe.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null)}T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.frame=!0,T.key=at;break}case 5:U=!0,(te=T)!=null&&te.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null),T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.key=!0,T.frame=!0;break;case 6:{U=!0,$t(N.data,1,s.pts,n.samples);break}case 7:{var Ie,Ae;U=!0,W=!0;const at=N.data,tt=this.readSPS(at);if(!t.sps||t.width!==tt.width||t.height!==tt.height||((Ie=t.pixelRatio)==null?void 0:Ie[0])!==tt.pixelRatio[0]||((Ae=t.pixelRatio)==null?void 0:Ae[1])!==tt.pixelRatio[1]){t.width=tt.width,t.height=tt.height,t.pixelRatio=tt.pixelRatio,t.sps=[at];const kt=at.subarray(1,4);let fr="avc1.";for(let sr=0;sr<3;sr++){let kr=kt[sr].toString(16);kr.length<2&&(kr="0"+kr),fr+=kr}t.codec=fr}break}case 8:U=!0,t.pps=[N.data];break;case 9:U=!0,t.audFound=!0,(ce=T)!=null&&ce.frame&&(this.pushAccessUnit(T,t),T=null),T||(T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;case 12:U=!0;break;default:U=!1;break}T&&U&&T.units.push(N)}),m&&T&&(this.pushAccessUnit(T,t),this.VideoSample=null)}getNALuType(t,n){return t[n]&31}readSliceType(t){const n=new Tl(t);return n.readUByte(),n.readUEG(),n.readUEG()}skipScalingList(t,n){let s=8,m=8,E;for(let T=0;T<t;T++)m!==0&&(E=n.readEG(),m=(s+E+256)%256),s=m===0?s:m}readSPS(t){const n=new Tl(t);let s=0,m=0,E=0,T=0,U,W,N;const te=n.readUByte.bind(n),ce=n.readBits.bind(n),xe=n.readUEG.bind(n),Ie=n.readBoolean.bind(n),Ae=n.skipBits.bind(n),at=n.skipEG.bind(n),tt=n.skipUEG.bind(n),kt=this.skipScalingList.bind(this);te();const fr=te();if(ce(5),Ae(3),te(),tt(),fr===100||fr===110||fr===122||fr===244||fr===44||fr===83||fr===86||fr===118||fr===128){const en=xe();if(en===3&&Ae(1),tt(),tt(),Ae(1),Ie())for(W=en!==3?8:12,N=0;N<W;N++)Ie()&&(N<6?kt(16,n):kt(64,n))}tt();const sr=xe();if(sr===0)xe();else if(sr===1)for(Ae(1),at(),at(),U=xe(),N=0;N<U;N++)at();tt(),Ae(1);const kr=xe(),zr=xe(),ln=ce(1);ln===0&&Ae(1),Ae(1),Ie()&&(s=xe(),m=xe(),E=xe(),T=xe());let Wr=[1,1];if(Ie()&&Ie())switch(te()){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=[te()<<8|te(),te()<<8|te()];break}}return{width:Math.ceil((kr+1)*16-s*2-m*2),height:(2-ln)*(zr+1)*16-(ln?2:4)*(E+T),pixelRatio:Wr}}}class Ve extends pu{constructor(...t){super(...t),this.initVPS=null}parsePES(t,n,s,m){const E=this.parseNALu(t,s.data,m);let T=this.VideoSample,U,W=!1;s.data=null,T&&E.length&&!t.audFound&&(this.pushAccessUnit(T,t),T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),E.forEach(N=>{var te,ce;switch(N.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:T||(T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),T.frame=!0,U=!0;break;case 16:case 17:case 18:case 21:if(U=!0,W){var xe;(xe=T)!=null&&xe.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null)}T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.key=!0,T.frame=!0;break;case 19:case 20:U=!0,(te=T)!=null&&te.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null),T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.key=!0,T.frame=!0;break;case 39:U=!0,$t(N.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(N.data)),this.initVPS=N.data),t.vps=[N.data];break;case 33:if(U=!0,W=!0,t.vps!==void 0&&t.vps[0]!==this.initVPS&&t.sps!==void 0&&!this.matchSPS(t.sps[0],N.data)&&(this.initVPS=t.vps[0],t.sps=t.pps=void 0),!t.sps){const Ie=this.readSPS(N.data);t.width=Ie.width,t.height=Ie.height,t.pixelRatio=Ie.pixelRatio,t.codec=Ie.codecString,t.sps=[],typeof t.params!="object"&&(t.params={});for(const Ae in Ie.params)t.params[Ae]=Ie.params[Ae]}this.pushParameterSet(t.sps,N.data,t.vps),T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.key=!0;break;case 34:if(U=!0,typeof t.params=="object"){if(!t.pps){t.pps=[];const Ie=this.readPPS(N.data);for(const Ae in Ie)t.params[Ae]=Ie[Ae]}this.pushParameterSet(t.pps,N.data,t.vps)}break;case 35:U=!0,t.audFound=!0,(ce=T)!=null&&ce.frame&&(this.pushAccessUnit(T,t),T=null),T||(T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;default:U=!1;break}T&&U&&T.units.push(N)}),m&&T&&(this.pushAccessUnit(T,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 Tl(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 Tl(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(),T=n.readBits(5),U=n.readUByte(),W=n.readUByte(),N=n.readUByte(),te=n.readUByte(),ce=n.readUByte(),xe=n.readUByte(),Ie=n.readUByte(),Ae=n.readUByte(),at=n.readUByte(),tt=n.readUByte(),kt=n.readUByte(),fr=[],sr=[];for(let Ts=0;Ts<s;Ts++)fr.push(n.readBoolean()),sr.push(n.readBoolean());if(s>0)for(let Ts=s;Ts<8;Ts++)n.readBits(2);for(let Ts=0;Ts<s;Ts++)fr[Ts]&&(n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte()),sr[Ts]&&n.readUByte();n.readUEG();const kr=n.readUEG();kr==3&&n.skipBits(1);const zr=n.readUEG(),ln=n.readUEG(),Wr=n.readBoolean();let en=0,un=0,Kr=0,Un=0;Wr&&(en+=n.readUEG(),un+=n.readUEG(),Kr+=n.readUEG(),Un+=n.readUEG());const pi=n.readUEG(),ua=n.readUEG(),ji=n.readUEG(),Ui=n.readBoolean();for(let Ts=Ui?0:s;Ts<=s;Ts++)n.skipUEG(),n.skipUEG(),n.skipUEG();if(n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.readBoolean()&&n.readBoolean())for(let fu=0;fu<4;fu++)for(let Al=0;Al<(fu===3?2:6);Al++)if(!n.readBoolean())n.readUEG();else{const Ul=Math.min(64,1<<4+(fu<<1));fu>1&&n.readEG();for(let gf=0;gf<Ul;gf++)n.readEG()}n.readBoolean(),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.skipUEG(),n.skipUEG(),n.readBoolean());const ea=n.readUEG();let Xn=0;for(let Ts=0;Ts<ea;Ts++){let fu=!1;if(Ts!==0&&(fu=n.readBoolean()),fu){Ts===ea&&n.readUEG(),n.readBoolean(),n.readUEG();let Al=0;for(let of=0;of<=Xn;of++){const Ul=n.readBoolean();let gf=!1;Ul||(gf=n.readBoolean()),(Ul||gf)&&Al++}Xn=Al}else{const Al=n.readUEG(),of=n.readUEG();Xn=Al+of;for(let Ul=0;Ul<Al;Ul++)n.readUEG(),n.readBoolean();for(let Ul=0;Ul<of;Ul++)n.readUEG(),n.readBoolean()}}if(n.readBoolean()){const Ts=n.readUEG();for(let fu=0;fu<Ts;fu++){for(let Al=0;Al<ji+4;Al++)n.readBits(1);n.readBits(1)}}let Aa=0,Ca=1,as=1,Cs=!0,zs=1,fo=0;n.readBoolean(),n.readBoolean();let Ku=!1;if(n.readBoolean()){if(n.readBoolean()){const yf=n.readUByte(),Yf=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],jf=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];yf>0&&yf<16?(Ca=Yf[yf-1],as=jf[yf-1]):yf===255&&(Ca=n.readBits(16),as=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(),Ku=n.readBoolean(),Ku&&(en+=n.readUEG(),un+=n.readUEG(),Kr+=n.readUEG(),Un+=n.readUEG()),n.readBoolean()&&(zs=n.readBits(32),fo=n.readBits(32),n.readBoolean()&&n.readUEG(),n.readBoolean())){const jf=n.readBoolean(),kf=n.readBoolean();let uf=!1;(jf||kf)&&(uf=n.readBoolean(),uf&&(n.readUByte(),n.readBits(5),n.readBoolean(),n.readBits(5)),n.readBits(4),n.readBits(4),uf&&n.readBits(4),n.readBits(5),n.readBits(5),n.readBits(5));for(let Xf=0;Xf<=s;Xf++){Cs=n.readBoolean();const nd=Cs||n.readBoolean();let Uf=!1;nd?n.readEG():Uf=n.readBoolean();const Gf=Uf?1:n.readUEG()+1;if(jf)for(let Rf=0;Rf<Gf;Rf++)n.readUEG(),n.readUEG(),uf&&(n.readUEG(),n.readUEG()),n.skipBits(1);if(kf)for(let Rf=0;Rf<Gf;Rf++)n.readUEG(),n.readUEG(),uf&&(n.readUEG(),n.readUEG()),n.skipBits(1)}}n.readBoolean()&&(n.readBoolean(),n.readBoolean(),n.readBoolean(),Aa=n.readUEG())}let sf=zr,Kf=ln;if(Wr||Ku){let Ts=1,fu=1;kr===1?Ts=fu=2:kr==2&&(Ts=2),sf=zr-Ts*un-Ts*en,Kf=ln-fu*Un-fu*Kr}const ed=m?["A","B","C"][m]:"",td=U<<24|W<<16|N<<8|te;let Pf=0;for(let Ts=0;Ts<32;Ts++)Pf=(Pf|(td>>Ts&1)<<31-Ts)>>>0;let Wf=Pf.toString(16);return T===1&&Wf==="2"&&(Wf="6"),{codecString:`hvc1.${ed}${T}.${Wf}.${E?"H":"L"}${kt}.B0`,params:{general_tier_flag:E,general_profile_idc:T,general_profile_space:m,general_profile_compatibility_flags:[U,W,N,te],general_constraint_indicator_flags:[ce,xe,Ie,Ae,at,tt],general_level_idc:kt,bit_depth:pi+8,bit_depth_luma_minus8:pi,bit_depth_chroma_minus8:ua,min_spatial_segmentation_idc:Aa,chroma_format_idc:kr,frame_rate:{fixed:Cs,fps:fo/zs}},width:sf,height:Kf,pixelRatio:[Ca,as]}}readPPS(t){const n=new Tl(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 T=1;return E&&m?T=0:E?T=3:m&&(T=2),{parallelismType:T}}matchSPS(t,n){return String.fromCharCode.apply(null,t).substr(3)===String.fromCharCode.apply(null,n).substr(3)}}const H=188;class X{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=X.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(H*5,n-H)+1,m=0;for(;m<s;){let E=!1,T=-1,U=0;for(let W=m;W<n;W+=H)if(t[W]===71&&(n-W===H||t[W+H]===71)){if(U++,T===-1&&(T=W,T!==0&&(s=Math.min(T+H*99,t.length-H)+1)),E||(E=ne(t,W)===0),E&&U>1&&(T===0&&U>2||W+H>s))return T}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:Dt[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=X.createTrack("video"),this._videoTrack.duration=m,this._audioTrack=X.createTrack("audio",m),this._id3Track=X.createTrack("id3"),this._txtTrack=X.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 T=this._videoTrack,U=this._audioTrack,W=this._id3Track,N=this._txtTrack;let te=T.pid,ce=T.pesData,xe=U.pid,Ie=W.pid,Ae=U.pesData,at=W.pesData,tt=null,kt=this.pmtParsed,fr=this._pmtId,sr=t.length;if(this.remainderData&&(t=qe(this.remainderData,t),sr=t.length,this.remainderData=null),sr<H&&!m)return this.remainderData=t,{audioTrack:U,videoTrack:T,id3Track:W,textTrack:N};const kr=Math.max(0,X.syncOffset(t));sr-=(sr-kr)%H,sr<t.byteLength&&!m&&(this.remainderData=new Uint8Array(t.buffer,sr,t.buffer.byteLength-sr));let zr=0;for(let Wr=kr;Wr<sr;Wr+=H)if(t[Wr]===71){const en=!!(t[Wr+1]&64),un=ne(t,Wr),Kr=(t[Wr+3]&48)>>4;let Un;if(Kr>1){if(Un=Wr+5+t[Wr+4],Un===Wr+H)continue}else Un=Wr+4;switch(un){case te:if(en){if(ce&&(E=Nt(ce,this.logger))){if(this.videoParser===null)switch(T.segmentCodec){case"avc":this.videoParser=new _u;break;case"hevc":this.videoParser=new Ve;break}this.videoParser!==null&&this.videoParser.parsePES(T,N,E,!1)}ce={data:[],size:0}}ce&&(ce.data.push(t.subarray(Un,Wr+H)),ce.size+=Wr+H-Un);break;case xe:if(en){if(Ae&&(E=Nt(Ae,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}Ae={data:[],size:0}}Ae&&(Ae.data.push(t.subarray(Un,Wr+H)),Ae.size+=Wr+H-Un);break;case Ie:en&&(at&&(E=Nt(at,this.logger))&&this.parseID3PES(W,E),at={data:[],size:0}),at&&(at.data.push(t.subarray(Un,Wr+H)),at.size+=Wr+H-Un);break;case 0:en&&(Un+=t[Un]+1),fr=this._pmtId=he(t,Un);break;case fr:{en&&(Un+=t[Un]+1);const pi=Ce(t,Un,this.typeSupported,s,this.observer,this.logger);te=pi.videoPid,te>0&&(T.pid=te,T.segmentCodec=pi.segmentVideoCodec),xe=pi.audioPid,xe>0&&(U.pid=xe,U.segmentCodec=pi.segmentAudioCodec),Ie=pi.id3Pid,Ie>0&&(W.pid=Ie),tt!==null&&!kt&&(this.logger.warn(`MPEG-TS PMT found at ${Wr} after unknown PID '${tt}'. Backtracking to sync byte @${kr} to parse all TS packets.`),tt=null,Wr=kr-188),kt=this.pmtParsed=!0;break}case 17:case 8191:break;default:tt=un;break}}else zr++;zr>0&&Ge(this.observer,new Error(`Found ${zr} TS packet/s that do not start with 0x47`),void 0,this.logger),T.pesData=ce,U.pesData=Ae,W.pesData=at;const ln={audioTrack:U,videoTrack:T,id3Track:W,textTrack:N};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,T=s.pesData,U=n.pesData,W=m.pesData;let N;if(T&&(N=Nt(T,this.logger))){if(this.videoParser===null)switch(s.segmentCodec){case"avc":this.videoParser=new _u;break;case"hevc":this.videoParser=new Ve;break}this.videoParser!==null&&(this.videoParser.parsePES(s,E,N,!0),s.pesData=null)}else s.pesData=T;if(U&&(N=Nt(U,this.logger))){switch(n.segmentCodec){case"aac":this.parseAACPES(n,N);break;case"mp3":this.parseMPEGPES(n,N);break;case"ac3":this.parseAC3PES(n,N);break}n.pesData=null}else U!=null&&U.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),n.pesData=U;W&&(N=Nt(W,this.logger))?(this.parseID3PES(m,N),m.pesData=null):m.pesData=W}demuxSampleAes(t,n,s){const m=this.demux(t,s,!0,!this.config.progressive),E=this.sampleAes=new Yu(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 ce=m.missing,xe=m.sample.unit.byteLength;if(ce===-1)E=qe(m.sample.unit,E);else{const Ie=xe-ce;m.sample.unit.set(E.subarray(0,ce),Ie),t.samples.push(m.sample),s=m.missing}}let T,U;for(T=s,U=E.length;T<U-1&&!Yn(E,T);T++);if(T!==s){let ce;const xe=T<U-1;if(xe?ce=`AAC PES did not start with ADTS header,offset:${T}`:ce="No ADTS header found in AAC PES",Ge(this.observer,new Error(ce),xe,this.logger),!xe)return}Ai(t,this.observer,E,T,this.audioCodec);let W;if(n.pts!==void 0)W=n.pts;else if(m){const ce=Zi(t.samplerate);W=m.sample.pts+ce}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let N=0,te;for(;T<U;)if(te=Ei(t,E,T,W,N),T+=te.length,te.missing){this.aacOverFlow=te;break}else for(N++;T<U-1&&!Yn(E,T);T++);}parseMPEGPES(t,n){const s=n.data,m=s.length;let E=0,T=0;const U=n.pts;if(U===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;T<m;)if(Jn(s,T)){const W=br(t,s,T,U,E);if(W)T+=W.length,E++;else break}else T++}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 T=0,U=0,W;for(;U<E&&(W=Wi(t,s,U,m,T++))>0;)U+=W}}parseID3PES(t,n){if(n.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const s=y({},n,{type:this._videoTrack?ts.emsg:ts.audioId3,duration:Number.POSITIVE_INFINITY});t.samples.push(s)}}function ne(P,t){return((P[t+1]&31)<<8)+P[t+2]}function he(P,t){return(P[t+10]&31)<<8|P[t+11]}function Ce(P,t,n,s,m,E){const T={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},U=(P[t+1]&15)<<8|P[t+2],W=t+3+U-4,N=(P[t+10]&15)<<8|P[t+11];for(t+=12+N;t<W;){const te=ne(P,t),ce=(P[t+3]&15)<<8|P[t+4];switch(P[t]){case 207:if(!s){Tt("ADTS AAC",E);break}case 15:T.audioPid===-1&&(T.audioPid=te);break;case 21:T.id3Pid===-1&&(T.id3Pid=te);break;case 219:if(!s){Tt("H.264",E);break}case 27:T.videoPid===-1&&(T.videoPid=te);break;case 3:case 4:!n.mpeg&&!n.mp3?E.log("MPEG audio found, not supported in this browser"):T.audioPid===-1&&(T.audioPid=te,T.segmentAudioCodec="mp3");break;case 193:if(!s){Tt("AC-3",E);break}case 129:n.ac3?T.audioPid===-1&&(T.audioPid=te,T.segmentAudioCodec="ac3"):E.log("AC-3 audio found, not supported in this browser");break;case 6:if(T.audioPid===-1&&ce>0){let xe=t+5,Ie=ce;for(;Ie>2;){switch(P[xe]){case 106:n.ac3!==!0?E.log("AC-3 audio found, not supported in this browser for now"):(T.audioPid=te,T.segmentAudioCodec="ac3");break}const at=P[xe+1]+2;xe+=at,Ie-=at}}break;case 194:case 135:return Ge(m,new Error("Unsupported EC-3 in M2TS found"),void 0,E),T;case 36:T.videoPid===-1&&(T.videoPid=te,T.segmentVideoCodec="hevc",E.log("HEVC in M2TS found"));break}t+=ce+5}return T}function Ge(P,t,n,s){s.warn(`parsing error: ${t.message}`),P.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,levelRetry:n,error:t,reason:t.message})}function Tt(P,t){t.log(`${P} with AES-128-CBC encryption found in unencrypted stream`)}function Nt(P,t){let n=0,s,m,E,T,U;const W=P.data;if(!P||P.size===0)return null;for(;W[0].length<19&&W.length>1;)W[0]=qe(W[0],W[1]),W.splice(1,1);if(s=W[0],(s[0]<<16)+(s[1]<<8)+s[2]===1){if(m=(s[4]<<8)+s[5],m&&m>P.size-6)return null;const te=s[7];te&192&&(T=(s[9]&14)*536870912+(s[10]&255)*4194304+(s[11]&254)*16384+(s[12]&255)*128+(s[13]&254)/2,te&64?(U=(s[14]&14)*536870912+(s[15]&255)*4194304+(s[16]&254)*16384+(s[17]&255)*128+(s[18]&254)/2,T-U>54e5&&(t.warn(`${Math.round((T-U)/9e4)}s delta between PTS and DTS, align them`),T=U)):U=T),E=s[8];let ce=E+9;if(P.size<=ce)return null;P.size-=ce;const xe=new Uint8Array(P.size);for(let Ie=0,Ae=W.length;Ie<Ae;Ie++){s=W[Ie];let at=s.byteLength;if(ce)if(ce>at){ce-=at;continue}else s=s.subarray(ce),at-=ce,ce=0;xe.set(s,n),n+=at}return m&&(m-=E+3),{data:xe,pts:T,dts:U,len:m}}return null}class ar{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 Er=Math.pow(2,32)-1;class zt{static init(){zt.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 zt.types)zt.types.hasOwnProperty(t)&&(zt.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]);zt.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]);zt.STTS=zt.STSC=zt.STCO=E,zt.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),zt.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),zt.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),zt.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const T=new Uint8Array([105,115,111,109]),U=new Uint8Array([97,118,99,49]),W=new Uint8Array([0,0,0,1]);zt.FTYP=zt.box(zt.types.ftyp,T,W,T,U),zt.DINF=zt.box(zt.types.dinf,zt.box(zt.types.dref,m))}static box(t,...n){let s=8,m=n.length;const E=m;for(;m--;)s+=n[m].byteLength;const T=new Uint8Array(s);for(T[0]=s>>24&255,T[1]=s>>16&255,T[2]=s>>8&255,T[3]=s&255,T.set(t,4),m=0,s=8;m<E;m++)T.set(n[m],s),s+=n[m].byteLength;return T}static hdlr(t){return zt.box(zt.types.hdlr,zt.HDLR_TYPES[t])}static mdat(t){return zt.box(zt.types.mdat,t)}static mdhd(t,n){n*=t;const s=Math.floor(n/(Er+1)),m=Math.floor(n%(Er+1));return zt.box(zt.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 zt.box(zt.types.mdia,zt.mdhd(t.timescale||0,t.duration||0),zt.hdlr(t.type),zt.minf(t))}static mfhd(t){return zt.box(zt.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"?zt.box(zt.types.minf,zt.box(zt.types.smhd,zt.SMHD),zt.DINF,zt.stbl(t)):zt.box(zt.types.minf,zt.box(zt.types.vmhd,zt.VMHD),zt.DINF,zt.stbl(t))}static moof(t,n,s){return zt.box(zt.types.moof,zt.mfhd(t),zt.traf(s,n))}static moov(t){let n=t.length;const s=[];for(;n--;)s[n]=zt.trak(t[n]);return zt.box.apply(null,[zt.types.moov,zt.mvhd(t[0].timescale||0,t[0].duration||0)].concat(s).concat(zt.mvex(t)))}static mvex(t){let n=t.length;const s=[];for(;n--;)s[n]=zt.trex(t[n]);return zt.box.apply(null,[zt.types.mvex,...s])}static mvhd(t,n){n*=t;const s=Math.floor(n/(Er+1)),m=Math.floor(n%(Er+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 zt.box(zt.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 zt.box(zt.types.sdtp,s)}static stbl(t){return zt.box(zt.types.stbl,zt.stsd(t),zt.box(zt.types.stts,zt.STTS),zt.box(zt.types.stsc,zt.STSC),zt.box(zt.types.stsz,zt.STSZ),zt.box(zt.types.stco,zt.STCO))}static avc1(t){let n=[],s=[],m,E,T;for(m=0;m<t.sps.length;m++)E=t.sps[m],T=E.byteLength,n.push(T>>>8&255),n.push(T&255),n=n.concat(Array.prototype.slice.call(E));for(m=0;m<t.pps.length;m++)E=t.pps[m],T=E.byteLength,s.push(T>>>8&255),s.push(T&255),s=s.concat(Array.prototype.slice.call(E));const U=zt.box(zt.types.avcC,new Uint8Array([1,n[3],n[4],n[5],255,224|t.sps.length].concat(n).concat([t.pps.length]).concat(s))),W=t.width,N=t.height,te=t.pixelRatio[0],ce=t.pixelRatio[1];return zt.box(zt.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,W>>8&255,W&255,N>>8&255,N&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,zt.box(zt.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),zt.box(zt.types.pasp,new Uint8Array([te>>24,te>>16&255,te>>8&255,te&255,ce>>24,ce>>16&255,ce>>8&255,ce&255])))}static esds(t){const n=t.config;return new Uint8Array([0,0,0,0,3,25,0,1,0,4,17,64,21,0,0,0,0,0,0,0,0,0,0,0,5,2,...n,6,1,2])}static audioStsd(t){const n=t.samplerate||0;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t.channelCount||0,0,16,0,0,0,0,n>>8&255,n&255,0,0])}static mp4a(t){return zt.box(zt.types.mp4a,zt.audioStsd(t),zt.box(zt.types.esds,zt.esds(t)))}static mp3(t){return zt.box(zt.types[".mp3"],zt.audioStsd(t))}static ac3(t){return zt.box(zt.types["ac-3"],zt.audioStsd(t),zt.box(zt.types.dac3,t.config))}static stsd(t){const{segmentCodec:n}=t;if(t.type==="audio"){if(n==="aac")return zt.box(zt.types.stsd,zt.STSD,zt.mp4a(t));if(n==="ac3"&&t.config)return zt.box(zt.types.stsd,zt.STSD,zt.ac3(t));if(n==="mp3"&&t.codec==="mp3")return zt.box(zt.types.stsd,zt.STSD,zt.mp3(t))}else if(t.pps&&t.sps){if(n==="avc")return zt.box(zt.types.stsd,zt.STSD,zt.avc1(t));if(n==="hevc"&&t.vps)return zt.box(zt.types.stsd,zt.STSD,zt.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,T=Math.floor(s/(Er+1)),U=Math.floor(s%(Er+1));return zt.box(zt.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,T>>24,T>>16&255,T>>8&255,T&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=zt.sdtp(t),m=t.id,E=Math.floor(n/(Er+1)),T=Math.floor(n%(Er+1));return zt.box(zt.types.traf,zt.box(zt.types.tfhd,new Uint8Array([0,0,0,0,m>>24,m>>16&255,m>>8&255,m&255])),zt.box(zt.types.tfdt,new Uint8Array([1,0,0,0,E>>24,E>>16&255,E>>8&255,E&255,T>>24,T>>16&255,T>>8&255,T&255])),zt.trun(t,s.length+16+20+8+16+8+8),s)}static trak(t){return t.duration=t.duration||4294967295,zt.box(zt.types.trak,zt.tkhd(t),zt.mdia(t))}static trex(t){const n=t.id;return zt.box(zt.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,T=new Uint8Array(E);let U,W,N,te,ce,xe;for(n+=8+E,T.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++)W=s[U],N=W.duration,te=W.size,ce=W.flags,xe=W.cts,T.set([N>>>24&255,N>>>16&255,N>>>8&255,N&255,te>>>24&255,te>>>16&255,te>>>8&255,te&255,ce.isLeading<<2|ce.dependsOn,ce.isDependedOn<<6|ce.hasRedundancy<<4|ce.paddingValue<<1|ce.isNonSync,ce.degradPrio&61440,ce.degradPrio&15,xe>>>24&255,xe>>>16&255,xe>>>8&255,xe&255],12+16*U);return zt.box(zt.types.trun,T)}static initSegment(t){zt.types||zt.init();const n=zt.moov(t);return qe(zt.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 T=E.length;for(let Ae=0;Ae<s.length;Ae+=1){T+=3;for(let at=0;at<s[Ae].length;at+=1)T+=2+s[Ae][at].length}const U=new Uint8Array(T);U.set(E,0),T=E.length;const W=s.length-1;for(let Ae=0;Ae<s.length;Ae+=1){U.set(new Uint8Array([32+Ae|(Ae===W?128:0),0,s[Ae].length]),T),T+=3;for(let at=0;at<s[Ae].length;at+=1)U.set(new Uint8Array([s[Ae][at].length>>8,s[Ae][at].length&255]),T),T+=2,U.set(s[Ae][at],T),T+=s[Ae][at].length}const N=zt.box(zt.types.hvcC,U),te=t.width,ce=t.height,xe=t.pixelRatio[0],Ie=t.pixelRatio[1];return zt.box(zt.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,te>>8&255,te&255,ce>>8&255,ce&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),N,zt.box(zt.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),zt.box(zt.types.pasp,new Uint8Array([xe>>24,xe>>16&255,xe>>8&255,xe&255,Ie>>24,Ie>>16&255,Ie>>8&255,Ie&255])))}}zt.types=void 0,zt.HDLR_TYPES=void 0,zt.STTS=void 0,zt.STSC=void 0,zt.STCO=void 0,zt.STSZ=void 0,zt.VMHD=void 0,zt.SMHD=void 0,zt.STSD=void 0,zt.FTYP=void 0,zt.DINF=void 0;const an=9e4;function xn(P,t,n=1,s=!1){const m=P*t*n;return s?Math.round(m):m}function jn(P,t,n=1,s=!1){return xn(P,t,1/n,s)}function Zn(P,t=!1){return xn(P,1e3,1/an,t)}function Ci(P,t=1){return xn(P,an,1/t)}const pa=10*1e3,sa=1024,fa=1152,us=1536;let za=null,hs=null;function rs(P,t,n,s){return{duration:t,size:n,cts:s,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:P?2:1,isNonSync:P?0:1}}}class Ea{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,za===null){const T=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);za=T?parseInt(T[1]):0}if(hs===null){const E=navigator.userAgent.match(/Safari\/(\d+)/i);hs=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,T)=>{let U=T.pts,W=U-E;return W<-4294967296&&(n=!0,U=Za(U,s),W=U-E),W>0?E:U},s);return n&&this.logger.debug("PTS rollover detected"),m}remux(t,n,s,m,E,T,U,W){let N,te,ce,xe,Ie,Ae,at=E,tt=E;const kt=t.pid>-1,fr=n.pid>-1,sr=n.samples.length,kr=t.samples.length>0,zr=U&&sr>0||sr>1;if((!kt||kr)&&(!fr||zr)||this.ISGenerated||U){if(this.ISGenerated){var Wr,en,un,Kr;const ji=this.videoTrackConfig;(ji&&(n.width!==ji.width||n.height!==ji.height||((Wr=n.pixelRatio)==null?void 0:Wr[0])!==((en=ji.pixelRatio)==null?void 0:en[0])||((un=n.pixelRatio)==null?void 0:un[1])!==((Kr=ji.pixelRatio)==null?void 0:Kr[1]))||!ji&&zr||this.nextAudioPts===null&&kr)&&this.resetInitSegment()}this.ISGenerated||(ce=this.generateIS(t,n,E,T));const Un=this.isVideoContiguous;let pi=-1,ua;if(zr&&(pi=ks(n.samples),!Un&&this.config.forceKeyFrameOnDiscontinuity))if(Ae=!0,pi>0){this.logger.warn(`[mp4-remuxer]: Dropped ${pi} out of ${sr} video samples due to a missing keyframe`);const ji=this.getVideoStartPts(n.samples);n.samples=n.samples.slice(pi),n.dropped+=pi,tt+=(n.samples[0].pts-ji)/n.inputTimeScale,ua=tt}else pi===-1&&(this.logger.warn(`[mp4-remuxer]: No keyframe found out of ${sr} video samples`),Ae=!1);if(this.ISGenerated){if(kr&&zr){const ji=this.getVideoStartPts(n.samples),fi=(Za(t.samples[0].pts,ji)-ji)/n.inputTimeScale;at+=Math.max(0,fi),tt+=Math.max(0,-fi)}if(kr){if(t.samplerate||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),ce=this.generateIS(t,n,E,T)),te=this.remuxAudio(t,at,this.isAudioContiguous,T,fr||zr||W===u.AUDIO?tt:void 0),zr){const ji=te?te.endPTS-te.startPTS:0;n.inputTimeScale||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),ce=this.generateIS(t,n,E,T)),N=this.remuxVideo(n,tt,Un,ji)}}else zr&&(N=this.remuxVideo(n,tt,Un,0));N&&(N.firstKeyFrame=pi,N.independent=pi!==-1,N.firstKeyFramePTS=ua)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(s.samples.length&&(Ie=vi(s,E,this._initPTS,this._initDTS)),m.samples.length&&(xe=oo(m,E,this._initPTS))),{audio:te,video:N,initSegment:ce,independent:Ae,text:xe,id3:Ie}}generateIS(t,n,s,m){const E=t.samples,T=n.samples,U=this.typeSupported,W={},N=this._initPTS;let te=!N||m,ce="audio/mp4",xe,Ie,Ae,at;if(te&&(xe=Ie=1/0),t.config&&E.length){switch(t.timescale=t.samplerate,t.segmentCodec){case"mp3":U.mpeg?(ce="audio/mpeg",t.codec=""):U.mp3&&(t.codec="mp3");break;case"ac3":t.codec="ac-3";break}W.audio={id:"audio",container:ce,codec:t.codec,initSegment:t.segmentCodec==="mp3"&&U.mpeg?new Uint8Array(0):zt.initSegment([t]),metadata:{channelCount:t.channelCount}},te&&(at=t.id,Ae=t.inputTimeScale,!N||Ae!==N.timescale?xe=Ie=E[0].pts-Math.round(Ae*s):te=!1)}if(n.sps&&n.pps&&T.length){if(n.timescale=n.inputTimeScale,W.video={id:"main",container:"video/mp4",codec:n.codec,initSegment:zt.initSegment([n]),metadata:{width:n.width,height:n.height}},te)if(at=n.id,Ae=n.inputTimeScale,!N||Ae!==N.timescale){const tt=this.getVideoStartPts(T),kt=Math.round(Ae*s);Ie=Math.min(Ie,Za(T[0].dts,tt)-kt),xe=Math.min(xe,tt-kt)}else te=!1;this.videoTrackConfig={width:n.width,height:n.height,pixelRatio:n.pixelRatio}}if(Object.keys(W).length)return this.ISGenerated=!0,te?(this._initPTS={baseTime:xe,timescale:Ae},this._initDTS={baseTime:Ie,timescale:Ae}):xe=Ae=void 0,{tracks:W,initPTS:xe,timescale:Ae,trackId:at}}remuxVideo(t,n,s,m){const E=t.inputTimeScale,T=t.samples,U=[],W=T.length,N=this._initPTS;let te=this.nextAvcDts,ce=8,xe=this.videoSampleDuration,Ie,Ae,at=Number.POSITIVE_INFINITY,tt=Number.NEGATIVE_INFINITY,kt=!1;if(!s||te===null){const Xn=n*E,ri=T[0].pts-Za(T[0].dts,T[0].pts);za&&te!==null&&Math.abs(Xn-ri-te)<15e3?s=!0:te=Xn-ri}const fr=N.baseTime*E/N.timescale;for(let Xn=0;Xn<W;Xn++){const ri=T[Xn];ri.pts=Za(ri.pts-fr,te),ri.dts=Za(ri.dts-fr,te),ri.dts<T[Xn>0?Xn-1:Xn].dts&&(kt=!0)}kt&&T.sort(function(Xn,ri){const Aa=Xn.dts-ri.dts,Ca=Xn.pts-ri.pts;return Aa||Ca}),Ie=T[0].dts,Ae=T[T.length-1].dts;const sr=Ae-Ie,kr=sr?Math.round(sr/(W-1)):xe||t.inputTimeScale/30;if(s){const Xn=Ie-te,ri=Xn>kr,Aa=Xn<-1;if((ri||Aa)&&(ri?this.logger.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Zn(Xn,!0)} ms (${Xn}dts) hole between fragments detected at ${n.toFixed(3)}`):this.logger.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Zn(-Xn,!0)} ms (${Xn}dts) overlapping between fragments detected at ${n.toFixed(3)}`),!Aa||te>=T[0].pts||za)){Ie=te;const Ca=T[0].pts-Xn;if(ri)T[0].dts=Ie,T[0].pts=Ca;else{let as=!0;for(let Cs=0;Cs<T.length&&!(T[Cs].dts>Ca&&as);Cs++){const zs=T[Cs].pts;if(T[Cs].dts-=Xn,T[Cs].pts-=Xn,Cs<T.length-1){const fo=T[Cs+1].pts,Ku=T[Cs].pts,dl=fo<=Ku,sf=fo<=zs;as=dl==sf}}}this.logger.log(`Video: Initial PTS/DTS adjusted: ${Zn(Ca,!0)}/${Zn(Ie,!0)}, delta: ${Zn(Xn,!0)} ms`)}}Ie=Math.max(0,Ie);let zr=0,ln=0,Wr=Ie;for(let Xn=0;Xn<W;Xn++){const ri=T[Xn],Aa=ri.units,Ca=Aa.length;let as=0;for(let Cs=0;Cs<Ca;Cs++)as+=Aa[Cs].data.length;ln+=as,zr+=Ca,ri.length=as,ri.dts<Wr?(ri.dts=Wr,Wr+=kr/4|0||1):Wr=ri.dts,at=Math.min(ri.pts,at),tt=Math.max(ri.pts,tt)}Ae=T[W-1].dts;const en=ln+4*zr+8;let un;try{un=new Uint8Array(en)}catch(Xn){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Xn,bytes:en,reason:`fail allocating video mdat ${en}`});return}const Kr=new DataView(un.buffer);Kr.setUint32(0,en),un.set(zt.types.mdat,4);let Un=!1,pi=Number.POSITIVE_INFINITY,ua=Number.POSITIVE_INFINITY,ji=Number.NEGATIVE_INFINITY,Ui=Number.NEGATIVE_INFINITY;for(let Xn=0;Xn<W;Xn++){const ri=T[Xn],Aa=ri.units;let Ca=0;for(let zs=0,fo=Aa.length;zs<fo;zs++){const Ku=Aa[zs],dl=Ku.data,sf=Ku.data.byteLength;Kr.setUint32(ce,sf),ce+=4,un.set(dl,ce),ce+=sf,Ca+=4+sf}let as;if(Xn<W-1)xe=T[Xn+1].dts-ri.dts,as=T[Xn+1].pts-ri.pts;else{const zs=this.config,fo=Xn>0?ri.dts-T[Xn-1].dts:kr;if(as=Xn>0?ri.pts-T[Xn-1].pts:kr,zs.stretchShortVideoTrack&&this.nextAudioPts!==null){const Ku=Math.floor(zs.maxBufferHole*E),dl=(m?at+m*E:this.nextAudioPts)-ri.pts;dl>Ku?(xe=dl-fo,xe<0?xe=fo:Un=!0,this.logger.log(`[mp4-remuxer]: It is approximately ${dl/90} ms to the next segment; using duration ${xe/90} ms for the last video frame.`)):xe=fo}else xe=fo}const Cs=Math.round(ri.pts-ri.dts);pi=Math.min(pi,xe),ji=Math.max(ji,xe),ua=Math.min(ua,as),Ui=Math.max(Ui,as),U.push(rs(ri.key,xe,Ca,Cs))}if(U.length){if(za){if(za<70){const Xn=U[0].flags;Xn.dependsOn=2,Xn.isNonSync=0}}else if(hs&&Ui-ua<ji-pi&&kr/ji<.025&&U[0].cts===0){this.logger.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let Xn=Ie;for(let ri=0,Aa=U.length;ri<Aa;ri++){const Ca=Xn+U[ri].duration,as=Xn+U[ri].cts;if(ri<Aa-1){const Cs=Ca+U[ri+1].cts;U[ri].duration=Cs-as}else U[ri].duration=ri?U[ri-1].duration:kr;U[ri].cts=0,Xn=Ca}}}xe=Un||!xe?kr:xe,this.nextAvcDts=te=Ae+xe,this.videoSampleDuration=xe,this.isVideoContiguous=!0;const ea={data1:zt.moof(t.sequenceNumber++,Ie,y(t,{samples:U})),data2:un,startPTS:at/E,endPTS:(tt+xe)/E,startDTS:Ie/E,endDTS:te/E,type:"video",hasAudio:!1,hasVideo:!0,nb:U.length,dropped:t.dropped};return t.samples=[],t.dropped=0,ea}getSamplesPerFrame(t){switch(t.segmentCodec){case"mp3":return fa;case"ac3":return us;default:return sa}}remuxAudio(t,n,s,m,E){const T=t.inputTimeScale,U=t.samplerate?t.samplerate:T,W=T/U,N=this.getSamplesPerFrame(t),te=N*W,ce=this._initPTS,xe=t.segmentCodec==="mp3"&&this.typeSupported.mpeg,Ie=[],Ae=E!==void 0;let at=t.samples,tt=xe?0:8,kt=this.nextAudioPts||-1;const fr=n*T,sr=ce.baseTime*T/ce.timescale;if(this.isAudioContiguous=s=s||at.length&&kt>0&&(m&&Math.abs(fr-kt)<9e3||Math.abs(Za(at[0].pts-sr,fr)-kt)<20*te),at.forEach(function(fi){fi.pts=Za(fi.pts-sr,fr)}),!s||kt<0){if(at=at.filter(fi=>fi.pts>=0),!at.length)return;E===0?kt=0:m&&!Ae?kt=Math.max(0,fr):kt=at[0].pts}if(t.segmentCodec==="aac"){const fi=this.config.maxAudioFramesDrift;for(let Vi=0,ea=kt;Vi<at.length;Vi++){const Xn=at[Vi],ri=Xn.pts,Aa=ri-ea,Ca=Math.abs(1e3*Aa/T);if(Aa<=-fi*te&&Ae)Vi===0&&(this.logger.warn(`Audio frame @ ${(ri/T).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*Aa/T)} ms.`),this.nextAudioPts=kt=ea=ri);else if(Aa>=fi*te&&Ca<pa&&Ae){let as=Math.round(Aa/te);ea=ri-as*te,ea<0&&(as--,ea+=te),Vi===0&&(this.nextAudioPts=kt=ea),this.logger.warn(`[mp4-remuxer]: Injecting ${as} audio frame @ ${(ea/T).toFixed(3)}s due to ${Math.round(1e3*Aa/T)} ms gap.`);for(let Cs=0;Cs<as;Cs++){const zs=Math.max(ea,0);let fo=ar.getSilentFrame(t.parsedCodec||t.manifestCodec||t.codec,t.channelCount);fo||(this.logger.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),fo=Xn.unit.subarray()),at.splice(Vi,0,{unit:fo,pts:zs}),ea+=te,Vi++}}Xn.pts=ea,ea+=te}}let kr=null,zr=null,ln,Wr=0,en=at.length;for(;en--;)Wr+=at[en].unit.byteLength;for(let fi=0,Vi=at.length;fi<Vi;fi++){const ea=at[fi],Xn=ea.unit;let ri=ea.pts;if(zr!==null){const Ca=Ie[fi-1];Ca.duration=Math.round((ri-zr)/W)}else if(s&&t.segmentCodec==="aac"&&(ri=kt),kr=ri,Wr>0){Wr+=tt;try{ln=new Uint8Array(Wr)}catch(Ca){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Ca,bytes:Wr,reason:`fail allocating audio mdat ${Wr}`});return}xe||(new DataView(ln.buffer).setUint32(0,Wr),ln.set(zt.types.mdat,4))}else return;ln.set(Xn,tt);const Aa=Xn.byteLength;tt+=Aa,Ie.push(rs(!0,N,Aa,0)),zr=ri}const un=Ie.length;if(!un)return;const Kr=Ie[Ie.length-1];this.nextAudioPts=kt=zr+W*Kr.duration;const Un=xe?new Uint8Array(0):zt.moof(t.sequenceNumber++,kr/W,y({},t,{samples:Ie}));t.samples=[];const pi=kr/T,ua=kt/T,Ui={data1:Un,data2:ln,startPTS:pi,endPTS:ua,startDTS:pi,endDTS:ua,type:"audio",hasAudio:!0,hasVideo:!1,nb:un};return this.isAudioContiguous=!0,Ui}}function Za(P,t){let n;if(t===null)return P;for(t<P?n=-8589934592:n=8589934592;Math.abs(P-t)>4294967296;)P+=n;return P}function ks(P){for(let t=0;t<P.length;t++)if(P[t].key)return t;return-1}function vi(P,t,n,s){const m=P.samples.length;if(!m)return;const E=P.inputTimeScale;for(let U=0;U<m;U++){const W=P.samples[U];W.pts=Za(W.pts-n.baseTime*E/n.timescale,t*E)/E,W.dts=Za(W.dts-s.baseTime*E/s.timescale,t*E)/E}const T=P.samples;return P.samples=[],{samples:T}}function oo(P,t,n){const s=P.samples.length;if(!s)return;const m=P.inputTimeScale;for(let T=0;T<s;T++){const U=P.samples[T];U.pts=Za(U.pts-n.baseTime*m/n.timescale,t*m)/m}P.samples.sort((T,U)=>T.pts-U.pts);const E=P.samples;return P.samples=[],{samples:E}}class Co{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.isVideoContiguous=!1,this.logger=m}destroy(){}resetTimeStamp(t){this.initPTS=t,this.lastEndTime=null}resetNextTimestamp(){this.isVideoContiguous=!1,this.lastEndTime=null}resetInitSegment(t,n,s,m){this.audioCodec=n,this.videoCodec=s,this.generateInitSegment(nt(t,m)),this.emitInitSegment=!0}generateInitSegment(t){let{audioCodec:n,videoCodec:s}=this;if(!(t!=null&&t.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const m=this.initData=et(t);m.audio&&(n=go(m.audio,$.AUDIO,this.logger)),m.video&&(s=go(m.video,$.VIDEO,this.logger));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,T){var U,W;let{initPTS:N,lastEndTime:te}=this;const ce={audio:void 0,video:void 0,text:m,id3:s,initSegment:void 0};r(te)||(te=this.lastEndTime=E||0);const xe=n.samples;if(!(xe!=null&&xe.length))return ce;const Ie={initPTS:void 0,timescale:void 0,trackId:void 0};let Ae=this.initData;if((U=Ae)!=null&&U.length||(this.generateInitSegment(xe),Ae=this.initData),!((W=Ae)!=null&&W.length))return this.logger.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),ce;this.emitInitSegment&&(Ie.tracks=this.initTracks,this.emitInitSegment=!1);const at=Vt(xe,Ae,this.logger),tt=Ae.audio?at[Ae.audio.id]:null,kt=Ae.video?at[Ae.video.id]:null,fr=Mo(kt,1/0),sr=Mo(tt,1/0),kr=Mo(kt,0,!0),zr=Mo(tt,0,!0);let ln,Wr=E,en=0;if(tt&&(!kt||!N&&sr<fr||N&&N.trackId===Ae.audio.id)?(Ie.trackId=Ae.audio.id,ln=tt,en=zr-sr):kt&&(Ie.trackId=Ae.video.id,ln=kt,en=kr-fr),ln){const fi=ln.timescale;Wr=ln.start/fi,Ie.timescale=fi,N||(Ie.initPTS=ln.start-E*fi,this.initPTS=N={baseTime:Ie.initPTS,timescale:fi,trackId:Ie.trackId})}(T||!N)&&(Ms(N,Wr,E,en)||Ie.timescale!==N.timescale)&&(Ie.initPTS=Wr-E,N&&N.timescale===1&&this.logger.warn(`Adjusting initPTS @${E} from ${N.baseTime/N.timescale} to ${Ie.initPTS}`),this.initPTS=N={baseTime:Ie.initPTS,timescale:1});const un=t?Wr-N.baseTime/N.timescale:te;Ht(Ae,xe,N.baseTime/N.timescale);const Kr=un+en;en>0?this.lastEndTime=Kr:(this.logger.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const Un=!!Ae.audio,pi=!!Ae.video;let ua="";Un&&(ua+="audio"),pi&&(ua+="video");const ji={data1:xe,startPTS:un,startDTS:un,endPTS:Kr,endDTS:Kr,type:ua,hasAudio:Un,hasVideo:pi,nb:1,dropped:0};ce.audio=Un&&!pi?ji:void 0,ce.video=pi?ji:void 0;const Ui=kt==null?void 0:kt.sampleCount;if(Ui){const fi=kt.keyFrameIndex,Vi=fi!==-1;ji.nb=Ui,ji.dropped=fi===0||this.isVideoContiguous?0:Vi?fi:Ui,ji.independent=Vi,ji.firstKeyFrame=fi,Vi&&kt.keyFrameStart&&(ji.firstKeyFramePTS=kt.keyFrameStart-N.baseTime/N.timescale),this.isVideoContiguous||(ce.independent=Vi),this.isVideoContiguous||(this.isVideoContiguous=Vi),ji.dropped&&this.logger.warn(`fmp4 does not start with IDR: firstIDR ${fi}/${Ui} dropped: ${ji.dropped} pts: ${ji.firstKeyFramePTS||"NA"}`)}return ce.initSegment=Ie,ce.id3=vi(s,E,N,N),m.samples.length&&(ce.text=oo(m,E,N)),ce}}function Mo(P,t,n=!1){return(P==null?void 0:P.start)!==void 0?(P.start+(n?P.duration:0))/P.timescale:t}function Ms(P,t,n,s){if(P===null)return!0;const m=Math.max(s,1),E=t-P.baseTime/P.timescale;return Math.abs(E-n)>m}function go(P,t,n){const s=P==null?void 0:P.codec;return s&&s.length>4?s:t===$.AUDIO?s==="ec-3"||s==="ac-3"||s==="alac"?s:s==="fLaC"||s==="Opus"?Dr(s,!1):(n.warn(`Unhandled audio codec "${s}" in mp4 MAP`),s||"mp4a"):(n.warn(`Unhandled video codec "${s}" in mp4 MAP`),s||"avc1")}let ps;try{ps=self.performance.now.bind(self.performance)}catch(P){ps=Date.now}const Xu=[{demux:ru,remux:Co},{demux:X,remux:Ea},{demux:kn,remux:Ea},{demux:vo,remux:Ea}];Xu.splice(2,0,{demux:ca,remux:Ea});class ju{constructor(t,n,s,m,E,T){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=T}configure(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()}push(t,n,s,m){const E=s.transmuxing;E.executeStart=ps();let T=new Uint8Array(t);const{currentTransmuxState:U,transmuxConfig:W}=this;m&&(this.currentTransmuxState=m);const{contiguous:N,discontinuity:te,trackSwitch:ce,accurateTimeOffset:xe,timeOffset:Ie,initSegmentChange:Ae}=m||U,{audioCodec:at,videoCodec:tt,defaultInitPts:kt,duration:fr,initSegmentData:sr}=W,kr=Qu(T,n);if(kr&&ja(kr.method)){const en=this.getDecrypter(),un=zi(kr.method);if(en.isSync()){let Kr=en.softwareDecrypt(T,kr.key.buffer,kr.iv.buffer,un);if(s.part>-1){const pi=en.flush();Kr=pi&&pi.buffer}if(!Kr)return E.executeEnd=ps(),uu(s);T=new Uint8Array(Kr)}else return this.asyncResult=!0,this.decryptionPromise=en.webCryptoDecrypt(T,kr.key.buffer,kr.iv.buffer,un).then(Kr=>{const Un=this.push(Kr,null,s);return this.decryptionPromise=null,Un}),this.decryptionPromise}const zr=this.needsProbing(te,ce);if(zr){const en=this.configureTransmuxer(T);if(en)return this.logger.warn(`[transmuxer] ${en.message}`),this.observer.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:en,reason:en.message}),E.executeEnd=ps(),uu(s)}(te||ce||Ae||zr)&&this.resetInitSegment(sr,at,tt,fr,n),(te||Ae||zr)&&this.resetInitialTimestamp(kt),N||this.resetContiguity();const ln=this.transmux(T,kr,Ie,xe,s);this.asyncResult=As(ln);const Wr=this.currentTransmuxState;return Wr.contiguous=!0,Wr.discontinuity=!1,Wr.trackSwitch=!1,E.executeEnd=ps(),ln}flush(t){const n=t.transmuxing;n.executeStart=ps();const{decrypter:s,currentTransmuxState:m,decryptionPromise:E}=this;if(E)return this.asyncResult=!0,E.then(()=>this.flush(t));const T=[],{timeOffset:U}=m;if(s){const ce=s.flush();ce&&T.push(this.push(ce.buffer,null,t))}const{demuxer:W,remuxer:N}=this;if(!W||!N){n.executeEnd=ps();const ce=[uu(t)];return this.asyncResult?Promise.resolve(ce):ce}const te=W.flush(U);return As(te)?(this.asyncResult=!0,te.then(ce=>(this.flushRemux(T,ce,t),T))):(this.flushRemux(T,te,t),this.asyncResult?Promise.resolve(T):T)}flushRemux(t,n,s){const{audioTrack:m,videoTrack:E,id3Track:T,textTrack:U}=n,{accurateTimeOffset:W,timeOffset:N}=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 te=this.remuxer.remux(m,E,T,U,N,W,!0,this.id);t.push({remuxResult:te,chunkMeta:s}),s.transmuxing.executeEnd=ps()}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:T,remuxer:U}=this;!T||!U||(T.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 T;return n&&n.method==="SAMPLE-AES"?T=this.transmuxSampleAes(t,n,s,m,E):T=this.transmuxUnencrypted(t,s,m,E),T}transmuxUnencrypted(t,n,s,m){const{audioTrack:E,videoTrack:T,id3Track:U,textTrack:W}=this.demuxer.demux(t,n,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(E,T,U,W,n,s,!1,this.id),chunkMeta:m}}transmuxSampleAes(t,n,s,m,E){return this.demuxer.demuxSampleAes(t,n,s).then(T=>({remuxResult:this.remuxer.remux(T.audioTrack,T.videoTrack,T.id3Track,T.textTrack,s,m,!1,this.id),chunkMeta:E}))}configureTransmuxer(t){const{config:n,observer:s,typeSupported:m}=this;let E;for(let ce=0,xe=Xu.length;ce<xe;ce++){var T;if((T=Xu[ce].demux)!=null&&T.probe(t,this.logger)){E=Xu[ce];break}}if(!E)return new Error("Failed to find demuxer by probing fragment data");const U=this.demuxer,W=this.remuxer,N=E.remux,te=E.demux;(!W||!(W instanceof N))&&(this.remuxer=new N(s,n,m,this.logger)),(!U||!(U instanceof te))&&(this.demuxer=new te(s,n,m,this.logger),this.probe=te.probe)}needsProbing(t,n){return!this.demuxer||!this.remuxer||t||n}getDecrypter(){let t=this.decrypter;return t||(t=this.decrypter=new wi(this.config)),t}}function Qu(P,t){let n=null;return P.byteLength>0&&(t==null?void 0:t.key)!=null&&t.iv!==null&&t.method!=null&&(n=t),n}const uu=P=>({remuxResult:{},chunkMeta:P});function As(P){return"then"in P&&P.then instanceof Function}class Uu{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 Cu{constructor(t,n,s,m,E,T){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=T}}let yo=0;class pl{constructor(t,n,s,m){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=yo++,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=W=>{const N=W.data,te=this.hls;if(!(!te||!(N!=null&&N.event)||N.instanceNo!==this.instanceNo))switch(N.event){case"init":{var ce;const xe=(ce=this.workerContext)==null?void 0:ce.objectURL;xe&&self.URL.revokeObjectURL(xe);break}case"transmuxComplete":{this.handleTransmuxComplete(N.data);break}case"flush":{this.onFlush(N.data);break}case"workerLog":{te.logger[N.data.logType]&&te.logger[N.data.logType](N.data.message);break}default:{N.data=N.data||{},N.data.frag=this.frag,N.data.part=this.part,N.data.id=this.id,te.trigger(N.event,N.data);break}}},this.onWorkerError=W=>{if(!this.hls)return;const N=new Error(`${W.message} (${W.filename}:${W.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:N})};const E=t.config;this.hls=t,this.id=n,this.useWorker=!!E.enableWorker,this.onTransmuxComplete=s,this.onFlush=m;const T=(W,N)=>{N=N||{},N.frag=this.frag||void 0,W===o.ERROR&&(N=N,N.parent=this.id,N.part=this.part,this.error=N.error),this.hls.trigger(W,N)};this.observer=new ya,this.observer.on(o.FRAG_DECRYPTED,T),this.observer.on(o.ERROR,T);const U=Fr(E.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const W=this.hls.logger;if(E.workerPath||Mn()){try{E.workerPath?(W.log(`loading Web Worker ${E.workerPath} for "${n}"`),this.workerContext=$s(E.workerPath)):(W.log(`injecting Web Worker for "${n}"`),this.workerContext=Ns());const{worker:te}=this.workerContext;te.addEventListener("message",this.onWorkerMessage),te.addEventListener("error",this.onWorkerError),te.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:U,id:n,config:Tn(E)})}catch(te){W.warn(`Error setting up "${n}" Web Worker, fallback to inline`,te),this.terminateWorker(),this.error=null,this.transmuxer=new ju(this.observer,U,E,"",n,t.logger)}return}}this.transmuxer=new ju(this.observer,U,E,"",n,t.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const t=this.instanceNo;this.instanceNo=yo++;const n=this.hls.config,s=Fr(n.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:t,typeSupported:s,id:this.id,config:Tn(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,T,U,W,N,te){var ce,xe;N.transmuxing.start=self.performance.now();const{instanceNo:Ie,transmuxer:Ae}=this,at=T?T.start:E.start,tt=E.decryptdata,kt=this.frag,fr=!(kt&&E.cc===kt.cc),sr=!(kt&&N.level===kt.level),kr=kt?N.sn-kt.sn:-1,zr=this.part?N.part-this.part.index:-1,ln=kr===0&&N.id>1&&N.id===(kt==null?void 0:kt.stats.chunkCount),Wr=!sr&&(kr===1||kr===0&&(zr===1||ln&&zr<=0)),en=self.performance.now();(sr||kr||E.stats.parsing.start===0)&&(E.stats.parsing.start=en),T&&(zr||!Wr)&&(T.stats.parsing.start=en);const un=!(kt&&((ce=E.initSegment)==null?void 0:ce.url)===((xe=kt.initSegment)==null?void 0:xe.url)),Kr=new Cu(fr,Wr,W,sr,at,un);if(!Wr||fr||un){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${E.type} sn: ${N.sn}${N.part>-1?" part: "+N.part:""} ${this.id===u.MAIN?"level":"track"}: ${N.level} id: ${N.id}
|
|
|
discontinuity: ${fr}
|
|
|
trackSwitch: ${sr}
|
|
|
contiguous: ${Wr}
|
|
|
accurateTimeOffset: ${W}
|
|
|
timeOffset: ${at}
|
|
|
initSegmentChange: ${un}`);const Un=new Uu(s,m,n,U,te);this.configureTransmuxer(Un)}if(this.frag=E,this.part=T,this.workerContext)this.workerContext.worker.postMessage({instanceNo:Ie,cmd:"demux",data:t,decryptdata:tt,chunkMeta:N,state:Kr},t instanceof ArrayBuffer?[t]:[]);else if(Ae){const Un=Ae.push(t,tt,N,Kr);As(Un)?Un.then(pi=>{this.handleTransmuxComplete(pi)}).catch(pi=>{this.transmuxerError(pi,N,"transmuxer-interface push error")}):this.handleTransmuxComplete(Un)}}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);As(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 _l=100;class qo extends ga{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 T=n.cc,U=this.fragCurrent;if(this.initPTS[T]={baseTime:m,timescale:E},this.log(`InitPTS for cc: ${T} found from main: ${m}/${E}`),this.mainAnchor=n,this.state===Vr.WAITING_INIT_PTS){const W=this.waitingData;(!W&&!this.loadingParts||W&&W.frag.cc!==T)&&this.syncWithAnchor(n,W==null?void 0:W.frag)}else!this.hls.hasEnoughToStart&&U&&U.cc!==T?(U.abortRequests(),this.syncWithAnchor(n,U)):this.state===Vr.IDLE&&this.tick()}}getLoadPosition(){return!this.startFragRequested&&this.nextLoadPosition>=0?this.nextLoadPosition:super.getLoadPosition()}syncWithAnchor(t,n){var s;const m=((s=this.mainFragLoading)==null?void 0:s.frag)||null;if(n&&(m==null?void 0:m.cc)===n.cc)return;const E=(m||t).cc,T=this.getLevelDetails(),U=this.getLoadPosition(),W=rt(T,E,U);W&&(this.log(`Waiting fragment cc (${n==null?void 0:n.cc}) cancelled because video is at cc ${t.cc}`),this.startFragRequested=!1,this.nextLoadPosition=W.start,this.resetLoadingState(),this.state===Vr.IDLE&&this.doTickIdle())}startLoad(t,n){if(!this.levels){this.startPosition=t,this.state=Vr.STOPPED;return}const s=this.lastCurrentTime;this.stopLoad(),this.setInterval(_l),s>0&&t===-1?(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s,this.state=Vr.IDLE):this.state=Vr.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}doTick(){switch(this.state){case Vr.IDLE:this.doTickIdle();break;case Vr.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=Vr.WAITING_INIT_PTS}break}case Vr.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=Vr.IDLE}break}case Vr.WAITING_INIT_PTS:{const n=this.waitingData;if(n){const{frag:s,part:m,cache:E,complete:T}=n,U=this.mainAnchor;if(this.initPTS[s.cc]!==void 0){this.waitingData=null,this.state=Vr.FRAG_LOADING;const W=E.flush().buffer,N={frag:s,part:m,payload:W,networkDetails:null};this._handleFragmentLoadProgress(N),T&&super._handleFragmentLoadComplete(N)}else U&&U.cc!==n.frag.cc&&this.syncWithAnchor(U,n.frag)}else this.state=Vr.IDLE}}this.onTickEnd()}resetLoadingState(){const t=this.waitingData;t&&(this.fragmentTracker.removeFragment(t.frag),this.waitingData=null),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,T=n.config;if(!this.buffering||!m&&!this.primaryPrefetch&&(this.startFragRequested||!T.startFragPrefetch)||!(s!=null&&s[E]))return;const U=s[E],W=U.details;if(!W||this.waitForLive(U)||this.waitForCdnTuneIn(W)){this.state=Vr.WAITING_TRACK,this.startFragRequested=!1;return}const N=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&N&&(this.bufferFlushed=!1,this.afterBufferFlushed(N,$.AUDIO,u.AUDIO));const te=this.getFwdBufferInfo(N,u.AUDIO);if(te===null)return;if(!this.switchingTrack&&this._streamEnded(te,W)){n.trigger(o.BUFFER_EOS,{type:"audio"}),this.state=Vr.ENDED;return}const ce=te.len,xe=n.maxBufferLength,Ie=W.fragments,Ae=Ie[0].start,at=this.getLoadPosition(),tt=this.flushing?at:te.end;if(this.switchingTrack&&m){const sr=at;W.PTSKnown&&sr<Ae&&(te.end>Ae||te.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),m.currentTime=Ae+.05)}if(ce>=xe&&!this.switchingTrack&&tt<Ie[Ie.length-1].start)return;let kt=this.getNextFragment(tt,W);if(kt&&this.isLoopLoading(kt,tt)&&(kt=this.getNextFragmentLoopLoading(kt,W,te,u.MAIN,xe)),!kt){this.bufferFlushed=!0;return}let fr=((t=this.mainFragLoading)==null?void 0:t.frag)||null;if(!this.audioOnly&&this.startFragRequested&&fr&&_e(kt)&&!kt.endList&&(!W.live||!this.loadingParts&&tt<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(fr)===nr.OK&&(this.mainFragLoading=fr=null),fr&&_e(fr))){if(kt.start>fr.end){const kr=this.fragmentTracker.getFragAtPos(tt,u.MAIN);kr&&kr.end>fr.end&&(fr=kr,this.mainFragLoading={frag:kr,targetBufferTime:null})}if(kt.start>fr.end)return}this.loadFragment(kt,U,tt)}onMediaDetaching(t,n){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(t,n)}onAudioTracksUpdated(t,{audioTracks:n}){this.resetTransmuxer(),this.levels=n.map(s=>new zn(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!==Vr.STOPPED&&(this.setInterval(_l),this.state=Vr.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:T,groupId:U,track:W}=n;if(!m){this.warn(`Audio tracks reset while loading track ${T} "${W.name}" of "${U}"`);return}const N=this.mainDetails;if(!N||E.endCC>N.endCC||N.expired){this.cachedTrackLoadedData=n,this.state!==Vr.STOPPED&&(this.state=Vr.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${T} "${W.name}" of "${U}" loaded [${E.startSN},${E.endSN}]${E.lastPartSn?`[part-${E.lastPartSn}-${E.lastPartIndex}]`:""},duration:${E.totalduration}`);const te=m[T];let ce=0;if(E.live||(s=te.details)!=null&&s.live){if(this.checkLiveUpdate(E),E.deltaUpdateFailed)return;if(te.details){var xe;ce=this.alignPlaylists(E,te.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}E.alignedSliding||(ui(E,N),E.alignedSliding||Xi(E,N),ce=E.fragmentStart)}te.details=E,this.levelLastLoaded=te,this.startFragRequested||this.setStartPosition(N,ce),this.hls.trigger(o.AUDIO_TRACK_UPDATED,{details:E,id:T,groupId:n.groupId}),this.state===Vr.WAITING_TRACK&&!this.waitForCdnTuneIn(E)&&(this.state=Vr.IDLE),this.tick()}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:E}=t,{config:T,trackId:U,levels:W}=this;if(!W){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 N=W[U];if(!N){this.warn("Audio track is undefined on fragment load progress");return}const te=N.details;if(!te){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(s.start);return}const ce=T.defaultAudioCodec||N.audioCodec||"mp4a.40.2";let xe=this.transmuxer;xe||(xe=this.transmuxer=new pl(this.hls,u.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const Ie=this.initPTS[s.cc],Ae=(n=s.initSegment)==null?void 0:n.data;if(Ie!==void 0){const tt=m?m.index:-1,kt=tt!==-1,fr=new fs(s.level,s.sn,s.stats.chunkCount,E.byteLength,tt,kt);xe.push(E,Ae,ce,"",s,m,te.totalduration,!1,fr,Ie)}else{this.log(`Unknown video PTS for cc ${s.cc}, waiting for video PTS before demuxing audio frag ${s.sn} of [${te.startSN} ,${te.endSN}],track ${U}`);const{cache:at}=this.waitingData=this.waitingData||{frag:s,part:m,cache:new aa,complete:!1};at.push(new Uint8Array(E)),this.state!==Vr.STOPPED&&(this.state=Vr.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&&_e(n.frag)&&(this.mainFragLoading=n,this.state===Vr.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(_e(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=Vr.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===Vr.WAITING_TRACK&&((s=n.context)==null?void 0:s.type)===h.AUDIO_TRACK&&(this.state=Vr.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!==$.VIDEO&&(this.flushing=!0)}onBufferFlushed(t,{type:n}){if(n!==$.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===Vr.ENDED&&(this.state=Vr.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:T}=t,U=this.getCurrentContext(T);if(!U){this.resetWhenMissingContext(T);return}const{frag:W,part:N,level:te}=U,{details:ce}=te,{audio:xe,text:Ie,id3:Ae,initSegment:at}=E;if(this.fragContextChanged(W)||!ce){this.fragmentTracker.removeFragment(W);return}if(this.state=Vr.PARSING,this.switchingTrack&&xe&&this.completeAudioSwitch(this.switchingTrack),at!=null&&at.tracks){const tt=W.initSegment||W;this._bufferInitSegment(te,at.tracks,tt,T),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:tt,id:s,tracks:at.tracks})}if(xe){const{startPTS:tt,endPTS:kt,startDTS:fr,endDTS:sr}=xe;N&&(N.elementaryStreams[$.AUDIO]={startPTS:tt,endPTS:kt,startDTS:fr,endDTS:sr}),W.setElementaryStreamInfo($.AUDIO,tt,kt,fr,sr),this.bufferFragmentData(xe,W,N,T)}if(Ae!=null&&(n=Ae.samples)!=null&&n.length){const tt=y({id:s,frag:W,details:ce},Ae);m.trigger(o.FRAG_PARSING_METADATA,tt)}if(Ie){const tt=y({id:s,frag:W,details:ce},Ie);m.trigger(o.FRAG_PARSING_USERDATA,tt)}}_bufferInitSegment(t,n,s,m){if(this.state!==Vr.PARSING||(n.video&&delete n.video,n.audiovideo&&delete n.audiovideo,!n.audio))return;const E=n.audio;E.id=u.AUDIO;const T=t.audioCodec;this.log(`Init audio buffer, container:${E.container}, codecs[level/parsed]=[${T}/${E.codec}]`),T&&T.split(",").length===1&&(E.levelCodec=T),this.hls.trigger(o.BUFFER_CODECS,n);const U=E.initSegment;if(U!=null&&U.byteLength){const W={type:"audio",frag:s,part:null,chunkMeta:m,parent:s.type,data:U};this.hls.trigger(o.BUFFER_APPENDING,W)}this.tickImmediate()}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);if(this.switchingTrack||m===nr.NOT_LOADED||m===nr.PARTIAL){var E;if(!_e(t))this._loadInitSegment(t,n);else if((E=n.details)!=null&&E.live&&!this.initPTS[t.cc]){this.log(`Waiting for video PTS in continuity counter ${t.cc} of live stream before loading audio fragment ${t.sn} of level ${this.trackId}`),this.state=Vr.WAITING_INIT_PTS;const T=this.mainDetails;T&&T.fragmentStart!==n.details.fragmentStart&&Xi(n.details,T)}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:T,channels:U}=this.bufferedTrack;na({name:n,lang:s,assocLang:m,characteristics:E,audioCodec:T,channels:U},t,bt)||(yi(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 ml extends R{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 T=0;T<m.length;T++){const U=m[T];let W;try{W=new self.URL(U.URI,n.url).href}catch(N){this.warn(`Could not construct new URL for Rendition Report: ${N}`),W=U.URI||""}if(W===t){E=T;break}else W===t.substring(0,W.length)&&(E=T)}if(E!==-1){const T=m[E],U=parseInt(T["LAST-MSN"])||(n==null?void 0:n.lastPartSn);let W=parseInt(T["LAST-PART"])||(n==null?void 0:n.lastPartIndex);if(this.hls.config.lowLatencyMode){const te=Math.min(n.age-n.partTarget,n.targetduration);W>=0&&te>n.partTarget&&(W+=1)}const N=s&&Br(s);return new gn(U,W>=0?W:void 0,N)}}}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,T=self.performance.now(),U=E.loading.first?Math.max(0,T-E.loading.first):0;m.advancedDateTime=Date.now()-U;const W=this.hls.config.timelineOffset;if(W!==m.appliedTimelineOffset){const te=Math.max(W||0,0);m.appliedTimelineOffset=te,m.fragments.forEach(ce=>{ce.start=ce.playlistOffset+te})}if(m.live||s!=null&&s.live){const te="levelInfo"in n?n.levelInfo:n.track;if(m.reloaded(s),s&&m.fragments.length>0){hr(s,m);const fr=m.playlistParsingError;if(fr){this.warn(fr);const sr=this.hls;if(!sr.config.ignorePlaylistParsingErrors){var N;const{networkDetails:kr}=n;sr.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:m.url,error:fr,reason:fr.message,level:n.level||void 0,parent:(N=m.fragments[0])==null?void 0:N.type,networkDetails:kr,stats:E});return}m.playlistParsingError=null}}m.requestScheduled===-1&&(m.requestScheduled=E.loading.start);const ce=this.hls.mainForwardBufferInfo,xe=ce?ce.end-ce.len:0,Ie=(m.edge-xe)*1e3,Ae=Ln(m,Ie);if(m.requestScheduled+Ae<T?m.requestScheduled=T:m.requestScheduled+=Ae,this.log(`live playlist ${t} ${m.advanced?"REFRESHED "+m.lastPartSn+"-"+m.lastPartIndex:m.updated?"UPDATED":"MISSED"}`),!this.canLoad||!m.live)return;let at,tt,kt;if(m.canBlockReload&&m.endSN&&m.advanced){const fr=this.hls.config.lowLatencyMode,sr=m.lastPartSn,kr=m.endSN,zr=m.lastPartIndex,ln=zr!==-1,Wr=sr===kr;ln?Wr?(tt=kr+1,kt=fr?0:zr):(tt=sr,kt=fr?zr+1:m.maxPartIndex):tt=kr+1;const en=m.age,un=en+m.ageHeader;let Kr=Math.min(un-m.partTarget,m.targetduration*1.5);if(Kr>0){if(un>m.targetduration*3)this.log(`Playlist last advanced ${en.toFixed(2)}s ago. Omitting segment and part directives.`),tt=void 0,kt=void 0;else if(s!=null&&s.tuneInGoal&&un-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 Un=Math.floor(Kr/m.targetduration);if(tt+=Un,kt!==void 0){const pi=Math.round(Kr%m.targetduration/m.partTarget);kt+=pi}this.log(`CDN Tune-in age: ${m.ageHeader}s last advanced ${en.toFixed(2)}s goal: ${Kr} skip sn ${Un} to part ${kt}`)}m.tuneInGoal=Kr}if(at=this.getDeliveryDirectives(m,n.deliveryDirectives,tt,kt),fr||!Wr){m.requestScheduled=T,this.loadingPlaylist(te,at);return}}else(m.canBlockReload||m.canSkipUntil)&&(at=this.getDeliveryDirectives(m,n.deliveryDirectives,tt,kt));at&&tt!==void 0&&m.canBlockReload&&(m.requestScheduled=E.loading.first+Math.max(Ae-U*2,Ae/2)),this.scheduleLoading(te,at,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(),T=m.requestScheduled;if(E>=T){this.loadingPlaylist(t,n);return}const U=T-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=Br(t);return n!=null&&n.skip&&t.deltaUpdateFailed&&(s=n.msn,m=n.part,E=it.No),new gn(s,m,E)}checkRetry(t){const n=t.details,s=It(t),m=t.errorAction,{action:E,retryCount:T=0,retryConfig:U}=m||{},W=!!m&&!!U&&(E===Ue.RetryRequest||!m.resolved&&E===Ue.SendAlternateToPenaltyBox);if(W){var N;if(T>=U.maxNumRetry)return!1;if(s&&(N=t.context)!=null&&N.deliveryDirectives)this.warn(`Retrying playlist loading ${T+1}/${U.maxNumRetry} after "${n}" without delivery-directives`),this.loadPlaylist();else{const te=cr(U,T);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),te),this.warn(`Retrying playlist loading ${T+1}/${U.maxNumRetry} after "${n}" in ${te}ms`)}t.levelRetry=!0,m.resolved=!0}return W}}function Gs(P,t){if(P.length!==t.length)return!1;for(let n=0;n<P.length;n++)if(!To(P[n].attrs,t[n].attrs))return!1;return!0}function To(P,t,n){const s=P["STABLE-RENDITION-ID"];return s&&!n?s===t["STABLE-RENDITION-ID"]:!(n||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(m=>P[m]!==t[m])}function mu(P,t){return t.label.toLowerCase()===P.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(P.lang||"").toLowerCase())}class Wl extends ml{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,T=this.tracksInGroup[s];if(!T||T.groupId!==m){this.warn(`Audio track with id:${s} and group:${m} not found in active group ${T==null?void 0:T.groupId}`);return}const U=T.details;T.details=n.details,this.log(`Audio track ${s} "${T.name}" lang:${T.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(xe=>!s||s.indexOf(xe.groupId)!==-1);if(U.length)this.selectDefaultTrack&&!U.some(xe=>xe.default)&&(this.selectDefaultTrack=!1),U.forEach((xe,Ie)=>{xe.id=Ie});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=U;const W=this.hls.config.audioPreference;if(!E&&W){const xe=ii(W,U,bt);if(xe>-1)E=U[xe];else{const Ie=ii(W,this.tracks);E=this.tracks[Ie]}}let N=this.findTrackId(E);N===-1&&E&&(N=this.findTrackId(null));const te={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,te);const ce=this.trackId;if(N!==-1&&ce===-1)this.setAudioTrack(N);else if(U.length&&ce===-1){var T;const xe=new Error(`No audio track selected for current audio group-ID(s): ${(T=this.groupIds)==null?void 0:T.join(",")} track count: ${U.length}`);this.warn(xe.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:xe})}}}onError(t,n){n.fatal||!n.context||n.context.type===h.AUDIO_TRACK&&n.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(n.context.groupId)!==-1)&&this.checkRetry(n)}get allAudioTracks(){return this.tracks}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(t){this.selectDefaultTrack=!1,this.setAudioTrack(t)}setAudioOption(t){const n=this.hls;if(n.config.audioPreference=t,t){const s=this.allAudioTracks;if(this.selectDefaultTrack=!1,s.length){const m=this.currentTrack;if(m&&na(t,m,bt))return m;const E=ii(t,this.tracksInGroup,bt);if(E>-1){const T=this.tracksInGroup[E];return this.setAudioTrack(E),T}else if(m){let T=n.loadLevel;T===-1&&(T=n.firstAutoLevel);const U=lt(t,n.levels,s,T,bt);if(U===-1)return null;n.nextLoadLevel=U}if(t.channels||t.audioCodec){const T=ii(t,s);if(T>-1)return s[T]}}}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 T=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(T)}findTrackId(t){const n=this.tracksInGroup;for(let s=0;s<n.length;s++){const m=n[s];if(!(this.selectDefaultTrack&&!m.default)&&(!t||na(t,m,bt)))return s}if(t){const{name:s,lang:m,assocLang:E,characteristics:T,audioCodec:U,channels:W}=t;for(let N=0;N<n.length;N++){const te=n[N];if(na({name:s,lang:m,assocLang:E,characteristics:T,audioCodec:U,channels:W},te,bt))return N}for(let N=0;N<n.length;N++){const te=n[N];if(To(t.attrs,te.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return N}for(let N=0;N<n.length;N++){const te=n[N];if(To(t.attrs,te.attrs,["LANGUAGE"]))return N}}return-1}loadPlaylist(t){super.loadPlaylist();const n=this.currentTrack;this.shouldLoadPlaylist(n)&&yi(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),T=t.details,U=T==null?void 0:T.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&&T.live?" age "+U.toFixed(1)+(T.type?" "+T.type||0:""):""} ${E}`),this.hls.trigger(o.AUDIO_TRACK_LOADING,{url:E,id:s,groupId:m,deliveryDirectives:n||null,track:t})}}class Tu{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 T=(s=this.tracks[t])==null?void 0:s.buffer;T!=null&&T.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 lc=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,Pl="HlsJsTrackRemovedError";class ai extends Error{constructor(t){super(t),this.name=Pl}}class xc extends R{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=ie(ae(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 T=this.isQueued();(E||T)&&this.warn(`Transfering MediaSource with${T?" 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[T]=E;T&&(s[T]=y({},this.tracks[T]),this.removeBuffer(T)),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=ae(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 T=this.mediaSource=n.mediaSource||new m;if(this.assignMediaSource(T),E)this._objectUrl=s.src,this.attachTransferred();else{const U=this._objectUrl=self.URL.createObjectURL(T);if(this.appendSource)try{s.removeAttribute("src");const W=self.ManagedMediaSource;s.disableRemotePlayback=s.disableRemotePlayback||W&&T instanceof W,to(s),Ec(s,U),s.load()}catch(W){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,T=E?E.length:0,U=()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()};if(m&&E&&T){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: ${Tn(s,(W,N)=>W==="initSegment"?void 0:N)};
|
|
|
transfer tracks: ${Tn(m,(W,N)=>W==="initSegment"?void 0:N)}}`),!ue(m,s)){n.mediaSource=null,n.tracks=void 0;const W=t.currentTime,N=this.details,te=Math.max(W,(N==null?void 0:N.fragments[0].start)||0);if(te-W>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${W} -> ${te}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(m)}"->"${Object.keys(s)}") start time: ${te} currentTime: ${W}`),this.onMediaDetaching(o.MEDIA_DETACHING,{}),this.onMediaAttaching(o.MEDIA_ATTACHING,n),t.currentTime=te;return}this.transferData=void 0,E.forEach(W=>{const N=W,te=m[N];if(te){const ce=te.buffer;if(ce){const xe=this.fragmentTracker,Ie=te.id;if(xe.hasFragments(Ie)||xe.hasParts(Ie)){const tt=mi.getBuffered(ce);xe.detectEvictedFragments(N,tt,Ie,null,!0)}const Ae=Jo(N),at=[N,ce];this.sourceBuffers[Ae]=at,ce.updating&&this.operationQueue&&this.operationQueue.prependBlocker(N),this.trackSourceBuffer(N,te)}}}),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:T}=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 W=E.sourceBuffers;for(let N=W.length;N--;)U&&W[N].abort(),E.removeSourceBuffer(W[N]);U&&E.endOfStream()}catch(W){this.warn(`onMediaDetaching: ${W.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||(T&&self.URL.revokeObjectURL(T),this.mediaSrc===T?(m.removeAttribute("src"),this.appendSource&&to(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[Jo(t)]=[null,null];const n=this.tracks[t];n&&(n.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new Tu(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),T=!E&&this.sourceBufferCount&&this.media&&m.some(U=>!s[U]);if(E||T){this.warn(`Unsupported transition between "${Object.keys(s)}" and "${m}" SourceBuffers`);return}m.forEach(U=>{var W,N,te;const ce=n[U],{id:xe,codec:Ie,levelCodec:Ae,container:at,metadata:tt,supplemental:kt}=ce;let fr=s[U];const sr=(W=this.transferData)==null||(N=W.tracks)==null?void 0:N[U],kr=sr!=null&&sr.buffer?sr:fr,zr=(kr==null?void 0:kr.pendingCodec)||(kr==null?void 0:kr.codec),ln=kr==null?void 0:kr.levelCodec;fr||(fr=s[U]={buffer:void 0,listeners:[],codec:Ie,supplemental:kt,container:at,levelCodec:Ae,metadata:tt,id:xe});const Wr=Gr(zr,ln),en=Wr==null?void 0:Wr.replace(lc,"$1");let un=Gr(Ie,Ae);const Kr=(te=un)==null?void 0:te.replace(lc,"$1");un&&Wr&&en!==Kr&&(U.slice(0,5)==="audio"&&(un=Dr(un,this.appendSource)),this.log(`switching codec ${zr} to ${un}`),un!==(fr.pendingCodec||fr.codec)&&(fr.pendingCodec=un),fr.container=at,this.appendChangeType(U,at,un))}),(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 T=this.tracks[t];if(T){const U=T.buffer;U!=null&&U.changeType&&(this.log(`changing ${t} sourceBuffer type to ${m}`),U.changeType(m),T.codec=s,T.container=n)}this.shiftAndExecuteNext(t)},onStart:()=>{},onComplete:()=>{},onError:T=>{this.warn(`Failed to change ${t} SourceBuffer type`,T)}};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 T={label:"block-audio",execute:()=>{var U;const W=this.tracks.video;(this.lastVideoAppendEnd>m||W!=null&&W.buffer&&mi.isBuffered(W.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:T,frag:t},this.append(T,"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:T,frag:U,part:W,chunkMeta:N}=n,te=N.buffering[E],ce=U.sn,xe=self.performance.now();te.start=xe;const Ie=U.stats.buffering,Ae=W?W.stats.buffering:null;Ie.start===0&&(Ie.start=xe),Ae&&Ae.start===0&&(Ae.start=xe);const at=s.audio;let tt=!1;E==="audio"&&(at==null?void 0:at.container)==="audio/mpeg"&&(tt=!this.lastMpegAudioChunk||N.id===1||this.lastMpegAudioChunk.sn!==N.sn,this.lastMpegAudioChunk=N);const kt=this.tracks.video,fr=kt==null?void 0:kt.buffer;if(fr&&ce!=="initSegment"){const zr=W||U,ln=this.blockedAudioAppend;if(E==="audio"&&T!=="main"&&!this.blockedAudioAppend){const en=zr.start+zr.duration*.05,un=fr.buffered,Kr=this.currentOp("video");!un.length&&!Kr?this.blockAudio(zr):!Kr&&!mi.isBuffered(fr,en)&&this.lastVideoAppendEnd<en&&this.blockAudio(zr)}else if(E==="video"){const Wr=zr.end;if(ln){const en=ln.frag.start;(Wr>en||Wr<this.lastVideoAppendEnd||mi.isBuffered(fr,en))&&this.unblockAudio()}this.lastVideoAppendEnd=Wr}}const sr=(W||U).start,kr={label:`append-${E}`,execute:()=>{if(te.executeStart=self.performance.now(),tt){const zr=this.tracks[E];if(zr){const ln=zr.buffer;if(ln){const Wr=sr-ln.timestampOffset;Math.abs(Wr)>=.1&&(this.log(`Updating audio SourceBuffer timestampOffset to ${sr} (delta: ${Wr}) sn: ${ce})`),ln.timestampOffset=sr)}}}this.appendExecutor(m,E)},onStart:()=>{},onComplete:()=>{const zr=self.performance.now();te.executeEnd=te.end=zr,Ie.first===0&&(Ie.first=zr),Ae&&Ae.first===0&&(Ae.first=zr);const ln={};this.sourceBuffers.forEach(([Wr,en])=>{Wr&&(ln[Wr]=mi.getBuffered(en))}),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:W,chunkMeta:N,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:W,chunkMeta:N,error:zr,err:zr,fatal:!1},en=(ln=this.media)==null?void 0:ln.error;if(zr.code===DOMException.QUOTA_EXCEEDED_ERR)Wr.details=f.BUFFER_FULL_ERROR;else if(zr.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!en)Wr.errorAction=st(!0);else if(zr.name===Pl&&this.sourceBufferCount===0)Wr.errorAction=st(!0);else{const un=++this.appendErrors[E];this.warn(`Failed ${un}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${E}" sourceBuffer (${en||"no media error"})`),(un>=this.hls.config.appendErrorMaxRetry||en)&&(Wr.fatal=!0)}this.hls.trigger(o.ERROR,Wr)}};this.append(kr,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(([T])=>{T&&this.append(this.getFlushOp(T,m,E),T)})}onFragParsed(t,n){const{frag:s,part:m}=n,E=[],T=m?m.elementaryStreams:s.elementaryStreams;T[$.AUDIOVIDEO]?E.push("audiovideo"):(T[$.AUDIO]&&E.push("audio"),T[$.VIDEO]&&E.push("video"));const U=()=>{const W=self.performance.now();s.stats.buffering.end=W,m&&(m.stats.buffering.end=W);const N=m?m.stats:s.stats;this.hls.trigger(o.FRAG_BUFFERED,{frag:s,part:m,stats:N,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).catch(W=>{this.warn(`Fragment buffered callback ${W}`),this.stepOperationQueue(this.sourceBufferTypes)})}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(([T])=>{if(T){const U=this.tracks[T];(!n.type||n.type===T)&&(U.ending=!0,U.ended||(U.ended=!0,this.log(`${T} buffer reached EOS`)))}});const m=((s=this.overrides)==null?void 0:s.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([T])=>{var U;return T&&!((U=this.tracks[T])!=null&&U.ended)})&&(m?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:T}=this;if(!T||T.readyState!=="open"){T&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${T.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),T.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,T=n.levelTargetDuration,U=n.live&&m.liveBackBufferLength!==null?m.liveBackBufferLength:m.backBufferLength;if(r(U)&&U>=0){const W=Math.max(U,T),N=Math.floor(E/T)*T-W;this.flushBackBuffer(E,T,N)}if(r(m.frontBufferFlushThreshold)&&m.frontBufferFlushThreshold>0){const W=Math.max(m.maxBufferLength,m.frontBufferFlushThreshold),N=Math.max(W,T),te=Math.floor(E/T)*T+N;this.flushFrontBuffer(E,T,te)}}flushBackBuffer(t,n,s){this.sourceBuffers.forEach(([m,E])=>{if(E){const U=mi.getBuffered(E);if(U.length>0&&s>U.start(0)){var T;this.hls.trigger(o.BACK_BUFFER_REACHED,{bufferEnd:s});const W=this.tracks[m];if((T=this.details)!=null&&T.live)this.hls.trigger(o.LIVE_BACK_BUFFER_REACHED,{bufferEnd:s});else if(W!=null&&W.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 T=mi.getBuffered(E),U=T.length;if(U<2)return;const W=T.start(U-1),N=T.end(U-1);if(s>W||t>=W&&t<=N)return;this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:W,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 N=Math.max(0,n.fragmentStart),te=Math.max(N,m);return{duration:1/0,start:N,end:te}}return{duration:1/0}}const E=(t=this.overrides)==null?void 0:t.duration;if(E)return r(E)?{duration:E}:null;const T=this.media.duration,U=r(s.duration)?s.duration:0;return m>U&&m>T||!r(T)?{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}) ${Tn(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 T=E,U=t[T];if(this.isPending(U)){const W=this.getTrackCodec(U,T),N=`${U.container};codecs=${W}`;U.codec=W,this.log(`creating sourceBuffer(${N})${this.currentOp(T)?" Queued":""} ${Tn(U)}`);try{const te=s.addSourceBuffer(N),ce=Jo(T),xe=[T,te];n[ce]=xe,U.buffer=te}catch(te){var m;this.error(`error while trying to add sourceBuffer: ${te.message}`),this.shiftAndExecuteNext(T),(m=this.operationQueue)==null||m.removeBlockers(),delete this.tracks[T],this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:te,sourceBufferName:T,mimeType:N,parent:U.id});return}this.trackSourceBuffer(T,U)}}this.bufferCreated()}getTrackCodec(t,n){const s=t.supplemental;let m=t.codec;s&&(n==="video"||n==="audiovideo")&&St(s,"video")&&(m=Ct(m,s));const E=Gr(m,t.levelCodec);return E?n.slice(0,5)==="audio"?Dr(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,T)=>{const U=T.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,T=this.tracks[t],U=T==null?void 0:T.buffer;if(!m||!E||!U){this.warn(`Attempting to remove from the ${t} SourceBuffer, but it does not exist`),this.shiftAndExecuteNext(t);return}const W=r(m.duration)?m.duration:1/0,N=r(E.duration)?E.duration:1/0,te=Math.max(0,n),ce=Math.min(s,W,N);ce>te&&(!T.ending||T.ended)?(T.ended=!1,this.log(`Removing [${te},${ce}] from the ${t} SourceBuffer`),U.remove(te,ce)):this.shiftAndExecuteNext(t)}appendExecutor(t,n){const s=this.tracks[n],m=s==null?void 0:s.buffer;if(!m)throw new ai(`Attempting to append to the ${n} SourceBuffer, but it does not exist`);s.ending=!1,s.ended=!1,m.appendBuffer(t)}blockUntilOpen(t){if(this.isUpdating()||this.isQueued())this.blockBuffers(t).catch(n=>{this.warn(`SourceBuffer blocked callback ${n}`),this.stepOperationQueue(this.sourceBufferTypes)});else try{t()}catch(n){this.warn(`Callback run without blocking ${this.operationQueue} ${n}`)}}isUpdating(){return this.sourceBuffers.some(([t,n])=>t&&n.updating)}isQueued(){return this.sourceBuffers.some(([t])=>t&&!!this.currentOp(t))}isPending(t){return!!t&&!t.buffer}blockBuffers(t,n=this.sourceBufferTypes){if(!n.length)return this.log("Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(t);const{operationQueue:s}=this,m=n.map(T=>this.appendBlocker(T));return n.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(m).then(T=>{s===this.operationQueue&&(t(),this.stepOperationQueue(this.sourceBufferTypes))})}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 T=s.bind(this,t);m.listeners.push({event:n,listener:T}),E.addEventListener(n,T)}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 to(P){const t=P.querySelectorAll("source");[].slice.call(t).forEach(n=>{P.removeChild(n)})}function Ec(P,t){const n=self.document.createElement("source");n.type="video/mp4",n.src=t,P.appendChild(n)}function Jo(P){return P==="audio"?1:0}class Pu{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,Pu.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,W)=>W?U.width!==W.width||U.height!==W.height:!0;let E=t.length-1;const T=Math.max(n,s);for(let U=0;U<t.length;U+=1){const W=t[U];if((W.width>=T||W.height>=T)&&m(W,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"},mo={HLS:"h"},vl={OBJECT:"CMCD-Object",REQUEST:"CMCD-Request",SESSION:"CMCD-Session",STATUS:"CMCD-Status"},Dl={[vl.OBJECT]:["br","d","ot","tb"],[vl.REQUEST]:["bl","dl","mtp","nor","nrr","su"],[vl.SESSION]:["cid","pr","sf","sid","st","v"],[vl.STATUS]:["bs","rtp"]};class Fo{constructor(t,n){Array.isArray(t)&&(t=t.map(s=>s instanceof Fo?s:new Fo(s))),this.value=t,this.params=n}}const Ol="Dict";function Us(P){return Array.isArray(P)?JSON.stringify(P):P instanceof Map?"Map{}":P instanceof Set?"Set{}":typeof P=="object"?JSON.stringify(P):String(P)}function Bo(P,t,n,s){return new Error(`failed to ${P} "${Us(t)}" as ${n}`,{cause:s})}function Fs(P,t,n){return Bo("serialize",P,t,n)}class Gl{constructor(t){this.description=t}}const gl="Bare Item",nu="Boolean";function wc(P){if(typeof P!="boolean")throw Fs(P,nu);return P?"?1":"?0"}function Sc(P){return btoa(String.fromCharCode(...P))}const iu="Byte Sequence";function kl(P){if(ArrayBuffer.isView(P)===!1)throw Fs(P,iu);return`:${Sc(P)}:`}const vu="Integer";function cc(P){return P<-999999999999999||999999999999999<P}function Ju(P){if(cc(P))throw Fs(P,vu);return P.toString()}function ka(P){return`@${Ju(P.getTime()/1e3)}`}function zc(P,t){if(P<0)return-zc(-P,t);const n=Math.pow(10,t);if(Math.abs(P*n%1-.5)<Number.EPSILON){const m=Math.floor(P*n);return(m%2===0?m:m+1)/n}else return Math.round(P*n)/n}const Zc="Decimal";function zu(P){const t=zc(P,3);if(Math.floor(Math.abs(t)).toString().length>12)throw Fs(P,Zc);const n=t.toString();return n.includes(".")?n:`${n}.0`}const Ac="String",ff=/[\x00-\x1f\x7f]+/;function fc(P){if(ff.test(P))throw Fs(P,Ac);return`"${P.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function au(P){return P.description||P.toString().slice(7,-1)}const Hc="Token";function Vl(P){const t=au(P);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t)===!1)throw Fs(t,Hc);return t}function yl(P){switch(typeof P){case"number":if(!r(P))throw Fs(P,gl);return Number.isInteger(P)?Ju(P):zu(P);case"string":return fc(P);case"symbol":return Vl(P);case"boolean":return wc(P);case"object":if(P instanceof Date)return ka(P);if(P instanceof Uint8Array)return kl(P);if(P instanceof Gl)return Vl(P);default:throw Fs(P,gl)}}const Wc="Key";function Kl(P){if(/^[a-z*][a-z0-9\-_.*]*$/.test(P)===!1)throw Fs(P,Wc);return P}function Wo(P){return P==null?"":Object.entries(P).map(([t,n])=>n===!0?`;${Kl(t)}`:`;${Kl(t)}=${yl(n)}`).join("")}function Iu(P){return P instanceof Fo?`${yl(P.value)}${Wo(P.params)}`:yl(P)}function dc(P){return`(${P.value.map(Iu).join(" ")})${Wo(P.params)}`}function Zu(P,t={whitespace:!0}){if(typeof P!="object")throw Fs(P,Ol);const n=P instanceof Map?P.entries():Object.entries(P),s=t!=null&&t.whitespace?" ":"";return Array.from(n).map(([m,E])=>{E instanceof Fo||(E=new Fo(E));let T=Kl(m);return E.value===!0?T+=Wo(E.params):(T+="=",Array.isArray(E.value)?T+=dc(E):T+=Iu(E)),T}).join(`,${s}`)}function Cc(P,t){return Zu(P,t)}function Gc(P){return P==="ot"||P==="sf"||P==="st"}function Yl(P){return typeof P=="number"?r(P):P!=null&&P!==""&&P!==!1}function uo(P,t){const n=new URL(P),s=new URL(t);if(n.origin!==s.origin)return P;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("/")}const Xl=P=>Math.round(P),Tc=(P,t)=>(t!=null&&t.baseUrl&&(P=uo(P,t.baseUrl)),encodeURIComponent(P)),Du=P=>Xl(P/100)*100,Ou={br:Xl,d:Xl,bl:Du,dl:Du,mtp:Du,nor:Tc,rtp:Du,tb:Xl};function lo(P,t){const n={};if(P==null||typeof P!="object")return n;const s=Object.keys(P).sort(),m=y({},Ou,t==null?void 0:t.formatters),E=t==null?void 0:t.filter;return s.forEach(T=>{if(E!=null&&E(T))return;let U=P[T];const W=m[T];W&&(U=W(U,t)),!(T==="v"&&U===1)&&(T=="pr"&&U===1||Yl(U)&&(Gc(T)&&typeof U=="string"&&(U=new Gl(U)),n[T]=U))}),n}function el(P,t={}){return P?Cc(lo(P,t),y({whitespace:!1},t)):""}function df(P,t={}){const n={};if(!P)return n;const s=Object.entries(P),m=Object.entries(Dl).concat(Object.entries((t==null?void 0:t.customHeaderMap)||{})),E=s.reduce((T,U)=>{var W,N;const[te,ce]=U,xe=((W=m.find(Ie=>Ie[1].includes(te)))===null||W===void 0?void 0:W[0])||vl.REQUEST;return(N=T[xe])!==null&&N!==void 0||(T[xe]={}),T[xe][te]=ce,T},{});return Object.entries(E).reduce((T,[U,W])=>(T[U]=el(W,t),T),n)}function Pc(P,t,n){return y(P,df(t,n))}const Vc="CMCD";function bl(P,t={}){if(!P)return"";const n=el(P,t);return`${Vc}=${encodeURIComponent(n)}`}const Po=/CMCD=[^&#]+/;function Rl(P,t,n){const s=bl(t,n);if(!s)return P;if(Po.test(P))return P.replace(Po,s);const m=P.includes("?")?"&":"?";return`${P}${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:T}=m,U=this.hls.levels[E.level],W=this.getObjectType(E),N={d:(T||E).duration*1e3,ot:W};(W===zo.VIDEO||W===zo.AUDIO||W==zo.MUXED)&&(N.br=U.bitrate/1e3,N.tb=this.getTopBandwidth(W)/1e3,N.bl=this.getBufferLength(W));const te=T?this.getNextPart(T):this.getNextFrag(E);te!=null&&te.url&&te.url!==E.url&&(N.nor=te.url),this.apply(m,N)}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:mo.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((T,U)=>(m.includes(U)&&(T[U]=n[U]),T),{}));const E={baseUrl:t.url};this.useHeaders?(t.headers||(t.headers={}),Pc(t.headers,n,E)):t.url=Rl(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,T=(n=this.hls.levels[E.level])==null||(s=n.details)==null?void 0:s.partList;if(T){const{sn:U}=E;for(let W=T.length-1;W>=0;W--){const N=T[W];if(N.index===m&&N.fragment.sn===U)return T[W+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,T=E>-1?E+1:m.levels.length;s=m.levels.slice(0,T)}return s.forEach(E=>{E.bitrate>n&&(n=E.bitrate)}),n>0?n:NaN}getBufferLength(t){const n=this.media,s=t===zo.AUDIO?this.audioBuffer:this.videoBuffer;return!s||!n?NaN:mi.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,T,U){n(E),this.loader.load(E,T,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,T,U){n(E),this.loader.load(E,T,U)}}}}const gu=3e5;class eu extends R{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)===Ue.SendAlternateToPenaltyBox&&s.flags===Je.MoveAllAlternatesMatchingHost){const m=this.levels;let E=this._pathwayPriority,T=this.pathwayId;if(n.context){const{groupId:U,pathwayId:W,type:N}=n.context;U&&m?T=this.getPathwayForGroupId(U,N,T):W&&(T=W)}T in this.penalizedPathways||(this.penalizedPathways[T]=performance.now()),!E&&m&&(E=this.pathways()),E&&E.length>1&&(this.updatePathwayPriority(E),s.resolved=this.pathwayId!==T),s.resolved||this.warn(`Could not resolve ${n.details} ("${n.error.message}") with content-steering for Pathway: ${T} levels: ${m&&m.length} priorities: ${Tn(E)} penalized: ${Tn(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]>gu&&delete s[E]});for(let E=0;E<t.length;E++){const T=t[E];if(T in s)continue;if(T===this.pathwayId)return;const U=this.hls.nextLoadLevel,W=this.hls.levels[U];if(n=this.getLevelsForPathway(T),n.length>0){this.log(`Setting Pathway to "${T}"`),this.pathwayId=T,xr(n),this.hls.trigger(o.LEVELS_UPDATED,{levels:n});const N=this.hls.levels[U];W&&N&&this.levels&&(N.attrs["STABLE-VARIANT-ID"]!==W.attrs["STABLE-VARIANT-ID"]&&N.bitrate!==W.bitrate&&this.log(`Unstable Pathways change from bitrate ${W.bitrate} to ${N.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:T,"BASE-ID":U,"URI-REPLACEMENT":W}=E;if(n.some(te=>te.pathwayId===T))return;const N=this.getLevelsForPathway(U).map(te=>{const ce=new Ni(te.attrs);ce["PATHWAY-ID"]=T;const xe=ce.AUDIO&&`${ce.AUDIO}_clone_${T}`,Ie=ce.SUBTITLES&&`${ce.SUBTITLES}_clone_${T}`;xe&&(s[ce.AUDIO]=xe,ce.AUDIO=xe),Ie&&(m[ce.SUBTITLES]=Ie,ce.SUBTITLES=Ie);const Ae=No(te.uri,ce["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",W),at=new zn({attrs:ce,audioCodec:te.audioCodec,bitrate:te.bitrate,height:te.height,name:te.name,url:Ae,videoCodec:te.videoCodec,width:te.width});if(te.audioGroups)for(let tt=1;tt<te.audioGroups.length;tt++)at.addGroupId("audio",`${te.audioGroups[tt]}_clone_${T}`);if(te.subtitleGroups)for(let tt=1;tt<te.subtitleGroups.length;tt++)at.addGroupId("text",`${te.subtitleGroups[tt]}_clone_${T}`);return at});n.push(...N),Ll(this.audioTracks,s,W,T),Ll(this.subtitleTracks,m,W,T)})}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(te){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${t}`);return}if(m.protocol!=="data:"){const te=(this.hls.bandwidthEstimate||n.abrEwmaDefaultEstimate)|0;m.searchParams.set("_HLS_pathway",this.pathwayId),m.searchParams.set("_HLS_throughput",""+te)}const E={responseType:"json",url:m.href},T=n.steeringManifestLoadPolicy.default,U=T.errorRetry||T.timeoutRetry||{},W={loadPolicy:T,timeout:T.maxLoadTimeMs,maxRetry:U.maxNumRetry||0,retryDelay:U.retryDelayMs||0,maxRetryDelay:U.maxRetryDelayMs||0},N={onSuccess:(te,ce,xe,Ie)=>{this.log(`Loaded steering manifest: "${m}"`);const Ae=te.data;if((Ae==null?void 0:Ae.VERSION)!==1){this.log(`Steering VERSION ${Ae.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Ae.TTL;const{"RELOAD-URI":at,"PATHWAY-CLONES":tt,"PATHWAY-PRIORITY":kt}=Ae;if(at)try{this.uri=new self.URL(at,m).href}catch(sr){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${at}`);return}this.scheduleRefresh(this.uri||xe.url),tt&&this.clonePathways(tt);const fr={steeringManifest:Ae,url:m.toString()};this.hls.trigger(o.STEERING_MANIFEST_LOADED,fr),kt&&this.updatePathwayPriority(kt)},onError:(te,ce,xe,Ie)=>{if(this.log(`Error loading steering manifest: ${te.code} ${te.text} (${ce.url})`),this.stopLoad(),te.code===410){this.enabled=!1,this.log(`Steering manifest ${ce.url} no longer available`);return}let Ae=this.timeToLoad*1e3;if(te.code===429){const at=this.loader;if(typeof(at==null?void 0:at.getResponseHeader)=="function"){const tt=at.getResponseHeader("Retry-After");tt&&(Ae=parseFloat(tt)*1e3)}this.log(`Steering manifest ${ce.url} rate limited`);return}this.scheduleRefresh(this.uri||ce.url,Ae)},onTimeout:(te,ce,xe)=>{this.log(`Timeout loading steering manifest (${ce.url})`),this.scheduleRefresh(this.uri||ce.url)}};this.log(`Requesting steering manifest: ${m}`),this.loader.load(E,W,N)}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 Ll(P,t,n,s){P&&Object.keys(t).forEach(m=>{const E=P.filter(T=>T.groupId===m).map(T=>{const U=y({},T);return U.details=void 0,U.attrs=new Ni(U.attrs),U.url=U.attrs.URI=No(T.url,T.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),U.groupId=U.attrs["GROUP-ID"]=t[m],U.attrs["PATHWAY-ID"]=s,U});P.push(...E)})}function No(P,t,n,s){const{HOST:m,PARAMS:E,[n]:T}=s;let U;t&&(U=T==null?void 0:T[t],U&&(P=U));const W=new self.URL(P);return m&&!U&&(W.host=m),E&&Object.keys(E).sort().forEach(N=>{N&&W.searchParams.set(N,E[N])}),W.href}function Vs(P,t,n){Go(P,t,n),P.addEventListener(t,n)}function Go(P,t,n){P.removeEventListener(t,n)}class ku extends R{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.mediaKeys=null,this.setMediaKeysQueue=ku.CDMCleanupPromise?[ku.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 T=Object.keys(this.keySystemAccessPromises);T.length||(T=po(this.config));const U=T.map(wo).filter(W=>!!W);this.keyFormatPromise=this.getKeyFormatPromise(U)}this.keyFormatPromise.then(T=>{const U=Zs(T);let W,N;if(s==="sinf"){if(U!==wa.FAIRPLAY){this.warn(`Ignoring unexpected "${n.type}" event with init data type: "${s}" for selected key-system ${U}`);return}const Ae=Jt(new Uint8Array(m));try{const at=Ra(JSON.parse(Ae).sinf),tt=ct(at);if(!tt)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");W=new Uint8Array(tt.subarray(8,24)),N=wa.FAIRPLAY}catch(at){this.warn(`${E} Failed to parse sinf: ${at}`);return}}else{if(U!==wa.WIDEVINE&&U!==wa.PLAYREADY){this.warn(`Ignoring unexpected "${n.type}" event with init data type: "${s}" for selected key-system ${U}`);return}const Ae=pe(m),at=Ae.filter(kt=>!!kt.systemId&&Eo(kt.systemId)===U);at.length>1&&this.warn(`${E} Using first of ${at.length} pssh found for selected key-system ${U}`);const tt=at[0];if(!tt){Ae.length===0||Ae.some(kt=>!kt.systemId)?this.warn(`${E} contains incomplete or invalid pssh data`):this.log(`ignoring ${E} for ${Ae.map(kt=>Eo(kt.systemId)).join(",")} pssh data in favor of playlist keys`);return}if(N=Eo(tt.systemId),tt.version===0&&tt.data)if(N===wa.WIDEVINE){const kt=tt.data.length-22;W=new Uint8Array(tt.data.subarray(kt,kt+16))}else N===wa.PLAYREADY&&(W=qa(tt.data))}if(!N||!W)return;const te=J.hexDump(W),{keyIdToKeySessionPromise:ce,mediaKeySessions:xe}=this;let Ie=ce[te];for(let Ae=0;Ae<xe.length;Ae++){const at=xe[Ae],tt=at.decryptdata;if(!tt.keyId)continue;const kt=J.hexDump(tt.keyId);if(te===kt||tt.uri.replace(/-/g,"").indexOf(te)!==-1){if(Ie=ce[kt],tt.pssh)break;delete ce[kt],tt.pssh=new Uint8Array(m),tt.keyId=W,Ie=ce[te]=Ie.then(()=>this.generateRequestWithPreferredKeySession(at,s,m,"encrypted-event-key-match")),Ie.catch(fr=>this.handleError(fr));break}}if(!Ie){if(N!==U){this.log(`Ignoring "${n.type}" event with ${N} init data for selected key-system ${U}`);return}Ie=ce[te]=this.getKeySystemSelectionPromise([N]).then(({keySystem:Ae,mediaKeys:at})=>{var tt;this.throwIfDestroyed();const kt=new qs("ISO-23001-7",te,(tt=wo(Ae))!=null?tt:"");return kt.pssh=new Uint8Array(m),kt.keyId=W,this.attemptSetMediaKeys(Ae,at).then(()=>{this.throwIfDestroyed();const fr=this.createMediaKeySessionContext({decryptdata:kt,keySystem:Ae,mediaKeys:at});return this.generateRequestWithPreferredKeySession(fr,s,m,"encrypted-event-no-match")})}),Ie.catch(Ae=>this.handleError(Ae))}})}},this.onWaitingForKey=n=>{this.log(`"${n.type}" event`)},this.hls=t,this.config=t.config,this.registerListeners()}destroy(){this.onDestroying(),this.onMediaDetached();const t=this.config;t.requestMediaKeySystemAccessFunc=null,t.licenseXhrSetup=t.licenseResponseCallback=void 0,t.drmSystems=t.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),this.hls.on(o.DESTROYING,this.onDestroying,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),this.hls.off(o.DESTROYING,this.onDestroying,this)}getLicenseServerUrl(t){const{drmSystems:n,widevineLicenseUrl:s}=this.config,m=n[t];if(m)return m.licenseUrl;if(t===wa.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=(T,U,W)=>!!T&&W.indexOf(T)===U,m=n.map(T=>T.audioCodec).filter(s),E=n.map(T=>T.videoCodec).filter(s);return m.length+E.length===0&&E.push("avc1.42e01e"),new Promise((T,U)=>{const W=N=>{const te=N.shift();this.getMediaKeysPromise(te,m,E).then(ce=>T({keySystem:te,mediaKeys:ce})).catch(ce=>{N.length?W(N):ce instanceof Io?U(ce):U(new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_ACCESS,error:ce,fatal:!0},ce.message))})};W(t)})}requestMediaKeySystemAccess(t,n){const{requestMediaKeySystemAccessFunc:s}=this.config;if(typeof s!="function"){let m=`Configured requestMediaKeySystemAccess is not a function ${s}`;return di===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=ci(t,n,s,this.config.drmSystemOptions),E=this.keySystemAccessPromises[t];let T=E==null?void 0:E.keySystemAccess;if(!T){this.log(`Requesting encrypted media "${t}" key-system access with config: ${Tn(m)}`),T=this.requestMediaKeySystemAccess(t,m);const U=this.keySystemAccessPromises[t]={keySystemAccess:T};return T.catch(W=>{this.log(`Failed to obtain access to key-system "${t}": ${W}`)}),T.then(W=>{this.log(`Access for key-system "${W.keySystem}" obtained`);const N=this.fetchServerCertificate(t);return this.log(`Create media-keys for "${t}"`),U.mediaKeys=W.createMediaKeys().then(te=>(this.log(`Media-keys created for "${t}"`),U.hasMediaKeys=!0,N.then(ce=>ce?this.setMediaKeysServerCertificate(te,t,ce):te))),U.mediaKeys.catch(te=>{this.error(`Failed to create media-keys for "${t}"}: ${te}`)}),U.mediaKeys})}return T.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)}getSelectedKeySystemFormats(){return Object.keys(this.keySystemAccessPromises).map(t=>({keySystem:t,hasMediaKeys:this.keySystemAccessPromises[t].hasMediaKeys})).filter(({hasMediaKeys:t})=>!!t).map(({keySystem:t})=>wo(t)).filter(t=>!!t)}getKeySystemAccess(t){return this.getKeySystemSelectionPromise(t).then(({keySystem:n,mediaKeys:s})=>this.attemptSetMediaKeys(n,s))}selectKeySystem(t){return new Promise((n,s)=>this.getKeySystemSelectionPromise(t).then(({keySystem:m})=>{const E=wo(m);E?n(E):s(new Error(`Unable to find format for key-system "${m}"`))}).catch(s))}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){const n=po(this.config),s=t.map(Zs).filter(m=>!!m&&n.indexOf(m)!==-1);return this.selectKeySystem(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:W})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${t.frag.sn} ${t.frag.type}: ${t.frag.level} using key ${m}`),this.attemptSetMediaKeys(U,W).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:U,mediaKeys:W,decryptdata:n}))))),(this.keyIdToKeySessionPromise[s]=E.then(U=>{const W="cenc",N=n.pssh?n.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(U,W,N,"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 Io?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=Zs(t.keyFormat),E=m?[m]:po(this.config);return this.attemptKeySystemAccess(E)}return s}getKeySystemSelectionPromise(t){if(t.length||(t=po(this.config)),t.length===0)throw new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${Tn({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(t)}attemptSetMediaKeys(t,n){if(this.mediaKeys===n)return Promise.resolve();const s=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${t}"`);const m=Promise.all(s).then(()=>{if(!this.media)throw this.mediaKeys=null,new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(n)});return this.mediaKeys=n,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,T;const U=(E=this.config.drmSystems)==null||(T=E[t.keySystem])==null?void 0:T.generateRequest;if(U)try{const Ae=U.call(this.hls,n,s,t);if(!Ae)throw new Error("Invalid response from configured generateRequest filter");n=Ae.initDataType,s=Ae.initData?Ae.initData:null,t.decryptdata.pssh=s?new Uint8Array(s):null}catch(Ae){var W;if(this.warn(Ae.message),(W=this.hls)!=null&&W.config.debug)throw Ae}if(s===null)return this.log(`Skipping key-session request for "${m}" (no initData)`),Promise.resolve(t);const N=this.getKeyIdString(t.decryptdata);this.log(`Generating key-session request for "${m}": ${N} (init data type: ${n} length: ${s?s.byteLength:null})`);const te=new ya,ce=t._onmessage=Ae=>{const at=t.mediaKeysSession;if(!at){te.emit("error",new Error("invalid state"));return}const{messageType:tt,message:kt}=Ae;this.log(`"${tt}" message event for session "${at.sessionId}" message size: ${kt.byteLength}`),tt==="license-request"||tt==="license-renewal"?this.renewLicense(t,kt).catch(fr=>{te.eventNames().length?te.emit("error",fr):this.handleError(fr)}):tt==="license-release"?t.keySystem===wa.FAIRPLAY&&(this.updateKeySession(t,Da("acknowledged")),this.removeSession(t)):this.warn(`unhandled media key message type "${tt}"`)},xe=t._onkeystatuseschange=Ae=>{if(!t.mediaKeysSession){te.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(t);const tt=t.keyStatus;te.emit("keyStatus",tt),tt==="expired"&&(this.warn(`${t.keySystem} expired for key ${N}`),this.renewKeySession(t))};Vs(t.mediaKeysSession,"message",ce),Vs(t.mediaKeysSession,"keystatuseschange",xe);const Ie=new Promise((Ae,at)=>{te.on("error",at),te.on("keyStatus",tt=>{tt.startsWith("usable")?Ae():tt==="output-restricted"?at(new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):tt==="internal-error"?at(new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${tt}"`)):tt==="expired"?at(new Error("key expired while generating request")):this.warn(`unhandled key status change "${tt}"`)})});return t.mediaKeysSession.generateRequest(n,s).then(()=>{var Ae;this.log(`Request generated for key-session "${(Ae=t.mediaKeysSession)==null?void 0:Ae.sessionId}" keyId: ${N}`)}).catch(Ae=>{throw new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_SESSION,error:Ae,fatal:!1},`Error generating key-session request: ${Ae}`)}).then(()=>Ie).catch(Ae=>{throw te.removeAllListeners(),this.removeSession(t),Ae}).then(()=>(te.removeAllListeners(),t))}onKeyStatusChange(t){t.mediaKeysSession.keyStatuses.forEach((n,s)=>{if(typeof s=="string"&&typeof n=="object"){const m=s;s=n,n=m}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((T,U)=>{const W={responseType:"arraybuffer",url:E},N=n.certLoadPolicy.default,te={loadPolicy:N,timeout:N.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Ie,Ae,at)=>{T(xe.data)},onError:(xe,Ie,Ae,at)=>{U(new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Ae,response:b({url:W.url,data:void 0},xe)},`"${t}" certificate request failed (${E}). Status: ${xe.code} (${xe.text})`))},onTimeout:(xe,Ie,Ae)=>{U(new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Ae,response:{url:W.url,data:void 0}},`"${t}" certificate request timed out (${E})`))},onAbort:(xe,Ie,Ae)=>{U(new Error("aborted"))}};m.load(W,te,ce)})):Promise.resolve()}setMediaKeysServerCertificate(t,n,s){return new Promise((m,E)=>{t.setServerCertificate(s).then(T=>{this.log(`setServerCertificate ${T?"success":"not supported by CDM"} (${s==null?void 0:s.byteLength}) on "${n}"`),m(t)}).catch(T=>{E(new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:T,fatal:!0},T.message))})})}renewLicense(t,n){return this.requestLicense(t,new Uint8Array(n)).then(s=>this.updateKeySession(t,new Uint8Array(s)).catch(m=>{throw new Io({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 te;for(let ce=0,xe=E.length;ce<xe;ce++){var T,U;te=E[ce];const Ie=(T=te.querySelector("name"))==null?void 0:T.textContent,Ae=(U=te.querySelector("value"))==null?void 0:U.textContent;Ie&&Ae&&t.setRequestHeader(Ie,Ae)}}const W=m.querySelector("Challenge"),N=W==null?void 0:W.textContent;if(!N)throw new Error("Cannot find <Challenge> in key message");return Da(atob(N))}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(T=>{if(!s.decryptdata)throw T;return t.open("POST",n,!0),E.call(this.hls,t,n,s,m)}).then(T=>(t.readyState||t.open("POST",n,!0),{xhr:t,licenseChallenge:T||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 T=this.getLicenseServerUrlOrThrow(t.keySystem);this.log(`Sending license request to URL: ${T}`);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 W=U.response;this.log(`License received ${W instanceof ArrayBuffer?W.byteLength:W}`);const N=this.config.licenseResponseCallback;if(N)try{W=N.call(this.hls,U,T,t)}catch(te){this.error(te)}m(W)}else{const W=s.errorRetry,N=W?W.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>N||U.status>=400&&U.status<500)E(new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:U,response:{url:T,data:void 0,code:U.status,text:U.statusText}},`License Request XHR failed (${T}). Status: ${U.status} (${U.statusText})`));else{const te=N-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${te} 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,T,t,n).then(({xhr:W,licenseChallenge:N})=>{t.keySystem==wa.PLAYREADY&&(N=this.unpackPlayReadyKeyMessage(W,N)),W.send(N)})})}onDestroying(){this.unregisterListeners(),this._clear()}onMediaAttached(t,n){if(!this.config.emeEnabled)return;const s=n.media;this.media=s,Vs(s,"encrypted",this.onMediaEncrypted),Vs(s,"waitingforkey",this.onWaitingForKey)}onMediaDetached(){const t=this.media;t&&(Go(t,"encrypted",this.onMediaEncrypted),Go(t,"waitingforkey",this.onWaitingForKey),this.media=null,this.mediaKeys=null)}_clear(){var t;if(this._requestLicenseFailureCount=0,this.keyIdToKeySessionPromise={},!this.mediaKeys&&!this.mediaKeySessions.length)return;const n=this.media,s=this.mediaKeySessions.slice();this.mediaKeySessions=[],this.mediaKeys=null,qs.clearKeyUriToKeyIdMap();const m=s.length;ku.CDMCleanupPromise=Promise.all(s.map(E=>this.removeSession(E)).concat(n==null||(t=n.setMediaKeys(null))==null?void 0:t.catch(E=>{var T;this.log(`Could not clear media keys: ${E}`),(T=this.hls)==null||T.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}`)})}))).catch(E=>{var T;this.log(`Could not close sessions and clear media keys: ${E}`),(T=this.hls)==null||T.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}`)})}).then(()=>{m&&this.log("finished closing key sessions and clearing media keys")})}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);m>-1&&this.mediaKeySessions.splice(m,1);const{drmSystemOptions:E}=this.config;return(Qa(E)?new Promise((U,W)=>{self.setTimeout(()=>W(new Error("MediaKeySession.remove() timeout")),8e3),n.remove().then(U)}):Promise.resolve()).catch(U=>{var W;this.log(`Could not remove session: ${U}`),(W=this.hls)==null||W.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${U}`)})}).then(()=>n.close()).catch(U=>{var W;this.log(`Could not close session: ${U}`),(W=this.hls)==null||W.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${U}`)})})}}}ku.CDMCleanupPromise=void 0;class Io 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 tl{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,T=s-this.lastDroppedFrames,U=n-this.lastDecodedFrames,W=1e3*T/E,N=this.hls;if(N.trigger(o.FPS_DROP,{currentDropped:T,currentDecoded:U,totalDroppedFrames:s}),W>0&&T>N.config.fpsDroppedMonitoringThreshold*U){let te=N.currentLevel;N.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+te),te>0&&(N.autoLevelCapping===-1||N.autoLevelCapping>=te)&&(te=te-1,N.trigger(o.FPS_DROP_LEVEL_CAPPING,{level:te,droppedLevel:N.currentLevel}),N.autoLevelCapping=te,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 yu(P,t){let n;try{n=new Event("addtrack")}catch(s){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=P,t.dispatchEvent(n)}function hc(P,t){const n=P.mode;if(n==="disabled"&&(P.mode="hidden"),P.cues&&!P.cues.getCueById(t.id))try{if(P.addCue(t),!P.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(s){G.debug(`[texttrack-utils]: ${s}`);try{const m=new self.TextTrackCue(t.startTime,t.endTime,t.text);m.id=t.id,P.addCue(m)}catch(m){G.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${m}`)}}n==="disabled"&&(P.mode=n)}function Ru(P,t){const n=P.mode;if(n==="disabled"&&(P.mode="hidden"),P.cues)for(let s=P.cues.length;s--;)t&&P.cues[s].removeEventListener("enter",t),P.removeCue(P.cues[s]);n==="disabled"&&(P.mode=n)}function Vo(P,t,n,s){const m=P.mode;if(m==="disabled"&&(P.mode="hidden"),P.cues&&P.cues.length>0){const E=bu(P.cues,t,n);for(let T=0;T<E.length;T++)(!s||s(E[T]))&&P.removeCue(E[T])}m==="disabled"&&(P.mode=m)}function rl(P,t){if(t<=P[0].startTime)return 0;const n=P.length-1;if(t>P[n].endTime)return-1;let s=0,m=n,E;for(;s<=m;)if(E=Math.floor((m+s)/2),t<P[E].startTime)m=E-1;else if(t>P[E].startTime&&s<n)s=E+1;else return E;return P[s].startTime-t<t-P[m].startTime?s:m}function bu(P,t,n){const s=[],m=rl(P,t);if(m>-1)for(let E=m,T=P.length;E<T;E++){const U=P[E];if(U.startTime>=t&&U.endTime<=n)s.push(U);else if(U.startTime>n)return s}return s}function Ic(P){const t=[];for(let n=0;n<P.length;n++){const s=P[n];(s.kind==="subtitles"||s.kind==="captions")&&s.label&&t.push(P[n])}return t}class Kc extends ml{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=Ic(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;Ic(s.textTracks).forEach(T=>{Ru(T)})}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,T=this.tracksInGroup[s];if(!T||T.groupId!==m){this.warn(`Subtitle track with id:${s} and group:${m} not found in active group ${T==null?void 0:T.groupId}`);return}const U=T.details;T.details=n.details,this.log(`Subtitle track ${s} "${T.name}" lang:${T.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(T=>(m==null?void 0:m.indexOf(T))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const T=this.tracks.filter(te=>!s||s.indexOf(te.groupId)!==-1);if(T.length)this.selectDefaultTrack&&!T.some(te=>te.default)&&(this.selectDefaultTrack=!1),T.forEach((te,ce)=>{te.id=ce});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=T;const U=this.hls.config.subtitlePreference;if(!E&&U){this.selectDefaultTrack=!1;const te=ii(U,T);if(te>-1)E=T[te];else{const ce=ii(U,this.tracks);E=this.tracks[ce]}}let W=this.findTrackId(E);W===-1&&E&&(W=this.findTrackId(null));const N={subtitleTracks:T};this.log(`Updating subtitle tracks, ${T.length} track(s) found in "${s==null?void 0:s.join(",")}" group-id`),this.hls.trigger(o.SUBTITLE_TRACKS_UPDATED,N),W!==-1&&this.trackId===-1&&this.setSubtitleTrack(W)}}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||na(E,t)))return m}if(t){for(let m=0;m<n.length;m++){const E=n[m];if(To(t.attrs,E.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return m}for(let m=0;m<n.length;m++){const E=n[m];if(To(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(mu(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&&na(t,s))return s;const m=ii(t,this.tracksInGroup);if(m>-1){const E=this.tracksInGroup[m];return this.setSubtitleTrack(m),E}else{if(s)return null;{const E=ii(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),T=t.details,U=T==null?void 0:T.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&&T.live?" age "+U.toFixed(1)+(T.type?" "+T.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=Ic(t.textTracks),s=this.currentTrack;let m;if(s&&(m=n.filter(E=>mu(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:T,groupId:U="",name:W,type:N,url:te}=m;this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:T,groupId:U,name:W,type:N,url:te});const ce=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(ce)}}function Zo(){try{return crypto.randomUUID()}catch(P){try{const t=URL.createObjectURL(new Blob),n=t.toString();return URL.revokeObjectURL(t),n.slice(n.lastIndexOf("/")+1)}catch(t){let n=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,m=>{const E=(n+Math.random()*16)%16|0;return n=Math.floor(n/16),(m=="x"?E:E&3|8).toString(16)})}}}function xu(P){let t=5381,n=P.length;for(;n;)t=t*33^P.charCodeAt(--n);return(t>>>0).toString()}const nl=.025;let il=function(P){return P[P.Point=0]="Point",P[P.Range=1]="Range",P}({});function Ql(P,t,n){return`${P.identifier}-${n+1}-${xu(t)}`}class ql{constructor(t,n){this.base=void 0,this._duration=null,this._timelineStart=null,this.appendInPlaceDisabled=void 0,this.appendInPlaceStarted=void 0,this.dateRange=void 0,this.hasPlayed=!1,this.cumulativeDuration=0,this.resumeOffset=NaN,this.playoutLimit=NaN,this.restrictions={skip:!1,jump:!1},this.snapOptions={out:!1,in:!1},this.assetList=[],this.assetListLoader=void 0,this.assetListResponse=null,this.resumeAnchor=void 0,this.error=void 0,this.resetOnResume=void 0,this.base=n,this.dateRange=t,this.setDateRange(t)}setDateRange(t){this.dateRange=t,this.resumeOffset=t.attr.optionalFloat("X-RESUME-OFFSET",this.resumeOffset),this.playoutLimit=t.attr.optionalFloat("X-PLAYOUT-LIMIT",this.playoutLimit),this.restrictions=t.attr.enumeratedStringList("X-RESTRICT",this.restrictions),this.snapOptions=t.attr.enumeratedStringList("X-SNAP",this.snapOptions)}reset(){var t;this.appendInPlaceStarted=!1,(t=this.assetListLoader)==null||t.destroy(),this.assetListLoader=void 0,this.supplementsPrimary||(this.assetListResponse=null,this.assetList=[],this._duration=null)}isAssetPastPlayoutLimit(t){var n;if(t>0&&t>=this.assetList.length)return!0;const s=this.playoutLimit;return t<=0||isNaN(s)?!1:s===0?!0:(((n=this.assetList[t])==null?void 0:n.startOffset)||0)>s}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 xl(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=xl(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 xl(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)<nl))}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"?il.Range:il.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 Jl(this)}}function xl(P,t){return P-t.start<t.duration/2&&!(Math.abs(P-(t.start+t.duration))<nl)?t.start:t.start+t.duration}function Yc(P,t,n){const s=new self.URL(P,n);return s.protocol!=="data:"&&s.searchParams.set("_HLS_primary_id",t),s}function Ml(P,t){for(;(n=P.assetList[++t])!=null&&n.error;)var n;return t}function Jl(P){return`["${P.identifier}" ${P.cue.pre?"<pre>":P.cue.post?"<post>":""}${P.timelineStart.toFixed(2)}-${P.resumeTime.toFixed(2)}]`}function Eu(P){const t=P.timelineStart,n=P.duration||0;return`["${P.identifier}" ${t.toFixed(2)}-${(t+n).toFixed(2)}]`}class Xc{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=()=>{this.reachedPlayout(this.currentTime)&&this.hls.trigger(o.PLAYOUT_LIMIT_REACHED,{})};const E=this.hls=new t(n);this.interstitial=s,this.assetItem=m;let T=m.uri;try{T=Yc(T,n.primarySessionId).href}catch(W){}E.loadSource(T);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,(W,{media:N})=>{this.removeMediaListeners(),this.mediaAttached=N,this.interstitial.playoutLimit&&(N.addEventListener("timeupdate",this.checkPlayout),this.appendInPlace&&E.on(o.BUFFER_APPENDED,()=>{const ce=this.bufferedEnd;this.reachedPlayout(ce)&&(this._bufferedEosTime=ce,E.trigger(o.BUFFERED_TO_END,void 0))}))})}get appendInPlace(){var t;return((t=this.interstitial)==null?void 0:t.appendInPlace)||!1}bufferedInPlaceToEnd(t){var n;if(!this.appendInPlace)return!1;if((n=this.hls)!=null&&n.bufferedToEnd)return!0;if(!t||!this._bufferedEosTime)return!1;const s=this.timelineOffset,m=mi.bufferInfo(t,s,0);return this.getAssetTime(m.end)>=this._bufferedEosTime-.02}reachedPlayout(t){const s=this.interstitial.playoutLimit;return this.startOffset+t>=s}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=mi.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()}resetDetails(){const t=this.hls;if(this.hasDetails){t.stopLoad();const n=s=>delete s.details;t.levels.forEach(n),t.allAudioTracks.forEach(n),t.allSubtitleTracks.forEach(n),this.hasDetails=!1}}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;return`HlsAssetPlayer: ${Eu(this.assetItem)} ${(t=this.hls)==null?void 0:t.sessionId} ${this.appendInPlace?"append-in-place":""}`}}const pc=.033;class Lu extends R{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 T=s[E];if(!T.error){const U=T.timelineStart;if(n===U||n>U&&n<U+(T.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,T=this.parseDateRanges(m,{url:s.url},n),U=Object.keys(m),W=E?E.filter(N=>!U.includes(N.identifier)):[];T.length&&T.sort((N,te)=>{const ce=N.cue.pre,xe=N.cue.post,Ie=te.cue.pre,Ae=te.cue.post;if(ce&&!Ie)return-1;if(Ie&&!ce||xe&&!Ae)return 1;if(Ae&&!xe)return-1;if(!ce&&!Ie&&!xe&&!Ae){const at=N.startTime,tt=te.startTime;if(at!==tt)return at-tt}return N.dateRange.tagOrder-te.dateRange.tagOrder}),this.events=T,W.forEach(N=>{this.removeEvent(N)}),this.updateSchedule(t,W)}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,W)=>Math.abs(U.playout.start-m[W].playout.start)>.005||Math.abs(U.playout.end-m[W].playout.end)>.005))&&(this.items=E,this.onScheduleUpdate(n,m))}}parseDateRanges(t,n,s){const m=[],E=Object.keys(t);for(let T=0;T<E.length;T++){const U=E[T],W=t[U];if(W.isInterstitial){let N=this.eventMap[U];N?N.setDateRange(W):(N=new ql(W,n),this.eventMap[U]=N,s===!1&&(N.appendInPlace=s)),m.push(N)}}return m}parseSchedule(t,n){const s=[],m=n.main.details,E=m.live?1/0:m.edge;let T=0;if(t=t.filter(W=>!W.error&&!(W.cue.once&&W.hasPlayed)),t.length){this.resolveOffsets(t,n);let W=0,N=0;if(t.forEach((te,ce)=>{const xe=te.cue.pre,Ie=te.cue.post,Ae=t[ce-1]||null,at=te.appendInPlace,tt=Ie?E:te.startOffset,kt=te.duration,fr=te.timelineOccupancy===il.Range?kt:0,sr=te.resumptionOffset,kr=(Ae==null?void 0:Ae.startTime)===tt,zr=tt+te.cumulativeDuration;let ln=at?zr+kt:tt+sr;if(xe||!Ie&&tt<=0){const en=N;N+=fr,te.timelineStart=zr;const un=T;T+=kt,s.push({event:te,start:zr,end:ln,playout:{start:un,end:T},integrated:{start:en,end:N}})}else if(tt<=E){if(!kr){const Kr=tt-W;if(Kr>pc){const Un=W,pi=N;N+=Kr;const ua=T;T+=Kr;const ji={previousEvent:t[ce-1]||null,nextEvent:te,start:Un,end:Un+Kr,playout:{start:ua,end:T},integrated:{start:pi,end:N}};s.push(ji)}else Kr>0&&Ae&&(Ae.cumulativeDuration+=Kr,s[s.length-1].end=tt)}Ie&&(ln=zr),te.timelineStart=zr;const en=N;N+=fr;const un=T;T+=kt,s.push({event:te,start:zr,end:ln,playout:{start:un,end:T},integrated:{start:en,end:N}})}else return;const Wr=te.resumeTime;Ie||Wr>E?W=E:W=Wr}),W<E){var U;const te=W,ce=N,xe=E-W;N+=xe;const Ie=T;T+=xe,s.push({previousEvent:((U=s[s.length-1])==null?void 0:U.event)||null,nextEvent:null,start:W,end:te+xe,playout:{start:Ie,end:T},integrated:{start:ce,end:N}})}this.setDurations(E,T,N)}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,T=-1;t.forEach((U,W)=>{const N=U.cue.pre,te=U.cue.post,ce=N?0:te?m:U.startTime;this.updateAssetDurations(U),T===ce?U.cumulativeDuration=E:(E=0,T=ce),!te&&U.snapOptions.in&&(U.resumeAnchor=qn(null,s.fragments,U.startOffset+U.resumptionOffset,0,0)||void 0),U.appendInPlace&&!U.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(U,n)||(U.appendInPlace=!1)),!U.appendInPlace&&W+1<t.length&&t[W+1].startTime-t[W].resumeTime<pc&&(t[W+1].appendInPlace=!1,t[W+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${U}`));const Ie=r(U.resumeOffset)?U.resumeOffset:U.duration;E+=Ie})}primaryCanResumeInPlaceAt(t,n){const s=t.resumeTime,m=t.startTime+t.resumptionOffset;return Math.abs(s-m)>nl?(this.log(`"${t.identifier}" resumption ${s} not aligned with estimated timeline end ${m}`),!1):n?!Object.keys(n).some(T=>{const U=n[T].details,W=U.edge;if(s>=W)return this.log(`"${t.identifier}" resumption ${s} past ${T} playlist end ${W}`),!1;const N=qn(null,U.fragments,s);if(!N)return this.log(`"${t.identifier}" resumption ${s} does not align with any fragments in ${T} playlist (${U.fragStart}-${U.fragmentEnd})`),!0;const te=T==="audio"?.175:0;return Math.abs(N.start-s)<nl+te||Math.abs(N.end-s)<nl+te?!1:(this.log(`"${t.identifier}" resumption ${s} not aligned with ${T} fragment bounds (${N.start}-${N.end} sn: ${N.sn} cc: ${N.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((T,U)=>{const W=n+s;T.startOffset=s,T.timelineStart=W,m||(m=T.duration===null),E||(E=!!T.error);const N=T.error?0:T.duration||0;s+=N}),m&&!E?t.duration=Math.max(s,t.duration):t.duration=s}removeEvent(t){t.reset(),delete this.eventMap[t.identifier]}}function lu(P){return`[${P.event?'"'+P.event.identifier+'"':"primary"}: ${P.start.toFixed(2)}-${P.end.toFixed(2)}]`}class ec{constructor(t){this.hls=void 0,this.hls=t}destroy(){this.hls=null}loadAssetList(t,n){const s=t.assetListUrl;let m;try{m=Yc(s,this.hls.sessionId,t.baseUrl)}catch(xe){const Ie=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,xe,s);this.hls.trigger(o.ERROR,Ie);return}n&&m.protocol!=="data:"&&m.searchParams.set("_HLS_start_offset",""+n);const E=this.hls.config,T=E.loader,U=new T(E),W={responseType:"json",url:m.href},N=E.interstitialAssetListLoadPolicy.default,te={loadPolicy:N,timeout:N.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Ie,Ae,at)=>{const tt=xe.data,kt=tt==null?void 0:tt.ASSETS;if(!Array.isArray(kt)){const fr=this.assignAssetListError(t,f.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),Ae.url,Ie,at);this.hls.trigger(o.ERROR,fr);return}t.assetListResponse=tt,this.hls.trigger(o.ASSET_LIST_LOADED,{event:t,assetListResponse:tt,networkDetails:at})},onError:(xe,Ie,Ae,at)=>{const tt=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${xe.code} ${xe.text} (${Ie.url})`),Ie.url,at,Ae);this.hls.trigger(o.ERROR,tt)},onTimeout:(xe,Ie,Ae)=>{const at=this.assignAssetListError(t,f.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${Ie.url})`),Ie.url,xe,Ae);this.hls.trigger(o.ERROR,at)}};return U.load(W,te,ce),this.hls.trigger(o.ASSET_LIST_LOADING,{event:t}),U}assignAssetListError(t,n,s,m,E,T){return t.error=s,{type:c.NETWORK_ERROR,details:n,fatal:!1,interstitial:t,url:m,error:s,networkDetails:T,stats:E}}}function _c(P){P==null||P.play().catch(()=>{})}class mc extends R{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 T=m<=-.01;this.timelinePos=s,this.bufferedPos=s;const U=this.playingItem;if(!U){this.checkBuffer();return}if(T&&this.schedule.resetErrorsInRange(s,s-m)&&this.updateSchedule(),this.checkBuffer(),T&&s<U.start||s>=U.end){var W;const xe=this.schedule.findItemIndexAtTime(this.timelinePos);if(!this.isInterstitial(U)&&(W=this.media)!=null&&W.paused&&(this.shouldPlay=!1),!T){const Ie=this.findItemIndex(U);if(xe>Ie){const Ae=this.schedule.findJumpRestrictedIndex(Ie+1,xe);if(Ae>Ie){this.setSchedulePosition(Ae);return}}}this.setSchedulePosition(xe);return}const N=this.playingAsset;if(!N){if(this.playingLastItem&&this.isInterstitial(U)){const xe=U.event.assetList[0];xe&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(s,xe))}return}const te=N.timelineStart,ce=N.duration||0;(T&&s<te||s>=te+ce)&&this.setScheduleToAssetAtTime(s,N)},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 T=E.timelineStart+(E.duration||0);s>=T&&this.setScheduleToAssetAtTime(s,E)},this.onScheduleUpdate=(s,m)=>{const E=this.schedule,T=this.playingItem,U=E.events||[],W=E.items||[],N=E.durations,te=s.map(Ae=>Ae.identifier),ce=!!(U.length||te.length);(ce||m)&&this.log(`INTERSTITIALS_UPDATED (${U.length}): ${U}
|
|
|
Schedule: ${W.map(Ae=>lu(Ae))} pos: ${this.timelinePos}`),te.length&&this.log(`Removed events ${te}`),this.playerQueue.forEach(Ae=>{if(Ae.interstitial.appendInPlace){const at=Ae.assetItem.timelineStart,tt=Ae.timelineOffset-at;if(tt)try{Ae.timelineOffset=at}catch(kt){Math.abs(tt)>nl&&this.warn(`${kt} ("${Ae.assetId}" ${Ae.timelineOffset}->${at})`)}}});let xe=null;if(T){const Ae=this.updateItem(T,this.timelinePos);this.itemsMatch(T,Ae)&&(this.playingItem=Ae,this.waitingItem=this.endedItem=null,xe=()=>this.trimInPlace(Ae,T))}else this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const Ie=this.bufferingItem;if(Ie){const Ae=this.updateItem(Ie,this.bufferedPos);this.itemsMatch(Ie,Ae)?(this.bufferingItem=Ae,xe||(xe=()=>this.trimInPlace(Ae,Ie))):Ie.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(Ie.event,null))}if(s.forEach(Ae=>{Ae.assetList.forEach(at=>{this.clearAssetPlayer(at.identifier,null)})}),ce||m){if(this.hls.trigger(o.INTERSTITIALS_UPDATED,{events:U.slice(0),schedule:W.slice(0),durations:N,removedIds:te}),this.isInterstitial(T)&&te.includes(T.event.identifier)){this.warn(`Interstitial "${T.event.identifier}" removed while playing`),this.primaryFallback(T.event);return}xe&&xe(),this.checkBuffer()}},this.hls=t,this.HlsPlayerClass=n,this.assetListLoader=new ec(t),this.schedule=new Lu(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;Vs(s,"seeking",this.onSeeking),Vs(s,"timeupdate",this.onTimeupdate),Vs(s,"play",this.onPlay),Vs(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=ce=>ce&&t.getAssetPlayer(ce.identifier),m=(ce,xe,Ie,Ae,at)=>{if(ce){let tt=ce[xe].start;const kt=ce.event;if(kt){if(xe==="playout"||kt.timelineOccupancy!==il.Point){const fr=s(Ie);(fr==null?void 0:fr.interstitial)===kt&&(tt+=fr.assetItem.startOffset+fr[at])}}else{const fr=Ae==="bufferedPos"?T():t[Ae];tt+=fr-ce.start}return tt}return 0},E=(ce,xe)=>{if(ce!==0&&xe!=="primary"&&t.schedule.length){var Ie;const Ae=t.schedule.findItemIndexAtTime(ce),at=(Ie=t.schedule.items)==null?void 0:Ie[Ae];if(at){const tt=at[xe].start-at.start;return ce+tt}}return ce},T=()=>{const ce=t.bufferedPos;return ce===Number.MAX_VALUE?U("primary"):Math.max(ce,0)},U=ce=>{var xe;return(xe=t.primaryDetails)!=null&&xe.live?t.primaryDetails.edge:t.schedule.durations[ce]},W=(ce,xe)=>{var Ie,Ae;const at=t.effectivePlayingItem;if(at!=null&&(Ie=at.event)!=null&&Ie.restrictions.skip)return;t.log(`seek to ${ce} "${xe}"`);const tt=t.effectivePlayingItem,kt=t.schedule.findItemIndexAtTime(ce,xe),fr=(Ae=t.schedule.items)==null?void 0:Ae[kt],sr=t.getBufferingPlayer(),kr=sr==null?void 0:sr.interstitial,zr=kr==null?void 0:kr.appendInPlace,ln=tt&&t.itemsMatch(tt,fr);if(tt&&(zr||ln)){const en=s(t.playingAsset),un=(en==null?void 0:en.media)||t.primaryMedia;if(un){const Kr=xe==="primary"?un.currentTime:m(tt,xe,t.playingAsset,"timelinePos","currentTime"),Un=ce-Kr,pi=(zr?Kr:un.currentTime)+Un;if(pi>=0&&(!en||zr||pi<=en.duration)){un.currentTime=pi;return}}}if(fr){let en=ce;if(xe!=="primary"){const Kr=fr[xe].start,Un=ce-Kr;en=fr.start+Un}const un=!t.isInterstitial(fr);if((!t.isInterstitial(tt)||tt.event.appendInPlace)&&(un||fr.event.appendInPlace)){const Kr=t.media||(zr?sr==null?void 0:sr.media:null);Kr&&(Kr.currentTime=en)}else if(tt){const Kr=t.findItemIndex(tt);if(kt>Kr){const pi=t.schedule.findJumpRestrictedIndex(Kr+1,kt);if(pi>Kr){t.setSchedulePosition(pi);return}}let Un=0;if(un)t.timelinePos=en,t.checkBuffer();else{var Wr;const pi=fr==null||(Wr=fr.event)==null?void 0:Wr.assetList;if(pi){const ua=ce-(fr[xe]||fr).start;for(let ji=pi.length;ji--;){const Ui=pi[ji];if(Ui.duration&&ua>=Ui.startOffset&&ua<Ui.startOffset+Ui.duration){Un=ji;break}}}}t.setSchedulePosition(kt,Un)}}},N=()=>{const ce=t.effectivePlayingItem;if(t.isInterstitial(ce))return ce;const xe=n();return t.isInterstitial(xe)?xe:null},te={get currentTime(){const ce=N(),xe=t.effectivePlayingItem;return xe&&xe===ce?m(xe,"playout",t.effectivePlayingAsset,"timelinePos","currentTime")-xe.playout.start:0},set currentTime(ce){const xe=N(),Ie=t.effectivePlayingItem;Ie&&Ie===xe&&W(ce+Ie.playout.start,"playout")},get duration(){const ce=N();return ce?ce.playout.end-ce.playout.start:0},get assetPlayers(){var ce;const xe=(ce=N())==null?void 0:ce.event.assetList;return xe?xe.map(Ie=>t.getAssetPlayer(Ie.identifier)):[]},get playingIndex(){var ce;const xe=(ce=N())==null?void 0:ce.event;return xe&&t.effectivePlayingAsset?xe.findAssetIndex(t.effectivePlayingAsset):-1},get scheduleItem(){return N()}};this.manager={get events(){var ce,xe;return((ce=t.schedule)==null||(xe=ce.events)==null?void 0:xe.slice(0))||[]},get schedule(){var ce,xe;return((ce=t.schedule)==null||(xe=ce.items)==null?void 0:xe.slice(0))||[]},get interstitialPlayer(){return N()?te:null},get playerQueue(){return t.playerQueue.slice(0)},get bufferingAsset(){return t.bufferingAsset},get bufferingItem(){return n()},get bufferingIndex(){const ce=n();return t.findItemIndex(ce)},get playingAsset(){return t.effectivePlayingAsset},get playingItem(){return t.effectivePlayingItem},get playingIndex(){const ce=t.effectivePlayingItem;return t.findItemIndex(ce)},primary:{get bufferedEnd(){return T()},get currentTime(){const ce=t.timelinePos;return ce>0?ce:0},set currentTime(ce){W(ce,"primary")},get duration(){return U("primary")},get seekableStart(){var ce;return((ce=t.primaryDetails)==null?void 0:ce.fragmentStart)||0}},integrated:{get bufferedEnd(){return m(n(),"integrated",t.bufferingAsset,"bufferedPos","bufferedEnd")},get currentTime(){return m(t.effectivePlayingItem,"integrated",t.effectivePlayingAsset,"timelinePos","currentTime")},set currentTime(ce){W(ce,"integrated")},get duration(){return U("integrated")},get seekableStart(){var ce;return E(((ce=t.primaryDetails)==null?void 0:ce.fragmentStart)||0,"integrated")}},skip:()=>{const ce=t.effectivePlayingItem,xe=ce==null?void 0:ce.event;if(xe&&!xe.restrictions.skip){const Ie=t.findItemIndex(ce);if(xe.appendInPlace){const Ae=ce.playout.start+ce.event.duration;W(Ae+.001,"playout")}else t.advanceAfterAssetEnded(xe,Ie,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 T=(s=E)==null?void 0:s.currentTime;if(!(T===void 0||!r(T)))return T}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} ${Tn(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 T=this.hls,U=t!==T,W=U&&t.interstitial.appendInPlace,N=(s=this.detachedData)==null?void 0:s.mediaSource;let te;if(T.media)W&&(E=T.transferMedia(),this.detachedData=E),te="Primary";else if(N){const Ie=this.getBufferingPlayer();Ie?(E=Ie.transferMedia(),te=`${Ie}`):te="detached MediaSource"}else te="detached media";if(!E){if(N)E=this.detachedData,this.log(`using detachedData: MediaSource ${Tn(E)}`);else if(!this.detachedData||T.media===n){const Ie=this.playerQueue;Ie.length>1&&Ie.forEach(Ae=>{if(U&&Ae.interstitial.appendInPlace!==W){const at=Ae.interstitial;this.clearInterstitial(Ae.interstitial,null),at.appendInPlace=!1,at.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${at}`)}}),this.hls.detachMedia(),this.detachedData={media:n}}}const ce=E&&"mediaSource"in E&&((m=E.mediaSource)==null?void 0:m.readyState)!=="closed",xe=ce&&E?E:n;if(this.log(`${ce?"transfering MediaSource":"attaching media"} to ${U?t:"Primary"} from ${te}`),xe===E){const Ie=U&&t.assetId===this.schedule.assetIdAtEnd;xe.overrides={duration:this.schedule.duration,endOfStream:!U||Ie,cueRemoval:!U}}t.attachMedia(xe)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const t=this.schedule,n=t.events;if(!n||this.playbackDisabled||!this.media)return;this.bufferedPos===-1&&(this.bufferedPos=0);const 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 T=t.findEventIndex(n[0].identifier);this.setSchedulePosition(T)}else if(E>=0||!this.primaryLive){const T=this.timelinePos=E>0?E:0,U=t.findItemIndexAtTime(T);this.setSchedulePosition(U)}}else if(m&&!this.playingItem){const E=t.findItemIndex(m);this.setSchedulePosition(E)}}advanceAfterAssetEnded(t,n,s){const m=Ml(t,s);if(!t.isAssetPastPlayoutLimit(m))this.setSchedulePosition(n,m);else{const E=this.schedule.items;if(E){const T=n+1,U=E.length;if(T>=U){this.setSchedulePosition(-1);return}const W=t.resumeTime;this.timelinePos<W&&(this.timelinePos=W,this.checkBuffer()),this.setSchedulePosition(T)}}}setScheduleToAssetAtTime(t,n){const s=this.schedule,m=n.parentIdentifier,E=s.getEvent(m);if(E){const T=s.findEventIndex(m),U=s.findAssetIndex(E,t);this.advanceAfterAssetEnded(E,T,U-1)}}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,T=this.playingLastItem;if(this.isInterstitial(E)){var U;const N=E.event,te=this.playingAsset,ce=te==null?void 0:te.identifier,xe=ce?this.getAssetPlayer(ce):null;if(xe&&ce&&(!this.eventItemsMatch(E,m)||n!==void 0&&ce!==((U=N.assetList)==null?void 0:U[n].identifier))){var W;const Ie=N.findAssetIndex(te);this.log(`INTERSTITIAL_ASSET_ENDED ${Ie+1}/${N.assetList.length} ${Eu(te)}`),this.endedAsset=te,this.playingAsset=null,this.hls.trigger(o.INTERSTITIAL_ASSET_ENDED,{asset:te,assetListIndex:Ie,event:N,schedule:s.slice(0),scheduleIndex:t,player:xe}),this.retreiveMediaSource(ce,m),xe.media&&!((W=this.detachedData)!=null&&W.mediaSource)&&xe.detachMedia()}if(!this.eventItemsMatch(E,m)&&(this.endedItem=E,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${N} ${lu(E)}`),N.hasPlayed=!0,this.hls.trigger(o.INTERSTITIAL_ENDED,{event:N,schedule:s.slice(0),scheduleIndex:t}),N.cue.once)){this.updateSchedule();const Ie=this.schedule.items;if(m&&Ie){const Ae=this.schedule.findItemIndex(m);this.advanceSchedule(Ae,Ie,n,E,T)}return}}this.advanceSchedule(t,s,n,E,T)}advanceSchedule(t,n,s,m,E){const T=t>=0?n[t]:null,U=this.primaryMedia,W=this.playerQueue;if(W.length&&W.forEach(N=>{const te=N.interstitial,ce=this.schedule.findEventIndex(te.identifier);(ce<t||ce>t+1)&&this.clearInterstitial(te,T)}),this.isInterstitial(T)){this.timelinePos=Math.min(Math.max(this.timelinePos,T.start),T.end);const N=T.event;if(s===void 0){s=this.schedule.findAssetIndex(N,this.timelinePos);const Ie=Ml(N,s-1);if(N.isAssetPastPlayoutLimit(Ie)){this.advanceAfterAssetEnded(N,t,s);return}s=Ie}const te=this.waitingItem;this.assetsBuffered(T,U)||this.setBufferingItem(T);let ce=this.preloadAssets(N,s);if(this.eventItemsMatch(T,te||m)||(this.waitingItem=T,this.log(`INTERSTITIAL_STARTED ${lu(T)} ${N.appendInPlace?"append in place":""}`),this.hls.trigger(o.INTERSTITIAL_STARTED,{event:N,schedule:n.slice(0),scheduleIndex:t})),!N.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${N}`);return}if(N.assetListLoader&&(N.assetListLoader.destroy(),N.assetListLoader=void 0),!U){this.log(`Waiting for attachMedia to start Interstitial ${N}`);return}this.waitingItem=this.endedItem=null,this.playingItem=T;const xe=N.assetList[s];if(!xe){const Ie=n[t+1],Ae=this.media;Ie&&Ae&&!this.isInterstitial(Ie)&&Ae.currentTime<Ie.start&&(Ae.currentTime=this.timelinePos=Ie.start),this.advanceAfterAssetEnded(N,t,s||0);return}if(ce||(ce=this.getAssetPlayer(xe.identifier)),ce===null||ce.destroyed){const Ie=N.assetList.length;this.warn(`asset ${s+1}/${Ie} player destroyed ${N}`),ce=this.createAssetPlayer(N,xe,s)}if(!this.eventItemsMatch(T,this.bufferingItem)&&N.appendInPlace&&this.isAssetBuffered(xe))return;this.startAssetPlayer(ce,s,n,t,U),this.shouldPlay&&_c(ce.media)}else T!==null?(this.resumePrimary(T,t,m),this.shouldPlay&&_c(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 ${lu(t)}`),!((m=this.detachedData)!=null&&m.mediaSource)){let T=this.timelinePos;(T<t.start||T>=t.end)&&(T=this.getPrimaryResumption(t,n),this.timelinePos=T),this.attachPrimary(T,t)}if(!s)return;const E=this.schedule.items;E&&(this.log(`INTERSTITIALS_PRIMARY_RESUMED ${lu(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:mi.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=gi(n);this.playerQueue.forEach(m=>m.hls.setAudioOption(n)||m.hls.setAudioOption(s))}onSubtitleTrackSwitch(t,n){const s=gi(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 T=this.schedule.findEventIndex(E.identifier),U=(s=this.schedule.items)==null?void 0:s[T];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}trimInPlace(t,n){if(this.isInterstitial(t)&&t.event.appendInPlace&&n.end-t.end>.25){t.event.assetList.forEach((E,T)=>{t.event.isAssetPastPlayoutLimit(T)&&this.clearAssetPlayer(E.identifier,null)});const s=t.end+.25,m=mi.bufferInfo(this.primaryMedia,s,0);(m.end>s||(m.nextStart||0)>s)&&(this.attachPrimary(s,null),this.flushFrontBuffer(s))}}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=mi.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 T=this.playingItem,U=this.findItemIndex(T);let W=m.findItemIndexAtTime(t);if(this.bufferedPos<t){var N,te;const ce=this.findItemIndex(E),xe=Math.min(ce+1,n.length-1),Ie=n[xe];if((W===-1&&E&&t>=E.end||(N=Ie.event)!=null&&N.appendInPlace&&t+.01>=Ie.start)&&(W=xe),xe-U>1&&(E==null||(te=E.event)==null?void 0:te.appendInPlace)===!1)return;if(this.bufferedPos=t,W>ce&&W>U)this.bufferedToItem(Ie);else{const Ae=this.primaryDetails;this.primaryLive&&Ae&&t>Ae.edge-Ae.targetduration&&Ie.start<Ae.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(Ie)&&this.preloadAssets(Ie.event,0)}}else s&&T&&!this.itemsMatch(T,E)&&(W===U?this.bufferedToItem(T):W===U+1&&this.bufferedToItem(n[W]))}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 T=this.isInterstitial(t),U=this.getBufferingPlayer();this.bufferingItem=t,this.bufferedPos=Math.max(t.start,Math.min(t.end,this.timelinePos));const W=U?U.remaining:n?n.end-this.timelinePos:0;this.log(`INTERSTITIALS_BUFFERED_TO_BOUNDARY ${lu(t)}`+(n?` (${W.toFixed(2)} remaining)`:"")),this.playbackDisabled||(T?t.event.assetList.forEach(N=>{const te=this.getAssetPlayer(N.identifier);te&&te.resumeBuffering()}):(this.hls.resumeBuffering(),this.playerQueue.forEach(N=>N.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 T=this.preloadAssets(s,n);if(T!=null&&T.interstitial.appendInPlace){const U=s.assetList[n],W=this.primaryMedia;U&&W&&this.bufferAssetPlayer(T,W)}}}preloadAssets(t,n){const s=t.assetUrl,m=t.assetList.length,E=m===0&&!t.assetListLoader,T=t.cue.once;if(E){const W=t.timelineStart;if(t.appendInPlace){var U;const xe=this.playingItem;!this.isInterstitial(xe)&&(xe==null||(U=xe.nextEvent)==null?void 0:U.identifier)===t.identifier&&this.flushFrontBuffer(W+.25)}let N,te=0;if(!this.playingItem&&this.primaryLive&&(te=this.hls.startPosition,te===-1&&(te=this.hls.liveSyncPosition||0)),te&&!(t.cue.pre||t.cue.post)){const xe=te-W;xe>0&&(N=Math.round(xe*1e3)/1e3)}if(this.log(`Load interstitial asset ${n+1}/${s?1:m} ${t}${N?` live-start: ${te} start-offset: ${N}`:""}`),s)return this.createAsset(t,0,0,W,t.duration,s);const ce=this.assetListLoader.loadAssetList(t,N);ce&&(t.assetListLoader=ce)}else if(!T&&m){for(let W=n;W<m;W++){const N=t.assetList[W],te=this.getAssetPlayerQueueIndex(N.identifier);(te===-1||this.playerQueue[te].destroyed)&&!N.error&&this.createAssetPlayer(t,N,W)}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,T){const U={parentIdentifier:t.identifier,identifier:Ql(t,T,n),duration:E,startOffset:s,timelineStart:m,uri:T};return this.createAssetPlayer(t,U,n)}createAssetPlayer(t,n,s){const m=this.hls,E=m.userConfig;let T=E.videoPreference;const U=m.loadLevelObj||m.levels[m.currentLevel];(T||U)&&(T=y({},T),U.videoCodec&&(T.videoCodec=U.videoCodec),U.videoRange&&(T.allowedVideoRanges=[U.videoRange]));const W=m.audioTracks[m.audioTrack],N=m.subtitleTracks[m.subtitleTrack];let te=0;if(this.primaryLive||t.appendInPlace){const sr=this.timelinePos-n.timelineStart;if(sr>1){const kr=n.duration;kr&&sr<kr&&(te=sr)}}const ce=n.identifier,xe=b(b({},E),{},{autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:m.sessionId,assetPlayerId:ce,abrEwmaDefaultEstimate:m.bandwidthEstimate,interstitialsController:void 0,startPosition:te,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:T,audioPreference:W||E.audioPreference,subtitlePreference:N||E.subtitlePreference});t.appendInPlace&&(t.appendInPlaceStarted=!0,n.timelineStart&&(xe.timelineOffset=n.timelineStart));const Ie=xe.cmcd;Ie!=null&&Ie.sessionId&&Ie.contentId&&(xe.cmcd=y({},Ie,{contentId:xu(n.uri)})),this.getAssetPlayer(ce)&&this.warn(`Duplicate date range identifier ${t} and asset ${ce}`);const Ae=new Xc(this.HlsPlayerClass,xe,t,n);this.playerQueue.push(Ae),t.assetList[s]=n;const at=sr=>{if(sr.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 kr=sr.edge-sr.fragmentStart,zr=n.duration;(zr===null||kr>zr)&&(this.log(`Interstitial asset "${ce}" duration change ${zr} > ${kr}`),n.duration=kr,this.updateSchedule())};Ae.on(o.LEVEL_UPDATED,(sr,{details:kr})=>at(kr)),Ae.on(o.LEVEL_PTS_UPDATED,(sr,{details:kr})=>at(kr));const tt=(sr,kr)=>{const zr=this.getAssetPlayer(ce);if(zr&&kr.tracks){zr.off(o.BUFFER_CODECS,tt),zr.tracks=kr.tracks;const ln=this.primaryMedia;this.bufferingAsset===zr.assetItem&&ln&&!zr.media&&this.bufferAssetPlayer(zr,ln)}};Ae.on(o.BUFFER_CODECS,tt);const kt=()=>{var sr;const kr=this.getAssetPlayer(ce);if(this.log(`buffered to end of asset ${kr}`),!kr)return;const zr=this.schedule.findEventIndex(t.identifier),ln=(sr=this.schedule.items)==null?void 0:sr[zr];if(this.isInterstitial(ln)){const en=t.findAssetIndex(n),un=Ml(t,en);if(!t.isAssetPastPlayoutLimit(un))this.bufferedToItem(ln,un);else{var Wr;const Kr=(Wr=this.schedule.items)==null?void 0:Wr[zr+1];Kr&&this.bufferedToItem(Kr)}}};Ae.on(o.BUFFERED_TO_END,kt);const fr=sr=>()=>{if(!this.getAssetPlayer(ce))return;this.shouldPlay=!0;const zr=this.schedule.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,zr,sr)};return Ae.once(o.MEDIA_ENDED,fr(s)),Ae.once(o.PLAYOUT_LIMIT_REACHED,fr(1/0)),Ae.on(o.ERROR,(sr,kr)=>{const zr=this.getAssetPlayer(ce);if(kr.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 ${ce} ${t} at ${zr.media.currentTime}`),kt()):(this.warn(`Stalled at ${ln} of ${ln+Wr} in asset ${ce} ${t}`),this.onTimeupdate(),this.checkBuffer(!0))}return}this.handleAssetItemError(kr,t,this.schedule.findEventIndex(t.identifier),s,`Asset player error ${kr.error} ${t}`)}),Ae.on(o.DESTROYING,()=>{if(!this.getAssetPlayer(ce))return;const kr=new Error(`Asset player destroyed unexpectedly ${ce}`),zr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:kr};this.handleAssetItemError(zr,t,this.schedule.findEventIndex(t.identifier),s,kr.message)}),this.log(`INTERSTITIAL_ASSET_PLAYER_CREATED ${Eu(n)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:n,assetListIndex:s,event:t,player:Ae}),Ae}clearInterstitial(t,n){t.assetList.forEach(s=>{this.clearAssetPlayer(s.identifier,n)}),t.reset()}resetAssetPlayer(t){const n=this.getAssetPlayerQueueIndex(t);if(n!==-1){this.log(`reset asset player "${t}" after error`);const s=this.playerQueue[n];this.transferMediaFromPlayer(s,null),s.resetDetails()}}clearAssetPlayer(t,n){const s=this.getAssetPlayerQueueIndex(t);if(s!==-1){this.log(`clear asset player "${t}" toSegment: ${n&&lu(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:T,assetItem:U,assetId:W}=t,N=T.assetList.length,te=this.playingAsset;this.endedAsset=null,this.playingAsset=U,(!te||te.identifier!==W)&&(te&&(this.clearAssetPlayer(te.identifier,s[m]),delete te.error),this.log(`INTERSTITIAL_ASSET_STARTED ${n+1}/${N} ${Eu(U)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_STARTED,{asset:U,assetListIndex:n,event:T,schedule:s.slice(0),scheduleIndex:m,player:t})),this.bufferAssetPlayer(t,E)}bufferAssetPlayer(t,n){var s,m;const{interstitial:E,assetItem:T}=t,U=this.schedule.findEventIndex(E.identifier),W=(s=this.schedule.items)==null?void 0:s[U];if(!W)return;this.setBufferingItem(W),this.bufferingAsset=T;const N=this.getBufferingPlayer();if(N===t)return;const te=E.appendInPlace;if(te&&(N==null?void 0:N.interstitial.appendInPlace)===!1)return;const ce=(N==null?void 0:N.tracks)||((m=this.detachedData)==null?void 0:m.tracks)||this.requiredTracks;if(te&&T!==this.playingAsset){if(!t.tracks)return;if(ce&&!ue(ce,t.tracks)){const xe=new Error(`Asset ${Eu(T)} SourceBuffer tracks ('${Object.keys(t.tracks)}') are not compatible with primary content tracks ('${Object.keys(ce)}')`),Ie={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:xe},Ae=E.findAssetIndex(T);this.handleAssetItemError(Ie,E,U,Ae,xe.message);return}}this.transferMediaTo(t,n)}handleAssetItemError(t,n,s,m,E){if(t.details===f.BUFFER_STALLED_ERROR)return;const T=n.assetList[m];this.warn(`INTERSTITIAL_ASSET_ERROR ${T&&Eu(T)} ${t.error}`);const U=T==null?void 0:T.identifier,W=this.getAssetPlayerQueueIndex(U),N=this.playerQueue[W]||null,te=this.schedule.items,ce=y({},t,{fatal:!1,errorAction:st(!0),asset:T,assetListIndex:m,event:n,schedule:te,scheduleIndex:s,player:N});if(this.hls.trigger(o.INTERSTITIAL_ASSET_ERROR,ce),!t.fatal)return;const xe=this.playingAsset,Ie=new Error(E);if(T&&(this.clearAssetPlayer(U,null),T.error=Ie),!n.assetList.some(Ae=>!Ae.error))n.error=Ie;else if(n.appendInPlace){for(let Ae=m;Ae<n.assetList.length;Ae++)this.resetAssetPlayer(n.assetList[Ae].identifier);this.updateSchedule()}n.error?this.primaryFallback(n):xe&&xe.identifier===U&&this.advanceAfterAssetEnded(n,s,m)}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?lu(s):"<none>"} error: ${t.error}`);let m=this.timelinePos;m===-1&&(m=this.hls.startPosition);const E=this.updateItem(s,m);this.itemsMatch(s,E)&&this.clearInterstitial(t,null),t.appendInPlace&&(this.attachPrimary(n,null),this.flushFrontBuffer(n));const T=this.schedule.findItemIndexAtTime(m);this.setSchedulePosition(T)}else this.checkStart()}onAssetListLoaded(t,n){var s;const m=n.event,E=m.identifier,T=n.assetListResponse.ASSETS;if(!this.schedule.hasEvent(E))return;const U=m.timelineStart,W=m.duration;let N=0;T.forEach((Ae,at)=>{const tt=parseFloat(Ae.DURATION);this.createAsset(m,at,N,U+N,tt,Ae.URI),N+=tt}),m.duration=N,this.log(`Loaded asset-list with duration: ${N} (was: ${W}) ${m}`);const te=this.waitingItem,ce=(te==null?void 0:te.event.identifier)===E;this.updateSchedule();const xe=(s=this.bufferingItem)==null?void 0:s.event;if(ce){var Ie;const Ae=this.schedule.findEventIndex(E),at=(Ie=this.schedule.items)==null?void 0:Ie[Ae];if(at){if(!this.playingItem&&this.timelinePos>at.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==Ae){m.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${m}`),this.primaryFallback(m);return}this.setBufferingItem(at)}this.setSchedulePosition(Ae)}else if((xe==null?void 0:xe.identifier)===E&&xe.appendInPlace){const Ae=m.assetList[0],at=this.getAssetPlayer(Ae.identifier),tt=this.primaryMedia;Ae&&at&&tt&&this.bufferAssetPlayer(at,tt)}}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 Dc=500;class I extends ga{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=Vr.IDLE,this.setInterval(Dc),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(_e(s)&&(this.fragPrevious=s),this.state=Vr.IDLE,!m)return;const E=this.tracksBuffered[this.currentTrackId];if(!E)return;let T;const U=s.start;for(let N=0;N<E.length;N++)if(U>=E[N].start&&U<=E[N].end){T=E[N];break}const W=s.start+s.duration;T?T.end=W:(T={start:U,end:W},E.push(T)),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(T=>{for(let U=0;U<T.length;){if(T[U].end<=E){T.shift();continue}else if(T[U].start<E)T[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!==Vr.STOPPED&&(this.state=Vr.IDLE))}onSubtitleTracksUpdated(t,{subtitleTracks:n}){if(this.levels&&Gs(this.levels,n)){this.levels=n.map(s=>new zn(s));return}this.tracksBuffered=[],this.levels=n.map(s=>{const m=new zn(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!==Vr.STOPPED&&this.setInterval(Dc)}onSubtitleTrackLoaded(t,n){var s;const{currentTrackId:m,levels:E}=this,{details:T,id:U}=n;if(!E){this.warn(`Subtitle tracks were reset while loading level ${U}`);return}const W=E[U];if(U>=E.length||!W)return;this.log(`Subtitle track ${U} loaded [${T.startSN},${T.endSN}]${T.lastPartSn?`[part-${T.lastPartSn}-${T.lastPartIndex}]`:""},duration:${T.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let N=0;if(T.live||(s=W.details)!=null&&s.live){const ce=this.mainDetails;if(T.deltaUpdateFailed||!ce)return;const xe=ce.fragments[0];if(!W.details)T.hasProgramDateTime&&ce.hasProgramDateTime?(Xi(T,ce),N=T.fragmentStart):xe&&(N=xe.start,$n(T,N));else{var te;N=this.alignPlaylists(T,W.details,(te=this.levelLastLoaded)==null?void 0:te.details),N===0&&xe&&(N=xe.start,$n(T,N))}}W.details=T,this.levelLastLoaded=W,U===m&&(this.hls.trigger(o.SUBTITLE_TRACK_UPDATED,{details:T,id:U,groupId:n.groupId}),this.tick(),T.live&&!this.fragCurrent&&this.media&&this.state===Vr.IDLE&&(qn(null,T.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),W.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&&ja(m.method)){const T=performance.now();this.decrypter.decrypt(new Uint8Array(s),m.key.buffer,m.iv.buffer,zi(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 W=performance.now();E.trigger(o.FRAG_DECRYPTED,{frag:n,payload:U,stats:{tstart:T,tdecrypt:W}})}).catch(U=>{this.warn(`${U.name}: ${U.message}`),this.state=Vr.IDLE})}}doTick(){if(!this.media){this.state=Vr.IDLE;return}if(this.state===Vr.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(),T=mi.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],E,m.maxBufferHole),{end:U,len:W}=T,N=s.details,te=this.hls.maxBufferLength+N.levelTargetDuration;if(W>te)return;const ce=N.fragments,xe=ce.length,Ie=N.edge;let Ae=null;const at=this.fragPrevious;if(U<Ie){const fr=m.maxFragLookUpTolerance,sr=U>Ie-fr?0:fr;Ae=qn(at,ce,Math.max(ce[0].start,U),sr),!Ae&&at&&at.start<ce[0].start&&(Ae=ce[0])}else Ae=ce[xe-1];if(Ae=this.filterReplacedPrimary(Ae,s.details),!Ae)return;const tt=Ae.sn-N.startSN,kt=ce[tt-1];if(kt&&kt.cc===Ae.cc&&this.fragmentTracker.getState(kt)===nr.NOT_LOADED&&(Ae=kt),this.fragmentTracker.getState(Ae)===nr.NOT_LOADED){const fr=this.mapToInitFragWhenRequired(Ae);fr&&this.loadFragment(fr,s,U)}}}loadFragment(t,n,s){_e(t)?super.loadFragment(t,n,s):this._loadInitSegment(t,n)}get mediaBufferTimeRanges(){return new O(this.tracksBuffered[this.currentTrackId]||[])}}class O{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 L={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},me=P=>String.fromCharCode(L[P]||P),Re=15,qr=100,Nn={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},dn={17:2,18:4,21:6,22:8,23:10,19:13,20:15},Oi={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Ya={25:2,26:4,29:6,30:8,31:10,27:13,28:15},Oa=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Do{constructor(){this.time=null,this.verboseLevel=0}log(t,n){if(this.verboseLevel>=t){const s=typeof n=="function"?n():n;G.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 co{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 bs{constructor(){this.uchar=" ",this.penState=new co}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 Oc{constructor(t){this.chars=[],this.pos=0,this.currPenState=new co,this.cueStartTime=null,this.logger=void 0;for(let n=0;n<qr;n++)this.chars.push(new bs);this.logger=t}equals(t){for(let n=0;n<qr;n++)if(!this.chars[n].equals(t.chars[n]))return!1;return!0}copy(t){for(let n=0;n<qr;n++)this.chars[n].copy(t.chars[n])}isEmpty(){let t=!0;for(let n=0;n<qr;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>qr&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=qr)}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=me(t);if(this.pos>=qr){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<qr;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<qr;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 tc{constructor(t){this.rows=[],this.currRow=Re-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let n=0;n<Re;n++)this.rows.push(new Oc(t));this.logger=t}reset(){for(let t=0;t<Re;t++)this.rows[t].clear();this.currRow=Re-1}equals(t){let n=!0;for(let s=0;s<Re;s++)if(!this.rows[s].equals(t.rows[s])){n=!1;break}return n}copy(t){for(let n=0;n<Re;n++)this.rows[n].copy(t.rows[n])}isEmpty(){let t=!0;for(let n=0;n<Re;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 = "+Tn(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<Re;U++)this.rows[U].clear();const E=this.currRow+1-this.nrRollUpRows,T=this.lastOutputScreen;if(T){const U=T.rows[E].cueStartTime,W=this.logger.time;if(U!==null&&W!==null&&U<W)for(let N=0;N<this.nrRollUpRows;N++)this.rows[n-this.nrRollUpRows+N+1].copy(T.rows[E+N])}}this.currRow=n;const s=this.rows[this.currRow];if(t.indent!==null){const E=t.indent,T=Math.max(E-1,0);s.setCursor(t.indent),t.color=s.chars[T].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 = "+Tn(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<Re;E++){const T=this.rows[E].getTextString();T&&(m=E+1,t?n.push("Row "+m+": '"+T+"'"):n.push(T.trim()))}return n.length>0&&(t?s="["+n.join(" | ")+"]":s=n.join(`
|
|
|
`)),s}getTextAndFormat(){return this.rows}}class rc{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 tc(s),this.nonDisplayedMemory=new tc(s),this.lastOutputScreen=new tc(s),this.currRollUpRow=this.displayedMemory.rows[Re-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[Re-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: "+Tn(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 vc{constructor(t,n,s){this.channels=void 0,this.currentChannel=0,this.cmdHistory=nc(),this.logger=void 0;const m=this.logger=new Do;this.channels=[null,new rc(t,n,m),new rc(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 T=!1,U=null;if(m===0&&E===0)continue;this.logger.log(3,()=>"["+Ma([n[s],n[s+1]])+"] -> ("+Ma([m,E])+")");const W=this.cmdHistory;if(m>=16&&m<=31){if(ki(m,E,W)){Mu(null,null,W),this.logger.log(3,()=>"Repeated command ("+Ma([m,E])+") is dropped");continue}Mu(m,E,this.cmdHistory),T=this.parseCmd(m,E),T||(T=this.parseMidrow(m,E)),T||(T=this.parsePAC(m,E)),T||(T=this.parseBackgroundAttributes(m,E))}else Mu(null,null,W);if(!T&&(U=this.parseChars(m,E),U)){const te=this.currentChannel;te&&te>0?this.channels[te].insertChars(U):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!T&&!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,T=this.channels[E];return t===20||t===21||t===28||t===29?n===32?T.ccRCL():n===33?T.ccBS():n===34?T.ccAOF():n===35?T.ccAON():n===36?T.ccDER():n===37?T.ccRU(2):n===38?T.ccRU(3):n===39?T.ccRU(4):n===40?T.ccFON():n===41?T.ccRDC():n===42?T.ccTR():n===43?T.ccRTD():n===44?T.ccEDM():n===45?T.ccCR():n===46?T.ccENM():n===47&&T.ccEOC():T.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 T=t<=23?1:2;n>=64&&n<=95?s=T===1?Nn[t]:Oi[t]:s=T===1?dn[t]:Ya[t];const U=this.channels[T];return U?(U.setPAC(this.interpretPAC(s,n)),this.currentChannel=T,!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 T;E===17?T=n+80:E===18?T=n+112:T=n+144,this.logger.log(2,()=>"Special char '"+me(T)+"' in channel "+s),m=[T]}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 T={};t===16||t===24?(E=Math.floor((n-32)/2),T.background=Oa[E],n%2===1&&(T.background=T.background+"_semi")):n===45?T.background="transparent":(T.foreground="black",n===47&&(T.underline=!0));const U=t<=23?1:2;return this.channels[U].setBkgData(T),!0}reset(){for(let t=0;t<Object.keys(this.channels).length;t++){const n=this.channels[t];n&&n.reset()}Mu(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 Mu(P,t,n){n.a=P,n.b=t}function ki(P,t,n){return n.a===P&&n.b===t}function nc(){return{a:null,b:null}}var Fl=function(){if(ho!=null&&ho.VTTCue)return self.VTTCue;const P=["","lr","rl"],t=["start","middle","end","left","right"];function n(U,W){if(typeof W!="string"||!Array.isArray(U))return!1;const N=W.toLowerCase();return~U.indexOf(N)?N:!1}function s(U){return n(P,U)}function m(U){return n(t,U)}function E(U,...W){let N=1;for(;N<arguments.length;N++){const te=arguments[N];for(const ce in te)U[ce]=te[ce]}return U}function T(U,W,N){const te=this,ce={enumerable:!0};te.hasBeenReset=!1;let xe="",Ie=!1,Ae=U,at=W,tt=N,kt=null,fr="",sr=!0,kr="auto",zr="start",ln=50,Wr="middle",en=50,un="middle";Object.defineProperty(te,"id",E({},ce,{get:function(){return xe},set:function(Kr){xe=""+Kr}})),Object.defineProperty(te,"pauseOnExit",E({},ce,{get:function(){return Ie},set:function(Kr){Ie=!!Kr}})),Object.defineProperty(te,"startTime",E({},ce,{get:function(){return Ae},set:function(Kr){if(typeof Kr!="number")throw new TypeError("Start time must be set to a number.");Ae=Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"endTime",E({},ce,{get:function(){return at},set:function(Kr){if(typeof Kr!="number")throw new TypeError("End time must be set to a number.");at=Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"text",E({},ce,{get:function(){return tt},set:function(Kr){tt=""+Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"region",E({},ce,{get:function(){return kt},set:function(Kr){kt=Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"vertical",E({},ce,{get:function(){return fr},set:function(Kr){const Un=s(Kr);if(Un===!1)throw new SyntaxError("An invalid or illegal string was specified.");fr=Un,this.hasBeenReset=!0}})),Object.defineProperty(te,"snapToLines",E({},ce,{get:function(){return sr},set:function(Kr){sr=!!Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"line",E({},ce,{get:function(){return kr},set:function(Kr){if(typeof Kr!="number"&&Kr!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");kr=Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"lineAlign",E({},ce,{get:function(){return zr},set:function(Kr){const Un=m(Kr);if(!Un)throw new SyntaxError("An invalid or illegal string was specified.");zr=Un,this.hasBeenReset=!0}})),Object.defineProperty(te,"position",E({},ce,{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(te,"positionAlign",E({},ce,{get:function(){return Wr},set:function(Kr){const Un=m(Kr);if(!Un)throw new SyntaxError("An invalid or illegal string was specified.");Wr=Un,this.hasBeenReset=!0}})),Object.defineProperty(te,"size",E({},ce,{get:function(){return en},set:function(Kr){if(Kr<0||Kr>100)throw new Error("Size must be between 0 and 100.");en=Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"align",E({},ce,{get:function(){return un},set:function(Kr){const Un=m(Kr);if(!Un)throw new SyntaxError("An invalid or illegal string was specified.");un=Un,this.hasBeenReset=!0}})),te.displayState=void 0}return T.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},T}();class $o{decode(t,n){if(!t)return"";if(typeof t!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}function Ks(P){function t(s,m,E,T){return(s|0)*3600+(m|0)*60+(E|0)+parseFloat(T||0)}const n=P.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return n?parseFloat(n[2])>59?t(n[2],n[3],0,n[4]):t(n[1],n[2],n[3],n[4]):null}class ns{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 al(P,t,n,s){const m=s?P.split(s):[P];for(const E in m){if(typeof m[E]!="string")continue;const T=m[E].split(n);if(T.length!==2)continue;const U=T[0],W=T[1];t(U,W)}}const sl=new Fl(0,0,""),El=sl.align==="middle"?"middle":"center";function wl(P,t,n){const s=P;function m(){const U=Ks(P);if(U===null)throw new Error("Malformed timestamp: "+s);return P=P.replace(/^[^\sa-zA-Z-]+/,""),U}function E(U,W){const N=new ns;al(U,function(xe,Ie){let Ae;switch(xe){case"region":for(let at=n.length-1;at>=0;at--)if(n[at].id===Ie){N.set(xe,n[at].region);break}break;case"vertical":N.alt(xe,Ie,["rl","lr"]);break;case"line":Ae=Ie.split(","),N.integer(xe,Ae[0]),N.percent(xe,Ae[0])&&N.set("snapToLines",!1),N.alt(xe,Ae[0],["auto"]),Ae.length===2&&N.alt("lineAlign",Ae[1],["start",El,"end"]);break;case"position":Ae=Ie.split(","),N.percent(xe,Ae[0]),Ae.length===2&&N.alt("positionAlign",Ae[1],["start",El,"end","line-left","line-right","auto"]);break;case"size":N.percent(xe,Ie);break;case"align":N.alt(xe,Ie,["start",El,"end","left","right"]);break}},/:/,/\s/),W.region=N.get("region",null),W.vertical=N.get("vertical","");let te=N.get("line","auto");te==="auto"&&sl.line===-1&&(te=-1),W.line=te,W.lineAlign=N.get("lineAlign","start"),W.snapToLines=N.get("snapToLines",!0),W.size=N.get("size",100),W.align=N.get("align",El);let ce=N.get("position","auto");ce==="auto"&&sl.position===50&&(ce=W.align==="start"||W.align==="left"?0:W.align==="end"||W.align==="right"?100:50),W.position=ce}function T(){P=P.replace(/^\s+/,"")}if(T(),t.startTime=m(),T(),P.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+s);P=P.slice(3),T(),t.endTime=m(),T(),E(P,t)}function ol(P){return P.replace(/<br(?: \/)?>/gi,`
|
|
|
`)}class Qc{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new $o,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,T=0;for(E=ol(E);T<E.length&&E[T]!=="\r"&&E[T]!==`
|
|
|
`;)++T;const U=E.slice(0,T);return E[T]==="\r"&&++T,E[T]===`
|
|
|
`&&++T,n.buffer=E.slice(T),U}function m(E){al(E,function(T,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 T=!1;for(;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(T?T=!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 Fl(0,0,""),n.state="CUE",E.indexOf("-->")===-1){n.cue.id=E;continue}case"CUE":if(!n.cue){n.state="BADCUE";continue}try{wl(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&&(T=!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 kc=/\r\n|\n\r|\n|\r/g,Hu=function(t,n,s=0){return t.slice(s,s+n.length)===n},qc=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 Bl(P,t,n){return xu(P.toString())+xu(t.toString())+xu(n)}const Jc=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(;(T=E)!=null&&T.new;){var T;t.ccOffset+=m.start-E.start,m.new=!1,m=E,E=t[m.prevCC]}t.presentationOffset=s};function cu(P,t,n,s,m,E,T){const U=new Qc,W=q(new Uint8Array(P)).trim().replace(kc,`
|
|
|
`).split(`
|
|
|
`),N=[],te=t?Ci(t.baseTime,t.timescale):0;let ce="00:00.000",xe=0,Ie=0,Ae,at=!0;U.oncue=function(tt){const kt=n[s];let fr=n.ccOffset;const sr=(xe-te)/9e4;if(kt!=null&&kt.new&&(Ie!==void 0?fr=n.ccOffset=kt.start:Jc(n,s,sr)),sr){if(!t){Ae=new Error("Missing initPTS for VTT MPEGTS");return}fr=sr-n.presentationOffset}const kr=tt.endTime-tt.startTime,zr=Za((tt.startTime+fr-Ie)*9e4,m*9e4)/9e4;tt.startTime=Math.max(zr,0),tt.endTime=Math.max(zr+kr,0);const ln=tt.text.trim();tt.text=decodeURIComponent(encodeURIComponent(ln)),tt.id||(tt.id=Bl(tt.startTime,tt.endTime,ln)),tt.endTime>0&&N.push(tt)},U.onparsingerror=function(tt){Ae=tt},U.onflush=function(){if(Ae){T(Ae);return}E(N)},W.forEach(tt=>{if(at)if(Hu(tt,"X-TIMESTAMP-MAP=")){at=!1,tt.slice(16).split(",").forEach(kt=>{Hu(kt,"LOCAL:")?ce=kt.slice(6):Hu(kt,"MPEGTS:")&&(xe=parseInt(kt.slice(7)))});try{Ie=qc(ce)/1e3}catch(kt){Ae=kt}return}else tt===""&&(at=!1);U.parse(tt+`
|
|
|
`)}),U.flush()}const Fu="stpp.ttml.im1t",Sl=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,ic=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,wu={left:"start",center:"center",right:"end",start:"start",end:"end"};function ac(P,t,n,s){const m=xt(new Uint8Array(P),["mdat"]);if(m.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const E=m.map(U=>q(U)),T=jn(t.baseTime,1,t.timescale);try{E.forEach(U=>n(Nl(U,T)))}catch(U){s(U)}}function Nl(P,t){const m=new DOMParser().parseFromString(P,"text/xml").getElementsByTagName("tt")[0];if(!m)throw new Error("Invalid ttml");const E={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},T=Object.keys(E).reduce((ce,xe)=>(ce[xe]=m.getAttribute(`ttp:${xe}`)||E[xe],ce),{}),U=m.getAttribute("xml:space")!=="preserve",W=Gn(Cn(m,"styling","style")),N=Gn(Cn(m,"layout","region")),te=Cn(m,"body","[begin]");return[].map.call(te,ce=>{const xe=Fi(ce,U);if(!xe||!ce.hasAttribute("begin"))return null;const Ie=ma(ce.getAttribute("begin"),T),Ae=ma(ce.getAttribute("dur"),T);let at=ma(ce.getAttribute("end"),T);if(Ie===null)throw oa(ce);if(at===null){if(Ae===null)throw oa(ce);at=Ie+Ae}const tt=new Fl(Ie-t,at-t,xe);tt.id=Bl(tt.startTime,tt.endTime,tt.text);const kt=N[ce.getAttribute("region")],fr=W[ce.getAttribute("style")],sr=Sa(kt,fr,W),{textAlign:kr}=sr;if(kr){const zr=wu[kr];zr&&(tt.lineAlign=zr),tt.align=kr}return y(tt,sr),tt}).filter(ce=>ce!==null)}function Cn(P,t,n){const s=P.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function Gn(P){return P.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function Fi(P,t){return[].slice.call(P.childNodes).reduce((n,s,m)=>{var E;return s.nodeName==="br"&&m?n+`
|
|
|
`:(E=s.childNodes)!=null&&E.length?Fi(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function Sa(P,t,n){const s="http://www.w3.org/ns/ttml#styling";let m=null;const E=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],T=P!=null&&P.hasAttribute("style")?P.getAttribute("style"):null;return T&&n.hasOwnProperty(T)&&(m=n[T]),E.reduce((U,W)=>{const N=Gi(t,s,W)||Gi(P,s,W)||Gi(m,s,W);return N&&(U[W]=N),U},{})}function Gi(P,t,n){return P&&P.hasAttributeNS(t,n)?P.getAttributeNS(t,n):null}function oa(P){return new Error(`Could not parse ttml timestamp ${P}`)}function ma(P,t){if(!P)return null;let n=Ks(P);return n===null&&(Sl.test(P)?n=_s(P,t):ic.test(P)&&(n=qi(P,t))),n}function _s(P,t){const n=Sl.exec(P),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 qi(P,t){const n=ic.exec(P),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 is{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 Wu{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(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 is(this,"textTrack1"),n=new is(this,"textTrack2"),s=new is(this,"textTrack3"),m=new is(this,"textTrack4");this.cea608Parser1=new vc(1,t,n),this.cea608Parser2=new vc(3,s,m)}addCues(t,n,s,m,E){let T=!1;for(let U=E.length;U--;){const W=E[U],N=ul(W[0],W[1],n,s);if(N>=0&&(W[0]=Math.min(W[0],n),W[1]=Math.max(W[1],s),T=!0,N/(s-n)>.5))return}if(T||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:T}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E}),T.length&&(this.unparsedVttFrags=[],T.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(Gu(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:T}=n[t],U=this.getExistingTrack(E,T);if(U)s[t]=U,Ru(s[t]),yu(s[t],m);else{const W=this.createTextTrack("captions",E,T);W&&(W[t]=!0,s[t]=W)}}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=>{Ru(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let s=0;s<n.length;s++)Ru(n[s])}onSubtitleTracksUpdated(t,n){const s=n.subtitleTracks||[],m=s.some(E=>E.textCodec===Fu);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(Gs(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const T=this.media,U=T?Ic(T.textTracks):null;if(this.tracks.forEach((W,N)=>{let te;if(U){let ce=null;for(let xe=0;xe<U.length;xe++)if(U[xe]&&Gu(U[xe],W)){ce=U[xe],U[xe]=null;break}ce&&(te=ce)}if(te)Ru(te);else{const ce=Bu(W);te=this.createTextTrack(ce,W.name,W.lang),te&&(te.mode="disabled")}te&&this.textTracks.push(te)}),U!=null&&U.length){const W=U.filter(N=>N!==null).map(N=>N.label);W.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${W.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const T=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:T})}}}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]}`,T=this.captionsProperties[E];T&&(T.label=s.name,s.lang&&(T.languageCode=s.lang),T.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:T,lastSn:U}=this,{cc:W,sn:N}=n.frag,te=(s=(m=n.part)==null?void 0:m.index)!=null?s:-1;E&&T&&(N!==U+1||N===U&&te!==this.lastPartIndex+1||W!==this.lastCc)&&(E.reset(),T.reset()),this.lastCc=W,this.lastSn=N,this.lastPartIndex=te}}onFragLoaded(t,n){const{frag:s,payload:m}=n;if(s.type===u.SUBTITLE)if(m.byteLength){const E=s.decryptdata,T="stats"in n;if(E==null||!E.encrypted||T){const U=this.tracks[s.level],W=this.vttCCs;W[s.cc]||(W[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),U&&U.textCodec===Fu?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;ac(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:T}=this,U=E.length-1;if(!E[s.cc]&&U===-1){T.push(t);return}const W=this.hls,N=(n=s.initSegment)!=null&&n.data?qe(s.initSegment.data,new Uint8Array(m)).buffer:m;cu(N,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,te=>{this._appendCues(te,s.level),W.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},te=>{const ce=te.message==="Missing initPTS for VTT MPEGTS";ce?T.push(t):this._fallbackToIMSC1(s,m),W.logger.log(`Failed to parse VTT cue: ${te}`),!(ce&&U>s.cc)&&W.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:te})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||ac(n,this.initPTS[t.cc],()=>{s.textCodec=Fu,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=>hc(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 T=m[E].bytes;if(T){this.cea608Parser1||this.initCea608Parsers();const U=this.extractCea608Data(T);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:T}=this;if(!(!T||T.currentTime<s)){if(!E||E==="video"){const{captionsTracks:U}=this;Object.keys(U).forEach(W=>Vo(U[W],n,s))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(W=>Vo(U[W],n,m))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let m=2;for(let E=0;E<s;E++){const T=t[m++],U=127&t[m++],W=127&t[m++];if(U===0&&W===0)continue;if((4&T)!==0){const te=3&T;(te===0||te===1)&&(n[te].push(U),n[te].push(W))}}return n}}function Bu(P){return P.characteristics&&/transcribes-spoken-dialog/gi.test(P.characteristics)&&/describes-music-and-sound/gi.test(P.characteristics)?"captions":"subtitles"}function Gu(P,t){return!!P&&P.kind===Bu(t)&&mu(t,P)}function ul(P,t,n,s){return Math.min(t,s)-Math.max(P,n)}function ll(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const Df=/\s/,wf={newCue(P,t,n,s){const m=[];let E,T,U,W,N;const te=self.VTTCue||self.TextTrackCue;for(let xe=0;xe<s.rows.length;xe++)if(E=s.rows[xe],U=!0,W=0,N="",!E.isEmpty()){var ce;for(let at=0;at<E.chars.length;at++)Df.test(E.chars[at].uchar)&&U?W++:(N+=E.chars[at].uchar,U=!1);E.cueStartTime=t,t===n&&(n+=1e-4),W>=16?W--:W++;const Ie=ol(N.trim()),Ae=Bl(t,n,Ie);P!=null&&(ce=P.cues)!=null&&ce.getCueById(Ae)||(T=new te(t,n,Ie),T.id=Ae,T.line=xe+1,T.align="left",T.position=10+Math.min(80,Math.floor(W*8/32)*10),m.push(T))}return P&&m.length&&(m.sort((xe,Ie)=>xe.line==="auto"||Ie.line==="auto"?0:xe.line>8&&Ie.line>8?Ie.line-xe.line:xe.line-Ie.line),m.forEach(xe=>hc(P,xe))),m}};function $l(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(P){}return!1}const Sf=/(\d+)-(\d+)\/(\d+)/;class gc{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||Of,this.controller=new self.AbortController,this.stats=new Z}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,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=ef(t,this.controller.signal),T=t.responseType==="arraybuffer",U=T?"byteLength":"length",{maxTimeToFirstByteMs:W,maxLoadTimeMs:N}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=W&&r(W)?W:N,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(As(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(ce=>{var xe;this.response=this.loader=ce;const Ie=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=N,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},N-(Ie-m.loading.start)),!ce.ok){const{status:at,statusText:tt}=ce;throw new Vu(tt||"fetch, bad network response",at,ce)}m.loading.first=Ie,m.total=cl(ce.headers)||m.total;const Ae=(xe=this.callbacks)==null?void 0:xe.onProgress;return Ae&&r(n.highWaterMark)?this.loadProgressively(ce,m,t,n.highWaterMark,Ae):T?ce.arrayBuffer():t.responseType==="json"?ce.json():ce.text()}).then(ce=>{var xe,Ie;const Ae=this.response;if(!Ae)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const at=ce[U];at&&(m.loaded=m.total=at);const tt={url:Ae.url,data:ce,code:Ae.status},kt=(xe=this.callbacks)==null?void 0:xe.onProgress;kt&&!r(n.highWaterMark)&&kt(m,t,ce,Ae),(Ie=this.callbacks)==null||Ie.onSuccess(tt,m,t,Ae)}).catch(ce=>{var xe;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Ie=ce&&ce.code||0,Ae=ce?ce.message:null;(xe=this.callbacks)==null||xe.onError({code:Ie,text:Ae},t,ce?ce.details:null,m)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,s,m=0,E){const T=new aa,U=t.body.getReader(),W=()=>U.read().then(N=>{if(N.done)return T.dataLength&&E(n,s,T.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const te=N.value,ce=te.length;return n.loaded+=ce,ce<m||T.dataLength?(T.push(te),T.dataLength>=m&&E(n,s,T.flush().buffer,t)):E(n,s,te.buffer,t),W()}).catch(()=>Promise.reject());return W()}}function ef(P,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},P.headers))};return P.rangeEnd&&n.headers.set("Range","bytes="+P.rangeStart+"-"+String(P.rangeEnd-1)),n}function hf(P){const t=Sf.exec(P);if(t)return parseInt(t[2])-parseInt(t[1])+1}function cl(P){const t=P.get("Content-Range");if(t){const s=hf(t);if(r(s))return s}const n=P.get("Content-Length");if(n)return parseInt(n)}function Of(P,t){return new self.Request(P.url,t)}class Vu extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Rc=/^age:\s*[\d.]+\s*$/im;class tf{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new Z,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,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(T=>{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(T=>{var U;(U=this.callbacks)==null||U.onError({code:s.status,text:T.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:T}=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:T,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 N=n.status,te=n.responseType==="text"?n.responseText:null;if(N>=200&&N<300){const Ae=te!=null?te:n.response;if(Ae!=null){var T,U;s.loading.end=Math.max(self.performance.now(),s.loading.first);const at=n.responseType==="arraybuffer"?Ae.byteLength:Ae.length;s.loaded=s.total=at,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const tt=(T=this.callbacks)==null?void 0:T.onProgress;tt&&tt(s,t,Ae,n);const kt={url:n.responseURL,data:Ae,code:N};(U=this.callbacks)==null||U.onSuccess(kt,s,t,n);return}}const ce=E.loadPolicy.errorRetry,xe=s.retry,Ie={url:t.url,data:void 0,code:N};if(Tr(ce,xe,!1,Ie))this.retry(ce);else{var W;G.error(`${N} while loading ${t.url}`),(W=this.callbacks)==null||W.onError({code:N,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(Tr(t,n,!0))this.retry(t);else{var s;G.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=cr(t,s.retry),s.retry++,G.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&&Rc.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 Ko={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},rf=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,startOnSegmentBoundary:!1,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncMode:"edge",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:tf,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:ei,bufferController:xc,capLevelController:Pu,errorController:Ee,fpsController:tl,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:di,requireKeySystemAccessOnStart:!1,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,preserveManualLevelOnError:!1,certLoadPolicy:{default:Ko},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},pf()),{},{subtitleStreamController:I,subtitleTrackController:Kc,timelineController:Wu,audioStreamController:qo,audioTrackController:Wl,emeController:ku,cmcdController:ze,contentSteeringController:eu,interstitialsController:mc});function pf(){return{cueHandler:wf,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function fl(P,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const s=jl(P),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(T=>{const U=`${T==="level"?"playlist":T}LoadPolicy`,W=t[U]===void 0,N=[];E.forEach(te=>{const ce=`${T}Loading${te}`,xe=t[ce];if(xe!==void 0&&W){N.push(ce);const Ie=s[U].default;switch(t[U]={default:Ie},te){case"TimeOut":Ie.maxLoadTimeMs=xe,Ie.maxTimeToFirstByteMs=xe;break;case"MaxRetry":Ie.errorRetry.maxNumRetry=xe,Ie.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":Ie.errorRetry.retryDelayMs=xe,Ie.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":Ie.errorRetry.maxRetryDelayMs=xe,Ie.timeoutRetry.maxRetryDelayMs=xe;break}}}),N.length&&n.warn(`hls.js config: "${N.join('", "')}" setting(s) are deprecated, use "${U}": ${Tn(t[U])}`)}),b(b({},s),t)}function jl(P){return P&&typeof P=="object"?Array.isArray(P)?P.map(jl):Object.keys(P).reduce((t,n)=>(t[n]=jl(P[n]),t),{}):P}function Yo(P,t){const n=P.loader;n!==gc&&n!==tf?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),P.progressive=!1):$l()&&(P.loader=gc,P.progressive=!0,P.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const yc=2,_f=.1,Lc=.05,Mc=100;class mf extends Ta{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(Mc),this.mediaSource=n.mediaSource;const s=this.media=n.media;Vs(s,"playing",this.onMediaPlaying),Vs(s,"waiting",this.onMediaWaiting),Vs(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 T=this.media;if(!T)return;const{seeking:U}=T,W=this.seeking&&!U,N=!this.seeking&&U,te=T.paused&&!U||T.ended||T.playbackRate===0;if(this.seeking=U,t!==n){n&&(this.ended=0),this.moved=!0,U||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!te&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(N||W){W&&this.stallResolved(t);return}if(te){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&T.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!mi.getBuffered(T).length){this.nudgeRetry=0;return}const ce=mi.bufferInfo(T,t,0),xe=ce.nextStart||0,Ie=this.fragmentTracker;if(U&&Ie&&this.hls){const ln=Fc(this.hls.inFlightFragments,t),Wr=ce.len>yc,en=!xe||ln||xe-t>yc&&!Ie.getPartialFragment(t);if(Wr||en)return;this.moved=!1}const Ae=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Ie){if(!(ce.len>0)&&!xe)return;const Wr=Math.max(xe,ce.start||0)-t,un=!!(Ae!=null&&Ae.live)?Ae.targetduration*2:yc,Kr=Ie.getPartialFragment(t);if(Wr>0&&(Wr<=un||Kr)){T.paused||this._trySkipBufferHole(Kr);return}}const at=E.detectStallWithCurrentTimeMs,tt=self.performance.now(),kt=this.waiting;let fr=this.stalled;if(fr===null)if(kt>0&&tt-kt<at)fr=this.stalled=kt;else{this.stalled=tt;return}const sr=tt-fr;if(!U&&(sr>=at||kt)&&this.hls){var kr;if(((kr=this.mediaSource)==null?void 0:kr.readyState)==="ended"&&!(Ae!=null&&Ae.live)&&Math.abs(t-((Ae==null?void 0:Ae.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(ce),!this.media||!this.hls)return}const zr=mi.bufferInfo(T,t,E.maxBufferHole);this._tryFixBufferStall(zr,sr,t)}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=mi.bufferedInfo(mi.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const T=mi.timeRangesToArray(m),U=mi.bufferedInfo(T,n,0).bufferedIndex;if(U>-1&&U<T.length-1){const W=mi.bufferedInfo(T,t,0).bufferedIndex,N=T[U].end,te=T[U+1].start;if((W===-1||W>U)&&te-N<1&&t-N<2){const ce=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${N} -> ${te} buffered index: ${W}`);this.warn(ce.message),this.media.currentTime+=1e-6;const xe=this.fragmentTracker.getPartialFragment(t)||void 0,Ie=mi.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ce,reason:ce.message,frag:xe,buffer:Ie.len,bufferInfo:Ie})}}}}}_tryFixBufferStall(t,n,s){var m,E;const{fragmentTracker:T,media:U}=this,W=(m=this.hls)==null?void 0:m.config;if(!U||!T||!W)return;const N=(E=this.hls)==null?void 0:E.latestLevelDetails,te=T.getPartialFragment(s);if((te||N!=null&&N.live&&s<N.fragmentStart)&&(this._trySkipBufferHole(te)||!this.media))return;const ce=t.buffered,xe=this.adjacentTraversal(t,s);(ce&&ce.length>1&&t.len>W.maxBufferHole||t.nextStart&&(t.nextStart-s<W.maxBufferHole||xe))&&(n>W.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,n){const s=this.fragmentTracker,m=t.nextStart;if(s&&m){const E=s.getFragAtPos(n,u.MAIN),T=s.getFragAtPos(m,u.MAIN);if(E&&T)return T.sn-E.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:m,stalled:E}=this;if(!m&&E!==null&&s&&n){this.stallReported=!0;const T=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${Tn(t)})`);this.warn(T.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:T,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 T=m.currentTime,U=mi.bufferInfo(m,T,0),W=T<U.start?U.start:U.nextStart;if(W&&this.hls){const te=U.len<=E.maxBufferHole,ce=U.len>0&&U.len<1&&m.readyState<3,xe=W-T;if(xe>0&&(te||ce)){if(xe>E.maxBufferHole){let Ae=!1;if(T===0){const at=s.getAppendedFrag(0,u.MAIN);at&&W<at.end&&(Ae=!0)}if(!Ae){const at=t||s.getAppendedFrag(T,u.MAIN);if(at){var N;if(!((N=this.hls.loadLevelObj)!=null&&N.details)||Fc(this.hls.inFlightFragments,W))return 0;let kt=!1,fr=at.end;for(;fr<W;){const sr=s.getPartialFragment(fr);if(sr)fr+=sr.duration;else{kt=!0;break}}if(kt)return 0}}}const Ie=Math.max(W+Lc,T+_f);if(this.warn(`skipping hole, adjusting currentTime from ${T} to ${Ie}`),this.moved=!0,m.currentTime=Ie,!(t!=null&&t.gap)){const Ae=new Error(`fragment loaded with buffer holes, seeking from ${T} to ${Ie}`);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:Ae,reason:Ae.message,frag:t||void 0,buffer:U.len,bufferInfo:U})}return Ie}}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 T=s.currentTime;if(this.nudgeRetry++,m<E.nudgeMaxRetry){const U=T+(m+1)*E.nudgeOffset,W=new Error(`Nudging 'currentTime' from ${T} to ${U}`);this.warn(W.message),s.currentTime=U,n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_NUDGE_ON_STALL,error:W,fatal:!1,buffer:t.len,bufferInfo:t})}else{const U=new Error(`Playhead still not moving while enough data buffered @${T} 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 Fc(P,t){const n=Af(P.main);if(n&&n.start<=t)return n;const s=Af(P.audio);return s&&s.start<=t?s:null}function Af(P){if(!P)return null;switch(P.state){case Vr.IDLE:case Vr.STOPPED:case Vr.ENDED:case Vr.ERROR:return null}return P.frag}const Mf=.25;function Bc(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function Ff(P,t,n,s,m){let E=new P(t,n,"");try{E.value=s,m&&(E.type=m)}catch(T){E=new P(t,n,Tn(m?b({type:m},s):s))}return E}const nf=(()=>{const P=Bc();try{P&&new P(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function vf(P){return Uint8Array.from(P.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class Hf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(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&&Ru(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 yu(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 T=Bc();if(T)for(let U=0;U<E.length;U++){const W=E[U].type;if(W===ts.emsg&&!s||!m)continue;const N=Ja(E[U].data);if(N){const te=E[U].pts;let ce=te+E[U].duration;ce>nf&&(ce=nf),ce-te<=0&&(ce=te+Mf);for(let Ie=0;Ie<N.length;Ie++){const Ae=N[Ie];if(!ao(Ae)){this.updateId3CueEnds(te,W);const at=Ff(T,te,ce,Ae,W);at&&this.id3Track.addCue(at)}}}}}updateId3CueEnds(t,n){var s;const m=(s=this.id3Track)==null?void 0:s.cues;if(m)for(let E=m.length;E--;){const T=m[E];T.type===n&&T.startTime<t&&T.endTime===nf&&(T.endTime=t)}}onBufferFlushing(t,{startOffset:n,endOffset:s,type:m}){const{id3Track:E,hls:T}=this;if(!T)return;const{config:{enableEmsgMetadataCues:U,enableID3MetadataCues:W}}=T;if(E&&(U||W)){let N;m==="audio"?N=te=>te.type===ts.audioId3&&W:m==="video"?N=te=>te.type===ts.emsg&&U:N=te=>te.type===ts.audioId3&&W||te.type===ts.emsg&&U,Vo(E,n,s,N)}}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 T=this.dateRangeCuesAppended;if(s&&n){var U;if((U=s.cues)!=null&&U.length){const te=Object.keys(T).filter(ce=>!E.includes(ce));for(let ce=te.length;ce--;){const xe=te[ce],Ie=T[xe].cues;delete T[xe],Object.keys(Ie).forEach(Ae=>{try{const at=Ie[Ae];at.removeEventListener("enter",this.onEventCueEnter),s.removeCue(at)}catch(at){}})}}else T=this.dateRangeCuesAppended={}}const W=t.fragments[t.fragments.length-1];if(E.length===0||!r(W==null?void 0:W.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const N=Bc();for(let te=0;te<E.length;te++){const ce=E[te],xe=m[ce],Ie=xe.startTime,Ae=T[ce],at=(Ae==null?void 0:Ae.cues)||{};let tt=(Ae==null?void 0:Ae.durationKnown)||!1,kt=nf;const{duration:fr,endDate:sr}=xe;if(sr&&fr!==null)kt=Ie+fr,tt=!0;else if(xe.endOnNext&&!tt){const zr=E.reduce((ln,Wr)=>{if(Wr!==xe.id){const en=m[Wr];if(en.class===xe.class&&en.startDate>xe.startDate&&(!ln||xe.startDate<ln.startDate))return en}return ln},null);zr&&(kt=zr.startTime,tt=!0)}const kr=Object.keys(xe.attr);for(let zr=0;zr<kr.length;zr++){const ln=kr[zr];if(!Na(ln))continue;const Wr=at[ln];if(Wr)tt&&!Ae.durationKnown?Wr.endTime=kt:Math.abs(Wr.startTime-Ie)>.01&&(Wr.startTime=Ie,Wr.endTime=kt);else if(N){let en=xe.attr[ln];Ys(ln)&&(en=vf(en));const Kr=Ff(N,Ie,kt,{key:ln,data:en},ts.dateRange);Kr&&(Kr.id=ce,this.id3Track.addCue(Kr),at[ln]=Kr,this.hls.config.interstitialsController&&(ln==="X-ASSET-LIST"||ln==="X-ASSET-URL")&&Kr.addEventListener("enter",this.onEventCueEnter))}}T[ce]={cues:at,dateRange:xe,durationKnown:tt}}}}class Cf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,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:T}=this.config;if(!E||T===1||!s.live)return;const U=this.targetLatency;if(U===null)return;const W=m-U,N=Math.min(this.maxLatency,U+s.targetduration);if(W<N&&W>.05&&this.forwardBufferLength>1){const ce=Math.min(2,Math.max(1,T)),xe=Math.round(2/(1+Math.exp(-.75*W-this.edgeStalled))*20)/20,Ie=Math.min(ce,Math.max(1,xe));this.changeMediaPlaybackRate(n,Ie)}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:T,lowLatencyMode:U}=this.config,W=this.hls.userConfig;let N=U&&s||n;(this._targetLatencyUpdated||W.liveSyncDuration||W.liveSyncDurationCount||N===0)&&(N=E!==void 0?E:T*m);const te=m;return N+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,te)}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,T=m-s.totalduration,U=m-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(T,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 Bf extends ml{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={},T={};let U=!1,W=!1,N=!1;n.levels.forEach(te=>{const ce=te.attrs;let{audioCodec:xe,videoCodec:Ie}=te;xe&&(te.audioCodec=xe=Dr(xe,s)||void 0),Ie&&(Ie=te.videoCodec=Qr(Ie));const{width:Ae,height:at,unknownCodecs:tt}=te;let kt=tt?tt.length:0;if(tt)for(let Kr=kt;Kr--;){const Un=tt[Kr];this.isAudioSupported(Un)?(te.audioCodec=xe=xe?`${xe},${Un}`:Un,kt--,dt.audio[xe.substring(0,4)]=2):this.isVideoSupported(Un)&&(te.videoCodec=Ie=Ie?`${Ie},${Un}`:Un,kt--,dt.video[Ie.substring(0,4)]=2)}if(U||(U=!!(Ae&&at)),W||(W=!!Ie),N||(N=!!xe),kt||xe&&!this.isAudioSupported(xe)||Ie&&!this.isVideoSupported(Ie)){this.log(`Some or all CODECS not supported "${ce.CODECS}"`);return}const{CODECS:fr,"FRAME-RATE":sr,"HDCP-LEVEL":kr,"PATHWAY-ID":zr,RESOLUTION:ln,"VIDEO-RANGE":Wr}=ce,un=`${`${zr||"."}-`}${te.bitrate}-${ln}-${sr}-${fr}-${Wr}-${kr}`;if(E[un])if(E[un].uri!==te.url&&!te.attrs["PATHWAY-ID"]){const Kr=T[un]+=1;te.attrs["PATHWAY-ID"]=new Array(Kr+1).join(".");const Un=this.createLevel(te);E[un]=Un,m.push(Un)}else E[un].addGroupId("audio",ce.AUDIO),E[un].addGroupId("text",ce.SUBTITLES);else{const Kr=this.createLevel(te);E[un]=Kr,T[un]=1,m.push(Kr)}}),this.filterAndSortMediaOptions(m,n,U,W,N)}createLevel(t){const n=new zn(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=sn(m,[])}return n}isAudioSupported(t){return St(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return St(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,m,E){let T=[],U=[],W=t;if((s||m)&&E&&(W=W.filter(({videoCodec:tt,videoRange:kt,width:fr,height:sr})=>(!!tt||!!(fr&&sr))&&yr(kt))),W.length===0){Promise.resolve().then(()=>{if(this.hls){let tt="no level with compatible codecs found in manifest",kt=tt;n.levels.length&&(kt=`one or more CODECS in variant not supported: ${Tn(n.levels.map(sr=>sr.attrs.CODECS).filter((sr,kr,zr)=>zr.indexOf(sr)===kr))}`,this.warn(kt),tt+=` (${kt})`);const fr=new Error(tt);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:fr,reason:kt})}});return}n.audioTracks&&(T=n.audioTracks.filter(tt=>!tt.audioCodec||this.isAudioSupported(tt.audioCodec)),Nf(T)),n.subtitles&&(U=n.subtitles,Nf(U));const N=W.slice(0);W.sort((tt,kt)=>{if(tt.attrs["HDCP-LEVEL"]!==kt.attrs["HDCP-LEVEL"])return(tt.attrs["HDCP-LEVEL"]||"")>(kt.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&tt.height!==kt.height)return tt.height-kt.height;if(tt.frameRate!==kt.frameRate)return tt.frameRate-kt.frameRate;if(tt.videoRange!==kt.videoRange)return Sr.indexOf(tt.videoRange)-Sr.indexOf(kt.videoRange);if(tt.videoCodec!==kt.videoCodec){const fr=be(tt.videoCodec),sr=be(kt.videoCodec);if(fr!==sr)return sr-fr}if(tt.uri===kt.uri&&tt.codecSet!==kt.codecSet){const fr=Ke(tt.codecSet),sr=Ke(kt.codecSet);if(fr!==sr)return sr-fr}return tt.averageBitrate!==kt.averageBitrate?tt.averageBitrate-kt.averageBitrate:0});let te=N[0];if(this.steering&&(W=this.steering.filterParsedLevels(W),W.length!==N.length)){for(let tt=0;tt<N.length;tt++)if(N[tt].pathwayId===W[0].pathwayId){te=N[tt];break}}this._levels=W;for(let tt=0;tt<W.length;tt++)if(W[tt]===te){var ce;this._firstLevel=tt;const kt=te.bitrate,fr=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${W.length} level(s) found, first bitrate: ${kt}`),((ce=this.hls.userConfig)==null?void 0:ce.abrEwmaDefaultEstimate)===void 0){const sr=Math.min(kt,this.hls.config.abrEwmaDefaultEstimateMax);sr>fr&&fr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=sr)}break}const xe=E&&!m,Ie=this.hls.config,Ae=!!(Ie.audioStreamController&&Ie.audioTrackController),at={levels:W,audioTracks:T,subtitleTracks:U,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:Ae&&!xe&&T.some(tt=>!!tt.url)};this.hls.trigger(o.MANIFEST_PARSED,at)}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 te=new Error("invalid level idx"),ce=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:ce,error:te,reason:te.message}),ce)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,T=n[t],U=T.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=T,s===t&&m&&E===U)return;this.log(`Switching to level ${t} (${T.height?T.height+"p ":""}${T.videoRange?T.videoRange+" ":""}${T.codecSet?T.codecSet+" ":""}@${T.bitrate})${U?" with Pathway "+U:""} from level ${s}${E?" with Pathway "+E:""}`);const W={level:t,attrs:T.attrs,details:T.details,bitrate:T.bitrate,averageBitrate:T.averageBitrate,maxBitrate:T.maxBitrate,realBitrate:T.realBitrate,width:T.width,height:T.height,codecSet:T.codecSet,audioCodec:T.audioCodec,videoCodec:T.videoCodec,audioGroups:T.audioGroups,subtitleGroups:T.subtitleGroups,loaded:T.loaded,loadError:T.loadError,fragmentError:T.fragmentError,name:T.name,id:T.id,uri:T.uri,url:T.url,urlId:0,audioGroupIds:T.audioGroupIds,textGroupIds:T.textGroupIds};this.hls.trigger(o.LEVEL_SWITCHING,W);const N=T.details;if(!N||N.live){const te=this.switchParams(T.uri,m==null?void 0:m.details,N);this.loadPlaylist(te)}}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,T=n.levelInfo;if(!T){var U;this.warn(`Invalid level index ${m}`),(U=n.deliveryDirectives)!=null&&U.skip&&(E.deltaUpdateFailed=!0);return}if(T===this.currentLevel||n.withoutMultiVariant){T.fragmentError===0&&(T.loadError=0);let W=T.details;W===n.details&&W.advanced&&(W=void 0),this.playlistLoaded(m,n,W)}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"],T=t.details,U=T==null?void 0:T.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&&T.live?" age "+U.toFixed(1)+(T.type?" "+T.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,T)=>T!==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));xr(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 Nf(P){const t={};P.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function af(){return self.SourceBuffer||self.WebKitSourceBuffer}function $f(){if(!ae())return!1;const t=af();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Tf(){if(!$f())return!1;const P=ae();return typeof(P==null?void 0:P.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>P.isTypeSupported(wt(t,"video")))||["mp4a.40.2","fLaC"].some(t=>P.isTypeSupported(wt(t,"audio"))))}function g(){var P;const t=af();return typeof(t==null||(P=t.prototype)==null?void 0:P.changeType)=="function"}const C=100;class z extends ga{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 T=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(T===null||T.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${T?T.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(C),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=Vr.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Vr.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Vr.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=Vr.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Vr.IDLE;break}break}case Vr.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,T=m==null?void 0:m[E];this.resetStartWhenNotLoaded(T||null),this.state=Vr.IDLE}}break}this.state===Vr.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 T=s[E],U=this.getMainFwdBufferInfo();if(U===null)return;const W=this.getLevelDetails();if(W&&this._streamEnded(U,W)){const at={};this.altAudio===2&&(at.type="video"),this.hls.trigger(o.BUFFER_EOS,at),this.state=Vr.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 N=T.details;if(!N||this.state===Vr.WAITING_LEVEL||this.waitForLive(T)){this.level=E,this.state=Vr.WAITING_LEVEL,this.startFragRequested=!1;return}const te=U.len,ce=this.getMaxBufferLength(T.maxBitrate);if(te>=ce)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:U.end;let Ie=this.getNextFragment(xe,N);if(this.couldBacktrack&&!this.fragPrevious&&Ie&&_e(Ie)&&this.fragmentTracker.getState(Ie)!==nr.OK){var Ae;const tt=((Ae=this.backtrackFragment)!=null?Ae:Ie).sn-N.startSN,kt=N.fragments[tt-1];kt&&Ie.cc===kt.cc&&(Ie=kt,this.fragmentTracker.removeFragment(kt))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(Ie&&this.isLoopLoading(Ie,xe)){if(!Ie.gap){const tt=this.audioOnly&&!this.altAudio?$.AUDIO:$.VIDEO,kt=(tt===$.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;kt&&this.afterBufferFlushed(kt,tt,u.MAIN)}Ie=this.getNextFragmentLoopLoading(Ie,N,U,u.MAIN,ce)}Ie&&(Ie.initSegment&&!Ie.initSegment.data&&!this.bitrateTest&&(Ie=Ie.initSegment),this.loadFragment(Ie,T,xe))}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);m===nr.NOT_LOADED||m===nr.PARTIAL?_e(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,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,W=t[U],N=this.fragLastKbps;N&&this.fragCurrent?s=this.fragCurrent.duration*W.maxBitrate/(1e3*N)+1:s=0}else s=0;const T=this.getBufferedFrag(n.currentTime+s);if(T){const U=this.followingBufferedFrag(T);if(U){this.abortCurrentFrag();const W=U.maxStartPTS?U.maxStartPTS:U.start,N=U.duration,te=Math.max(T.end,W+Math.min(Math.max(N-this.config.maxFragLookUpTolerance,N*(this.couldBacktrack?.5:.125)),N*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(te,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 Vr.KEY_LOADING:case Vr.FRAG_LOADING:case Vr.FRAG_LOADING_WAITING_RETRY:case Vr.PARSING:case Vr.PARSED:this.state=Vr.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;Vs(s,"playing",this.onMediaPlaying),Vs(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 T=E.audioCodec;T&&(s=s||T.indexOf("mp4a.40.2")!==-1,m=m||T.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=s&&m&&!g(),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!==Vr.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Vr.WAITING_LEVEL)}onLevelLoaded(t,n){var s;const{levels:m,startFragRequested:E}=this,T=n.level,U=n.details,W=U.totalduration;if(!m){this.warn(`Levels were reset while loading level ${T}`);return}this.log(`Level ${T} loaded [${U.startSN},${U.endSN}]${U.lastPartSn?`[part-${U.lastPartSn}-${U.lastPartIndex}]`:""}, cc [${U.startCC}, ${U.endCC}] duration:${W}`);const N=n.levelInfo,te=this.fragCurrent;te&&(this.state===Vr.FRAG_LOADING||this.state===Vr.FRAG_LOADING_WAITING_RETRY)&&te.level!==n.level&&te.loader&&this.abortCurrentFrag();let ce=0;if(U.live||(s=N.details)!=null&&s.live){var xe;if(this.checkLiveUpdate(U),U.deltaUpdateFailed)return;ce=this.alignPlaylists(U,N.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}if(N.details=U,this.levelLastLoaded=N,E||this.setStartPosition(U,ce),this.hls.trigger(o.LEVEL_UPDATED,{details:U,level:T}),this.state===Vr.WAITING_LEVEL){if(this.waitForCdnTuneIn(U))return;this.state=Vr.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(),T=t.fragmentStart,U=t.edge,W=E>=T-n.maxFragLookUpTolerance&&E<=U;if(m!==null&&s.duration>m&&(E<m||!W)){const te=n.liveMaxLatencyDuration!==void 0?n.liveMaxLatencyDuration:n.liveMaxLatencyDurationCount*t.targetduration;if((!W&&s.readyState<4||E<U-te)&&(this._hasEnoughToStart||(this.nextLoadPosition=m),s.readyState))if(this.warn(`Playback: ${E.toFixed(3)} is located too far from the end of live sliding playlist: ${U}, reset currentTime to : ${m.toFixed(3)}`),this.config.liveSyncMode==="buffered"){var N;const ce=mi.bufferInfo(s,m,0);if(!(ce!=null&&(N=ce.buffered)!=null&&N.length)){s.currentTime=m;return}if(ce.start<=E){s.currentTime=m;return}const{nextStart:Ie}=mi.bufferedInfo(ce.buffered,E,0);Ie&&(s.currentTime=Ie)}else s.currentTime=m}}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:E}=t,{levels:T}=this;if(!T){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=T[s.level];if(!U){this.warn(`Level ${s.level} not found on progress`);return}const W=U.details;if(!W){this.warn(`Dropping fragment ${s.sn} of level ${s.level} after level details were reset`),this.fragmentTracker.removeFragment(s);return}const N=U.videoCodec,te=W.PTSKnown||!W.live,ce=(n=s.initSegment)==null?void 0:n.data,xe=this._getAudioCodec(U),Ie=this.transmuxer=this.transmuxer||new pl(this.hls,u.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Ae=m?m.index:-1,at=Ae!==-1,tt=new fs(s.level,s.sn,s.stats.chunkCount,E.byteLength,Ae,at),kt=this.initPTS[s.cc];Ie.push(E,ce,xe,N,s,m,W.totalduration,te,tt,kt)}onAudioTrackSwitching(t,n){const s=this.hls,m=this.altAudio===2;if(yi(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 T=this.fragCurrent;T&&(this.log("Switching to main audio track, cancel main fragment load"),T.abortRequests(),this.fragmentTracker.removeFragment(T)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(m){this.fragmentTracker.removeAllFragments(),s.once(o.BUFFER_FLUSHED,()=>{var T;(T=this.hls)==null||T.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=yi(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,T=!1;for(const U in s){const W=s[U];if(W.id==="main"){if(E=U,m=W,U==="video"){const N=s[U];N&&(this.videoBuffer=N.buffer)}}else T=!0}T&&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===Vr.PARSED&&(this.state=Vr.IDLE);return}const U=m?m.stats:s.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),_e(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,m)}const T=this.media;T&&(!this._hasEnoughToStart&&mi.getBuffered(T).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=Vr.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===Vr.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=Vr.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=Vr.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==$.AUDIO||!this.altAudio){const s=(n===$.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(),T=mi.getBuffered(t),U=T.length?T.start(0):0,W=U-s,N=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);(this.config.startOnSegmentBoundary||W>0&&(W<N||this.loadingParts&&W<2*((E==null?void 0:E.partTarget)||0)))&&(this.log(`adjusting start position by ${W} to match buffer start`),s+=W,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=Vr.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const T=E.stats;T.parsing.start=T.parsing.end=T.buffering.start=T.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:T}=t,U=this.getCurrentContext(T);if(!U){this.resetWhenMissingContext(T);return}const{frag:W,part:N,level:te}=U,{video:ce,text:xe,id3:Ie,initSegment:Ae}=E,{details:at}=te,tt=this.altAudio?void 0:E.audio;if(this.fragContextChanged(W)){this.fragmentTracker.removeFragment(W);return}if(this.state=Vr.PARSING,Ae){if(Ae!=null&&Ae.tracks){const sr=W.initSegment||W;this._bufferInitSegment(te,Ae.tracks,sr,T),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:sr,id:s,tracks:Ae.tracks})}const kt=Ae.initPTS,fr=Ae.timescale;r(kt)&&(this.initPTS[W.cc]={baseTime:kt,timescale:fr},m.trigger(o.INIT_PTS_FOUND,{frag:W,id:s,initPTS:kt,timescale:fr}))}if(ce&&at){tt&&ce.type==="audiovideo"&&this.logMuxedErr(W);const kt=at.fragments[W.sn-1-at.startSN],fr=W.sn===at.startSN,sr=!kt||W.cc>kt.cc;if(E.independent!==!1){const{startPTS:kr,endPTS:zr,startDTS:ln,endDTS:Wr}=ce;if(N)N.elementaryStreams[ce.type]={startPTS:kr,endPTS:zr,startDTS:ln,endDTS:Wr};else if(ce.firstKeyFrame&&ce.independent&&T.id===1&&!sr&&(this.couldBacktrack=!0),ce.dropped&&ce.independent){const en=this.getMainFwdBufferInfo(),un=(en?en.end:this.getLoadPosition())+this.config.maxBufferHole,Kr=ce.firstKeyFramePTS?ce.firstKeyFramePTS:kr;if(!fr&&un<Kr-this.config.maxBufferHole&&!sr){this.backtrack(W);return}else sr&&(W.gap=!0);W.setElementaryStreamInfo(ce.type,W.start,zr,W.start,Wr,!0)}else fr&&kr-(at.appliedTimelineOffset||0)>yc&&(W.gap=!0);W.setElementaryStreamInfo(ce.type,kr,zr,ln,Wr),this.backtrackFragment&&(this.backtrackFragment=W),this.bufferFragmentData(ce,W,N,T,fr||sr)}else if(fr||sr)W.gap=!0;else{this.backtrack(W);return}}if(tt){const{startPTS:kt,endPTS:fr,startDTS:sr,endDTS:kr}=tt;N&&(N.elementaryStreams[$.AUDIO]={startPTS:kt,endPTS:fr,startDTS:sr,endDTS:kr}),W.setElementaryStreamInfo($.AUDIO,kt,fr,sr,kr),this.bufferFragmentData(tt,W,N,T)}if(at&&Ie!=null&&(n=Ie.samples)!=null&&n.length){const kt={id:s,frag:W,details:at,samples:Ie.samples};m.trigger(o.FRAG_PARSING_METADATA,kt)}if(at&&xe){const kt={id:s,frag:W,details:at,samples:xe.samples};m.trigger(o.FRAG_PARSING_USERDATA,kt)}}logMuxedErr(t){this.warn(`${_e(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,m){if(this.state!==Vr.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:E,video:T,audiovideo:U}=n;if(E){let N=Gr(E.codec,t.audioCodec);N==="mp4a"&&(N="mp4a.40.5");const te=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){N&&(N.indexOf("mp4a.40.5")!==-1?N="mp4a.40.2":N="mp4a.40.5");const ce=E.metadata;ce&&"channelCount"in ce&&(ce.channelCount||1)!==1&&te.indexOf("firefox")===-1&&(N="mp4a.40.5")}N&&N.indexOf("mp4a.40.5")!==-1&&te.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(N="mp4a.40.2",this.log(`Android: force audio codec to ${N}`)),t.audioCodec&&t.audioCodec!==N&&this.log(`Swapping manifest audio codec "${t.audioCodec}" for "${N}"`),E.levelCodec=N,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${N||""}/${t.audioCodec||""}/${E.codec}]`),delete n.audiovideo}if(T){T.levelCodec=t.videoCodec,T.id=u.MAIN;const N=T.codec;if((N==null?void 0:N.length)===4)switch(N){case"hvc1":case"hev1":T.codec="hvc1.1.6.L120.90";break;case"av01":T.codec="av01.0.04M.08";break;case"avc1":T.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${T.container}, codecs[level/parsed]=[${t.videoCodec||""}/${N}]${T.codec!==N?" parsed-corrected="+T.codec:""}${T.supplemental?" supplemental="+T.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 W=Object.keys(n);if(W.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;W.forEach(N=>{const ce=n[N].initSegment;ce!=null&&ce.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:N,data:ce,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=Vr.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(mi.isBuffered(t,s)?n=this.getAppendedFrag(s):mi.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?qn(null,s.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const T=E+(n-m.start)*1e3;return new Date(T)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class ve{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const 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 Ha({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&&!this.emeController.getSelectedKeySystemFormats().length){if(n.length){const{sn:s,cc:m}=t;for(let E=0;E<n.length;E++){const T=n[E];if(m<=T.cc&&(s==="initSegment"||T.sn==="initSegment"||s<T.sn))return this.emeController.selectKeySystemFormat(T).then(U=>{if(T.setKeyFormat(U),this.emeController&&this.config.requireKeySystemAccessOnStart){const W=Zs(U);if(W)return this.emeController.getKeySystemAccess([W])}})}}else if(this.config.requireKeySystemAccessOnStart){const s=po(this.config);if(s.length)return this.emeController.getKeySystemAccess(s)}}return null}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 N=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,N))}const T=E.uri;if(!T)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${T}"`)));let U=this.keyUriToKeyInfo[T];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 W;switch((W=U.mediaKeySessionContext)==null?void 0:W.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return U.keyLoadPromise.then(N=>(E.key=N.keyInfo.decryptdata.key,{frag:t,keyInfo:U}))}}switch(U=this.keyUriToKeyInfo[T]={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((T,U)=>{const W={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},N=s.keyLoadPolicy.default,te={loadPolicy:N,timeout:N.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Ie,Ae,at)=>{const{frag:tt,keyInfo:kt,url:fr}=Ae;if(!tt.decryptdata||kt!==this.keyUriToKeyInfo[fr])return U(this.createKeyLoadError(tt,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),at));kt.decryptdata.key=tt.decryptdata.key=new Uint8Array(xe.data),tt.keyLoader=null,kt.loader=null,T({frag:tt,keyInfo:kt})},onError:(xe,Ie,Ae,at)=>{this.resetLoader(Ie),U(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),Ae,b({url:W.url,data:void 0},xe)))},onTimeout:(xe,Ie,Ae)=>{this.resetLoader(Ie),U(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Ae))},onAbort:(xe,Ie,Ae)=>{this.resetLoader(Ie),U(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Ae))}};E.load(W,te,ce)})}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 Le(P){const{type:t}=P;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ut(P,t){let n=P.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class jt{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(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,T=new E(n);return this.loaders[t.type]=T,T}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:T,deliveryDirectives:U,levelInfo:W}=n;this.load({id:s,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:T,deliveryDirectives:U,levelOrTrack:W})}onAudioTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:T,track:U}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:T,levelOrTrack:U})}onSubtitleTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:T,track:U}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:T,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 N=this.hls.logger,te=m.context;if(te&&te.levelOrTrack===t.levelOrTrack&&(te.url===t.url||te.deliveryDirectives&&!t.deliveryDirectives)){te.url===t.url?N.log(`[playlist-loader]: ignore ${t.url} ongoing request`):N.log(`[playlist-loader]: ignore ${t.url} in favor of ${te.url}`);return}N.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 N;if(t.type===h.LEVEL&&t.level!==null?N=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?N=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(N=this.hls.subtitleTracks[t.id].details),N){const te=N.partTarget,ce=N.targetduration;if(te&&ce){const xe=Math.max(te*3,ce*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(xe,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,E.maxTimeToFirstByteMs)})}}}const T=E.errorRetry||E.timeoutRetry||{},U={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:T.maxNumRetry||0,retryDelay:T.retryDelayMs||0,maxRetryDelay:T.maxRetryDelayMs||0},W={onSuccess:(N,te,ce,xe)=>{const Ie=this.getInternalLoader(ce);this.resetInternalLoader(ce.type);const Ae=N.data;if(Ae.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(N,ce,new Error("no EXTM3U delimiter"),xe||null,te);return}te.parsing.start=performance.now(),So.isMediaPlaylist(Ae)||ce.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(N,te,ce,xe||null,Ie):this.handleMasterPlaylist(N,te,ce,xe)},onError:(N,te,ce,xe)=>{this.handleNetworkError(te,ce,!1,N,xe)},onTimeout:(N,te,ce)=>{this.handleNetworkError(te,ce,!0,void 0,N)}};m.load(t,U,W)}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,T=t.data,U=ut(t,s),W=So.parseMasterPlaylist(T,U);if(W.playlistParsingError){this.handleManifestParsingError(t,s,W.playlistParsingError,m,n);return}const{contentSteering:N,levels:te,sessionData:ce,sessionKeys:xe,startTimeOffset:Ie,variableList:Ae}=W;this.variableList=Ae;const{AUDIO:at=[],SUBTITLES:tt,"CLOSED-CAPTIONS":kt}=So.parseMasterPlaylistMedia(T,U,W);at.length&&!at.some(sr=>!sr.url)&&te[0].audioCodec&&!te[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),at.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Ni({}),bitrate:0,url:""})),E.trigger(o.MANIFEST_LOADED,{levels:te,audioTracks:at,subtitles:tt,captions:kt,contentSteering:N,url:U,stats:n,networkDetails:m,sessionData:ce,sessionKeys:xe,startTimeOffset:Ie,variableList:Ae})}handleTrackOrLevelPlaylist(t,n,s,m,E){const T=this.hls,{id:U,level:W,type:N}=s,te=ut(t,s),ce=r(W)?W:r(U)?U:0,xe=Le(s),Ie=So.parseLevelPlaylist(t.data,te,ce,xe,0,this.variableList);if(N===h.MANIFEST){const Ae={attrs:new Ni({}),bitrate:0,details:Ie,name:"",url:te};Ie.requestScheduled=n.loading.start+Ln(Ie,0),T.trigger(o.MANIFEST_LOADED,{levels:[Ae],audioTracks:[],url:te,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Ie,this.handlePlaylistLoaded(Ie,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 T=`A network ${s?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?T+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(T+=` id: ${t.id} group-id: "${t.groupId}"`);const U=new Error(T);this.hls.logger.warn(`[playlist-loader]: ${T}`);let W=f.UNKNOWN,N=!1;const te=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:W=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,N=!0;break;case h.LEVEL:W=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,N=!1;break;case h.AUDIO_TRACK:W=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,N=!1;break;case h.SUBTITLE_TRACK:W=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,N=!1;break}te&&this.resetInternalLoader(t.type);const ce={type:c.NETWORK_ERROR,details:W,fatal:N,url:t.url,loader:te,context:t,error:U,networkDetails:n,stats:E};if(m){const xe=(n==null?void 0:n.url)||t.url;ce.response=b({url:xe,data:void 0},m)}this.hls.trigger(o.ERROR,ce)}handlePlaylistLoaded(t,n,s,m,E,T){const U=this.hls,{type:W,level:N,id:te,groupId:ce,deliveryDirectives:xe}=m,Ie=ut(n,m),Ae=Le(m),at=typeof m.level=="number"&&Ae===u.MAIN?N:void 0;if(!t.fragments.length){const kt=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:Ie,error:kt,reason:kt.message,response:n,context:m,level:at,parent:Ae,networkDetails:E,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const tt=t.playlistParsingError;if(tt){if(this.hls.logger.warn(tt),!U.config.ignorePlaylistParsingErrors){U.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Ie,error:tt,reason:tt.message,response:n,context:m,level:at,parent:Ae,networkDetails:E,stats:s});return}t.playlistParsingError=null}switch(t.live&&T&&(T.getCacheAge&&(t.ageHeader=T.getCacheAge()||0),(!T.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),W){case h.MANIFEST:case h.LEVEL:U.trigger(o.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||U.levels[0],level:at||0,id:te||0,stats:s,networkDetails:E,deliveryDirectives:xe,withoutMultiVariant:W===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:te||0,groupId:ce||"",stats:s,networkDetails:E,deliveryDirectives:xe});break;case h.SUBTITLE_TRACK:U.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:te||0,groupId:ce||"",stats:s,networkDetails:E,deliveryDirectives:xe});break}}}class ir{static get version(){return Va}static isMSESupported(){return $f()}static isSupported(){return Tf()}static getMediaSource(){return ae()}static get Events(){return o}static get MetadataSchema(){return ts}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return ir.defaultConfig?ir.defaultConfig:rf}static set DefaultConfig(t){ir.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 ya,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=fl(ir.DefaultConfig,t,n);this.userConfig=t,s.progressive&&Yo(s,n);const{abrController:m,bufferController:E,capLevelController:T,errorController:U,fpsController:W}=s,N=new U(this),te=this.abrController=new m(this),ce=new Lr(this),xe=s.interstitialsController,Ie=xe?this.interstitialsController=new xe(this,ir):null,Ae=this.bufferController=new E(this,ce),at=this.capLevelController=new T(this),tt=new W(this),kt=new jt(this),fr=s.contentSteeringController,sr=fr?new fr(this):null,kr=this.levelController=new Bf(this,sr),zr=new Hf(this),ln=new ve(this.config),Wr=this.streamController=new z(this,ce,ln),en=this.gapController=new mf(this,ce);at.setStreamController(Wr),tt.setStreamController(Wr);const un=[kt,kr,Wr];Ie&&un.splice(1,0,Ie),sr&&un.splice(1,0,sr),this.networkControllers=un;const Kr=[te,Ae,en,at,tt,zr,ce];this.audioTrackController=this.createController(s.audioTrackController,un);const Un=s.audioStreamController;Un&&un.push(this.audioStreamController=new Un(this,ce,ln)),this.subtitleTrackController=this.createController(s.subtitleTrackController,un);const pi=s.subtitleStreamController;pi&&un.push(this.subtititleStreamController=new pi(this,ce,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(Cf,Kr),this.coreComponents=Kr,un.push(N);const ua=N.onErrorOut;typeof ua=="function"&&this.on(o.ERROR,ua,N),this.on(o.MANIFEST_LOADED,kt.onManifestLoaded,kt)}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=le.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=Zo()),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){Ut(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 T=t[E].attrs["HDCP-LEVEL"];if(T&&T<=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=Li(n);return Lt(t,s,navigator.mediaCapabilities)}}ir.defaultConfig=void 0},53280:function(d,v,e){"use strict";e.d(v,{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,S=0;function k(){_&&clearTimeout(_)}function R(D){var M=D||{},B=M.upcomingOnly,j=B===void 0?!1:B;k(),b=!j}function A(){for(var D=arguments.length,M=new Array(D),B=0;B<D;B++)M[B]=arguments[B];var j=this,Y=Date.now()-S;if(b)return;function V(){S=Date.now(),c.apply(j,M)}function G(){_=void 0}!x&&y&&!_&&V(),k(),y===void 0&&Y>l?x?(S=Date.now(),u||(_=setTimeout(y?G:V,l))):V():u!==!0&&(_=setTimeout(y?G:V,y===void 0?l-Y:l))}return A.cancel=R,A}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 v=__webpack_module_cache__[d];if(v!==void 0)return v.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 v=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(v,{a:v}),v}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__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={};v=v||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~v.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,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](d,v),v},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",672:"p__Home__Detail__ShixunContext__Detail__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"e69b28bf",33:"2f21dd1c",67:"f89b9f1e",109:"42b54f99",169:"d96447db",195:"b4ee6371",264:"dc916851",265:"0e2afa1a",292:"064d97ac",310:"50c31b61",316:"1f60ada6",337:"af581288",342:"6b3b4c9b",354:"d4d139cf",391:"42dee83e",425:"7055c54b",479:"be0007de",485:"f7b5567d",508:"48493c85",532:"c1fbc7b6",533:"405bf9b0",547:"24bbee7d",556:"1854c793",559:"00431d9b",570:"eacca2ec",576:"b17caf43",599:"ed444d24",629:"44a1d9a5",643:"08b191d2",671:"4a609b8d",672:"abb32848",680:"bef5848a",700:"06216958",737:"357479e0",741:"ac5fd360",799:"398cf07c",869:"7ccdfb9d",895:"a7981358",921:"f793a5d6",928:"3beb70a2",981:"24da50c7",1006:"eb6390c1",1043:"854b1252",1045:"1e70b6af",1048:"3cf05be7",1070:"f257880f",1144:"c90eccaf",1148:"c3f24e98",1154:"8cb80842",1211:"ae1a84ea",1253:"58e9c535",1257:"f3e4477f",1265:"caea856e",1274:"5f6ea65a",1276:"5a16a6b9",1343:"a29b7c40",1416:"0ec10343",1423:"1abf9902",1427:"cc7cf14e",1450:"c7c58e3b",1461:"9d4eb505",1462:"fcf08abc",1470:"0a231e88",1475:"dd5fa7dc",1482:"15e6fd08",1512:"481eda40",1520:"f9048efe",1545:"c9fb6de0",1578:"076174ba",1581:"4f84cf78",1582:"3fa838b1",1646:"e6e27b60",1657:"0ac0a25f",1660:"a914fab0",1674:"a2c0b869",1702:"c02c44d7",1713:"f896d626",1717:"28fb5f18",1727:"83e0a21b",1783:"5b830e89",1799:"9e962558",1831:"ec1edfb8",1836:"2e42f320",1855:"a387e74d",1880:"a40fc683",1939:"fff47a15",1953:"aa836f1b",1962:"bfcdae9b",2011:"59d51f98",2045:"75ebd9ba",2076:"25a70ca6",2102:"2fe6680d",2141:"f3b51482",2216:"b75d2d06",2240:"2def296c",2249:"f4830452",2254:"0dcc84b5",2300:"f7b34b30",2303:"2464d146",2307:"00c2a4a4",2338:"08ff5944",2339:"d7fcb992",2364:"f89faf70",2386:"192e235c",2396:"781aa4bc",2404:"001097da",2412:"e9215531",2425:"33c9399c",2443:"08819e89",2476:"9ac20241",2494:"68080a87",2501:"e0a8a565",2529:"249b73cb",2538:"de4a3723",2539:"e92541ab",2548:"aa53f43d",2570:"f4a44834",2594:"e87d3761",2603:"85e48726",2659:"eb719cac",2707:"72596bc8",2806:"10a117e1",2819:"eab8b9d0",2823:"7dbf3825",2826:"f1914eb4",2829:"78026876",2837:"54a82605",2865:"6125e70a",2875:"2ccc0441",2884:"abda3a76",2969:"ab3357d7",2983:"70a42cc8",3006:"c4f4299c",3133:"9bf3f89c",3141:"26c9225e",3157:"61269c7d",3183:"dceac9d0",3198:"8e655451",3212:"6a4e03c5",3220:"8aead32e",3247:"95b3d7c1",3260:"e682b9bd",3276:"bfb2709e",3282:"45a3aee4",3317:"4e335d81",3332:"020b4145",3355:"b9dd3914",3356:"d2a0d2e4",3391:"822d9714",3433:"b130c185",3442:"dc2d77c3",3447:"114e4c34",3451:"4918b15f",3496:"c6fee22f",3509:"fa583eb5",3550:"3dc83156",3581:"405bbe21",3585:"9566db4d",3665:"b3a59ba5",3668:"b45a657c",3697:"481a10d9",3747:"7d2934b0",3754:"51480d6c",3777:"d5b0f2f1",3784:"e315c598",3805:"9dbcb95e",3862:"43117f72",3873:"103e3c7a",3885:"f87f7f15",3910:"a3b97753",3935:"74d0c027",3951:"e12c5f82",3987:"5cecd51b",4014:"27a8e97c",4017:"55e12afd",4030:"06b81de0",4056:"f009f7dc",4058:"82246f46",4078:"9ed12237",4088:"236723f3",4093:"f0d2f838",4105:"4176364e",4142:"18f91fb5",4144:"f3b484d8",4164:"88e13b82",4216:"1920b017",4217:"8986d9d4",4227:"15f56bd8",4259:"2b33253d",4264:"9b5cde7e",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"64fddfc3",4492:"fda981c9",4496:"866d80ea",4498:"fc6a5d81",4504:"2bef28ef",4514:"37fb9cb3",4520:"fdf68850",4546:"9979c4ea",4565:"ae294bdd",4572:"e8976df3",4599:"61def4cb",4601:"addc89a3",4610:"ac6a9291",4621:"d8e356ba",4628:"ece2c60c",4662:"b7be9cd9",4685:"c33f1528",4715:"20dd66b3",4736:"41a17a1f",4741:"71232969",4757:"f22496c0",4766:"851589b4",4770:"dff668fd",4790:"619413e4",4795:"f217b3dc",4797:"a24e92db",4800:"dc443e29",4849:"cff2df61",4850:"1edda4b7",4862:"119033b2",4884:"2ed09f6f",4889:"d13f268c",4928:"43b85a26",4973:"8e91fb46",4994:"880556d1",5022:"78b5deac",5043:"0a8a14b5",5048:"ec3f42fd",5060:"85dafcc6",5096:"3dc06800",5111:"8843ac55",5125:"e1bfc7c0",5148:"abd1b0bb",5176:"8acdee46",5179:"2a6b0851",5186:"c9123e1d",5191:"7b1bce7a",5238:"dd23f074",5265:"4674305d",5290:"5dabcdc2",5297:"3044a2e1",5319:"60523ac1",5321:"1163c84e",5335:"1b6d9bba",5354:"7ae70604",5357:"5191dc5e",5359:"f4695da1",5382:"f5f184b3",5402:"271dfa21",5416:"454536b7",5434:"38b302a6",5470:"0bc10235",5494:"d89549c4",5518:"a2a43d3e",5549:"fd9949bd",5572:"58d6df49",5573:"9a916ea2",5599:"0fae502c",5624:"b7cced96",5631:"e00d3d36",5650:"931e21ad",5679:"4a090bef",5705:"956a5d8e",5729:"404df893",5764:"e0d7e586",5775:"3c5b3945",5786:"a972d493",5798:"8115a862",5816:"b6f9ae3e",5825:"b0fcb818",5876:"5eded409",5888:"b2f9e6cc",5891:"cb9b3f8e",5895:"6126c7f8",5902:"c669e75f",5915:"9bdbd5d4",5972:"9aedd912",5992:"c8481273",6029:"d44f7777",6034:"ae720437",6045:"d268f87f",6047:"3ce45acd",6052:"fb6c0ae8",6063:"6d1aef3b",6069:"4a6234fb",6126:"99519171",6127:"61ebb201",6170:"c4b92aae",6265:"9f171c30",6270:"b298f34e",6277:"a5bf1213",6328:"2d5cb5ce",6366:"4114480b",6378:"7f3a946a",6411:"3b971528",6434:"76345a7b",6444:"3283373d",6452:"63e781ca",6531:"5b8bb018",6541:"e8277276",6583:"180db2ba",6587:"f4f2413e",6634:"046c6c5a",6651:"9e24df4a",6656:"2fabaf00",6685:"c9acde07",6729:"a73d05b9",6741:"53889cd7",6758:"943ac4e6",6774:"59d4d618",6784:"8d81c22a",6788:"abd898c6",6796:"f1852e64",6805:"b1042b68",6820:"cd17b315",6845:"fb75bbaa",6882:"edef5819",6883:"6cb80143",6904:"32b39fb4",6913:"f0ddf9ed",6963:"710c08d0",6982:"3a360dd2",7008:"b98b9208",7043:"3d7898ce",7045:"4b64df2d",7046:"f027cee7",7058:"3fd98bcf",7062:"dd5058d8",7084:"46ccce72",7156:"e7466006",7178:"80066754",7182:"09e4c243",7224:"371c6dda",7242:"c5b1bc8d",7260:"9144f8d4",7331:"2e27a23b",7333:"43cfa956",7365:"1005464f",7395:"0bea2e96",7460:"1ab44e59",7477:"4bd6362b",7482:"3120816b",7527:"c9e6d0ab",7545:"eca5cc75",7560:"279f12b5",7589:"f339425d",7591:"c8233ce9",7614:"97f6c814",7622:"c1a93444",7686:"4fcec9f9",7706:"c2a79e40",7806:"4fd403d5",7852:"d02314ed",7855:"8496c528",7857:"91ee9735",7878:"82d2c89e",7884:"4e91c64e",7890:"ca5e41c9",7922:"e03512f4",7948:"7cfb12e3",7963:"64ac60d4",7964:"29aed9a1",8014:"7b42bf26",8062:"cb99a22e",8072:"65ee4500",8077:"7dfcc777",8085:"7276a16e",8089:"d536b13a",8143:"b3789484",8155:"3e92c42b",8161:"83c5fa9a",8237:"7a869a1c",8241:"1f3a8449",8302:"447ed68d",8307:"8652080e",8340:"35eeb8f5",8350:"07df8a75",8365:"679ecccf",8398:"2724df57",8431:"3f117d68",8435:"2086f5ab",8447:"97953af4",8517:"b5995b14",8561:"333e8ec9",8563:"ef31d751",8634:"9379bd89",8639:"ebbaf1d9",8665:"d277deb8",8688:"7414b1eb",8689:"f73e9279",8723:"bc885b51",8737:"ce7dad23",8776:"0ad26240",8782:"5d736977",8787:"2a6220f8",8797:"d47f3a6e",8823:"18ea4401",8827:"97b9142a",8842:"9f25a3e2",8866:"36faf89c",8882:"fae51d7e",8885:"ef3e8aff",8898:"d002bcd8",8909:"bf822f6b",8920:"7f82440c",8963:"790aecdd",8982:"a9501b64",8999:"8f775d6c",9076:"b772835c",9104:"bbcb2345",9133:"233d77d9",9205:"9aeaae62",9215:"ecd5aa8d",9252:"0d791a59",9260:"cf5f8140",9332:"696c94b5",9360:"708ac614",9366:"4447376a",9391:"d9b59972",9404:"9fcc3d3e",9408:"810051f2",9416:"bbb2e0b7",9487:"4d567133",9489:"5fd6da22",9507:"0b0f4218",9519:"a14f7321",9554:"ed358e7b",9559:"f794af19",9590:"e61309a5",9596:"ed8f1fc2",9647:"993f8f78",9649:"1a4189af",9674:"57870c71",9677:"88667945",9695:"6765914b",9715:"4366300c",9716:"08598cab",9785:"176dc5e2",9788:"f170f317",9890:"4fc3c43a",9891:"9ed12111",9895:"b8e31ff2",9921:"883b2807",9922:"983263e4",9928:"5989f5e0",9944:"9fa44947",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",109:"1a7fc455",195:"65632591",264:"5fd9b3fc",265:"d92c6f86",292:"9a0e8f6b",310:"06815302",337:"ee05039e",342:"ab091f90",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"1d9948a7",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"f8f5f64f",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"ddd6a700",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"23cbc47f",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"87592c17",2307:"b2c54321",2338:"dd6e8a16",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"78513f2d",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"cc184a3f",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"49ca09b2",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"39e3d07c",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"7630d0f9",3585:"5f288e7b",3665:"5250d444",3668:"86f20630",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"cd50aa32",3951:"4a9249b1",4030:"f308ee3a",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"7f9d4513",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:"014ca65e",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"c8d03de5",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e8eacc3e",4884:"bd293d3b",4889:"a91da64a",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"0208754c",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"73177a8c",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"5496b206",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6656:"03cdfb68",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"558cc090",6784:"1affe817",6788:"9cd39ff5",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"fe78dd10",7178:"6e47d75d",7182:"183c9793",7224:"7caf9754",7242:"4f353f61",7260:"2c380d56",7395:"ff574c5d",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"a4765b7e",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:"2e8d934b",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"60a111b6",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"9e7a9852",8827:"af0ed6a3",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"6ead6660",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"9ebce4ba",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,v){return Object.prototype.hasOwnProperty.call(d,v)}}(),function(){var d={};__webpack_require__.l=function(v,e,r,i){if(d[v]){d[v].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")==v){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=v,l.src.indexOf(window.location.origin+"/")!==0&&(l.crossOrigin="anonymous")),d[v]=[e];var u=function(x,p){l.onerror=l.onload=null,clearTimeout(a);var y=d[v];if(delete d[v],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},v=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(v(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,3276:1,3282:1,3317:1,3332:1,3355:1,3356:1,3391:1,3433:1,3442:1,3447:1,3451:1,3496:1,3509:1,3581:1,3585:1,3665:1,3668:1,3747:1,3784:1,3873:1,3910:1,3935:1,3951:1,4030:1,4056:1,4078:1,4093:1,4105:1,4144:1,4164:1,4216:1,4217:1,4227:1,4259:1,4264:1,4449:1,4492:1,4496:1,4498:1,4504:1,4514:1,4520:1,4546:1,4572:1,4599:1,4601:1,4610:1,4621:1,4662:1,4715:1,4736:1,4741:1,4757:1,4766:1,4770:1,4795:1,4800:1,4849:1,4862:1,4884:1,4889:1,4928:1,4973:1,4994:1,5022:1,5043:1,5048:1,5096:1,5111:1,5125:1,5148:1,5176:1,5179:1,5186:1,5191:1,5238:1,5297:1,5319:1,5335:1,5357:1,5359:1,5382:1,5402:1,5470:1,5518:1,5549:1,5572:1,5573:1,5599:1,5624:1,5650:1,5705:1,5729:1,5775:1,5786:1,5798:1,5816:1,5825:1,5888:1,5891:1,5895:1,5915:1,5972:1,5992:1,6029:1,6052:1,6063:1,6069:1,6127:1,6265:1,6270:1,6277:1,6328:1,6366:1,6434:1,6444:1,6452:1,6541:1,6583:1,6587:1,6634:1,6651:1,6656:1,6685:1,6729:1,6741:1,6758:1,6784:1,6788:1,6796:1,6805:1,6820:1,6845:1,6882:1,6883:1,6904:1,6913:1,6963:1,6982:1,7008:1,7043:1,7045:1,7046:1,7058:1,7062:1,7178:1,7182:1,7224:1,7242:1,7260:1,7395:1,7460:1,7477:1,7482:1,7527:1,7545:1,7560:1,7589:1,7614:1,7622:1,7806:1,7852:1,7855:1,7857:1,7878:1,7884:1,7922:1,7948:1,8014:1,8062:1,8072:1,8077:1,8085:1,8143:1,8155:1,8237:1,8241:1,8302:1,8307:1,8398:1,8431:1,8435:1,8447:1,8517:1,8563:1,8634:1,8665:1,8688:1,8689:1,8723:1,8782:1,8787:1,8797:1,8823:1,8827:1,8866:1,8882:1,8885:1,8982:1,8999:1,9076:1,9133:1,9205:1,9215:1,9332:1,9360:1,9366:1,9391:1,9404:1,9408:1,9416:1,9487:1,9489:1,9507:1,9519:1,9590:1,9647:1,9649:1,9674:1,9677:1,9695:1,9715:1,9716:1,9785:1,9788:1,9890:1,9891:1,9921:1,9922:1,9944:1};r[i]?l.push(r[i]):r[i]!==0&&c[i]&&l.push(r[i]=e(i).then(function(){r[i]=0},function(f){throw delete r[i],f}))}}}(),function(){__webpack_require__.b=document.baseURI||self.location.href;var d={4620:0};__webpack_require__.f.j=function(r,i){var l=__webpack_require__.o(d,r)?d[r]:void 0;if(l!==0)if(l)i.push(l[2]);else if(/^(4599|6883|9404)$/.test(r))d[r]=0;else{var c=new Promise(function(u,a){l=d[r]=[u,a]});i.push(l[2]=c);var f=__webpack_require__.p+__webpack_require__.u(r),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 v=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(v.bind(null,0)),e.push=v.bind(null,e.push.bind(e))}();var __webpack_exports__={};(function(){"use strict";var d=__webpack_require__(68557),v=__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),S=__webpack_require__(86357),k=__webpack_require__(93074),R=__webpack_require__(96331),A=__webpack_require__(2924),D=__webpack_require__(26425),M=__webpack_require__(32125),B=__webpack_require__(16137),j=__webpack_require__(48435),Y=__webpack_require__(11553),V=__webpack_require__(70365),G=__webpack_require__(33717),ae=__webpack_require__(17482),ie=__webpack_require__(23708),ue=__webpack_require__(65033),q=__webpack_require__(52732),J=__webpack_require__(99382),K=__webpack_require__(88437),oe=__webpack_require__(68440),ee=__webpack_require__(13412),Q=__webpack_require__(11005),le=__webpack_require__(70348),Z=__webpack_require__(19801),$=__webpack_require__(91550),se=__webpack_require__(85223),_e=__webpack_require__(7154),De=__webpack_require__(67788),ke=__webpack_require__(96009),Ze=__webpack_require__(9402),Ne=__webpack_require__(62489),Bt=__webpack_require__(80881),yt=__webpack_require__(62837),Dt=__webpack_require__(4705),Jt=__webpack_require__(13941),er=__webpack_require__(1148),tr=__webpack_require__(82445),Xe=__webpack_require__(27267),Pt=__webpack_require__(96353),Zt=__webpack_require__(90308),ot=__webpack_require__(84818),xt=__webpack_require__(80585),ht=__webpack_require__(89170),et=__webpack_require__(71012),je=__webpack_require__(84203),ge=__webpack_require__(22112),Se=__webpack_require__(81440),Me=__webpack_require__(25430),$e=__webpack_require__(70105),He=__webpack_require__(71390),nt=__webpack_require__(96844),ct=__webpack_require__(83578),Vt=__webpack_require__(69762),Ht=__webpack_require__(76880),Pe=__webpack_require__(65009),qe=__webpack_require__(28796),Yt=__webpack_require__(56450),Rt=__webpack_require__(78342),Wt=__webpack_require__(13161),$t=__webpack_require__(54226),At=__webpack_require__(70201),Xt=__webpack_require__(34941),We=__webpack_require__(85671),fe=__webpack_require__(35152),pe=__webpack_require__(85660),Ot=__webpack_require__(80031),Te=__webpack_require__(34434),dt=__webpack_require__(83579),Gt=__webpack_require__(74307),St=__webpack_require__(97423),Oe=__webpack_require__(93321),wt=__webpack_require__(82277),be=__webpack_require__(61425),Ke=__webpack_require__(61873),gt=__webpack_require__(9307),Ft=__webpack_require__(8821),Fe=__webpack_require__(64385),Dr=__webpack_require__(64099),Ct=__webpack_require__(62455),Gr=__webpack_require__(79965),Qr=__webpack_require__(59118),Cr=__webpack_require__(275),Fr=__webpack_require__(31919),mr=__webpack_require__(51284),jr=__webpack_require__(10177),sn=__webpack_require__(85690),cn=__webpack_require__(92114),lr=__webpack_require__(1017),Lt=__webpack_require__(14480),mt=__webpack_require__(40516),vt=__webpack_require__(76345),Ut=__webpack_require__(7282),Sr=__webpack_require__(58055),yr=__webpack_require__(93547),it=__webpack_require__(31237),Br=__webpack_require__(17954),gn=__webpack_require__(58580),zn=__webpack_require__(47146),gr=__webpack_require__(40416),tn=__webpack_require__(7615),pn=__webpack_require__(72820),Fn=__webpack_require__(86070),Tn=__webpack_require__(23569),oi=__webpack_require__(55639),Pi=__webpack_require__(63046),Li=__webpack_require__(464),Si=__webpack_require__(51082),gi=__webpack_require__(83850),ii=__webpack_require__(41990),na=__webpack_require__(15787),ni=__webpack_require__(55888),Ji=__webpack_require__(53827),bt=__webpack_require__(78143),lt=__webpack_require__(66419),Qn=__webpack_require__(75765),yi=__webpack_require__(14645),ei=__webpack_require__(71122),Ki=__webpack_require__(42084),bi=__webpack_require__(25070),qn=__webpack_require__(77140),An=__webpack_require__(15954),rr=__webpack_require__(4266),_t=__webpack_require__(49988),rt=__webpack_require__(38823),It=__webpack_require__(24627),pt=__webpack_require__(4045),cr=__webpack_require__(50747),dr=__webpack_require__(43595),Tr=__webpack_require__(92324),Hr=__webpack_require__(23551),Ue=__webpack_require__(74521),Je=__webpack_require__(57891),Ee=__webpack_require__(84138),st=__webpack_require__(51832),nr=__webpack_require__(37135),Lr=__webpack_require__(6474),Or=__webpack_require__(40135),Ir=__webpack_require__(7982),Ur=__webpack_require__(14893),_n=__webpack_require__(49233),Pr=__webpack_require__(92130),fn=__webpack_require__(42844),nn=__webpack_require__(6536),on=__webpack_require__(27228),Sn=__webpack_require__(62921),va=__webpack_require__(44001),wi=__webpack_require__(92262),_i=__webpack_require__(54744),vn=__webpack_require__(38214),si=__webpack_require__(12756),Bi=__webpack_require__(93379),da=__webpack_require__(62007),Ha=__webpack_require__(90572),Ta=__webpack_require__(37343),fs=__webpack_require__(45945),Es=__webpack_require__(75551),Wa=__webpack_require__(32493),mi=__webpack_require__(20852),ia=__webpack_require__(46302),os=__webpack_require__(18827),Ga=__webpack_require__(76718),Is=__webpack_require__(79172),Yi=__webpack_require__(32192),ms=__webpack_require__(42828),bo=__webpack_require__(5658),Ni=__webpack_require__(55629),vs=__webpack_require__(62925),Na=__webpack_require__(9595),Ys=__webpack_require__(58127),Dn=__webpack_require__(70917),$a=__webpack_require__(53427),cs=__webpack_require__(70878),ja=__webpack_require__(49257),zi=__webpack_require__(72910),Ra=__webpack_require__(34932),Da=__webpack_require__(81046),ws=__webpack_require__(85744),Xs=__webpack_require__(13494),xo=__webpack_require__(56338),ho=__webpack_require__(66755),wa=__webpack_require__(68709),gs=__webpack_require__(4939),Zs=__webpack_require__(81927),no=__webpack_require__(60462),Eo=__webpack_require__(72571),wo=__webpack_require__(71200),po=__webpack_require__(85767),di=__webpack_require__(84432),ci=__webpack_require__(59022),Ua=__webpack_require__(19363),Qa=__webpack_require__(51054),qa=__webpack_require__(60330),Qs=__webpack_require__(55234),qs=__webpack_require__(88104),Qo=__webpack_require__(64336),ds=__webpack_require__(63914),Oo=__webpack_require__(35246),ko=__webpack_require__(83470),Ho=__webpack_require__(79641),Su=__webpack_require__(72397),So=__webpack_require__(24860),_o=__webpack_require__(19320),Js=__webpack_require__(56233),$u=__webpack_require__(59419),Ro=__webpack_require__(64344),Lo=__webpack_require__(5316),Hs=__webpack_require__(93744),du=__webpack_require__(19299),jo=__webpack_require__(15286),Ao=__webpack_require__(91927),Bs=__webpack_require__(27730),Rs=__webpack_require__(58707),hu=__webpack_require__(41356),Au=__webpack_require__(51606),qt=__webpack_require__(8966),hr=__webpack_require__(38458),or=__webpack_require__(71957),vr=__webpack_require__(89466),wr=__webpack_require__(69653),yn=__webpack_require__(96519),En=__webpack_require__(95576),$n=__webpack_require__(63079),Ln=__webpack_require__(8995),Vn=__webpack_require__(23080),ur=__webpack_require__(74701),Nr=__webpack_require__(91809),xr=__webpack_require__(77517),hn=__webpack_require__(30149),Wn=__webpack_require__(55410),ft=__webpack_require__(46161),Pn=__webpack_require__(14800),Kn=__webpack_require__(91130),ui=__webpack_require__(2722),Xi=__webpack_require__(55885),$r=__webpack_require__(39034),Vr=__webpack_require__(8604),ga=__webpack_require__(64963),Ii=__webpack_require__(25178),aa=__webpack_require__(1905),Ds=__webpack_require__(94306),li=__webpack_require__(11762),Ws=__webpack_require__(93164),Uo=__webpack_require__(88900),Ls=__webpack_require__(54815),ya=__webpack_require__(81138),Va=__webpack_require__(37252),ys=__webpack_require__(81673),Mn=__webpack_require__(48966),Ns=__webpack_require__(13015),$s=__webpack_require__(78527),Ye=__webpack_require__(20511),Qe=__webpack_require__(78366),Mt=__webpack_require__(27427),Kt=__webpack_require__(43890),pr=__webpack_require__(55844),Mr=__webpack_require__(71361),Zr=__webpack_require__(44550),mn=__webpack_require__(413),rn=__webpack_require__(77464),bn=__webpack_require__(77703),Yn=__webpack_require__(93854),ti=__webpack_require__(962),xi=__webpack_require__(44169),Ai=__webpack_require__(56272),Zi=__webpack_require__(43466),$i=__webpack_require__(48156),Ei=__webpack_require__(93236),ba=__webpack_require__(42212),Di=__webpack_require__(63923),hi=__webpack_require__(2278),la=__webpack_require__(36955),eo=__webpack_require__(77326),Ss=__webpack_require__(53571),Qi=__webpack_require__(28670),La=__webpack_require__(31050),ta=__webpack_require__(25321),Ri=__webpack_require__(96364),xa=__webpack_require__(46304),Ka=__webpack_require__(55163),Fa=__webpack_require__(78722),io=__webpack_require__(35977),Ja=__webpack_require__(81848),ao=__webpack_require__(52867),es=__webpack_require__(72211),js=__webpack_require__(84862),ts=__webpack_require__(92381),Hi=__webpack_require__(19517),Ba=__webpack_require__(69667),Os=__webpack_require__(80820),ha=__webpack_require__(87873),ye=__webpack_require__(54609),we=__webpack_require__(28566),Ar=__webpack_require__(51697),Jr=__webpack_require__(61872),br=__webpack_require__(76077),Xr=__webpack_require__(9196),wn=__webpack_require__(5369),Jn=__webpack_require__(26259),Mi=__webpack_require__(47736),On=__webpack_require__(28220),kn=__webpack_require__(62060),Bn=__webpack_require__(49350),ca=__webpack_require__(20126),Wi=__webpack_require__(18090),vo=__webpack_require__(14309),so=__webpack_require__(17822),ru=__webpack_require__(83543),hl=__webpack_require__(13853),Yu=__webpack_require__(25188),pu=__webpack_require__(10215),Tl=__webpack_require__(3432),_u=__webpack_require__(90486),Ve=__webpack_require__(6736),H=__webpack_require__(8774),X=__webpack_require__(94065),ne=__webpack_require__(93036),he=__webpack_require__(75708),Ce=__webpack_require__(84624),Ge=__webpack_require__(66233),Tt=__webpack_require__(43710),Nt=__webpack_require__(92762),ar=__webpack_require__(24467),Er=__webpack_require__(68465),zt=__webpack_require__(77004),an=__webpack_require__(83925),xn=__webpack_require__(51117),jn=__webpack_require__(87236),Zn=__webpack_require__(83733),Ci=__webpack_require__(92044),pa=__webpack_require__(29190),sa=__webpack_require__(10775),fa=__webpack_require__(19593),us=__webpack_require__(26502),za=__webpack_require__(10174),hs=__webpack_require__(96378),rs=__webpack_require__(58216),Ea=__webpack_require__(41401),Za=__webpack_require__(79908),ks=__webpack_require__(82531),vi=__webpack_require__(79890),oo=__webpack_require__(88472),Co=__webpack_require__(38944),Mo=__webpack_require__(78423),Ms=__webpack_require__(65713),go=__webpack_require__(22968),ps=__webpack_require__(17564),Xu=__webpack_require__(1220),ju=__webpack_require__(44886),Qu=__webpack_require__(57019),uu=__webpack_require__(35295),As=__webpack_require__(80286),Uu=__webpack_require__(38487),Cu=__webpack_require__(29916),yo=__webpack_require__(25541),pl=__webpack_require__(45612),_l=__webpack_require__(34926),qo=__webpack_require__(98080),ml=__webpack_require__(68255),Gs=__webpack_require__(96351),To=__webpack_require__(16450),mu=__webpack_require__(60244),Wl=__webpack_require__(86921),Tu=__webpack_require__(82928),lc=__webpack_require__(42947),Pl=__webpack_require__(71568),ai=__webpack_require__(94194),xc=__webpack_require__(30556),to=__webpack_require__(32100),Ec=__webpack_require__(93102),Jo=__webpack_require__(1821),Pu=__webpack_require__(82074),qu=__webpack_require__(13578),zo=__webpack_require__(59348),jc=__webpack_require__(62882),mo=__webpack_require__(37457),lf=__webpack_require__(70654),cf=__webpack_require__(90252),Uc=__webpack_require__(29482),Il=__webpack_require__(51630),vl=__webpack_require__(61933),Dl=__webpack_require__(619),Fo=__webpack_require__(99675),Ol=__webpack_require__(52548),Us=__webpack_require__(53637),Bo=__webpack_require__(57482),Fs=__webpack_require__(59725),Gl=__webpack_require__(17610),gl=__webpack_require__(56966),nu=__webpack_require__(11507),wc=__webpack_require__(16315),Sc=__webpack_require__(60239),iu=__webpack_require__(49381),kl=__webpack_require__(17230),vu=__webpack_require__(62720),cc=__webpack_require__(57151),Ju=__webpack_require__(48732),ka=__webpack_require__(18481),zc=__webpack_require__(55055),Zc=__webpack_require__(7195),zu=__webpack_require__(89179),Ac=__webpack_require__(90965),ff=__webpack_require__(67725),fc=__webpack_require__(59884),au=__webpack_require__(89202),Hc=__webpack_require__(97815),Vl=__webpack_require__(11593),yl=__webpack_require__(7597),Wc=__webpack_require__(55182),Kl=__webpack_require__(34366),Wo=__webpack_require__(85425),Iu=__webpack_require__(64522),dc=__webpack_require__(41599),Zu=__webpack_require__(86465),Cc=__webpack_require__(78437),Gc=__webpack_require__(73624),Yl=__webpack_require__(62059),uo=__webpack_require__(10305),Xl=__webpack_require__(41208),Tc=__webpack_require__(25204),Du=__webpack_require__(40061),Ou=__webpack_require__(47803),lo=__webpack_require__(7893),el=__webpack_require__(4890),df=__webpack_require__(5340),Pc=__webpack_require__(61650),Vc=__webpack_require__(58246),bl=__webpack_require__(65873),Po=__webpack_require__(63579),Rl=__webpack_require__(87296),ze=__webpack_require__(59301),gu=__webpack_require__(4676),eu=__webpack_require__(35338),Ll=__webpack_require__(91231);function No(Cn){var Gn=Cn.id,Fi=Cn.basename,Sa=Cn.cb,Gi=new URLSearchParams({route:Gn,url:window.location.href}).toString(),oa="".concat(Vs(window.umiServerLoaderPath||Fi),"__serverLoader?").concat(Gi);fetch(oa,{credentials:"include"}).then(function(ma){return ma.json()}).then(Sa).catch(console.error)}function Vs(){var Cn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Cn.endsWith("/")?Cn:"".concat(Cn,"/")}var Go=__webpack_require__(38127),ku=__webpack_require__(38329),Io=__webpack_require__(8616),tl=["content"],yu=["content"],hc=/^(http:|https:)?\/\//;function Ru(Cn){return hc.test(Cn)||Cn.startsWith("/")&&!Cn.startsWith("/*")||Cn.startsWith("./")||Cn.startsWith("../")}var Vo=function(){return ze.createElement("noscript",{dangerouslySetInnerHTML:{__html:"<b>Enable JavaScript to run this app.</b>"}})},rl=function(Gn){var Fi,Sa=Gn.loaderData,Gi=Gn.htmlPageOpts,oa=Gn.manifest,ma=(oa==null||(Fi=oa.assets)===null||Fi===void 0?void 0:Fi["umi.css"])||"";return ze.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Sa||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Gi||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(ma,"'")}})};function bu(Cn){var Gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Cn=="string")return Ru(Cn)?(0,Po.Z)({src:Cn},Gn):{content:Cn};if((0,Io.Z)(Cn)==="object")return(0,Po.Z)((0,Po.Z)({},Cn),Gn);throw new Error("Invalid script type: ".concat((0,Io.Z)(Cn)))}function Ic(Cn){return Ru(Cn)?{type:"link",href:Cn}:{type:"style",content:Cn}}var Kc=function(Gn){var Fi,Sa,Gi,oa,ma,_s,qi=Gn.htmlPageOpts;return ze.createElement(ze.Fragment,null,(qi==null?void 0:qi.title)&&ze.createElement("title",null,qi.title),qi==null||(Fi=qi.favicons)===null||Fi===void 0?void 0:Fi.map(function(is,Wu){return ze.createElement("link",{key:Wu,rel:"shortcut icon",href:is})}),(qi==null?void 0:qi.description)&&ze.createElement("meta",{name:"description",content:qi.description}),(qi==null||(Sa=qi.keywords)===null||Sa===void 0?void 0:Sa.length)&&ze.createElement("meta",{name:"keywords",content:qi.keywords.join(",")}),qi==null||(Gi=qi.metas)===null||Gi===void 0?void 0:Gi.map(function(is){return ze.createElement("meta",{key:is.name,name:is.name,content:is.content})}),qi==null||(oa=qi.links)===null||oa===void 0?void 0:oa.map(function(is,Wu){return ze.createElement("link",(0,ku.Z)({key:Wu},is))}),qi==null||(ma=qi.styles)===null||ma===void 0?void 0:ma.map(function(is,Wu){var Bu=Ic(is),Gu=Bu.type,ul=Bu.href,ll=Bu.content;if(Gu==="link")return ze.createElement("link",{key:Wu,rel:"stylesheet",href:ul});if(Gu==="style")return ze.createElement("style",{key:Wu},ll)}),qi==null||(_s=qi.headScripts)===null||_s===void 0?void 0:_s.map(function(is,Wu){var Bu=bu(is),Gu=Bu.content,ul=(0,Go.Z)(Bu,tl);return ze.createElement("script",(0,ku.Z)({dangerouslySetInnerHTML:{__html:Gu},key:Wu},ul))}))};function Zo(Cn){var Gn,Fi=Cn.children,Sa=Cn.loaderData,Gi=Cn.manifest,oa=Cn.htmlPageOpts,ma=Cn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_s=Cn.mountElementId;if(ma!=null&&ma.pureHtml)return ze.createElement("html",null,ze.createElement("head",null),ze.createElement("body",null,ze.createElement(Vo,null),ze.createElement("div",{id:_s},Fi),ze.createElement(rl,{manifest:Gi,loaderData:Sa,htmlPageOpts:oa})));if(ma!=null&&ma.pureApp)return ze.createElement(ze.Fragment,null,Fi);var qi=typeof window=="undefined"?Gi==null?void 0:Gi.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return ze.createElement("html",{suppressHydrationWarning:!0,lang:(oa==null?void 0:oa.lang)||"en"},ze.createElement("head",null,ze.createElement("meta",{charSet:"utf-8"}),ze.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),qi&&ze.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:qi}),ze.createElement(Kc,{htmlPageOpts:oa})),ze.createElement("body",null,ze.createElement(Vo,null),ze.createElement("div",{id:_s},Fi),ze.createElement(rl,{manifest:Gi,loaderData:Sa,htmlPageOpts:oa}),oa==null||(Gn=oa.scripts)===null||Gn===void 0?void 0:Gn.map(function(is,Wu){var Bu=bu(is),Gu=Bu.content,ul=(0,Go.Z)(Bu,yu);return ze.createElement("script",(0,ku.Z)({dangerouslySetInnerHTML:{__html:Gu},key:Wu},ul))})))}var xu=ze.createContext(void 0);function nl(){return ze.useContext(xu)}var il=["redirect"];function Ql(Cn){var Gn=Cn.routesById,Fi=Cn.parentId,Sa=Cn.routeComponents,Gi=Cn.useStream,oa=Gi===void 0?!0:Gi;return Object.keys(Gn).filter(function(ma){return Gn[ma].parentId===Fi}).map(function(ma){var _s=xl((0,Po.Z)((0,Po.Z)({route:Gn[ma],routeComponent:Sa[ma],loadingComponent:Cn.loadingComponent,reactRouter5Compat:Cn.reactRouter5Compat},Cn.reactRouter5Compat&&{hasChildren:Object.keys(Gn).filter(function(is){return Gn[is].parentId===ma}).length>0}),{},{useStream:oa})),qi=Ql({routesById:Gn,routeComponents:Sa,parentId:_s.id,loadingComponent:Cn.loadingComponent,reactRouter5Compat:Cn.reactRouter5Compat,useStream:oa});return qi.length>0&&(_s.children=qi,_s.routes=qi),_s})}function ql(Cn){var Gn=(0,eu.UO)(),Fi=(0,eu.Gn)(Cn.to,Gn),Sa=(0,Ll.T$)(),Gi=(0,eu.TH)();if(Sa!=null&&Sa.keepQuery){var oa=Gi.search+Gi.hash;Fi+=oa}var ma=(0,Po.Z)((0,Po.Z)({},Cn),{},{to:Fi});return ze.createElement(eu.Fg,(0,ku.Z)({replace:!0},ma))}function xl(Cn){var Gn=Cn.route,Fi=Cn.useStream,Sa=Fi===void 0?!0:Fi,Gi=Gn.redirect,oa=(0,Go.Z)(Gn,il),ma=Cn.reactRouter5Compat?Ml:Jl;return(0,Po.Z)({element:Gi?ze.createElement(ql,{to:Gi}):ze.createElement(xu.Provider,{value:{route:Cn.route}},ze.createElement(ma,{loader:ze.memo(Cn.routeComponent),loadingComponent:Cn.loadingComponent||Yc,hasChildren:Cn.hasChildren,useStream:Sa}))},oa)}function Yc(){return ze.createElement("div",null)}function Ml(Cn){var Gn=nl(),Fi=Gn.route,Sa=(0,Ll.Ov)(),Gi=Sa.history,oa=Sa.clientRoutes,ma=(0,eu.UO)(),_s={params:ma,isExact:!0,path:Fi.path,url:Gi.location.pathname},qi=Cn.loader,is={location:Gi.location,match:_s,history:Gi,params:ma,route:Fi,routes:oa};return Cn.useStream?ze.createElement(ze.Suspense,{fallback:ze.createElement(Cn.loadingComponent,null)},ze.createElement(qi,is,Cn.hasChildren&&ze.createElement(eu.j3,null))):ze.createElement(qi,is,Cn.hasChildren&&ze.createElement(eu.j3,null))}function Jl(Cn){var Gn=Cn.loader;return Cn.useStream?ze.createElement(ze.Suspense,{fallback:ze.createElement(Cn.loadingComponent,null)},ze.createElement(Gn,null)):ze.createElement(Gn,null)}var Eu=null;function Xc(){return Eu}function pc(Cn){var Gn=Cn.history,Fi=ze.useState({action:Gn.action,location:Gn.location}),Sa=(0,Rl.Z)(Fi,2),Gi=Sa[0],oa=Sa[1];return(0,ze.useLayoutEffect)(function(){return Gn.listen(oa)},[Gn]),(0,ze.useLayoutEffect)(function(){function ma(_s){Cn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Cn.routes,clientRoutes:Cn.clientRoutes,location:_s.location,action:_s.action,basename:Cn.basename,isFirst:!!_s.isFirst}})}return ma({location:Gi.location,action:Gi.action,isFirst:!0}),Gn.listen(ma)},[Gn,Cn.routes,Cn.clientRoutes]),ze.createElement(eu.F0,{navigator:Gn,location:Gi.location,basename:Cn.basename},Cn.children)}function Lu(){var Cn=(0,Ll.Ov)(),Gn=Cn.clientRoutes;return(0,eu.V$)(Gn)}var lu=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],ec=function(Gn,Fi){var Sa=Gn.basename||"/",Gi=Ql({routesById:Gn.routes,routeComponents:Gn.routeComponents,loadingComponent:Gn.loadingComponent,reactRouter5Compat:Gn.reactRouter5Compat,useStream:Gn.useStream});Gn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Gi}});for(var oa=ze.createElement(pc,{basename:Sa,pluginManager:Gn.pluginManager,routes:Gn.routes,clientRoutes:Gi,history:Gn.history},Fi),ma=0,_s=lu;ma<_s.length;ma++){var qi=_s[ma];oa=Gn.pluginManager.applyPlugins({type:"modify",key:qi,initialValue:oa,args:{routes:Gn.routes,history:Gn.history,plugin:Gn.pluginManager}})}var is=function(){var Bu=(0,ze.useState)({}),Gu=(0,Rl.Z)(Bu,2),ul=Gu[0],ll=Gu[1],Df=(0,ze.useState)(window.__UMI_LOADER_DATA__||{}),wf=(0,Rl.Z)(Df,2),$l=wf[0],Sf=wf[1],gc=(0,ze.useCallback)(function(ef,hf){var cl,Of=(((cl=(0,eu.fp)(Gi,ef,Sa))===null||cl===void 0?void 0:cl.map(function(Vu){return Vu.route.id}))||[]).filter(Boolean);Of.forEach(function(Vu){var Rc,tf;if(window.__umi_route_prefetch__){var Ko,rf=(Ko=Gn.routeComponents[Vu])===null||Ko===void 0||(Ko=Ko._payload)===null||Ko===void 0?void 0:Ko._result;typeof rf=="function"&&rf()}var pf=(Rc=Gn.routes[Vu])===null||Rc===void 0?void 0:Rc.clientLoader,fl=!!pf,jl=(tf=Gn.routes[Vu])===null||tf===void 0?void 0:tf.hasServerLoader;!hf&&jl&&!fl&&!window.__UMI_LOADER_DATA__&&No({id:Vu,basename:Sa,cb:function(Mc){ze.startTransition(function(){Sf(function(mf){return(0,Po.Z)((0,Po.Z)({},mf),{},(0,bl.Z)({},Vu,Mc))})})}});var Yo=!!ul[Vu],yc=fl&&pf.hydrate||!jl,_f=jl&&!window.__UMI_LOADER_DATA__;fl&&!Yo&&(yc||_f)&&pf({serverLoader:function(){return No({id:Vu,basename:Sa,cb:function(mf){ze.startTransition(function(){Sf(function(Fc){return(0,Po.Z)((0,Po.Z)({},Fc),{},(0,bl.Z)({},Vu,mf))})})}})}}).then(function(Lc){ll(function(Mc){return(0,Po.Z)((0,Po.Z)({},Mc),{},(0,bl.Z)({},Vu,Lc))})})})},[ul]);return(0,ze.useEffect)(function(){return gc(window.location.pathname,!0),Gn.history.listen(function(ef){gc(ef.location.pathname)})},[]),(0,ze.useLayoutEffect)(function(){typeof Gn.callback=="function"&&Gn.callback()},[]),ze.createElement(Ll.Il.Provider,{value:{routes:Gn.routes,routeComponents:Gn.routeComponents,clientRoutes:Gi,pluginManager:Gn.pluginManager,rootElement:Gn.rootElement,basename:Sa,clientLoaderData:ul,serverLoaderData:$l,preloadRoute:gc,history:Gn.history}},oa)};return is};function _c(Cn){var Gn=Cn.rootElement||document.getElementById("root"),Fi=ec(Cn,ze.createElement(Lu,null));if(Cn.components)return Fi;if(Cn.hydrate){var Sa=window.__UMI_LOADER_DATA__||{},Gi=window.__UMI_METADATA_LOADER_DATA__||{},oa={metadata:Gi,loaderData:Sa,mountElementId:Cn.mountElementId},ma=Cn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp||Cn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;gu.hydrateRoot(ma?Gn:document,ma?ze.createElement(Fi,null):ze.createElement(Zo,oa,ze.createElement(Fi,null)));return}if(gu.createRoot){Eu=gu.createRoot(Gn),Eu.render(ze.createElement(Fi,null));return}gu.render(ze.createElement(Fi,null),Gn)}var mc=(Cn,Gn,Fi)=>new Promise((Sa,Gi)=>{var oa=qi=>{try{_s(Fi.next(qi))}catch(is){Gi(is)}},ma=qi=>{try{_s(Fi.throw(qi))}catch(is){Gi(is)}},_s=qi=>qi.done?Sa(qi.value):Promise.resolve(qi.value).then(oa,ma);_s((Fi=Fi.apply(Cn,Gn)).next())});function Dc(){return mc(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"82"},83:{path:"/classrooms/guidance",parentId:"19",id:"83"},84:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"84"},85:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"98"},99:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"99"},100:{path:"/classrooms/",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"100",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework",parentId:"100",id:"102"},103:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"100",id:"103"},104:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"105"},106:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"100",id:"106"},107:{path:"/classrooms/:coursesId/exercise",parentId:"100",id:"107"},108:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"100",id:"108"},109:{path:"/classrooms/:coursesId/poll",parentId:"100",id:"109"},110:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"100",id:"110"},111:{path:"/classrooms/:coursesId/common_homework",parentId:"100",id:"111"},112:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"100",id:"112"},113:{path:"/classrooms/:coursesId/group_homework",parentId:"100",id:"113"},114:{path:"/classrooms/:coursesId/teachers",parentId:"100",id:"114"},115:{path:"/classrooms/:coursesId/students",parentId:"100",id:"115"},116:{path:"/classrooms/:coursesId/assistant",parentId:"100",id:"116"},117:{path:"/classrooms/:coursesId/program_homework",parentId:"100",id:"117"},118:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"100",id:"118"},119:{path:"/classrooms/:coursesId/engineering",parentId:"100",id:"119"},120:{path:"/classrooms/:coursesId/learning_path",parentId:"100",id:"120"},121:{path:"/classrooms/:coursesId/resource_recommend",parentId:"100",id:"121"},122:{path:"/classrooms/:coursesId/attendance",parentId:"100",id:"122"},123:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"100",id:"123"},124:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"100",id:"124"},125:{path:"/classrooms/:coursesId/announcement",parentId:"100",id:"125"},126:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"100",id:"126"},127:{path:"/classrooms/:coursesId/online_learning",parentId:"100",id:"127"},128:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"100",id:"128"},129:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"100",id:"129"},130:{path:"/classrooms/:coursesId/attachment",parentId:"100",id:"130"},131:{path:"/classrooms/:coursesId/video",parentId:"100",id:"131"},132:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"100",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"100",id:"133"},134:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"100",id:"134"},135:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"100",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"100",id:"136"},137:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"100",id:"137"},138:{path:"/classrooms/:coursesId/live_video",parentId:"100",id:"138"},139:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"100",id:"139"},140:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"100",id:"140"},141:{path:"/classrooms/:coursesId/board",parentId:"100",id:"141"},142:{path:"/classrooms/:coursesId/course_group",parentId:"100",id:"142"},143:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"100",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"100",id:"144"},145:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"100",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group",parentId:"100",id:"146"},147:{path:"/classrooms/:coursesId/statistics/",parentId:"100",id:"147"},148:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"100",id:"148"},149:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"100",id:"149"},150:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"100",id:"150"},151:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"100",id:"151"},152:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"100",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"100",id:"153"},154:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"100",id:"154"},155:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"100",id:"155"},156:{path:"/classrooms/:coursesId",parentId:"100",id:"156"},157:{path:"/classrooms/:coursesId/template",parentId:"100",id:"157"},158:{path:"/competitions",parentId:"1",id:"158"},159:{path:"/competitions/index",parentId:"158",id:"159"},160:{path:"/competitions/:identifier/list",parentId:"158",id:"160"},161:{path:"/competitions/exports",parentId:"158",id:"161"},162:{path:"/competitions",parentId:"158",id:"162"},163:{path:"/competitions/:identifier",parentId:"158",id:"163"},164:{path:"/competitions/index/:identifier",parentId:"158",id:"164"},165:{path:"/competitions/:identifier/detail/enroll",parentId:"158",id:"165"},166:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"158",id:"166"},167:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"158",id:"167"},168:{path:"/competitions/detail/:identifier",parentId:"158",id:"168"},169:{path:"/forums",parentId:"1",id:"169"},170:{path:"/forums",parentId:"169",id:"170"},171:{path:"/forums/categories/:memoType",parentId:"169",id:"171"},172:{path:"/forums/new",parentId:"169",id:"172"},173:{path:"/forums/:memoId/edit",parentId:"169",id:"173"},174:{path:"/forums/:memoId",parentId:"169",id:"174"},175:{path:"/problemset",parentId:"1",id:"175"},176:{path:"/problemset",parentId:"175",id:"176"},177:{path:"/problemset/newitem",parentId:"175",id:"177"},178:{path:"/problemset/:type/:id",parentId:"175",id:"178"},179:{path:"/problemset/preview",parentId:"175",id:"179"},180:{path:"/problemset/preview_new",parentId:"175",id:"180"},181:{path:"/problemset/preview_select",parentId:"175",id:"181"},182:{path:"/shixuns",parentId:"1",id:"182"},183:{path:"/shixuns",parentId:"182",id:"183"},184:{path:"/shixuns/exports",parentId:"182",id:"184"},185:{path:"/shixuns/new",parentId:"182",id:"185"},186:{path:"/shixuns/new/CreateImg",parentId:"182",id:"186"},187:{path:"/shixuns/new/:id/imagepreview",parentId:"182",id:"187"},188:{path:"/shixuns/:id/Merge",parentId:"182",id:"188"},189:{path:"/shixuns/:id/Split",parentId:"182",id:"189"},190:{path:"/shixuns/:id/edit",parentId:"182",id:"190"},191:{path:"shixuns/:id/edit/warehouse",parentId:"190",id:"191"},192:{path:"/shixuns/:id/edit/newquestion",parentId:"190",id:"192"},193:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"190",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"190",id:"194"},195:{path:"/shixuns/:id/edit/new",parentId:"190",id:"195"},196:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"190",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"190",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"190",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"190",id:"199"},200:{path:"/shixuns/:id",parentId:"182",id:"200"},201:{path:"/shixuns/:id/challenges",parentId:"200",id:"201"},202:{path:"/shixuns/:id/repository",parentId:"200",id:"202"},203:{path:"/shixuns/:id/secret_repository",parentId:"200",id:"203"},204:{path:"/shixuns/:id/collaborators",parentId:"200",id:"204"},205:{path:"/shixuns/:id/dataset",parentId:"200",id:"205"},206:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"200",id:"206"},207:{path:"/shixuns/:id/shixun_discuss",parentId:"200",id:"207"},208:{path:"/shixuns/:id/ranking_list",parentId:"200",id:"208"},209:{path:"/shixuns/:id/settings",parentId:"200",id:"209"},210:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"200",id:"210"},211:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"200",id:"211"},212:{path:"/shixuns/:id/repository/upload_file",parentId:"200",id:"212"},213:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"200",id:"213"},214:{path:"/shixuns/:id/repository/add_file",parentId:"200",id:"214"},215:{path:"/shixuns/:id/secret_repository/add_file",parentId:"200",id:"215"},216:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"216"},217:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"217"},218:{path:"/shixuns/:id/audit_situation",parentId:"200",id:"218"},219:{path:"/shixuns/:id/fork_list",parentId:"200",id:"219"},220:{path:"/users",parentId:"1",id:"220"},221:{path:"/users/:username/videos/protocol",parentId:"220",id:"221"},222:{path:"/users/:username/videos/resourceProtocol",parentId:"220",id:"222"},223:{path:"/users/:username/videos/success",parentId:"220",id:"223"},224:{path:"/users/:username/topicbank/:topicstype",parentId:"220",id:"224"},225:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"220",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"220",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"220",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"220",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"220",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"220",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"220",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"220",id:"232"},233:{path:"/users/:username/experiment-img/add",parentId:"220",id:"233"},234:{path:"/users/:username",parentId:"220",id:"234"},235:{path:"/users/:username",parentId:"234",id:"235"},236:{path:"/users/:username/baseInfo/edit",parentId:"234",id:"236"},237:{path:"/users/:username/baseInfo",parentId:"234",id:"237"},238:{path:"/users/:username/realNameCertification",parentId:"234",id:"238"},239:{path:"/users/:username/careerCertification",parentId:"234",id:"239"},240:{path:"/users/:username/classrooms",parentId:"234",id:"240"},241:{path:"/users/:username/shixuns",parentId:"234",id:"241"},242:{path:"/users/:username/dataSet",parentId:"234",id:"242"},243:{path:"/users/:username/userPortrait",parentId:"234",id:"243"},244:{path:"/users/:username/learningPath",parentId:"234",id:"244"},245:{path:"/users/:username/teach-group",parentId:"234",id:"245"},246:{path:"/users/:username/competitions",parentId:"234",id:"246"},247:{path:"/users/:username/experiment-img",parentId:"234",id:"247"},248:{path:"/users/:username/experiment-img/:experid/detail",parentId:"234",id:"248"},249:{path:"/users/:username/certificate",parentId:"234",id:"249"},250:{path:"/users/:username/otherResources",parentId:"234",id:"250"},251:{path:"/users/:username/classmanagement",parentId:"234",id:"251"},252:{path:"/users/:username/classmanagement/:couserid",parentId:"234",id:"252"},253:{path:"/users/:username/paths",parentId:"234",id:"253"},254:{path:"/users/:username/projects",parentId:"234",id:"254"},255:{path:"/users/:username/videos",parentId:"234",id:"255"},256:{path:"/users/:username/videos/upload",parentId:"234",id:"256"},257:{path:"/users/:username/topics/:topicstype",parentId:"234",id:"257"},258:{path:"/users/:username/vspaces",parentId:"234",id:"258"},259:{path:"/users/:username/resourcesCenter",parentId:"234",id:"259"},260:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"234",id:"260"},261:{path:"/users/:username/resourceGuarantee",parentId:"234",id:"261"},262:{path:"/users/:username/resourceAllocation",parentId:"234",id:"262"},263:{parentId:"1",id:"263"},264:{path:"/problems",parentId:"263",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems/batchAdd",parentId:"264",id:"266"},267:{path:"/problems/newcreate",parentId:"263",id:"267"},268:{path:"/problems/newedit/:id",exact:!0,parentId:"263",id:"268"},269:{path:"/problems/:id/edit",exact:!0,parentId:"263",id:"269"},270:{path:"/problems/new",exact:!0,parentId:"263",id:"270"},271:{path:"/problems/:id/oj/:save_identifier",parentId:"263",id:"271"},272:{path:"/problems/:id/record-detail/:submitId",parentId:"263",id:"272"},273:{path:"/problems/add",parentId:"263",id:"273"},274:{path:"/problems/:id/ojedit",parentId:"263",id:"274"},275:{path:"/engineering",parentId:"1",id:"275"},276:{path:"/engineering",parentId:"275",id:"276"},277:{path:"/engineering/teacherList",parentId:"276",id:"277"},278:{path:"/engineering/studentList",parentId:"276",id:"278"},279:{path:"/engineering/training/program",parentId:"276",id:"279"},280:{path:"/engineering/training/program/add",parentId:"276",id:"280"},281:{path:"/engineering/training/program/edit",parentId:"276",id:"281"},282:{path:"/engineering/training/objectives",parentId:"276",id:"282"},283:{path:"/engineering/graduated/index",parentId:"276",id:"283"},284:{path:"/engineering/graduated/matrix",parentId:"276",id:"284"},285:{path:"/engineering/course/list",parentId:"276",id:"285"},286:{path:"/engineering/course/setting",parentId:"276",id:"286"},287:{path:"/engineering/course/matrix",parentId:"276",id:"287"},288:{path:"/engineering/navigation",parentId:"276",id:"288"},289:{path:"/engineering/evaluate/course",parentId:"276",id:"289"},290:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"276",id:"290"},291:{path:"/engineering/evaluate/norm",parentId:"276",id:"291"},292:{path:"/engineering/evaluate/document",parentId:"276",id:"292"},293:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"276",id:"293"},294:{path:"/engineering/*",redirect:"/404",parentId:"276",id:"294"},295:{path:"/innovation",parentId:"1",id:"295"},296:{path:"/innovation/tasks/:taskId",parentId:"295",id:"296"},297:{path:"/innovation",parentId:"295",id:"297"},298:{path:"/innovation/project",parentId:"297",id:"298"},299:{path:"/innovation/dataset",parentId:"297",id:"299"},300:{path:"/innovation/mirror",parentId:"297",id:"300"},301:{path:"/innovation/my-project",parentId:"297",id:"301"},302:{path:"/innovation/my-dataset",parentId:"297",id:"302"},303:{path:"/innovation/my-mirror",parentId:"297",id:"303"},304:{path:"/innovation/project/create",parentId:"297",id:"304"},305:{path:"/innovation/project/edit/:id",parentId:"297",id:"305"},306:{path:"/innovation/project/detail/:taskId",parentId:"297",id:"306"},307:{path:"/tasks",parentId:"1",id:"307"},308:{path:"/tasks/:taskId",exact:!0,parentId:"307",id:"308"},309:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"307",id:"309"},310:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"307",id:"310"},311:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"307",id:"311"},312:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"307",id:"312"},313:{path:"/myproblems",parentId:"1",id:"313"},314:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"313",id:"314"},315:{path:"/myproblems/:id",exact:!0,parentId:"313",id:"315"},316:{path:"/account",parentId:"1",id:"316"},317:{path:"/account",parentId:"316",id:"317"},318:{path:"/account/profile",parentId:"317",id:"318"},319:{path:"/account/profile/edit",parentId:"317",id:"319"},320:{path:"/account/certification",parentId:"317",id:"320"},321:{path:"/account/secure",parentId:"317",id:"321"},322:{path:"/account/binding",parentId:"317",id:"322"},323:{path:"/account/Results",parentId:"317",id:"323"},324:{path:"/ch",parentId:"1",id:"324"},325:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"324",id:"325"},326:{path:"/ch/rest/",exact:!0,parentId:"324",id:"326"},327:{path:"/ch/rest/:id",exact:!0,parentId:"324",id:"327"},328:{path:"/order",parentId:"1",id:"328"},329:{path:"/order",parentId:"328",id:"329"},330:{path:"/order/invoice",parentId:"328",id:"330"},331:{path:"/order/records",parentId:"328",id:"331"},332:{path:"/order/apply",parentId:"328",id:"332"},333:{path:"/order/view",parentId:"328",id:"333"},334:{path:"/order/:courseId/information",parentId:"328",id:"334"},335:{path:"/order/:courseId/pay",parentId:"328",id:"335"},336:{path:"/order/:orderNum/result",parentId:"328",id:"336"},337:{path:"/messages",parentId:"1",id:"337"},338:{path:"/messages/:userId/user_tidings",parentId:"337",id:"338"},339:{path:"/messages/:userId/private_messages",parentId:"337",id:"339"},340:{path:"/messages/:userId/message_detail",parentId:"337",id:"340"},341:{path:"/vtrs",parentId:"1",id:"341"},342:{path:"/vtrs/:virtual_spacesId",parentId:"341",id:"342"},343:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"342",id:"343"},344:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"342",id:"344"},345:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"342",id:"345"},346:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"342",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"342",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"342",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"342",id:"349"},350:{path:"/vtrs/:virtual_spacesId/survey",parentId:"342",id:"350"},351:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"342",id:"351"},352:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"342",id:"352"},353:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"342",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"342",id:"354"},355:{path:"/vtrs/:virtual_spacesId/material",parentId:"342",id:"355"},356:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"342",id:"356"},357:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"342",id:"357"},358:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"342",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"342",id:"359"},360:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"342",id:"360"},361:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"342",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"342",id:"362"},363:{path:"/vtrs/:virtual_spacesId/settings",parentId:"342",id:"363"},364:{path:"/vtrs/:virtual_spacesId/resources",parentId:"342",id:"364"},365:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"342",id:"365"},366:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"342",id:"366"},367:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"342",id:"367"},368:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"342",id:"368"},369:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"342",id:"369"},370:{path:"/vtrs/:virtual_spacesId/*",parentId:"342",id:"370"},371:{path:"/101",parentId:"1",id:"371"},372:{path:"/101/:virtual_spacesId",parentId:"371",id:"372"},373:{path:"/101/:virtual_spacesId",exact:!0,parentId:"372",id:"373"},374:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"372",id:"374"},375:{path:"/101/:virtual_spacesId/experiment",parentId:"372",id:"375"},376:{path:"/101/:virtual_spacesId/announcement",parentId:"372",id:"376"},377:{path:"/101/:virtual_spacesId/announcement/add",parentId:"372",id:"377"},378:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"372",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"372",id:"379"},380:{path:"/101/:virtual_spacesId/survey",parentId:"372",id:"380"},381:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"372",id:"381"},382:{path:"/101/:virtual_spacesId/knowledge",parentId:"372",id:"382"},383:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"372",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"372",id:"384"},385:{path:"/101/:virtual_spacesId/material",parentId:"372",id:"385"},386:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"372",id:"386"},387:{path:"/101/:virtual_spacesId/lesson",parentId:"372",id:"387"},388:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"372",id:"388"},389:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"372",id:"389"},390:{path:"/101/:virtual_spacesId/discussion",parentId:"372",id:"390"},391:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"372",id:"391"},392:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"372",id:"392"},393:{path:"/101/:virtual_spacesId/settings",parentId:"372",id:"393"},394:{path:"/101/:virtual_spacesId/resources",parentId:"372",id:"394"},395:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"372",id:"395"},396:{path:"/101/:virtual_spacesId/Plan",parentId:"372",id:"396"},397:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"372",id:"397"},398:{path:"/101/:virtual_spacesId/digtal",parentId:"372",id:"398"},399:{path:"/101/:virtual_spacesId/homepage",parentId:"372",id:"399"},400:{path:"/101/:virtual_spacesId/*",parentId:"372",id:"400"},401:{path:"/administration",parentId:"1",id:"401"},402:{path:"/administration",parentId:"401",id:"402"},403:{path:"/administration/college",parentId:"402",id:"403"},404:{path:"/administration/student",parentId:"402",id:"404"},405:{path:"/administration/student/:studentId/edit",parentId:"402",id:"405"},406:{path:"/administration/profession",parentId:"402",id:"406"},407:{path:"/graduations",parentId:"1",id:"407"},408:{path:"/graduations",exact:!0,parentId:"407",id:"408"},409:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"407",id:"409"},410:{path:"/graduations/:id",parentId:"407",id:"410"},411:{path:"/graduations/:id/index",parentId:"410",id:"411"},412:{path:"/graduations/:id/topics",parentId:"410",id:"412"},413:{path:"/graduations/:id/student_selection",parentId:"410",id:"413"},414:{path:"/graduations/:id/tasks",parentId:"410",id:"414"},415:{path:"/graduations/:id/opening_report",parentId:"410",id:"415"},416:{path:"/graduations/:id/midterm_report",parentId:"410",id:"416"},417:{path:"/graduations/:id/thesis",parentId:"410",id:"417"},418:{path:"/graduations/:id/final_defense",parentId:"410",id:"418"},419:{path:"/graduations/:id/final_thesis",parentId:"410",id:"419"},420:{path:"/graduations/:id/settings",parentId:"410",id:"420"},421:{path:"/graduations/:id/teachers",parentId:"410",id:"421"},422:{path:"/graduations/:id/students",parentId:"410",id:"422"},423:{path:"/graduations/:id/archives",parentId:"410",id:"423"},424:{path:"/graduations/:id/grading_summary",parentId:"410",id:"424"},425:{path:"/dataset",parentId:"1",id:"425"},426:{path:"/dataset",exact:!0,parentId:"425",id:"426"},427:{path:"/dataset/:id/detail",exact:!0,parentId:"425",id:"427"},428:{path:"/knowledgegraph",parentId:"1",id:"428"},429:{path:"/knowledgegraph/:pathId",parentId:"428",id:"429"},430:{path:"/knowledgegraph/:pathId/statistics",parentId:"428",id:"430"},431:{path:"/onlinenum",parentId:"1",id:"431"},432:{path:"/onlinenum",parentId:"431",id:"432"},433:{path:"/shixuncontext",parentId:"1",id:"433"},434:{path:"/shixuncontext",parentId:"433",id:"434"},435:{path:"/shixuncontext/:Id/detail",parentId:"433",id:"435"},436:{path:"/educoder-demo",exact:!0,parentId:"1",id:"436"},437:{path:"/training",parentId:"1",id:"437"},438:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"437",id:"438"},439:{path:"/largeScreen",exact:!0,parentId:"1",id:"439"},440:{path:"/quality",parentId:"1",id:"440"},441:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"440",id:"441"},442:{path:"/otherlogin",exact:!0,parentId:"1",id:"442"},443:{path:"/otherloginqq",exact:!0,parentId:"1",id:"443"},444:{path:"/otherloginstart",exact:!0,parentId:"1",id:"444"},445:{path:"/pathsoverview",exact:!0,parentId:"1",id:"445"},446:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"446"},447:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/login",parentId:"1",id:"448"},449:{path:"/login",parentId:"448",id:"449"},450:{path:"/user",parentId:"1",id:"450"},451:{path:"/user/login",parentId:"450",id:"451"},452:{path:"/user/register",parentId:"450",id:"452"},453:{path:"/user/reset-password",parentId:"450",id:"453"},454:{path:"/colleges",parentId:"1",id:"454"},455:{path:"/colleges/:id/statistics",parentId:"454",id:"455"},456:{path:"/help",parentId:"1",id:"456"},457:{path:"/help/:id",parentId:"456",id:"457"},458:{path:"/video",parentId:"1",id:"458"},459:{path:"/video/:videoId",parentId:"458",id:"459"},460:{path:"/terminal",parentId:"1",id:"460"},461:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"461"},462:{path:"/statsDashboard",parentId:"1",id:"462"},463:{path:"/",parentId:"1",id:"463"},464:{path:"/",exact:!0,parentId:"463",id:"464"},465:{path:"/api/*",exact:!0,parentId:"463",id:"465"},466:{path:"/search",exact:!0,parentId:"463",id:"466"},467:{path:"/moop_cases",exact:!0,parentId:"463",id:"467"},468:{path:"/moop_cases/new",exact:!0,parentId:"463",id:"468"},469:{path:"/moop_cases/:caseId",exact:!0,parentId:"463",id:"469"},470:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"463",id:"470"},471:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"463",id:"471"},472:{path:"/randompaper",exact:!0,parentId:"463",id:"472"},473:{path:"/randompaper/edit/:id",exact:!0,parentId:"463",id:"473"},474:{path:"/randompaper/detail/:id",exact:!0,parentId:"463",id:"474"},475:{path:"/403",parentId:"463",id:"475"},476:{path:"/500",parentId:"463",id:"476"},477:{path:"/404",parentId:"463",id:"477"},478:{path:"/download",parentId:"463",id:"478"},479:{path:"/iwce",parentId:"463",id:"479"},480:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"463",id:"480"},481:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"463",id:"481"},482:{path:"/Activities",parentId:"463",id:"482"},483:{path:"/iwce/:itemname",parentId:"463",id:"483"},484:{path:"/hpc-course",parentId:"463",id:"484"},485:{path:"/user_agents",parentId:"463",id:"485"},486:{path:"/three",parentId:"463",id:"486"},487:{path:"/introduction",parentId:"463",id:"487"},488:{path:"/chatgpt",parentId:"463",id:"488"},489:{path:"/*",parentId:"463",id:"489"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),2:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),3:ze.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,76563))),4:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),5:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),6:ze.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,64226))),7:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),8:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,91046))),9:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),10:ze.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,19372))),11:ze.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27851))),12:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,86364))),13:ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,58966))),14:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,98287))),15:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,22834))),16:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,86364))),17:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),18:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),19:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),20:ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),21:ze.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,20973))),22:ze.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,31793))),23:ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),24:ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,37273))),25:ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,37273))),26:ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),27:ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),28:ze.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,46922))),29:ze.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,94044))),30:ze.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,67311))),31:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,86230))),32:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,88924))),33:ze.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,63437))),34:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,60922))),35:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,70731))),36:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,1086))),37:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,83890))),38:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,75400))),39:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,52934))),40:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,34353))),41:ze.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,30748))),42:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,53036))),43:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),44:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,60839))),45:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,77638))),46:ze.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,53147))),47:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),48:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,23129))),49:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,23108))),50:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,23108))),51:ze.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,10147))),52:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,73966))),53:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,73966))),54:ze.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,83922))),55:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,82856))),56:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,31533))),57:ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),58:ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),59:ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),60:ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),61:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,75288))),62:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,83485))),63:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,97780))),64:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,28915))),65:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,57643))),66:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,8321))),67:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,77498))),68:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,56010))),69:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,7769))),70:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,36618))),71:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,1910))),72:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,34104))),73:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,3487))),74:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,17042))),75:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,72583))),76:ze.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,61193))),77:ze.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,13750))),78:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,96046))),79:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,22996))),80:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,41305))),81:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,78554))),82:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,74124))),83:ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,58966))),84:ze.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,55998))),85:ze.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,31905))),86:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7395)]).then(__webpack_require__.bind(__webpack_require__,97789))),87:ze.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,98731))),88:ze.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,37244))),89:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),90:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),91:ze.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,42383))),92:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,71073))),93:ze.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,97838))),94:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,22450))),95:ze.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,57454))),96:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,60846))),97:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,45062))),98:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,93341))),99:ze.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,25921))),100:ze.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,93365))),101:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,20383))),102:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,20383))),103:ze.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,77437))),104:ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),105:ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),106:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,80015))),107:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,80015))),108:ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,3403))),109:ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,3403))),110:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,94863))),111:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,94863))),112:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,14902))),113:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,14902))),114:ze.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,6218))),115:ze.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,83443))),116:ze.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,5010))),117:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,11008))),118:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,11008))),119:ze.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,21413))),120:ze.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,11133))),121:ze.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,25251))),122:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,36464))),123:ze.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,25083))),124:ze.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,29860))),125:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,61434))),126:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,61434))),127:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),128:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),129:ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,27776))),130:ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,27776))),131:ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,66640))),132:ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,66640))),133:ze.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,96573))),134:ze.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,58786))),135:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,1697))),136:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,70302))),137:ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,27599))),138:ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,27599))),139:ze.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,76161))),140:ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23889))),141:ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23889))),142:ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,69808))),143:ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,69808))),144:ze.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,8176))),145:ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),146:ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),147:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),148:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),149:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,99046))),150:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,82503))),151:ze.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,15531))),152:ze.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,50715))),153:ze.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,90317))),154:ze.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,1377))),155:ze.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,65515))),156:ze.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,99342))),157:ze.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,26032))),158:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),159:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),160:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),161:ze.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,43008))),162:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),163:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),164:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),165:ze.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,719))),166:ze.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,14796))),167:ze.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,5629))),168:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,29526))),169:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),170:ze.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,37226))),171:ze.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,24564))),172:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),173:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),174:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,35918))),175:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),176:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),177:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),178:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),179:ze.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,6413))),180:ze.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,37852))),181:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),182:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),183:ze.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,20186))),184:ze.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,15352))),185:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,98622))),186:ze.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,84246))),187:ze.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,28092))),188:ze.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,40580))),189:ze.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,2751))),190:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(33),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,69638))),191:ze.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,21052))),192:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,46897))),193:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),194:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),195:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),196:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),197:ze.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,56405))),198:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,92185))),199:ze.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,63798))),200:ze.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,78932))),201:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,70624))),202:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),203:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),204:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,18509))),205:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,52021))),206:ze.lazy(()=>Promise.all([__webpack_require__.e(33),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,58100))),207:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,71666))),208:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,28744))),209:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,72281))),210:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,96146))),211:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,96146))),212:ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,6850))),213:ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,6850))),214:ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83283))),215:ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83283))),216:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),217:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),218:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,68639))),219:ze.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,5134))),220:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),221:ze.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,59622))),222:ze.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,65866))),223:ze.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,86974))),224:ze.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,49690))),225:ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),226:ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),227:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,8191))),228:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,31721))),229:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,80751))),230:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,53605))),231:ze.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,8712))),232:ze.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,26021))),233:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,75992))),234:ze.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,43116))),235:ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26501))),236:ze.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,22802))),237:ze.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,49451))),238:ze.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,97118))),239:ze.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,16430))),240:ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26501))),241:ze.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,51705))),242:ze.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,36806))),243:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,31324))),244:ze.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,88755))),245:ze.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,81187))),246:ze.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,62484))),247:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,20267))),248:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,18460))),249:ze.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,43173))),250:ze.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,68861))),251:ze.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,47412))),252:ze.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,86576))),253:ze.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,56543))),254:ze.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,7942))),255:ze.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,89993))),256:ze.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,83184))),257:ze.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,14631))),258:ze.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,88038))),259:ze.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,35670))),260:ze.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,99624))),261:ze.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,69157))),262:ze.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,11234))),263:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),264:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),265:ze.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,3447))),266:ze.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,96555))),267:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),268:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),269:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),270:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),271:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,30197))),272:ze.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,84958))),273:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),274:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),275:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),276:ze.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,62861))),277:ze.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,10497))),278:ze.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,2131))),279:ze.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,62256))),280:ze.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,872))),281:ze.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,64361))),282:ze.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,85761))),283:ze.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,93875))),284:ze.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,21202))),285:ze.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,91460))),286:ze.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,17689))),287:ze.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,37222))),288:ze.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,14455))),289:ze.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,41313))),290:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,46859))),291:ze.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,5942))),292:ze.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,15920))),293:ze.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,76515))),294:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),295:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),296:ze.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,97800))),297:ze.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,89705))),298:ze.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,47363))),299:ze.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,16302))),300:ze.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,90894))),301:ze.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,13747))),302:ze.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,14828))),303:ze.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,99436))),304:ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),305:ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),306:ze.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,562))),307:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),308:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,93386))),309:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),310:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,93386))),311:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),312:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,93386))),313:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),314:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,72222))),315:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,8243))),316:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),317:ze.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,21119))),318:ze.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,64348))),319:ze.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,21496))),320:ze.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,95335))),321:ze.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,45423))),322:ze.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,37196))),323:ze.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,36178))),324:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),325:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,10729))),326:ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),327:ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),328:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),329:ze.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,23395))),330:ze.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,68703))),331:ze.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,3819))),332:ze.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,39983))),333:ze.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,79046))),334:ze.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,47873))),335:ze.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,42176))),336:ze.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,92105))),337:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),338:ze.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,97128))),339:ze.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,82821))),340:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,5211))),341:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),342:ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),343:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),344:ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),345:ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),346:ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),347:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),348:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),349:ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),350:ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),351:ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),352:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,11369))),353:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),354:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),355:ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),356:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),357:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),358:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),359:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),360:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),361:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),362:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),363:ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),364:ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),365:ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),366:ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),367:ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),368:ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),369:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),370:ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),371:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),372:ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),373:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),374:ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),375:ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),376:ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),377:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),378:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),379:ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),380:ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),381:ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),382:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,11369))),383:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),384:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),385:ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),386:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),387:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),388:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),389:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),390:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),391:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),392:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),393:ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),394:ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),395:ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),396:ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),397:ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),398:ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),399:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),400:ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),401:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),402:ze.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,86476))),403:ze.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,27454))),404:ze.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,33675))),405:ze.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,58197))),406:ze.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,57857))),407:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),408:ze.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,30266))),409:ze.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,88036))),410:ze.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,42463))),411:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,66493))),412:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,67489))),413:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,32891))),414:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,57895))),415:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),416:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),417:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),418:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),419:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),420:ze.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,98372))),421:ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),422:ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),423:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,9))),424:ze.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,16459))),425:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),426:ze.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,69623))),427:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,73171))),428:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),429:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,13492))),430:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,89325))),431:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),432:ze.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,14103))),433:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),434:ze.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,84575))),435:ze.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,6556))),436:ze.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,38124))),437:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),438:ze.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,75503))),439:ze.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,3518))),440:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),441:ze.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,36693))),442:ze.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,11112))),443:ze.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,19041))),444:ze.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,76904))),445:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,63295))),446:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,4280))),447:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,29069))),448:ze.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,28128))),449:ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),450:ze.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,23900))),451:ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),452:ze.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,39090))),453:ze.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,20649))),454:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),455:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,57915))),456:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),457:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,24721))),458:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),459:ze.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,62904))),460:ze.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,87038))),461:ze.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,33262))),462:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7224)]).then(__webpack_require__.bind(__webpack_require__,13771))),463:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),464:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,42126))),465:ze.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,33662))),466:ze.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,57548))),467:ze.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,13540))),468:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),469:ze.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,93185))),470:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),471:ze.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,86308))),472:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),473:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),474:ze.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,19560))),475:ze.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,18430))),476:ze.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,57050))),477:ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),478:ze.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,32717))),479:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),480:ze.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,79752))),481:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,36464))),482:ze.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,94878))),483:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),484:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),485:ze.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,43982))),486:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,49851))),487:ze.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,53727))),488:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,73752))),489:ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),"@@/global-layout":ze.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,73974)))}}})}var I=__webpack_require__(3191),O=__webpack_require__(58293),L=__webpack_require__(71418),me=__webpack_require__(5755),Re=()=>ze.createElement(L.Z,{size:"middle",className:me.Z.loading}),qr=__webpack_require__(25690),Nn=__webpack_require__(61186),dn=__webpack_require__.n(Nn),Oi=__webpack_require__(91392),Ya=__webpack_require__.n(Oi),Oa=__webpack_require__(34749),Do=__webpack_require__.n(Oa),Ma=__webpack_require__(19277),co=__webpack_require__.n(Ma),bs=__webpack_require__(10238),Oc=__webpack_require__.n(bs),tc=__webpack_require__(33656),rc=__webpack_require__.n(tc),vc=__webpack_require__(90111),Mu=__webpack_require__.n(vc),ki=__webpack_require__(74959),nc=__webpack_require__.n(ki),Fl=__webpack_require__(23250),$o=__webpack_require__.n(Fl),Ks=__webpack_require__(58862),ns=__webpack_require__.n(Ks),al=__webpack_require__(58319),sl=__webpack_require__.n(al),El=__webpack_require__(62053),wl=__webpack_require__.n(El),ol=__webpack_require__(47477),Qc=__webpack_require__.n(ol),kc=__webpack_require__(59717),Hu=__webpack_require__.n(kc);dn().extend(Do()),dn().extend(co()),dn().extend(Oc()),dn().extend(rc()),dn().extend(Mu()),dn().extend(nc()),dn().extend($o()),dn().extend(ns()),dn().extend(sl()),dn().extend(wl()),dn().extend(Qc()),dn().extend(Hu()),dn().extend(Ya());var qc=Object.defineProperty,Bl=Object.getOwnPropertySymbols,Jc=Object.prototype.hasOwnProperty,cu=Object.prototype.propertyIsEnumerable,Fu=(Cn,Gn,Fi)=>Gn in Cn?qc(Cn,Gn,{enumerable:!0,configurable:!0,writable:!0,value:Fi}):Cn[Gn]=Fi,Sl=(Cn,Gn)=>{for(var Fi in Gn||(Gn={}))Jc.call(Gn,Fi)&&Fu(Cn,Fi,Gn[Fi]);if(Bl)for(var Fi of Bl(Gn))cu.call(Gn,Fi)&&Fu(Cn,Fi,Gn[Fi]);return Cn},ic=(Cn,Gn,Fi)=>new Promise((Sa,Gi)=>{var oa=qi=>{try{_s(Fi.next(qi))}catch(is){Gi(is)}},ma=qi=>{try{_s(Fi.throw(qi))}catch(is){Gi(is)}},_s=qi=>qi.done?Sa(qi.value):Promise.resolve(qi.value).then(oa,ma);_s((Fi=Fi.apply(Cn,Gn)).next())});const wu="/react/build/",ac=!1;function Nl(){return ic(this,null,function*(){const Cn=(0,I.gD)(),{routes:Gn,routeComponents:Fi}=yield Dc(Cn);yield Cn.applyPlugins({key:"patchRoutes",type:qr.ApplyPluginsType.event,args:{routes:Gn,routeComponents:Fi}});const Sa=Cn.applyPlugins({key:"modifyContextOpts",type:qr.ApplyPluginsType.modify,initialValue:{}}),Gi=Sa.basename||"/",oa=Sa.historyType||"browser",ma=(0,O.fi)(Sl({type:oa,basename:Gi},Sa.historyOpts));return Cn.applyPlugins({key:"render",type:qr.ApplyPluginsType.compose,initialValue(){const _s={useStream:!0,routes:Gn,routeComponents:Fi,pluginManager:Cn,mountElementId:"root",rootElement:Sa.rootElement||document.getElementById("root"),loadingComponent:Re,publicPath:wu,runtimePublicPath:ac,history:ma,historyType:oa,basename:Gi,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Sa.callback},qi=Cn.applyPlugins({key:"modifyClientRenderOpts",type:qr.ApplyPluginsType.modify,initialValue:_s});return _c(qi)}})()})}Nl(),typeof window!="undefined"&&(window.g_umi={version:"4.4.11"})})()})();
|